Zarzac
|
  |
| Joined: 26 Dec 2010 |
| Total Posts: 15 |
|
|
| 01 Feb 2014 04:59 PM |
Sorry for posting this twice, but I still don't know what to do! It's a GUI reset button that's supposed to only reset players in a specific group.
function Click(mouse) if script.Parent.Parent.Parent.Parent.Parent:IsInGroup(18) then script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0 end end |
|
|
| Report Abuse |
|
|
|
| 01 Feb 2014 05:01 PM |
script.Parent.MouseButton1Down:connect(function() if script.Parent.Parent.Parent.Parent.Parent:IsInGroup(18) then script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0 end end
Outfoxing Foxes |
|
|
| Report Abuse |
|
|
|
| 01 Feb 2014 05:02 PM |
You forgot to end the parenthesis on the last line ^
#nerdsunited |
|
|
| Report Abuse |
|
|
Zarzac
|
  |
| Joined: 26 Dec 2010 |
| Total Posts: 15 |
|
|
| 01 Feb 2014 05:06 PM |
| Thank you so much, Idyllically and Verifiedname! That worked perfectly. |
|
|
| Report Abuse |
|
|