Advertisement
Nosssa

Random Walkable Desync | OPEN SOURCE

Feb 28th, 2023 (edited)
639
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.94 KB | None | 0 0
  1. --// Nosss did NOT make this, did he crack it though? Yes ofc.
  2.  
  3. -- execute more than once sometimes it glitches
  4. getgenv().Desync = true
  5.  
  6.  
  7.  
  8.  
  9.  
  10. for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  11.     if v:IsA("Script") and v.Name ~= "Health" and v.Name ~= "Sound" and v:FindFirstChild("LocalScript") then
  12.         v:Destroy()
  13.     end
  14. end
  15.  
  16.  
  17. game.Players.LocalPlayer.CharacterAdded:Connect(function(char)
  18.     repeat
  19.         wait()
  20.     until game.Players.LocalPlayer.Character
  21.     char.ChildAdded:Connect(function(child)
  22.         if child:IsA("Script") then
  23.             wait(0.25)
  24.             if child:FindFirstChild("LocalScript") then
  25.                 child.LocalScript:FireServer()
  26.             end
  27.         end
  28.     end)
  29. end)
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43. game.RunService.Heartbeat:Connect(function()
  44.     if Desync then
  45.         local CurrentVelocity = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
  46.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(0),0)
  47.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(0.01),0)
  48.         game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(3000, 3000 ,3000)
  49.         game.RunService.RenderStepped:Wait()
  50.         game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = CurrentVelocity
  51.     end
  52. end)
  53.  
  54. wait(0.1)
  55. getgenv().Desync = false
  56. wait(0.1)
  57. getgenv().Desync1 = true
  58.  
  59. game.RunService.Heartbeat:Connect(function()
  60.     if getgenv().Desync1 then
  61.         local CurrentVelocity = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
  62.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(0),0)
  63.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(0.01),0)
  64.         game.Players.LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(math.random(3000),math.random(3000),math.random(3000))
  65.         game.RunService.RenderStepped:Wait()
  66.         game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = CurrentVelocity
  67.     end
  68. end)
  69.  
  70. wait(0.5)
  71.  
  72. game.RunService.Heartbeat:Connect(function()
  73.     if Desync then
  74.         local CurrentVelocity = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
  75.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(0),0)
  76.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(0.01),0)
  77.         game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(3000, 3000 ,3000)
  78.         game.RunService.RenderStepped:Wait()
  79.         game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = CurrentVelocity
  80.     end
  81. end)
  82.  
  83. wait(0.1)
  84. getgenv().Desync = false
  85. wait(0.1)
  86. getgenv().Desync1 = true
  87.  
  88. game.RunService.Heartbeat:Connect(function()
  89.     if getgenv().Desync1 then
  90.         local CurrentVelocity = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
  91.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(0),0)
  92.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(0.01),0)
  93.         game.Players.LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(math.random(3000),math.random(3000),math.random(3000))
  94.         game.RunService.RenderStepped:Wait()
  95.         game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = CurrentVelocity
  96.     end
  97. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement