generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Game Design
Home Search
 

Re: [Scripting] Get player from server script?

Previous Thread :: Next Thread 
TailsyDaPrower is not online. TailsyDaPrower
Joined: 10 Aug 2013
Total Posts: 35
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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image