#please help me i am about to explode

1 messages · Page 1 of 1 (latest)

sharp crescent
#

So, I'm creating a cool mining game, and I have a teeny problem.

I have a script in ServerScriptStorage. It basically gives a player that joins the game a number from 1-10. I call this the personal ID.

It does so through intvalues, it gives a player an intvalue that can be 1-10.

I have 10 plots in total, and I have a local script in StarterPlayerScripts. It basically matches your personal ID with a plot ID. If the plot ID doesn't match with your personal ID, then a zone over the plot is collidable, which means you can't go to other people's plots. Else, your plot is non-collidable, but only to yourself.

The problem I am having is when the first script assigns you a personal ID, the second script doesn't really register the intvalue, even though the intvalue ALREADY had a value, from the first script.

I have to manually input my personal ID in the intvalue for the second script to take effect. I am positive the problem is in the first script.
https://tenor.com/view/agony-rolling-tweaking-freaking-out-when-the-goblins-gif-1668720571218776666
No errors in output. PLZ HELP🙏🙏🙏

hard pilot
sharp crescent
#

sorry not rn im outside

sturdy spindleBOT
#

studio** You are now Level 3! **studio

sharp crescent
#

mee6 shut up!!!

#

i just need suggestions on how i could change it probably

#

the first script i mean

#

its kinda inefficient

#

the first script assigns you the id once you join the game

nova lake
sharp crescent
#

nvm i fixed it

#

turned out the second script was looking for the id before it assigned the player one