Ad
Log in to vote
0

LocalPlayer not working in a server script?

Asked by 2 months ago

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

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

Hi.

Looks like you're using an ad blocker.

That's fine...

No, it really is.

Just, I mean, we put a lot of work into this site, you know?

It would be really really appreciated if you would turn off your ad blocker for our website...

We tried really hard to make our ads as unobtrusive as possible.

If you really hate ads, would you consider a $2 donation via Patreon?

Here's the link.

We love you. We hope you love us too.

.

..

...

Now back to your regularly scheduled Scripting Helpers....

...

..

.

1 answer

Log in to vote
0
Answered by
mosski123 166
2 months ago

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!

1
thank you this worked!!!!! ???????????????? xRhi_Rhi 3 — 2mo
0
wait what why did you put question marks at the end of the sentence hiimgoodpack 1487 — 2mo
Ad

Answer this question



Ad