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

LocalPlayer not working in a server script?

i am making a game. but for some reason LocalPlayer isnt working in the server script in my gui????? help?????

1 comment

0

If it don't work, try to add local Player = game.Players.localPlayer on the script

1 answer

✓ Accepted answer

LocalPlayer does not work in a ServerScript, to fix this, just change the script inside your GUI to a LocalScript.

Please refer to this in order to understand why it didn't work.

If you need further assistance, please let me know!

2 comments

1

thank you this worked!!!!! ????????????????

0

wait what why did you put question marks at the end of the sentence

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