I won't be checking for errors, they should be easy enough to fix.
brick = Instance.new("Part")
brick.Parent =game.Players.LocalPlayer.Character
brick.Transparency = 1
brick.Size = Vector3.new(1,1,1)
brick.Name = "camhold"
brick.Anchored = true
brick.CanCollide = false)
end
while true do
hx = Character.Head.Position.X
hy = Character.Head.Position.Y
hz = Character.Head.Position.Z
wait()
game.Workspace.CurrentCamera.CameraSubject = Character.Head
Character.camhold.Position = Vector3.new(hx+ 0,hy + 0 ,hz + 0) -- mess around with these 0 values until it's the right way in your game
game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(Character.camhold.Position)
|