galaxy569

piggy script

Jul 22nd, 2020
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. ------Tools!
  2. game.workspace.ItemFolder.WhiteKey.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2)
  3. game.workspace.ItemFolder.WhiteKey.Transparency = "0"
  4. game.workspace.ItemFolder.WhiteKey.ClickDetector.MaxActivationDistance = "15"
  5. wait(0.25)
  6. game.workspace.ItemFolder.Hammer.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -4)
  7. wait(0.25)
  8. game.workspace.ItemFolder.KeyCode.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -6)
  9. wait(0.25)
  10. game.workspace.ItemFolder.Wrench.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -8)
  11.  
  12. ------------------------------------------
  13. ----Detector
  14. while wait() do
  15. for i , v in pairs(game.Workspace:GetDescendants()) do
  16. if v.ClassName == 'ClickDetector' then
  17. fireclickdetector(v)
  18. end;
  19. end;
  20. end
Add Comment
Please, Sign In to add comment