Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Decompiled with the Synapse X Luau decompiler.
- local l__ReplicatedStorage__1 = game:GetService("ReplicatedStorage");
- local l__UserInputService__2 = game:GetService("UserInputService");
- local l__LocalPlayer__3 = game:GetService("Players").LocalPlayer;
- local l__PlayerGui__4 = l__LocalPlayer__3:WaitForChild("PlayerGui");
- local v5 = require(l__ReplicatedStorage__1.Client.Cache);
- while v5.synced ~= true do
- wait();
- end;
- local u1 = nil;
- local u2 = nil;
- local u3 = require(l__ReplicatedStorage__1.Network);
- local u4 = nil;
- local u5 = require(l__ReplicatedStorage__1.SFX);
- local u6 = Vector3.new(0, -workspace.Gravity, 0);
- local u7 = require(l__ReplicatedStorage__1.Create);
- local u8 = nil;
- local u9 = nil;
- local u10 = nil;
- local l__Anims__11 = script:WaitForChild("Anims");
- local u12 = nil;
- local u13 = nil;
- local u14 = nil;
- local u15 = nil;
- local u16 = nil;
- local function u17(p1, p2)
- p1 = p1 or u1;
- p2 = p2 or u4.PrimaryPart.Position;
- if p1 == nil then
- return;
- end;
- if p2 == nil then
- return;
- end;
- u5:Play("Woosh");
- local l__SodaTool__6 = p1.SodaTool;
- local l__Handle__7 = l__SodaTool__6.Handle;
- local l__Weld__8 = l__Handle__7.Weld;
- local l__CFrame__9 = l__Handle__7.CFrame;
- local v10 = u7(l__SodaTool__6, {
- Parent = workspace
- });
- v10.Handle.Weld:Destroy();
- l__Weld__8.C0 = CFrame.new(0, 5000, 0);
- v10.Handle.CFrame = l__CFrame__9;
- v10.Handle.Velocity = (p2 - l__CFrame__9.Position - 0.5 * u6 * 0.4 * 0.4) / 0.4;
- wait(0.4);
- v10:Destroy();
- l__Weld__8.C0 = CFrame.new();
- end;
- local u18 = nil;
- local u19 = nil;
- local u20 = nil;
- local u21 = nil;
- local l__RunService__22 = game:GetService("RunService");
- local u23 = nil;
- local u24 = nil;
- local function u25(p3)
- if u1 then
- u2.Velocity = p3.Velocity or Vector3.new();
- u2.MaxForce = p3.MaxForce or Vector3.new();
- u3:Fire("UpdateAntigrav", u2, p3);
- end;
- end;
- local u26 = 0;
- local function v11(p4)
- if p4 then
- u1 = nil;
- u8 = p4:WaitForChild("Humanoid");
- u9 = p4:WaitForChild("HumanoidRootPart");
- u8:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false);
- u10 = u8:LoadAnimation(l__Anims__11.Hold);
- u12 = u8:LoadAnimation(l__Anims__11.Fizz);
- u13 = u8:LoadAnimation(l__Anims__11.Blast);
- u14 = u8:LoadAnimation(l__Anims__11.Glide);
- u15 = u8:LoadAnimation(l__Anims__11.Throw);
- u13:GetMarkerReachedSignal("Blast"):Connect(function()
- u5:Play("BlastOff2");
- u5:Play("BlastOff");
- u3:Fire("BlastOff");
- local l__next__12 = next;
- local v13, v14 = u16.Handle.BlastEffects:GetChildren();
- while true do
- local v15, v16 = l__next__12(v13, v14);
- if not v15 then
- break;
- end;
- v14 = v15;
- if v16:IsA("ParticleEmitter") then
- v16.Enabled = true;
- end;
- end;
- wait(0.6);
- local l__next__17 = next;
- local v18, v19 = u16.Handle.BlastEffects:GetChildren();
- while true do
- local v20, v21 = l__next__17(v18, v19);
- if not v20 then
- break;
- end;
- v19 = v20;
- if v21:IsA("ParticleEmitter") then
- v21.Enabled = false;
- end;
- end;
- end);
- u15:GetMarkerReachedSignal("Throw"):Connect(function()
- local v22, v23 = pcall(u17);
- if u4 and v22 then
- u3:Fire("AttackPlayer", u4);
- end;
- end);
- u18 = u8.JumpPower;
- u19 = u18 * 1.1;
- u20 = u19 / 1;
- while u16 == nil or u16.Parent ~= p4 do
- u3:Fire("DispenseSoda");
- u16 = p4:WaitForChild("SodaTool", 5);
- u10:Play();
- end;
- while u2 == nil or u2.Parent ~= u9 do
- u3:Fire("DispenseAntigrav");
- u2 = u9:WaitForChild("Antigrav", 5);
- end;
- local u27 = p4.ChildAdded:Connect(function(p5)
- if p5.Name == "SodaTool" then
- u16 = p5;
- return;
- end;
- if p5.Name == "Glider" then
- u21 = p5.Speed.Value;
- l__RunService__22:UnbindFromRenderStep("Glider");
- l__RunService__22:BindToRenderStep("Glider", 100, function(p6)
- if not u23 or not (not u24) then
- u14:Stop();
- u25({
- Velocity = Vector3.new(),
- MaxForce = Vector3.new()
- });
- return;
- end;
- u14:Play(0.5);
- local l__MoveDirection__24 = u8.MoveDirection;
- u25({
- Velocity = Vector3.new(l__MoveDirection__24.X * u21, -10, l__MoveDirection__24.Z * u21),
- MaxForce = Vector3.new(10000, 10000, 10000)
- });
- end);
- u3:Fire("DispenseGlider");
- end;
- end);
- local u28 = p4.ChildRemoved:Connect(function(p7)
- if p7.Name == "Glider" then
- l__RunService__22:UnbindFromRenderStep("Glider");
- u14:Stop(0.5);
- u25({
- Velocity = Vector3.new(),
- MaxForce = Vector3.new()
- });
- u3:Fire("ShedGlider");
- end;
- end);
- local v25 = u8.StateChanged:Connect(function(p8, p9)
- if p9 == Enum.HumanoidStateType.Freefall then
- wait(0.15);
- u23 = true;
- return;
- end;
- if p9 == Enum.HumanoidStateType.Landed then
- u26 = 0;
- u23 = false;
- u8.WalkSpeed = 20;
- workspace.Gravity = 196.2;
- return;
- end;
- if p9 == Enum.HumanoidStateType.Dead then
- u1 = nil;
- u26 = 0;
- u23 = false;
- workspace.Gravity = 196.2;
- if u27 and u28 then
- return;
- end;
- end;
- end);
- u1 = p4;
- end;
- end;
- local u29 = nil;
- local u30 = require(l__PlayerGui__4:WaitForChild("Main"):WaitForChild("JumpAlert"):WaitForChild("JumpAlert"));
- local l__CollectionService__31 = game:GetService("CollectionService");
- local l__TargetGui__32 = script:WaitForChild("TargetGui");
- local l__Camera__33 = workspace.Camera;
- local u34 = false;
- local u35 = 1;
- local function u36()
- if u1 then
- if u34 or u24 then
- return;
- end;
- u34 = true;
- u12:Play();
- u3:Fire("TryFizz");
- if u35 == 1 then
- u5:Play("SodaShake1");
- else
- u5:Play("SodaShake2");
- end;
- u35 = (u35 + 1) % 2;
- wait(0.12);
- u34 = false;
- end;
- end;
- local l__Autoclick__37 = script:WaitForChild("Autoclick");
- local function u38()
- if not u4 or u15.IsPlaying ~= false then
- u36();
- return;
- end;
- u15:Play();
- end;
- v11(l__LocalPlayer__3.Character);
- l__TargetGui__32.Parent = l__PlayerGui__4;
- l__RunService__22:BindToRenderStep("Targeting", 5, function()
- local v26 = nil;
- if u1 then
- if u15.IsPlaying then
- return;
- end;
- local v27, v28 = pcall(function()
- local v29 = nil;
- local l__next__30 = next;
- local v31, v32 = l__CollectionService__31:GetTagged("PVPTarget");
- while true do
- local v33, v34 = l__next__30(v31, v32);
- if not v33 then
- break;
- end;
- v32 = v33;
- if v34 ~= u1 then
- v29 = v29 and v34;
- if v29 ~= v34 and (v34.PrimaryPart.Position - u9.Position).magnitude <= (v29.PrimaryPart.Position - u9.Position).magnitude then
- v29 = v34;
- end;
- end;
- end;
- local v35 = false;
- if (v29.PrimaryPart.Position - u9.Position).magnitude <= 20 then
- v35 = v29;
- end;
- return v35;
- end);
- v26 = v27 or v28;
- end;
- if v26 then
- local v36 = true;
- else
- v36 = false;
- end;
- l__TargetGui__32.Enabled = v36;
- l__TargetGui__32.Adornee = v26 and v26.HumanoidRootPart or nil;
- u4 = v26;
- end);
- if l__LocalPlayer__3.Character then
- v11(l__LocalPlayer__3.Character);
- end;
- l__LocalPlayer__3.CharacterAdded:Connect(v11);
- l__UserInputService__2.JumpRequest:Connect(function()
- if u1 and u16 then
- if u8:GetState() == Enum.HumanoidStateType.Jumping then
- return;
- end;
- if u24 then
- return;
- end;
- if v5.Jumps.Equipped <= u26 then
- return;
- end;
- if u23 then
- u24 = true;
- u29 = tick();
- u26 = u26 + 1;
- u13:Play();
- workspace.Gravity = u20;
- u8.WalkSpeed = 70;
- u8.JumpPower = u19;
- u8.Jump = true;
- u8:ChangeState(Enum.HumanoidStateType.Jumping);
- u5:Play("Woosh");
- u30:Alert(v5.Jumps.Equipped - u26, v5.Jumps.Equipped);
- wait(1);
- workspace.Gravity = 196.2;
- u8.JumpPower = u18;
- u24 = false;
- for v37 = 1, 10 do
- if u29 ~= u29 then
- break;
- end;
- u8.WalkSpeed = 70 - 5 * v37;
- wait(0.1);
- end;
- end;
- end;
- end);
- l__UserInputService__2.InputBegan:Connect(function(p10, p11)
- if u1 then
- if p11 or l__Autoclick__37.Value then
- return;
- end;
- if p10.UserInputType == Enum.UserInputType.MouseButton1 then
- u38();
- end;
- end;
- end);
- l__UserInputService__2.TouchTapInWorld:Connect(function(p12, p13)
- if u1 then
- if p13 or l__Autoclick__37.Value then
- return;
- end;
- u38();
- end;
- end);
- script.Click.Event:Connect(u38);
- u3:On("ReplicateAttack", function(p14, p15)
- if p14 == u1 then
- return;
- end;
- if (p15 - l__Camera__33.CFrame.Position).magnitude < 300 then
- u17(p14, p15);
- end;
- end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement