local player = game.Players.LocalPlayer
local camera = workspace.CurrentCamera
player.CharacterAdded:Wait()
player.Character:WaitForChild("Head")
camera.CameraSubject = player.Character.Head
camera.CameraType = Enum.CameraType.Attach
camera.FieldOfView = 100
while wait(0.000000001) do
camera.CFrame = CFrame.new(player.Character.Head.Position) * CFrame.new(0,0,10)
end
this script doesnt work and I did everything i can to try to see what was excatly wrong with the script
help mane ;( (also got the cframe part from a youtuber soooo yeah)

5 comments
First of all, What are you trying to do?
2d platformer
What is going wrong? You need more information.
test it out yourself, its buggy
i wake up the next morning and i test my script and it works LOL