Zhein29

Walkable Tools Script

Nov 22nd, 2022
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. -- Subscribe to ZhenX on Youtube
  2. -- Credits to the Owner
  3. -- This is for Tools
  4.  
  5. for _,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  6. v.Parent = game.Players.LocalPlayer.Character
  7. end
  8.  
  9. for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  10. if v.ClassName == "Tool" then
  11. x = Instance.new("Attachment")
  12. s = Instance.new("RopeConstraint")
  13. v.Handle.CanCollide = true
  14. x.Parent = v.Handle
  15. s.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  16. s.Attachment1 = game.Players.LocalPlayer.Character["Right Arm"].RightGripAttachment
  17. s.Attachment0 = v.Handle.Attachment
  18. s.Length = 100
  19. s.Visible = true
  20. wait()
  21. end
  22. end
  23.  
  24. for _,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  25. if v.Name == "RightGrip" then
  26. v:Destroy()
  27. end
  28. end
  29.  
  30. while wait() do
  31. for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  32. if v.ClassName == "Tool" then
  33. v.Handle.Velocity = Vector3.new(math.random(-100, 100), 5, math.random(-100, 100))
  34. end
  35. end
  36. end
Advertisement
Add Comment
Please, Sign In to add comment