How do I prevent F3X from being used on players?

I am trying to give F3X to everyone in my game, I already have my workspace locked, but I can’t seem to figure out how to lock players from being edited by F3X?

1 Like

You could try locking all parts in player models

1 Like
local Game = game
local Players = Game:GetService("Players")

local function OnPlayerAdded(Player)
	local function OnCharacterAdded(Character)
		for _, Child in ipairs(Character:GetDescendants()) do
			if not (Child:IsA("BasePart")) then continue end
			Child.Locked = true
		end
	end
	
	Player.CharacterAdded:Connect(OnCharacterAdded)
end

Players.PlayerAdded:Connect(OnPlayerAdded)

I thought that too, and tried using a script similar to this. But its not working.