local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local LOCK_ORIENTATION = Enum.ScreenOrientation.LandscapeRight -- change the "Right" to "Left" if you don't like the way it set RunService.RenderStepped:Connect(function() playerGui.ScreenOrientation = LOCK_ORIENTATION end)