Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I check if a tool is in my backpack? [closed]

Asked by 8 years ago

i want to copy a tool from ServerStorage and place it in the player's backpack when a brick is touched. but it just gives you a lot at once, so i want to do this thing where it checks if the tool is already there. how do i do that? im just looking for a script like this:

 -- if tool is in backpack then

-- end
0
just make the line that say if game.Players.LocalPlayer.Backpack:FindFirstChild("")--Name of your tool == nil then, simple as that yougottols1 420 — 8y

Closed as Not Constructive by Perci1

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?