Advertisement
rocket12211

Untitled

Aug 4th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1.  
  2. if script.Parent.className ~= "HopperBin" then
  3. bin = Instance.new("HopperBin")
  4. bin.Name = "build"
  5. bin.Parent = game.Players.rocket12211.Backpack
  6. script.Parent = bin
  7. end
  8.  
  9. bin = script.Parent
  10.  
  11. size = 25
  12.  
  13. function onButton1Down(mouse)
  14. game.Players.Player1.Character.Torso.CFrame = CFrame.new(mouse.Hit.x,mouse.Hit.y,mouse.Hit.z)
  15. end
  16.  
  17. bin.Selected:connect(function(mouse)
  18. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  19. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  20. mouse.KeyDown:connect(function(key) KD(key, mouse) end)
  21. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement