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

How to make an item unequipable from Player?

So when I was playing Blood And Iron I saw the tools wasn't able to get it off my hand like when ever I was pressing 1 I was unable to remove it from my hand if anyone explain to me or help me how this works it would make my day, Advanced thank you.

1 answer

✓ Accepted answer

There is no scripting required here how ever i will help you

Some weapons which are located in StarterPackor or Lighting

If there is a Tool you can click on it and check for its properties

Check its Behaviors

make sure the CanBeDropped is not checked.

if you want u can create a script inside of the tool that is activated :)

heres the script i made

local tool=script.Parent--Must be located inside of a tool
tool.CanBeDropped=false--makes it so it cant be dropped
print"end"--just showing that the script has ended can be removed if you want ;)

If its in starterpack the tool will be inserted automatically into the player and if the script is present in the player it will make it so the tool cant be dropped

if this helped please accept my Answer!

1 comment

0

Sorry for the very late answer, but thank you for your time and dedication to this!

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