It kills me yet I am in the group and am higher then rank 2. Why? Console has 0 errors
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") ~= nil then
local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
if Player then
if Player:GetRankInGroup(2758901) == 2 then
print("Good")
else
hit.Parent.Torso:Remove() -- Moved the check for humanoid up.
end
end
end
end)
