supermarinete

Builder script 2.0

Aug 5th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 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. function Mousekey(key)
  18. if key == "m" then
  19. noob = Instance.new("Part",game.Workspace)
  20. noob.Position = mouse.Hit.Position
  21. end
  22. end
  23. function n(key)
  24. if key == "n" then
  25. no = Instance.new("Part",game.Workspace)
  26. no.Position = mouse.Hit.Position
  27. no.Anchored = true
  28. end
  29. end
  30.  
  31. mouse.KeyDown:connect(Part)
  32. mouse.KeyDown:connect(ok)
  33. mouse.KeyDown:connect(Mousekey)
  34. mouse.KeyDown:connect(n)
Advertisement
Add Comment
Please, Sign In to add comment