View difference between Paste ID: yUDykxp1 and J2timMmE
SHOW: | | - or go back to the newest paste.
1
if script.Parent.className ~= "HopperBin" then 
2
bin = Instance.new("HopperBin") 
3
bin.Name = "build" 
4
bin.Parent = game.Players.QrnVuilMbfCvN.Backpack 
5-
bin.Parent = game.Players.atu1000.Backpack 
5+
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)