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__LocalPlayer__2 = game:GetService("Players").LocalPlayer;
- local l__Effects__3 = l__LocalPlayer__2:WaitForChild("PlayerGui"):WaitForChild("Effects");
- local l__Events__4 = l__ReplicatedStorage__1:WaitForChild("Events");
- local l__Modules__5 = l__ReplicatedStorage__1:WaitForChild("Modules");
- require(l__Modules__5:WaitForChild("ReplicatedTweening"));
- local v6 = require(l__Modules__5:WaitForChild("Utility"));
- local v7 = require(l__Modules__5:WaitForChild("Tween"));
- local v8 = require(l__Modules__5:WaitForChild("Network"));
- local v9 = require(l__Modules__5:WaitForChild("sound"));
- local l__CoinPickup__10 = l__Events__4:WaitForChild("CoinPickup");
- local l__StrengthEffect__11 = l__Events__4:WaitForChild("StrengthEffect");
- local l__DamageEffect__12 = l__Events__4:WaitForChild("DamageEffect");
- local l__PopupEffectsEnabled__13 = l__LocalPlayer__2:WaitForChild("Settings"):WaitForChild("PopupEffectsEnabled");
- local l__Crown__14 = workspace:WaitForChild("KOTH"):WaitForChild("Crown");
- l__Crown__14:WaitForChild("AnimationController"):LoadAnimation(l__Crown__14:WaitForChild("Spin")):Play();
- local function u1(p1)
- p1:WaitForChild("Animate"):LoadAnimation(script:WaitForChild("Spin")):Play();
- end;
- local function u2(p2)
- p2:WaitForChild("Animate"):LoadAnimation(script:WaitForChild("Spin")):Play();
- end;
- local function u3(p3)
- p3.Animate:LoadAnimation(script:WaitForChild("Spin")):Play();
- end;
- (function(p4)
- local l__next__15 = next;
- local v16, v17 = p4:GetChildren();
- while true do
- local v18, v19 = l__next__15(v16, v17);
- if not v18 then
- break;
- end;
- v17 = v18;
- if v19.Name == "Gem" then
- u3(v19);
- end;
- end;
- p4.ChildAdded:Connect(function(p5)
- if p5.Name == "Gem" then
- u3(p5);
- end;
- end);
- end)(workspace:WaitForChild("Gems"));
- (function(p6)
- local l__next__20 = next;
- local v21, v22 = p6:GetChildren();
- while true do
- local v23, v24 = l__next__20(v21, v22);
- if not v23 then
- break;
- end;
- v22 = v23;
- if v24.Name == "Coin" then
- u1(v24);
- end;
- end;
- p6.ChildAdded:Connect(function(p7)
- if p7.Name == "Coin" then
- u1(p7);
- end;
- end);
- end)(workspace:WaitForChild("Coins"));
- (function(p8)
- local l__next__25 = next;
- local v26, v27 = p8:GetChildren();
- while true do
- local v28, v29 = l__next__25(v26, v27);
- if not v28 then
- break;
- end;
- v27 = v28;
- u2(v29);
- end;
- p8.ChildAdded:Connect(function(p9)
- u2(p9);
- end);
- end)(workspace:WaitForChild("Canes"));
- (function(p10)
- local l__next__30 = next;
- local v31, v32 = p10:GetChildren();
- while true do
- local v33, v34 = l__next__30(v31, v32);
- if not v33 then
- break;
- end;
- v32 = v33;
- if v34.Name == "Gem" then
- u3(v34);
- end;
- end;
- p10.ChildAdded:Connect(function(p11)
- if p11.Name == "Gem" then
- u3(p11);
- end;
- end);
- end)(workspace:WaitForChild("Trophies"));
- local l__Gem__35 = script:WaitForChild("Gem");
- local l__Damage__36 = script:WaitForChild("Damage");
- local l__Strength__37 = script:WaitForChild("Strength");
- local l__Trophies__38 = script:WaitForChild("Trophies");
- local l__Coin__4 = script:WaitForChild("Coin");
- function CoinEffectF(p12, p13)
- if l__PopupEffectsEnabled__13.Value == false then
- return;
- end;
- local l__CurrentCamera__39 = workspace.CurrentCamera;
- local function v40(p14)
- spawn(function()
- wait(math.random() / 4);
- local v41 = l__Coin__4:Clone();
- local l__Icon__42 = v41.Icon;
- local l__Value__43 = l__Icon__42.Value;
- v41.Position = UDim2.new(0.5 + math.random(-20, 20) / 125, 0, 0.5 + math.random(-20, 20) / 125, 0);
- l__Icon__42.ImageTransparency = 1;
- l__Value__43.TextTransparency = 1;
- l__Value__43.TextStrokeTransparency = 1;
- v41.Size = UDim2.new(0, 0, 0, 0);
- v41.Icon.Value.Text = "+" .. tostring(v6:FormatNumber(p14));
- v7:Quick(l__Icon__42, {
- Style = "Quad",
- Time = 0.4,
- Properties = {
- ImageTransparency = 0
- }
- });
- v7:Quick(l__Value__43, {
- Style = "Quad",
- Time = 0.4,
- Properties = {
- TextTransparency = 0,
- TextStrokeTransparency = 0.5
- }
- });
- v7:Quick(v41, {
- Style = "Back",
- Time = 0.4,
- Properties = {
- Size = UDim2.new(0.15, 0, 0.15, 0)
- }
- });
- v41.Parent = l__Effects__3;
- v9:Play("Coin");
- wait(1.5);
- local l__AbsolutePosition__44 = _G.CoinIcon.AbsolutePosition;
- v7:Quick(v41, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- Position = UDim2.new(0, l__AbsolutePosition__44.X, 0, l__AbsolutePosition__44.Y),
- Size = UDim2.new(0.1, 0, 0.1, 0)
- }
- });
- v7:Quick(l__Value__43, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- TextTransparency = 1,
- TextStrokeTransparency = 1
- }
- });
- v7:Quick(l__Icon__42, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- ImageTransparency = 1
- }
- });
- wait(1);
- v41:Destroy();
- end);
- end;
- if p13 < 10 then
- local v45 = 1 - 1;
- while true do
- v40(1);
- if 0 <= 1 then
- if v45 < p13 then
- else
- break;
- end;
- elseif p13 < v45 then
- else
- break;
- end;
- v45 = v45 + 1;
- end;
- return;
- end;
- local v46 = 1 - 1;
- while true do
- v40(math.floor(p13 / 10));
- if 0 <= 1 then
- if v46 < 10 then
- else
- break;
- end;
- elseif 10 < v46 then
- else
- break;
- end;
- v46 = v46 + 1;
- end;
- end;
- function SoulEffect(p15)
- if l__PopupEffectsEnabled__13.Value == false then
- return;
- end;
- local v47 = workspace.CurrentCamera:WorldToScreenPoint(l__LocalPlayer__2.Character.HumanoidRootPart.Position);
- local function v48(p16)
- spawn(function()
- wait(math.random() / 4);
- local v49 = script.Soul:Clone();
- local l__Icon__50 = v49.Icon;
- local l__Value__51 = l__Icon__50.Value;
- v49.Position = UDim2.new(0.5 + math.random(-20, 20) / 125, 0, 0.5 + math.random(-20, 20) / 125, 0);
- l__Icon__50.ImageTransparency = 1;
- l__Value__51.TextTransparency = 1;
- l__Value__51.TextStrokeTransparency = 1;
- v49.Size = UDim2.new(0, 0, 0, 0);
- v49.Icon.Value.Text = "+" .. tostring(v6:FormatNumber(p16));
- v7:Quick(l__Icon__50, {
- Style = "Quad",
- Time = 0.4,
- Properties = {
- ImageTransparency = 0
- }
- });
- v7:Quick(l__Value__51, {
- Style = "Quad",
- Time = 0.4,
- Properties = {
- TextTransparency = 0,
- TextStrokeTransparency = 0.5
- }
- });
- v7:Quick(v49, {
- Style = "Back",
- Time = 0.4,
- Properties = {
- Size = UDim2.new(0.15, 0, 0.15, 0)
- }
- });
- v49.Parent = l__Effects__3;
- wait(1.5);
- local l__AbsolutePosition__52 = _G.SoulIcon.AbsolutePosition;
- v7:Quick(v49, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- Position = UDim2.new(0, l__AbsolutePosition__52.X, 0, l__AbsolutePosition__52.Y),
- Size = UDim2.new(0.1, 0, 0.1, 0)
- }
- });
- v7:Quick(l__Value__51, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- TextTransparency = 1,
- TextStrokeTransparency = 1
- }
- });
- v7:Quick(l__Icon__50, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- ImageTransparency = 1
- }
- });
- wait(1);
- v49:Destroy();
- end);
- end;
- if p15 < 10 then
- local v53 = 1 - 1;
- while true do
- v48(1);
- if 0 <= 1 then
- if v53 < p15 then
- else
- break;
- end;
- elseif p15 < v53 then
- else
- break;
- end;
- v53 = v53 + 1;
- end;
- return;
- end;
- local v54 = 1 - 1;
- while true do
- v48(math.floor(p15 / 10));
- if 0 <= 1 then
- if v54 < 10 then
- else
- break;
- end;
- elseif 10 < v54 then
- else
- break;
- end;
- v54 = v54 + 1;
- end;
- end;
- function CandyCaneEffect(p17)
- if l__PopupEffectsEnabled__13.Value == false then
- return;
- end;
- local v55 = workspace.CurrentCamera:WorldToScreenPoint(l__LocalPlayer__2.Character.HumanoidRootPart.Position);
- local function v56(p18)
- spawn(function()
- wait(math.random() / 4);
- local v57 = script.CandyCane:Clone();
- local l__Icon__58 = v57.Icon;
- local l__Value__59 = l__Icon__58.Value;
- v57.Position = UDim2.new(0.5 + math.random(-20, 20) / 125, 0, 0.5 + math.random(-20, 20) / 125, 0);
- l__Icon__58.ImageTransparency = 1;
- l__Value__59.TextTransparency = 1;
- l__Value__59.TextStrokeTransparency = 1;
- v57.Size = UDim2.new(0, 0, 0, 0);
- v57.Icon.Value.Text = "+" .. tostring(v6:FormatNumber(p18));
- v7:Quick(l__Icon__58, {
- Style = "Quad",
- Time = 0.4,
- Properties = {
- ImageTransparency = 0
- }
- });
- v7:Quick(l__Value__59, {
- Style = "Quad",
- Time = 0.4,
- Properties = {
- TextTransparency = 0,
- TextStrokeTransparency = 0.5
- }
- });
- v7:Quick(v57, {
- Style = "Back",
- Time = 0.4,
- Properties = {
- Size = UDim2.new(0.15, 0, 0.15, 0)
- }
- });
- v57.Parent = l__Effects__3;
- v9:Play("BubblePop");
- wait(1.5);
- local l__AbsolutePosition__60 = _G.CandyCaneIcon.AbsolutePosition;
- v7:Quick(v57, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- Position = UDim2.new(0, l__AbsolutePosition__60.X, 0, l__AbsolutePosition__60.Y),
- Size = UDim2.new(0.1, 0, 0.1, 0)
- }
- });
- v7:Quick(l__Value__59, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- TextTransparency = 1,
- TextStrokeTransparency = 1
- }
- });
- v7:Quick(l__Icon__58, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- ImageTransparency = 1
- }
- });
- wait(1);
- v57:Destroy();
- end);
- end;
- if p17 < 10 then
- local v61 = 1 - 1;
- while true do
- v56(1);
- if 0 <= 1 then
- if v61 < p17 then
- else
- break;
- end;
- elseif p17 < v61 then
- else
- break;
- end;
- v61 = v61 + 1;
- end;
- return;
- end;
- local v62 = 1 - 1;
- while true do
- v56(math.floor(p17 / 10));
- if 0 <= 1 then
- if v62 < 10 then
- else
- break;
- end;
- elseif 10 < v62 then
- else
- break;
- end;
- v62 = v62 + 1;
- end;
- end;
- function TrophyEffect(p19)
- if l__PopupEffectsEnabled__13.Value == false then
- return;
- end;
- local v63 = workspace.CurrentCamera:WorldToScreenPoint(l__LocalPlayer__2.Character.HumanoidRootPart.Position);
- local function v64(p20)
- spawn(function()
- wait(math.random() / 4);
- local v65 = script.Trophies:Clone();
- local l__Icon__66 = v65.Icon;
- local l__Value__67 = l__Icon__66.Value;
- v65.Position = UDim2.new(0.5 + math.random(-20, 20) / 125, 0, 0.5 + math.random(-20, 20) / 125, 0);
- l__Icon__66.ImageTransparency = 1;
- l__Value__67.TextTransparency = 1;
- l__Value__67.TextStrokeTransparency = 1;
- v65.Size = UDim2.new(0, 0, 0, 0);
- v65.Icon.Value.Text = "+" .. tostring(v6:FormatNumber(p20));
- v7:Quick(l__Icon__66, {
- Style = "Quad",
- Time = 0.4,
- Properties = {
- ImageTransparency = 0
- }
- });
- v7:Quick(l__Value__67, {
- Style = "Quad",
- Time = 0.4,
- Properties = {
- TextTransparency = 0,
- TextStrokeTransparency = 0.5
- }
- });
- v7:Quick(v65, {
- Style = "Back",
- Time = 0.4,
- Properties = {
- Size = UDim2.new(0.15, 0, 0.15, 0)
- }
- });
- v65.Parent = l__Effects__3;
- v9:Play("BubblePop");
- wait(1.5);
- local l__AbsolutePosition__68 = _G.CandyCaneIcon.AbsolutePosition;
- v7:Quick(v65, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- Position = UDim2.new(0, l__AbsolutePosition__68.X, 0, l__AbsolutePosition__68.Y),
- Size = UDim2.new(0.1, 0, 0.1, 0)
- }
- });
- v7:Quick(l__Value__67, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- TextTransparency = 1,
- TextStrokeTransparency = 1
- }
- });
- v7:Quick(l__Icon__66, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- ImageTransparency = 1
- }
- });
- wait(1);
- v65:Destroy();
- end);
- end;
- if p19 < 10 then
- local v69 = 1 - 1;
- while true do
- v64(1);
- if 0 <= 1 then
- if v69 < p19 then
- else
- break;
- end;
- elseif p19 < v69 then
- else
- break;
- end;
- v69 = v69 + 1;
- end;
- return;
- end;
- local v70 = 1 - 1;
- while true do
- v64(math.floor(p19 / 10));
- if 0 <= 1 then
- if v70 < 10 then
- else
- break;
- end;
- elseif 10 < v70 then
- else
- break;
- end;
- v70 = v70 + 1;
- end;
- end;
- l__CoinPickup__10.OnClientEvent:Connect(CoinEffectF);
- l__Events__4:WaitForChild("SoulEffect").OnClientEvent:Connect(SoulEffect);
- l__Events__4:WaitForChild("GemEffect").OnClientEvent:Connect(function(p21)
- if l__PopupEffectsEnabled__13.Value == false then
- return;
- end;
- local v71 = workspace.CurrentCamera:WorldToScreenPoint(l__LocalPlayer__2.Character.HumanoidRootPart.Position);
- local function v72(p22)
- spawn(function()
- wait(math.random() / 4);
- local v73 = script.Gem:Clone();
- local l__Icon__74 = v73.Icon;
- local l__Value__75 = l__Icon__74.Value;
- v73.Position = UDim2.new(0.5 + math.random(-20, 20) / 125, 0, 0.5 + math.random(-20, 20) / 125, 0);
- l__Icon__74.ImageTransparency = 1;
- l__Value__75.TextTransparency = 1;
- l__Value__75.TextStrokeTransparency = 1;
- v73.Size = UDim2.new(0, 0, 0, 0);
- v73.Icon.Value.Text = "+" .. tostring(v6:FormatNumber(p22));
- v7:Quick(l__Icon__74, {
- Style = "Quad",
- Time = 0.4,
- Properties = {
- ImageTransparency = 0
- }
- });
- v7:Quick(l__Value__75, {
- Style = "Quad",
- Time = 0.4,
- Properties = {
- TextTransparency = 0,
- TextStrokeTransparency = 0.5
- }
- });
- v7:Quick(v73, {
- Style = "Back",
- Time = 0.4,
- Properties = {
- Size = UDim2.new(0.15, 0, 0.15, 0)
- }
- });
- v73.Parent = l__Effects__3;
- wait(1.5);
- local l__AbsolutePosition__76 = _G.GemIcon.AbsolutePosition;
- v7:Quick(v73, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- Position = UDim2.new(0, l__AbsolutePosition__76.X, 0, l__AbsolutePosition__76.Y),
- Size = UDim2.new(0.1, 0, 0.1, 0)
- }
- });
- v7:Quick(l__Value__75, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- TextTransparency = 1,
- TextStrokeTransparency = 1
- }
- });
- v7:Quick(l__Icon__74, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- ImageTransparency = 1
- }
- });
- wait(1);
- v73:Destroy();
- end);
- end;
- if p21 < 10 then
- for v77 = 1, p21 do
- v72(1);
- end;
- return;
- end;
- for v78 = 1, 10 do
- v72(math.floor(p21 / 10));
- end;
- end);
- l__Events__4:WaitForChild("CandyCaneEffect").OnClientEvent:Connect(CandyCaneEffect);
- l__Events__4:WaitForChild("TrophyEffect").OnClientEvent:Connect(TrophyEffect);
- l__StrengthEffect__11.OnClientEvent:Connect(function(p23)
- if l__PopupEffectsEnabled__13.Value == false then
- return;
- end;
- local v79 = workspace.CurrentCamera:WorldToScreenPoint(l__LocalPlayer__2.Character.PrimaryPart.Position);
- local v80 = l__Strength__37:Clone();
- local l__Icon__81 = v80.Icon;
- local l__Value__82 = l__Icon__81.Value;
- v80.Position = UDim2.new(0.5 + math.random(-20, 20) / 125, 0, 0.5 + math.random(-20, 20) / 125, 0);
- l__Icon__81.ImageTransparency = 1;
- l__Value__82.TextTransparency = 1;
- l__Value__82.TextStrokeTransparency = 1;
- v80.Size = UDim2.new(0, 0, 0, 0);
- v80.Icon.Value.Text = "+" .. tostring(v6:FormatNumber(p23));
- v7:Quick(l__Icon__81, {
- Style = "Quad",
- Time = 0.4,
- Properties = {
- ImageTransparency = 0
- }
- });
- v7:Quick(l__Value__82, {
- Style = "Quad",
- Time = 0.4,
- Properties = {
- TextTransparency = 0,
- TextStrokeTransparency = 0.5
- }
- });
- v7:Quick(v80, {
- Style = "Back",
- Time = 0.4,
- Properties = {
- Size = UDim2.new(0.15, 0, 0.15, 0)
- }
- });
- v80.Parent = l__Effects__3;
- wait(1.5);
- local l__AbsolutePosition__83 = _G.StrengthIcon.AbsolutePosition;
- v7:Quick(v80, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- Position = UDim2.new(0, l__AbsolutePosition__83.X, 0, l__AbsolutePosition__83.Y),
- Size = UDim2.new(0.1, 0, 0.1, 0)
- }
- });
- v7:Quick(l__Value__82, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- TextTransparency = 1,
- TextStrokeTransparency = 1
- }
- });
- v7:Quick(l__Icon__81, {
- Style = "Quint",
- Time = 0.4,
- Properties = {
- ImageTransparency = 1
- }
- });
- wait(1);
- v80:Destroy();
- end);
- local l__Punch__5 = script:WaitForChild("Punch");
- function PunchEffect(p24)
- local v84 = l__Punch__5:Clone();
- v84.Position = p24;
- local l__Image__85 = v84.Frame.Image;
- l__Image__85.Size = UDim2.new(0.5, 0, 0.5, 0);
- l__Image__85.AnchorPoint = Vector2.new(0.5, 0.5);
- l__Image__85.Position = UDim2.new(0.5, 0, 0.5, 0);
- local v86 = {
- Time = 0.15,
- Properties = {
- Size = UDim2.new(3, 0, 3, 0),
- Rotation = math.random(-50, 50)
- }
- };
- function v86.OnComplete()
- v7:Quick(l__Image__85, {
- Time = 0.2,
- Properties = {
- ImageTransparency = 1
- }
- });
- end;
- v7:Quick(l__Image__85, v86);
- v84.Parent = workspace;
- v84.Sound.PlaybackSpeed = 0.75 + math.random() / 2;
- v84.Sound:Play();
- delay(1, function()
- v84:Destroy();
- end);
- end;
- l__Events__4:WaitForChild("PunchEffect").OnClientEvent:Connect(PunchEffect);
- l__DamageEffect__12.OnClientEvent:Connect(function(p25, p26)
- local v87 = l__Damage__36:Clone();
- local v88 = workspace.CurrentCamera:WorldToScreenPoint(p25);
- v87.Position = UDim2.new(0, v88.X, 0, v88.Y);
- v87.Value.Text = "-" .. v6:FormatNumber(p26);
- v7:Quick(v87, {
- Time = 3,
- Style = "Quart",
- Properties = {
- Position = v87.Position - UDim2.new(0, 0, 0.15, 0)
- }
- });
- v7:Quick(v87.Value, {
- Time = 3,
- Style = "Quart",
- Properties = {
- TextTransparency = 1,
- TextStrokeTransparency = 1.5
- }
- });
- v87.Parent = l__Effects__3;
- wait(3);
- v87:Destroy();
- end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement