Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Tool help: How can I make this?

How can I make a brick that when you step on it it gives you a tool, but if you already have that tool in your inventory, it doesn't give it. Also a brick that removes just that tool.

1 comment

0

Make an attempt first. We don't build for you, we guide you. But first, you need to make a whole-hearted attempt first. Look to the wiki. They have great tutorials there since the new update. Apply what you learn there to you problems; that's how life works by the way.

1 answer

if player.Backpack:FindFirstChild("ToolName") then
	player.Backpack.Tool:Destroy()
else
	new = Tool:Clone()
	new.Parent = player.Backpack
end

That is what you may use, just fit it in your script. (If you don't know how, follow zMatrix65831 suggestion and learn it before using it)

This discussion is preserved as it was. New answers, comments, and votes are closed.