So I am trying to make it so your screen is viewing a brick but I get this message in the output and don't know how to fix it would I use the Humanoid? "FireClient: player argument must be a Player object"
Script -
function PlayerAdded(player)
game.ReplicatedStorage.remoteCam:FireClient(player)
end
PlayerAdded()
Local script -
game.ReplicatedStorage.TriggerCam.OnClientEvent:Connect(function()
local camera = workspace.CurrentCamera
local IntroChar = workspace.IntroChar
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = IntroChar.Cam
camera.CFrame = IntroChar.Cam.CFrame
end)

1 comment
You need to bind PlayerAdded to game,Players.PlayerAdded instead of just calling the function