How to make if player Team = red then script = Disabled ?
(with loop (while true do) )
Thank u and best regards -PPJASK
How to make if player Team = red then script = Disabled ?
(with loop (while true do) )
Thank u and best regards -PPJASK
local Red = game:GetService("Teams")["Red"]
if player.Team == Red then
script.Disabled = true
end
Ok, this might not work.
local player = game.Players.LocalPlayer
local exampleScript = game.ServerScriptService.exampleScript
if player.Team = "Bright Red" then do
exampleScript.Disabled = true
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
while wait() do if player.Team = game:GetService("Team").Red then script.Disabled = true end end