function Click(mouse) -- Clickity click
if Player:GetRankInGroup(944397) == 10 then
print("Player is a FI+ YAY!") --If FI+
script.Parent.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new("Bright red") --Team color
script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0 --Kills the player.
else
print("Player not a FI") --If not FI+
end
end)
script.Parent.MouseButton1Down:connect(Click)
I do not understand why it won't work.

1 comment
Notso is correct that you should make a variable instead of that big long path, but your main problem is an unneeded parentheses on line 9. You should have included the output, there would have been an error.