Advertisement
lelelellelelellelele

Orb

Dec 4th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. -------------go here
  2. -------------go here
  3.  
  4. playerMouse = game.Players.LocalPlayer:GetMouse()
  5.  
  6.  
  7.  
  8. player = game.Players.Mr_Sparkles ------- Put your name
  9. workspacePlayer = game.Workspace.Mr_Sparkles ------ Put your name
  10.  
  11.  
  12. function create(mouse)
  13. local part1 = Instance.new("Part")
  14.  
  15. part1.Rotation = part.Rotation + Vector3.new(0, -90, 0)
  16. part1.Parent = game.Workspace
  17.  
  18. part1.Anchored = true
  19. part1.Locked = false
  20. part1.CanCollide = false
  21. part1.Transparency = 0.5
  22. part1.Size = part.Size + Vector3.new(2.66, 5.37, 2.31)
  23.  
  24. while true do
  25. wait(0.01)
  26. part1.Position = workspacePlayer.Torso.Position
  27. end
  28.  
  29.  
  30. end
  31.  
  32.  
  33. ----------------------
  34.  
  35. function create(mouse)
  36. local part1 = Instance.new("Part")
  37. local part = Instance.new("Part")
  38.  
  39. part1.Rotation = part.Rotation + Vector3.new(0, -90, 0)
  40. part1.Parent = game.Workspace
  41.  
  42. part1.Anchored = true
  43. part1.Locked = false
  44. part1.CanCollide = false
  45. part1.Transparency = 0.5
  46. part1.Size = part.Size + Vector3.new(2.66, 5.37, 2.31)
  47.  
  48. part.Parent = game.Workspace
  49.  
  50. part.Anchored = true
  51. part.Locked = false
  52. part.CanCollide = false
  53. part.Transparency = 0.5
  54. part.Size = part.Size + Vector3.new(2.66, 5.37, 2.31)
  55.  
  56. while true do
  57. wait(0.01)
  58. part.Position = workspacePlayer.Torso.Position
  59. end
  60.  
  61. while true do
  62. wait(0.01)
  63. part1.Position = workspacePlayer.Torso.Position
  64. end
  65.  
  66. end
  67.  
  68. local tool4 = Instance.new("HopperBin") --Gives the player a tool where it spawns a part.
  69. tool4.Name = "New Part"
  70. tool4.Parent = player.Backpack
  71. tool4.BinType = "Script"
  72. print("Gave new part tool")
  73.  
  74. local tool3 = Instance.new("HopperBin") --Gives the player a tool where it spawns a part.
  75. tool3.Name = "PLEASE"
  76. tool3.Parent = player.Backpack
  77. tool3.BinType = "Script"
  78. print("Gave new part tool")
  79.  
  80. -------------LOLOLOLOLOLOL
  81.  
  82. tool4.Selected:connect(function(mouse)
  83. print("Selected.")
  84. mouse.Button1Down:connect(create)
  85. end)
  86.  
  87. tool3.Selected:connect(function(mouse)
  88. print("Selected.")
  89. mouse.Button1Down:connect(create)
  90. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement