script.Parent:WaitForChild("Arrest").OnServerEvent:Connect(function(plr, tarplr)
if game:GetService("Players")[tarplr.Name].Guilty == true
then
game:GetService("Players")[tarplr.Name].Character.HumanoidRootPart.CFrame = CFrame.new(game.Workspace.Game.Spawns.Prisoner.Cell2.Position)
game:GetService("Players")[tarplr.Name].TeamColor = Deep orange
end
end)
On the 5th line, Deep orange is underlined as an error and it won't work. Help please? game:GetService("Players")[tarplr.Name].TeamColor =* Deep orange*

3 comments
BrickColor for TeamColor?
https://developer.roblox.com/en-us/api-reference/property/Player/TeamColor
It worked! Thank you!