local Player = game.Players.LocalPlayer
local groups = {1198534}
function Click()
for i, ID in pairs(groups) do
if Player:IsInGroup(ID) then
Player.TeamColor = BrickColor.new("Bright red")
Player:LoadCharacter()
break
end
end
end
script.Parent.MouseButton1Down:connect(Click)
I'm trying to make a team script where instead of it killing you it just respawns you instead. However it only changes your team and doesn't respawn. How can i fix?
