prom8

Untitled

Apr 1st, 2020
614
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. if game:GetService("Players").LocalPlayer.PlayerScripts:FindFirstChild("RankDoorHandle") then
  2. game:GetService("Players").LocalPlayer.PlayerScripts.RankDoorHandle:Destroy()
  3. end
  4.  
  5. wait(2)
  6. power = 170 -- adjust this for additional lag. PS: If you leave after 5 minutes with the script running, it'll crash the server anyway.
  7. local run = game:GetService"RunService"
  8. local localplayer = game:GetService"Players".LocalPlayer
  9. local r15
  10.  
  11. if localplayer.Backpack:FindFirstChildOfClass"Tool" then
  12. localplayer.Backpack:FindFirstChildOfClass"Tool".Parent = localplayer.Character
  13. end
  14.  
  15. if localplayer.Character:FindFirstChild"UpperTorso" then
  16. r15 = true
  17. elseif localplayer.Character:FindFirstChild"Torso" then
  18. r15 = false
  19. end
  20.  
  21. if r15 then
  22. for i = 1,power do
  23. run.Stepped:Connect(function()
  24. local clone = localplayer.Character["RightHand"].RightGrip:Clone()
  25. clone.Parent = localplayer.Character["RightHand"]
  26. wait()
  27. clone.Parent = workspace
  28. end)
  29. end
  30. else
  31. for i = 1,power do
  32. run.Stepped:Connect(function()
  33. local clone = localplayer.Character["Right Arm"].RightGrip:Clone()
  34. clone.Parent = localplayer.Character["Right Arm"]
  35. wait()
  36. clone.Parent = workspace
  37. end)
  38. end
  39. end
Add Comment
Please, Sign In to add comment