Advertisement
Im_Meme

Untitled

May 9th, 2019
547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 101.07 KB | None | 0 0
  1. wait(2.5)
  2.  
  3. --SynapseX Decompiler
  4.  
  5. repeat
  6. wait()
  7. until getfenv(1)
  8. local CurrentEnvironment = getfenv(1)
  9. local Player = game:service("Players").LocalPlayer
  10. local Char = Player.Character
  11. Char = Char or Player.CharacterAdded:Wait()
  12. Char.Animate:Destroy()
  13. Char.Humanoid.Animator:Destroy()
  14. pcall(function()
  15. Char.Sound:Destroy()
  16. end)
  17. local Mouse = Player:GetMouse()
  18. local RArm = Char["Right Arm"]
  19. local LArm = Char["Left Arm"]
  20. local RLeg = Char["Right Leg"]
  21. local LLeg = Char["Left Leg"]
  22. local Torso = Char.Torso
  23. local RootPart = Char.HumanoidRootPart
  24. local RootJoint = RootPart.RootJoint
  25. local RShoulder = Torso:WaitForChild("Right Shoulder")
  26. local LShoulder = Torso:WaitForChild("Left Shoulder")
  27. local RHip = Torso:WaitForChild("Right Hip")
  28. local LHip = Torso:WaitForChild("Left Hip")
  29. local Neck = Torso:WaitForChild("Neck")
  30. local rjdef = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  31. local rsdef = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  32. local lsdef = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  33. local rhdef = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  34. local lhdef = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  35. local neckdef = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  36. local Attacking = false
  37. local Cooldowns = {
  38. Z = {Current = 0, Max = 10},
  39. X = {Current = 0, Max = 15},
  40. C = {Current = 0, Max = 9},
  41. V = {Current = 0, Max = 19},
  42. E = {Current = 0, Max = 8}
  43. }
  44. local Stat = {
  45. Mana = 250,
  46. Speed = 1,
  47. Defense = 0.9,
  48. Speed = 1.3,
  49. Attack = 1
  50. }
  51. local ZMove = "Roll"
  52. local XMove = "Follow"
  53. local CMove = "Trip"
  54. local VMove = "Explode"
  55. local MainUXColor = Color3.fromRGB(90, 0, 255)
  56. local WG = Instance.new("ScreenGui")
  57. local Z = Instance.new("Frame")
  58. local ZCool = Instance.new("Frame")
  59. local Letter = Instance.new("TextLabel")
  60. local MoveName = Instance.new("TextLabel")
  61. local Aero = Instance.new("ImageLabel")
  62. local X = Instance.new("Frame")
  63. local ZCool_2 = Instance.new("Frame")
  64. local Letter_2 = Instance.new("TextLabel")
  65. local MoveName_2 = Instance.new("TextLabel")
  66. local Aero_2 = Instance.new("ImageLabel")
  67. local C = Instance.new("Frame")
  68. local ZCool_3 = Instance.new("Frame")
  69. local Letter_3 = Instance.new("TextLabel")
  70. local MoveName_3 = Instance.new("TextLabel")
  71. local Aero_3 = Instance.new("ImageLabel")
  72. local V = Instance.new("Frame")
  73. local ZCool_4 = Instance.new("Frame")
  74. local Letter_4 = Instance.new("TextLabel")
  75. local MoveName_4 = Instance.new("TextLabel")
  76. local Aero_4 = Instance.new("ImageLabel")
  77. local Mana = Instance.new("Frame")
  78. local ZCool_5 = Instance.new("Frame")
  79. local Aero_5 = Instance.new("ImageLabel")
  80. local Stats = Instance.new("Frame")
  81. local Attack = Instance.new("Frame")
  82. local Head = Instance.new("TextLabel")
  83. local Val = Instance.new("TextLabel")
  84. local Defense = Instance.new("Frame")
  85. local Head_2 = Instance.new("TextLabel")
  86. local Val_2 = Instance.new("TextLabel")
  87. local Speed = Instance.new("Frame")
  88. local Head_3 = Instance.new("TextLabel")
  89. local Val_3 = Instance.new("TextLabel")
  90. local Health = Instance.new("Frame")
  91. local Head_4 = Instance.new("TextLabel")
  92. local Val_4 = Instance.new("TextLabel")
  93. local Smile = Instance.new("Frame")
  94. local Head_5 = Instance.new("TextLabel")
  95. local Val_5 = Instance.new("TextLabel")
  96. local Aero_6 = Instance.new("ImageLabel")
  97. WG.Name = "UX"
  98. WG.Parent = Player.PlayerGui
  99. Z.Name = "Z"
  100. Z.Parent = WG
  101. Z.BackgroundColor3 = MainUXColor
  102. Z.BackgroundTransparency = 0.80000001192093
  103. Z.BorderColor3 = MainUXColor
  104. Z.BorderSizePixel = 2
  105. Z.Position = UDim2.new(1, -190, 1, -90)
  106. Z.Size = UDim2.new(0, 180, 0, 80)
  107. ZCool.Name = "ZCool"
  108. ZCool.Parent = Z
  109. ZCool.BackgroundColor3 = MainUXColor
  110. ZCool.BackgroundTransparency = 0.5
  111. ZCool.BorderColor3 = Color3.new(0.286275, 0.866667, 0.866667)
  112. ZCool.BorderSizePixel = 0
  113. ZCool.Size = UDim2.new(1, 0, 1, 0)
  114. Letter.Name = "Letter"
  115. Letter.Parent = Z
  116. Letter.BackgroundColor3 = Color3.new(1, 1, 1)
  117. Letter.BackgroundTransparency = 1
  118. Letter.BorderSizePixel = 0
  119. Letter.Size = UDim2.new(1, 0, 0, 50)
  120. Letter.Font = Enum.Font.SourceSansBold
  121. Letter.FontSize = Enum.FontSize.Size32
  122. Letter.Text = "[Z]"
  123. Letter.TextColor3 = Color3.new(1, 1, 1)
  124. Letter.TextSize = 30
  125. MoveName.Name = "MoveName"
  126. MoveName.Parent = Z
  127. MoveName.BackgroundColor3 = Color3.new(1, 1, 1)
  128. MoveName.BackgroundTransparency = 1
  129. MoveName.BorderSizePixel = 0
  130. MoveName.Position = UDim2.new(0, 0, 0, 45)
  131. MoveName.Size = UDim2.new(1, 0, 0, 30)
  132. MoveName.Font = Enum.Font.SourceSansBold
  133. MoveName.FontSize = Enum.FontSize.Size28
  134. MoveName.Text = ZMove
  135. MoveName.TextColor3 = Color3.new(1, 1, 1)
  136. MoveName.TextSize = 25
  137. Aero.Name = "Aero"
  138. Aero.Parent = Z
  139. Aero.BackgroundColor3 = Color3.new(1, 1, 1)
  140. Aero.BackgroundTransparency = 1
  141. Aero.Position = UDim2.new(0, -5, 0, -5)
  142. Aero.Size = UDim2.new(1, 10, 1, 10)
  143. Aero.Image = "rbxassetid://892210479"
  144. Aero.ScaleType = Enum.ScaleType.Slice
  145. Aero.SliceCenter = Rect.new(6, 6, 25, 25)
  146. X.Name = "X"
  147. X.Parent = WG
  148. X.BackgroundColor3 = MainUXColor
  149. X.BackgroundTransparency = 0.80000001192093
  150. X.BorderColor3 = MainUXColor
  151. X.BorderSizePixel = 2
  152. X.Position = UDim2.new(1, -190, 1, -180)
  153. X.Size = UDim2.new(0, 180, 0, 80)
  154. ZCool_2.Name = "ZCool"
  155. ZCool_2.Parent = X
  156. ZCool_2.BackgroundColor3 = MainUXColor
  157. ZCool_2.BackgroundTransparency = 0.5
  158. ZCool_2.BorderColor3 = Color3.new(0.286275, 0.866667, 0.866667)
  159. ZCool_2.BorderSizePixel = 0
  160. ZCool_2.Size = UDim2.new(1, 0, 1, 0)
  161. Letter_2.Name = "Letter"
  162. Letter_2.Parent = X
  163. Letter_2.BackgroundColor3 = Color3.new(1, 1, 1)
  164. Letter_2.BackgroundTransparency = 1
  165. Letter_2.BorderSizePixel = 0
  166. Letter_2.Size = UDim2.new(1, 0, 0, 50)
  167. Letter_2.Font = Enum.Font.SourceSansBold
  168. Letter_2.FontSize = Enum.FontSize.Size32
  169. Letter_2.Text = "[X]"
  170. Letter_2.TextColor3 = Color3.new(1, 1, 1)
  171. Letter_2.TextSize = 30
  172. MoveName_2.Name = "MoveName"
  173. MoveName_2.Parent = X
  174. MoveName_2.BackgroundColor3 = Color3.new(1, 1, 1)
  175. MoveName_2.BackgroundTransparency = 1
  176. MoveName_2.BorderSizePixel = 0
  177. MoveName_2.Position = UDim2.new(0, 0, 0, 45)
  178. MoveName_2.Size = UDim2.new(1, 0, 0, 30)
  179. MoveName_2.Font = Enum.Font.SourceSansBold
  180. MoveName_2.FontSize = Enum.FontSize.Size28
  181. MoveName_2.Text = XMove
  182. MoveName_2.TextColor3 = Color3.new(1, 1, 1)
  183. MoveName_2.TextSize = 25
  184. Aero_2.Name = "Aero"
  185. Aero_2.Parent = X
  186. Aero_2.BackgroundColor3 = Color3.new(1, 1, 1)
  187. Aero_2.BackgroundTransparency = 1
  188. Aero_2.Position = UDim2.new(0, -5, 0, -5)
  189. Aero_2.Size = UDim2.new(1, 10, 1, 10)
  190. Aero_2.Image = "rbxassetid://892210479"
  191. Aero_2.ScaleType = Enum.ScaleType.Slice
  192. Aero_2.SliceCenter = Rect.new(6, 6, 25, 25)
  193. C.Name = "C"
  194. C.Parent = WG
  195. C.BackgroundColor3 = MainUXColor
  196. C.BackgroundTransparency = 0.80000001192093
  197. C.BorderColor3 = MainUXColor
  198. C.BorderSizePixel = 2
  199. C.Position = UDim2.new(1, -190, 1, -270)
  200. C.Size = UDim2.new(0, 180, 0, 80)
  201. ZCool_3.Name = "ZCool"
  202. ZCool_3.Parent = C
  203. ZCool_3.BackgroundColor3 = MainUXColor
  204. ZCool_3.BackgroundTransparency = 0.5
  205. ZCool_3.BorderColor3 = Color3.new(0.286275, 0.866667, 0.866667)
  206. ZCool_3.BorderSizePixel = 0
  207. ZCool_3.Size = UDim2.new(1, 0, 1, 0)
  208. Letter_3.Name = "Letter"
  209. Letter_3.Parent = C
  210. Letter_3.BackgroundColor3 = Color3.new(1, 1, 1)
  211. Letter_3.BackgroundTransparency = 1
  212. Letter_3.BorderSizePixel = 0
  213. Letter_3.Size = UDim2.new(1, 0, 0, 50)
  214. Letter_3.Font = Enum.Font.SourceSansBold
  215. Letter_3.FontSize = Enum.FontSize.Size32
  216. Letter_3.Text = "[C]"
  217. Letter_3.TextColor3 = Color3.new(1, 1, 1)
  218. Letter_3.TextSize = 30
  219. MoveName_3.Name = "MoveName"
  220. MoveName_3.Parent = C
  221. MoveName_3.BackgroundColor3 = Color3.new(1, 1, 1)
  222. MoveName_3.BackgroundTransparency = 1
  223. MoveName_3.BorderSizePixel = 0
  224. MoveName_3.Position = UDim2.new(0, 0, 0, 45)
  225. MoveName_3.Size = UDim2.new(1, 0, 0, 30)
  226. MoveName_3.Font = Enum.Font.SourceSansBold
  227. MoveName_3.FontSize = Enum.FontSize.Size28
  228. MoveName_3.Text = CMove
  229. MoveName_3.TextColor3 = Color3.new(1, 1, 1)
  230. MoveName_3.TextSize = 25
  231. Aero_3.Name = "Aero"
  232. Aero_3.Parent = C
  233. Aero_3.BackgroundColor3 = Color3.new(1, 1, 1)
  234. Aero_3.BackgroundTransparency = 1
  235. Aero_3.Position = UDim2.new(0, -5, 0, -5)
  236. Aero_3.Size = UDim2.new(1, 10, 1, 10)
  237. Aero_3.Image = "rbxassetid://892210479"
  238. Aero_3.ScaleType = Enum.ScaleType.Slice
  239. Aero_3.SliceCenter = Rect.new(6, 6, 25, 25)
  240. V.Name = "V"
  241. V.Parent = WG
  242. V.BackgroundColor3 = MainUXColor
  243. V.BackgroundTransparency = 0.80000001192093
  244. V.BorderColor3 = MainUXColor
  245. V.BorderSizePixel = 2
  246. V.Position = UDim2.new(1, -190, 1, -360)
  247. V.Size = UDim2.new(0, 180, 0, 80)
  248. ZCool_4.Name = "ZCool"
  249. ZCool_4.Parent = V
  250. ZCool_4.BackgroundColor3 = MainUXColor
  251. ZCool_4.BackgroundTransparency = 0.5
  252. ZCool_4.BorderColor3 = Color3.new(0.286275, 0.866667, 0.866667)
  253. ZCool_4.BorderSizePixel = 0
  254. ZCool_4.Size = UDim2.new(1, 0, 1, 0)
  255. Letter_4.Name = "Letter"
  256. Letter_4.Parent = V
  257. Letter_4.BackgroundColor3 = Color3.new(1, 1, 1)
  258. Letter_4.BackgroundTransparency = 1
  259. Letter_4.BorderSizePixel = 0
  260. Letter_4.Size = UDim2.new(1, 0, 0, 50)
  261. Letter_4.Font = Enum.Font.SourceSansBold
  262. Letter_4.FontSize = Enum.FontSize.Size32
  263. Letter_4.Text = "[V]"
  264. Letter_4.TextColor3 = Color3.new(1, 1, 1)
  265. Letter_4.TextSize = 30
  266. MoveName_4.Name = "MoveName"
  267. MoveName_4.Parent = V
  268. MoveName_4.BackgroundColor3 = Color3.new(1, 1, 1)
  269. MoveName_4.BackgroundTransparency = 1
  270. MoveName_4.BorderSizePixel = 0
  271. MoveName_4.Position = UDim2.new(0, 0, 0, 45)
  272. MoveName_4.Size = UDim2.new(1, 0, 0, 30)
  273. MoveName_4.Font = Enum.Font.SourceSansBold
  274. MoveName_4.FontSize = Enum.FontSize.Size28
  275. MoveName_4.Text = VMove
  276. MoveName_4.TextColor3 = Color3.new(1, 1, 1)
  277. MoveName_4.TextSize = 25
  278. Aero_4.Name = "Aero"
  279. Aero_4.Parent = V
  280. Aero_4.BackgroundColor3 = Color3.new(1, 1, 1)
  281. Aero_4.BackgroundTransparency = 1
  282. Aero_4.Position = UDim2.new(0, -5, 0, -5)
  283. Aero_4.Size = UDim2.new(1, 10, 1, 10)
  284. Aero_4.Image = "rbxassetid://892210479"
  285. Aero_4.ScaleType = Enum.ScaleType.Slice
  286. Aero_4.SliceCenter = Rect.new(6, 6, 25, 25)
  287. Mana.Name = "Mana"
  288. Mana.Parent = WG
  289. Mana.BackgroundColor3 = MainUXColor
  290. Mana.BackgroundTransparency = 0.80000001192093
  291. Mana.BorderColor3 = MainUXColor
  292. Mana.BorderSizePixel = 2
  293. Mana.Position = UDim2.new(1, -210, 1, -150)
  294. Mana.Size = UDim2.new(0, 10, 0, 150)
  295. ZCool_5.Name = "ZCool"
  296. ZCool_5.Parent = Mana
  297. ZCool_5.BackgroundColor3 = MainUXColor
  298. ZCool_5.BackgroundTransparency = 0.5
  299. ZCool_5.BorderColor3 = Color3.new(0.286275, 0.866667, 0.866667)
  300. ZCool_5.BorderSizePixel = 0
  301. ZCool_5.Position = UDim2.new(0, 0, 1, 0)
  302. ZCool_5.Size = UDim2.new(1, 0, 0, 0)
  303. Aero_5.Name = "Aero"
  304. Aero_5.Parent = Mana
  305. Aero_5.BackgroundColor3 = Color3.new(1, 1, 1)
  306. Aero_5.BackgroundTransparency = 1
  307. Aero_5.Position = UDim2.new(0, -5, 0, -5)
  308. Aero_5.Size = UDim2.new(1, 10, 1, 10)
  309. Aero_5.Image = "rbxassetid://892210479"
  310. Aero_5.ScaleType = Enum.ScaleType.Slice
  311. Aero_5.SliceCenter = Rect.new(6, 6, 25, 25)
  312. Stats.Name = "Stats"
  313. Stats.Parent = WG
  314. Stats.BackgroundColor3 = MainUXColor
  315. Stats.BackgroundTransparency = 0.62999999523163
  316. Stats.BorderColor3 = MainUXColor
  317. Stats.BorderSizePixel = 2
  318. Stats.Position = UDim2.new(1, -320, 1, -360)
  319. Stats.Size = UDim2.new(0, 100, 0, 350)
  320. Attack.Name = "Attack"
  321. Attack.Parent = Stats
  322. Attack.BackgroundColor3 = MainUXColor
  323. Attack.BorderColor3 = MainUXColor
  324. Attack.BorderSizePixel = 0
  325. Attack.Position = UDim2.new(0, 10, 0, 10)
  326. Attack.Size = UDim2.new(0, 80, 0, 50)
  327. Head.Name = "Head"
  328. Head.Parent = Attack
  329. Head.BackgroundColor3 = Color3.new(1, 1, 1)
  330. Head.BackgroundTransparency = 1
  331. Head.BorderSizePixel = 0
  332. Head.Size = UDim2.new(1, 0, 0, 20)
  333. Head.Font = Enum.Font.SourceSans
  334. Head.FontSize = Enum.FontSize.Size14
  335. Head.Text = "Attack"
  336. Head.TextColor3 = Color3.new(1, 1, 1)
  337. Head.TextSize = 14
  338. Val.Name = "Val"
  339. Val.Parent = Attack
  340. Val.BackgroundColor3 = Color3.new(1, 1, 1)
  341. Val.BackgroundTransparency = 1
  342. Val.BorderSizePixel = 0
  343. Val.Position = UDim2.new(0, 0, 0, 20)
  344. Val.Size = UDim2.new(1, 0, 0, 20)
  345. Val.Font = Enum.Font.SourceSansBold
  346. Val.FontSize = Enum.FontSize.Size24
  347. Val.Text = "1"
  348. Val.TextColor3 = Color3.new(1, 1, 1)
  349. Val.TextSize = 20
  350. Defense.Name = "Defense"
  351. Defense.Parent = Stats
  352. Defense.BackgroundColor3 = MainUXColor
  353. Defense.BorderColor3 = MainUXColor
  354. Defense.BorderSizePixel = 0
  355. Defense.Position = UDim2.new(0, 10, 0, 70)
  356. Defense.Size = UDim2.new(0, 80, 0, 50)
  357. Head_2.Name = "Head"
  358. Head_2.Parent = Defense
  359. Head_2.BackgroundColor3 = Color3.new(1, 1, 1)
  360. Head_2.BackgroundTransparency = 1
  361. Head_2.BorderSizePixel = 0
  362. Head_2.Size = UDim2.new(1, 0, 0, 20)
  363. Head_2.Font = Enum.Font.SourceSans
  364. Head_2.FontSize = Enum.FontSize.Size14
  365. Head_2.Text = "Defense"
  366. Head_2.TextColor3 = Color3.new(1, 1, 1)
  367. Head_2.TextSize = 14
  368. Val_2.Name = "Val"
  369. Val_2.Parent = Defense
  370. Val_2.BackgroundColor3 = Color3.new(1, 1, 1)
  371. Val_2.BackgroundTransparency = 1
  372. Val_2.BorderSizePixel = 0
  373. Val_2.Position = UDim2.new(0, 0, 0, 20)
  374. Val_2.Size = UDim2.new(1, 0, 0, 20)
  375. Val_2.Font = Enum.Font.SourceSansBold
  376. Val_2.FontSize = Enum.FontSize.Size24
  377. Val_2.Text = "1"
  378. Val_2.TextColor3 = Color3.new(1, 1, 1)
  379. Val_2.TextSize = 20
  380. Speed.Name = "Speed"
  381. Speed.Parent = Stats
  382. Speed.BackgroundColor3 = MainUXColor
  383. Speed.BorderColor3 = MainUXColor
  384. Speed.BorderSizePixel = 0
  385. Speed.Position = UDim2.new(0, 10, 0, 130)
  386. Speed.Size = UDim2.new(0, 80, 0, 50)
  387. Head_3.Name = "Head"
  388. Head_3.Parent = Speed
  389. Head_3.BackgroundColor3 = Color3.new(1, 1, 1)
  390. Head_3.BackgroundTransparency = 1
  391. Head_3.BorderSizePixel = 0
  392. Head_3.Size = UDim2.new(1, 0, 0, 20)
  393. Head_3.Font = Enum.Font.SourceSans
  394. Head_3.FontSize = Enum.FontSize.Size14
  395. Head_3.Text = "Speed"
  396. Head_3.TextColor3 = Color3.new(1, 1, 1)
  397. Head_3.TextSize = 14
  398. Val_3.Name = "Val"
  399. Val_3.Parent = Speed
  400. Val_3.BackgroundColor3 = Color3.new(1, 1, 1)
  401. Val_3.BackgroundTransparency = 1
  402. Val_3.BorderSizePixel = 0
  403. Val_3.Position = UDim2.new(0, 0, 0, 20)
  404. Val_3.Size = UDim2.new(1, 0, 0, 20)
  405. Val_3.Font = Enum.Font.SourceSansBold
  406. Val_3.FontSize = Enum.FontSize.Size24
  407. Val_3.Text = "0.85"
  408. Val_3.TextColor3 = Color3.new(1, 1, 1)
  409. Val_3.TextSize = 20
  410. Health.Name = "Health"
  411. Health.Parent = Stats
  412. Health.BackgroundColor3 = MainUXColor
  413. Health.BorderColor3 = MainUXColor
  414. Health.BorderSizePixel = 0
  415. Health.Position = UDim2.new(0, 10, 0, 190)
  416. Health.Size = UDim2.new(0, 80, 0, 50)
  417. Head_4.Name = "Head"
  418. Head_4.Parent = Health
  419. Head_4.BackgroundColor3 = Color3.new(1, 1, 1)
  420. Head_4.BackgroundTransparency = 1
  421. Head_4.BorderSizePixel = 0
  422. Head_4.Size = UDim2.new(1, 0, 0, 20)
  423. Head_4.Font = Enum.Font.SourceSans
  424. Head_4.FontSize = Enum.FontSize.Size14
  425. Head_4.Text = "Health"
  426. Head_4.TextColor3 = Color3.new(1, 1, 1)
  427. Head_4.TextSize = 14
  428. Val_4.Name = "Val"
  429. Val_4.Parent = Health
  430. Val_4.BackgroundColor3 = Color3.new(1, 1, 1)
  431. Val_4.BackgroundTransparency = 1
  432. Val_4.BorderSizePixel = 0
  433. Val_4.Position = UDim2.new(0, 0, 0, 20)
  434. Val_4.Size = UDim2.new(1, 0, 0, 20)
  435. Val_4.Font = Enum.Font.SourceSansBold
  436. Val_4.FontSize = Enum.FontSize.Size24
  437. Val_4.Text = "100"
  438. Val_4.TextColor3 = Color3.new(1, 1, 1)
  439. Val_4.TextSize = 20
  440. Smile.Name = "Smile"
  441. Smile.Parent = Stats
  442. Smile.BackgroundColor3 = MainUXColor
  443. Smile.BorderColor3 = MainUXColor
  444. Smile.BorderSizePixel = 0
  445. Smile.Position = UDim2.new(0, 10, 0, 250)
  446. Smile.Size = UDim2.new(0, 80, 0, 90)
  447. Head_5.Name = "Head"
  448. Head_5.Parent = Smile
  449. Head_5.BackgroundColor3 = Color3.new(1, 1, 1)
  450. Head_5.BackgroundTransparency = 1
  451. Head_5.BorderSizePixel = 0
  452. Head_5.Size = UDim2.new(1, 0, 0, 20)
  453. Head_5.Font = Enum.Font.SourceSans
  454. Head_5.FontSize = Enum.FontSize.Size14
  455. Head_5.Text = "FPS"
  456. Head_5.TextColor3 = Color3.new(1, 1, 1)
  457. Head_5.TextSize = 14
  458. Val_5.Name = "Val"
  459. Val_5.Parent = Smile
  460. Val_5.BackgroundColor3 = Color3.new(1, 1, 1)
  461. Val_5.BackgroundTransparency = 1
  462. Val_5.BorderSizePixel = 0
  463. Val_5.Position = UDim2.new(0, 0, 0, 35)
  464. Val_5.Rotation = 90
  465. Val_5.Size = UDim2.new(1, 0, 0, 20)
  466. Val_5.Font = Enum.Font.SourceSansBold
  467. Val_5.FontSize = Enum.FontSize.Size24
  468. Val_5.Text = ":)"
  469. Val_5.TextColor3 = Color3.new(1, 1, 1)
  470. Val_5.TextSize = 20
  471. Aero_6.Name = "Aero"
  472. Aero_6.Parent = Stats
  473. Aero_6.BackgroundColor3 = Color3.new(1, 1, 1)
  474. Aero_6.BackgroundTransparency = 1
  475. Aero_6.Position = UDim2.new(0, -5, 0, -5)
  476. Aero_6.Size = UDim2.new(1, 10, 1, 10)
  477. Aero_6.Image = "rbxassetid://892210479"
  478. Aero_6.ScaleType = Enum.ScaleType.Slice
  479. Aero_6.SliceCenter = Rect.new(6, 6, 25, 25)
  480. local ZCooldown = ZCool
  481. local XCooldown = ZCool_2
  482. local CCooldown = ZCool_3
  483. local VCooldown = ZCool_4
  484. function Protect(func)
  485. pcall(function()
  486. func()
  487. end)
  488. end
  489. function ReturnFunctionStatus(func)
  490. local a, b = ypcall(function()
  491. func()
  492. end)
  493. return {a, b}
  494. end
  495. function rayCast(Pos, Dir, Max, Ignore)
  496. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  497. end
  498. TrompUtility = {
  499. CurrentlyRunning = {},
  500. Create = function(ClassType)
  501. local InstanceToCreate = Instance.new(ClassType)
  502. return function(GetProperties)
  503. local FunctionCache = {}
  504. for i, v in pairs(GetProperties) do
  505. if i ~= "Parent" and type(v) ~= "function" then
  506. InstanceToCreate[i] = v
  507. elseif type(v) == "function" then
  508. table.insert(FunctionCache, v)
  509. end
  510. end
  511. Protect(function()
  512. InstanceToCreate.Parent = GetProperties.Parent
  513. end)
  514. for i, v in pairs(FunctionCache) do
  515. spawn(function()
  516. v(InstanceToCreate)
  517. end)
  518. end
  519. return InstanceToCreate
  520. end
  521. end,
  522. Destroy = function(InstanceToDestroy)
  523. repeat
  524. InstanceToDestroy.Parent = nil
  525. wait()
  526. until InstanceToDestroy.Parent == nil
  527. InstanceToDestroy:Destroy()
  528. end,
  529. HookToScript = function(i, v)
  530. TrompUtility.CurrentlyRunning[i] = v
  531. spawn(function()
  532. TrompUtility.CurrentlyRunning[i]()
  533. end)
  534. end,
  535. UnhookFromScript = function(i)
  536. pcall(function()
  537. TrompUtility.CurrentlyRunning[i]:Disconnect()
  538. end)
  539. TrompUtility.CurrentlyRunning[i] = nil
  540. end,
  541. CreateTerrain = function(Origin, Size, Material, Time)
  542. local Terrain = workspace.Terrain
  543. Terrain:FillBlock(Origin, Size, Material)
  544. if Time then
  545. delay(Time, function()
  546. Terrain:Clear()
  547. end)
  548. end
  549. end
  550. }
  551. Create = TrompUtility.Create
  552. function Cooldown(Letter)
  553. if Letter == "Z" then
  554. Cooldowns.Z.Current = 0
  555. elseif Letter == "X" then
  556. Cooldowns.X.Current = 0
  557. elseif Letter == "C" then
  558. Cooldowns.C.Current = 0
  559. elseif Letter == "V" then
  560. Cooldowns.V.Current = 0
  561. end
  562. end
  563. function Weld(Part, SecondPart)
  564. local w = TrompUtility.Create("Weld")({
  565. Parent = SecondPart,
  566. Part0 = SecondPart,
  567. Part1 = Part,
  568. C0 = SecondPart.CFrame:inverse() * Part.CFrame
  569. })
  570. return w
  571. end
  572. function WeldWeapon(Directory)
  573. local Handle = Directory.Handle
  574. Handle.CanCollide = false
  575. Handle.Anchored = false
  576. for i, v in pairs(Directory:children()) do
  577. if v ~= Handle and v.className ~= "LocalScript" then
  578. v.CanCollide = false
  579. v.Anchored = false
  580. Weld(Handle, v)
  581. end
  582. end
  583. Directory.Parent = Char
  584. return Handle
  585. end
  586. Beat = TrompUtility.Create("BindableEvent")({})
  587. FramesFiredPerSecond = 120
  588. ButterAnim = FramesFiredPerSecond / 60
  589. TotalFramesFired = 0
  590. StartWeapon = game["Run Service"].RenderStepped:connect(function(CurrentFrame)
  591. TotalFramesFired = TotalFramesFired + CurrentFrame
  592. if CurrentFrame <= TotalFramesFired then
  593. for i = 1, TotalFramesFired / (1 / FramesFiredPerSecond) do
  594. Beat:Fire()
  595. end
  596. end
  597. TotalFramesFired = TotalFramesFired - 1 / FramesFiredPerSecond * math.floor(TotalFramesFired / (1 / FramesFiredPerSecond))
  598. end)
  599. TrueWait = wait
  600. function wait(num)
  601. if num == 0 or num == nil then
  602. Beat.Event:wait()
  603. else
  604. for i = 1, math.floor(num) do
  605. Beat.Event:wait()
  606. end
  607. end
  608. end
  609. function Debris(Item, Time)
  610. game.Debris:AddItem(Item, Time or 10)
  611. end
  612. function Tween(R1, R2, R3)
  613. game:service("TweenService"):Create(R1, R2, R3):Play()
  614. end
  615. function _Damage(HitBox, Range, Min, Max, Type, Intensity, HitSound, SoundProps)
  616. for i, v in pairs(workspace:children()) do
  617. if not (v:FindFirstChild("Humanoid") and v:FindFirstChild("Torso") and v ~= Char and Range >= (HitBox.Position - v.Torso.Position).magnitude) or v.Torso:FindFirstChild("Damaged") and v.Torso:FindFirstChild("Damaged").Value == Player then
  618. else
  619. Debris(Create("ObjectValue")({
  620. Name = "Damaged",
  621. Value = Player,
  622. Parent = v.Torso
  623. }), 0.3)
  624. do
  625. local Damage = math.random(Min, Max)
  626. v.Humanoid.Health = v.Humanoid.Health - Damage
  627. pcall(function()
  628. if not (v.Humanoid.Health <= 0) or v.Name == "Hologram" or v.Torso:FindFirstChild("JustSpree") and v.Torso.JustSpree.Value == Char then
  629. else
  630. game.Players.LocalPlayer.leaderstats.Spree.Value = game.Players.LocalPlayer.leaderstats.Spree.Value + 1
  631. Create("ObjectValue")({
  632. Name = "JustSpree",
  633. Value = Char,
  634. Parent = v.Torso
  635. })
  636. end
  637. end)
  638. spawn(function()
  639. local Part = TrompUtility.Create("Part")({
  640. Name = "DamageHit",
  641. Anchored = true,
  642. CanCollide = false,
  643. CFrame = v.Head.CFrame * CFrame.new(0, 3, 0),
  644. Transparency = 1,
  645. Parent = Torso
  646. })
  647. local x = TrompUtility.Create("BillboardGui")({
  648. Adornee = Part,
  649. Size = UDim2.new(1, 0, 1, 0),
  650. Parent = Part
  651. })
  652. local xx = TrompUtility.Create("TextLabel")({
  653. Transparency = 1,
  654. Size = UDim2.new(1, 0, 1, 0),
  655. TextColor3 = MainUXColor,
  656. TextScaled = true,
  657. Text = Damage,
  658. Parent = x,
  659. function(ReturnedObj)
  660. ReturnedObj:TweenPosition(UDim2.new(0, 0, -2, 0), "InOut", "Linear", 2)
  661. end,
  662. function(ReturnedObj)
  663. spawn(function()
  664. for i = 0, 1, 0.008333333333333333 do
  665. ReturnedObj.TextTransparency = i
  666. wait()
  667. end
  668. Part:Destroy()
  669. end)
  670. end
  671. })
  672. end)
  673. if Type == "Knockdown" then
  674. v.Humanoid.PlatformStand = true
  675. spawn(function()
  676. TrueWait(Intensity.Down)
  677. v.Humanoid.PlatformStand = false
  678. end)
  679. local Dir = (HitBox.Position - v.Torso.Position).unit
  680. Debris(Create("BodyAngularVelocity")({
  681. P = 3000,
  682. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  683. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  684. Parent = v.Torso
  685. }), 0.5)
  686. Debris(Create("BodyVelocity")({
  687. velocity = Dir * Intensity.Intensity,
  688. P = 5000,
  689. maxForce = Vector3.new(8000, 8000, 8000),
  690. Parent = v.Torso
  691. }), 0.5)
  692. end
  693. if HitSound == true and SoundProps then
  694. Create("Sound")({
  695. Volume = SoundProps.Volume,
  696. Pitch = SoundProps.Pitch,
  697. SoundId = "rbxassetid://" .. SoundProps.SoundId,
  698. function(x)
  699. x:Play()
  700. x.Ended:wait()
  701. x:Destroy()
  702. end,
  703. Parent = Torso
  704. })
  705. end
  706. end
  707. end
  708. end
  709. end
  710. function ReturnPlayerFromMousePoint()
  711. for i, v in pairs(workspace:children()) do
  712. if v:FindFirstChild("Torso") and v:FindFirstChild("HumanoidRootPart") and (v.Torso.Position - Mouse.Hit.p).magnitude <= 12 then
  713. return true, v
  714. end
  715. end
  716. return false, nil
  717. end
  718. function Animate(a, b, c)
  719. return a:lerp(b, c)
  720. end
  721. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  722. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  723. local RW = Torso["Right Shoulder"]
  724. local LW = Torso["Left Shoulder"]
  725. local RH = Torso["Right Hip"]
  726. local LH = Torso["Left Hip"]
  727. RootJoint.C1 = CFrame.new(0, 0, 0)
  728. RootJoint.C0 = CFrame.new(0, 0, 0)
  729. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  730. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  731. RW.C0 = CFrame.new(1.5, 0, 0)
  732. RW.C1 = CFrame.new(0, 0, 0)
  733. LW.C0 = CFrame.new(-1.5, 0, 0)
  734. LW.C1 = CFrame.new(0, 0, 0)
  735. RH.C0 = CFrame.new(0.5, -2, 0)
  736. RH.C1 = CFrame.new(0, 0, 0)
  737. LH.C0 = CFrame.new(-0.5, -2, 0)
  738. LH.C1 = CFrame.new(0, 0, 0)
  739. local rarmc1 = RW.C1
  740. local larmc1 = LW.C1
  741. local rlegc1 = RH.C1
  742. local llegc1 = LH.C1
  743. local resetc1 = false
  744. function PlayAnimation(table, speed, bool)
  745. RootJoint.C0 = Animate(RootJoint.C0, table[1], speed)
  746. Torso.Neck.C0 = Animate(Torso.Neck.C0, table[2], speed)
  747. RW.C0 = Animate(RW.C0, table[3], speed)
  748. LW.C0 = Animate(LW.C0, table[4], speed)
  749. RH.C0 = Animate(RH.C0, table[5], speed)
  750. LH.C0 = Animate(LH.C0, table[6], speed)
  751. if bool == true and resetc1 == false then
  752. resetc1 = true
  753. RootJoint.C1 = RootJoint.C1
  754. Torso.Neck.C1 = Torso.Neck.C1
  755. RW.C1 = rarmc1
  756. LW.C1 = larmc1
  757. RH.C1 = rlegc1
  758. LH.C1 = llegc1
  759. end
  760. end
  761. local DetectionService = game:service("UserInputService")
  762. local CurrentClick = "0"
  763. DetectionService.InputBegan:connect(function(Key, GUI)
  764. if not GUI and not Attacking then
  765. if Key.KeyCode == Enum.KeyCode.Z and Cooldowns.Z.Current >= Cooldowns.Z.Max then
  766. Z()
  767. elseif Key.KeyCode == Enum.KeyCode.X and Cooldowns.X.Current >= Cooldowns.X.Max then
  768. X()
  769. elseif Key.KeyCode == Enum.KeyCode.C and Cooldowns.C.Current >= Cooldowns.C.Max then
  770. C()
  771. elseif Key.KeyCode == Enum.KeyCode.V and Cooldowns.V.Current >= Cooldowns.V.Max then
  772. V()
  773. elseif Key.KeyCode == Enum.KeyCode.T and Cooldowns.T.Current >= Cooldowns.T.Max then
  774. T()
  775. end
  776. if Key.UserInputType == Enum.UserInputType.MouseButton1 and Stat.Mana >= 8 then
  777. Stat.Mana = Stat.Mana - 8
  778. CurrentClick = tostring(tonumber(CurrentClick) + 1)
  779. if Clicks[CurrentClick] ~= nil then
  780. Clicks[CurrentClick]()
  781. else
  782. CurrentClick = "1"
  783. Clicks[CurrentClick]()
  784. end
  785. end
  786. end
  787. end)
  788. function Z()
  789. Cooldown("Z")
  790. Attacking = true
  791. Debris(Create("Sound")({
  792. SoundId = "rbxassetid://1086317292",
  793. Volume = 1,
  794. Pitch = 0.8,
  795. Parent = Torso,
  796. function(x)
  797. x:Play()
  798. end
  799. }), 1)
  800. for i = 0, 1, 0.1 / ButterAnim do
  801. RootPart.CFrame = RootPart.CFrame * CFrame.new(0, 0, -0.1)
  802. PlayAnimation({
  803. CFrame.new(0, -0.462237239, -0.194251552, 0.99999994, 0, 0, 0, 0.515038073, 0.857167244, 0, -0.857167244, 0.515038073) * CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-50 * i), 0, 0),
  804. CFrame.new(0, 1.50002873, -4.76837158E-6, 0.999999881, 0, 0, 0, 0.515038013, -0.857167304, 0, 0.857167304, 0.515038013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  805. CFrame.new(1.50598001, 1.57415926, -0.383325875, 1.00000918, 3.72558473E-9, -1.48989168E-8, -1.77064379E-7, -0.920503199, -0.390731066, -4.26671733E-7, 0.390731692, -0.920504808) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  806. CFrame.new(-1.49999976, 1.50199747, -0.216993421, 0.999999881, 0, 0, 0, -0.927183747, -0.374606609, 0, 0.374606609, -0.927183747) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  807. CFrame.new(0.548986971, -1.99996996, 6.0802904E-8, 0.996194601, -0.0871557295, -3.80969789E-9, 0.0871557295, 0.996194661, 0, 0, -2.98023224E-8, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  808. CFrame.new(-0.572005928, -1.99997759, -5.83785322E-8, 0.994521737, 0.104528643, 4.56909177E-9, -0.104528636, 0.994521737, 0, -7.4505806E-9, 2.98023224E-8, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  809. }, i, false)
  810. wait()
  811. end
  812. local OriginalCFrame = RootPart.CFrame
  813. for i = 0, 1, 0.05 / ButterAnim do
  814. RootPart.CFrame = OriginalCFrame:Lerp(OriginalCFrame * CFrame.new(0, 0, -20), i)
  815. PlayAnimation({
  816. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80 + -280 * i), 0, 0),
  817. CFrame.new(0, 1.4668324, -0.170802414, 1, 0, 0, 0, 0.981627166, 0.19080916, 0, -0.19080916, 0.981627166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  818. CFrame.new(0.98996079, -0.0218329132, -0.6663118, 0.874628127, 0.484814078, -1.19417791E-8, -0.291765273, 0.526358724, -0.798634589, -0.387185305, 0.698502064, 0.601815999) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  819. CFrame.new(-0.994987071, -0.185476243, -0.423634827, 0.866025448, -0.5, 0, 0.419335276, 0.726310074, -0.544639051, 0.272319525, 0.471671253, 0.838670552) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  820. CFrame.new(0.5, -1.22397435, -0.644997835, 1, 0, 0, 0, 0.798635602, 0.601814866, 0, -0.601814866, 0.798635602) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  821. CFrame.new(-0.492004395, -1.17297792, -0.638996005, 1, 0, 0, 0, 0.788011014, 0.615661263, 0, -0.615661263, 0.788011014) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  822. }, i, false)
  823. wait()
  824. end
  825. Attacking = false
  826. end
  827. function X()
  828. Cooldown("X")
  829. Attacking = true
  830. local OwOFrame = RootPart.CFrame
  831. for i = 0, 1, 0.1 / ButterAnim do
  832. wait()
  833. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  834. PlayAnimation({
  835. CFrame.new(6.7451205E-30, -0.145691901, 0.0418117344, 1, 4.23047176E-30, 1.40088677E-28, 6.11343428E-30, 0.997276366, -0.0737560317, -1.40019127E-28, 0.0737560317, 0.997276366) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  836. CFrame.new(0, 1.52072847, -0.0124144852, 1, 0, 0, 0, 0.989424109, 0.145052046, 0, -0.145052046, 0.989424109) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  837. CFrame.new(1.4264636, 0.676257014, -0.803507328, 0.982085466, 0.0666938722, 0.176238552, 0.158618093, -0.797496259, -0.582099795, 0.101727091, 0.599626422, -0.793788314) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  838. CFrame.new(-1.43111348, 0.68143189, -0.886562645, 0.984708786, -0.127944589, -0.118231624, -0.173451647, -0.78324908, -0.597022176, -0.0162190665, 0.608400404, -0.793464541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  839. CFrame.new(0.701183796, -1.93535566, 0.0136817694, 0.990505636, -0.0624382794, -0.122475341, 0.0834109634, 0.981137514, 0.174390078, 0.109276533, -0.182950139, 0.977030277) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  840. CFrame.new(-0.676286519, -1.92408538, -0.00413977355, 0.998076737, 0.0618678555, 0.00390684465, -0.0619910806, 0.99605459, 0.0635022596, 3.73180956E-5, -0.0636223108, 0.997974157) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  841. }, i, false)
  842. end
  843. for i = 1, 2 do
  844. for i = 0, 1, 0.15 / ButterAnim do
  845. wait()
  846. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  847. PlayAnimation({
  848. CFrame.new(9.88198717E-30, -0.109396927, 0.0657995567, 1, -5.46900157E-30, 1.40045777E-28, 6.11343428E-30, 0.99998945, -0.00460200245, -1.40019127E-28, 0.00460200245, 0.99998945) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  849. CFrame.new(0, 1.52072453, -0.0124159157, 1, 0, 0, 0, 0.998223484, 0.0595824681, 0, -0.0595824681, 0.998223484) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  850. CFrame.new(1.29629803, 0.509917736, -0.957461894, 0.986506879, 0.0460915715, 0.15709807, 0.155821443, 0.0301162787, -0.987326026, -0.0502386168, 0.998483241, 0.0225278586) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  851. CFrame.new(-1.34482396, 0.523314059, -1.11249745, 0.965608776, -0.0180529412, -0.259371907, -0.25910449, 0.0158828255, -0.965718746, 0.0215536244, 0.999710917, 0.010658998) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  852. CFrame.new(0.709444165, -1.94071782, -0.0571562648, 0.990507245, -0.0744293109, -0.1155672, 0.0834127292, 0.993693054, 0.0749435872, 0.109260328, -0.0838719383, 0.990468562) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  853. CFrame.new(-0.676674545, -1.93025672, -0.101128109, 0.998076737, 0.0619362369, 0.00261625904, -0.0619914643, 0.99716115, 0.0427393951, 3.82853614E-5, -0.042819377, 0.999082923) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  854. }, 0.3, false)
  855. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun, i)
  856. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun, i)
  857. end
  858. do
  859. local Bullet = Create("Part")({
  860. Parent = Torso,
  861. Transparency = 1,
  862. Material = Enum.Material.Neon,
  863. Size = Vector3.new(),
  864. Shape = "Block",
  865. CanCollide = false,
  866. Anchored = true,
  867. Color = BrickColor.new("Dark indigo").Color
  868. })
  869. script.ParticleEmitter:Clone().Parent = Bullet
  870. local Attachment = Create("Attachment")({
  871. Parent = Bullet,
  872. Position = Vector3.new(0, 0, 0.2)
  873. })
  874. local Attachment2 = Create("Attachment")({
  875. Parent = Bullet,
  876. Position = Vector3.new(0, 0, -0.2)
  877. })
  878. local Trail = Create("Trail")({
  879. Color = ColorSequence.new(BrickColor.new("Dark indigo").Color),
  880. LightEmission = 1,
  881. Texture = "rbxassetid://273819884",
  882. Transparency = NumberSequence.new(0),
  883. Attachment0 = Attachment,
  884. Attachment1 = Attachment2,
  885. Lifetime = 0.2,
  886. MinLength = NumberSequence.new(0.1),
  887. FaceCamera = true,
  888. Parent = Bullet
  889. })
  890. Bullet.CFrame = CFrame.new(WepL.GunPart.Position, Mouse.Hit.p)
  891. so("rbxassetid://1132403352", WepL.GunPart, 0.5, 1 + math.random())
  892. so("rbxassetid://936968317", WepL.GunPart, 0.5, 1 + math.random())
  893. so("rbxassetid://1085143827", WepL.GunPart, 0.5, 1 + math.random())
  894. spawn(function()
  895. local Found, PlayerToTarget = ReturnPlayerFromMousePoint()
  896. if Found == false then
  897. do
  898. local FinalPoint = Mouse.Hit
  899. local CurrentPoint = Bullet.CFrame
  900. local Speed = 2
  901. local Direction = CFrame.new(CurrentPoint.p, FinalPoint.p).lookVector
  902. local FinalHit, HitPart, Bottom
  903. local TimeOwO = tick()
  904. repeat
  905. local hit, pos, bottom = rayCast(Bullet.Position, Direction, Speed, Char)
  906. HitPart = hit
  907. FinalHit = CFrame.new(pos)
  908. Bottom = bottom
  909. Bullet.CFrame = CFrame.new(pos)
  910. wait()
  911. until not (not hit or hit:IsDescendantOf(Char)) or tick() >= TimeOwO + 10
  912. local x = Create("Part")({
  913. Color = Color3.fromRGB(90, 0, 255),
  914. Material = "Neon",
  915. Size = Vector3.new(1, 1, 1),
  916. CanCollide = false,
  917. Anchored = true,
  918. CFrame = FinalHit,
  919. Parent = Bullet
  920. })
  921. local xmesh = Instance.new("SpecialMesh", x)
  922. xmesh.MeshType = "Sphere"
  923. _Damage(x, 10, 13, 15, "None", nil, true, {
  924. SoundId = "588695064",
  925. Volume = 1,
  926. Pitch = 1
  927. })
  928. local Reference = Create("Part")({
  929. Size = Vector3.new(),
  930. CFrame = FinalHit,
  931. Parent = Torso,
  932. CanCollide = false,
  933. Anchored = true,
  934. Transparency = 1
  935. })
  936. local Particle = script.cubes:Clone()
  937. Particle.Parent = Reference
  938. for i = 1, 10 do
  939. Particle:Emit()
  940. end
  941. local Beep1 = Create("Part")({
  942. Shape = "Ball",
  943. Size = Vector3.new(0.1, 0.1, 0.1),
  944. Transparency = 1,
  945. Anchored = true,
  946. CanCollide = false,
  947. CFrame = FinalHit * CFrame.new(10, 0, 0),
  948. Parent = Bullet
  949. })
  950. local Beep2 = Create("Part")({
  951. Shape = "Ball",
  952. Size = Vector3.new(0.1, 0.1, 0.1),
  953. Transparency = 1,
  954. Anchored = true,
  955. CanCollide = false,
  956. CFrame = FinalHit * CFrame.new(-10, 0, 0),
  957. Parent = Bullet
  958. })
  959. local BEEP = script.ParticleEmitter:Clone()
  960. BEEP.Color = ColorSequence.new(Color3.fromRGB(50, 50, 255), Color3.fromRGB(85, 0, 255))
  961. BEEP.Size = NumberSequence.new(5, 1)
  962. BEEP.Rate = 100
  963. BEEP:Clone().Parent = Beep1
  964. BEEP:Clone().Parent = Beep2
  965. spawn(function()
  966. for i = 0, 1, 0.01 do
  967. Beep1.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(-10, 3 * i, 0)
  968. Beep2.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(10, 3 * i, 0)
  969. wait()
  970. end
  971. Beep1.ParticleEmitter.Enabled = false
  972. Beep2.ParticleEmitter.Enabled = false
  973. delay(2, function()
  974. Beep1:Destroy()
  975. Beep2:Destroy()
  976. end)
  977. end)
  978. Tween(x, TweenInfo.new(2), {Transparency = 1})
  979. Tween(xmesh, TweenInfo.new(2), {
  980. Scale = Vector3.new(20, 20, 20)
  981. })
  982. local Ring = script.Ring:Clone()
  983. Ring.Color = BrickColor.new("Alder").Color
  984. Ring.Material = "Neon"
  985. Ring.CFrame = CFrame.new(FinalHit.p, FinalHit.p + Bottom) * CFrame.Angles(math.rad(90), 0, 0)
  986. Ring.Size = Vector3.new(0, 0.2, 0)
  987. Ring.CanCollide = false
  988. Ring.Anchored = true
  989. Ring.Parent = Bullet
  990. Tween(Ring, TweenInfo.new(1), {
  991. Size = Vector3.new(20, 0.2, 20),
  992. Transparency = 1
  993. })
  994. Bullet:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  995. delay(2, function()
  996. TrueWait(2)
  997. Bullet:Destroy()
  998. end)
  999. end
  1000. else
  1001. do
  1002. local FinalPoint = PlayerToTarget.Torso.CFrame
  1003. local CurrentPoint = Bullet.CFrame
  1004. local Speed = 2
  1005. local Direction = CFrame.new(CurrentPoint.p, FinalPoint.p).lookVector
  1006. local FinalHit, HitPart, Bottom
  1007. local TimeOwO = tick()
  1008. repeat
  1009. FinalPoint = PlayerToTarget.Torso.CFrame
  1010. CurrentPoint = Bullet.CFrame
  1011. Direction = CFrame.new(CurrentPoint.p, FinalPoint.p).lookVector
  1012. local hit, pos, bottom = rayCast(Bullet.Position, Direction, Speed, Char)
  1013. HitPart = hit
  1014. FinalHit = CFrame.new(pos)
  1015. Bottom = bottom
  1016. Bullet.CFrame = CFrame.new(pos)
  1017. wait()
  1018. until hit and hit:IsDescendantOf(PlayerToTarget) or tick() >= TimeOwO + 10
  1019. local x = Create("Part")({
  1020. Size = Vector3.new(1, 1, 1),
  1021. Color = Color3.fromRGB(90, 0, 255),
  1022. Material = "Neon",
  1023. CanCollide = false,
  1024. Anchored = true,
  1025. CFrame = FinalHit,
  1026. Parent = Bullet
  1027. })
  1028. local xmesh = Instance.new("SpecialMesh", x)
  1029. xmesh.MeshType = "Sphere"
  1030. _Damage(x, 10, 15, 10, "None", nil, true, {
  1031. SoundId = "588695064",
  1032. Volume = 1,
  1033. Pitch = 1
  1034. })
  1035. local Reference = Create("Part")({
  1036. CFrame = FinalHit,
  1037. Parent = Torso,
  1038. CanCollide = false,
  1039. Anchored = true,
  1040. Transparency = 1
  1041. })
  1042. local Particle = script.cubes:Clone()
  1043. Particle.Parent = Reference
  1044. for i = 1, 10 do
  1045. Particle:Emit()
  1046. end
  1047. local Beep1 = Create("Part")({
  1048. Shape = "Ball",
  1049. Size = Vector3.new(0.1, 0.1, 0.1),
  1050. Transparency = 1,
  1051. Anchored = true,
  1052. CanCollide = false,
  1053. CFrame = FinalHit * CFrame.new(10, 0, 0),
  1054. Parent = Bullet
  1055. })
  1056. local Beep2 = Create("Part")({
  1057. Shape = "Ball",
  1058. Size = Vector3.new(0.1, 0.1, 0.1),
  1059. Transparency = 1,
  1060. Anchored = true,
  1061. CanCollide = false,
  1062. CFrame = FinalHit * CFrame.new(-10, 0, 0),
  1063. Parent = Bullet
  1064. })
  1065. local BEEP = script.ParticleEmitter:Clone()
  1066. BEEP.Color = ColorSequence.new(Color3.fromRGB(50, 50, 255), Color3.fromRGB(85, 0, 255))
  1067. BEEP.Size = NumberSequence.new(5, 1)
  1068. BEEP.Rate = 100
  1069. BEEP:Clone().Parent = Beep1
  1070. BEEP:Clone().Parent = Beep2
  1071. spawn(function()
  1072. for i = 0, 1, 0.01 do
  1073. Beep1.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(-10, 3 * i, 0)
  1074. Beep2.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(10, 3 * i, 0)
  1075. wait()
  1076. end
  1077. Beep1.ParticleEmitter.Enabled = false
  1078. Beep2.ParticleEmitter.Enabled = false
  1079. delay(2, function()
  1080. Beep1:Destroy()
  1081. Beep2:Destroy()
  1082. end)
  1083. end)
  1084. Tween(x, TweenInfo.new(2), {Transparency = 1})
  1085. Tween(xmesh, TweenInfo.new(2), {
  1086. Scale = Vector3.new(20, 20, 20)
  1087. })
  1088. local Ring = script.Ring:Clone()
  1089. Ring.Color = BrickColor.new("Alder").Color
  1090. Ring.Material = "Neon"
  1091. Ring.CFrame = CFrame.new(FinalHit.p, FinalHit.p + Bottom) * CFrame.Angles(math.rad(90), 0, 0)
  1092. Ring.Size = Vector3.new(0, 0.2, 0)
  1093. Ring.CanCollide = false
  1094. Ring.Anchored = true
  1095. Ring.Parent = Bullet
  1096. Tween(Ring, TweenInfo.new(1), {
  1097. Size = Vector3.new(20, 0.2, 20),
  1098. Transparency = 1
  1099. })
  1100. Bullet:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  1101. delay(2, function()
  1102. TrueWait(2)
  1103. Bullet:Destroy()
  1104. end)
  1105. end
  1106. end
  1107. end)
  1108. local OwOFrame = RootPart.CFrame
  1109. for i = 0, 1, 0.2 / ButterAnim do
  1110. wait()
  1111. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1112. PlayAnimation({
  1113. CFrame.new(-0.066633299, -0.109397143, 0.19221513, 0.986512244, -7.5297337E-4, -0.163686305, 9.76555192E-30, 0.99998945, -0.00460005179, 0.163688049, 0.00453800708, 0.986501753) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1114. CFrame.new(3.28011811E-6, 1.52072442, -0.0124071166, 0.992551327, 2.19140202E-6, 0.1218279, -0.00726049859, 0.998223722, 0.0591344759, -0.121611342, -0.0595785379, 0.990788221) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1115. CFrame.new(1.27784169, 0.507087946, -0.952387571, 0.967443109, 0.198432624, 0.157094479, 0.149269372, 0.0538923442, -0.98732692, -0.204384059, 0.978631794, 0.0225178637) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1116. CFrame.new(-1.33943355, 0.966184616, -0.646172583, 0.942973018, -0.00855511427, -0.332759827, -0.255603671, -0.658993483, -0.7073856, -0.213234782, 0.75210017, -0.623599648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1117. CFrame.new(0.709433317, -1.94071722, -0.0571568608, 0.963943064, -0.0744289309, 0.255488396, 0.0501423329, 0.993693113, 0.100298718, -0.261342108, -0.0838714465, 0.961595595) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1118. CFrame.new(-0.67664957, -1.9302578, -0.101131976, 0.978779674, 0.0619376451, 0.195331424, -0.0690802038, 0.99716109, 0.0299618337, -0.192921147, -0.042819567, 0.980279505) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1119. }, i, false)
  1120. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun, i)
  1121. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(-10), 0, 0), i)
  1122. end
  1123. for i = 0, 1, 0.15 / ButterAnim do
  1124. wait()
  1125. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1126. PlayAnimation({
  1127. CFrame.new(9.88198717E-30, -0.109396927, 0.0657995567, 1, -5.46900157E-30, 1.40045777E-28, 6.11343428E-30, 0.99998945, -0.00460200245, -1.40019127E-28, 0.00460200245, 0.99998945) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1128. CFrame.new(0, 1.52072453, -0.0124159157, 1, 0, 0, 0, 0.998223484, 0.0595824681, 0, -0.0595824681, 0.998223484) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1129. CFrame.new(1.29629803, 0.509917736, -0.957461894, 0.986506879, 0.0460915715, 0.15709807, 0.155821443, 0.0301162787, -0.987326026, -0.0502386168, 0.998483241, 0.0225278586) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1130. CFrame.new(-1.34482396, 0.523314059, -1.11249745, 0.965608776, -0.0180529412, -0.259371907, -0.25910449, 0.0158828255, -0.965718746, 0.0215536244, 0.999710917, 0.010658998) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1131. CFrame.new(0.709444165, -1.94071782, -0.0571562648, 0.990507245, -0.0744293109, -0.1155672, 0.0834127292, 0.993693054, 0.0749435872, 0.109260328, -0.0838719383, 0.990468562) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1132. CFrame.new(-0.676674545, -1.93025672, -0.101128109, 0.998076737, 0.0619362369, 0.00261625904, -0.0619914643, 0.99716115, 0.0427393951, 3.82853614E-5, -0.042819377, 0.999082923) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1133. }, i, false)
  1134. end
  1135. local Bullet = Create("Part")({
  1136. Parent = Torso,
  1137. Transparency = 1,
  1138. Material = Enum.Material.Neon,
  1139. Size = Vector3.new(),
  1140. Shape = "Block",
  1141. CanCollide = false,
  1142. Anchored = true,
  1143. Color = BrickColor.new("Dark indigo").Color
  1144. })
  1145. script.ParticleEmitter:Clone().Parent = Bullet
  1146. local Attachment = Create("Attachment")({
  1147. Parent = Bullet,
  1148. Position = Vector3.new(0, 0, 0.2)
  1149. })
  1150. local Attachment2 = Create("Attachment")({
  1151. Parent = Bullet,
  1152. Position = Vector3.new(0, 0, -0.2)
  1153. })
  1154. local Trail = Create("Trail")({
  1155. Color = ColorSequence.new(BrickColor.new("Dark indigo").Color),
  1156. LightEmission = 1,
  1157. Texture = "rbxassetid://273819884",
  1158. Transparency = NumberSequence.new(0),
  1159. Attachment0 = Attachment,
  1160. Attachment1 = Attachment2,
  1161. Lifetime = 0.2,
  1162. MinLength = NumberSequence.new(0.1),
  1163. FaceCamera = true,
  1164. Parent = Bullet
  1165. })
  1166. Bullet.CFrame = CFrame.new(WepR.GunPart.Position, Mouse.Hit.p)
  1167. so("rbxassetid://1132403352", WepR.GunPart, 0.5, 1 + math.random())
  1168. so("rbxassetid://936968317", WepR.GunPart, 0.5, 1 + math.random())
  1169. so("rbxassetid://1085143827", WepR.GunPart, 0.5, 1 + math.random())
  1170. spawn(function()
  1171. local Found, PlayerToTarget = ReturnPlayerFromMousePoint()
  1172. if Found == false then
  1173. do
  1174. local FinalPoint = Mouse.Hit
  1175. local CurrentPoint = Bullet.CFrame
  1176. local Speed = 2
  1177. local Direction = CFrame.new(CurrentPoint.p, FinalPoint.p).lookVector
  1178. local FinalHit, HitPart, Bottom
  1179. local TimeOwO = tick()
  1180. repeat
  1181. local hit, pos, bottom = rayCast(Bullet.Position, Direction, Speed, Char)
  1182. HitPart = hit
  1183. FinalHit = CFrame.new(pos)
  1184. Bottom = bottom
  1185. Bullet.CFrame = CFrame.new(pos)
  1186. wait()
  1187. until not (not hit or hit:IsDescendantOf(Char)) or tick() >= TimeOwO + 10
  1188. local x = Create("Part")({
  1189. Shape = "Ball",
  1190. Size = Vector3.new(1, 1, 1),
  1191. Color = Color3.fromRGB(90, 0, 255),
  1192. Material = "Neon",
  1193. CanCollide = false,
  1194. Anchored = true,
  1195. CFrame = FinalHit,
  1196. Parent = Bullet
  1197. })
  1198. local xmesh = Instance.new("SpecialMesh", x)
  1199. xmesh.MeshType = "Sphere"
  1200. _Damage(x, 10, 13, 15, "None", nil, true, {
  1201. SoundId = "588695064",
  1202. Volume = 1,
  1203. Pitch = 1
  1204. })
  1205. local Reference = Create("Part")({
  1206. Size = Vector3.new(),
  1207. CFrame = FinalHit,
  1208. Parent = Torso,
  1209. CanCollide = false,
  1210. Anchored = true,
  1211. Transparency = 1
  1212. })
  1213. local Particle = script.cubes:Clone()
  1214. Particle.Parent = Reference
  1215. for i = 1, 10 do
  1216. Particle:Emit()
  1217. end
  1218. local Beep1 = Create("Part")({
  1219. Shape = "Ball",
  1220. Size = Vector3.new(0.1, 0.1, 0.1),
  1221. Transparency = 1,
  1222. Anchored = true,
  1223. CanCollide = false,
  1224. CFrame = FinalHit * CFrame.new(10, 0, 0),
  1225. Parent = Bullet
  1226. })
  1227. local Beep2 = Create("Part")({
  1228. Shape = "Ball",
  1229. Size = Vector3.new(0.1, 0.1, 0.1),
  1230. Transparency = 1,
  1231. Anchored = true,
  1232. CanCollide = false,
  1233. CFrame = FinalHit * CFrame.new(-10, 0, 0),
  1234. Parent = Bullet
  1235. })
  1236. local BEEP = script.ParticleEmitter:Clone()
  1237. BEEP.Color = ColorSequence.new(Color3.fromRGB(50, 50, 255), Color3.fromRGB(85, 0, 255))
  1238. BEEP.Size = NumberSequence.new(5, 1)
  1239. BEEP.Rate = 100
  1240. BEEP:Clone().Parent = Beep1
  1241. BEEP:Clone().Parent = Beep2
  1242. spawn(function()
  1243. for i = 0, 1, 0.01 do
  1244. Beep1.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(-10, 3 * i, 0)
  1245. Beep2.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(10, 3 * i, 0)
  1246. wait()
  1247. end
  1248. Beep1.ParticleEmitter.Enabled = false
  1249. Beep2.ParticleEmitter.Enabled = false
  1250. delay(2, function()
  1251. Beep1:Destroy()
  1252. Beep2:Destroy()
  1253. end)
  1254. end)
  1255. Tween(x, TweenInfo.new(2), {Transparency = 1})
  1256. Tween(xmesh, TweenInfo.new(2), {
  1257. Scale = Vector3.new(20, 20, 20)
  1258. })
  1259. local Ring = script.Ring:Clone()
  1260. Ring.Color = BrickColor.new("Alder").Color
  1261. Ring.Material = "Neon"
  1262. Ring.CFrame = CFrame.new(FinalHit.p, FinalHit.p + Bottom) * CFrame.Angles(math.rad(90), 0, 0)
  1263. Ring.Size = Vector3.new(0, 0.2, 0)
  1264. Ring.CanCollide = false
  1265. Ring.Anchored = true
  1266. Ring.Parent = Bullet
  1267. Tween(Ring, TweenInfo.new(1), {
  1268. Size = Vector3.new(20, 0.2, 20),
  1269. Transparency = 1
  1270. })
  1271. Bullet:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  1272. delay(2, function()
  1273. TrueWait(2)
  1274. Bullet:Destroy()
  1275. end)
  1276. end
  1277. else
  1278. do
  1279. local FinalPoint = PlayerToTarget.Torso.CFrame
  1280. local CurrentPoint = Bullet.CFrame
  1281. local Speed = 2
  1282. local Direction = CFrame.new(CurrentPoint.p, FinalPoint.p).lookVector
  1283. local FinalHit, HitPart, Bottom
  1284. local TimeOwO = tick()
  1285. repeat
  1286. FinalPoint = PlayerToTarget.Torso.CFrame
  1287. CurrentPoint = Bullet.CFrame
  1288. Direction = CFrame.new(CurrentPoint.p, FinalPoint.p).lookVector
  1289. local hit, pos, bottom = rayCast(Bullet.Position, Direction, Speed, Char)
  1290. HitPart = hit
  1291. FinalHit = CFrame.new(pos)
  1292. Bottom = bottom
  1293. Bullet.CFrame = CFrame.new(pos)
  1294. wait()
  1295. until hit and hit:IsDescendantOf(PlayerToTarget) or tick() >= TimeOwO + 10
  1296. local x = Create("Part")({
  1297. Shape = "Ball",
  1298. Size = Vector3.new(1, 1, 1),
  1299. Color = Color3.fromRGB(90, 0, 255),
  1300. Material = "Neon",
  1301. CanCollide = false,
  1302. Anchored = true,
  1303. CFrame = FinalHit,
  1304. Parent = Bullet
  1305. })
  1306. local xmesh = Instance.new("SpecialMesh", x)
  1307. xmesh.MeshType = "Sphere"
  1308. _Damage(x, 10, 13, 15, "None", nil, true, {
  1309. SoundId = "588695064",
  1310. Volume = 1,
  1311. Pitch = 1
  1312. })
  1313. local Reference = Create("Part")({
  1314. Size = Vector3.new(),
  1315. CFrame = FinalHit,
  1316. Parent = Torso,
  1317. CanCollide = false,
  1318. Anchored = true,
  1319. Transparency = 1
  1320. })
  1321. local Particle = script.cubes:Clone()
  1322. Particle.Parent = Reference
  1323. for i = 1, 10 do
  1324. Particle:Emit()
  1325. end
  1326. local Beep1 = Create("Part")({
  1327. Shape = "Ball",
  1328. Size = Vector3.new(0.1, 0.1, 0.1),
  1329. Transparency = 1,
  1330. Anchored = true,
  1331. CanCollide = false,
  1332. CFrame = FinalHit * CFrame.new(10, 0, 0),
  1333. Parent = Bullet
  1334. })
  1335. local Beep2 = Create("Part")({
  1336. Shape = "Ball",
  1337. Size = Vector3.new(0.1, 0.1, 0.1),
  1338. Transparency = 1,
  1339. Anchored = true,
  1340. CanCollide = false,
  1341. CFrame = FinalHit * CFrame.new(-10, 0, 0),
  1342. Parent = Bullet
  1343. })
  1344. local BEEP = script.ParticleEmitter:Clone()
  1345. BEEP.Color = ColorSequence.new(Color3.fromRGB(50, 50, 255), Color3.fromRGB(85, 0, 255))
  1346. BEEP.Size = NumberSequence.new(5, 1)
  1347. BEEP.Rate = 100
  1348. BEEP:Clone().Parent = Beep1
  1349. BEEP:Clone().Parent = Beep2
  1350. spawn(function()
  1351. for i = 0, 1, 0.01 do
  1352. Beep1.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(-10, 3 * i, 0)
  1353. Beep2.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(10, 3 * i, 0)
  1354. wait()
  1355. end
  1356. Beep1.ParticleEmitter.Enabled = false
  1357. Beep2.ParticleEmitter.Enabled = false
  1358. delay(2, function()
  1359. Beep1:Destroy()
  1360. Beep2:Destroy()
  1361. end)
  1362. end)
  1363. Tween(x, TweenInfo.new(2), {Transparency = 1})
  1364. Tween(xmesh, TweenInfo.new(2), {
  1365. Scale = Vector3.new(20, 20, 20)
  1366. })
  1367. local Ring = script.Ring:Clone()
  1368. Ring.Color = BrickColor.new("Alder").Color
  1369. Ring.Material = "Neon"
  1370. Ring.CFrame = CFrame.new(FinalHit.p, FinalHit.p + Bottom) * CFrame.Angles(math.rad(90), 0, 0)
  1371. Ring.Size = Vector3.new(0, 0.2, 0)
  1372. Ring.CanCollide = false
  1373. Ring.Anchored = true
  1374. Ring.Parent = Bullet
  1375. Tween(Ring, TweenInfo.new(1), {
  1376. Size = Vector3.new(20, 0.2, 20),
  1377. Transparency = 1
  1378. })
  1379. Bullet:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  1380. delay(2, function()
  1381. TrueWait(2)
  1382. Bullet:Destroy()
  1383. end)
  1384. end
  1385. end
  1386. end)
  1387. for i = 0, 1, 0.2 / ButterAnim do
  1388. wait()
  1389. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1390. PlayAnimation({
  1391. CFrame.new(0.0301815942, -0.109396793, 0.169889152, 0.967941225, 0.00115629577, 0.25117442, 1.86791883E-31, 0.99998945, -0.00460350886, -0.251177073, 0.00445592543, 0.967930973) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1392. CFrame.new(-1.63279474E-5, 1.52072346, -0.0124289021, 0.965394974, 0.0132031608, -0.260457903, 0.00237753498, 0.998230577, 0.0594148114, 0.260781527, -0.0579780117, 0.963655353) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1393. CFrame.new(1.37223995, 0.853786588, -0.459635526, 0.973726392, 5.57750463E-4, 0.227720797, 0.158650652, -0.719034314, -0.676623762, 0.163361698, 0.694974363, -0.700231254) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1394. CFrame.new(-1.21995497, 0.529918194, -1.09793007, 0.93689847, -0.247262165, -0.247149348, -0.248915553, 0.0246074237, -0.968212605, 0.245483994, 0.968636215, -0.0384927392) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1395. CFrame.new(0.70944345, -1.94071865, -0.0571592748, 0.963399112, -0.0744298697, -0.257531613, 0.0933707803, 0.993692875, 0.0621006899, 0.251285225, -0.0838736817, 0.964272261) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1396. CFrame.new(-0.676686406, -1.93025804, -0.101134539, 0.967317402, 0.0619349964, -0.245888621, -0.0494015776, 0.997161388, 0.056823194, 0.248710006, -0.0428187847, 0.967631102) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1397. }, i, false)
  1398. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun * CFrame.Angles(math.rad(-10), 0, 0), i)
  1399. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun, i)
  1400. end
  1401. end
  1402. end
  1403. Attacking = false
  1404. end
  1405. function C()
  1406. Cooldown("C")
  1407. Attacking = true
  1408. for i = 0, 1, 0.1 / ButterAnim do
  1409. wait()
  1410. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1411. PlayAnimation({
  1412. CFrame.new(-0.137036994, -0.512278318, 0.0613622367, 0.883309782, -7.23928864E-8, -0.468789697, -0.0944619775, 0.979488134, -0.177988723, 0.459173888, 0.20150198, 0.865191519) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1413. CFrame.new(-7.19726086E-6, 1.4999907, 9.50694084E-6, 0.875569582, -0.111872286, 0.469960213, 1.74425077E-5, 0.972824335, 0.231544703, -0.483092219, -0.202725321, 0.851777315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1414. CFrame.new(0.323510528, 0.324661076, -1.23929775, 0.743825972, 0.524815202, 0.413874149, 0.359908253, 0.207274288, -0.90967226, -0.563195229, 0.825594544, -0.0347093232) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1415. CFrame.new(-0.496937364, 0.698004484, -0.909043014, 0.507168055, -0.594999015, -0.623503566, -0.860103726, -0.303435564, -0.410059154, 0.0547915846, 0.744246721, -0.665653765) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1416. CFrame.new(1.09593081, -1.46754241, 0.650105119, 0.825888455, -0.513390243, 0.233106554, 0.138452649, 0.585431516, 0.798812211, -0.546570361, -0.627455592, 0.554581404) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1417. CFrame.new(-0.829122424, -1.67726755, -0.240818083, 0.678866208, -0.0796007812, 0.729934514, -0.110706091, 0.971646249, 0.208920732, -0.725868344, -0.222637415, 0.650805533) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1418. }, i, false)
  1419. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun, i)
  1420. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(10), 0, 0), i)
  1421. end
  1422. local Bullet = Create("Part")({
  1423. Parent = Torso,
  1424. Transparency = 1,
  1425. Material = Enum.Material.Neon,
  1426. Size = Vector3.new(),
  1427. Shape = "Block",
  1428. CanCollide = false,
  1429. Anchored = true,
  1430. Color = BrickColor.new("Dark indigo").Color
  1431. })
  1432. script.ParticleEmitter:Clone().Parent = Bullet
  1433. local Attachment = Create("Attachment")({
  1434. Parent = Bullet,
  1435. Position = Vector3.new(0, 0, 0.2)
  1436. })
  1437. local Attachment2 = Create("Attachment")({
  1438. Parent = Bullet,
  1439. Position = Vector3.new(0, 0, -0.2)
  1440. })
  1441. local Trail = Create("Trail")({
  1442. Color = ColorSequence.new(BrickColor.new("Dark indigo").Color),
  1443. LightEmission = 1,
  1444. Texture = "",
  1445. Transparency = NumberSequence.new(0),
  1446. Attachment0 = Attachment,
  1447. Attachment1 = Attachment2,
  1448. Lifetime = 0.2,
  1449. MinLength = NumberSequence.new(0.1),
  1450. FaceCamera = true,
  1451. Parent = Bullet
  1452. })
  1453. Bullet.CFrame = CFrame.new(WepR.GunPart.Position, Mouse.Hit.p)
  1454. so("rbxassetid://1132403352", WepR.GunPart, 0.5, 1 + math.random())
  1455. so("rbxassetid://936968317", WepR.GunPart, 0.5, 1 + math.random())
  1456. so("rbxassetid://1085143827", WepR.GunPart, 0.5, 1 + math.random())
  1457. spawn(function()
  1458. local FinalPoint = Mouse.Hit
  1459. local CurrentPoint = Bullet.CFrame
  1460. local Speed = 2
  1461. local Direction = CFrame.new(CurrentPoint.p, FinalPoint.p).lookVector
  1462. local FinalHit, HitPart, Bottom
  1463. local TimeOwO = tick()
  1464. repeat
  1465. local hit, pos, bottom = rayCast(Bullet.Position, Direction, Speed, Char)
  1466. HitPart = hit
  1467. FinalHit = CFrame.new(pos)
  1468. Bottom = bottom
  1469. Bullet.CFrame = CFrame.new(pos)
  1470. wait()
  1471. until hit or tick() >= TimeOwO + 10
  1472. local x = Create("Part")({
  1473. Shape = "Ball",
  1474. Size = Vector3.new(1, 1, 1),
  1475. Color = Color3.fromRGB(90, 0, 255),
  1476. Material = "Neon",
  1477. CanCollide = false,
  1478. Anchored = true,
  1479. CFrame = FinalHit,
  1480. Parent = Bullet
  1481. })
  1482. local xmesh = Instance.new("SpecialMesh", x)
  1483. xmesh.MeshType = "Sphere"
  1484. _Damage(x, 10, 8, 12, "Knockdown", {Intensity = 5, Down = 0.5}, true, {
  1485. SoundId = "588695064",
  1486. Volume = 1,
  1487. Pitch = 1
  1488. })
  1489. local Reference = Create("Part")({
  1490. Size = Vector3.new(),
  1491. CFrame = FinalHit,
  1492. Parent = Torso,
  1493. CanCollide = false,
  1494. Anchored = true,
  1495. Transparency = 1
  1496. })
  1497. local Particle = script.cubes:Clone()
  1498. Particle.Parent = Reference
  1499. for i = 1, 10 do
  1500. Particle:Emit()
  1501. end
  1502. local Beep1 = Create("Part")({
  1503. Shape = "Ball",
  1504. Size = Vector3.new(0.1, 0.1, 0.1),
  1505. Transparency = 1,
  1506. Anchored = true,
  1507. CanCollide = false,
  1508. CFrame = FinalHit * CFrame.new(10, 0, 0),
  1509. Parent = Bullet
  1510. })
  1511. local Beep2 = Create("Part")({
  1512. Shape = "Ball",
  1513. Size = Vector3.new(0.1, 0.1, 0.1),
  1514. Transparency = 1,
  1515. Anchored = true,
  1516. CanCollide = false,
  1517. CFrame = FinalHit * CFrame.new(-10, 0, 0),
  1518. Parent = Bullet
  1519. })
  1520. local BEEP = script.ParticleEmitter:Clone()
  1521. BEEP.Color = ColorSequence.new(Color3.fromRGB(50, 50, 255), Color3.fromRGB(85, 0, 255))
  1522. BEEP.Size = NumberSequence.new(5, 1)
  1523. BEEP.Rate = 100
  1524. BEEP:Clone().Parent = Beep1
  1525. BEEP:Clone().Parent = Beep2
  1526. spawn(function()
  1527. for i = 0, 1, 0.01 do
  1528. Beep1.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(-10, 3 * i, 0)
  1529. Beep2.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(10, 3 * i, 0)
  1530. wait()
  1531. end
  1532. Beep1.ParticleEmitter.Enabled = false
  1533. Beep2.ParticleEmitter.Enabled = false
  1534. delay(2, function()
  1535. Beep1:Destroy()
  1536. Beep2:Destroy()
  1537. end)
  1538. end)
  1539. Tween(x, TweenInfo.new(2), {Transparency = 1})
  1540. Tween(xmesh, TweenInfo.new(2), {
  1541. Scale = Vector3.new(20, 20, 20)
  1542. })
  1543. local Ring = script.Ring:Clone()
  1544. Ring.Color = Color3.new(0, 0, 0)
  1545. Ring.Material = "Neon"
  1546. Ring.CFrame = CFrame.new(FinalHit.p, FinalHit.p + Bottom) * CFrame.Angles(math.rad(90), 0, 0)
  1547. Ring.Size = Vector3.new(0, 0.2, 0)
  1548. Ring.CanCollide = false
  1549. Ring.Anchored = true
  1550. Ring.Parent = Bullet
  1551. Tween(Ring, TweenInfo.new(1), {
  1552. Size = Vector3.new(20, 0.2, 20),
  1553. Transparency = 1
  1554. })
  1555. Bullet:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  1556. delay(2, function()
  1557. TrueWait(2)
  1558. Bullet:Destroy()
  1559. end)
  1560. end)
  1561. for i = 0, 1, 0.15 / ButterAnim do
  1562. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1563. PlayAnimation({
  1564. CFrame.new(-0.137045503, -0.761435628, 0.770907164, 0.883310139, 1.0529871E-7, -0.46878925, -0.210086033, 0.893960476, -0.395851642, 0.419079065, 0.448145777, 0.789644361) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1565. CFrame.new(-0.0305352658, 1.53166354, -0.0553531051, 0.875569403, -0.152405933, 0.458422124, 1.66925602E-5, 0.948941767, 0.315451145, -0.483092487, -0.276191652, 0.830867052) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1566. CFrame.new(0.444350153, 0.804517627, -1.16782951, 0.764651, 0.602324009, -0.229161292, -0.0522259623, -0.296508014, -0.95360136, -0.642325044, 0.741140366, -0.195268184) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1567. CFrame.new(-0.26095736, 0.897974849, -0.918429732, 0.340544492, -0.858729422, -0.382901549, -0.686886489, -0.505309343, 0.522349954, -0.642040849, 0.0851264596, -0.76192987) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1568. CFrame.new(1.1586616, -1.10303259, 0.837247849, 0.825884759, -0.551328897, -0.11811471, 0.138498664, -0.00469979644, 0.990351498, -0.54656446, -0.834274828, 0.0724768043) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1569. CFrame.new(-0.721367359, -1.68246186, -0.139276266, 0.678860903, -0.231733114, 0.696740985, -0.110709377, 0.905742168, 0.409114361, -0.725872874, -0.354867458, 0.589217901) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1570. }, i, false)
  1571. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(-10), 0, 0), i)
  1572. wait()
  1573. end
  1574. for i = 0, 1, 0.2 / ButterAnim do
  1575. wait()
  1576. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1577. PlayAnimation({
  1578. CFrame.new(-0.137036994, -0.512278318, 0.0613622367, 0.883309782, -7.23928864E-8, -0.468789697, -0.0944619775, 0.979488134, -0.177988723, 0.459173888, 0.20150198, 0.865191519) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1579. CFrame.new(-7.19726086E-6, 1.4999907, 9.50694084E-6, 0.875569582, -0.111872286, 0.469960213, 1.74425077E-5, 0.972824335, 0.231544703, -0.483092219, -0.202725321, 0.851777315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1580. CFrame.new(0.323510528, 0.324661076, -1.23929775, 0.743825972, 0.524815202, 0.413874149, 0.359908253, 0.207274288, -0.90967226, -0.563195229, 0.825594544, -0.0347093232) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1581. CFrame.new(-0.496937364, 0.698004484, -0.909043014, 0.507168055, -0.594999015, -0.623503566, -0.860103726, -0.303435564, -0.410059154, 0.0547915846, 0.744246721, -0.665653765) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1582. CFrame.new(1.09593081, -1.46754241, 0.650105119, 0.825888455, -0.513390243, 0.233106554, 0.138452649, 0.585431516, 0.798812211, -0.546570361, -0.627455592, 0.554581404) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1583. CFrame.new(-0.829122424, -1.67726755, -0.240818083, 0.678866208, -0.0796007812, 0.729934514, -0.110706091, 0.971646249, 0.208920732, -0.725868344, -0.222637415, 0.650805533) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1584. }, i, false)
  1585. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun, i)
  1586. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(10), 0, 0), i)
  1587. end
  1588. Attacking = false
  1589. end
  1590. function V()
  1591. Cooldown("V")
  1592. Attacking = true
  1593. for i = 0, 1, 0.12 / ButterAnim do
  1594. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1595. PlayAnimation({
  1596. CFrame.new(-0.202819973, -0.0246362686, -0.0744927227, 0.761807561, -6.11343428E-30, -0.647803485, 1.94370206E-29, 1, 1.34204817E-29, 0.647803485, -2.2815192E-29, 0.761807561) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1597. CFrame.new(4.17232513E-7, 1.49999917, 1.89244747E-6, 0.9326424, -0.0415122062, 0.358406425, -0.0164030064, 0.98745364, 0.15705502, -0.360429376, -0.152355105, 0.920260191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1598. CFrame.new(1.76302433, 0.397008717, 0.151900023, 0.785691321, -0.618498683, 0.0121935904, 0.511248052, 0.660294354, 0.550124407, -0.348302603, -0.425994009, 0.83499378) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1599. CFrame.new(-0.260355294, 0.590483546, -1.14541793, 0.353894949, -0.797790647, -0.488148242, -0.933768868, -0.331088334, -0.135854065, -0.0532370806, 0.5038957, -0.862122416) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1600. CFrame.new(0.734898806, -1.99501681, -0.019940719, 0.943360627, -0.0457969084, 0.328593373, 0.0484899804, 0.998823762, -1.52598841E-6, -0.328206778, 0.0159349255, 0.944471598) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1601. CFrame.new(-0.687264025, -1.99117541, -0.0508008301, 0.794990361, 0.0610336103, 0.603544116, -0.0799870342, 0.996785581, 0.00455890223, -0.60132575, -0.0518999808, 0.79731673) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1602. }, i, false)
  1603. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun, i)
  1604. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun, i)
  1605. wait()
  1606. end
  1607. for i = 0, 1, 0.1 / ButterAnim do
  1608. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1609. PlayAnimation({
  1610. CFrame.new(0.0304290503, -0.123203494, -0.341218919, 0.272727966, -2.84477508E-8, 0.962091267, -0.0671509951, 0.997561216, 0.019035602, -0.959744871, -0.0697969198, 0.272062868) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1611. CFrame.new(1.34110451E-7, 1.49999619, -2.95415521E-6, 0.259841651, -0.0559205897, -0.964030802, 1.87952537E-6, 0.99832195, -0.0579092093, 0.965651393, 0.0150454156, 0.259405762) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1612. CFrame.new(1.87426484, 0.547303438, -0.261219561, 0.374594778, -0.920806348, 0.108601958, 0.116860546, -0.0693082958, -0.990727007, 0.919794798, 0.383812487, 0.0816434249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1613. CFrame.new(-1.25910807, 0.48557198, -0.583863437, 0.996713161, -0.0618878156, -0.0522785485, -0.0784967989, -0.897347867, -0.434286952, -0.0200349987, 0.436963141, -0.899256349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1614. CFrame.new(0.712896526, -1.86757326, -0.180085778, 0.848932624, -0.106919587, -0.51757288, 0.0912610143, 0.994267702, -0.0557066239, 0.520562053, 5.69485128E-5, 0.8538239) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1615. CFrame.new(-0.853444815, -1.96238887, 0.0665092617, 0.927770376, 0.12306606, -0.35227412, -0.0674868822, 0.983820856, 0.165957853, 0.366998434, -0.130196884, 0.921065271) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1616. }, i, false)
  1617. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun, i)
  1618. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(15), 0, 0), i)
  1619. wait()
  1620. end
  1621. local Bullet = Create("Part")({
  1622. Parent = Torso,
  1623. Size = Vector3.new(),
  1624. Transparency = 1,
  1625. CanCollide = false,
  1626. Anchored = true,
  1627. Material = "Neon"
  1628. })
  1629. local xxxxxx = script.ParticleEmitter:Clone()
  1630. xxxxxx.Texture = "http://www.roblox.com/asset/?id=614589610"
  1631. xxxxxx.Parent = Bullet
  1632. local Attachment = Create("Attachment")({
  1633. Parent = Bullet,
  1634. Position = Vector3.new(0, 0, 0.2)
  1635. })
  1636. local Attachment2 = Create("Attachment")({
  1637. Parent = Bullet,
  1638. Position = Vector3.new(0, 0, -0.2)
  1639. })
  1640. local Trail = Create("Trail")({
  1641. Color = ColorSequence.new(BrickColor.new("Dark indigo").Color),
  1642. LightEmission = 1,
  1643. Texture = "http://www.roblox.com/asset/?id=908770358",
  1644. Transparency = NumberSequence.new(0),
  1645. Attachment0 = Attachment,
  1646. Attachment1 = Attachment2,
  1647. Lifetime = 0.2,
  1648. MinLength = NumberSequence.new(0.1),
  1649. FaceCamera = true,
  1650. Parent = Bullet
  1651. })
  1652. Bullet.CFrame = CFrame.new(WepR.GunPart.Position, Mouse.Hit.p)
  1653. so("rbxassetid://1132403352", WepR.GunPart, 0.5, 1 + math.random())
  1654. so("rbxassetid://936968317", WepR.GunPart, 0.5, 1 + math.random())
  1655. so("rbxassetid://1085143827", WepR.GunPart, 0.5, 1 + math.random())
  1656. spawn(function()
  1657. local FinalPoint = Mouse.Hit
  1658. local CurrentPoint = Bullet.CFrame
  1659. local Speed = 2
  1660. local Direction = CFrame.new(CurrentPoint.p, FinalPoint.p).lookVector
  1661. local FinalHit, HitPart, Bottom
  1662. local TimeOwO = tick()
  1663. repeat
  1664. local hit, pos, bottom = rayCast(Bullet.Position, Direction, Speed, Char)
  1665. HitPart = hit
  1666. FinalHit = CFrame.new(pos)
  1667. Bottom = bottom
  1668. Bullet.CFrame = CFrame.new(pos)
  1669. wait()
  1670. until hit or tick() >= TimeOwO + 10
  1671. local CircleExplosion = Create("Part")({
  1672. CFrame = FinalHit,
  1673. Parent = Bullet,
  1674. CanCollide = false,
  1675. Anchored = true,
  1676. Transparency = 0.3,
  1677. Color = Color3.new(1, 1, 1),
  1678. Material = "Neon",
  1679. Shape = "Ball",
  1680. Size = Vector3.new(1, 1, 1)
  1681. })
  1682. local CircleExplosionmesh = Instance.new("SpecialMesh", CircleExplosion)
  1683. CircleExplosionmesh.MeshType = "Sphere"
  1684. CircleExplosionmesh.Scale = Vector3.new(15, 15, 15)
  1685. local SquareInside = Create("Part")({
  1686. CFrame = CircleExplosion.CFrame * CFrame.Angles(math.random(), math.random(), math.random()),
  1687. Parent = CircleExplosion,
  1688. CanCollide = false,
  1689. Anchored = true,
  1690. CanCollide = false,
  1691. Color = Color3.new(0.8, 0.8, 0.8),
  1692. Material = "Neon",
  1693. Size = Vector3.new(1, 1, 1),
  1694. Transparency = 0
  1695. })
  1696. local SquareInsideMesh = Create("SpecialMesh")({
  1697. MeshType = "Brick",
  1698. Parent = SquareInside,
  1699. Scale = Vector3.new(10, 10, 10)
  1700. })
  1701. _Damage(CircleExplosion, 15, 10, 15, nil, {Intensity = 15, Down = 4}, true, {
  1702. SoundId = "588695064",
  1703. Volume = 1,
  1704. Pitch = 1
  1705. })
  1706. Tween(CircleExplosion, TweenInfo.new(1), {Transparency = 1})
  1707. Tween(CircleExplosionmesh, TweenInfo.new(1), {
  1708. Scale = Vector3.new(30, 30, 30)
  1709. })
  1710. Tween(SquareInside, TweenInfo.new(1.2), {
  1711. Transparency = 1,
  1712. Color = Color3.new(0, 0, 0)
  1713. })
  1714. Tween(SquareInsideMesh, TweenInfo.new(1.2), {
  1715. Scale = Vector3.new(18, 18, 18)
  1716. })
  1717. Bullet:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  1718. delay(2, function()
  1719. TrueWait(2)
  1720. Bullet:Destroy()
  1721. end)
  1722. end)
  1723. for i = 0, 1, 0.1 / ButterAnim do
  1724. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1725. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(-10), 0, 0), i)
  1726. PlayAnimation({
  1727. CFrame.new(0.0304270983, -0.473592579, 0.900361001, 0.272728086, -9.75351853E-8, 0.962091208, 0.199869081, 0.97818315, -0.0566576496, -0.941101372, 0.20774439, 0.266778082) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1728. CFrame.new(8.94069672E-7, 1.49999273, -1.98185444E-6, 0.259782016, 0.203806818, -0.943915427, 1.12927519E-5, 0.977474034, 0.211055815, 0.965667427, -0.0548391603, 0.253927886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1729. CFrame.new(1.44873726, 0.969067454, 0.222924769, 0.374608487, -0.504644215, 0.777819335, 0.116853893, -0.806520045, -0.579543471, 0.919790149, 0.307993114, -0.243159652) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1730. CFrame.new(-1.23896933, 0.729626715, -0.529699385, 0.96105355, -0.271373063, -0.0522760153, -0.266582191, -0.860430896, -0.434272557, 0.0728699267, 0.431295037, -0.899263382) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1731. CFrame.new(0.726796508, -1.80863404, -0.194818139, 0.824546933, 0.158301324, -0.543197274, -0.0536528528, 0.977612436, 0.203458413, 0.563243985, -0.138616949, 0.814580619) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1732. CFrame.new(-1.17846739, -1.30003202, 0.302759111, 0.830693483, 0.535148144, -0.153508395, -0.287260234, 0.64819634, 0.705211461, 0.476896107, -0.541717649, 0.692179441) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1733. }, i, false)
  1734. wait()
  1735. end
  1736. for i = 0, 1, 0.12 / ButterAnim do
  1737. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1738. PlayAnimation({
  1739. CFrame.new(0.0304290503, -0.123203494, -0.341218919, 0.272727966, -2.84477508E-8, 0.962091267, -0.0671509951, 0.997561216, 0.019035602, -0.959744871, -0.0697969198, 0.272062868) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1740. CFrame.new(1.34110451E-7, 1.49999619, -2.95415521E-6, 0.259841651, -0.0559205897, -0.964030802, 1.87952537E-6, 0.99832195, -0.0579092093, 0.965651393, 0.0150454156, 0.259405762) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1741. CFrame.new(1.87426484, 0.547303438, -0.261219561, 0.374594778, -0.920806348, 0.108601958, 0.116860546, -0.0693082958, -0.990727007, 0.919794798, 0.383812487, 0.0816434249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1742. CFrame.new(-1.25910807, 0.48557198, -0.583863437, 0.996713161, -0.0618878156, -0.0522785485, -0.0784967989, -0.897347867, -0.434286952, -0.0200349987, 0.436963141, -0.899256349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1743. CFrame.new(0.712896526, -1.86757326, -0.180085778, 0.848932624, -0.106919587, -0.51757288, 0.0912610143, 0.994267702, -0.0557066239, 0.520562053, 5.69485128E-5, 0.8538239) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1744. CFrame.new(-0.853444815, -1.96238887, 0.0665092617, 0.927770376, 0.12306606, -0.35227412, -0.0674868822, 0.983820856, 0.165957853, 0.366998434, -0.130196884, 0.921065271) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1745. }, i, false)
  1746. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun, i)
  1747. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(15), 0, 0), i)
  1748. wait()
  1749. end
  1750. Attacking = false
  1751. end
  1752. function T()
  1753. end
  1754. function so(id, par, vol, pit)
  1755. coroutine.resume(coroutine.create(function()
  1756. local sou = Instance.new("Sound", par or workspace)
  1757. sou.Volume = vol
  1758. sou.Pitch = pit or 1
  1759. sou.SoundId = id
  1760. wait()
  1761. sou:play()
  1762. game:GetService("Debris"):AddItem(sou, 6)
  1763. end))
  1764. end
  1765. Clicks = {
  1766. ["1"] = function()
  1767. Attacking = true
  1768. for i = 0, 1, 0.1 / ButterAnim do
  1769. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1770. PlayAnimation({
  1771. CFrame.new(0.0411055721, -0.0632095337, -0.266926259, 0.087155968, -6.11343428E-30, 0.996194661, -2.21955512E-29, 1, 8.07865019E-30, -0.996194661, -2.2815192E-29, 0.087155968) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1772. CFrame.new(1.38738937E-6, 1.49999976, 1.51955846E-5, 0.0909239501, 0, -0.995857835, 0, 1, 0, 0.995857835, 0, 0.0909239501) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1773. CFrame.new(1.74480784, 0.472951949, 0.348894924, 0.0868243426, -0.996082544, -0.0167673379, 0.0871530026, 0.024360979, -0.995897055, 0.992404163, 0.0850067809, 0.0889266878) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1774. CFrame.new(-1.52743697, 0.373691559, -0.380619764, 0.931852937, 0.0305815544, -0.361545324, -0.185108066, -0.816944301, -0.546202362, -0.312066138, 0.575905144, -0.755611002) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1775. CFrame.new(0.825546503, -1.99942052, -0.117635459, 0.583260715, -0.0210166201, -0.812013149, 0.0281280093, 0.999588251, -0.00566740101, 0.811797798, -0.0195347406, 0.583611786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1776. CFrame.new(-0.742556751, -1.98362088, -0.166858554, 0.822662294, 0.0857949927, -0.562019527, -0.0555580072, 0.995948374, 0.0707126632, 0.56580925, -0.0269479603, 0.824095786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1777. }, i, false)
  1778. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(9), 0, 0), i)
  1779. wait()
  1780. end
  1781. local Bullet = Create("Part")({
  1782. Parent = Torso,
  1783. Transparency = 1,
  1784. Material = Enum.Material.Neon,
  1785. Size = Vector3.new(),
  1786. Shape = "Block",
  1787. CanCollide = false,
  1788. Anchored = true,
  1789. Color = BrickColor.new("Dark indigo").Color
  1790. })
  1791. script.ParticleEmitter:Clone().Parent = Bullet
  1792. local Attachment = Create("Attachment")({
  1793. Parent = Bullet,
  1794. Position = Vector3.new(0, 0, 0.2)
  1795. })
  1796. local Attachment2 = Create("Attachment")({
  1797. Parent = Bullet,
  1798. Position = Vector3.new(0, 0, -0.2)
  1799. })
  1800. local Trail = Create("Trail")({
  1801. Color = ColorSequence.new(BrickColor.new("Dark indigo").Color),
  1802. LightEmission = 1,
  1803. Texture = "",
  1804. Transparency = NumberSequence.new(0),
  1805. Attachment0 = Attachment,
  1806. Attachment1 = Attachment2,
  1807. Lifetime = 0.2,
  1808. MinLength = NumberSequence.new(0.1),
  1809. FaceCamera = true,
  1810. Parent = Bullet
  1811. })
  1812. Bullet.CFrame = CFrame.new(WepR.GunPart.Position, Mouse.Hit.p)
  1813. so("rbxassetid://1132403352", WepR.GunPart, 0.5, 1 + math.random())
  1814. so("rbxassetid://936968317", WepR.GunPart, 0.5, 1 + math.random())
  1815. so("rbxassetid://1085143827", WepR.GunPart, 0.5, 1 + math.random())
  1816. spawn(function()
  1817. local FinalPoint = Mouse.Hit
  1818. local CurrentPoint = Bullet.CFrame
  1819. local Speed = 2
  1820. local Direction = CFrame.new(CurrentPoint.p, FinalPoint.p).lookVector
  1821. local FinalHit, HitPart, Bottom
  1822. local TimeOwO = tick()
  1823. repeat
  1824. local hit, pos, bottom = rayCast(Bullet.Position, Direction, Speed, Char)
  1825. HitPart = hit
  1826. FinalHit = CFrame.new(pos)
  1827. Bottom = bottom
  1828. Bullet.CFrame = CFrame.new(pos)
  1829. wait()
  1830. until hit or tick() >= TimeOwO + 10
  1831. local x = Create("Part")({
  1832. Size = Vector3.new(1, 1, 1),
  1833. Color = Color3.fromRGB(90, 0, 255),
  1834. Material = "Neon",
  1835. CanCollide = false,
  1836. Anchored = true,
  1837. CFrame = FinalHit,
  1838. Parent = Bullet
  1839. })
  1840. local xmesh = Instance.new("SpecialMesh", x)
  1841. xmesh.MeshType = "Sphere"
  1842. _Damage(x, 10, 3, 5, "None", nil, true, {
  1843. SoundId = "588695064",
  1844. Volume = 1,
  1845. Pitch = 1
  1846. })
  1847. local Reference = Create("Part")({
  1848. Size = Vector3.new(),
  1849. CFrame = FinalHit,
  1850. Parent = Torso,
  1851. CanCollide = false,
  1852. Anchored = true,
  1853. Transparency = 1
  1854. })
  1855. local Particle = script.cubes:Clone()
  1856. Particle.Parent = Reference
  1857. for i = 1, 10 do
  1858. Particle:Emit()
  1859. end
  1860. local Beep1 = Create("Part")({
  1861. Shape = "Ball",
  1862. Size = Vector3.new(0.1, 0.1, 0.1),
  1863. Transparency = 1,
  1864. Anchored = true,
  1865. CanCollide = false,
  1866. CFrame = FinalHit * CFrame.new(10, 0, 0),
  1867. Parent = Bullet
  1868. })
  1869. local Beep2 = Create("Part")({
  1870. Shape = "Ball",
  1871. Size = Vector3.new(0.1, 0.1, 0.1),
  1872. Transparency = 1,
  1873. Anchored = true,
  1874. CanCollide = false,
  1875. CFrame = FinalHit * CFrame.new(-10, 0, 0),
  1876. Parent = Bullet
  1877. })
  1878. local BEEP = script.ParticleEmitter:Clone()
  1879. BEEP.Color = ColorSequence.new(Color3.fromRGB(50, 50, 255), Color3.fromRGB(85, 0, 255))
  1880. BEEP.Size = NumberSequence.new(5, 1)
  1881. BEEP.Rate = 100
  1882. BEEP:Clone().Parent = Beep1
  1883. BEEP:Clone().Parent = Beep2
  1884. spawn(function()
  1885. for i = 0, 1, 0.01 do
  1886. Beep1.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(-10, 3 * i, 0)
  1887. Beep2.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(10, 3 * i, 0)
  1888. wait()
  1889. end
  1890. Beep1.ParticleEmitter.Enabled = false
  1891. Beep2.ParticleEmitter.Enabled = false
  1892. delay(2, function()
  1893. Beep1:Destroy()
  1894. Beep2:Destroy()
  1895. end)
  1896. end)
  1897. Tween(x, TweenInfo.new(2), {Transparency = 1})
  1898. Tween(xmesh, TweenInfo.new(2), {
  1899. Scale = Vector3.new(20, 20, 20)
  1900. })
  1901. local Ring = script.Ring:Clone()
  1902. Ring.Color = BrickColor.new("Alder").Color
  1903. Ring.Material = "Neon"
  1904. Ring.CFrame = CFrame.new(FinalHit.p, FinalHit.p + Bottom) * CFrame.Angles(math.rad(90), 0, 0)
  1905. Ring.Size = Vector3.new(0, 0.2, 0)
  1906. Ring.CanCollide = false
  1907. Ring.Anchored = true
  1908. Ring.Parent = Bullet
  1909. Tween(Ring, TweenInfo.new(1), {
  1910. Size = Vector3.new(20, 0.2, 20),
  1911. Transparency = 1
  1912. })
  1913. Bullet:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  1914. delay(2, function()
  1915. TrueWait(2)
  1916. Bullet:Destroy()
  1917. end)
  1918. end)
  1919. for i = 0, 1, 0.4 / ButterAnim do
  1920. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1921. PlayAnimation({
  1922. CFrame.new(0.0411292128, -0.181884363, 0.00160894636, 0.0871560425, -1.26625794E-8, 0.996194661, 0.0552680269, 0.998459876, -0.00483532855, -0.994660497, 0.0554791391, 0.0870218053) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1923. CFrame.new(-1.34110451E-6, 1.49999905, 1.09896064E-7, 0.09092585, 0.0845664069, -0.992260814, 8.23638402E-9, 0.996388018, 0.0849181637, 0.995857716, -0.00772126252, 0.0905974209) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1924. CFrame.new(1.59761429, 0.988384008, 0.316506654, 0.086863488, -0.794848144, 0.600559354, 0.087089926, -0.594471335, -0.799386919, 0.992406309, 0.121740192, 0.0175854079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1925. CFrame.new(-1.52743185, 0.373696536, -0.38063705, 0.931853235, 0.0305825751, -0.361544698, -0.185106784, -0.816944659, -0.546202421, -0.312066257, 0.575904787, -0.755611241) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1926. CFrame.new(0.830928862, -1.89394534, -0.125145555, 0.583253562, 0.0506162383, -0.810711801, 0.0281293932, 0.996199489, 0.0824342817, 0.811803102, -0.0708848983, 0.57961297) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1927. CFrame.new(-0.879629135, -1.8096478, 0.0682147145, 0.814905643, 0.166651234, -0.555118442, -0.123243585, 0.985691488, 0.114993155, 0.566339076, -0.0252937786, 0.823784113) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1928. }, i, false)
  1929. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(-10), 0, 0), i)
  1930. wait()
  1931. end
  1932. for i = 0, 1, 0.1 / ButterAnim do
  1933. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1934. PlayAnimation({
  1935. CFrame.new(0.0411055721, -0.0632095337, -0.266926259, 0.087155968, -6.11343428E-30, 0.996194661, -2.21955512E-29, 1, 8.07865019E-30, -0.996194661, -2.2815192E-29, 0.087155968) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1936. CFrame.new(1.38738937E-6, 1.49999976, 1.51955846E-5, 0.0909239501, 0, -0.995857835, 0, 1, 0, 0.995857835, 0, 0.0909239501) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1937. CFrame.new(1.74480784, 0.472951949, 0.348894924, 0.0868243426, -0.996082544, -0.0167673379, 0.0871530026, 0.024360979, -0.995897055, 0.992404163, 0.0850067809, 0.0889266878) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1938. CFrame.new(-1.52743697, 0.373691559, -0.380619764, 0.931852937, 0.0305815544, -0.361545324, -0.185108066, -0.816944301, -0.546202362, -0.312066138, 0.575905144, -0.755611002) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1939. CFrame.new(0.825546503, -1.99942052, -0.117635459, 0.583260715, -0.0210166201, -0.812013149, 0.0281280093, 0.999588251, -0.00566740101, 0.811797798, -0.0195347406, 0.583611786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1940. CFrame.new(-0.742556751, -1.98362088, -0.166858554, 0.822662294, 0.0857949927, -0.562019527, -0.0555580072, 0.995948374, 0.0707126632, 0.56580925, -0.0269479603, 0.824095786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1941. }, i, false)
  1942. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(9), 0, 0), i)
  1943. wait()
  1944. end
  1945. Attacking = false
  1946. end,
  1947. ["2"] = function()
  1948. Attacking = true
  1949. for i = 0, 1, 0.1 / ButterAnim do
  1950. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1951. PlayAnimation({
  1952. CFrame.new(0.037171457, 2.38418579E-7, -0.256055087, 0.173647001, -6.11343428E-30, -0.984807968, 2.35301634E-29, 1, -2.05876908E-30, 0.984807968, -2.2815192E-29, 0.173647001) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1953. CFrame.new(0, 1.49999881, 0, 0.173647001, 0, 0.984807968, 0, 1, 0, -0.984807968, 0, 0.173647001) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1954. CFrame.new(1.47277927, 0.681755602, -0.719712377, 0.918022335, 0.153215319, 0.365732372, 0.299565017, -0.872276664, -0.386515439, 0.259799719, 0.464390397, -0.846667409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1955. CFrame.new(-1.75520515, 0.449866802, 0.183949098, 0.173612967, 0.984779298, 0.00827241503, -0.0197960008, 0.0118879974, -0.999733448, -0.984614968, 0.173402935, 0.0215586033) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1956. CFrame.new(0.782128096, -1.98295033, -0.00245207548, 0.788971424, -0.0778202266, 0.609481871, 0.033998996, 0.99595654, 0.0831547603, -0.613488555, -0.0448849611, 0.788427055) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1957. CFrame.new(-0.775989532, -1.98967838, 0.0550791621, 0.611664891, 0.0225228406, 0.79079634, -0.0722769871, 0.997005224, 0.0275088716, -0.787808359, -0.0739825889, 0.611460984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1958. }, i, false)
  1959. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun * CFrame.Angles(math.rad(9), 0, 0), i)
  1960. wait()
  1961. end
  1962. local Bullet = Create("Part")({
  1963. Parent = Torso,
  1964. Transparency = 1,
  1965. Material = Enum.Material.Neon,
  1966. Size = Vector3.new(),
  1967. Shape = "Block",
  1968. CanCollide = false,
  1969. Anchored = true,
  1970. Color = Color3.new(0, 0, 0)
  1971. })
  1972. script.ParticleEmitter:Clone().Parent = Bullet
  1973. local Attachment = Create("Attachment")({
  1974. Parent = Bullet,
  1975. Position = Vector3.new(0, 0, 0.2)
  1976. })
  1977. local Attachment2 = Create("Attachment")({
  1978. Parent = Bullet,
  1979. Position = Vector3.new(0, 0, -0.2)
  1980. })
  1981. local Trail = Create("Trail")({
  1982. Color = ColorSequence.new(Color3.fromRGB(30, 30, 120)),
  1983. LightEmission = 1,
  1984. Texture = "",
  1985. Transparency = NumberSequence.new(0),
  1986. Attachment0 = Attachment,
  1987. Attachment1 = Attachment2,
  1988. Lifetime = 0.2,
  1989. MinLength = NumberSequence.new(0.1),
  1990. FaceCamera = true,
  1991. Parent = Bullet
  1992. })
  1993. Bullet.CFrame = CFrame.new(WepL.GunPart.Position, Mouse.Hit.p)
  1994. so("rbxassetid://1132403352", WepL.GunPart, 0.5, 1 + math.random())
  1995. so("rbxassetid://936968317", WepL.GunPart, 0.5, 1 + math.random())
  1996. so("rbxassetid://1085143827", WepL.GunPart, 0.5, 1 + math.random())
  1997. spawn(function()
  1998. local FinalPoint = Mouse.Hit
  1999. local CurrentPoint = Bullet.CFrame
  2000. local Speed = 2
  2001. local Direction = CFrame.new(CurrentPoint.p, FinalPoint.p).lookVector
  2002. local FinalHit, HitPart, Bottom
  2003. local TimeOwO = tick()
  2004. repeat
  2005. local hit, pos, bottom = rayCast(Bullet.Position, Direction, Speed, Char)
  2006. HitPart = hit
  2007. FinalHit = CFrame.new(pos)
  2008. Bottom = bottom
  2009. Bullet.CFrame = CFrame.new(pos)
  2010. wait()
  2011. until hit or tick() >= TimeOwO + 10
  2012. local x = Create("Part")({
  2013. Size = Vector3.new(1, 1, 1),
  2014. Color = Color3.fromRGB(90, 0, 255),
  2015. Material = "Neon",
  2016. CanCollide = false,
  2017. Anchored = true,
  2018. CFrame = FinalHit,
  2019. Parent = Bullet
  2020. })
  2021. local xmesh = Instance.new("SpecialMesh", x)
  2022. xmesh.MeshType = "Sphere"
  2023. _Damage(x, 10, 3, 5, "None", nil, true, {
  2024. SoundId = "588695064",
  2025. Volume = 1,
  2026. Pitch = 1
  2027. })
  2028. local Reference = Create("Part")({
  2029. Size = Vector3.new(),
  2030. CFrame = FinalHit,
  2031. Parent = Torso,
  2032. CanCollide = false,
  2033. Anchored = true,
  2034. Transparency = 1
  2035. })
  2036. local Particle = script.cubes:Clone()
  2037. Particle.Parent = Reference
  2038. for i = 1, 10 do
  2039. Particle:Emit()
  2040. end
  2041. local Beep1 = Create("Part")({
  2042. Shape = "Ball",
  2043. Size = Vector3.new(0.1, 0.1, 0.1),
  2044. Transparency = 1,
  2045. Anchored = true,
  2046. CanCollide = false,
  2047. CFrame = FinalHit * CFrame.new(10, 0, 0),
  2048. Parent = Bullet
  2049. })
  2050. local Beep2 = Create("Part")({
  2051. Shape = "Ball",
  2052. Size = Vector3.new(0.1, 0.1, 0.1),
  2053. Transparency = 1,
  2054. Anchored = true,
  2055. CanCollide = false,
  2056. CFrame = FinalHit * CFrame.new(-10, 0, 0),
  2057. Parent = Bullet
  2058. })
  2059. local BEEP = script.ParticleEmitter:Clone()
  2060. BEEP.Color = ColorSequence.new(Color3.fromRGB(50, 50, 255), Color3.fromRGB(85, 0, 255))
  2061. BEEP.Size = NumberSequence.new(5, 1)
  2062. BEEP.Rate = 100
  2063. BEEP:Clone().Parent = Beep1
  2064. BEEP:Clone().Parent = Beep2
  2065. spawn(function()
  2066. for i = 0, 1, 0.01 do
  2067. Beep1.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(-10, 3 * i, 0)
  2068. Beep2.CFrame = FinalHit * CFrame.Angles(0, math.rad(720 * i), 0) * CFrame.new(10, 3 * i, 0)
  2069. wait()
  2070. end
  2071. Beep1.ParticleEmitter.Enabled = false
  2072. Beep2.ParticleEmitter.Enabled = false
  2073. delay(2, function()
  2074. Beep1:Destroy()
  2075. Beep2:Destroy()
  2076. end)
  2077. end)
  2078. Tween(x, TweenInfo.new(2), {Transparency = 1})
  2079. Tween(xmesh, TweenInfo.new(2), {
  2080. Scale = Vector3.new(20, 20, 20)
  2081. })
  2082. local Ring = script.Ring:Clone()
  2083. Ring.Color = BrickColor.new("Alder").Color
  2084. Ring.Material = "Neon"
  2085. Ring.CFrame = CFrame.new(FinalHit.p, FinalHit.p + Bottom) * CFrame.Angles(math.rad(90), 0, 0)
  2086. Ring.Size = Vector3.new(0, 0.2, 0)
  2087. Ring.CanCollide = false
  2088. Ring.Anchored = true
  2089. Ring.Parent = Bullet
  2090. Tween(Ring, TweenInfo.new(1), {
  2091. Size = Vector3.new(20, 0.2, 20),
  2092. Transparency = 1
  2093. })
  2094. Bullet:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  2095. delay(2, function()
  2096. TrueWait(2)
  2097. Bullet:Destroy()
  2098. end)
  2099. end)
  2100. for i = 0, 1, 0.4 / ButterAnim do
  2101. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  2102. PlayAnimation({
  2103. CFrame.new(0.0371810719, -0.0916759372, 0.0555628389, 0.173646986, 7.89200172E-8, -0.984808028, -0.0757439956, 0.997037828, -0.0133555364, 0.981890857, 0.0769124404, 0.173132628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2104. CFrame.new(4.70876694E-6, 1.49999893, 9.49949026E-7, 0.173646986, -0.127147749, 0.97656554, 7.89200172E-8, 0.991630316, 0.129109159, -0.984808028, -0.0224193409, 0.172193646) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2105. CFrame.new(1.41647792, 0.793092906, -0.503830075, 0.873067975, 0.238252163, 0.425427288, 0.404830575, -0.840503573, -0.360091627, 0.27178055, 0.486610502, -0.830268502) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2106. CFrame.new(-1.53123009, 0.920753717, 0.412293106, 0.173673794, 0.755895317, -0.631236732, -0.0197145827, -0.638180494, -0.769634366, -0.984605968, 0.146109894, -0.0959330574) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2107. CFrame.new(0.943028688, -1.89446342, -0.152141273, 0.76292628, -0.262643695, 0.590730071, 0.150626719, 0.960823894, 0.232656628, -0.628693342, -0.0885201246, 0.772598863) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2108. CFrame.new(-0.776076019, -1.98845387, 0.0550327301, 0.611349344, -0.0793843865, 0.787369251, 0.0129989199, 0.995828986, 0.0903088525, -0.791254163, -0.0449753068, 0.609831393) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2109. }, i, false)
  2110. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun * CFrame.Angles(math.rad(-10), 0, 0), i)
  2111. wait()
  2112. end
  2113. for i = 0, 1, 0.1 / ButterAnim do
  2114. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  2115. PlayAnimation({
  2116. CFrame.new(0.037171457, 2.38418579E-7, -0.256055087, 0.173647001, -6.11343428E-30, -0.984807968, 2.35301634E-29, 1, -2.05876908E-30, 0.984807968, -2.2815192E-29, 0.173647001) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2117. CFrame.new(0, 1.49999881, 0, 0.173647001, 0, 0.984807968, 0, 1, 0, -0.984807968, 0, 0.173647001) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2118. CFrame.new(1.47277927, 0.681755602, -0.719712377, 0.918022335, 0.153215319, 0.365732372, 0.299565017, -0.872276664, -0.386515439, 0.259799719, 0.464390397, -0.846667409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2119. CFrame.new(-1.75520515, 0.449866802, 0.183949098, 0.173612967, 0.984779298, 0.00827241503, -0.0197960008, 0.0118879974, -0.999733448, -0.984614968, 0.173402935, 0.0215586033) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2120. CFrame.new(0.782128096, -1.98295033, -0.00245207548, 0.788971424, -0.0778202266, 0.609481871, 0.033998996, 0.99595654, 0.0831547603, -0.613488555, -0.0448849611, 0.788427055) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2121. CFrame.new(-0.775989532, -1.98967838, 0.0550791621, 0.611664891, 0.0225228406, 0.79079634, -0.0722769871, 0.997005224, 0.0275088716, -0.787808359, -0.0739825889, 0.611460984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2122. }, i, false)
  2123. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun * CFrame.Angles(math.rad(9), 0, 0), i)
  2124. wait()
  2125. end
  2126. Attacking = false
  2127. end
  2128. }
  2129. local FootstepSounds = {
  2130. "rbxassetid://1508320672",
  2131. "rbxassetid://1508320756",
  2132. "rbxassetid://1508320839",
  2133. "rbxassetid://1508320932",
  2134. "rbxassetid://1508320993",
  2135. "rbxassetid://1508320672"
  2136. }
  2137. Sine = 0
  2138. CSine = 0
  2139. JumpNum = 0
  2140. ManaGen = true
  2141. BeamStart = tick()
  2142. StepSound = false
  2143. Beat.Event:connect(function()
  2144. Char.Humanoid.MaxHealth = 80 * Stat.Defense
  2145. Char.Humanoid.WalkSpeed = 16 * Stat.Speed
  2146. Val.Text = Stat.Attack
  2147. Val_2.Text = Stat.Defense
  2148. Val_3.Text = Stat.Speed
  2149. Val_4.Text = math.floor(Char.Humanoid.Health / Char.Humanoid.MaxHealth * 100) .. "%"
  2150. Sine = Sine + (0.5 + 0.5 * (120 / FramesFiredPerSecond) - 0.5)
  2151. CSine = tick() / (ButterAnim * (120 / FramesFiredPerSecond))
  2152. CSine = CSine * 11 / (ButterAnim * (120 / FramesFiredPerSecond))
  2153. if Attacking == false then
  2154. if ManaGen == true and Stat.Mana <= 260 then
  2155. Stat.Mana = Stat.Mana + 0.30 / ButterAnim
  2156. ZCool_5:TweenSize(UDim2.new(1, 0, -(Stat.Mana / 110), 0), 1, 4, 0.2, true)
  2157. end
  2158. ZCool_5:TweenSize(UDim2.new(1, 0, -(Stat.Mana / 110), 0), 1, 4, 0.2, true)
  2159. if Cooldowns.Z.Current < Cooldowns.Z.Max then
  2160. Cooldowns.Z.Current = Cooldowns.Z.Current + 0.03 / ButterAnim
  2161. ZCooldown:TweenSize(UDim2.new(Cooldowns.Z.Current / Cooldowns.Z.Max, 0, 1, 0), 1, 4, 0.2, true)
  2162. end
  2163. if Cooldowns.X.Current < Cooldowns.X.Max then
  2164. Cooldowns.X.Current = Cooldowns.X.Current + 0.03 / ButterAnim
  2165. XCooldown:TweenSize(UDim2.new(Cooldowns.X.Current / Cooldowns.X.Max, 0, 1, 0), 1, 4, 0.2, true)
  2166. end
  2167. if Cooldowns.C.Current < Cooldowns.C.Max then
  2168. Cooldowns.C.Current = Cooldowns.C.Current + 0.03 / ButterAnim
  2169. CCooldown:TweenSize(UDim2.new(Cooldowns.C.Current / Cooldowns.C.Max, 0, 1, 0), 1, 4, 0.2, true)
  2170. end
  2171. if Cooldowns.V.Current < Cooldowns.V.Max then
  2172. Cooldowns.V.Current = Cooldowns.V.Current + 0.03 / ButterAnim
  2173. VCooldown:TweenSize(UDim2.new(Cooldowns.V.Current / Cooldowns.V.Max, 0, 1, 0), 1, 4, 0.2, true)
  2174. end
  2175. if Cooldowns.E.Current < Cooldowns.E.Max then
  2176. Cooldowns.E.Current = Cooldowns.E.Current + 0.03 / ButterAnim
  2177. end
  2178. local TVec = (RootJoint.Parent.Velocity * Vector3.new(1, 0, 1)).magnitude
  2179. local JumpVec = (RootJoint.Parent.Velocity * Vector3.new(0, 1, 0)).magnitude
  2180. local hitfloor, posfloor = rayCast(RootJoint.Parent.Position, RootJoint.Parent.CFrame.upVector, -4, Char)
  2181. local CAnim = ""
  2182. if 1 <= RootJoint.Parent.Velocity.y and hitfloor == nil then
  2183. CAnim = "Jump"
  2184. PlayAnimation({
  2185. CFrame.new(-1.12012891E-29, -0.0111799557, -0.0804864019, 1, -1.89445905E-29, 1.38866266E-28, 6.11343504E-30, 0.995775461, 0.0918230414, -1.40019127E-28, -0.0918230414, 0.995775461) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2186. CFrame.new(0, 1.5142101, -0.0657982975, 1, 0, 0, 0, 0.98581636, 0.167828411, 0, -0.167828411, 0.98581636) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2187. CFrame.new(1.68163621, 0.667070091, 0.301444858, 0.548277974, -0.802017391, -0.236979887, 0.819695473, 0.571547687, -0.0378521755, 0.165803403, -0.173497841, 0.970777094) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2188. CFrame.new(-1.58769262, 0.519780576, 0.369925946, 0.569910884, 0.737910151, 0.361511141, -0.719557762, 0.660613418, -0.214072242, -0.3967852, -0.13812606, 0.907459557) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2189. CFrame.new(0.707064271, -1.82145953, 0.356725097, 0.976979613, -0.118949339, -0.17709282, 0.185890228, 0.881958961, 0.433120608, 0.104669183, -0.456069797, 0.883767426) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2190. CFrame.new(-0.792503774, -1.8221221, -0.00282472372, 0.975874662, 0.161554188, 0.146863565, -0.195329204, 0.946552038, 0.256682932, -0.0975458026, -0.279177129, 0.955272436) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2191. }, 0.1, false)
  2192. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(20 + math.sin(tick() * 6) * 10), math.rad(5), 0), 0.1)
  2193. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun * CFrame.Angles(math.rad(20 + math.sin(tick() * 6) * 10), math.rad(-5), 0), 0.1)
  2194. elseif RootJoint.Parent.Velocity.y <= -1 and hitfloor == nil then
  2195. CAnim = "Falling"
  2196. PlayAnimation({
  2197. CFrame.new(8.85836218E-30, -6.31400384E-4, 0.0632378012, 1, 2.44490562E-29, 1.38003533E-28, 6.11343504E-30, 0.976120234, -0.217231035, -1.40019127E-28, 0.21723105, 0.976120234) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2198. CFrame.new(0, 1.57274389, -0.171027005, 1, 0, 0, 0, 0.938469291, 0.345362902, 0, -0.345362902, 0.938469291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2199. CFrame.new(1.73278558, 0.888524592, 0.252154469, 0.377220899, -0.908421993, -0.180205151, 0.914757431, 0.395861, -0.0807038844, 0.144649416, -0.134400785, 0.980312765) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2200. CFrame.new(-1.7448889, 0.842163503, 0.298191041, 0.272370964, 0.947656095, 0.166619569, -0.89304167, 0.313438565, -0.322851062, -0.358176768, -0.0608629659, 0.931667984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2201. CFrame.new(0.654052377, -1.65137398, 0.549477458, 0.976980567, -0.0505371317, -0.207256272, 0.185886964, 0.678343773, 0.710841596, 0.10466709, -0.73300463, 0.672122836) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2202. CFrame.new(-0.695510209, -1.50978971, -0.363630146, 0.975874901, 0.161553174, 0.146862999, -0.150243282, 0.984974563, -0.0851614028, -0.158414394, 0.061041683, 0.985484123) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2203. }, 0.1, false)
  2204. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(20 + math.sin(tick() * 6) * 10), math.rad(5), 0), 0.1)
  2205. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun * CFrame.Angles(math.rad(20 + math.sin(tick() * 6) * 10), math.rad(-5), 0), 0.1)
  2206. elseif TVec >= 1 and TVec <= 25 and hitfloor ~= nil then
  2207. CAnim = "Walking"
  2208. if not StepSound then
  2209. StepSound = true
  2210. TrompUtility.Create("Sound")({
  2211. SoundId = FootstepSounds[math.random(1, #FootstepSounds)],
  2212. Volume = 1,
  2213. Pitch = 1 + math.random(),
  2214. Parent = Torso,
  2215. function(s)
  2216. s:Play()
  2217. wait(46.3)
  2218. s:Destroy()
  2219. StepSound = false
  2220. end
  2221. })
  2222. end
  2223. PlayAnimation({
  2224. CFrame.new(-0.184873492, -0.339640886, -0.386451542, 0.774520099, -4.27026265E-7, -0.632549405, 0.165614009, 0.965116978, 0.202784076, 0.610484064, -0.261819363, 0.747502506) * CFrame.new(0, 0.1 + 0.1 * math.cos(Sine / 4), 0) * CFrame.Angles(0, 0 - 0.1 * math.cos(Sine / 8), 0),
  2225. CFrame.new(0.0415066406, 1.49597037, 0.0525177717, 0.78457427, 0.0970193148, 0.612397492, 4.94159758E-6, 0.98768127, -0.156480074, -0.620035112, 0.122773245, 0.774908662) * CFrame.new(0, 0, 0) * CFrame.Angles(0 - 0.05 * math.cos(Sine / 4), 0 + 0.1 * math.cos(Sine / 8), 0),
  2226. CFrame.new(0.576921582, 0.286114782, -1.00435781, 0.0644228756, 0.746003151, 0.662819028, 0.911147952, 0.22692807, -0.343966842, -0.407012641, 0.62608552, -0.665099859) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + 0.1 * math.cos(Sine / 8), 0 + 0.1 * math.cos(Sine / 8), 0),
  2227. CFrame.new(-1.49424994, 0.69870317, -0.142548054, 0.739977777, 0.148612529, -0.656008661, -0.130020902, -0.925289094, -0.356279016, -0.65994513, 0.348933399, -0.665370584) * CFrame.new(0, 0, 0) * CFrame.Angles(0 - 0.1 * math.cos(Sine / 8), 0 - 0.1 * math.cos(Sine / 8), 0),
  2228. CFrame.new(0.500000119, -1.99999976, 1.92225002E-6, 1.00000024, 1.49011612E-8, 2.98023224E-8, 1.49011612E-8, 1.00000012, 0, 2.98023224E-8, 0, 1.00000012) * CFrame.new(0.14, 0.1 + 0.2 * math.cos(Sine / 8), 0 - 0.8 * math.sin(Sine / 8)) * CFrame.Angles(math.rad(40 * math.sin(Sine / 8)), math.rad(30), 0),
  2229. CFrame.new(-0.500009656, -1.99999642, 1.81049127E-5, 1.00000024, 1.49011612E-8, 2.98023224E-8, 1.49011612E-8, 1.00000012, 0, 2.98023224E-8, 0, 1.00000012) * CFrame.new(-0.14, 0.1 - 0.2 * math.cos(Sine / 8), 0 + 0.8 * math.sin(Sine / 8)) * CFrame.Angles(math.rad(-40 * math.sin(Sine / 8)), math.rad(30), 0)
  2230. }, 0.1, false)
  2231. elseif TVec >= 50 and hitfloor ~= nil then
  2232. CAnim = "Running"
  2233. PlayAnimation({
  2234. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, math.sin(CSine * 2) / 8, 0) * CFrame.Angles(math.rad(-20), 0, 0),
  2235. CFrame.new(0, 1.49999261, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20 + Sine / 6 / 25), 0, 0),
  2236. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1) * CFrame.new(-0.03, 0.05, 0 - 0.9 * math.cos(Sine / 6)) * CFrame.Angles(math.rad(0) + 0.9 * math.cos(Sine / 6), 0, 0),
  2237. CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1) * CFrame.new(-0.03, 0.05, 0 - 0.9 * -math.cos(Sine / 6)) * CFrame.Angles(math.rad(0) + 0.9 * -math.cos(Sine / 6), 0, 0),
  2238. CFrame.new(0.54, -1, 0) * CFrame.new(0, 0.25 * math.sin(Sine / 6), -0.125 - 0.25 * math.sin(Sine / 6)) * CFrame.Angles(math.rad(-10 - 60 * math.cos(Sine / 6)), math.rad(0), 0) * CFrame.new(0, -1, 0),
  2239. CFrame.new(-0.54, -1, 0) * CFrame.new(0, -0.25 * math.sin(Sine / 6), -0.125 + 0.25 * math.sin(Sine / 6)) * CFrame.Angles(math.rad(-10 + 60 * math.cos(Sine / 6)), math.rad(0), 0) * CFrame.new(0, -1, 0)
  2240. }, 0.1, false)
  2241. elseif TVec < 1 and hitfloor ~= nil then
  2242. CAnim = "Idle"
  2243. PlayAnimation({
  2244. CFrame.new(0.0538532697, -0.12984103, -0.0836975873, 0.86602509, 3.5488128E-8, -0.500000656, 0.0435780026, 0.996194661, 0.0754792392, 0.498098046, -0.0871559456, 0.86272949) * CFrame.new(0, -0.1 + 0.1 * math.sin(Sine / 20), 0 + 0.1 * math.sin(Sine / 20)) * CFrame.Angles(0, 0, 0),
  2245. CFrame.new(-9.87201929E-7, 1.49999928, -5.40167093E-8, 0.864377618, -0.0318633392, 0.501832902, 0.0435784087, 0.998982251, -0.0116319433, -0.500951469, 0.0319234505, 0.864886463) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + 0.05 * math.sin(Sine / 20), 0, 0),
  2246. CFrame.new(0.608186781, 0.262578517, -1.01786757, 0.27089864, 0.659728169, 0.700979948, 0.88596952, 0.113859661, -0.449548453, -0.37639308, 0.742828906, -0.553654671) * CFrame.new(0, 0 - 0.1 * math.sin(Sine / 20), 0) * CFrame.Angles(0 + 0.1 * math.sin(Sine / 20), 0 - 0.1 * math.sin(Sine / 20), 0),
  2247. CFrame.new(-1.49696839, 0.546166897, -0.35875091, 0.862730026, 0.0754803866, -0.499999821, -0.131513715, -0.921275914, -0.365998387, -0.488263428, 0.381514579, -0.784885705) * CFrame.new(0, 0 - 0.1 * math.sin(Sine / 20), 0) * CFrame.Angles(0 + 0.1 * math.sin(Sine / 20), 0 + 0.1 * math.sin(Sine / 20), 0),
  2248. CFrame.new(0.66636616, -1.99062788, -0.0347823501, 0.996416688, -0.0643353164, 0.0549082458, 0.0645003766, 0.997916937, -0.0012377277, -0.0547142625, 0.00477489084, 0.998490691) * CFrame.new(0 - 0.02 * math.sin(Sine / 20), 0.1 - 0.1 * math.sin(Sine / 20), 0 - 0.1 * math.sin(Sine / 20)) * CFrame.Angles(0 + 0.02 * math.sin(Sine / 20), 0 - 0.02 * math.sin(Sine / 20), 0 - 0.03 * math.sin(Sine / 20)),
  2249. CFrame.new(-0.857055426, -1.87998962, -0.347434849, 0.936116934, 0.111396968, 0.333580643, -0.0871555805, 0.992403924, -0.0868245214, -0.340718687, 0.0522044897, 0.938714802) * CFrame.new(0 + 0.02 * math.sin(Sine / 20), 0.1 - 0.1 * math.sin(Sine / 20), 0 - 0.1 * math.sin(Sine / 20)) * CFrame.Angles(0 + 0.02 * math.sin(Sine / 20), 0 + 0.02 * math.sin(Sine / 20), 0 + 0.03 * math.sin(Sine / 20))
  2250. }, 0.05, false)
  2251. HandleWR.C0 = Animate(HandleWR.C0, DefaultGun * CFrame.Angles(math.rad(10), 0, 0), 0.1)
  2252. HandleWL.C0 = Animate(HandleWL.C0, DefaultGun * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
  2253. end
  2254. end
  2255. end)
  2256. for i, v in pairs(script.Gunslinger:GetDescendants()) do
  2257. if v.className == "Part" or v.className == "UnionOperation" or v.className == "MeshPart" then
  2258. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2259. end
  2260. end
  2261. WepL = script.Gunslinger:Clone()
  2262. WepR = script.Gunslinger:Clone()
  2263. local HandleR = WeldWeapon(WepR)
  2264. local HandleLeft = WeldWeapon(WepL)
  2265. HandleWL = Create("Weld")({
  2266. Parent = LArm,
  2267. Part0 = LArm,
  2268. Part1 = HandleLeft
  2269. })
  2270. HandleWR = Create("Weld")({
  2271. Parent = RArm,
  2272. Part0 = RArm,
  2273. Part1 = HandleR
  2274. })
  2275. DefaultGun = CFrame.Angles(math.rad(115), math.rad(0), math.rad(180)) * CFrame.new(0, -0.3, 0.9)
  2276. WepR.Parent = Char
  2277. WepL.Parent = Char
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement