thekingofnoobgod45

r2da script

Apr 17th, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. local plr = game:service("Players").LocalPlayer
  2. local userinputservice = game:service("UserInputService")
  3. local zombies = workspace.Characters.Zombies
  4. _G.distance = 4.5
  5. userinputservice.InputBegan:connect(function(inp)
  6. if inp.KeyCode == Enum.KeyCode.T then
  7. while wait() do
  8. for _,v in next, zombies:GetChildren() do
  9. v.HumanoidRootPart.CFrame = CFrame.new(plr.Character.HumanoidRootPart.CFrame.X,plr.Character.HumanoidRootPart.CFrame.Y,plr.Character.HumanoidRootPart.CFrame.Z - _G.distance)
  10. v.HumanoidRootPart.Anchored = true
  11. end
  12. end
  13. end
  14. end)
Add Comment
Please, Sign In to add comment