How to make if player Team = red then script = Disabled ?
(with loop (while true do) )
Thank u and best regards -PPJASK
1 | local Red = game:GetService( "Teams" ) [ "Red" ] |
2 | if player.Team = = Red then |
3 | script.Disabled = true |
4 | end |
Ok, this might not work.
1 | local player = game.Players.LocalPlayer |
2 | local exampleScript = game.ServerScriptService.exampleScript |
3 |
4 | if player.Team = "Bright Red" then do |
5 | exampleScript.Disabled = true |
6 | end ) |