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

Players can pick up tools that dead players had equipped?

In my game there's some tools that players can pick up when they are close enough to another player that dies with the tool equipped.

For example: A player has the "Combat" tool out, and it has an invisible handle. The player dies and the handle touches a player that's still alive, now the player that touched the tool has 2 Combat tools, allowing them to ignore cooldowns set for skills and basic attacks, as well as basic attack faster.

Any way to delete the extra tool that they get? Or maybe stop it from happening in the first place?

Thanks for reading

2 comments

0

http://wiki.roblox.com/index.php?title=API:Class/Tool/CanBeDropped try disabling this property. I am not using an answer because I'm not very sure this is a good solution.

0

It's already set so that it cant be dropped. Doesn't fix it

1 answer

✓ Accepted answer

Try connecting to the Humanoid.Died() event on players and iterate through both their backpack and their character and remove the tool that way.

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