D3vel0per
|
  |
| Joined: 16 Feb 2010 |
| Total Posts: 5078 |
|
|
| 17 Jul 2014 09:53 AM |
wait(1) found = script.Parent.Parent.Parent.Character:FindFirstChild("In") while true do if found == nil then game.Workspace.GamePlayManager.P1Out.Value = true else game.Workspace.GamePlayManager.P1Out.Value = false end wait() end
Seriously? How is THIS not working .-.
Internet.ROBLOX.D3vel0per.Awesome = true |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2014 10:01 AM |
maybe your path to the character was wrong? Also, you need to set the vrialbe again for the new iteration:
while wait() do found = script.Parent.Parent.Parent.Character:FindFirstChild("In") if found == nil then game.Workspace.GamePlayManager.P1Out.Value = true else game.Workspace.GamePlayManager.P1Out.Value = false end end
【◄[ϟ]〓☜✪ xWOWZABOYx; FCOM, SQN COM, Scientist, Veteran, Visionary ✪☞〓[ϟ]►】 |
|
|
| Report Abuse |
|
|
| |
|
D3vel0per
|
  |
| Joined: 16 Feb 2010 |
| Total Posts: 5078 |
|
|
| 17 Jul 2014 10:47 AM |
@xWOW Didn't work :/ I seriously think this is a ROBLOX Studio bug :/
~Internet.ROBLOX.D3vel0per.Awesome = true~ |
|
|
| Report Abuse |
|
|
D3vel0per
|
  |
| Joined: 16 Feb 2010 |
| Total Posts: 5078 |
|
|
| 17 Jul 2014 10:48 AM |
@Dev There is no output.
~Internet.ROBLOX.D3vel0per.Awesome = true~ |
|
|
| Report Abuse |
|
|
Aaaboy97
|
  |
| Joined: 05 Apr 2009 |
| Total Posts: 6612 |
|
|
| 17 Jul 2014 10:56 AM |
Try using this script.
local player = script.Parent.Parent local character
repeat wait() character = player.Character until character
local found local value = Workspace.GamePlayManager.P1Out while wait() do found = character:FindFirstChild"In" value.Value = not found end |
|
|
| Report Abuse |
|
|
D3vel0per
|
  |
| Joined: 16 Feb 2010 |
| Total Posts: 5078 |
|
|
| 17 Jul 2014 11:03 AM |
@Aaa Still did not work, your script seems correct, too.
~Internet.ROBLOX.D3vel0per.Awesome = true~ |
|
|
| Report Abuse |
|
|
D3vel0per
|
  |
| Joined: 16 Feb 2010 |
| Total Posts: 5078 |
|
|
| 17 Jul 2014 11:24 AM |
bump
~Internet.ROBLOX.D3vel0per.Awesome = true~ |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2014 11:28 AM |
| what is GamePlayManager... a service? is that working... try adding a few print statements |
|
|
| Report Abuse |
|
|
D3vel0per
|
  |
| Joined: 16 Feb 2010 |
| Total Posts: 5078 |
|
|
| 17 Jul 2014 11:33 AM |
GamePlayManager is a script
~Internet.ROBLOX.D3vel0per.Awesome = true~ |
|
|
| Report Abuse |
|
|
D3vel0per
|
  |
| Joined: 16 Feb 2010 |
| Total Posts: 5078 |
|
|
| 17 Jul 2014 11:49 AM |
bump :/
~Internet.ROBLOX.D3vel0per.Awesome = true~ |
|
|
| Report Abuse |
|
|
D3vel0per
|
  |
| Joined: 16 Feb 2010 |
| Total Posts: 5078 |
|
|
| 17 Jul 2014 11:59 AM |
COME ON GUYS .-.
~Internet.ROBLOX.D3vel0per.Awesome = true~ |
|
|
| Report Abuse |
|
|
D3vel0per
|
  |
| Joined: 16 Feb 2010 |
| Total Posts: 5078 |
|
|
| 17 Jul 2014 12:07 PM |
Seriously, no one? .-. UGH
~Internet.ROBLOX.D3vel0per.Awesome = true~ |
|
|
| Report Abuse |
|
|
Vuva
|
  |
| Joined: 22 Jan 2010 |
| Total Posts: 1102 |
|
|
| 17 Jul 2014 12:14 PM |
Is the script directly in StarterGui/StarterPack? Also here is a script that might work:
repeat wait() until script.Parent.Parent.Parent.Character while wait() do if not script.Parent.Parent.Parent.Character:FindFirstChild("In") then Workspace.GamePlayManager.P1Out.Value = true else Workspace.GamePlayManager.P1Out.Value = false end end |
|
|
| Report Abuse |
|
|