Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

CameraOffset script not working, Whats wrong?

Asked by 10 years ago

Today I started messing with the properties a humanoid haves, and after playing with the CameraOffset property I tried making a script that will put the camera offset of a character to 0, 7, 0 when he joins the game, sadly the script isn't working, can someone please tell me what my mistake was?

game.Players.PlayerAdded:connect(function(player)
    player.CharacterAdded:connect(function(character)
        workspace.Player.Humanoid.CameraOffset = 0, 7, 0
    end)
end)
2
CameraOffset is a Vector3 value. So you need to do Vector3.new(x, y, z) Tkdriverx 514 — 10y

Answer this question