|
| 07 Dec 2011 04:35 PM |
the function does the else condition even though I'm in the group.
script.Parent.Touched:connect(function(hit) player = game.Players:GetPlayerFromCharacter(hit.Parent) torso = hit.Parent:FindFirstChild("Torso") if player.Character then if (player:IsInGroup(418063)) then player.Character.Health = 0 else torso.CFrame = CFrame.new(Vector3.new(25.5, 13, 0.5)) script.Parent.Gui:clone().Parent = player.PlayerGui end end end) |
|
|
| Report Abuse |
|
|
| |
|
dirk29
|
  |
| Joined: 26 May 2010 |
| Total Posts: 1142 |
|
|
| 07 Dec 2011 04:46 PM |
Try using elseif and no
elseif (not player:IsInGroup(#))) |
|
|
| Report Abuse |
|
|
| |
|