Advertisement
Destroyer_again2

Untitled

Mar 2nd, 2019
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if script.Parent.className ~= "HopperBin" then
  2. bin = Instance.new("HopperBin")
  3. bin.Name = "build"
  4. bin.Parent = game.Players.QrnVuilMbfCvN.Backpack
  5. script.Parent = bin
  6. end
  7.  
  8. bin = script.Parent
  9.  
  10. size = 25
  11.  
  12. function onButton1Down(mouse)
  13. part = Instance.new("Explosion")
  14. part.Parent = workspace
  15. part.BlastRadius = size
  16. part.Position = Vector3.new(mouse.Hit.x,mouse.Hit.y,mouse.Hit.z)
  17. end
  18.  
  19. bin.Selected:connect(function(mouse)
  20. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  21. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  22. mouse.KeyDown:connect(function(key) KD(key, mouse) end)
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement