sd10099
|
  |
| Joined: 13 Sep 2011 |
| Total Posts: 12804 |
|
|
| 29 Jun 2015 11:48 PM |
while true do local c = game.Players:GetChildren() if c.userId == d1 then end else d2=c.userId end
Send me trades! https://www.youtube.com/watch?v=xTFm7p7avo4 |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2015 11:49 PM |
"how do I fix this error"
*scans post for error* where the hell is the error post the error thank you |
|
|
| Report Abuse |
|
|
sd10099
|
  |
| Joined: 13 Sep 2011 |
| Total Posts: 12804 |
|
|
| 29 Jun 2015 11:52 PM |
ok it just says "Expected 'end' to close 'do' at line 15" and heres the rest of the script line 15 is the "while true do"
function Enter(d) local d1=d.userId game.Players.ChildAdded:connect(Enter) end while true do local c = game.Players:GetChildren() if c.userId == d1 then end else d2=c.userId end end
Send me trades! https://www.youtube.com/watch?v=xTFm7p7avo4 |
|
|
| Report Abuse |
|
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 29 Jun 2015 11:57 PM |
lmao
this will crash your studio bc there's no wait in the loop |
|
|
| Report Abuse |
|
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 29 Jun 2015 11:57 PM |
also while loops don't have an else wtf are you doing
http://wiki.roblox.com/index.php?title=Loops |
|
|
| Report Abuse |
|
|
sd10099
|
  |
| Joined: 13 Sep 2011 |
| Total Posts: 12804 |
|
|
| 29 Jun 2015 11:58 PM |
@crow yeah I just realised that a min ago but the else is messing up the script
Send me trades! https://www.youtube.com/watch?v=xTFm7p7avo4 |
|
|
| Report Abuse |
|
|
sd10099
|
  |
| Joined: 13 Sep 2011 |
| Total Posts: 12804 |
|
|
| 29 Jun 2015 11:58 PM |
owait oops loll thx
Send me trades! https://www.youtube.com/watch?v=xTFm7p7avo4 |
|
|
| Report Abuse |
|
|
|
| 30 Jun 2015 12:01 AM |
| Well u only have 12 lines of code, so idk what ur on rn but it must be something heavy... |
|
|
| Report Abuse |
|
|
sd10099
|
  |
| Joined: 13 Sep 2011 |
| Total Posts: 12804 |
|
|
| 30 Jun 2015 12:02 AM |
i took that part out of the entire script but ik this was the problem
Send me trades! https://www.youtube.com/watch?v=xTFm7p7avo4 |
|
|
| Report Abuse |
|
|
|
| 30 Jun 2015 12:06 AM |
| well how tf r we supposed to debug if u leave out the line that it's the source of the error!!! |
|
|
| Report Abuse |
|
|
sd10099
|
  |
| Joined: 13 Sep 2011 |
| Total Posts: 12804 |
|
|
| 30 Jun 2015 12:20 AM |
but i didnt
Send me trades! https://www.youtube.com/watch?v=xTFm7p7avo4 |
|
|
| Report Abuse |
|
|