I'm pretty sure that I did everything correctly, but why won't it work? Is it something to do with roblox or my piece of code? If someone could it would mean a lot. Nothing does what I want it to and I get nothing in the output.
Errors: none
Code:
game.Players.PlayerAdded:connect(function(plr)
plr.CameraMode = Enum.CameraMode.LockFirstPerson
plr.CharacterAdded:connect(function(char)
local Humanoid = char:FindFirstChild("Humanoid")
Humanoid.Jumping:connect(function()
Humanoid.Jump = false
end)
--
end)
end)

4 comments
It's an event on the humanoid.
Try using the 'Changed' event instead.
That fixed the jumping, but the CameraMode still won't work.
You have to get the camera from the player.