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

How can I disable a tool to auto equip on pickup?

Asked by 4 years ago
Edited 4 years ago

As the post title says I basically would like to know how can I prevent a tool to auto equip on pickup?

The behaviour I want is: The player pickup a tool, it goes straight to the player backpack and then through other triggers the player may equip this tool.

Any ideas?

1 answer

Log in to vote
0
Answered by 4 years ago

can we see the script cause i don't know what exactly the problem is im going to have to guess so i think that you did this when coding the pickup

tool.Parent = character

so instead do

local plr = game.Players:FindFirstChild(character)
tool.Parent = plr.Backpack
0
I'm sorry if my question wasn't clear enough. What I tried to say was: The natural behavior in Roblox is that once you pickup a tool, this tool will be automatically equipped. This is exactly what I don't want to happen, instead I would like the tool to go straight to the backpack. In regards of scripts, I don't have any yet, since I'm not sure on where to start. OliePapis 0 — 4y
Ad

Answer this question