Control Cat
Control Cat
-- Settings
-- Value checks
game:GetService("RunService").Stepped:Connect(function()
if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.L) then
for _, v in
pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
if v:IsA("BasePart") then
v.CanCollide = false
end
end
end
end)
function antikill()
local char = plr.Character
local LT = char:FindFirstChild("LowerTorso")
if LT then
char.RightHand:Destroy()
else
char["Right Arm"]:Destroy()
end
end
function control_cat()
local char = plr.Character
local hrp = char.HumanoidRootPart
function clearff()
if char:FindFirstChild("ForceField") then
char.ForceField:Destroy()
end
end
function invisible_2()
local tool = plr.Backpack:FindFirstChild("InvisibilityCloak")
tool.Parent = plr.Character
tool:Activate()
tool.Parent = plr.Backpack
wait(2)
tool.Parent = plr.Character
tool.Handle:Destroy()
tool.Script:Destroy()
tool.Parent = plr.Backpack
end
function OnCatDied()
dcheck = true
local h = Instance.new("Humanoid", char)
char.HumanoidRootPart.bp:Destroy()
game.Players.LocalPlayer.Character = char
char:BreakJoints()
game.Players.LocalPlayer.Character = game.Workspace[nname]
end
function addforce_2()
local npc = plr.Character
local bp = Instance.new("BodyPosition", npc.HumanoidRootPart)
bp.Name = "bp"
bp.MaxForce = Vector3.new(10000, 10000, 10000)
bp.D = 200
bp.P = 20000
end
function addforcemain_2()
addforce_2()
wait(0.01)
local char = game.Workspace[nname]
ccat.Value = char.Name
local tr = char.Torso
local npc = plr.Character
local bp = npc.HumanoidRootPart.bp
plr.Character = char
npc.Humanoid:Destroy()
for i, v in next, npc:GetDescendants() do
if v:IsA("BasePart") then
v.CanCollide = false
end
end
while true do
bp.Position = tr.Position
npc.HumanoidRootPart.Velocity = tr.Velocity
wait(0.01)
if not game.Workspace:FindFirstChild(nname) then
OnCatDied()
end
end
end
function rkey()
game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(key)
if key == "r" and dcheck == false then
if serverexp_oncontrol == true then
for i, v in pairs(game:GetService("Workspace")["
"]:GetChildren()) do
firetouchinterest(game.Players.LocalPlayer.Character.Head, v, 0)
firetouchinterest(game.Players.LocalPlayer.Character.Head, v, 1)
end
else
game.Workspace[ccat.Value].Head:Destroy()
end
end
end)
end
function tkey()
game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(key)
if key == "t" and dcheck == false then
hrp.CFrame = game.Workspace[nname].Torso.CFrame
hrp.Velocity = Vector3.new(0, 0, 0)
else
end
end)
end
function playerdied()
game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(key)
if game.Players.LocalPlayer.Character.Humanoid.Health == 0
and dcheck == false then
if serverexp_oncontrol == true then
for i, v in pairs(game:GetService("Workspace")["
"]:GetChildren()) do
firetouchinterest(game.Players.LocalPlayer.Character.Head, v, 0)
firetouchinterest(game.Players.LocalPlayer.Character.Head, v, 1)
end
else
game.Workspace[ccat.Value].Head:Destroy()
end
end
end)
end
clearff()
invisible_2()
antikill()
hrp.CFrame = game.Workspace[nname].Torso.CFrame
rkey() tkey() playerdied()
game.Workspace.Camera.CameraSubject = game.Workspace[nname].Humanoid
dcheck = false
addforcemain_2()
end
control_cat()
wait(0.5)
pcall(game.Players.LocalPlayer.Character.Head:Destroy())