SetCamera = function(player) local mech = player.GetActorsByType("mech")[1] Camera.Position = mech.CenterPosition end WorldLoaded = function() local player0 = Player.GetPlayer("Multi0") local player1 = Player.GetPlayer("Multi1") if player0.IsLocalPlayer then SetCamera(player0) elseif player1.IsLocalPlayer then SetCamera(player1) end end