Chrapnel
|
  |
| Joined: 01 Feb 2014 |
| Total Posts: 951 |
|
|
| 16 Oct 2016 12:47 AM |
https://forum.roblox.com/Forum/ShowPost.aspx?PostID=200158526
say goodbye to typing 'repeat wait() until game.Players.LocalPlayer' or similar lines of code |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2016 12:48 AM |
function GetLocalPlayer() repeat wait() until game.Players.LocalPlayer~=nil return game.Players.LocalPlayer end
game.Players:findFirstChild("Stereotypical_Nerd"):WaitForChild("leaderstats")['Whiteness and Nerdiness'].Value=math.huge |
|
|
| Report Abuse |
|
|
pullman45
|
  |
| Joined: 09 Jul 2012 |
| Total Posts: 2891 |
|
|
| 16 Oct 2016 12:55 AM |
| Because one extra line is painful. |
|
|
| Report Abuse |
|
|
Chrapnel
|
  |
| Joined: 01 Feb 2014 |
| Total Posts: 951 |
|
|
| 16 Oct 2016 12:58 AM |
| i think you've missed the point |
|
|
| Report Abuse |
|
|
pullman45
|
  |
| Joined: 09 Jul 2012 |
| Total Posts: 2891 |
|
| |
|
pullman45
|
  |
| Joined: 09 Jul 2012 |
| Total Posts: 2891 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 16 Oct 2016 02:43 AM |
"repeat wait() until game.Players.LocalPlayer" nobody ever writes that because the LocalPlayer WILL exist. This doesn't make sense. |
|
|
| Report Abuse |
|
|