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 » Scripters
Home Search
 

Re: LocalPlayer: Is this possible?

Previous Thread :: Next Thread 
YourWillPower is not online. YourWillPower
Joined: 14 Jul 2014
Total Posts: 535
17 Apr 2016 08:44 PM
What can I do to make local player work in a script or a module script? Is there a different way to get the local player through a script or a module scrip? If so can anyone help?
Report Abuse
Skellobit is not online. Skellobit
Joined: 13 Apr 2016
Total Posts: 12758
17 Apr 2016 08:45 PM
umm no localplayer cant be accessed from a server script
its referred to as local for a reason
Report Abuse
tornado4adam is not online. tornado4adam
Joined: 09 Sep 2012
Total Posts: 245
17 Apr 2016 08:45 PM
player = game.Players.LocalPlayer

MAKE SURE ITS IN A LOCALSCRIPT!!
Report Abuse
MarcusDomitiusScipio is not online. MarcusDomitiusScipio
Joined: 11 Aug 2009
Total Posts: 331
17 Apr 2016 08:46 PM
wiki.roblox.com

Start from the beginning.
Report Abuse
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
17 Apr 2016 08:47 PM
'What can I do to make local player work in a script or a module script? Is there a different way to get the local player through a script or a module scrip? If so can anyone help?'

Either have the client send the local player as an argument through an event (bindable / remote event) or have the script check if the player is an ancestor to the script.
Report Abuse
cntkillme1 is not online. cntkillme1
Joined: 16 Feb 2012
Total Posts: 592
17 Apr 2016 08:47 PM
You already made a thread about this, you do realize when you post it bumps it to the top, right?
Report Abuse
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
17 Apr 2016 08:52 PM
>This is why I gave this skid an obnoxious answer on the first thread. These dirty pink shaggy skids need to be dealt with. ( ͡° w ͡°)
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
17 Apr 2016 08:57 PM
Remote Events


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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