--BROUGHT TO YOU BY RobloxScripter.com!--
--// tacolift#9999
getgenv().autokill = true
getgenv().autoslash = true --// LEAVE THIS TO TRUE IF YOU WANT YOUR AUTOKILL WORKING!
if getgenv().autokill then
task.spawn(function()
while getgenv().autokill do
for I, V in pairs(game.Players:GetChildren()) do
repeat wait() until V.Character
repeat wait() until V.Character.HumanoidRootPart
local NewPlayerCFrame = V.Character:WaitForChild("HumanoidRootPart").CFrame
if not V.Character:WaitForChild("HumanoidRootPart") then
print("nil")
repeat wait() until v.Character or v.Character:WaitForChild("HumanoidRootPart")
end
if workspace[V.Name]:FindFirstChild("ForceField") then
print("User is in the safe zone/has a force field.")
else
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = NewPlayerCFrame
wait(0.1)
end
end
wait(0.1)
end
wait(0.1)
end)
end
if getgenv().autoslash then
task.spawn(function()
while getgenv().autoslash do
for I, V in pairs(workspace[game.Players.LocalPlayer.Name]:GetChildren()) do
if V:IsA("Tool") and string.find(tostring(V), "Sword") then
V.Animation.Slash:FireServer()
end
end
wait(0.1)
end
end)
end