Advertisement
The_One123

Jailbreak Paraglide/Parachute Module

May 26th, 2019
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.30 KB | None | 0 0
  1. --SynapseX Decompiler
  2.  
  3. local Gff8a9 = game:GetService("RunService")
  4. local z9666a1801 = game:GetService("UserInputService")
  5. local nd862f39d27 = game:GetService("Players")
  6. local e1b7fed6d00 = nd862f39d27.LocalPlayer
  7. local D2882be1 = workspace.CurrentCamera
  8. local Gee86a741f, n13c3b55e, t3bf749
  9. do
  10.     local vb09e9e793 = Vector3.new
  11.     local pa8034b633 = workspace.FindPartOnRayWithIgnoreList
  12.     function t3bf749(l4c5a4afd, Q3acebd8e3a9, ...)
  13.         local W9b8d4d3 = Q3acebd8e3a9.magnitude
  14.         Q3acebd8e3a9 = Q3acebd8e3a9.unit
  15.         local z9402bf = l4c5a4afd
  16.         local oa937469 = 0
  17.         local A01739e3f140 = {
  18.             ...
  19.         }
  20.         local w39f6a, Hbc092359c, De5e4ae = nil, vb09e9e793, vb09e9e793
  21.         local f379c6fca18 = 0
  22.         local Z468c4
  23.         repeat
  24.             f379c6fca18 = f379c6fca18 + 1
  25.             local zc027cc15 = Ray.new(z9402bf, Q3acebd8e3a9 * (W9b8d4d3 - oa937469))
  26.             w39f6a, Hbc092359c, De5e4ae = pa8034b633(workspace, zc027cc15, A01739e3f140, false, true)
  27.             Z468c4 = w39f6a and w39f6a.CanCollide
  28.             if not Z468c4 then
  29.                 table.insert(A01739e3f140, w39f6a)
  30.             end
  31.             oa937469 = (l4c5a4afd - Hbc092359c).magnitude
  32.             z9402bf = Hbc092359c
  33.         until Z468c4 or W9b8d4d3 - oa937469 <= 0.001 or f379c6fca18 > 4
  34.         if not w39f6a then
  35.             Hbc092359c, De5e4ae = l4c5a4afd + Q3acebd8e3a9 * W9b8d4d3, vb09e9e793
  36.         end
  37.         return w39f6a, Hbc092359c, De5e4ae
  38.     end
  39. end
  40. local K63570fd80c, aaceeaa, W2ed0f293, S16bb5, F8b9881
  41. local function T3d824()
  42.     return F8b9881 ~= nil
  43. end
  44. local function Nf744dd()
  45.     local m98e543c = F8b9881.HumanoidRootPart
  46.     local Xbcbded271 = 60
  47.     local Jf79ec8e83b = 40
  48.     local e9f1705273c2 = D2882be1.CFrame
  49.     e9f1705273c2 = e9f1705273c2 * CFrame.Angles(0.2, 0, 0)
  50.     local W71aa79 = math.clamp(m98e543c.RotVelocity.y, -4, 4)
  51.     local U85b504dd6 = math.abs(e9f1705273c2.LookVector:Dot(Vector3.new(0, 1, 0)))
  52.     local seac128e48 = Vector3.new(e9f1705273c2.LookVector.X, 0, e9f1705273c2.lookVector.Z)
  53.     F8b9881.Velocity.Velocity = seac128e48 * Xbcbded271 * math.max(0.5, U85b504dd6) + Vector3.new(0, U85b504dd6, 0) * -Jf79ec8e83b
  54.     F8b9881.Gyro.CFrame = CFrame.new(Vector3.new(), e9f1705273c2.lookVector) * CFrame.new(0, 0, W71aa79 * 0.125)
  55.     local D3aa2d4bae, xabd6cb88c5 = t3bf749(m98e543c.Position, Vector3.new(0, -1, 0) * 4, m98e543c.Parent)
  56.     if D3aa2d4bae and not D3aa2d4bae:IsDescendantOf(workspace.Vehicles) then
  57.         aaceeaa()
  58.     end
  59. end
  60. local function o5edc864be3()
  61.     if F8b9881 then
  62.         print("Already has parachute")
  63.         return false
  64.     end
  65.     local Lca9cb = e1b7fed6d00.Character
  66.     if not Lca9cb then
  67.         return false
  68.     end
  69.     local E9c6b345c = Lca9cb:FindFirstChild("Humanoid")
  70.     if not E9c6b345c then
  71.         return false
  72.     end
  73.     local hcbbe25d = Lca9cb:FindFirstChild("HumanoidRootPart")
  74.     if not hcbbe25d then
  75.         return false
  76.     end
  77.     if E9c6b345c.PlatformStand then
  78.         return false
  79.     end
  80.     if E9c6b345c.Sit then
  81.         return false
  82.     end
  83.     E9c6b345c.PlatformStand = true
  84.     E9c6b345c:ChangeState(Enum.HumanoidStateType.PlatformStanding)
  85.     F8b9881 = {}
  86.     F8b9881.Type = "Parachute"
  87.     local H6e40ca8c = Instance.new("BodyGyro")
  88.     H6e40ca8c.MaxTorque = Vector3.new(10000, 10000, 10000)
  89.     H6e40ca8c.CFrame = D2882be1.CFrame * CFrame.Angles(0.2, 0, 0)
  90.     H6e40ca8c.Parent = hcbbe25d
  91.     local g75c2a0 = Instance.new("BodyVelocity")
  92.     g75c2a0.MaxForce = Vector3.new(1000000, 1000000, 1000000)
  93.     g75c2a0.Velocity = Vector3.new(0, -1, 0)
  94.     g75c2a0.Parent = hcbbe25d
  95.     F8b9881.Gyro = H6e40ca8c
  96.     F8b9881.Velocity = g75c2a0
  97.     F8b9881.HumanoidRootPart = hcbbe25d
  98.     F8b9881.Humanoid = E9c6b345c
  99.     F8b9881.Loop = Gff8a9.Heartbeat:Connect(Nf744dd)
  100.     return true
  101. end
  102. local function Af33bb()
  103.     if not F8b9881 then
  104.         return false
  105.     end
  106.     F8b9881.Gyro:Destroy()
  107.     F8b9881.Velocity:Destroy()
  108.     F8b9881.Loop:Disconnect()
  109.     F8b9881.Humanoid.PlatformStand = false
  110.     F8b9881 = nil
  111.     return true
  112. end
  113. function K63570fd80c()
  114.     local c39e0d44 = o5edc864be3()
  115.     if not c39e0d44 then
  116.         return false
  117.     end
  118.     Gee86a741f:FireServer("b" .. ("rk08iub"):sub(4, 5):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("as2i6phyp"):sub(5, 6):reverse() .. "" .. "4kk")
  119. end
  120. function aaceeaa()
  121.     local o3a2ea4088a = Af33bb()
  122.     if not o3a2ea4088a then
  123.         return false
  124.     end
  125.     Gee86a741f:FireServer("x" .. ("bpb"):sub(2, 2):reverse() .. "" .. "" .. ("g68vsxsw"):sub(4, 5):reverse() .. "" .. "" .. ("cf0okmq"):sub(5, 6):reverse():reverse():reverse() .. "" .. "a3")
  126. end
  127. local function K55a66bdb0a()
  128.     local W89cb068 = F8b9881.HumanoidRootPart
  129.     local e445e46fcc = 60
  130.     local r12176 = 90
  131.     local hceb7f = D2882be1.CFrame
  132.     hceb7f = hceb7f * CFrame.Angles(0.2, 0, 0)
  133.     local Y4ddc63 = math.abs(math.clamp(hceb7f.lookVector:Dot(Vector3.new(0, 1, 0)), -1, -0.06))
  134.     local k7f324596c49 = Vector3.new(hceb7f.lookVector.X, 0, hceb7f.lookVector.Z)
  135.     F8b9881.Velocity.Velocity = k7f324596c49 * e445e46fcc * math.max(0.9, Y4ddc63) + Vector3.new(0, Y4ddc63, 0) * -r12176
  136.     F8b9881.Gyro.CFrame = CFrame.new(Vector3.new(), hceb7f.lookVector * 1) * CFrame.Angles(-math.pi * 0.6, 0, 0)
  137.     local ra6263b5f75, B97ed5225518 = t3bf749(W89cb068.Position, Vector3.new(0, -1, 0) * 3, W89cb068.Parent)
  138.     if ra6263b5f75 and not ra6263b5f75:IsDescendantOf(workspace.Vehicles) and 1 < tick() - F8b9881.Started then
  139.         S16bb5()
  140.     end
  141. end
  142. local function fb65ba()
  143.     if F8b9881 then
  144.         print("Already has glider")
  145.         return false
  146.     end
  147.     local Zfec0f8 = e1b7fed6d00.Character
  148.     if not Zfec0f8 then
  149.         return false
  150.     end
  151.     local wbe8f18351 = Zfec0f8:FindFirstChild("Humanoid")
  152.     if not wbe8f18351 then
  153.         return false
  154.     end
  155.     local b06f1076597 = Zfec0f8:FindFirstChild("HumanoidRootPart")
  156.     if not b06f1076597 then
  157.         return false
  158.     end
  159.     if wbe8f18351.PlatformStand then
  160.         return false
  161.     end
  162.     if wbe8f18351.Sit then
  163.         return false
  164.     end
  165.     wbe8f18351.PlatformStand = true
  166.     wbe8f18351:ChangeState(Enum.HumanoidStateType.PlatformStanding)
  167.     F8b9881 = {}
  168.     F8b9881.Type = "Glider"
  169.     local ue96c3d9f = Instance.new("BodyGyro")
  170.     ue96c3d9f.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  171.     ue96c3d9f.CFrame = D2882be1.CFrame * CFrame.Angles(-math.pi * 0.5, 0, 0)
  172.     ue96c3d9f.Parent = b06f1076597
  173.     local y20e0c = Instance.new("BodyVelocity")
  174.     y20e0c.MaxForce = Vector3.new(1000000, 1000000, 1000000)
  175.     y20e0c.Velocity = Vector3.new(0, -1, 0)
  176.     y20e0c.Parent = b06f1076597
  177.     F8b9881.Gyro = ue96c3d9f
  178.     F8b9881.Velocity = y20e0c
  179.     F8b9881.HumanoidRootPart = b06f1076597
  180.     F8b9881.Humanoid = wbe8f18351
  181.     F8b9881.Started = tick()
  182.     F8b9881.Loop = Gff8a9.Heartbeat:Connect(K55a66bdb0a)
  183.     return true
  184. end
  185. local function ked19e5()
  186.     if not F8b9881 then
  187.         return false
  188.     end
  189.     F8b9881.Gyro:Destroy()
  190.     F8b9881.Velocity:Destroy()
  191.     F8b9881.Loop:Disconnect()
  192.     F8b9881.Humanoid.PlatformStand = false
  193.     F8b9881.Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
  194.     F8b9881 = nil
  195.     return true
  196. end
  197. function W2ed0f293()
  198.     local h045955b7c = fb65ba()
  199.     if not h045955b7c then
  200.         return false
  201.     end
  202.     Gee86a741f:FireServer("r" .. "" .. ("nhh6014bof5w"):sub(3, 8):reverse():reverse():reverse():reverse():reverse() .. "" .. "x")
  203. end
  204. function S16bb5()
  205.     local rbc592a02 = ked19e5()
  206.     if not rbc592a02 then
  207.         return false
  208.     end
  209.     Gee86a741f:FireServer("t" .. "" .. ("qyxhse"):sub(4, 5):reverse():reverse():reverse() .. "" .. "" .. ("icqpqxbudw"):sub(4, 6):reverse():reverse():reverse():reverse():reverse() .. "" .. "05")
  210. end
  211. local function I9a5430543(v88203fec, t89929879)
  212.     if t89929879 then
  213.         return false
  214.     end
  215.     if v88203fec.UserInputType == Enum.UserInputType.Keyboard and v88203fec.KeyCode == Enum.KeyCode.Space and F8b9881 then
  216.         if F8b9881.Type == "Parachute" then
  217.             aaceeaa()
  218.         elseif F8b9881.Type == "Glider" then
  219.             S16bb5()
  220.         end
  221.     end
  222. end
  223. local function D7610e(u2ccb5aa35b)
  224.     Gee86a741f, n13c3b55e = u2ccb5aa35b.Event, u2ccb5aa35b.em
  225.     function n13c3b55e.bi8p64kk()
  226.         local dbc484a7ad1 = o5edc864be3()
  227.         if not dbc484a7ad1 then
  228.             Gee86a741f:FireServer("x" .. ("w4gspik"):sub(4, 5):reverse() .. "" .. "" .. ("fcmvo"):sub(3, 4):reverse() .. "" .. "" .. ("u3k4akvyj"):sub(5, 6):reverse():reverse():reverse():reverse():reverse() .. "" .. "3")
  229.         end
  230.     end
  231.     function n13c3b55e.xpsvmka3()
  232.         Af33bb()
  233.     end
  234.     function n13c3b55e.rb4106hx()
  235.         local Z8de95 = fb65ba()
  236.         if not Z8de95 then
  237.             Gee86a741f:FireServer("t" .. ("camse1r"):sub(4, 4):reverse() .. "" .. "hxqp05")
  238.         end
  239.     end
  240.     function n13c3b55e.tshxqp05()
  241.         ked19e5()
  242.     end
  243.     z9666a1801.InputBegan:Connect(I9a5430543)
  244. end
  245. return {
  246.     Init = D7610e,
  247.     Parachute = K63570fd80c,
  248.     ParachuteStop = aaceeaa,
  249.     Glider = W2ed0f293,
  250.     GliderStop = S16bb5,
  251.     IsFlying = T3d824
  252. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement