|
| 11 Jun 2015 08:48 PM |
game.Players.PlayerAdded:connect(function(player) local item = script.Parent.Parent:FindFirstChild("LOCKED") getItem = nil script.Parent.AddPointsScript.Disabled = false end
SO I got this and how do I make the script check every second for the "LOCKED" thingy without stopping?
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 11:38 PM |
bumpd
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 11:41 PM |
game.Players.PlayerAdded:connect(function(player) for i=1, math.huge do local item = script.Parent.Parent:FindFirstChild("LOCKED") getItem = nil script.Parent.AddPointsScript.Disabled = false end wait(1) end
I have skin, potatoes have skin, therefore I'm a potato. |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2015 02:35 AM |
doesn't work do i put it in local or regular script
There's candy in the white van kids! |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Jun 2015 03:26 AM |
I did that already. But this script is for two things. so that wouldn't work
There's candy in the white van kids! |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2015 01:53 AM |
bump
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2015 01:26 AM |
bumpwump
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
ShungTzu
|
  |
| Joined: 14 Jun 2014 |
| Total Posts: 959 |
|
|
| 29 Jun 2015 01:30 AM |
| I'm pretty sure ChildAdded can handle two things. |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2015 01:38 AM |
I know but I want it to update like that.
And that was the first thing i did and it didn't work.
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
|
| 09 Jul 2015 01:41 AM |
BUMp
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
ShungTzu
|
  |
| Joined: 14 Jun 2014 |
| Total Posts: 959 |
|
|
| 11 Jul 2015 11:21 PM |
"" game.Players.PlayerAdded:connect(function(player) local item = script.Parent.Parent:FindFirstChild("LOCKED") getItem = nil script.Parent.AddPointsScript.Disabled = false end
SO I got this and how do I make the script check every second for the "LOCKED" thingy without stopping? ""
game.Players.PlayerAdded:connect(function(player) script.Parent.Parent.ChildAdded:connect(function(added) if added.Name=='LOCKED' then getItem = nil script.Parent.AddPointsScript.Disabled = false end end) end)
or
game.Players.PlayerAdded:connect(function(player) local item=script.Parent.Parent:FindFirstChild("LOCKED") repeat wait(1) until item getItem = nil script.Parent.AddPointsScript.Disabled = false end |
|
|
| Report Abuse |
|
|