Simple Desync
Key RequiredUniversal

Simple Desync

Universal ScriptDanny_Danny_ 3.5K views 430 executesUpdated Jan 11, 2026
3.8/ 5(4 votes)
3175% Positive
Lua Script•61 lines (1877 chars)
local hotkey = _G.desyncHotkey or Enum.KeyCode.F1

local uis = game:GetService("UserInputService")
local lp = game.Players.LocalPlayer
local desyncActive = false
local mainCharacter = nil
local deathConnections = {}


function deactivate()
	desyncActive = false
	
	for i, connection in pairs(deathConnections) do
		connection:Disconnect()
		table.remove(deathConnections, i)
	end
	
	mainCharacter.HumanoidRootPart.CFrame = lp.Character.HumanoidRootPart.CFrame
	lp.Character:Destroy()
	local oldctype = game.Workspace.CurrentCamera.CameraType
	game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
	task.wait()
	lp.Character = mainCharacter
	game.Workspace.CurrentCamera.CameraSubject = mainCharacter.Humanoid
	game.Workspace.CurrentCamera.CameraType = oldctype
	mainCharacter.Animate.Enabled = false
	mainCharacter.Animate.Enabled = true
end


uis.InputBegan:Connect(function(input, gameProcessed)
	if not gameProcessed and input.KeyCode == hotkey then
		if desyncActive then
			deactivate()
		else
			desyncActive = true
			mainCharacter = lp.Character
			local oldArchivable = mainCharacter.Archivable
			mainCharacter.Archivable = true
			local clone = mainCharacter:Clone()
			mainCharacter.Archivable = oldArchivable
			clone.Parent = game.Workspace
			local oldctype = game.Workspace.CurrentCamera.CameraType
			game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
			task.wait()
			lp.Character = clone
			game.Workspace.CurrentCamera.CameraSubject = clone.Humanoid
			game.Workspace.CurrentCamera.CameraType = oldctype
			clone.Animate.Enabled = false
			clone.Animate.Enabled = true
			
			-- handle death and stuff
			table.insert(deathConnections, mainCharacter.Humanoid.Died:Connect(function()
				deactivate()
			end))
			table.insert(deathConnections, clone.Humanoid.Died:Connect(function()
				deactivate()
			end))
		end
	end
end)

Features & Information

This is a very simple desync script for demonstrating how these work. I want to make it very clear that this WILL NOT be as good or robust as other desync scripts you can find here. I just wanted to make a simple desync to test my abilities. Activate the script with F1 or any keycode you set _G.desyncHotkey to.

Community Comments (3)

viralhack123viralhack123Jan 12, 2026

And what does the script actually do? I'm not sure I understood, but I suppose it's so that when someone tries to teleport to you, they teleport to another place instead, or am I wrong?

Replying to @viralhack123
wowzerzwowzerzJan 13, 2026

@viralhack123 the script is used in many games to make people think you are somewhere else or laggy, in fighting games and stealing games it allows a advantage cuz they cant see you but u can see them and kill them

Replying to @wowzerz
viralhack123viralhack123Jan 14, 2026

@wowzerz Thank you so much for the explanation, brother.

More Scripts for Universal Scripts