20:28:02.264 - Argument 1 missing or nil Says the problems at line 12?
local rs = game:GetService("ReplicatedStorage") local SAF = rs.SAF local CPSU = rs.CPSU local Immigrant = rs.Immigrant local Citizen = rs.Citizen local playerAdded = rs.PlayerAdded game.Players.playerAdded:Connect(function(player) wait() playerAdded:FireClient() end) Citizen.OnServerEvent:connect(function(splayer) splayer.TeamColor = BrickColor.new("Navy blue") end) Immigrant.OnServerEvent:connect(function(splayer) splayer.TeamColor = BrickColor.new("Dark stone grey") end)
You need to supply the client that you wish to Fire the Remote's OnClientEvent
for :)
On line 12:
playerAdded:FireClient(player)