| |
|
chaokid9
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 6187 |
|
| |
|
| |
|
chaokid9
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 6187 |
|
|
| 15 May 2013 03:38 PM |
Try: while true do print ("Loop cycle start") game.Lighting.TimeOfDay = "18:30:00" wait (5) game.Lighting.TimeOfDay = "19:00:00" PlayerGui.NightGui.ItsNight.Visible = true wait(5) PlayerGui.NightGui.ItsNight.Visible = false wait (60) game.Lighting.TimeOfDay = "19:30:00" end |
|
|
| Report Abuse |
|
|
|
| 15 May 2013 03:39 PM |
Hahaha...
You need to change the path to your Characters PlayerGui, not the workspace.
-Bump-
|
|
|
| Report Abuse |
|
|
| |
|
chaokid9
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 6187 |
|
|
| 15 May 2013 03:42 PM |
Where is "playerGui" located?
|
|
|
| Report Abuse |
|
|
|
| 15 May 2013 03:43 PM |
| chao leave right now, you don't know how to script |
|
|
| Report Abuse |
|
|
chaokid9
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 6187 |
|
|
| 15 May 2013 03:43 PM |
| Explain please, masterblokz. |
|
|
| Report Abuse |
|
|
|
| 15 May 2013 03:44 PM |
while true do print ("Loop cycle start") game.Lighting.TimeOfDay = "18:30:00" wait (5) game.Lighting.TimeOfDay = "19:00:00" PlayerGui.NightGui.ItsNight.Visible = true wait(5) PlayerGui.NightGui.ItsNight.Visible = false wait (60) game.Lighting.TimeOfDay = "19:30:00" end
^^ you said that playergui is not defined fool just leave that's a horrible attempt at fixing/trolling |
|
|
| Report Abuse |
|
|
chaokid9
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 6187 |
|
|
| 15 May 2013 03:47 PM |
| WOW dude, you locked your post your so clever. Anyways he didn't tell me where his playergui is located. I have never used GUIs before I assumed playergui was in the same place as startergui. However, because I don't know where one object is I am bad at scripting? |
|
|
| Report Abuse |
|
|
|
| 15 May 2013 03:47 PM |
didn't mean to lock it anyways out pls |
|
|
| Report Abuse |
|
|
chaokid9
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 6187 |
|
|
| 15 May 2013 03:48 PM |
| No, I have helped more people than you. |
|
|
| Report Abuse |
|
|
|
| 15 May 2013 03:51 PM |
PlayerGui is located in the Player. -game.Players.Player1.PlayerGui-
-Bumb- |
|
|
| Report Abuse |
|
|
| |
|
| |
|
ForceSky
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 2379 |
|
|
| 15 May 2013 04:10 PM |
Ironman, get out, you know how to script less than chao.
game.Players.Player |
|
|
| Report Abuse |
|
|
chaokid9
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 6187 |
|
|
| 15 May 2013 04:11 PM |
local character = game.Workspace.Character local player = game.Players:GetPlayerFromCharacter(character)
while true do print ("Loop cycle start") game.Lighting.TimeOfDay = "18:30:00" wait (5) game.Lighting.TimeOfDay = "19:00:00" player.PlayerGui.NightGui.ItsNight.Visible = true wait(5) player.PlayerGui.NightGui.ItsNight.Visible = false wait (60) game.Lighting.TimeOfDay = "19:30:00"
end
Try this and let me know what the output says if it does not work. |
|
|
| Report Abuse |
|
|
chaokid9
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 6187 |
|
|
| 15 May 2013 04:12 PM |
| That's why he is here ForceSky. If he knew how to script flawlessly he wouldn't be here. |
|
|
| Report Abuse |
|
|
ForceSky
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 2379 |
|
|
| 15 May 2013 04:16 PM |
| Well, he should know that the PlayerGui is in the Player if he's a scripter. |
|
|
| Report Abuse |
|
|
|
| 15 May 2013 04:32 PM |
Chao that script is still so horrible and force, he never said he was a scripter. So be quiet, he's here for help. |
|
|
| Report Abuse |
|
|
chaokid9
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 6187 |
|
|
| 15 May 2013 04:32 PM |
| Well blokz since you are "Le mastr skriptr ftw" why don't you write him a script? |
|
|
| Report Abuse |
|
|
| |
|
chaokid9
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 6187 |
|
|
| 15 May 2013 04:39 PM |
Maybe try: players = game.Players:GetChildren()
while true do print ("Loop cycle start") game.Lighting.TimeOfDay = "18:30:00" wait (5) game.Lighting.TimeOfDay = "19:00:00" players.PlayerGui.NightGui.ItsNight.Visible = true wait(5) players.PlayerGui.NightGui.ItsNight.Visible = false wait (60) game.Lighting.TimeOfDay = "19:30:00"
end
I'm still not 100% sure where PlayerGui is located, but the wiki doesn't have much information on it so I am going by what other people have told me. |
|
|
| Report Abuse |
|
|
|
| 15 May 2013 04:40 PM |
That last one should work PlayerGui is in the player |
|
|
| Report Abuse |
|
|