Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

can't move camera in first person?

when i go in first person in studio, my mouse is unlocked and i can't move the camera even when im holding the right mouse button. i have been having this issue for weeks.

1 answer

This seems to be a common issue try this in StarterPlayerScripts as a local script I found this in the Devforum

local plr = game.Players.LocalPlayer
local plrGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local ScreenGui = Instance.new("ScreenGui", plrGui)
local TextButton = Instance.new("TextButton")
local UIS = game:GetService("UserInputService")

TextButton.BackgroundTransparency = 1
TextButton.Size = UDim2.new(0, 0, 0, 0)
TextButton.Text = " "
TextButton.Parent = ScreenGui

UIS.InputBegan:Connect(function(Input, IsTyping)
	if IsTyping then 
		return end
	if Input.KeyCode == Enum.KeyCode.V then
		TextButton.Modal = true
		task.wait()
	else
		TextButton.Modal = false
		task.wait()
	end
end)

Hope this helps!!

This discussion is preserved as it was. New answers, comments, and votes are closed.