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

End game when tool picked up - which player has tool equipped?

Asked by 6 years ago

I am working on the final script for my game - as soon as a player picks up the final tool I want it to end and display the winner. I have played with it for quite a bit - I can get the player who has the tool in their backpack but I want to get it as soon as it is picked up. I am using: toolName.Equipped:connect(equipped)

to run my function to do end of Game "things" but I am having difficulty getting which player has the tool. Any help?

0
"script.Parent.Parent" is the player Character model, so "script.Parent.Parent.Name" is player name Leamir 3138 — 6y
0
Worked Thank you! phdmysteries 2 — 6y

Answer this question