Si i want to get not many scripts to team somone or many remote events? So i tried this but it won't work? Localscript:
local player = game.Players.LocalPlayer
local team = "Politie"
script.Parent.MouseButton1Click:Connect(function()
if player.Rank.Politie.Value == true then
game.ReplicatedStorage.Teams.Teamen:FireServer(team)
end
end)
Script in SSS:
game.ReplicatedStorage.Teams.Teamen.OnServerEvent:Connect(function(player, team)
local realteam = game.Teams:FindFirstChild(team)
player.TeamColor = BrickColor.new(realteam.TeamColor)
player:LoadCharacter()
end)
but i get the error Color3 expected got brickcolor? line3
