I am not sure what is exactly wrong with my kill script. I have tried many varitions of it though for some reason anything I do with FindFirstChild never works. I want it so that if your in the group and your rank 2 it allows you in but if not then it kills you.
script.Parent.Touched:connect(function(hit)
game.Players.PlayerAdded:connect(function(Player)
if Player:GetRankInGroup(2758901) == 2 then
print("Good")
else
if hit.Parent:FindFirstChild("Humanoid") >= true then
hit.Parent.Torso:Remove()
end
end
end)
end)
The console shows nothing and i am guessing that its my functions.
