Hey, i would like to know how i would go about tracking whether or not a player has claimed a part. for example if a player pressed "e" a GUI would come up on their screen saying they claimed that part and no one else would be able to claim that part while it is in their possession.
✓ ANSWER ACCEPTED
how would i check if a player has "claimed" a part?
1 answer
✓ Accepted answer
Since you are asking for methods, here they are.
First, you may want to have a claimed table in the server side.
((I prefer to set the key to the claimed place, the value to player's name. Check whether the player is in game or return nil.))
Second, you may use the Billboard GUI as the GUI, which can make the style cooler.
Third, you need to communicate between the client-side and the server side. ((I won't explain any further since it's a basic game developing skill.))
2 comments
0
i have done some work on it and the problem is that the player can claim two parts at a time : /
0
nvm i managed to fix it, thanks for your help!
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
This isn't a request site
im not asking for a script, im asking for a method
"how i would go about" - Code1400. He isn't asking for a script, he is simply asking how he COULD do this as he doesn't know how to and would like guidance.
Please follow https://scriptinghelpers.org/help/how-post-good-questions-answers