vtrvsted

Oblivity Desync LEAKED | OPEN SOURCE

Nov 18th, 2022
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local P1000ToggleKey = "x" -- Change that to whatever keybind: "t"
  2.  
  3.  
  4. --[[
  5.  
  6.     Standing still will trick the hitbox, you won't be able to get hit.
  7.  
  8.  
  9.     DO NOT EDIT BEYOND THIS POINT IF YOU DON'T UNDERSTAND WHAT IS GOING ON.
  10.    
  11.     ORIGINAL SOURCE PUT INTO SKID FRIENDLY FORMAT TAKE WHAT YOU LIKE AND MAKE MANY MORE OBLIVITIES CLONES WITH THIS OR EVEN YOUR VERY OWN DIY OBLIVITY!
  12.    
  13.     AND REMEMBER TO SAY, SO LOOOOONG OBLIVITYYYYYY!!!
  14.  
  15.  
  16. --]]
  17.  
  18.  
  19. --// Services
  20. checkcaller = checkcaller
  21. newcclosure = newcclosure
  22. hookmetamethod = hookmetamethod
  23.  
  24. local PastedSources = false
  25. local BruhXD = game:GetService("RunService")
  26. local LocalPlayer = game:GetService("Players").LocalPlayer
  27. local Bullshit = LocalPlayer:GetMouse()
  28.  
  29.  
  30. --// Toggles
  31. Bullshit.KeyDown:Connect(function(SayNoToOblivity)
  32.     if SayNoToOblivity == string.lower(P1000ToggleKey) then
  33.         pcall(function()
  34.             if PastedSources == false then
  35.                 PastedSources = true
  36.                 print("Enabled P1000")
  37.             elseif PastedSources == true then
  38.                 PastedSources = false
  39.                 print("Disabled P1000")
  40.             end
  41.         end)
  42.     end
  43. end)
  44.  
  45. Bullshit.KeyDown:Connect(function(SayNoToOblivity)
  46.     if SayNoToOblivity == ("=") then
  47.         game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer)
  48.     end
  49. end)
  50.  
  51.  
  52. --// Desync_Source
  53. function RandomNumberRange(a)
  54.     return math.random(-a * 100, a * 100) / 100
  55. end
  56.  
  57. function RandomVectorRange(a, b, c)
  58.     return Vector3.new(RandomNumberRange(a), RandomNumberRange(b), RandomNumberRange(c))
  59. end
  60.  
  61.  
  62. local DesyncTypes = {}
  63. BruhXD.Heartbeat:Connect(function()
  64.     if PastedSources == true then
  65.         DesyncTypes[1] = LocalPlayer.Character.HumanoidRootPart.CFrame
  66.         DesyncTypes[2] = LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity
  67.  
  68.         local SpoofThis = LocalPlayer.Character.HumanoidRootPart.CFrame
  69.  
  70.         SpoofThis = SpoofThis * CFrame.new(Vector3.new(0, 0, 0))
  71.         SpoofThis = SpoofThis * CFrame.Angles(math.rad(RandomNumberRange(180)), math.rad(RandomNumberRange(180)), math.rad(RandomNumberRange(180)))
  72.  
  73.         LocalPlayer.Character.HumanoidRootPart.CFrame = SpoofThis
  74.  
  75.         LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(1, 1, 1) * 16384
  76.  
  77.         BruhXD.RenderStepped:Wait()
  78.  
  79.         LocalPlayer.Character.HumanoidRootPart.CFrame = DesyncTypes[1]
  80.         LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity = DesyncTypes[2]
  81.     end
  82. end)
  83.  
  84.  
  85. --// Hook_CFrame
  86. local XDDDDDD = nil
  87. XDDDDDD = hookmetamethod(game, "__index", newcclosure(function(self, key)
  88.     if PastedSources == true then
  89.         if not checkcaller() then
  90.             if key == "CFrame" and PastedSources == true and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and LocalPlayer.Character:FindFirstChild("Humanoid") and LocalPlayer.Character:FindFirstChild("Humanoid").Health > 0 then
  91.                 if self == LocalPlayer.Character.HumanoidRootPart then
  92.                     return DesyncTypes[1] or CFrame.new()
  93.                 elseif self == LocalPlayer.Character.Head then
  94.                     return DesyncTypes[1] and DesyncTypes[1] + Vector3.new(0, LocalPlayer.Character.HumanoidRootPart.Size / 2 + 0.5, 0) or CFrame.new()
  95.                 end
  96.             end
  97.         end
  98.     end
  99.     return XDDDDDD(self, key)
  100. end))
Add Comment
Please, Sign In to add comment