Is it possible to fork the built in freecam script?

I want to change the hotkeys for the left shift + p freecam so that I can move my character & use the camera at the same time.

I’ve tried copying the script and pasting it in startergui (where the script spawns upon character spawning) but it creates a duplicate script.

Not sure if it’s even possible to fork that script, and if not, is there another possible solution?

You can call Destroy on the original script before parenting your fork to the same container.

local Game = game
local Players = Game:GetService("Players")
local Player = Players.LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui")
local Freecam = PlayerGui:WaitForChild("Freecam")