#Why doesn't it set the camera's position?

7 messages · Page 1 of 1 (latest)

fresh cloud
#
game:GetService("ReplicatedStorage").Remotes.startRound.OnServerEvent:Connect(function(player, info)
    local chance = math.random(1, 2)
    local sniper = info.Players[chance]
    CPart = workspace.Maps:WaitForChild(info.Map).CPart
    table.remove(info.Players, sniper)
    if sniper then
        sniper = game:GetService("Players"):GetPlayerByUserId(sniper)
        Camera.CameraType = Enum.CameraType.Scriptable
        Camera.CFrame = CPart.CFrame
    end
end)```
silent rain
#

It does set the camera cframe

#

But only on the server

#

You need to set this up in a local script

#

Because the camera is specific to every player

fresh cloud
#

Oh