CraftioLo
|
  |
| Joined: 09 Sep 2014 |
| Total Posts: 1937 |
|
|
| 29 Oct 2015 04:18 AM |
Yeah its not working! I dont know the problem so i am asking you!
#Code function Click(mouse)
script.Parent.Parent.Parent.Parent.Parent.Character.Health=0 if script.Parent.Parent.Parent.Parent.Parent:IsInGroup(268422) print("IS IN A GROUP!") if player:GetRankInGroup(268422) ~= 1 then script.Parent.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new("Bright blue") end -- end
end
script.Parent.MouseButton1Down:connect(Click)
For beter roblox! |
|
|
| Report Abuse |
|
|
Ben1925
|
  |
| Joined: 07 Apr 2011 |
| Total Posts: 741 |
|
|
| 29 Oct 2015 04:31 AM |
| There's no "then" in line two |
|
|
| Report Abuse |
|
|
minigiper
|
  |
| Joined: 29 Apr 2013 |
| Total Posts: 47 |
|
|
| 29 Oct 2015 04:50 AM |
| line 3 script.Parent.Parent.Parent.Parent.Parent.Character u have no humanoid here and u just write Health = 0 but u need Character.Humanoid.Health = 0 |
|
|
| Report Abuse |
|
|
CraftioLo
|
  |
| Joined: 09 Sep 2014 |
| Total Posts: 1937 |
|
|
| 29 Oct 2015 05:32 AM |
@mini yeah i did that already before but it doesnt work still.
For beter roblox! |
|
|
| Report Abuse |
|
|
CraftioLo
|
  |
| Joined: 09 Sep 2014 |
| Total Posts: 1937 |
|
|
| 29 Oct 2015 05:38 AM |
jeez im the stupidest person ever. i completlly forgot that it had to be a local script because its an GUI!
For beter roblox! |
|
|
| Report Abuse |
|
|