Permissions error

If this script ripristinate the deleted script they will never get free from anti cheat scripts components.

That wouldn’t matter because they can bypass that, they can even cancel packets being sent to their client (ex, if you try to kick them on the client-side).

They can also hijack your functions, which controls your anticheat script.

My script is on ServerScriptService which cannot be accessed from exploits so if localscripts are managed by a script located in ServerScriptService they cannot remove it

Yes, but then the server-script won’t be able to detect their changes.
I just explained that.

Thank you!

for i, v in pairs(game:GetDescendants()) do
	local success, result = pcall(function()
		return v:IsA('LocalScript')
	end)

	if success and result then
		v.Parent.ChildRemoved:Connect(function(removedObject)
			local ripristinatedObject = removedObject:Clone()
			ripristinatedObject.Parent = v.Parent
		end)
	end
end

This is how i changed your script but it doesen’t work, anyways it doesen’t matter since i cannot detect if something happens on the client from the server thank you for explaining, you also @Xacima

1 Like