local Admission = script.Parent local Player = game.Players.LocalPlayer local humanoid = Player.Character:WaitForChild("Humanoid") local Players = game.Players Admission.MouseButton1Click:Connect(function() if Player:GetRankInGroup(5019998) >= 150 then Player.Team = game.Teams.Admission humanoid.Health = 0 else print("no") end end)
help , i put it in a localscript btw
Use a server script!
If this was still not answered, I´d use humanoid:BreakJoints()