The player tools reset. When they touch the brick. Here is the script

bin = script.Parent

function onButton1Down(mouse)
	local player = game.Players.LocalPlayer
	if player == nil then return end
	player.Character.Humanoid.Health = 0
	mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
	--Couple more lines left *pant in relief*
end

function onSelected(mouse)
	mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
	mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end

bin.Selected:connect(onSelected

1 comment

0

This is a free model. The formatting is exactly the same as the example shown in the Wiki: http://wiki.roblox.com/index.php?title=HopperBins Don't copy scripts.