How to disable ROBLOX Freecam in my game

I have seen youtube tutorials but they involve making a script which I don’t really like. I tried copy and pasting the freecam gui and emptying the script but that didn’t work. I wonder how other games did it…

If you want disable the freecam
Put this localscript in StarterPlayerScripts

local Players = game:GetService("Players")
local player = Players.LocalPlayer

local PlayerGui = player:WaitForChild("PlayerGui")

if PlayerGui then
    local freecam = PlayerGui:WaitForChild("Freecam") 
    if freecam then 
        freecam:Destroy() 
    end
end

This localscript will remove automatically the ScreenGui called “Freecam” inside the PlayerGui. I hope it works

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.