Chrapnel
|
  |
| Joined: 01 Feb 2014 |
| Total Posts: 951 |
|
|
| 16 Oct 2016 12:45 AM |
I suggest a method that will yield until LocalPlayer is fully loaded, and then return the LocalPlayer. It will look like this:
local Player = game.Players:GetLocalPlayer()
support to never have to write 'repeat wait() until localblah' ever again |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
| |
|
pullman45
|
  |
| Joined: 09 Jul 2012 |
| Total Posts: 2891 |
|
|
| 16 Oct 2016 12:52 AM |
| repeat wait() until game.Players.LocalPlayer only adds one line and isn't really an issue. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 16 Oct 2016 02:45 AM |
and also you dont need it ever and you never did you're getting it confused with waiting for the character
obv the player exists if the localscript runs because the localscript is in playergui which is in the player silly |
|
|
| Report Abuse |
|
|