|
| 21 Jul 2013 03:38 PM |
gamepass = 111248841 --200h
script.Parent.Touched:connect(function(p) if game.Players:GetPlayerFromCharacter(p.Parent) then local player = game.Players:GetPlayerFromCharacter(p.Parent) script.Parent.Touched:connect(function(p) for _, Child in pairs(player.Character:GetChildren()) do if Child.ClassName == "ForceField" then Child:Destroy() wait(2)
no matter what i do it's underlined red |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2013 03:41 PM |
| nevermind i figured it out |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2013 04:05 PM |
| Think before posting... You only needed three minutes! |
|
|
| Report Abuse |
|
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
|
| 21 Jul 2013 05:04 PM |
You need an end for every conditional statement, loop, or function (for anonymous functions you need to put a closing parenthesis on the pertaining end)
So:
3 ends
end end end) |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2013 03:38 PM |
You need 32 eofs:
end end end end) end end end end) -- do x 4 |
|
|
| Report Abuse |
|
|
| |
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
| |
|
|
| 25 Jul 2013 09:03 PM |
@user
Two ifs, a for and a function
End End End End) |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2013 09:04 PM |
iPad, why must you do this to me!?
Moo, floodchexk! |
|
|
| Report Abuse |
|
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
|
| 25 Jul 2013 09:29 PM |
oh i didnt see that lol
~ Add 6276 posts to my post count ~ |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Jul 2013 03:59 PM |
iPad, why must you autocorrect my 'Noo!' into 'Moo!'?
Why art thou so cruel? |
|
|
| Report Abuse |
|
|