Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --SynapseX Decompiler
- local Gff8a9 = game:GetService("RunService")
- local z9666a1801 = game:GetService("UserInputService")
- local nd862f39d27 = game:GetService("Players")
- local e1b7fed6d00 = nd862f39d27.LocalPlayer
- local D2882be1 = workspace.CurrentCamera
- local Gee86a741f, n13c3b55e, t3bf749
- do
- local vb09e9e793 = Vector3.new
- local pa8034b633 = workspace.FindPartOnRayWithIgnoreList
- function t3bf749(l4c5a4afd, Q3acebd8e3a9, ...)
- local W9b8d4d3 = Q3acebd8e3a9.magnitude
- Q3acebd8e3a9 = Q3acebd8e3a9.unit
- local z9402bf = l4c5a4afd
- local oa937469 = 0
- local A01739e3f140 = {
- ...
- }
- local w39f6a, Hbc092359c, De5e4ae = nil, vb09e9e793, vb09e9e793
- local f379c6fca18 = 0
- local Z468c4
- repeat
- f379c6fca18 = f379c6fca18 + 1
- local zc027cc15 = Ray.new(z9402bf, Q3acebd8e3a9 * (W9b8d4d3 - oa937469))
- w39f6a, Hbc092359c, De5e4ae = pa8034b633(workspace, zc027cc15, A01739e3f140, false, true)
- Z468c4 = w39f6a and w39f6a.CanCollide
- if not Z468c4 then
- table.insert(A01739e3f140, w39f6a)
- end
- oa937469 = (l4c5a4afd - Hbc092359c).magnitude
- z9402bf = Hbc092359c
- until Z468c4 or W9b8d4d3 - oa937469 <= 0.001 or f379c6fca18 > 4
- if not w39f6a then
- Hbc092359c, De5e4ae = l4c5a4afd + Q3acebd8e3a9 * W9b8d4d3, vb09e9e793
- end
- return w39f6a, Hbc092359c, De5e4ae
- end
- end
- local K63570fd80c, aaceeaa, W2ed0f293, S16bb5, F8b9881
- local function T3d824()
- return F8b9881 ~= nil
- end
- local function Nf744dd()
- local m98e543c = F8b9881.HumanoidRootPart
- local Xbcbded271 = 60
- local Jf79ec8e83b = 40
- local e9f1705273c2 = D2882be1.CFrame
- e9f1705273c2 = e9f1705273c2 * CFrame.Angles(0.2, 0, 0)
- local W71aa79 = math.clamp(m98e543c.RotVelocity.y, -4, 4)
- local U85b504dd6 = math.abs(e9f1705273c2.LookVector:Dot(Vector3.new(0, 1, 0)))
- local seac128e48 = Vector3.new(e9f1705273c2.LookVector.X, 0, e9f1705273c2.lookVector.Z)
- F8b9881.Velocity.Velocity = seac128e48 * Xbcbded271 * math.max(0.5, U85b504dd6) + Vector3.new(0, U85b504dd6, 0) * -Jf79ec8e83b
- F8b9881.Gyro.CFrame = CFrame.new(Vector3.new(), e9f1705273c2.lookVector) * CFrame.new(0, 0, W71aa79 * 0.125)
- local D3aa2d4bae, xabd6cb88c5 = t3bf749(m98e543c.Position, Vector3.new(0, -1, 0) * 4, m98e543c.Parent)
- if D3aa2d4bae and not D3aa2d4bae:IsDescendantOf(workspace.Vehicles) then
- aaceeaa()
- end
- end
- local function o5edc864be3()
- if F8b9881 then
- print("Already has parachute")
- return false
- end
- local Lca9cb = e1b7fed6d00.Character
- if not Lca9cb then
- return false
- end
- local E9c6b345c = Lca9cb:FindFirstChild("Humanoid")
- if not E9c6b345c then
- return false
- end
- local hcbbe25d = Lca9cb:FindFirstChild("HumanoidRootPart")
- if not hcbbe25d then
- return false
- end
- if E9c6b345c.PlatformStand then
- return false
- end
- if E9c6b345c.Sit then
- return false
- end
- E9c6b345c.PlatformStand = true
- E9c6b345c:ChangeState(Enum.HumanoidStateType.PlatformStanding)
- F8b9881 = {}
- F8b9881.Type = "Parachute"
- local H6e40ca8c = Instance.new("BodyGyro")
- H6e40ca8c.MaxTorque = Vector3.new(10000, 10000, 10000)
- H6e40ca8c.CFrame = D2882be1.CFrame * CFrame.Angles(0.2, 0, 0)
- H6e40ca8c.Parent = hcbbe25d
- local g75c2a0 = Instance.new("BodyVelocity")
- g75c2a0.MaxForce = Vector3.new(1000000, 1000000, 1000000)
- g75c2a0.Velocity = Vector3.new(0, -1, 0)
- g75c2a0.Parent = hcbbe25d
- F8b9881.Gyro = H6e40ca8c
- F8b9881.Velocity = g75c2a0
- F8b9881.HumanoidRootPart = hcbbe25d
- F8b9881.Humanoid = E9c6b345c
- F8b9881.Loop = Gff8a9.Heartbeat:Connect(Nf744dd)
- return true
- end
- local function Af33bb()
- if not F8b9881 then
- return false
- end
- F8b9881.Gyro:Destroy()
- F8b9881.Velocity:Destroy()
- F8b9881.Loop:Disconnect()
- F8b9881.Humanoid.PlatformStand = false
- F8b9881 = nil
- return true
- end
- function K63570fd80c()
- local c39e0d44 = o5edc864be3()
- if not c39e0d44 then
- return false
- end
- Gee86a741f:FireServer("b" .. ("rk08iub"):sub(4, 5):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("as2i6phyp"):sub(5, 6):reverse() .. "" .. "4kk")
- end
- function aaceeaa()
- local o3a2ea4088a = Af33bb()
- if not o3a2ea4088a then
- return false
- end
- Gee86a741f:FireServer("x" .. ("bpb"):sub(2, 2):reverse() .. "" .. "" .. ("g68vsxsw"):sub(4, 5):reverse() .. "" .. "" .. ("cf0okmq"):sub(5, 6):reverse():reverse():reverse() .. "" .. "a3")
- end
- local function K55a66bdb0a()
- local W89cb068 = F8b9881.HumanoidRootPart
- local e445e46fcc = 60
- local r12176 = 90
- local hceb7f = D2882be1.CFrame
- hceb7f = hceb7f * CFrame.Angles(0.2, 0, 0)
- local Y4ddc63 = math.abs(math.clamp(hceb7f.lookVector:Dot(Vector3.new(0, 1, 0)), -1, -0.06))
- local k7f324596c49 = Vector3.new(hceb7f.lookVector.X, 0, hceb7f.lookVector.Z)
- F8b9881.Velocity.Velocity = k7f324596c49 * e445e46fcc * math.max(0.9, Y4ddc63) + Vector3.new(0, Y4ddc63, 0) * -r12176
- F8b9881.Gyro.CFrame = CFrame.new(Vector3.new(), hceb7f.lookVector * 1) * CFrame.Angles(-math.pi * 0.6, 0, 0)
- local ra6263b5f75, B97ed5225518 = t3bf749(W89cb068.Position, Vector3.new(0, -1, 0) * 3, W89cb068.Parent)
- if ra6263b5f75 and not ra6263b5f75:IsDescendantOf(workspace.Vehicles) and 1 < tick() - F8b9881.Started then
- S16bb5()
- end
- end
- local function fb65ba()
- if F8b9881 then
- print("Already has glider")
- return false
- end
- local Zfec0f8 = e1b7fed6d00.Character
- if not Zfec0f8 then
- return false
- end
- local wbe8f18351 = Zfec0f8:FindFirstChild("Humanoid")
- if not wbe8f18351 then
- return false
- end
- local b06f1076597 = Zfec0f8:FindFirstChild("HumanoidRootPart")
- if not b06f1076597 then
- return false
- end
- if wbe8f18351.PlatformStand then
- return false
- end
- if wbe8f18351.Sit then
- return false
- end
- wbe8f18351.PlatformStand = true
- wbe8f18351:ChangeState(Enum.HumanoidStateType.PlatformStanding)
- F8b9881 = {}
- F8b9881.Type = "Glider"
- local ue96c3d9f = Instance.new("BodyGyro")
- ue96c3d9f.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
- ue96c3d9f.CFrame = D2882be1.CFrame * CFrame.Angles(-math.pi * 0.5, 0, 0)
- ue96c3d9f.Parent = b06f1076597
- local y20e0c = Instance.new("BodyVelocity")
- y20e0c.MaxForce = Vector3.new(1000000, 1000000, 1000000)
- y20e0c.Velocity = Vector3.new(0, -1, 0)
- y20e0c.Parent = b06f1076597
- F8b9881.Gyro = ue96c3d9f
- F8b9881.Velocity = y20e0c
- F8b9881.HumanoidRootPart = b06f1076597
- F8b9881.Humanoid = wbe8f18351
- F8b9881.Started = tick()
- F8b9881.Loop = Gff8a9.Heartbeat:Connect(K55a66bdb0a)
- return true
- end
- local function ked19e5()
- if not F8b9881 then
- return false
- end
- F8b9881.Gyro:Destroy()
- F8b9881.Velocity:Destroy()
- F8b9881.Loop:Disconnect()
- F8b9881.Humanoid.PlatformStand = false
- F8b9881.Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
- F8b9881 = nil
- return true
- end
- function W2ed0f293()
- local h045955b7c = fb65ba()
- if not h045955b7c then
- return false
- end
- Gee86a741f:FireServer("r" .. "" .. ("nhh6014bof5w"):sub(3, 8):reverse():reverse():reverse():reverse():reverse() .. "" .. "x")
- end
- function S16bb5()
- local rbc592a02 = ked19e5()
- if not rbc592a02 then
- return false
- end
- Gee86a741f:FireServer("t" .. "" .. ("qyxhse"):sub(4, 5):reverse():reverse():reverse() .. "" .. "" .. ("icqpqxbudw"):sub(4, 6):reverse():reverse():reverse():reverse():reverse() .. "" .. "05")
- end
- local function I9a5430543(v88203fec, t89929879)
- if t89929879 then
- return false
- end
- if v88203fec.UserInputType == Enum.UserInputType.Keyboard and v88203fec.KeyCode == Enum.KeyCode.Space and F8b9881 then
- if F8b9881.Type == "Parachute" then
- aaceeaa()
- elseif F8b9881.Type == "Glider" then
- S16bb5()
- end
- end
- end
- local function D7610e(u2ccb5aa35b)
- Gee86a741f, n13c3b55e = u2ccb5aa35b.Event, u2ccb5aa35b.em
- function n13c3b55e.bi8p64kk()
- local dbc484a7ad1 = o5edc864be3()
- if not dbc484a7ad1 then
- Gee86a741f:FireServer("x" .. ("w4gspik"):sub(4, 5):reverse() .. "" .. "" .. ("fcmvo"):sub(3, 4):reverse() .. "" .. "" .. ("u3k4akvyj"):sub(5, 6):reverse():reverse():reverse():reverse():reverse() .. "" .. "3")
- end
- end
- function n13c3b55e.xpsvmka3()
- Af33bb()
- end
- function n13c3b55e.rb4106hx()
- local Z8de95 = fb65ba()
- if not Z8de95 then
- Gee86a741f:FireServer("t" .. ("camse1r"):sub(4, 4):reverse() .. "" .. "hxqp05")
- end
- end
- function n13c3b55e.tshxqp05()
- ked19e5()
- end
- z9666a1801.InputBegan:Connect(I9a5430543)
- end
- return {
- Init = D7610e,
- Parachute = K63570fd80c,
- ParachuteStop = aaceeaa,
- Glider = W2ed0f293,
- GliderStop = S16bb5,
- IsFlying = T3d824
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement