|
| 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
|
  |
| 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 |
|
|
|
| 17 Apr 2016 08:45 PM |
player = game.Players.LocalPlayer
MAKE SURE ITS IN A LOCALSCRIPT!! |
|
|
| Report Abuse |
|
|
|
| 17 Apr 2016 08:46 PM |
wiki.roblox.com
Start from the beginning.
|
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
| |
|