supermarinete

Builder script

Aug 5th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. player = game.Players.LocalPlayer
  2. mouse = player:GetMouse()
  3.  
  4. function ok(key)
  5. if key == "e" then
  6. part = Instance.new("Part",game.Workspace)
  7. part.Position = player.Character["Right Arm"].Position
  8. end
  9. end
  10. function Part(key)
  11. if key == "r" then
  12. anchor = Instance.new("Part",game.Workspace)
  13. anchor.Position = player.Character["Right Arm"].Position
  14. anchor.Anchored = true
  15. end
  16. end
  17.  
  18. mouse.KeyDown:connect(Part)
  19. mouse.KeyDown:connect(ok)
Advertisement
Add Comment
Please, Sign In to add comment