|
| 04 Oct 2016 11:25 PM |
Like the title says, I'm trying to work with FilteringEnabled and using a function in a server script that interacts with the player's GUI once the event is fired. However I found out that trying to get the player that fired the event with LocalPlayer only works with local scripts and now I'm kinda stuck here.
I've been looking everywhere for an alternative to use but I can't seem to find anything. Any of you got an alternative to LocalPlayer? I just need something that can find the player from a server script.
Help would be much appreciated. |
|
|
| Report Abuse |
|
|
Scyber
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 350 |
|
|
| 05 Oct 2016 01:41 AM |
You can get the player through OnServerEvent
http://wiki.roblox.com/index.php?title=API:Class/RemoteEvent/OnServerEvent |
|
|
| Report Abuse |
|
|
KreoBox
|
  |
| Joined: 24 Aug 2016 |
| Total Posts: 356 |
|
|
| 05 Oct 2016 02:07 AM |
| You are going about it all wrong. Stop trying to manipulate GUIs from the server, that is bad. |
|
|
| Report Abuse |
|
|