How to disable the dev camera (shift+p) option?

I am making a piano game, with synthesizers and stuff.
Whenever i want to play uppercase ‘p’, i have to do shift+p. But that enables free camera and disables GUIs and Core GUIs.

How can i disable that?

3 Likes

Remove the ScreenGui named “Freecam” under PlayerGui.

3 Likes

And here’s a script if you don’t want players to use a freecam. Put it in starter player scripts

if script.Parent.Parent.PlayerGui:WaitForChild("Freecam") and game:IsLoaded() then
	script.Parent.Parent.PlayerGui.Freecam:Destroy()
end
2 Likes