I want to this script to be able to let players drop their weapons on the floor when they die. I also Want it to say v to pick up weapon above that weapon when it was dropped.
This is the script I have so far.
Tool = script.Parent
Char = Tool.Parent.Parent.Character
function onDeath()
if Tool.Parent == Char then
Tool.Parent = game.Workspace
end
end
Char.Humanoid.Died:connect(onDeath)

1 comment
is it in a LocalScript or script?