ImageButton.MouseButton1Down:connect(function() wait (1.5) Broadcast.ImageButton:remove() So I have this so far, but after the imagebutton removes itself, i want to get a pickaxe from the lighting, what do I do afterwards.
pickaxe = game.Lighting.pickaxe --im assuming its called pickaxe function pickAxe() wait(1.5) Broadcast.ImageButton:remove() pickaxe = game.Lighting.pickaxe:clone() -- gets the pickaxe and clones it pickaxe.Parent = game.Players.Backpack --this will make the pickaxe child of the players backpack end script.ParentMouseButton1Down:connect() -- function connect line