local Player = game.Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:Wait() local Camera = workspace.Camera Camera.Name = 'ScriptingHelperAdminsAndModsAreSoTrash' Number = 0 while game:GetService('RunService').RenderStepped:Wait() do Camera.CFrame = Camera.CFrame * CFrame.fromEulerAnglesXYZ(0, Number + .5, 0) end
So the problem i had was everytime the while true do loop ran
it would set the x axis of camera and the z axis to 0 and I dot want that to happen i want the player to be able to drag their screen for x and z axis