Hackers access and protection

if a hacker takes advantage of the code.

game.Players.PlayerAdded:Connect(function(plr)
	
	plr:WaitForChild("PlayerGui"):WaitForChild("Camera Mode").OnServerEvent:Connect(function(player, mode)
		
		if mode == "Invisicam" then
			player.DevCameraOcclusionMode = Enum.DevCameraOcclusionMode.Invisicam
		elseif mode == "Zoom" then
			player.DevCameraOcclusionMode = Enum.DevCameraOcclusionMode.Zoom
		end
	
	end)
	
end)

then they can change their camera mode, but are they able to change their camera mode even without this script? if they can’t then this needs a sanity check, but how could i determine the clients camera position on the server?

Hackers can’t FireClient but they can change their camera mode nonetheless. You could probbaly stop that using BindToRenderStep, but that could also drag down performance.

1 Like

they actually can fire remotes, exploiters can do everything a localscript can and even more

they probably can change their camera mode without the script since the camera affects clients, its likely that the client can control it themselves

1 Like

Oops, my bad, I meant to say they can’t FireClient/FireAllClients instead of FireServer.

1 Like

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