|
| 04 Nov 2012 02:09 PM |
I have a localscript which doesnt output anything, but when I disable it, and then re-enable it, it works!
heres the code, its too long to read in black text, so heres the code with coloured syntax:
h t t p : / / p a s t e b i n . c o m / y n 9 E g v h w
|
|
|
| Report Abuse |
|
|
|
| 04 Nov 2012 02:20 PM |
| Try waiting a second or two at the beginning of the script. |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2012 02:24 PM |
doesnt the repeat wait() until game.Players.LocalPlayer.Character do it? |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2012 02:26 PM |
| repeat wait(.03)until game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
| |
|
|
| 04 Nov 2012 02:29 PM |
| wait() in a local script is determined by the local player, just do that so people don't glitch your game. Character is always a property of Player, so test to see if something is inside the character. Just try my line >_> |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Nov 2012 01:48 PM |
Waiting 2 seconds helped though.
Oh localscripts, why are you so odd. |
|
|
| Report Abuse |
|
|