Advertisement
Guest User

123123

a guest
Mar 28th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.68 KB | None | 0 0
  1. -- Decompiled with the Synapse X Luau decompiler.
  2.  
  3. local l__ReplicatedStorage__1 = game:GetService("ReplicatedStorage");
  4. local l__LocalPlayer__2 = game:GetService("Players").LocalPlayer;
  5. local l__Effects__3 = l__LocalPlayer__2:WaitForChild("PlayerGui"):WaitForChild("Effects");
  6. local l__Events__4 = l__ReplicatedStorage__1:WaitForChild("Events");
  7. local l__Modules__5 = l__ReplicatedStorage__1:WaitForChild("Modules");
  8. require(l__Modules__5:WaitForChild("ReplicatedTweening"));
  9. local v6 = require(l__Modules__5:WaitForChild("Utility"));
  10. local v7 = require(l__Modules__5:WaitForChild("Tween"));
  11. local v8 = require(l__Modules__5:WaitForChild("Network"));
  12. local v9 = require(l__Modules__5:WaitForChild("sound"));
  13. local l__CoinPickup__10 = l__Events__4:WaitForChild("CoinPickup");
  14. local l__StrengthEffect__11 = l__Events__4:WaitForChild("StrengthEffect");
  15. local l__DamageEffect__12 = l__Events__4:WaitForChild("DamageEffect");
  16. local l__PopupEffectsEnabled__13 = l__LocalPlayer__2:WaitForChild("Settings"):WaitForChild("PopupEffectsEnabled");
  17. local l__Crown__14 = workspace:WaitForChild("KOTH"):WaitForChild("Crown");
  18. l__Crown__14:WaitForChild("AnimationController"):LoadAnimation(l__Crown__14:WaitForChild("Spin")):Play();
  19. local function u1(p1)
  20. p1:WaitForChild("Animate"):LoadAnimation(script:WaitForChild("Spin")):Play();
  21. end;
  22. local function u2(p2)
  23. p2:WaitForChild("Animate"):LoadAnimation(script:WaitForChild("Spin")):Play();
  24. end;
  25. local function u3(p3)
  26. p3.Animate:LoadAnimation(script:WaitForChild("Spin")):Play();
  27. end;
  28. (function(p4)
  29. local l__next__15 = next;
  30. local v16, v17 = p4:GetChildren();
  31. while true do
  32. local v18, v19 = l__next__15(v16, v17);
  33. if not v18 then
  34. break;
  35. end;
  36. v17 = v18;
  37. if v19.Name == "Gem" then
  38. u3(v19);
  39. end;
  40. end;
  41. p4.ChildAdded:Connect(function(p5)
  42. if p5.Name == "Gem" then
  43. u3(p5);
  44. end;
  45. end);
  46. end)(workspace:WaitForChild("Gems"));
  47. (function(p6)
  48. local l__next__20 = next;
  49. local v21, v22 = p6:GetChildren();
  50. while true do
  51. local v23, v24 = l__next__20(v21, v22);
  52. if not v23 then
  53. break;
  54. end;
  55. v22 = v23;
  56. if v24.Name == "Coin" then
  57. u1(v24);
  58. end;
  59. end;
  60. p6.ChildAdded:Connect(function(p7)
  61. if p7.Name == "Coin" then
  62. u1(p7);
  63. end;
  64. end);
  65. end)(workspace:WaitForChild("Coins"));
  66. (function(p8)
  67. local l__next__25 = next;
  68. local v26, v27 = p8:GetChildren();
  69. while true do
  70. local v28, v29 = l__next__25(v26, v27);
  71. if not v28 then
  72. break;
  73. end;
  74. v27 = v28;
  75. u2(v29);
  76. end;
  77. p8.ChildAdded:Connect(function(p9)
  78. u2(p9);
  79. end);
  80. end)(workspace:WaitForChild("Canes"));
  81. (function(p10)
  82. local l__next__30 = next;
  83. local v31, v32 = p10:GetChildren();
  84. while true do
  85. local v33, v34 = l__next__30(v31, v32);
  86. if not v33 then
  87. break;
  88. end;
  89. v32 = v33;
  90. if v34.Name == "Gem" then
  91. u3(v34);
  92. end;
  93. end;
  94. p10.ChildAdded:Connect(function(p11)
  95. if p11.Name == "Gem" then
  96. u3(p11);
  97. end;
  98. end);
  99. end)(workspace:WaitForChild("Trophies"));
  100. local l__Gem__35 = script:WaitForChild("Gem");
  101. local l__Damage__36 = script:WaitForChild("Damage");
  102. local l__Strength__37 = script:WaitForChild("Strength");
  103. local l__Trophies__38 = script:WaitForChild("Trophies");
  104. local l__Coin__4 = script:WaitForChild("Coin");
  105. function CoinEffectF(p12, p13)
  106. if l__PopupEffectsEnabled__13.Value == false then
  107. return;
  108. end;
  109. local l__CurrentCamera__39 = workspace.CurrentCamera;
  110. local function v40(p14)
  111. spawn(function()
  112. wait(math.random() / 4);
  113. local v41 = l__Coin__4:Clone();
  114. local l__Icon__42 = v41.Icon;
  115. local l__Value__43 = l__Icon__42.Value;
  116. v41.Position = UDim2.new(0.5 + math.random(-20, 20) / 125, 0, 0.5 + math.random(-20, 20) / 125, 0);
  117. l__Icon__42.ImageTransparency = 1;
  118. l__Value__43.TextTransparency = 1;
  119. l__Value__43.TextStrokeTransparency = 1;
  120. v41.Size = UDim2.new(0, 0, 0, 0);
  121. v41.Icon.Value.Text = "+" .. tostring(v6:FormatNumber(p14));
  122. v7:Quick(l__Icon__42, {
  123. Style = "Quad",
  124. Time = 0.4,
  125. Properties = {
  126. ImageTransparency = 0
  127. }
  128. });
  129. v7:Quick(l__Value__43, {
  130. Style = "Quad",
  131. Time = 0.4,
  132. Properties = {
  133. TextTransparency = 0,
  134. TextStrokeTransparency = 0.5
  135. }
  136. });
  137. v7:Quick(v41, {
  138. Style = "Back",
  139. Time = 0.4,
  140. Properties = {
  141. Size = UDim2.new(0.15, 0, 0.15, 0)
  142. }
  143. });
  144. v41.Parent = l__Effects__3;
  145. v9:Play("Coin");
  146. wait(1.5);
  147. local l__AbsolutePosition__44 = _G.CoinIcon.AbsolutePosition;
  148. v7:Quick(v41, {
  149. Style = "Quint",
  150. Time = 0.4,
  151. Properties = {
  152. Position = UDim2.new(0, l__AbsolutePosition__44.X, 0, l__AbsolutePosition__44.Y),
  153. Size = UDim2.new(0.1, 0, 0.1, 0)
  154. }
  155. });
  156. v7:Quick(l__Value__43, {
  157. Style = "Quint",
  158. Time = 0.4,
  159. Properties = {
  160. TextTransparency = 1,
  161. TextStrokeTransparency = 1
  162. }
  163. });
  164. v7:Quick(l__Icon__42, {
  165. Style = "Quint",
  166. Time = 0.4,
  167. Properties = {
  168. ImageTransparency = 1
  169. }
  170. });
  171. wait(1);
  172. v41:Destroy();
  173. end);
  174. end;
  175. if p13 < 10 then
  176. local v45 = 1 - 1;
  177. while true do
  178. v40(1);
  179. if 0 <= 1 then
  180. if v45 < p13 then
  181.  
  182. else
  183. break;
  184. end;
  185. elseif p13 < v45 then
  186.  
  187. else
  188. break;
  189. end;
  190. v45 = v45 + 1;
  191. end;
  192. return;
  193. end;
  194. local v46 = 1 - 1;
  195. while true do
  196. v40(math.floor(p13 / 10));
  197. if 0 <= 1 then
  198. if v46 < 10 then
  199.  
  200. else
  201. break;
  202. end;
  203. elseif 10 < v46 then
  204.  
  205. else
  206. break;
  207. end;
  208. v46 = v46 + 1;
  209. end;
  210. end;
  211. function SoulEffect(p15)
  212. if l__PopupEffectsEnabled__13.Value == false then
  213. return;
  214. end;
  215. local v47 = workspace.CurrentCamera:WorldToScreenPoint(l__LocalPlayer__2.Character.HumanoidRootPart.Position);
  216. local function v48(p16)
  217. spawn(function()
  218. wait(math.random() / 4);
  219. local v49 = script.Soul:Clone();
  220. local l__Icon__50 = v49.Icon;
  221. local l__Value__51 = l__Icon__50.Value;
  222. v49.Position = UDim2.new(0.5 + math.random(-20, 20) / 125, 0, 0.5 + math.random(-20, 20) / 125, 0);
  223. l__Icon__50.ImageTransparency = 1;
  224. l__Value__51.TextTransparency = 1;
  225. l__Value__51.TextStrokeTransparency = 1;
  226. v49.Size = UDim2.new(0, 0, 0, 0);
  227. v49.Icon.Value.Text = "+" .. tostring(v6:FormatNumber(p16));
  228. v7:Quick(l__Icon__50, {
  229. Style = "Quad",
  230. Time = 0.4,
  231. Properties = {
  232. ImageTransparency = 0
  233. }
  234. });
  235. v7:Quick(l__Value__51, {
  236. Style = "Quad",
  237. Time = 0.4,
  238. Properties = {
  239. TextTransparency = 0,
  240. TextStrokeTransparency = 0.5
  241. }
  242. });
  243. v7:Quick(v49, {
  244. Style = "Back",
  245. Time = 0.4,
  246. Properties = {
  247. Size = UDim2.new(0.15, 0, 0.15, 0)
  248. }
  249. });
  250. v49.Parent = l__Effects__3;
  251. wait(1.5);
  252. local l__AbsolutePosition__52 = _G.SoulIcon.AbsolutePosition;
  253. v7:Quick(v49, {
  254. Style = "Quint",
  255. Time = 0.4,
  256. Properties = {
  257. Position = UDim2.new(0, l__AbsolutePosition__52.X, 0, l__AbsolutePosition__52.Y),
  258. Size = UDim2.new(0.1, 0, 0.1, 0)
  259. }
  260. });
  261. v7:Quick(l__Value__51, {
  262. Style = "Quint",
  263. Time = 0.4,
  264. Properties = {
  265. TextTransparency = 1,
  266. TextStrokeTransparency = 1
  267. }
  268. });
  269. v7:Quick(l__Icon__50, {
  270. Style = "Quint",
  271. Time = 0.4,
  272. Properties = {
  273. ImageTransparency = 1
  274. }
  275. });
  276. wait(1);
  277. v49:Destroy();
  278. end);
  279. end;
  280. if p15 < 10 then
  281. local v53 = 1 - 1;
  282. while true do
  283. v48(1);
  284. if 0 <= 1 then
  285. if v53 < p15 then
  286.  
  287. else
  288. break;
  289. end;
  290. elseif p15 < v53 then
  291.  
  292. else
  293. break;
  294. end;
  295. v53 = v53 + 1;
  296. end;
  297. return;
  298. end;
  299. local v54 = 1 - 1;
  300. while true do
  301. v48(math.floor(p15 / 10));
  302. if 0 <= 1 then
  303. if v54 < 10 then
  304.  
  305. else
  306. break;
  307. end;
  308. elseif 10 < v54 then
  309.  
  310. else
  311. break;
  312. end;
  313. v54 = v54 + 1;
  314. end;
  315. end;
  316. function CandyCaneEffect(p17)
  317. if l__PopupEffectsEnabled__13.Value == false then
  318. return;
  319. end;
  320. local v55 = workspace.CurrentCamera:WorldToScreenPoint(l__LocalPlayer__2.Character.HumanoidRootPart.Position);
  321. local function v56(p18)
  322. spawn(function()
  323. wait(math.random() / 4);
  324. local v57 = script.CandyCane:Clone();
  325. local l__Icon__58 = v57.Icon;
  326. local l__Value__59 = l__Icon__58.Value;
  327. v57.Position = UDim2.new(0.5 + math.random(-20, 20) / 125, 0, 0.5 + math.random(-20, 20) / 125, 0);
  328. l__Icon__58.ImageTransparency = 1;
  329. l__Value__59.TextTransparency = 1;
  330. l__Value__59.TextStrokeTransparency = 1;
  331. v57.Size = UDim2.new(0, 0, 0, 0);
  332. v57.Icon.Value.Text = "+" .. tostring(v6:FormatNumber(p18));
  333. v7:Quick(l__Icon__58, {
  334. Style = "Quad",
  335. Time = 0.4,
  336. Properties = {
  337. ImageTransparency = 0
  338. }
  339. });
  340. v7:Quick(l__Value__59, {
  341. Style = "Quad",
  342. Time = 0.4,
  343. Properties = {
  344. TextTransparency = 0,
  345. TextStrokeTransparency = 0.5
  346. }
  347. });
  348. v7:Quick(v57, {
  349. Style = "Back",
  350. Time = 0.4,
  351. Properties = {
  352. Size = UDim2.new(0.15, 0, 0.15, 0)
  353. }
  354. });
  355. v57.Parent = l__Effects__3;
  356. v9:Play("BubblePop");
  357. wait(1.5);
  358. local l__AbsolutePosition__60 = _G.CandyCaneIcon.AbsolutePosition;
  359. v7:Quick(v57, {
  360. Style = "Quint",
  361. Time = 0.4,
  362. Properties = {
  363. Position = UDim2.new(0, l__AbsolutePosition__60.X, 0, l__AbsolutePosition__60.Y),
  364. Size = UDim2.new(0.1, 0, 0.1, 0)
  365. }
  366. });
  367. v7:Quick(l__Value__59, {
  368. Style = "Quint",
  369. Time = 0.4,
  370. Properties = {
  371. TextTransparency = 1,
  372. TextStrokeTransparency = 1
  373. }
  374. });
  375. v7:Quick(l__Icon__58, {
  376. Style = "Quint",
  377. Time = 0.4,
  378. Properties = {
  379. ImageTransparency = 1
  380. }
  381. });
  382. wait(1);
  383. v57:Destroy();
  384. end);
  385. end;
  386. if p17 < 10 then
  387. local v61 = 1 - 1;
  388. while true do
  389. v56(1);
  390. if 0 <= 1 then
  391. if v61 < p17 then
  392.  
  393. else
  394. break;
  395. end;
  396. elseif p17 < v61 then
  397.  
  398. else
  399. break;
  400. end;
  401. v61 = v61 + 1;
  402. end;
  403. return;
  404. end;
  405. local v62 = 1 - 1;
  406. while true do
  407. v56(math.floor(p17 / 10));
  408. if 0 <= 1 then
  409. if v62 < 10 then
  410.  
  411. else
  412. break;
  413. end;
  414. elseif 10 < v62 then
  415.  
  416. else
  417. break;
  418. end;
  419. v62 = v62 + 1;
  420. end;
  421. end;
  422. function TrophyEffect(p19)
  423. if l__PopupEffectsEnabled__13.Value == false then
  424. return;
  425. end;
  426. local v63 = workspace.CurrentCamera:WorldToScreenPoint(l__LocalPlayer__2.Character.HumanoidRootPart.Position);
  427. local function v64(p20)
  428. spawn(function()
  429. wait(math.random() / 4);
  430. local v65 = script.Trophies:Clone();
  431. local l__Icon__66 = v65.Icon;
  432. local l__Value__67 = l__Icon__66.Value;
  433. v65.Position = UDim2.new(0.5 + math.random(-20, 20) / 125, 0, 0.5 + math.random(-20, 20) / 125, 0);
  434. l__Icon__66.ImageTransparency = 1;
  435. l__Value__67.TextTransparency = 1;
  436. l__Value__67.TextStrokeTransparency = 1;
  437. v65.Size = UDim2.new(0, 0, 0, 0);
  438. v65.Icon.Value.Text = "+" .. tostring(v6:FormatNumber(p20));
  439. v7:Quick(l__Icon__66, {
  440. Style = "Quad",
  441. Time = 0.4,
  442. Properties = {
  443. ImageTransparency = 0
  444. }
  445. });
  446. v7:Quick(l__Value__67, {
  447. Style = "Quad",
  448. Time = 0.4,
  449. Properties = {
  450. TextTransparency = 0,
  451. TextStrokeTransparency = 0.5
  452. }
  453. });
  454. v7:Quick(v65, {
  455. Style = "Back",
  456. Time = 0.4,
  457. Properties = {
  458. Size = UDim2.new(0.15, 0, 0.15, 0)
  459. }
  460. });
  461. v65.Parent = l__Effects__3;
  462. v9:Play("BubblePop");
  463. wait(1.5);
  464. local l__AbsolutePosition__68 = _G.CandyCaneIcon.AbsolutePosition;
  465. v7:Quick(v65, {
  466. Style = "Quint",
  467. Time = 0.4,
  468. Properties = {
  469. Position = UDim2.new(0, l__AbsolutePosition__68.X, 0, l__AbsolutePosition__68.Y),
  470. Size = UDim2.new(0.1, 0, 0.1, 0)
  471. }
  472. });
  473. v7:Quick(l__Value__67, {
  474. Style = "Quint",
  475. Time = 0.4,
  476. Properties = {
  477. TextTransparency = 1,
  478. TextStrokeTransparency = 1
  479. }
  480. });
  481. v7:Quick(l__Icon__66, {
  482. Style = "Quint",
  483. Time = 0.4,
  484. Properties = {
  485. ImageTransparency = 1
  486. }
  487. });
  488. wait(1);
  489. v65:Destroy();
  490. end);
  491. end;
  492. if p19 < 10 then
  493. local v69 = 1 - 1;
  494. while true do
  495. v64(1);
  496. if 0 <= 1 then
  497. if v69 < p19 then
  498.  
  499. else
  500. break;
  501. end;
  502. elseif p19 < v69 then
  503.  
  504. else
  505. break;
  506. end;
  507. v69 = v69 + 1;
  508. end;
  509. return;
  510. end;
  511. local v70 = 1 - 1;
  512. while true do
  513. v64(math.floor(p19 / 10));
  514. if 0 <= 1 then
  515. if v70 < 10 then
  516.  
  517. else
  518. break;
  519. end;
  520. elseif 10 < v70 then
  521.  
  522. else
  523. break;
  524. end;
  525. v70 = v70 + 1;
  526. end;
  527. end;
  528. l__CoinPickup__10.OnClientEvent:Connect(CoinEffectF);
  529. l__Events__4:WaitForChild("SoulEffect").OnClientEvent:Connect(SoulEffect);
  530. l__Events__4:WaitForChild("GemEffect").OnClientEvent:Connect(function(p21)
  531. if l__PopupEffectsEnabled__13.Value == false then
  532. return;
  533. end;
  534. local v71 = workspace.CurrentCamera:WorldToScreenPoint(l__LocalPlayer__2.Character.HumanoidRootPart.Position);
  535. local function v72(p22)
  536. spawn(function()
  537. wait(math.random() / 4);
  538. local v73 = script.Gem:Clone();
  539. local l__Icon__74 = v73.Icon;
  540. local l__Value__75 = l__Icon__74.Value;
  541. v73.Position = UDim2.new(0.5 + math.random(-20, 20) / 125, 0, 0.5 + math.random(-20, 20) / 125, 0);
  542. l__Icon__74.ImageTransparency = 1;
  543. l__Value__75.TextTransparency = 1;
  544. l__Value__75.TextStrokeTransparency = 1;
  545. v73.Size = UDim2.new(0, 0, 0, 0);
  546. v73.Icon.Value.Text = "+" .. tostring(v6:FormatNumber(p22));
  547. v7:Quick(l__Icon__74, {
  548. Style = "Quad",
  549. Time = 0.4,
  550. Properties = {
  551. ImageTransparency = 0
  552. }
  553. });
  554. v7:Quick(l__Value__75, {
  555. Style = "Quad",
  556. Time = 0.4,
  557. Properties = {
  558. TextTransparency = 0,
  559. TextStrokeTransparency = 0.5
  560. }
  561. });
  562. v7:Quick(v73, {
  563. Style = "Back",
  564. Time = 0.4,
  565. Properties = {
  566. Size = UDim2.new(0.15, 0, 0.15, 0)
  567. }
  568. });
  569. v73.Parent = l__Effects__3;
  570. wait(1.5);
  571. local l__AbsolutePosition__76 = _G.GemIcon.AbsolutePosition;
  572. v7:Quick(v73, {
  573. Style = "Quint",
  574. Time = 0.4,
  575. Properties = {
  576. Position = UDim2.new(0, l__AbsolutePosition__76.X, 0, l__AbsolutePosition__76.Y),
  577. Size = UDim2.new(0.1, 0, 0.1, 0)
  578. }
  579. });
  580. v7:Quick(l__Value__75, {
  581. Style = "Quint",
  582. Time = 0.4,
  583. Properties = {
  584. TextTransparency = 1,
  585. TextStrokeTransparency = 1
  586. }
  587. });
  588. v7:Quick(l__Icon__74, {
  589. Style = "Quint",
  590. Time = 0.4,
  591. Properties = {
  592. ImageTransparency = 1
  593. }
  594. });
  595. wait(1);
  596. v73:Destroy();
  597. end);
  598. end;
  599. if p21 < 10 then
  600. for v77 = 1, p21 do
  601. v72(1);
  602. end;
  603. return;
  604. end;
  605. for v78 = 1, 10 do
  606. v72(math.floor(p21 / 10));
  607. end;
  608. end);
  609. l__Events__4:WaitForChild("CandyCaneEffect").OnClientEvent:Connect(CandyCaneEffect);
  610. l__Events__4:WaitForChild("TrophyEffect").OnClientEvent:Connect(TrophyEffect);
  611. l__StrengthEffect__11.OnClientEvent:Connect(function(p23)
  612. if l__PopupEffectsEnabled__13.Value == false then
  613. return;
  614. end;
  615. local v79 = workspace.CurrentCamera:WorldToScreenPoint(l__LocalPlayer__2.Character.PrimaryPart.Position);
  616. local v80 = l__Strength__37:Clone();
  617. local l__Icon__81 = v80.Icon;
  618. local l__Value__82 = l__Icon__81.Value;
  619. v80.Position = UDim2.new(0.5 + math.random(-20, 20) / 125, 0, 0.5 + math.random(-20, 20) / 125, 0);
  620. l__Icon__81.ImageTransparency = 1;
  621. l__Value__82.TextTransparency = 1;
  622. l__Value__82.TextStrokeTransparency = 1;
  623. v80.Size = UDim2.new(0, 0, 0, 0);
  624. v80.Icon.Value.Text = "+" .. tostring(v6:FormatNumber(p23));
  625. v7:Quick(l__Icon__81, {
  626. Style = "Quad",
  627. Time = 0.4,
  628. Properties = {
  629. ImageTransparency = 0
  630. }
  631. });
  632. v7:Quick(l__Value__82, {
  633. Style = "Quad",
  634. Time = 0.4,
  635. Properties = {
  636. TextTransparency = 0,
  637. TextStrokeTransparency = 0.5
  638. }
  639. });
  640. v7:Quick(v80, {
  641. Style = "Back",
  642. Time = 0.4,
  643. Properties = {
  644. Size = UDim2.new(0.15, 0, 0.15, 0)
  645. }
  646. });
  647. v80.Parent = l__Effects__3;
  648. wait(1.5);
  649. local l__AbsolutePosition__83 = _G.StrengthIcon.AbsolutePosition;
  650. v7:Quick(v80, {
  651. Style = "Quint",
  652. Time = 0.4,
  653. Properties = {
  654. Position = UDim2.new(0, l__AbsolutePosition__83.X, 0, l__AbsolutePosition__83.Y),
  655. Size = UDim2.new(0.1, 0, 0.1, 0)
  656. }
  657. });
  658. v7:Quick(l__Value__82, {
  659. Style = "Quint",
  660. Time = 0.4,
  661. Properties = {
  662. TextTransparency = 1,
  663. TextStrokeTransparency = 1
  664. }
  665. });
  666. v7:Quick(l__Icon__81, {
  667. Style = "Quint",
  668. Time = 0.4,
  669. Properties = {
  670. ImageTransparency = 1
  671. }
  672. });
  673. wait(1);
  674. v80:Destroy();
  675. end);
  676. local l__Punch__5 = script:WaitForChild("Punch");
  677. function PunchEffect(p24)
  678. local v84 = l__Punch__5:Clone();
  679. v84.Position = p24;
  680. local l__Image__85 = v84.Frame.Image;
  681. l__Image__85.Size = UDim2.new(0.5, 0, 0.5, 0);
  682. l__Image__85.AnchorPoint = Vector2.new(0.5, 0.5);
  683. l__Image__85.Position = UDim2.new(0.5, 0, 0.5, 0);
  684. local v86 = {
  685. Time = 0.15,
  686. Properties = {
  687. Size = UDim2.new(3, 0, 3, 0),
  688. Rotation = math.random(-50, 50)
  689. }
  690. };
  691. function v86.OnComplete()
  692. v7:Quick(l__Image__85, {
  693. Time = 0.2,
  694. Properties = {
  695. ImageTransparency = 1
  696. }
  697. });
  698. end;
  699. v7:Quick(l__Image__85, v86);
  700. v84.Parent = workspace;
  701. v84.Sound.PlaybackSpeed = 0.75 + math.random() / 2;
  702. v84.Sound:Play();
  703. delay(1, function()
  704. v84:Destroy();
  705. end);
  706. end;
  707. l__Events__4:WaitForChild("PunchEffect").OnClientEvent:Connect(PunchEffect);
  708. l__DamageEffect__12.OnClientEvent:Connect(function(p25, p26)
  709. local v87 = l__Damage__36:Clone();
  710. local v88 = workspace.CurrentCamera:WorldToScreenPoint(p25);
  711. v87.Position = UDim2.new(0, v88.X, 0, v88.Y);
  712. v87.Value.Text = "-" .. v6:FormatNumber(p26);
  713. v7:Quick(v87, {
  714. Time = 3,
  715. Style = "Quart",
  716. Properties = {
  717. Position = v87.Position - UDim2.new(0, 0, 0.15, 0)
  718. }
  719. });
  720. v7:Quick(v87.Value, {
  721. Time = 3,
  722. Style = "Quart",
  723. Properties = {
  724. TextTransparency = 1,
  725. TextStrokeTransparency = 1.5
  726. }
  727. });
  728. v87.Parent = l__Effects__3;
  729. wait(3);
  730. v87:Destroy();
  731. end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement