Attack Cat
--[[
FE Cat Pet by Creo
Stop by my discord server for more scripts and hangouts
https://discord.gg/fMPEUPdUUA
This script works with these hats
https://web.roblox.com/catalog/3914989310/Black-Kitten-Head-Loaf
https://web.roblox.com/catalog/3932856360/Orange-Kitten-Head-Loaf
https://web.roblox.com/catalog/3914992580/White-Kitten-Head-Loaf
Easily editable tho ;)
]]
sethiddenproperty(game.Players.LocalPlayer,"SimulationRadius",99999999999)
for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
if v:IsA("BasePart") then
game:GetService("RunService").Heartbeat:connect(function()
v.Velocity = Vector3.new(0,35,0)
wait(0.5)
end)
end
end
Stationary = false
local HumanRoot = game.Players.LocalPlayer.Character.HumanoidRootPart
function StickAcc(Part0,Part1,Angle,Position)
Part0:FindFirstChildWhichIsA("Weld"):Destroy()
local AlignPos = Instance.new('AlignPosition', Part1)
AlignPos.ApplyAtCenterOfMass = true;
AlignPos.MaxForce = 67752;
AlignPos.MaxVelocity = math.huge/9e110;
AlignPos.ReactionForceEnabled = false;
AlignPos.Responsiveness = 200;
AlignPos.RigidityEnabled = false;
local AlignOri = Instance.new('AlignOrientation', Part1)
AlignOri.MaxAngularVelocity = math.huge/9e110;
AlignOri.MaxTorque = 67752;
AlignOri.PrimaryAxisOnly = false;
AlignOri.ReactionTorqueEnabled = false;
AlignOri.Responsiveness = 200;
AlignOri.RigidityEnabled = false;
local AttachmentA=Instance.new('Attachment',Part1)
local AttachmentB=Instance.new('Attachment',Part0)
local AttachmentC=Instance.new('Attachment',Part1)
local AttachmentD=Instance.new('Attachment',Part0)
AlignPos.Attachment1 = AttachmentA;
AlignPos.Attachment0 = AttachmentB;
AlignOri.Attachment1 = AttachmentC;
AlignOri.Attachment0 = AttachmentD;
AttachmentC.Orientation = Angle
Part0.Parent = FakeCharacter
if Position then
AttachmentA.Position = Position
end
game:GetService("RunService").Heartbeat:connect(function()
Part0.Velocity = Vector3.new(0,35,0)
end)
end
function StickParts(Part0,Part1,Angle,Position)
Part0:FindFirstChildWhichIsA("Weld"):Destroy()
Part0:FindFirstChildWhichIsA("SpecialMesh"):Destroy()
local AlignPos = Instance.new('AlignPosition', Part1)
AlignPos.ApplyAtCenterOfMass = true;
AlignPos.MaxForce = 67752;
AlignPos.MaxVelocity = math.huge/9e110;
AlignPos.ReactionForceEnabled = false;
AlignPos.Responsiveness = 200;
AlignPos.RigidityEnabled = false;
local AlignOri = Instance.new('AlignOrientation', Part1)
AlignOri.MaxAngularVelocity = math.huge/9e110;
AlignOri.MaxTorque = 67752;
AlignOri.PrimaryAxisOnly = false;
AlignOri.ReactionTorqueEnabled = false;
AlignOri.Responsiveness = 200;
AlignOri.RigidityEnabled = false;
local AttachmentA=Instance.new('Attachment',Part1)
local AttachmentB=Instance.new('Attachment',Part0)
local AttachmentC=Instance.new('Attachment',Part1)
local AttachmentD=Instance.new('Attachment',Part0)
AlignPos.Attachment1 = AttachmentA;
AlignPos.Attachment0 = AttachmentB;
AlignOri.Attachment1 = AttachmentC;
AlignOri.Attachment0 = AttachmentD;
AttachmentC.Orientation = Angle
Part0.Parent = FakeCharacter
if Position then
AttachmentA.Position = Position
end
s = game:GetService("RunService").Heartbeat:connect(function()
Part0.Velocity = Vector3.new(0,50,0)
end)
spawn(function()
while true do
wait()
if HumanDied then
s:Disconnect()
break
end
end
end)
end
game.Players.LocalPlayer.Character.Archivable = true
do
Bypass = "death"
if not Bypass then Bypass = "limbs" end
HumanDied = false
CountSCIFIMOVIELOL = 1
function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
AlignPos.ApplyAtCenterOfMass = true;
AlignPos.MaxForce = 67752;
AlignPos.MaxVelocity = math.huge/9e110;
AlignPos.ReactionForceEnabled = false;
AlignPos.Responsiveness = 200;
AlignPos.RigidityEnabled = false;
local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
AlignOri.MaxAngularVelocity = math.huge/9e110;
AlignOri.MaxTorque = 67752;
AlignOri.PrimaryAxisOnly = false;
AlignOri.ReactionTorqueEnabled = false;
AlignOri.Responsiveness = 200;
AlignOri.RigidityEnabled = false;
local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "AthP_"..CountSCIFIMOVIELOL
local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "AthP_"..CountSCIFIMOVIELOL
local AttachmentC=Instance.new('Attachment',Part1); AttachmentC.Name = "AthO_"..CountSCIFIMOVIELOL
local AttachmentD=Instance.new('Attachment',Part0); AttachmentD.Name = "AthO_"..CountSCIFIMOVIELOL
AttachmentC.Orientation = Angle
AttachmentA.Position = Position
AlignPos.Attachment1 = AttachmentA;
AlignPos.Attachment0 = AttachmentB;
AlignOri.Attachment1 = AttachmentC;
AlignOri.Attachment0 = AttachmentD;
CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
end
function CreoBYPASS(Part0,Part1,Position,Angle)
game:GetService("RunService").Stepped:Connect(function()
Part0.AssemblyLinearVelocity = (Part1.Position - Part0.Position)*50
Part0.AssemblyAngularVelocity = Vector3.new(9999,9999,9999)
end)
end
coroutine.wrap(function()
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:wait()
if sethiddenproperty then
while true do
game:GetService("RunService").RenderStepped:Wait()
settings().Physics.AllowSleep = false
local TBL = game:GetService("Players"):GetChildren()
for _ = 1,#TBL do local Players = TBL[_]
if Players ~= game:GetService("Players").LocalPlayer then
Players.MaximumSimulationRadius = 0
sethiddenproperty(Players,"SimulationRadius",0)
end
end
game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
sethiddenproperty(game:GetService("Players").LocalPlayer,"SimulationRadius",math.pow(math.huge,math.huge)*math.huge)
if HumanDied then break end
end
else
while true do
game:GetService("RunService").RenderStepped:Wait()
settings().Physics.AllowSleep = false
local TBL = game:GetService("Players"):GetChildren()
for _ = 1,#TBL do local Players = TBL[_]
if Players ~= game:GetService("Players").LocalPlayer then
Players.MaximumSimulationRadius = 0
end
end
game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
if HumanDied then break end
end
end
end)()
if game:GetService("Players").LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
if Bypass == "limbs" then --------------------------------------------------------------------------------------------------------------------
game:GetService("Players").LocalPlayer["Character"].Archivable = true
local CloneChar = game:GetService("Players").LocalPlayer["Character"]:Clone()
CloneChar.Parent = workspace
CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,2,0)
wait()
CloneChar.Humanoid.BreakJointsOnDeath = false
workspace.Camera.CameraSubject = CloneChar.Humanoid
CloneChar.Name = "non"
CloneChar.Humanoid.DisplayDistanceType = "None"
if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
DeadChar.HumanoidRootPart:Destroy()
local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
local CONVEC
local function VECTORUNIT()
if HumanDied then CONVEC:Disconnect(); return end
local lookVec = workspace.Camera.CFrame.lookVector
local Root = CloneChar["HumanoidRootPart"]
LVecPart.Position = Root.Position
LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
end
CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
local CONDOWN
local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
local function KEYDOWN(_,Processed)
if HumanDied then CONDOWN:Disconnect(); return end
if Processed ~= true then
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = true end
if Key == Enum.KeyCode.A then
ADown = true end
if Key == Enum.KeyCode.S then
SDown = true end
if Key == Enum.KeyCode.D then
DDown = true end
if Key == Enum.KeyCode.Space then
SpaceDown = true end end end
CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
local CONUP
local function KEYUP(_)
if HumanDied then CONUP:Disconnect(); return end
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = false end
if Key == Enum.KeyCode.A then
ADown = false end
if Key == Enum.KeyCode.S then
SDown = false end
if Key == Enum.KeyCode.D then
DDown = false end
if Key == Enum.KeyCode.Space then
SpaceDown = false end end
CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
local function MoveClone(X,Y,Z)
VEL = 1
LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
wait()
VEL = 0
end
coroutine.wrap(function()
while true do game:GetService("RunService").RenderStepped:Wait()
if HumanDied then break end
if WDown then MoveClone(0,0,1e4) end
if ADown then MoveClone(1e4,0,0) end
if SDown then MoveClone(0,0,-1e4) end
if DDown then MoveClone(-1e4,0,0) end
if SpaceDown then CloneChar["Humanoid"].Jump = true end
if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
end
end)()
local con
function UnCollide()
if HumanDied then con:Disconnect(); return end
for _,Parts in next, CloneChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
for _,Parts in next, DeadChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
end
con = game:GetService("RunService").Stepped:Connect(UnCollide)
local resetBindable = Instance.new("BindableEvent")
resetBindable.Event:connect(function()
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
pcall(function()
CloneChar.Humanoid.Health = 0
DeadChar.Humanoid.Health = 0
end)
end)
game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 or not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
HumanDied = true
FakeCharacter:Destroy()
script:Destroy()
pcall(function()
game.Players.LocalPlayer.Character = CloneChar
CloneChar:Destroy()
game.Players.LocalPlayer.Character = DeadChar
if resetBindable then
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
end
DeadChar.Humanoid.Health = 0
end)
break
end
end
end)()
SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if HumanDied then break end
DeadChar["Torso"].CFrame = CloneChar["Torso"].CFrame
end
end)()
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") and table.find(SETHATS,v.Handle) == nil then
SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
end
end
for _,BodyParts in next, CloneChar:GetDescendants() do
if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
BodyParts.Transparency = 1 end end
DeadChar.Torso["Left Shoulder"]:Destroy()
DeadChar.Torso["Right Shoulder"]:Destroy()
DeadChar.Torso["Left Hip"]:Destroy()
DeadChar.Torso["Right Hip"]:Destroy()
elseif Bypass == "death" then --------------------------------------------------------------------------------------------------------------------
game:GetService("Players").LocalPlayer["Character"].Archivable = true
local CloneChar = game:GetService("Players").LocalPlayer["Character"]:Clone()
game:GetService("Players").LocalPlayer["Character"].Humanoid.WalkSpeed = 0
game:GetService("Players").LocalPlayer["Character"].Humanoid.JumpPower = 0
game:GetService("Players").LocalPlayer["Character"].Humanoid.AutoRotate = false
local FalseChar = Instance.new("Model", workspace); FalseChar.Name = ""
Instance.new("Part",FalseChar).Name = "Head"
Instance.new("Part",FalseChar).Name = "Torso"
Instance.new("Humanoid",FalseChar).Name = "Humanoid"
game:GetService("Players").LocalPlayer["Character"] = FalseChar
game:GetService("Players").LocalPlayer["Character"].Humanoid.Name = "FalseHumanoid"
local Clone = game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Clone()
Clone.Parent = game:GetService("Players").LocalPlayer["Character"]
Clone.Name = "Humanoid"
game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Destroy()
game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
game:GetService("Players").LocalPlayer["Character"] = workspace[game:GetService("Players").LocalPlayer.Name]
wait(5.65)
game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
CloneChar.Parent = workspace
CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,2,0)
wait()
CloneChar.Humanoid.BreakJointsOnDeath = false
workspace.Camera.CameraSubject = CloneChar.Humanoid
CloneChar.Name = "non"
CloneChar.Humanoid.DisplayDistanceType = "None"
if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
FalseChar:Destroy()
local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
local CONVEC
local function VECTORUNIT()
if HumanDied then CONVEC:Disconnect(); return end
local lookVec = workspace.Camera.CFrame.lookVector
local Root = CloneChar["HumanoidRootPart"]
LVecPart.Position = Root.Position
LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
end
CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
local CONDOWN
local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
local function KEYDOWN(_,Processed)
if HumanDied then CONDOWN:Disconnect(); return end
if Processed ~= true then
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = true end
if Key == Enum.KeyCode.A then
ADown = true end
if Key == Enum.KeyCode.S then
SDown = true end
if Key == Enum.KeyCode.D then
DDown = true end
if Key == Enum.KeyCode.Space then
SpaceDown = true end end end
CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
local CONUP
local function KEYUP(_)
if HumanDied then CONUP:Disconnect(); return end
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = false end
if Key == Enum.KeyCode.A then
ADown = false end
if Key == Enum.KeyCode.S then
SDown = false end
if Key == Enum.KeyCode.D then
DDown = false end
if Key == Enum.KeyCode.Space then
SpaceDown = false end end
CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
local function MoveClone(X,Y,Z)
LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
end
coroutine.wrap(function()
while true do game:GetService("RunService").RenderStepped:Wait()
if HumanDied then break end
if WDown then MoveClone(0,0,1e4) end
if ADown then MoveClone(1e4,0,0) end
if SDown then MoveClone(0,0,-1e4) end
if DDown then MoveClone(-1e4,0,0) end
if SpaceDown then CloneChar["Humanoid"].Jump = true end
if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
CloneChar.Humanoid.WalkToPoint = CloneChar.HumanoidRootPart.Position end
end
end)()
local con
function UnCollide()
if HumanDied then con:Disconnect(); return end
for _,Parts in next, CloneChar:GetDescendants() do
if Parts:IsA("BasePart") then
HumanRoot.CanCollide = false
Parts.CanCollide = false
end
end
for _,Parts in next, DeadChar:GetDescendants() do
if Parts:IsA("BasePart") then
if Parts.Name == "HumanoidRootPart" and Stationary == false then
Parts.CanCollide = false
HumanRoot.CanCollide = false
end
end
end
end
con = game:GetService("RunService").Stepped:Connect(UnCollide)
local resetBindable = Instance.new("BindableEvent")
resetBindable.Event:connect(function()
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
CloneChar.Humanoid.Health = 0
end)
game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 then
HumanDied = true
pcall(function()
game.Players.LocalPlayer.Character = CloneChar
CloneChar:Destroy()
game.Players.LocalPlayer.Character = DeadChar
if resetBindable then
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
end
DeadChar.Humanoid.Health = 0
end)
break
end
end
end)()
SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") and v.Name ~= "MeshPartAccessory" then
SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
end
end
for _,BodyParts in next, CloneChar:GetDescendants() do
if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
BodyParts.Transparency = 1 end end
elseif Bypass == "hats" then
game:GetService("Players").LocalPlayer["Character"].Archivable = true
local DeadChar = game.Players.LocalPlayer.Character
DeadChar.Name = "non"
local HatPosition = Vector3.new(0,0,0)
local HatName = "MediHood"
local HatsLimb = {
Rarm = DeadChar:FindFirstChild("Hat1"),
Larm = DeadChar:FindFirstChild("Pink Hair"),
Rleg = DeadChar:FindFirstChild("Robloxclassicred"),
Lleg = DeadChar:FindFirstChild("Kate Hair"),
Torso1 = DeadChar:FindFirstChild("Pal Hair"),
Torso2 = DeadChar:FindFirstChild("LavanderHair")
}
HatName = DeadChar:FindFirstChild(HatName)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
HumanDied = true
pcall(function()
if resetBindable then
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
end
DeadChar.Humanoid.Health = 0
end)
break
end
end
end)()
local con
function UnCollide()
if HumanDied then con:Disconnect(); return end
for _,Parts in next, DeadChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
end
local con2
function UnCollide2()
if HumanDied then con:Disconnect(); return end
for _,Parts in next, FakeCharacter:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
end
con = game:GetService("RunService").Stepped:Connect(UnCollide)
con2 = game:GetService("RunService").Stepped:Connect(UnCollide2)
SCIFIMOVIELOL(HatName.Handle,DeadChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(HatsLimb.Torso1.Handle,DeadChar["Torso"],Vector3.new(0.5,0,0),Vector3.new(90,0,0))
SCIFIMOVIELOL(HatsLimb.Torso2.Handle,DeadChar["Torso"],Vector3.new(-0.5,0,0),Vector3.new(90,0,0))
SCIFIMOVIELOL(HatsLimb.Larm.Handle,DeadChar["Left Arm"],Vector3.new(0,0,0),Vector3.new(90,0,0))
SCIFIMOVIELOL(HatsLimb.Rarm.Handle,DeadChar["Right Arm"],Vector3.new(0,0,0),Vector3.new(90,0,0))
SCIFIMOVIELOL(HatsLimb.Lleg.Handle,DeadChar["Left Leg"],Vector3.new(0,0,0),Vector3.new(90,0,0))
SCIFIMOVIELOL(HatsLimb.Rleg.Handle,DeadChar["Right Leg"],Vector3.new(0,0,0),Vector3.new(90,0,0))
for i,v in pairs(HatsLimb) do
v.Handle:FindFirstChild("AccessoryWeld"):Destroy()
if v.Handle:FindFirstChild("Mesh") then v.Handle:FindFirstChild("Mesh"):Destroy() end
if v.Handle:FindFirstChild("SpecialMesh") then v.Handle:FindFirstChild("SpecialMesh"):Destroy() end
end
HatName.Handle:FindFirstChild("AccessoryWeld"):Destroy()
end
else
if Bypass == "limbs" then --------------------------------------------------------------------------------------------------------------------
game:GetService("Players").LocalPlayer["Character"].Archivable = true
local CloneChar = game:GetObjects("rbxassetid://5227463276")[1]
CloneChar.Parent = workspace
CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,0.5,0.1)
CloneChar.Humanoid.BreakJointsOnDeath = false
workspace.Camera.CameraSubject = CloneChar.Humanoid
CloneChar.Name = "non"
CloneChar.Humanoid.DisplayDistanceType = "None"
if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
DeadChar.HumanoidRootPart:Destroy()
local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
local CONVEC
local function VECTORUNIT()
if HumanDied then CONVEC:Disconnect(); return end
local lookVec = workspace.Camera.CFrame.lookVector
local Root = CloneChar["HumanoidRootPart"]
LVecPart.Position = Root.Position
LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
end
CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
local CONDOWN
local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
local function KEYDOWN(_,Processed)
if HumanDied then CONDOWN:Disconnect(); return end
if Processed ~= true then
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = true end
if Key == Enum.KeyCode.A then
ADown = true end
if Key == Enum.KeyCode.S then
SDown = true end
if Key == Enum.KeyCode.D then
DDown = true end
if Key == Enum.KeyCode.Space then
SpaceDown = true end end end
CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
local CONUP
local function KEYUP(_)
if HumanDied then CONUP:Disconnect(); return end
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = false end
if Key == Enum.KeyCode.A then
ADown = false end
if Key == Enum.KeyCode.S then
SDown = false end
if Key == Enum.KeyCode.D then
DDown = false end
if Key == Enum.KeyCode.Space then
SpaceDown = false end end
CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
local function MoveClone(X,Y,Z)
LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
end
coroutine.wrap(function()
while true do game:GetService("RunService").RenderStepped:Wait()
if HumanDied then break end
if WDown then MoveClone(0,0,1e4) end
if ADown then MoveClone(1e4,0,0) end
if SDown then MoveClone(0,0,-1e4) end
if DDown then MoveClone(-1e4,0,0) end
if SpaceDown then CloneChar["Humanoid"].Jump = true end
if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
end
end)()
local con
function UnCollide()
if HumanDied then con:Disconnect(); return end
for _,Parts in next, CloneChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
for _,Parts in next, DeadChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
end
con = game:GetService("RunService").Stepped:Connect(UnCollide)
local resetBindable = Instance.new("BindableEvent")
resetBindable.Event:connect(function()
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
CloneChar.Humanoid.Health = 0
end)
game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 or not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
HumanDied = true
pcall(function()
game.Players.LocalPlayer.Character = CloneChar
CloneChar:Destroy()
game.Players.LocalPlayer.Character = DeadChar
if resetBindable then
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
end
DeadChar.Humanoid.Health = 0
end)
break
end
end
end)()
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") then
v:Clone().Parent = CloneChar
end
end
for _,v in next, DeadChar:GetDescendants() do
if v:IsA("Motor6D") and v.Name ~= "Neck" then
v:Destroy()
end
end
SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["UpperTorso"],CloneChar["Torso"],Vector3.new(0,0.2,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LowerTorso"],CloneChar["Torso"],Vector3.new(0,-0.78,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftUpperArm"],CloneChar["Left Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftLowerArm"],CloneChar["Left Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftHand"],CloneChar["Left Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightUpperArm"],CloneChar["Right Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightLowerArm"],CloneChar["Right Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightHand"],CloneChar["Right Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftUpperLeg"],CloneChar["Left Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftLowerLeg"],CloneChar["Left Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftFoot"],CloneChar["Left Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightUpperLeg"],CloneChar["Right Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightLowerLeg"],CloneChar["Right Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightFoot"],CloneChar["Right Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if HumanDied then break end
DeadChar["UpperTorso"].CFrame = CloneChar["Torso"].CFrame * CFrame.new(0,0.2,0)
end
end)()
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") then
SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
end
end
for _,BodyParts in next, CloneChar:GetDescendants() do
if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
BodyParts.Transparency = 1 end end
elseif Bypass == "death" then --------------------------------------------------------------------------------------------------------------------
game:GetService("Players").LocalPlayer["Character"].Archivable = true
local CloneChar = game:GetObjects("rbxassetid://5227463276")[1]
game:GetService("Players").LocalPlayer["Character"].Humanoid.WalkSpeed = 0
game:GetService("Players").LocalPlayer["Character"].Humanoid.JumpPower = 0
game:GetService("Players").LocalPlayer["Character"].Humanoid.AutoRotate = false
local FalseChar = Instance.new("Model", workspace); FalseChar.Name = ""
Instance.new("Part",FalseChar).Name = "Head"
Instance.new("Part",FalseChar).Name = "UpperTorso"
Instance.new("Humanoid",FalseChar).Name = "Humanoid"
game:GetService("Players").LocalPlayer["Character"] = FalseChar
game:GetService("Players").LocalPlayer["Character"].Humanoid.Name = "FalseHumanoid"
local Clone = game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Clone()
Clone.Parent = game:GetService("Players").LocalPlayer["Character"]
Clone.Name = "Humanoid"
game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Destroy()
game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
game:GetService("Players").LocalPlayer["Character"] = workspace[game:GetService("Players").LocalPlayer.Name]
wait(5.65)
game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
CloneChar.Parent = workspace
CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,0.5,0.1)
wait()
CloneChar.Humanoid.BreakJointsOnDeath = false
workspace.Camera.CameraSubject = CloneChar.Humanoid
CloneChar.Name = "non"
CloneChar.Humanoid.DisplayDistanceType = "None"
if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
FalseChar:Destroy()
local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
local CONVEC
local function VECTORUNIT()
if HumanDied then CONVEC:Disconnect(); return end
local lookVec = workspace.Camera.CFrame.lookVector
local Root = CloneChar["HumanoidRootPart"]
LVecPart.Position = Root.Position
LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
end
CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
local CONDOWN
local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
local function KEYDOWN(_,Processed)
if HumanDied then CONDOWN:Disconnect(); return end
if Processed ~= true then
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = true end
if Key == Enum.KeyCode.A then
ADown = true end
if Key == Enum.KeyCode.S then
SDown = true end
if Key == Enum.KeyCode.D then
DDown = true end
if Key == Enum.KeyCode.Space then
SpaceDown = true end end end
CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
local CONUP
local function KEYUP(_)
if HumanDied then CONUP:Disconnect(); return end
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = false end
if Key == Enum.KeyCode.A then
ADown = false end
if Key == Enum.KeyCode.S then
SDown = false end
if Key == Enum.KeyCode.D then
DDown = false end
if Key == Enum.KeyCode.Space then
SpaceDown = false end end
CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
local function MoveClone(X,Y,Z)
LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
end
coroutine.wrap(function()
while true do game:GetService("RunService").RenderStepped:Wait()
if HumanDied then break end
if WDown then MoveClone(0,0,1e4) end
if ADown then MoveClone(1e4,0,0) end
if SDown then MoveClone(0,0,-1e4) end
if DDown then MoveClone(-1e4,0,0) end
if SpaceDown then CloneChar["Humanoid"].Jump = true end
if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
end
end)()
local con
function UnCollide()
if HumanDied then con:Disconnect(); return end
for _,Parts in next, CloneChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
for _,Parts in next, DeadChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
end
con = game:GetService("RunService").Stepped:Connect(UnCollide)
local resetBindable = Instance.new("BindableEvent")
resetBindable.Event:connect(function()
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
CloneChar.Humanoid.Health = 0
end)
game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 then
HumanDied = true
pcall(function()
game.Players.LocalPlayer.Character = CloneChar
CloneChar:Destroy()
game.Players.LocalPlayer.Character = DeadChar
if resetBindable then
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
end
DeadChar.Humanoid.Health = 0
end)
break
end
end
end)()
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") then
v:Clone().Parent = CloneChar
end
end
SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["UpperTorso"],CloneChar["Torso"],Vector3.new(0,0.2,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LowerTorso"],CloneChar["Torso"],Vector3.new(0,-0.78,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftUpperArm"],CloneChar["Left Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftLowerArm"],CloneChar["Left Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftHand"],CloneChar["Left Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightUpperArm"],CloneChar["Right Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightLowerArm"],CloneChar["Right Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightHand"],CloneChar["Right Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftUpperLeg"],CloneChar["Left Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftLowerLeg"],CloneChar["Left Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftFoot"],CloneChar["Left Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightUpperLeg"],CloneChar["Right Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightLowerLeg"],CloneChar["Right Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightFoot"],CloneChar["Right Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["HumanoidRootPart"],CloneChar["HumanoidRootPart"],Vector3.new(0,0,0),Vector3.new(0,0,0))
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") then
SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
end
end
for _,BodyParts in next, CloneChar:GetDescendants() do
if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
BodyParts.Transparency = 1 end end
if DeadChar.Head:FindFirstChild("Neck") then
game.Players.LocalPlayer.Character:BreakJoints()
end
end
end
end
local CloneChar = workspace.non
game.Players.LocalPlayer.Character.Parent = CloneChar
local MakeNewAnim = function(id)
local NewAnim = Instance.new("Animation")
NewAnim.AnimationId = id
return {NewAnim,id}
end
function CreoFEFakeAnimations(Character)
spawn(function()
local Humanoid = Character:FindFirstChildWhichIsA("Humanoid")
local HRP = Character:WaitForChild("HumanoidRootPart")
local Walk = MakeNewAnim("http://www.roblox.com/asset/?id=180426354")
local Idle = MakeNewAnim("http://www.roblox.com/asset/?id=180435571")
local Jump = MakeNewAnim("http://www.roblox.com/asset/?id=125750702")
local Fall = MakeNewAnim("http://www.roblox.com/asset/?id=180436148")
local anim = Idle[1]
local AnimId = Idle[2]
local Anim = Humanoid:LoadAnimation(anim)
Anim.Priority = Enum.AnimationPriority.Core
local rayCast = function(Pos, Dir, Max, Ignore)
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), (Ignore))
end
spawn(function()
while HumanDied ~= true do
wait()
local hitfloor = rayCast(HRP.Position, CFrame.new(HRP.Position, HRP.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
local oldAnim = Anim
local oldAnimId = AnimId
if HRP.Velocity.Y > 0 and hitfloor == nil then
Anim = Humanoid:LoadAnimation(Jump[1])
AnimId = Jump[2]
elseif HRP.Velocity.Y < 0 and hitfloor == nil then
Anim = Humanoid:LoadAnimation(Fall[1])
AnimId = Fall[2]
elseif (HRP.Velocity.X + HRP.Velocity.Z)/2 > 0.1 or (HRP.Velocity.X + HRP.Velocity.Z)/2 < -0.1 then
Anim = Humanoid:LoadAnimation(Walk[1])
AnimId = Walk[2]
else
Anim = Humanoid:LoadAnimation(Idle[1])
AnimId = Idle[2]
end
if AnimId ~= oldAnimId then
oldAnim:Stop()
Anim:Play()
end
end
end)
end)
end
local NotificationBindable = Instance.new("BindableFunction")
local Msgreq = function(Title,Text,Duration,Button1Text,Button2Text)
game.StarterGui:SetCore("SendNotification", {
Title = Title;
Text = Text;
Icon = "";
Duration = Duration;
Button1 = Button1Text;
Button2 = nil;
Callback = NotificationBindable;
})
end
CreoFEFakeAnimations(CloneChar)
local RS = game:GetService("RunService")
local PetPositionPart = Instance.new("Part")
PetPositionPart.Size = Vector3.new(0,0,0)
PetPositionPart.Anchored = true
PetPositionPart.CanCollide = false
PetPositionPart.Parent = workspace
SCIFIMOVIELOL(HumanRoot,PetPositionPart,Vector3.new(0,0,0),Vector3.new(0,0,0))
local Pet = nil
function FindPet(Part)
if Part.Handle:FindFirstChildWhichIsA("SpecialMesh") == nil then
CheckPart = Part.Handle
else
if Part.Handle.SpecialMesh then
CheckPart = Part.Handle.SpecialMesh
end
end
if CheckPart.Name == "Handle" then
if CheckPart.TextureID == "http://www.roblox.com/asset/?id=3910536177" or CheckPart.TextureID == "http://www.roblox.com/asset/?id=3910505130" or CheckPart.TextureID == "http://www.roblox.com/asset/?id=3931366871" then
else
if CheckPart.TextureId == "http://www.roblox.com/asset/?id=3910536177" or CheckPart.TextureId == "http://www.roblox.com/asset/?id=3910505130" or CheckPart.TextureId == "http://www.roblox.com/asset/?id=3931366871" then
end
end
Pet = Part.Handle
Pet:FindFirstChildWhichIsA("Weld"):Destroy()
FEWeldlol(Pet,PetPositionPart)
return true
end
end
function FEWeldlol(Part0,Part1)
local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"
AlignPos.ApplyAtCenterOfMass = true;
AlignPos.MaxForce = 67752;
AlignPos.MaxVelocity = math.huge/9e110;
AlignPos.ReactionForceEnabled = false;
AlignPos.Responsiveness = 200;
AlignPos.RigidityEnabled = false;
local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"
AlignOri.MaxAngularVelocity = math.huge/9e110;
AlignOri.MaxTorque = 67752;
AlignOri.PrimaryAxisOnly = false;
AlignOri.ReactionTorqueEnabled = false;
AlignOri.Responsiveness = 200;
AlignOri.RigidityEnabled = false;
local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = ""
local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = ""
local AttachmentC=Instance.new('Attachment',Part1); AttachmentC.Name = ""
local AttachmentD=Instance.new('Attachment',Part0); AttachmentD.Name = ""
AttachmentC.Orientation = Vector3.new(0,0,0)
AttachmentA.Position = Vector3.new(0,0,0)
AlignPos.Attachment1 = AttachmentA;
AlignPos.Attachment0 = AttachmentB;
AlignOri.Attachment1 = AttachmentC;
AlignOri.Attachment0 = AttachmentD;
spawn(function()
while true do
game:GetService("RunService").Stepped:wait()
Part0.Velocity = Vector3.new(45,45,0)
end
end)
end
local Character = game.Players.LocalPlayer.Character
for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
if v:IsA("BasePart") and v.Name ~="HumanoidRootPart" then
game:GetService("RunService").Heartbeat:connect(function()
v.Velocity = Vector3.new(0,35,0)
wait(0.5)
end)
end
end
local Descendants = Character:GetDescendants()
for i = 1,#Descendants do
if Descendants[i].Name == "MeshPartAccessory" then
local Gart = Descendants[i]
--Gart.Handle:FindFirstChildWhichIsA("Weld"):Destroy()
FEWeldlol(Gart.Handle,PetPositionPart,Vector3.new(0,0,0),Vector3.new(0,0,0))
print("Doneit")
end
end
local ControlMode = false
local Mouse = game.Players.LocalPlayer:GetMouse()
local Attacking = false
Mouse.Button1Down:Connect(function()
if Attacking == false then
Attacking = true
for i = 1,50 do
RS.Stepped:wait()
HumanRoot.AssemblyAngularVelocity = Vector3.new(5000,5000,5000)
HumanRoot.Position = PetPositionPart.Position
PetPositionPart.CFrame = PetPositionPart.CFrame:Lerp(CFrame.new(PetPositionPart.Position,workspace.CurrentCamera.CFrame * CFrame.new(0,0,-99999).Position)*CFrame.new(0,0,-2/50*i) * CFrame.Angles(0,0,math.rad((360*4)/50)*i) ,1)
end
Attacking = false
end
end)
Mouse.KeyDown:Connect(function(key)
if key == "f" then
if ControlMode == false then
ControlMode = true
CloneChar:FindFirstChildWhichIsA("Humanoid").WalkSpeed = 0
workspace.CurrentCamera.CameraSubject = PetPositionPart
while ControlMode == true do
RS.Stepped:wait()
if Attacking == false then
local FW = game.Players.LocalPlayer.Character.Humanoid.MoveDirection
PetPositionPart.CFrame = PetPositionPart.CFrame:Lerp(CFrame.new(PetPositionPart.Position + Vector3.new(FW.X,workspace.CurrentCamera.CFrame.LookVector.Y,FW.Z)*1.2*FW.Magnitude,workspace.CurrentCamera.CFrame * CFrame.new(0,0,-99999).Position),0.8)
end
end
else
ControlMode = false
workspace.CurrentCamera.CameraSubject = CloneChar:FindFirstChildWhichIsA("Humanoid")
CloneChar.Humanoid.WalkSpeed = 15
end
end
if key == "m" then
if Stationary == true then
Stationary = false
Msgreq("Loaf","Stationary Mode = False",5,nil,nil)
else
Stationary = true
Msgreq("Loaf","Stationary Mode = True",5,nil,nil)
end
end
end)
RS.RenderStepped:Connect(function()
if ControlMode == false and Attacking == false and Stationary == false then
PetPositionPart.CFrame = PetPositionPart.CFrame:Lerp(CloneChar.HumanoidRootPart.CFrame * CFrame.new(3,1+math.sin(time()*1.2)*0.8,0),0.08)
elseif ControlMode == false and Attacking == false and Stationary == true then
PetPositionPart.CFrame = PetPositionPart.CFrame:Lerp(PetPositionPart.CFrame * CFrame.new(0,math.sin(time())*0.2,0),0.08)
end
end)
FE Cat Pet by Creo
Stop by my discord server for more scripts and hangouts
https://discord.gg/fMPEUPdUUA
This script works with these hats
https://web.roblox.com/catalog/3914989310/Black-Kitten-Head-Loaf
https://web.roblox.com/catalog/3932856360/Orange-Kitten-Head-Loaf
https://web.roblox.com/catalog/3914992580/White-Kitten-Head-Loaf
Easily editable tho ;)
]]
sethiddenproperty(game.Players.LocalPlayer,"SimulationRadius",99999999999)
for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
if v:IsA("BasePart") then
game:GetService("RunService").Heartbeat:connect(function()
v.Velocity = Vector3.new(0,35,0)
wait(0.5)
end)
end
end
Stationary = false
local HumanRoot = game.Players.LocalPlayer.Character.HumanoidRootPart
function StickAcc(Part0,Part1,Angle,Position)
Part0:FindFirstChildWhichIsA("Weld"):Destroy()
local AlignPos = Instance.new('AlignPosition', Part1)
AlignPos.ApplyAtCenterOfMass = true;
AlignPos.MaxForce = 67752;
AlignPos.MaxVelocity = math.huge/9e110;
AlignPos.ReactionForceEnabled = false;
AlignPos.Responsiveness = 200;
AlignPos.RigidityEnabled = false;
local AlignOri = Instance.new('AlignOrientation', Part1)
AlignOri.MaxAngularVelocity = math.huge/9e110;
AlignOri.MaxTorque = 67752;
AlignOri.PrimaryAxisOnly = false;
AlignOri.ReactionTorqueEnabled = false;
AlignOri.Responsiveness = 200;
AlignOri.RigidityEnabled = false;
local AttachmentA=Instance.new('Attachment',Part1)
local AttachmentB=Instance.new('Attachment',Part0)
local AttachmentC=Instance.new('Attachment',Part1)
local AttachmentD=Instance.new('Attachment',Part0)
AlignPos.Attachment1 = AttachmentA;
AlignPos.Attachment0 = AttachmentB;
AlignOri.Attachment1 = AttachmentC;
AlignOri.Attachment0 = AttachmentD;
AttachmentC.Orientation = Angle
Part0.Parent = FakeCharacter
if Position then
AttachmentA.Position = Position
end
game:GetService("RunService").Heartbeat:connect(function()
Part0.Velocity = Vector3.new(0,35,0)
end)
end
function StickParts(Part0,Part1,Angle,Position)
Part0:FindFirstChildWhichIsA("Weld"):Destroy()
Part0:FindFirstChildWhichIsA("SpecialMesh"):Destroy()
local AlignPos = Instance.new('AlignPosition', Part1)
AlignPos.ApplyAtCenterOfMass = true;
AlignPos.MaxForce = 67752;
AlignPos.MaxVelocity = math.huge/9e110;
AlignPos.ReactionForceEnabled = false;
AlignPos.Responsiveness = 200;
AlignPos.RigidityEnabled = false;
local AlignOri = Instance.new('AlignOrientation', Part1)
AlignOri.MaxAngularVelocity = math.huge/9e110;
AlignOri.MaxTorque = 67752;
AlignOri.PrimaryAxisOnly = false;
AlignOri.ReactionTorqueEnabled = false;
AlignOri.Responsiveness = 200;
AlignOri.RigidityEnabled = false;
local AttachmentA=Instance.new('Attachment',Part1)
local AttachmentB=Instance.new('Attachment',Part0)
local AttachmentC=Instance.new('Attachment',Part1)
local AttachmentD=Instance.new('Attachment',Part0)
AlignPos.Attachment1 = AttachmentA;
AlignPos.Attachment0 = AttachmentB;
AlignOri.Attachment1 = AttachmentC;
AlignOri.Attachment0 = AttachmentD;
AttachmentC.Orientation = Angle
Part0.Parent = FakeCharacter
if Position then
AttachmentA.Position = Position
end
s = game:GetService("RunService").Heartbeat:connect(function()
Part0.Velocity = Vector3.new(0,50,0)
end)
spawn(function()
while true do
wait()
if HumanDied then
s:Disconnect()
break
end
end
end)
end
game.Players.LocalPlayer.Character.Archivable = true
do
Bypass = "death"
if not Bypass then Bypass = "limbs" end
HumanDied = false
CountSCIFIMOVIELOL = 1
function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
AlignPos.ApplyAtCenterOfMass = true;
AlignPos.MaxForce = 67752;
AlignPos.MaxVelocity = math.huge/9e110;
AlignPos.ReactionForceEnabled = false;
AlignPos.Responsiveness = 200;
AlignPos.RigidityEnabled = false;
local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
AlignOri.MaxAngularVelocity = math.huge/9e110;
AlignOri.MaxTorque = 67752;
AlignOri.PrimaryAxisOnly = false;
AlignOri.ReactionTorqueEnabled = false;
AlignOri.Responsiveness = 200;
AlignOri.RigidityEnabled = false;
local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "AthP_"..CountSCIFIMOVIELOL
local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "AthP_"..CountSCIFIMOVIELOL
local AttachmentC=Instance.new('Attachment',Part1); AttachmentC.Name = "AthO_"..CountSCIFIMOVIELOL
local AttachmentD=Instance.new('Attachment',Part0); AttachmentD.Name = "AthO_"..CountSCIFIMOVIELOL
AttachmentC.Orientation = Angle
AttachmentA.Position = Position
AlignPos.Attachment1 = AttachmentA;
AlignPos.Attachment0 = AttachmentB;
AlignOri.Attachment1 = AttachmentC;
AlignOri.Attachment0 = AttachmentD;
CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
end
function CreoBYPASS(Part0,Part1,Position,Angle)
game:GetService("RunService").Stepped:Connect(function()
Part0.AssemblyLinearVelocity = (Part1.Position - Part0.Position)*50
Part0.AssemblyAngularVelocity = Vector3.new(9999,9999,9999)
end)
end
coroutine.wrap(function()
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:wait()
if sethiddenproperty then
while true do
game:GetService("RunService").RenderStepped:Wait()
settings().Physics.AllowSleep = false
local TBL = game:GetService("Players"):GetChildren()
for _ = 1,#TBL do local Players = TBL[_]
if Players ~= game:GetService("Players").LocalPlayer then
Players.MaximumSimulationRadius = 0
sethiddenproperty(Players,"SimulationRadius",0)
end
end
game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
sethiddenproperty(game:GetService("Players").LocalPlayer,"SimulationRadius",math.pow(math.huge,math.huge)*math.huge)
if HumanDied then break end
end
else
while true do
game:GetService("RunService").RenderStepped:Wait()
settings().Physics.AllowSleep = false
local TBL = game:GetService("Players"):GetChildren()
for _ = 1,#TBL do local Players = TBL[_]
if Players ~= game:GetService("Players").LocalPlayer then
Players.MaximumSimulationRadius = 0
end
end
game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
if HumanDied then break end
end
end
end)()
if game:GetService("Players").LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
if Bypass == "limbs" then --------------------------------------------------------------------------------------------------------------------
game:GetService("Players").LocalPlayer["Character"].Archivable = true
local CloneChar = game:GetService("Players").LocalPlayer["Character"]:Clone()
CloneChar.Parent = workspace
CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,2,0)
wait()
CloneChar.Humanoid.BreakJointsOnDeath = false
workspace.Camera.CameraSubject = CloneChar.Humanoid
CloneChar.Name = "non"
CloneChar.Humanoid.DisplayDistanceType = "None"
if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
DeadChar.HumanoidRootPart:Destroy()
local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
local CONVEC
local function VECTORUNIT()
if HumanDied then CONVEC:Disconnect(); return end
local lookVec = workspace.Camera.CFrame.lookVector
local Root = CloneChar["HumanoidRootPart"]
LVecPart.Position = Root.Position
LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
end
CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
local CONDOWN
local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
local function KEYDOWN(_,Processed)
if HumanDied then CONDOWN:Disconnect(); return end
if Processed ~= true then
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = true end
if Key == Enum.KeyCode.A then
ADown = true end
if Key == Enum.KeyCode.S then
SDown = true end
if Key == Enum.KeyCode.D then
DDown = true end
if Key == Enum.KeyCode.Space then
SpaceDown = true end end end
CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
local CONUP
local function KEYUP(_)
if HumanDied then CONUP:Disconnect(); return end
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = false end
if Key == Enum.KeyCode.A then
ADown = false end
if Key == Enum.KeyCode.S then
SDown = false end
if Key == Enum.KeyCode.D then
DDown = false end
if Key == Enum.KeyCode.Space then
SpaceDown = false end end
CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
local function MoveClone(X,Y,Z)
VEL = 1
LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
wait()
VEL = 0
end
coroutine.wrap(function()
while true do game:GetService("RunService").RenderStepped:Wait()
if HumanDied then break end
if WDown then MoveClone(0,0,1e4) end
if ADown then MoveClone(1e4,0,0) end
if SDown then MoveClone(0,0,-1e4) end
if DDown then MoveClone(-1e4,0,0) end
if SpaceDown then CloneChar["Humanoid"].Jump = true end
if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
end
end)()
local con
function UnCollide()
if HumanDied then con:Disconnect(); return end
for _,Parts in next, CloneChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
for _,Parts in next, DeadChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
end
con = game:GetService("RunService").Stepped:Connect(UnCollide)
local resetBindable = Instance.new("BindableEvent")
resetBindable.Event:connect(function()
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
pcall(function()
CloneChar.Humanoid.Health = 0
DeadChar.Humanoid.Health = 0
end)
end)
game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 or not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
HumanDied = true
FakeCharacter:Destroy()
script:Destroy()
pcall(function()
game.Players.LocalPlayer.Character = CloneChar
CloneChar:Destroy()
game.Players.LocalPlayer.Character = DeadChar
if resetBindable then
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
end
DeadChar.Humanoid.Health = 0
end)
break
end
end
end)()
SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if HumanDied then break end
DeadChar["Torso"].CFrame = CloneChar["Torso"].CFrame
end
end)()
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") and table.find(SETHATS,v.Handle) == nil then
SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
end
end
for _,BodyParts in next, CloneChar:GetDescendants() do
if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
BodyParts.Transparency = 1 end end
DeadChar.Torso["Left Shoulder"]:Destroy()
DeadChar.Torso["Right Shoulder"]:Destroy()
DeadChar.Torso["Left Hip"]:Destroy()
DeadChar.Torso["Right Hip"]:Destroy()
elseif Bypass == "death" then --------------------------------------------------------------------------------------------------------------------
game:GetService("Players").LocalPlayer["Character"].Archivable = true
local CloneChar = game:GetService("Players").LocalPlayer["Character"]:Clone()
game:GetService("Players").LocalPlayer["Character"].Humanoid.WalkSpeed = 0
game:GetService("Players").LocalPlayer["Character"].Humanoid.JumpPower = 0
game:GetService("Players").LocalPlayer["Character"].Humanoid.AutoRotate = false
local FalseChar = Instance.new("Model", workspace); FalseChar.Name = ""
Instance.new("Part",FalseChar).Name = "Head"
Instance.new("Part",FalseChar).Name = "Torso"
Instance.new("Humanoid",FalseChar).Name = "Humanoid"
game:GetService("Players").LocalPlayer["Character"] = FalseChar
game:GetService("Players").LocalPlayer["Character"].Humanoid.Name = "FalseHumanoid"
local Clone = game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Clone()
Clone.Parent = game:GetService("Players").LocalPlayer["Character"]
Clone.Name = "Humanoid"
game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Destroy()
game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
game:GetService("Players").LocalPlayer["Character"] = workspace[game:GetService("Players").LocalPlayer.Name]
wait(5.65)
game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
CloneChar.Parent = workspace
CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,2,0)
wait()
CloneChar.Humanoid.BreakJointsOnDeath = false
workspace.Camera.CameraSubject = CloneChar.Humanoid
CloneChar.Name = "non"
CloneChar.Humanoid.DisplayDistanceType = "None"
if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
FalseChar:Destroy()
local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
local CONVEC
local function VECTORUNIT()
if HumanDied then CONVEC:Disconnect(); return end
local lookVec = workspace.Camera.CFrame.lookVector
local Root = CloneChar["HumanoidRootPart"]
LVecPart.Position = Root.Position
LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
end
CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
local CONDOWN
local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
local function KEYDOWN(_,Processed)
if HumanDied then CONDOWN:Disconnect(); return end
if Processed ~= true then
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = true end
if Key == Enum.KeyCode.A then
ADown = true end
if Key == Enum.KeyCode.S then
SDown = true end
if Key == Enum.KeyCode.D then
DDown = true end
if Key == Enum.KeyCode.Space then
SpaceDown = true end end end
CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
local CONUP
local function KEYUP(_)
if HumanDied then CONUP:Disconnect(); return end
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = false end
if Key == Enum.KeyCode.A then
ADown = false end
if Key == Enum.KeyCode.S then
SDown = false end
if Key == Enum.KeyCode.D then
DDown = false end
if Key == Enum.KeyCode.Space then
SpaceDown = false end end
CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
local function MoveClone(X,Y,Z)
LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
end
coroutine.wrap(function()
while true do game:GetService("RunService").RenderStepped:Wait()
if HumanDied then break end
if WDown then MoveClone(0,0,1e4) end
if ADown then MoveClone(1e4,0,0) end
if SDown then MoveClone(0,0,-1e4) end
if DDown then MoveClone(-1e4,0,0) end
if SpaceDown then CloneChar["Humanoid"].Jump = true end
if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
CloneChar.Humanoid.WalkToPoint = CloneChar.HumanoidRootPart.Position end
end
end)()
local con
function UnCollide()
if HumanDied then con:Disconnect(); return end
for _,Parts in next, CloneChar:GetDescendants() do
if Parts:IsA("BasePart") then
HumanRoot.CanCollide = false
Parts.CanCollide = false
end
end
for _,Parts in next, DeadChar:GetDescendants() do
if Parts:IsA("BasePart") then
if Parts.Name == "HumanoidRootPart" and Stationary == false then
Parts.CanCollide = false
HumanRoot.CanCollide = false
end
end
end
end
con = game:GetService("RunService").Stepped:Connect(UnCollide)
local resetBindable = Instance.new("BindableEvent")
resetBindable.Event:connect(function()
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
CloneChar.Humanoid.Health = 0
end)
game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 then
HumanDied = true
pcall(function()
game.Players.LocalPlayer.Character = CloneChar
CloneChar:Destroy()
game.Players.LocalPlayer.Character = DeadChar
if resetBindable then
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
end
DeadChar.Humanoid.Health = 0
end)
break
end
end
end)()
SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") and v.Name ~= "MeshPartAccessory" then
SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
end
end
for _,BodyParts in next, CloneChar:GetDescendants() do
if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
BodyParts.Transparency = 1 end end
elseif Bypass == "hats" then
game:GetService("Players").LocalPlayer["Character"].Archivable = true
local DeadChar = game.Players.LocalPlayer.Character
DeadChar.Name = "non"
local HatPosition = Vector3.new(0,0,0)
local HatName = "MediHood"
local HatsLimb = {
Rarm = DeadChar:FindFirstChild("Hat1"),
Larm = DeadChar:FindFirstChild("Pink Hair"),
Rleg = DeadChar:FindFirstChild("Robloxclassicred"),
Lleg = DeadChar:FindFirstChild("Kate Hair"),
Torso1 = DeadChar:FindFirstChild("Pal Hair"),
Torso2 = DeadChar:FindFirstChild("LavanderHair")
}
HatName = DeadChar:FindFirstChild(HatName)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
HumanDied = true
pcall(function()
if resetBindable then
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
end
DeadChar.Humanoid.Health = 0
end)
break
end
end
end)()
local con
function UnCollide()
if HumanDied then con:Disconnect(); return end
for _,Parts in next, DeadChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
end
local con2
function UnCollide2()
if HumanDied then con:Disconnect(); return end
for _,Parts in next, FakeCharacter:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
end
con = game:GetService("RunService").Stepped:Connect(UnCollide)
con2 = game:GetService("RunService").Stepped:Connect(UnCollide2)
SCIFIMOVIELOL(HatName.Handle,DeadChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(HatsLimb.Torso1.Handle,DeadChar["Torso"],Vector3.new(0.5,0,0),Vector3.new(90,0,0))
SCIFIMOVIELOL(HatsLimb.Torso2.Handle,DeadChar["Torso"],Vector3.new(-0.5,0,0),Vector3.new(90,0,0))
SCIFIMOVIELOL(HatsLimb.Larm.Handle,DeadChar["Left Arm"],Vector3.new(0,0,0),Vector3.new(90,0,0))
SCIFIMOVIELOL(HatsLimb.Rarm.Handle,DeadChar["Right Arm"],Vector3.new(0,0,0),Vector3.new(90,0,0))
SCIFIMOVIELOL(HatsLimb.Lleg.Handle,DeadChar["Left Leg"],Vector3.new(0,0,0),Vector3.new(90,0,0))
SCIFIMOVIELOL(HatsLimb.Rleg.Handle,DeadChar["Right Leg"],Vector3.new(0,0,0),Vector3.new(90,0,0))
for i,v in pairs(HatsLimb) do
v.Handle:FindFirstChild("AccessoryWeld"):Destroy()
if v.Handle:FindFirstChild("Mesh") then v.Handle:FindFirstChild("Mesh"):Destroy() end
if v.Handle:FindFirstChild("SpecialMesh") then v.Handle:FindFirstChild("SpecialMesh"):Destroy() end
end
HatName.Handle:FindFirstChild("AccessoryWeld"):Destroy()
end
else
if Bypass == "limbs" then --------------------------------------------------------------------------------------------------------------------
game:GetService("Players").LocalPlayer["Character"].Archivable = true
local CloneChar = game:GetObjects("rbxassetid://5227463276")[1]
CloneChar.Parent = workspace
CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,0.5,0.1)
CloneChar.Humanoid.BreakJointsOnDeath = false
workspace.Camera.CameraSubject = CloneChar.Humanoid
CloneChar.Name = "non"
CloneChar.Humanoid.DisplayDistanceType = "None"
if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
DeadChar.HumanoidRootPart:Destroy()
local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
local CONVEC
local function VECTORUNIT()
if HumanDied then CONVEC:Disconnect(); return end
local lookVec = workspace.Camera.CFrame.lookVector
local Root = CloneChar["HumanoidRootPart"]
LVecPart.Position = Root.Position
LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
end
CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
local CONDOWN
local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
local function KEYDOWN(_,Processed)
if HumanDied then CONDOWN:Disconnect(); return end
if Processed ~= true then
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = true end
if Key == Enum.KeyCode.A then
ADown = true end
if Key == Enum.KeyCode.S then
SDown = true end
if Key == Enum.KeyCode.D then
DDown = true end
if Key == Enum.KeyCode.Space then
SpaceDown = true end end end
CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
local CONUP
local function KEYUP(_)
if HumanDied then CONUP:Disconnect(); return end
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = false end
if Key == Enum.KeyCode.A then
ADown = false end
if Key == Enum.KeyCode.S then
SDown = false end
if Key == Enum.KeyCode.D then
DDown = false end
if Key == Enum.KeyCode.Space then
SpaceDown = false end end
CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
local function MoveClone(X,Y,Z)
LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
end
coroutine.wrap(function()
while true do game:GetService("RunService").RenderStepped:Wait()
if HumanDied then break end
if WDown then MoveClone(0,0,1e4) end
if ADown then MoveClone(1e4,0,0) end
if SDown then MoveClone(0,0,-1e4) end
if DDown then MoveClone(-1e4,0,0) end
if SpaceDown then CloneChar["Humanoid"].Jump = true end
if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
end
end)()
local con
function UnCollide()
if HumanDied then con:Disconnect(); return end
for _,Parts in next, CloneChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
for _,Parts in next, DeadChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
end
con = game:GetService("RunService").Stepped:Connect(UnCollide)
local resetBindable = Instance.new("BindableEvent")
resetBindable.Event:connect(function()
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
CloneChar.Humanoid.Health = 0
end)
game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 or not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
HumanDied = true
pcall(function()
game.Players.LocalPlayer.Character = CloneChar
CloneChar:Destroy()
game.Players.LocalPlayer.Character = DeadChar
if resetBindable then
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
end
DeadChar.Humanoid.Health = 0
end)
break
end
end
end)()
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") then
v:Clone().Parent = CloneChar
end
end
for _,v in next, DeadChar:GetDescendants() do
if v:IsA("Motor6D") and v.Name ~= "Neck" then
v:Destroy()
end
end
SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["UpperTorso"],CloneChar["Torso"],Vector3.new(0,0.2,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LowerTorso"],CloneChar["Torso"],Vector3.new(0,-0.78,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftUpperArm"],CloneChar["Left Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftLowerArm"],CloneChar["Left Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftHand"],CloneChar["Left Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightUpperArm"],CloneChar["Right Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightLowerArm"],CloneChar["Right Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightHand"],CloneChar["Right Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftUpperLeg"],CloneChar["Left Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftLowerLeg"],CloneChar["Left Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftFoot"],CloneChar["Left Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightUpperLeg"],CloneChar["Right Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightLowerLeg"],CloneChar["Right Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightFoot"],CloneChar["Right Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if HumanDied then break end
DeadChar["UpperTorso"].CFrame = CloneChar["Torso"].CFrame * CFrame.new(0,0.2,0)
end
end)()
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") then
SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
end
end
for _,BodyParts in next, CloneChar:GetDescendants() do
if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
BodyParts.Transparency = 1 end end
elseif Bypass == "death" then --------------------------------------------------------------------------------------------------------------------
game:GetService("Players").LocalPlayer["Character"].Archivable = true
local CloneChar = game:GetObjects("rbxassetid://5227463276")[1]
game:GetService("Players").LocalPlayer["Character"].Humanoid.WalkSpeed = 0
game:GetService("Players").LocalPlayer["Character"].Humanoid.JumpPower = 0
game:GetService("Players").LocalPlayer["Character"].Humanoid.AutoRotate = false
local FalseChar = Instance.new("Model", workspace); FalseChar.Name = ""
Instance.new("Part",FalseChar).Name = "Head"
Instance.new("Part",FalseChar).Name = "UpperTorso"
Instance.new("Humanoid",FalseChar).Name = "Humanoid"
game:GetService("Players").LocalPlayer["Character"] = FalseChar
game:GetService("Players").LocalPlayer["Character"].Humanoid.Name = "FalseHumanoid"
local Clone = game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Clone()
Clone.Parent = game:GetService("Players").LocalPlayer["Character"]
Clone.Name = "Humanoid"
game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Destroy()
game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
game:GetService("Players").LocalPlayer["Character"] = workspace[game:GetService("Players").LocalPlayer.Name]
wait(5.65)
game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
CloneChar.Parent = workspace
CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,0.5,0.1)
wait()
CloneChar.Humanoid.BreakJointsOnDeath = false
workspace.Camera.CameraSubject = CloneChar.Humanoid
CloneChar.Name = "non"
CloneChar.Humanoid.DisplayDistanceType = "None"
if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
FalseChar:Destroy()
local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
local CONVEC
local function VECTORUNIT()
if HumanDied then CONVEC:Disconnect(); return end
local lookVec = workspace.Camera.CFrame.lookVector
local Root = CloneChar["HumanoidRootPart"]
LVecPart.Position = Root.Position
LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
end
CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
local CONDOWN
local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
local function KEYDOWN(_,Processed)
if HumanDied then CONDOWN:Disconnect(); return end
if Processed ~= true then
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = true end
if Key == Enum.KeyCode.A then
ADown = true end
if Key == Enum.KeyCode.S then
SDown = true end
if Key == Enum.KeyCode.D then
DDown = true end
if Key == Enum.KeyCode.Space then
SpaceDown = true end end end
CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
local CONUP
local function KEYUP(_)
if HumanDied then CONUP:Disconnect(); return end
local Key = _.KeyCode
if Key == Enum.KeyCode.W then
WDown = false end
if Key == Enum.KeyCode.A then
ADown = false end
if Key == Enum.KeyCode.S then
SDown = false end
if Key == Enum.KeyCode.D then
DDown = false end
if Key == Enum.KeyCode.Space then
SpaceDown = false end end
CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
local function MoveClone(X,Y,Z)
LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
end
coroutine.wrap(function()
while true do game:GetService("RunService").RenderStepped:Wait()
if HumanDied then break end
if WDown then MoveClone(0,0,1e4) end
if ADown then MoveClone(1e4,0,0) end
if SDown then MoveClone(0,0,-1e4) end
if DDown then MoveClone(-1e4,0,0) end
if SpaceDown then CloneChar["Humanoid"].Jump = true end
if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
end
end)()
local con
function UnCollide()
if HumanDied then con:Disconnect(); return end
for _,Parts in next, CloneChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
for _,Parts in next, DeadChar:GetDescendants() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
end
con = game:GetService("RunService").Stepped:Connect(UnCollide)
local resetBindable = Instance.new("BindableEvent")
resetBindable.Event:connect(function()
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
CloneChar.Humanoid.Health = 0
end)
game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 then
HumanDied = true
pcall(function()
game.Players.LocalPlayer.Character = CloneChar
CloneChar:Destroy()
game.Players.LocalPlayer.Character = DeadChar
if resetBindable then
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
end
DeadChar.Humanoid.Health = 0
end)
break
end
end
end)()
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") then
v:Clone().Parent = CloneChar
end
end
SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["UpperTorso"],CloneChar["Torso"],Vector3.new(0,0.2,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LowerTorso"],CloneChar["Torso"],Vector3.new(0,-0.78,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftUpperArm"],CloneChar["Left Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftLowerArm"],CloneChar["Left Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftHand"],CloneChar["Left Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightUpperArm"],CloneChar["Right Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightLowerArm"],CloneChar["Right Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightHand"],CloneChar["Right Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftUpperLeg"],CloneChar["Left Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftLowerLeg"],CloneChar["Left Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["LeftFoot"],CloneChar["Left Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightUpperLeg"],CloneChar["Right Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightLowerLeg"],CloneChar["Right Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["RightFoot"],CloneChar["Right Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
SCIFIMOVIELOL(DeadChar["HumanoidRootPart"],CloneChar["HumanoidRootPart"],Vector3.new(0,0,0),Vector3.new(0,0,0))
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") then
SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
end
end
for _,BodyParts in next, CloneChar:GetDescendants() do
if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
BodyParts.Transparency = 1 end end
if DeadChar.Head:FindFirstChild("Neck") then
game.Players.LocalPlayer.Character:BreakJoints()
end
end
end
end
local CloneChar = workspace.non
game.Players.LocalPlayer.Character.Parent = CloneChar
local MakeNewAnim = function(id)
local NewAnim = Instance.new("Animation")
NewAnim.AnimationId = id
return {NewAnim,id}
end
function CreoFEFakeAnimations(Character)
spawn(function()
local Humanoid = Character:FindFirstChildWhichIsA("Humanoid")
local HRP = Character:WaitForChild("HumanoidRootPart")
local Walk = MakeNewAnim("http://www.roblox.com/asset/?id=180426354")
local Idle = MakeNewAnim("http://www.roblox.com/asset/?id=180435571")
local Jump = MakeNewAnim("http://www.roblox.com/asset/?id=125750702")
local Fall = MakeNewAnim("http://www.roblox.com/asset/?id=180436148")
local anim = Idle[1]
local AnimId = Idle[2]
local Anim = Humanoid:LoadAnimation(anim)
Anim.Priority = Enum.AnimationPriority.Core
local rayCast = function(Pos, Dir, Max, Ignore)
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), (Ignore))
end
spawn(function()
while HumanDied ~= true do
wait()
local hitfloor = rayCast(HRP.Position, CFrame.new(HRP.Position, HRP.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
local oldAnim = Anim
local oldAnimId = AnimId
if HRP.Velocity.Y > 0 and hitfloor == nil then
Anim = Humanoid:LoadAnimation(Jump[1])
AnimId = Jump[2]
elseif HRP.Velocity.Y < 0 and hitfloor == nil then
Anim = Humanoid:LoadAnimation(Fall[1])
AnimId = Fall[2]
elseif (HRP.Velocity.X + HRP.Velocity.Z)/2 > 0.1 or (HRP.Velocity.X + HRP.Velocity.Z)/2 < -0.1 then
Anim = Humanoid:LoadAnimation(Walk[1])
AnimId = Walk[2]
else
Anim = Humanoid:LoadAnimation(Idle[1])
AnimId = Idle[2]
end
if AnimId ~= oldAnimId then
oldAnim:Stop()
Anim:Play()
end
end
end)
end)
end
local NotificationBindable = Instance.new("BindableFunction")
local Msgreq = function(Title,Text,Duration,Button1Text,Button2Text)
game.StarterGui:SetCore("SendNotification", {
Title = Title;
Text = Text;
Icon = "";
Duration = Duration;
Button1 = Button1Text;
Button2 = nil;
Callback = NotificationBindable;
})
end
CreoFEFakeAnimations(CloneChar)
local RS = game:GetService("RunService")
local PetPositionPart = Instance.new("Part")
PetPositionPart.Size = Vector3.new(0,0,0)
PetPositionPart.Anchored = true
PetPositionPart.CanCollide = false
PetPositionPart.Parent = workspace
SCIFIMOVIELOL(HumanRoot,PetPositionPart,Vector3.new(0,0,0),Vector3.new(0,0,0))
local Pet = nil
function FindPet(Part)
if Part.Handle:FindFirstChildWhichIsA("SpecialMesh") == nil then
CheckPart = Part.Handle
else
if Part.Handle.SpecialMesh then
CheckPart = Part.Handle.SpecialMesh
end
end
if CheckPart.Name == "Handle" then
if CheckPart.TextureID == "http://www.roblox.com/asset/?id=3910536177" or CheckPart.TextureID == "http://www.roblox.com/asset/?id=3910505130" or CheckPart.TextureID == "http://www.roblox.com/asset/?id=3931366871" then
else
if CheckPart.TextureId == "http://www.roblox.com/asset/?id=3910536177" or CheckPart.TextureId == "http://www.roblox.com/asset/?id=3910505130" or CheckPart.TextureId == "http://www.roblox.com/asset/?id=3931366871" then
end
end
Pet = Part.Handle
Pet:FindFirstChildWhichIsA("Weld"):Destroy()
FEWeldlol(Pet,PetPositionPart)
return true
end
end
function FEWeldlol(Part0,Part1)
local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"
AlignPos.ApplyAtCenterOfMass = true;
AlignPos.MaxForce = 67752;
AlignPos.MaxVelocity = math.huge/9e110;
AlignPos.ReactionForceEnabled = false;
AlignPos.Responsiveness = 200;
AlignPos.RigidityEnabled = false;
local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"
AlignOri.MaxAngularVelocity = math.huge/9e110;
AlignOri.MaxTorque = 67752;
AlignOri.PrimaryAxisOnly = false;
AlignOri.ReactionTorqueEnabled = false;
AlignOri.Responsiveness = 200;
AlignOri.RigidityEnabled = false;
local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = ""
local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = ""
local AttachmentC=Instance.new('Attachment',Part1); AttachmentC.Name = ""
local AttachmentD=Instance.new('Attachment',Part0); AttachmentD.Name = ""
AttachmentC.Orientation = Vector3.new(0,0,0)
AttachmentA.Position = Vector3.new(0,0,0)
AlignPos.Attachment1 = AttachmentA;
AlignPos.Attachment0 = AttachmentB;
AlignOri.Attachment1 = AttachmentC;
AlignOri.Attachment0 = AttachmentD;
spawn(function()
while true do
game:GetService("RunService").Stepped:wait()
Part0.Velocity = Vector3.new(45,45,0)
end
end)
end
local Character = game.Players.LocalPlayer.Character
for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
if v:IsA("BasePart") and v.Name ~="HumanoidRootPart" then
game:GetService("RunService").Heartbeat:connect(function()
v.Velocity = Vector3.new(0,35,0)
wait(0.5)
end)
end
end
local Descendants = Character:GetDescendants()
for i = 1,#Descendants do
if Descendants[i].Name == "MeshPartAccessory" then
local Gart = Descendants[i]
--Gart.Handle:FindFirstChildWhichIsA("Weld"):Destroy()
FEWeldlol(Gart.Handle,PetPositionPart,Vector3.new(0,0,0),Vector3.new(0,0,0))
print("Doneit")
end
end
local ControlMode = false
local Mouse = game.Players.LocalPlayer:GetMouse()
local Attacking = false
Mouse.Button1Down:Connect(function()
if Attacking == false then
Attacking = true
for i = 1,50 do
RS.Stepped:wait()
HumanRoot.AssemblyAngularVelocity = Vector3.new(5000,5000,5000)
HumanRoot.Position = PetPositionPart.Position
PetPositionPart.CFrame = PetPositionPart.CFrame:Lerp(CFrame.new(PetPositionPart.Position,workspace.CurrentCamera.CFrame * CFrame.new(0,0,-99999).Position)*CFrame.new(0,0,-2/50*i) * CFrame.Angles(0,0,math.rad((360*4)/50)*i) ,1)
end
Attacking = false
end
end)
Mouse.KeyDown:Connect(function(key)
if key == "f" then
if ControlMode == false then
ControlMode = true
CloneChar:FindFirstChildWhichIsA("Humanoid").WalkSpeed = 0
workspace.CurrentCamera.CameraSubject = PetPositionPart
while ControlMode == true do
RS.Stepped:wait()
if Attacking == false then
local FW = game.Players.LocalPlayer.Character.Humanoid.MoveDirection
PetPositionPart.CFrame = PetPositionPart.CFrame:Lerp(CFrame.new(PetPositionPart.Position + Vector3.new(FW.X,workspace.CurrentCamera.CFrame.LookVector.Y,FW.Z)*1.2*FW.Magnitude,workspace.CurrentCamera.CFrame * CFrame.new(0,0,-99999).Position),0.8)
end
end
else
ControlMode = false
workspace.CurrentCamera.CameraSubject = CloneChar:FindFirstChildWhichIsA("Humanoid")
CloneChar.Humanoid.WalkSpeed = 15
end
end
if key == "m" then
if Stationary == true then
Stationary = false
Msgreq("Loaf","Stationary Mode = False",5,nil,nil)
else
Stationary = true
Msgreq("Loaf","Stationary Mode = True",5,nil,nil)
end
end
end)
RS.RenderStepped:Connect(function()
if ControlMode == false and Attacking == false and Stationary == false then
PetPositionPart.CFrame = PetPositionPart.CFrame:Lerp(CloneChar.HumanoidRootPart.CFrame * CFrame.new(3,1+math.sin(time()*1.2)*0.8,0),0.08)
elseif ControlMode == false and Attacking == false and Stationary == true then
PetPositionPart.CFrame = PetPositionPart.CFrame:Lerp(PetPositionPart.CFrame * CFrame.new(0,math.sin(time())*0.2,0),0.08)
end
end)