Advertisement
XZTablets

Untitled

Mar 28th, 2020
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.43 KB | None | 0 0
  1. -- Decompiled with the Synapse X Luau decompiler.
  2.  
  3. local l__ReplicatedStorage__1 = game:GetService("ReplicatedStorage");
  4. local l__UserInputService__2 = game:GetService("UserInputService");
  5. local l__LocalPlayer__3 = game:GetService("Players").LocalPlayer;
  6. local l__PlayerGui__4 = l__LocalPlayer__3:WaitForChild("PlayerGui");
  7. local v5 = require(l__ReplicatedStorage__1.Client.Cache);
  8. while v5.synced ~= true do
  9. wait();
  10. end;
  11. local u1 = nil;
  12. local u2 = nil;
  13. local u3 = require(l__ReplicatedStorage__1.Network);
  14. local u4 = nil;
  15. local u5 = require(l__ReplicatedStorage__1.SFX);
  16. local u6 = Vector3.new(0, -workspace.Gravity, 0);
  17. local u7 = require(l__ReplicatedStorage__1.Create);
  18. local u8 = nil;
  19. local u9 = nil;
  20. local u10 = nil;
  21. local l__Anims__11 = script:WaitForChild("Anims");
  22. local u12 = nil;
  23. local u13 = nil;
  24. local u14 = nil;
  25. local u15 = nil;
  26. local u16 = nil;
  27. local function u17(p1, p2)
  28. p1 = p1 or u1;
  29. p2 = p2 or u4.PrimaryPart.Position;
  30. if p1 == nil then
  31. return;
  32. end;
  33. if p2 == nil then
  34. return;
  35. end;
  36. u5:Play("Woosh");
  37. local l__SodaTool__6 = p1.SodaTool;
  38. local l__Handle__7 = l__SodaTool__6.Handle;
  39. local l__Weld__8 = l__Handle__7.Weld;
  40. local l__CFrame__9 = l__Handle__7.CFrame;
  41. local v10 = u7(l__SodaTool__6, {
  42. Parent = workspace
  43. });
  44. v10.Handle.Weld:Destroy();
  45. l__Weld__8.C0 = CFrame.new(0, 5000, 0);
  46. v10.Handle.CFrame = l__CFrame__9;
  47. v10.Handle.Velocity = (p2 - l__CFrame__9.Position - 0.5 * u6 * 0.4 * 0.4) / 0.4;
  48. wait(0.4);
  49. v10:Destroy();
  50. l__Weld__8.C0 = CFrame.new();
  51. end;
  52. local u18 = nil;
  53. local u19 = nil;
  54. local u20 = nil;
  55. local u21 = nil;
  56. local l__RunService__22 = game:GetService("RunService");
  57. local u23 = nil;
  58. local u24 = nil;
  59. local function u25(p3)
  60. if u1 then
  61. u2.Velocity = p3.Velocity or Vector3.new();
  62. u2.MaxForce = p3.MaxForce or Vector3.new();
  63. u3:Fire("UpdateAntigrav", u2, p3);
  64. end;
  65. end;
  66. local u26 = 0;
  67. local function v11(p4)
  68. if p4 then
  69. u1 = nil;
  70. u8 = p4:WaitForChild("Humanoid");
  71. u9 = p4:WaitForChild("HumanoidRootPart");
  72. u8:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false);
  73. u10 = u8:LoadAnimation(l__Anims__11.Hold);
  74. u12 = u8:LoadAnimation(l__Anims__11.Fizz);
  75. u13 = u8:LoadAnimation(l__Anims__11.Blast);
  76. u14 = u8:LoadAnimation(l__Anims__11.Glide);
  77. u15 = u8:LoadAnimation(l__Anims__11.Throw);
  78. u13:GetMarkerReachedSignal("Blast"):Connect(function()
  79. u5:Play("BlastOff2");
  80. u5:Play("BlastOff");
  81. u3:Fire("BlastOff");
  82. local l__next__12 = next;
  83. local v13, v14 = u16.Handle.BlastEffects:GetChildren();
  84. while true do
  85. local v15, v16 = l__next__12(v13, v14);
  86. if not v15 then
  87. break;
  88. end;
  89. v14 = v15;
  90. if v16:IsA("ParticleEmitter") then
  91. v16.Enabled = true;
  92. end;
  93. end;
  94. wait(0.6);
  95. local l__next__17 = next;
  96. local v18, v19 = u16.Handle.BlastEffects:GetChildren();
  97. while true do
  98. local v20, v21 = l__next__17(v18, v19);
  99. if not v20 then
  100. break;
  101. end;
  102. v19 = v20;
  103. if v21:IsA("ParticleEmitter") then
  104. v21.Enabled = false;
  105. end;
  106. end;
  107. end);
  108. u15:GetMarkerReachedSignal("Throw"):Connect(function()
  109. local v22, v23 = pcall(u17);
  110. if u4 and v22 then
  111. u3:Fire("AttackPlayer", u4);
  112. end;
  113. end);
  114. u18 = u8.JumpPower;
  115. u19 = u18 * 1.1;
  116. u20 = u19 / 1;
  117. while u16 == nil or u16.Parent ~= p4 do
  118. u3:Fire("DispenseSoda");
  119. u16 = p4:WaitForChild("SodaTool", 5);
  120. u10:Play();
  121. end;
  122. while u2 == nil or u2.Parent ~= u9 do
  123. u3:Fire("DispenseAntigrav");
  124. u2 = u9:WaitForChild("Antigrav", 5);
  125. end;
  126. local u27 = p4.ChildAdded:Connect(function(p5)
  127. if p5.Name == "SodaTool" then
  128. u16 = p5;
  129. return;
  130. end;
  131. if p5.Name == "Glider" then
  132. u21 = p5.Speed.Value;
  133. l__RunService__22:UnbindFromRenderStep("Glider");
  134. l__RunService__22:BindToRenderStep("Glider", 100, function(p6)
  135. if not u23 or not (not u24) then
  136. u14:Stop();
  137. u25({
  138. Velocity = Vector3.new(),
  139. MaxForce = Vector3.new()
  140. });
  141. return;
  142. end;
  143. u14:Play(0.5);
  144. local l__MoveDirection__24 = u8.MoveDirection;
  145. u25({
  146. Velocity = Vector3.new(l__MoveDirection__24.X * u21, -10, l__MoveDirection__24.Z * u21),
  147. MaxForce = Vector3.new(10000, 10000, 10000)
  148. });
  149. end);
  150. u3:Fire("DispenseGlider");
  151. end;
  152. end);
  153. local u28 = p4.ChildRemoved:Connect(function(p7)
  154. if p7.Name == "Glider" then
  155. l__RunService__22:UnbindFromRenderStep("Glider");
  156. u14:Stop(0.5);
  157. u25({
  158. Velocity = Vector3.new(),
  159. MaxForce = Vector3.new()
  160. });
  161. u3:Fire("ShedGlider");
  162. end;
  163. end);
  164. local v25 = u8.StateChanged:Connect(function(p8, p9)
  165. if p9 == Enum.HumanoidStateType.Freefall then
  166. wait(0.15);
  167. u23 = true;
  168. return;
  169. end;
  170. if p9 == Enum.HumanoidStateType.Landed then
  171. u26 = 0;
  172. u23 = false;
  173. u8.WalkSpeed = 20;
  174. workspace.Gravity = 196.2;
  175. return;
  176. end;
  177. if p9 == Enum.HumanoidStateType.Dead then
  178. u1 = nil;
  179. u26 = 0;
  180. u23 = false;
  181. workspace.Gravity = 196.2;
  182. if u27 and u28 then
  183. return;
  184. end;
  185. end;
  186. end);
  187. u1 = p4;
  188. end;
  189. end;
  190. local u29 = nil;
  191. local u30 = require(l__PlayerGui__4:WaitForChild("Main"):WaitForChild("JumpAlert"):WaitForChild("JumpAlert"));
  192. local l__CollectionService__31 = game:GetService("CollectionService");
  193. local l__TargetGui__32 = script:WaitForChild("TargetGui");
  194. local l__Camera__33 = workspace.Camera;
  195. local u34 = false;
  196. local u35 = 1;
  197. local function u36()
  198. if u1 then
  199. if u34 or u24 then
  200. return;
  201. end;
  202. u34 = true;
  203. u12:Play();
  204. u3:Fire("TryFizz");
  205. if u35 == 1 then
  206. u5:Play("SodaShake1");
  207. else
  208. u5:Play("SodaShake2");
  209. end;
  210. u35 = (u35 + 1) % 2;
  211. wait(0.12);
  212. u34 = false;
  213. end;
  214. end;
  215. local l__Autoclick__37 = script:WaitForChild("Autoclick");
  216. local function u38()
  217. if not u4 or u15.IsPlaying ~= false then
  218. u36();
  219. return;
  220. end;
  221. u15:Play();
  222. end;
  223. v11(l__LocalPlayer__3.Character);
  224. l__TargetGui__32.Parent = l__PlayerGui__4;
  225. l__RunService__22:BindToRenderStep("Targeting", 5, function()
  226. local v26 = nil;
  227. if u1 then
  228. if u15.IsPlaying then
  229. return;
  230. end;
  231. local v27, v28 = pcall(function()
  232. local v29 = nil;
  233. local l__next__30 = next;
  234. local v31, v32 = l__CollectionService__31:GetTagged("PVPTarget");
  235. while true do
  236. local v33, v34 = l__next__30(v31, v32);
  237. if not v33 then
  238. break;
  239. end;
  240. v32 = v33;
  241. if v34 ~= u1 then
  242. v29 = v29 and v34;
  243. if v29 ~= v34 and (v34.PrimaryPart.Position - u9.Position).magnitude <= (v29.PrimaryPart.Position - u9.Position).magnitude then
  244. v29 = v34;
  245. end;
  246. end;
  247. end;
  248. local v35 = false;
  249. if (v29.PrimaryPart.Position - u9.Position).magnitude <= 20 then
  250. v35 = v29;
  251. end;
  252. return v35;
  253. end);
  254. v26 = v27 or v28;
  255. end;
  256. if v26 then
  257. local v36 = true;
  258. else
  259. v36 = false;
  260. end;
  261. l__TargetGui__32.Enabled = v36;
  262. l__TargetGui__32.Adornee = v26 and v26.HumanoidRootPart or nil;
  263. u4 = v26;
  264. end);
  265. if l__LocalPlayer__3.Character then
  266. v11(l__LocalPlayer__3.Character);
  267. end;
  268. l__LocalPlayer__3.CharacterAdded:Connect(v11);
  269. l__UserInputService__2.JumpRequest:Connect(function()
  270. if u1 and u16 then
  271. if u8:GetState() == Enum.HumanoidStateType.Jumping then
  272. return;
  273. end;
  274. if u24 then
  275. return;
  276. end;
  277. if v5.Jumps.Equipped <= u26 then
  278. return;
  279. end;
  280. if u23 then
  281. u24 = true;
  282. u29 = tick();
  283. u26 = u26 + 1;
  284. u13:Play();
  285. workspace.Gravity = u20;
  286. u8.WalkSpeed = 70;
  287. u8.JumpPower = u19;
  288. u8.Jump = true;
  289. u8:ChangeState(Enum.HumanoidStateType.Jumping);
  290. u5:Play("Woosh");
  291. u30:Alert(v5.Jumps.Equipped - u26, v5.Jumps.Equipped);
  292. wait(1);
  293. workspace.Gravity = 196.2;
  294. u8.JumpPower = u18;
  295. u24 = false;
  296. for v37 = 1, 10 do
  297. if u29 ~= u29 then
  298. break;
  299. end;
  300. u8.WalkSpeed = 70 - 5 * v37;
  301. wait(0.1);
  302. end;
  303. end;
  304. end;
  305. end);
  306. l__UserInputService__2.InputBegan:Connect(function(p10, p11)
  307. if u1 then
  308. if p11 or l__Autoclick__37.Value then
  309. return;
  310. end;
  311. if p10.UserInputType == Enum.UserInputType.MouseButton1 then
  312. u38();
  313. end;
  314. end;
  315. end);
  316. l__UserInputService__2.TouchTapInWorld:Connect(function(p12, p13)
  317. if u1 then
  318. if p13 or l__Autoclick__37.Value then
  319. return;
  320. end;
  321. u38();
  322. end;
  323. end);
  324. script.Click.Event:Connect(u38);
  325. u3:On("ReplicateAttack", function(p14, p15)
  326. if p14 == u1 then
  327. return;
  328. end;
  329. if (p15 - l__Camera__33.CFrame.Position).magnitude < 300 then
  330. u17(p14, p15);
  331. end;
  332. end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement