Advertisement
Yayhey

saddas

Apr 2nd, 2017
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 184.11 KB | None | 0 0
  1. --nigga
  2. --fixed by YO MOTHA FUCKA PIXELNIGGA3
  3. Player = game:GetService("Players").LocalPlayer
  4. Character = Player.Character
  5. PlayerGui = Player.PlayerGui
  6. Backpack = Player.Backpack
  7. Torso = Character.Torso
  8. Head = Character.Head
  9. Humanoid = Character.Humanoid
  10. LeftArm = Character["Left Arm"]
  11. LeftLeg = Character["Left Leg"]
  12. RightArm = Character["Right Arm"]
  13. RightLeg = Character["Right Leg"]
  14. LS = Torso["Left Shoulder"]
  15. LH = Torso["Left Hip"]
  16. RS = Torso["Right Shoulder"]
  17. RH = Torso["Right Hip"]
  18. Neck = Torso.Neck
  19. it = Instance.new
  20. vt = Vector3.new
  21. cf = CFrame.new
  22. euler = CFrame.fromEulerAnglesXYZ
  23. angles = CFrame.Angles
  24. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  25. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  26. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  27. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  28. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  29. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  30. RootPart = Character.HumanoidRootPart
  31. RootJoint = RootPart.RootJoint
  32. RootCF = euler(-1.57, 0, 3.14)
  33. attack = false
  34. attackdebounce = false
  35. MMouse = Player:GetMouse()
  36. NoTarget = Instance.new("Model", Character)
  37. coroutine.resume(coroutine.create(function()
  38. MMouse.TargetFilter = NoTarget --workspace:WaitForChild("NoTarget")
  39. end))
  40. combo = 0
  41. local idle = 0
  42. local Anim = "Idle"
  43. local Effects = {}
  44. local Weapon = {}
  45. local Welds = {}
  46. local shieldroll = false
  47. local decreaseatk = 0
  48. local decreasedef = 0
  49. local decreasemvmt = 0
  50. local guard = false
  51. local blocknum = 50
  52. local stance = false
  53. stancetime = 0
  54. local sattack = "None"
  55. doingbust = false
  56. busterhit = false
  57. bustTarget = nil
  58. sbash = false
  59. cangrab = true
  60. move1 = [[
  61. (Z)
  62. Tortoise Shell]]
  63. move2 = [[
  64. (X)
  65. Omega Stance]]
  66. move3 = [[
  67. (C)
  68. Smash]]
  69. move4 = [[
  70. (V)
  71. Buster Slam]]
  72. cooldowns = {}
  73. cooldown1 = 0
  74. table.insert(cooldowns, cooldown1)
  75. cooldown2 = 0
  76. table.insert(cooldowns, cooldown2)
  77. cooldown3 = 0
  78. table.insert(cooldowns, cooldown3)
  79. cooldown4 = 0
  80. table.insert(cooldowns, cooldown4)
  81. cooldownsadd = {}
  82. cooldownadd1 = 0.3
  83. table.insert(cooldownsadd, cooldownadd1)
  84. cooldownadd2 = 0.25
  85. table.insert(cooldownsadd, cooldownadd2)
  86. cooldownadd3 = 0.23
  87. table.insert(cooldownsadd, cooldownadd3)
  88. cooldownadd4 = 0.21
  89. table.insert(cooldownsadd, cooldownadd4)
  90. cooldownmax = 100
  91. --local damageFunc = workspace.damageFunc
  92. manualguardend = false
  93. player = nil
  94. RSH, LSH = nil, nil
  95. RW, LW = Instance.new("Motor"), Instance.new("Motor")
  96. RW.Name = "Right Shoulder"
  97. LW.Name = "Left Shoulder"
  98. LH = Torso["Left Hip"]
  99. RH = Torso["Right Hip"]
  100. TorsoColor = Torso.BrickColor
  101. TorsoRed = TorsoColor.Color.r
  102. TorsoGreen = TorsoColor.Color.g
  103. TorsoBlue = TorsoColor.Color.b
  104. NCol = BrickColor.new("Black metallic")
  105. NewCol = NCol.Color
  106. NewCol2 = BrickColor.new("Really black").Color
  107. if Player:findFirstChild("Color1") ~= nil then
  108. NewCol = Player.Color1.Value
  109. end
  110. if Player:findFirstChild("Color2") ~= nil then
  111. NewCol2 = Player.Color2.Value
  112. end
  113. local mdec = Instance.new("NumberValue", Decrease)
  114. mdec.Name = "DecreaseDef"
  115. mdec.Value = 0.4
  116. kz = Instance.new("BoolValue")
  117. kz.Name = "Absolute"
  118. kz.Parent = mdec
  119. local mdec2 = Instance.new("NumberValue", Decrease)
  120. mdec2.Name = "DecreaseMvmt"
  121. mdec2.Value = 0.2
  122. kz = Instance.new("BoolValue")
  123. kz.Name = "Absolute"
  124. kz.Parent = mdec2
  125. local mdec3 = Instance.new("NumberValue", Decrease)
  126. mdec3.Name = "DecreaseMvmt"
  127. mdec3.Value = 0.1
  128. kz = Instance.new("BoolValue")
  129. kz.Name = "Absolute"
  130. kz.Parent = mdec3
  131. local mdec4 = Instance.new("NumberValue", Decrease)
  132. mdec4.Name = "DecreaseDef"
  133. mdec4.Value = -0.2
  134. bustTarget = nil
  135. local nr = NumberRange.new
  136. local ns = NumberSequence.new
  137. local cs = ColorSequence.new
  138. nsk = NumberSequenceKeypoint.new
  139. local animate = Character:findFirstChild("Animate")
  140. local canjump = true
  141. function removeControl()
  142. canjump = false
  143. end
  144. function resumeControl()
  145. canjump = true
  146. end
  147. Player.Character.Humanoid.Changed:connect(function()
  148. if canjump == false then
  149. Player.Character.Humanoid.Jump = false
  150. end
  151. end)
  152. function swait(num)
  153. local stime = tick()
  154. if num == 0 or num == nil then
  155. game:GetService("RunService").Heartbeat:wait() --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  156. else
  157. for i = 0, num do
  158. game:GetService("RunService").Heartbeat:wait() --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  159. end
  160. end
  161. return tick() - stime
  162. end
  163. if Character:findFirstChild("Tortoise Shell", true) ~= nil then
  164. Character:findFirstChild("Tortoise Shell", true).Parent = nil
  165. end
  166. if Player.PlayerGui:findFirstChild("WeaponGUI", true) ~= nil then
  167. Player.PlayerGui:findFirstChild("WeaponGUI", true).Parent = nil
  168. end
  169. if Character:findFirstChild("Stats", true) ~= nil then
  170. Character:findFirstChild("Stats", true).Parent = nil
  171. end
  172. local Stats = Instance.new("BoolValue")
  173. Stats.Name = "Stats"
  174. Stats.Parent = Character
  175. Atk = Instance.new("NumberValue")
  176. Atk.Name = "Damage"
  177. Atk.Parent = Stats
  178. Atk.Value = 1
  179. Def = Instance.new("NumberValue")
  180. Def.Name = "Defense"
  181. Def.Parent = Stats
  182. Def.Value = 1
  183. Mvmt = Instance.new("NumberValue")
  184. Mvmt.Name = "Movement"
  185. Mvmt.Parent = Stats
  186. Mvmt.Value = 1
  187. Block = Instance.new("BoolValue")
  188. Block.Name = "Block"
  189. Block.Parent = Stats
  190. Block.Value = false
  191. Stun = Instance.new("NumberValue")
  192. Stun.Name = "Stun"
  193. Stun.Parent = Stats
  194. Stun.Value = 0
  195. StunT = Instance.new("NumberValue")
  196. StunT.Name = "StunThreshold"
  197. StunT.Parent = Stats
  198. StunT.Value = 125
  199. Rooted = Instance.new("BoolValue")
  200. Rooted.Name = "Rooted"
  201. Rooted.Parent = Stats
  202. Rooted.Value = false
  203. local Decrease = Instance.new("BoolValue")
  204. Decrease.Name = "Decrease"
  205. Decrease.Parent = Stats
  206. Decrease.Value = false
  207. local Stunned = Instance.new("BoolValue")
  208. Stunned.Name = "Stunned"
  209. Stunned.Parent = Stats
  210. Stunned.Value = false
  211. local Stagger = Instance.new("BoolValue")
  212. Stagger.Name = "Stagger"
  213. Stagger.Parent = Stats
  214. Stagger.Value = false
  215. StaggerHit = Instance.new("BoolValue")
  216. StaggerHit.Name = "StaggerHit"
  217. StaggerHit.Parent = Stats
  218. StaggerHit.Value = false
  219. RecentEnemy = Instance.new("ObjectValue")
  220. RecentEnemy.Name = "RecentEnemy"
  221. RecentEnemy.Parent = Stats
  222. RecentEnemy.Value = nil
  223. TimeLocked = Instance.new("BoolValue")
  224. TimeLocked.Name = "TimeLocked"
  225. TimeLocked.Parent = Stats
  226. TimeLocked.Value = false
  227. tlock = false
  228. TimeLocking = Instance.new("BoolValue")
  229. TimeLocking.Name = "TimeLocking"
  230. TimeLocking.Parent = Stats
  231. TimeLocking.Value = false
  232. LockTime = Instance.new("NumberValue")
  233. LockTime.Name = "Timer"
  234. LockTime.Parent = TimeLocked
  235. LockTime.Value = 0
  236. Unstable = Instance.new("BoolValue")
  237. Unstable.Name = "Unstable"
  238. Unstable.Parent = Stats
  239. Unstable.Value = false
  240. UnstableTime = Instance.new("NumberValue")
  241. UnstableTime.Name = "Timer"
  242. UnstableTime.Parent = Unstable
  243. UnstableTime.Value = 0
  244. Suppressed = Instance.new("BoolValue")
  245. Suppressed.Name = "Suppressed"
  246. Suppressed.Parent = Stats
  247. Suppressed.Value = false
  248. SuppressedTime = Instance.new("NumberValue")
  249. SuppressedTime.Name = "Timer"
  250. SuppressedTime.Parent = Suppressed
  251. SuppressedTime.Value = 0
  252. KnockbackResistance = Instance.new("NumberValue")
  253. KnockbackResistance.Name = "KnockbackResistance"
  254. KnockbackResistance.Parent = Stats
  255. KnockbackResistance.Value = 0
  256. decreasekbr = 0
  257. UltVal = Instance.new("BoolValue")
  258. UltVal.Name = "Ulting"
  259. UltVal.Parent = Stats
  260. UltVal.Value = false
  261. local mana = Instance.new("NumberValue")
  262. mana.Name = "Mana"
  263. mana.Parent = Stats
  264. mana.Value = 0
  265. function NoOutline(Part)
  266. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  267. end
  268. function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  269. local fp = it("Part")
  270. fp.formFactor = formfactor
  271. if parent ~= workspace then
  272. fp.Parent = parent
  273. else
  274. fp.Parent = NoTarget --workspace.NoTarget
  275. end
  276. fp.Reflectance = reflectance
  277. fp.Transparency = transparency
  278. fp.CanCollide = false
  279. fp.Locked = true
  280. fp.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  281. fp.BrickColor = brickcolor
  282. fp.Name = name
  283. fp.Size = size
  284. fp.Position = Torso.Position
  285. NoOutline(fp)
  286. fp.Material = "SmoothPlastic"
  287. fp:BreakJoints()
  288. return fp
  289. end
  290. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  291. local mesh = it(Mesh)
  292. mesh.Parent = part
  293. if Mesh == "SpecialMesh" then
  294. mesh.MeshType = meshtype
  295. if meshid ~= "nil" then
  296. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  297. end
  298. end
  299. mesh.Offset = offset
  300. mesh.Scale = scale
  301. return mesh
  302. end
  303. function weld(parent, part0, part1, c0)
  304. local weld = it("Motor")
  305. weld.Parent = parent
  306. weld.Part0 = part0
  307. weld.Part1 = part1
  308. weld.C0 = c0
  309. return weld
  310. end
  311. function gui(GuiType, parent, text, backtrans, backcol, pos, size, zindex)
  312. local gui = it(GuiType)
  313. gui.Parent = parent
  314. gui.Text = text
  315. gui.BackgroundTransparency = backtrans
  316. gui.BackgroundColor3 = backcol
  317. gui.SizeConstraint = "RelativeXY"
  318. gui.TextXAlignment = "Center"
  319. gui.TextYAlignment = "Center"
  320. gui.Position = pos
  321. gui.Size = size
  322. gui.Font = "SourceSans"
  323. gui.FontSize = "Size14"
  324. gui.TextWrapped = false
  325. gui.TextStrokeTransparency = 0
  326. gui.TextColor = BrickColor.new("White")
  327. if zindex then
  328. gui.ZIndex = zindex
  329. end
  330. return gui
  331. end
  332. function imggui(GuiType, parent, backtrans, backcol, pos, size, img, imgcol, imgtrans, zindex)
  333. local gui = it(GuiType)
  334. gui.Parent = parent
  335. gui.BackgroundTransparency = backtrans
  336. gui.BackgroundColor3 = backcol
  337. gui.SizeConstraint = "RelativeXY"
  338. gui.Position = pos
  339. gui.Size = size
  340. gui.Image = img
  341. gui.ImageColor3 = imgcol
  342. gui.ImageTransparency = imgtrans
  343. gui.ZIndex = zindex
  344. return gui
  345. end
  346. local Color1 = Torso.BrickColor
  347. local fengui = it("GuiMain")
  348. fengui.Parent = Player.PlayerGui
  349. fengui.Name = "WeaponGUI"
  350. local fenframe = it("Frame")
  351. fenframe.Parent = fengui
  352. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  353. fenframe.BackgroundTransparency = 1
  354. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  355. fenframe.Size = UDim2.new(0.1, 0, 0.1, 0)
  356. fenframe.Position = UDim2.new(0.95, 0, 0.7, 0)
  357. local fenframe2 = it("Frame")
  358. fenframe2.Parent = fengui
  359. fenframe2.BackgroundColor3 = Color3.new(255, 255, 255)
  360. fenframe2.BackgroundTransparency = 1
  361. fenframe2.BorderColor3 = Color3.new(17, 17, 17)
  362. fenframe2.Size = UDim2.new(0.2, 0, 0.1, 0)
  363. fenframe2.Position = UDim2.new(0.4, 0, 0.85, 0)
  364. local fenframe3 = it("Frame")
  365. fenframe3.Parent = fengui
  366. fenframe3.BackgroundColor3 = Color3.new(255, 255, 255)
  367. fenframe3.BackgroundTransparency = 1
  368. fenframe3.BorderColor3 = Color3.new(17, 17, 17)
  369. fenframe3.Size = UDim2.new(0.2, 0, 0.2, 0)
  370. fenframe3.Position = UDim2.new(0.8, 0, 0.8, 0)
  371. fenframe3.Name = "MoveFrame"
  372. local fenframe4 = it("Frame")
  373. fenframe4.Parent = fengui
  374. fenframe4.BackgroundColor3 = Color3.new(255, 255, 255)
  375. fenframe4.BackgroundTransparency = 1
  376. fenframe4.BorderColor3 = Color3.new(17, 17, 17)
  377. fenframe4.Size = UDim2.new(0.1, 0, 0.1, 0)
  378. fenframe4.Position = UDim2.new(0, 0, 0.7, 0)
  379. local pressedf = false
  380. local fenframe5 = it("Frame")
  381. fenframe5.Parent = fengui
  382. fenframe5.BackgroundColor3 = Color3.new(0, 0, 0)
  383. fenframe5.BackgroundTransparency = 1
  384. fenframe5.BorderColor3 = Color3.new(0, 0, 0)
  385. fenframe5.Size = UDim2.new(1, 0, 1, 0)
  386. fenframe5.Position = UDim2.new(0, 0, 0, 0)
  387. fenframe5.ZIndex = 2
  388. local tellbar = gui("TextLabel", fenframe5, "Press 'F' to equip your weapon.", 1, Color3.new(0, 0, 0), UDim2.new(0.25, 0, 0.25, 0), UDim2.new(0.5, 0, 0.5, 0))
  389. tellbar.Font = "Arial"
  390. tellbar.TextScaled = true
  391. tellbar.TextTransparency = 1
  392. tellbar.TextStrokeTransparency = 1
  393. tellbar.ZIndex = 2
  394. local fnumb = 0
  395. local fenbarmana1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  396. local fenbarmana2 = gui("TextLabel", fenframe, "", 0, BrickColor.new("Black metallic").Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  397. local fenbarmana4 = gui("TextLabel", fenframe, "Mana(" .. mana.Value .. ")", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  398. local fenbarblock1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.6, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  399. local fenbarblock2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(-0.6, 0, 0, 0), UDim2.new(0.4, 0, -2, 0))
  400. local fenbarblock3 = gui("TextLabel", fenframe, "Block(" .. blocknum .. ")", 1, Color3.new(0, 0, 0), UDim2.new(-0.6, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  401. local fenbardamage = gui("TextLabel", fenframe2, "Damage", 1, Color3.new(0.6078431372549019, 0, 0), UDim2.new(-0.23, 0, 0, 0), UDim2.new(0.2, 0, 1, 0), 2)
  402. local fenbardef = gui("TextLabel", fenframe2, "Defense", 1, Color3.new(0, 0, 0.6078431372549019), UDim2.new(-0.46, 0, 0, 0), UDim2.new(0.2, 0, 1, 0), 2)
  403. local fenbarmove = gui("TextLabel", fenframe2, "Walkspeed", 1, Color3.new(0, 0.6078431372549019, 0), UDim2.new(1.03, 0, 0, 0), UDim2.new(0.2, 0, 1, 0), 2)
  404. local fenimgdmg = imggui("ImageLabel", fenframe2, 1, Color3.new(), UDim2.new(-0.23, 0, 0.1, 0), UDim2.new(0.2, 0, 0.8, 0), "rbxassetid://628793110", Color3.new(0.6666666666666666, 0, 0), 0.35, 1)
  405. local fenimgdef = imggui("ImageLabel", fenframe2, 1, Color3.new(), UDim2.new(-0.46, 0, 0.1, 0), UDim2.new(0.2, 0, 0.8, 0), "rbxassetid://628793046", Color3.new(0, 0, 0.6666666666666666), 0.35, 1)
  406. local fenimgmove = imggui("ImageLabel", fenframe2, 1, Color3.new(), UDim2.new(1.03, 0, 0.1, 0), UDim2.new(0.2, 0, 0.8, 0), "rbxassetid://628793172", Color3.new(0, 0.6666666666666666, 0), 0.35, 1)
  407. local fenbarhp1 = gui("TextLabel", fenframe2, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.46, 0, 1, 0), UDim2.new(1.92, 0, 0.4, 0))
  408. local fenbarhp2 = gui("TextLabel", fenbarhp1, "", 0, Color3.new(1, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  409. local fenbarhp3 = gui("TextLabel", fenbarhp1, "(100)", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  410. local fenbarstun1 = gui("TextLabel", fenframe4, "", 0, Color3.new(0, 0, 0), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  411. local fenbarstun2 = gui("TextLabel", fenframe4, "", 0, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  412. local fenbarstun3 = gui("TextLabel", fenframe4, "Stun(" .. Stun.Value .. ")", 1, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  413. local fenbarmove1 = gui("TextButton", fenframe3, move1, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
  414. fenbarmove1.ZIndex = 2
  415. local fenbarmove1b = gui("TextLabel", fenbarmove1, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  416. local fenbarmove2 = gui("TextButton", fenframe3, move2, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
  417. fenbarmove2.ZIndex = 2
  418. local fenbarmove2b = gui("TextLabel", fenbarmove2, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  419. local fenbarmove3 = gui("TextButton", fenframe3, move3, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
  420. fenbarmove3.ZIndex = 2
  421. local fenbarmove3b = gui("TextLabel", fenbarmove3, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  422. local fenbarmove4 = gui("TextButton", fenframe3, move4, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
  423. fenbarmove4.ZIndex = 2
  424. local fenbarmove4b = gui("TextLabel", fenbarmove4, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  425. local modelzorz = Instance.new("Model")
  426. modelzorz.Parent = Character
  427. modelzorz.Name = "Tortoise Shell"
  428. local nr = NumberRange.new
  429. local ns = NumberSequence.new
  430. local cs = ColorSequence.new
  431. nsk = NumberSequenceKeypoint.new
  432. local rprt1 = part(3, modelzorz, 0, 0, TorsoColor, "Right Part01", vt())
  433. local rprt2 = part(3, modelzorz, 0, 0, TorsoColor, "Right Part02", vt())
  434. local rprt3 = part(3, modelzorz, 0, 0, TorsoColor, "Right Part03", vt())
  435. local rprt4 = part(3, modelzorz, 0, 0, TorsoColor, "Right Part04", vt())
  436. local rprt5 = part(3, modelzorz, 0, 0, TorsoColor, "Right Part05", vt())
  437. local rprt6 = part(3, modelzorz, 0.3, 0, BrickColor.new("Dark stone grey"), "Right Part06", vt())
  438. local rprt7 = part(3, modelzorz, 0, 0, BrickColor.new("Smoky grey"), "Right Part07", vt())
  439. local rprt8 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol2), "Right Part08", vt())
  440. local rprt9 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol2), "Right Part09", vt())
  441. local rprt10 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol2), "Right Part10", vt())
  442. local rprt11 = part(3, modelzorz, 0, 0, BrickColor.new("Dark stone grey"), "Right Part11", vt())
  443. local rprt12 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Right Part12", vt())
  444. local rprt13 = part(3, modelzorz, 0.3, 0, BrickColor.new("Dark stone grey"), "Right Part13", vt())
  445. local rprt14 = part(3, modelzorz, 0.3, 0, BrickColor.new("Dark stone grey"), "Right Part14", vt())
  446. local rprt15 = part(3, modelzorz, 0, 0, TorsoColor, "Right Part15", vt())
  447. local rprt16 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Right Part16", vt())
  448. local rprt17 = part(3, modelzorz, 0.3, 0, BrickColor.new("Dark stone grey"), "Right Part17", vt())
  449. local rprt18 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol2), "Right Part18", vt())
  450. local rprt19 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Right Part19", vt())
  451. local rprt20 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Right Part20", vt())
  452. local rprt21 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Right Part21", vt())
  453. local lprt1 = part(3, modelzorz, 0, 0, TorsoColor, "Left Part01", vt())
  454. local lprt2 = part(3, modelzorz, 0, 0, TorsoColor, "Left Part02", vt())
  455. local lprt3 = part(3, modelzorz, 0, 0, TorsoColor, "Left Part03", vt())
  456. local lprt4 = part(3, modelzorz, 0, 0, TorsoColor, "Left Part04", vt())
  457. local lprt5 = part(3, modelzorz, 0, 0, TorsoColor, "Left Part05", vt())
  458. local lprt6 = part(3, modelzorz, 0.3, 0, BrickColor.new("Dark stone grey"), "Left Part06", vt())
  459. local lprt7 = part(3, modelzorz, 0, 0, BrickColor.new("Smoky grey"), "Left Part07", vt())
  460. local lprt8 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol2), "Left Part08", vt())
  461. local lprt9 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol2), "Left Part09", vt())
  462. local lprt10 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol2), "Left Part10", vt())
  463. local lprt11 = part(3, modelzorz, 0, 0, BrickColor.new("Dark stone grey"), "Left Part11", vt())
  464. local lprt12 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Left Part12", vt())
  465. local lprt13 = part(3, modelzorz, 0.3, 0, BrickColor.new("Dark stone grey"), "Left Part13", vt())
  466. local lprt14 = part(3, modelzorz, 0.3, 0, BrickColor.new("Dark stone grey"), "Left Part14", vt())
  467. local lprt15 = part(3, modelzorz, 0, 0, TorsoColor, "Left Part15", vt())
  468. local lprt16 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Left Part16", vt())
  469. local lprt17 = part(3, modelzorz, 0.3, 0, BrickColor.new("Dark stone grey"), "Left Part17", vt())
  470. local lprt18 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol2), "Left Part18", vt())
  471. local lprt19 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Left Part19", vt())
  472. local lprt20 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Left Part20", vt())
  473. local lprt21 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Left Part21", vt())
  474. rmsh1 = mesh("SpecialMesh", rprt1, "Head", "nil", vt(0, 0, 0), vt(2, 6, 2))
  475. rmsh2 = mesh("SpecialMesh", rprt2, "Sphere", "nil", vt(0, 0, 0), vt(2, 2, 2))
  476. rmsh3 = mesh("SpecialMesh", rprt3, "Sphere", "nil", vt(0, 0, 0), vt(2, 2, 2))
  477. rmsh4 = mesh("SpecialMesh", rprt4, "Head", "nil", vt(0, 0, 0), vt(2, 2, 2))
  478. rmsh5 = mesh("SpecialMesh", rprt5, "Head", "nil", vt(0, 0, 0), vt(2, 2, 2))
  479. rmsh6 = mesh("CylinderMesh", rprt6, "", "", vt(0, 0, 0), vt(8, 1, 8))
  480. rmsh7 = mesh("CylinderMesh", rprt7, "", "", vt(0, 0, 0), vt(3, 1, 3))
  481. rmsh8 = mesh("CylinderMesh", rprt8, "", "", vt(0, 0, 0), vt(7.5, 2, 7.5))
  482. rmsh9 = mesh("SpecialMesh", rprt9, "FileMesh", "3270017", vt(0, 0, 0), vt(1.4, 1.4, 3))
  483. rmsh10 = mesh("CylinderMesh", rprt10, "", "", vt(0, 0, 0), vt(7, 2, 7))
  484. rmsh11 = mesh("CylinderMesh", rprt11, "", "", vt(0, 0, 0), vt(5, 2.1, 5))
  485. rmsh12 = mesh("SpecialMesh", rprt12, "Sphere", "nil", vt(0, 0, 0), vt(4, 3, 4))
  486. rmsh13 = mesh("SpecialMesh", rprt13, "Wedge", "nil", vt(0, 0, 0), vt(5, 4, 4))
  487. rmsh14 = mesh("BlockMesh", rprt14, "", "", vt(0, 0, 0), vt(5, 8, 1))
  488. rmsh15 = mesh("SpecialMesh", rprt15, "FileMesh", "3270017", vt(0, 0, 0), vt(1.3, 1.3, 2))
  489. rmsh16 = mesh("CylinderMesh", rprt16, "", "", vt(0, 0, 0), vt(4, 1, 4))
  490. rmsh17 = mesh("CylinderMesh", rprt17, "", "", vt(0, 0, 0), vt(3.5, 1, 3.5))
  491. rmsh18 = mesh("CylinderMesh", rprt18, "", "", vt(0, 0, 0), vt(2, 1, 2))
  492. rmsh19 = mesh("BlockMesh", rprt19, "", "", vt(0, 0, 0), vt(0.5, 5, 1))
  493. rmsh20 = mesh("BlockMesh", rprt20, "", "", vt(0, 0, 0), vt(0.5, 8, 1))
  494. rmsh21 = mesh("BlockMesh", rprt21, "", "", vt(0, 0, 0), vt(0.5, 8, 1))
  495. lmsh1 = mesh("SpecialMesh", lprt1, "Head", "nil", vt(0, 0, 0), vt(2, 6, 2))
  496. lmsh2 = mesh("SpecialMesh", lprt2, "Sphere", "nil", vt(0, 0, 0), vt(2, 2, 2))
  497. lmsh3 = mesh("SpecialMesh", lprt3, "Sphere", "nil", vt(0, 0, 0), vt(2, 2, 2))
  498. lmsh4 = mesh("SpecialMesh", lprt4, "Head", "nil", vt(0, 0, 0), vt(2, 2, 2))
  499. lmsh5 = mesh("SpecialMesh", lprt5, "Head", "nil", vt(0, 0, 0), vt(2, 2, 2))
  500. lmsh6 = mesh("CylinderMesh", lprt6, "", "", vt(0, 0, 0), vt(8, 1, 8))
  501. lmsh7 = mesh("CylinderMesh", lprt7, "", "", vt(0, 0, 0), vt(3, 1, 3))
  502. lmsh8 = mesh("CylinderMesh", lprt8, "", "", vt(0, 0, 0), vt(7.5, 2, 7.5))
  503. lmsh9 = mesh("SpecialMesh", lprt9, "FileMesh", "3270017", vt(0, 0, 0), vt(1.4, 1.4, 3))
  504. lmsh10 = mesh("CylinderMesh", lprt10, "", "", vt(0, 0, 0), vt(7, 2, 7))
  505. lmsh11 = mesh("CylinderMesh", lprt11, "", "", vt(0, 0, 0), vt(5, 2.1, 5))
  506. lmsh12 = mesh("SpecialMesh", lprt12, "Sphere", "nil", vt(0, 0, 0), vt(4, 3, 4))
  507. lmsh13 = mesh("SpecialMesh", lprt13, "Wedge", "nil", vt(0, 0, 0), vt(5, 4, 4))
  508. lmsh14 = mesh("BlockMesh", lprt14, "", "", vt(0, 0, 0), vt(5, 8, 1))
  509. lmsh15 = mesh("SpecialMesh", lprt15, "FileMesh", "3270017", vt(0, 0, 0), vt(1.3, 1.3, 2))
  510. lmsh16 = mesh("CylinderMesh", lprt16, "", "", vt(0, 0, 0), vt(4, 1, 4))
  511. lmsh17 = mesh("CylinderMesh", lprt17, "", "", vt(0, 0, 0), vt(3.5, 1, 3.5))
  512. lmsh18 = mesh("CylinderMesh", lprt18, "", "", vt(0, 0, 0), vt(2, 1, 2))
  513. lmsh19 = mesh("BlockMesh", lprt19, "", "", vt(0, 0, 0), vt(0.5, 5, 1))
  514. lmsh20 = mesh("BlockMesh", lprt20, "", "", vt(0, 0, 0), vt(0.5, 8, 1))
  515. lmsh21 = mesh("BlockMesh", lprt21, "", "", vt(0, 0, 0), vt(0.5, 8, 1))
  516. local rwld1 = weld(rprt1, rprt1, RightArm, euler(1.57, 0, 0) * cf(0, 1, 0))
  517. local rwld2 = weld(rprt1, rprt2, rprt1, euler(0, 0, 0) * cf(0, 0.6, 0))
  518. local rwld3 = weld(rprt1, rprt3, rprt1, euler(0, 0, 0) * cf(0, -0.6, 0))
  519. local rwld4 = weld(rprt1, rprt4, rprt2, euler(1.57, 0, 0) * cf(0, 0, 0.2))
  520. local rwld5 = weld(rprt1, rprt5, rprt3, euler(1.57, 0, 0) * cf(0, 0, 0.2))
  521. local rwld6 = weld(rprt1, rprt6, rprt1, euler(-1.57, 0, 0) * cf(0, 0, 0.3))
  522. local rwld7 = weld(rprt1, rprt7, rprt6, euler(0, 0, 0) * cf(0, 0.1, 0))
  523. local rwld8 = weld(rprt1, rprt8, rprt7, euler(0, 0, 0) * cf(0, 0.25, 0))
  524. local rwld9 = weld(rprt1, rprt9, rprt8, euler(1.57, 0, 0) * cf(0, 0.05, 0))
  525. local rwld10 = weld(rprt1, rprt10, rprt8, euler(0, 0, 0) * cf(0, 0.1, 0))
  526. local rwld11 = weld(rprt1, rprt11, rprt10, euler(0, 0, 0) * cf(0, 0, 0))
  527. local rwld12 = weld(rprt1, rprt12, rprt11, euler(0, 0, 0) * cf(0, 0.1, 0))
  528. local rwld13 = weld(rprt1, rprt13, rprt6, cf(0, -0.3, -0.4) * euler(0, -1.57, 0))
  529. local rwld14 = weld(rprt1, rprt14, rprt13, euler(0, 0, 0) * cf(0, -0.8, -0.29))
  530. local rwld15 = weld(rprt1, rprt15, rprt14, euler(1.57, 0, 0) * cf(0, 0, 0.7))
  531. local rwld16 = weld(rprt1, rprt16, rprt14, euler(1.57, 0, 0) * cf(0, 0.6, -0.02))
  532. local rwld17 = weld(rprt1, rprt17, rprt14, euler(1.57, 0, 0) * cf(0, 0.6, -0.03))
  533. local rwld18 = weld(rprt1, rprt18, rprt14, euler(1.57, 0, 0) * cf(0, 0.6, -0.04))
  534. local rwld19 = weld(rprt1, rprt19, rprt14, euler(0, 0, 0) * cf(0, -0.29, -0.02))
  535. local rwld20 = weld(rprt1, rprt20, rprt14, euler(0, 0, 0) * cf(0.3, 0.01, -0.02))
  536. local rwld21 = weld(rprt1, rprt21, rprt14, euler(0, 0, 0) * cf(-0.3, 0.01, -0.02))
  537. local lwld1 = weld(rprt1, lprt1, LeftArm, euler(1.57, 3.14, 0) * cf(0, 1, 0))
  538. local lwld2 = weld(rprt1, lprt2, lprt1, euler(0, 0, 0) * cf(0, 0.6, 0))
  539. local lwld3 = weld(rprt1, lprt3, lprt1, euler(0, 0, 0) * cf(0, -0.6, 0))
  540. local lwld4 = weld(rprt1, lprt4, lprt2, euler(1.57, 0, 0) * cf(0, 0, 0.2))
  541. local lwld5 = weld(rprt1, lprt5, lprt3, euler(1.57, 0, 0) * cf(0, 0, 0.2))
  542. local lwld6 = weld(rprt1, lprt6, lprt1, euler(-1.57, 0, 0) * cf(0, 0, 0.3))
  543. local lwld7 = weld(rprt1, lprt7, lprt6, euler(0, 0, 0) * cf(0, 0.1, 0))
  544. local lwld8 = weld(rprt1, lprt8, lprt7, euler(0, 0, 0) * cf(0, 0.25, 0))
  545. local lwld9 = weld(rprt1, lprt9, lprt8, euler(1.57, 0, 0) * cf(0, 0.05, 0))
  546. local lwld10 = weld(rprt1, lprt10, lprt8, euler(0, 0, 0) * cf(0, 0.1, 0))
  547. local lwld11 = weld(rprt1, lprt11, lprt10, euler(0, 0, 0) * cf(0, 0, 0))
  548. local lwld12 = weld(rprt1, lprt12, lprt11, euler(0, 0, 0) * cf(0, 0.1, 0))
  549. local lwld13 = weld(rprt1, lprt13, lprt6, cf(0, -0.3, -0.4) * euler(0, -1.57, 0))
  550. local lwld14 = weld(rprt1, lprt14, lprt13, euler(0, 0, 0) * cf(0, -0.8, -0.29))
  551. local lwld15 = weld(rprt1, lprt15, lprt14, euler(1.57, 0, 0) * cf(0, 0, 0.7))
  552. local lwld16 = weld(rprt1, lprt16, lprt14, euler(1.57, 0, 0) * cf(0, 0.6, -0.02))
  553. local lwld17 = weld(rprt1, lprt17, lprt14, euler(1.57, 0, 0) * cf(0, 0.6, -0.03))
  554. local lwld18 = weld(rprt1, lprt18, lprt14, euler(1.57, 0, 0) * cf(0, 0.6, -0.04))
  555. local lwld19 = weld(rprt1, lprt19, lprt14, euler(0, 0, 0) * cf(0, -0.29, -0.02))
  556. local lwld20 = weld(rprt1, lprt20, lprt14, euler(0, 0, 0) * cf(0.3, 0.01, -0.02))
  557. local lwld21 = weld(rprt1, lprt21, lprt14, euler(0, 0, 0) * cf(-0.3, 0.01, -0.02))
  558. num = 0
  559. for i = 1, 3 do
  560. local rprts = part(3, modelzorz, 0.5, 0, BrickColor.new("Dark stone grey"), "Right PartS", vt())
  561. rmshs = mesh("SpecialMesh", rprts, "Wedge", "nil", vt(0, 0, 0), vt(2, 1.5, 2.5))
  562. local rwlds = weld(rprt1, rprts, rprt10, euler(1.4, 0, 0) * cf(0, 0.25, 0.7) * euler(0, num, 0))
  563. num = num + 2.093
  564. end
  565. num = -0.9
  566. for i = 1, 2 do
  567. local rprte1 = part(3, modelzorz, 0.3, 0, BrickColor.new("Dark stone grey"), "Right PartE1", vt())
  568. local rprte2 = part(3, modelzorz, 0.3, 0, BrickColor.new("Dark stone grey"), "Right PartE2", vt())
  569. local rprte3 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Right PartE3", vt())
  570. local rprte4 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Right PartE4", vt())
  571. rmshe1 = mesh("SpecialMesh", rprte1, "Wedge", "nil", vt(0, 0, 0), vt(3, 4, 4))
  572. rmshe2 = mesh("BlockMesh", rprte2, "", "", vt(0, 0, 0), vt(3, 8, 1))
  573. rmshe3 = mesh("BlockMesh", rprte3, "", "", vt(0, 0, 0), vt(0.25, 9.99, 1))
  574. rmshe4 = mesh("BlockMesh", rprte4, "", "", vt(0, 0, 0), vt(0.25, 9.99, 1))
  575. local rwlde1 = weld(rprt1, rprte1, rprt6, cf(0, -0.3, -0.5) * euler(0, -1.57 - num, 0))
  576. local rwlde2 = weld(rprt1, rprte2, rprte1, euler(0, 0, 0) * cf(0, -0.8, -0.29))
  577. local rwlde3 = weld(rprt1, rprte3, rprte2, euler(0, 0, 0) * cf(0.125, 0.2, -0.02))
  578. local rwlde4 = weld(rprt1, rprte4, rprte2, euler(0, 0, 0) * cf(-0.125, 0.2, -0.02))
  579. num = num + 1.8
  580. end
  581. num = 0
  582. for i = 1, 3 do
  583. local lprts = part(3, modelzorz, 0.5, 0, BrickColor.new("Dark stone grey"), "Left PartS", vt())
  584. local lmshs = mesh("SpecialMesh", lprts, "Wedge", "nil", vt(0, 0, 0), vt(2, 1.5, 2.5))
  585. local lwlds = weld(rprt1, lprts, lprt10, euler(1.4, 0, 0) * cf(0, 0.25, 0.7) * euler(0, num, 0))
  586. num = num + 2.093
  587. end
  588. num = -0.9
  589. for i = 1, 2 do
  590. local lprte1 = part(3, modelzorz, 0.3, 0, BrickColor.new("Dark stone grey"), "Left PartE1", vt())
  591. local lprte2 = part(3, modelzorz, 0.3, 0, BrickColor.new("Dark stone grey"), "Left PartE2", vt())
  592. local lprte3 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Left PartE3", vt())
  593. local lprte4 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Left PartE4", vt())
  594. local lmshe1 = mesh("SpecialMesh", lprte1, "Wedge", "nil", vt(0, 0, 0), vt(3, 4, 4))
  595. local lmshe2 = mesh("BlockMesh", lprte2, "", "", vt(0, 0, 0), vt(3, 8, 1))
  596. local lmshe3 = mesh("BlockMesh", lprte3, "", "", vt(0, 0, 0), vt(0.25, 9.99, 1))
  597. local lmshe4 = mesh("BlockMesh", lprte4, "", "", vt(0, 0, 0), vt(0.25, 9.99, 1))
  598. local lwlde1 = weld(rprt1, lprte1, lprt6, cf(0, -0.3, -0.5) * euler(0, -1.57 - num, 0))
  599. local lwlde2 = weld(rprt1, lprte2, lprte1, euler(0, 0, 0) * cf(0, -0.8, -0.29))
  600. local lwlde3 = weld(rprt1, lprte3, lprte2, euler(0, 0, 0) * cf(0.125, 0.2, -0.02))
  601. local lwlde4 = weld(rprt1, lprte4, lprte2, euler(0, 0, 0) * cf(-0.125, 0.2, -0.02))
  602. num = num + 1.8
  603. end
  604. local shield = part(0.2, nil, 0, 1, BrickColor.new("Black metallic"), "Shield", vt())
  605. shield.Anchored = true
  606. smsh = mesh("SpecialMesh", shield, "FileMesh", "90782182", vt(0, 0, 0), vt(0.7, 1, 0.7))
  607. smsh.TextureId = "http://www.roblox.com/asset/?id=544081819"
  608. smsh.VertexColor = Vector3.new(NewCol.r + 0.3, NewCol.g + 0.3, NewCol.b + 0.3)
  609. local shield1 = part(3, nil, 0, 0.25, BrickColor.new("Black metallic"), "Shield", vt())
  610. smsh = mesh("SpecialMesh", shield1, "FileMesh", "90782182", vt(0, 0, 0), vt(0.65, 0.65, 0.65))
  611. smsh.TextureId = "http://www.roblox.com/asset/?id=544081819"
  612. smsh.VertexColor = Vector3.new(NewCol.r + 0.3, NewCol.g + 0.3, NewCol.b + 0.3)
  613. swld = weld(shield1, shield1, Torso, euler(0, 0, 0) * cf(0, -1.8, 0))
  614. local shield2 = part(3, nil, 0, 0.25, BrickColor.new("Black metallic"), "Shield", vt())
  615. smsh = mesh("SpecialMesh", shield2, "FileMesh", "90782182", vt(0, 0, 0), vt(0.65, 0.65, 0.65))
  616. smsh.TextureId = "http://www.roblox.com/asset/?id=544081819"
  617. smsh.VertexColor = Vector3.new(NewCol.r + 0.3, NewCol.g + 0.3, NewCol.b + 0.3)
  618. swld = weld(shield2, shield2, Torso, euler(3.14, 0, 0) * cf(0, 1.8, 0))
  619. local ball = part(3, nil, 0, 1, BrickColor.new("White"), "Ball", vt(6, 6, 6))
  620. ball.CanCollide = true
  621. ball.Shape = "Ball"
  622. ballw = weld(ball, ball, Torso, euler(0, 0, 0) * cf(0, 0, 0))
  623. for _, c in pairs(modelzorz:children()) do
  624. table.insert(Weapon, c)
  625. end
  626. for _, c in pairs(rprt1:children()) do
  627. if c.className == "Motor" then
  628. table.insert(Welds, c)
  629. end
  630. end
  631. local hitbox = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Hitbox2", vt())
  632. hitbox.Anchored = false
  633. local hbwld = weld(hitbox, hitbox, RootPart, euler(0, 0, 0) * cf(0, 0, 0))
  634. local hitbox2 = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt(1, 1, 1))
  635. hitbox2.Anchored = true
  636. local hitboxCF = cf(0, 0, 0)
  637. hboxpos = Instance.new("BodyPosition", nil)
  638. hboxpos.P = 2000
  639. hboxpos.D = 100
  640. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  641. function hitboxweld()
  642. hbwld.Parent = modelzorz
  643. hbwld.Part0 = hitbox
  644. hbwld.Part1 = lprt7
  645. end
  646. Tool = Instance.new("HopperBin")
  647. Tool.Parent = Backpack
  648. Tool.Name = "Omega"
  649. Bin = Tool
  650. if Bin.Name == "Omega" then
  651. Bin.Name = "Tortoise Shell"
  652. end
  653. local bodvel = Instance.new("BodyVelocity")
  654. local bg = Instance.new("BodyGyro")
  655. function so(id, par, vol, pit)
  656. local sou = Instance.new("Sound", par or workspace)
  657. sou.Volume = vol
  658. sou.Pitch = pit or 1
  659. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  660. coroutine.resume(coroutine.create(function(Sound)
  661. swait()
  662. Sound:play()
  663. end), sou)
  664. game:GetService("Debris"):AddItem(sou, 6)
  665. end
  666. function clerp(a, b, t)
  667. local qa = {
  668. QuaternionFromCFrame(a)
  669. }
  670. local qb = {
  671. QuaternionFromCFrame(b)
  672. }
  673. local ax, ay, az = a.x, a.y, a.z
  674. local bx, by, bz = b.x, b.y, b.z
  675. local _t = 1 - t
  676. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  677. end
  678. function QuaternionFromCFrame(cf)
  679. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  680. local trace = m00 + m11 + m22
  681. if trace > 0 then
  682. local s = math.sqrt(1 + trace)
  683. local recip = 0.5 / s
  684. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  685. else
  686. local i = 0
  687. if m00 < m11 then
  688. i = 1
  689. end
  690. if m22 > (i == 0 and m00 or m11) then
  691. i = 2
  692. end
  693. if i == 0 then
  694. local s = math.sqrt(m00 - m11 - m22 + 1)
  695. local recip = 0.5 / s
  696. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  697. elseif i == 1 then
  698. local s = math.sqrt(m11 - m22 - m00 + 1)
  699. local recip = 0.5 / s
  700. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  701. elseif i == 2 then
  702. local s = math.sqrt(m22 - m00 - m11 + 1)
  703. local recip = 0.5 / s
  704. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  705. end
  706. end
  707. end
  708. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  709. local xs, ys, zs = x + x, y + y, z + z
  710. local wx, wy, wz = w * xs, w * ys, w * zs
  711. local xx = x * xs
  712. local xy = x * ys
  713. local xz = x * zs
  714. local yy = y * ys
  715. local yz = y * zs
  716. local zz = z * zs
  717. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  718. end
  719. function QuaternionSlerp(a, b, t)
  720. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  721. local startInterp, finishInterp
  722. if cosTheta >= 1.0E-4 then
  723. if 1 - cosTheta > 1.0E-4 then
  724. local theta = math.acos(cosTheta)
  725. local invSinTheta = 1 / math.sin(theta)
  726. startInterp = math.sin((1 - t) * theta) * invSinTheta
  727. finishInterp = math.sin(t * theta) * invSinTheta
  728. else
  729. startInterp = 1 - t
  730. finishInterp = t
  731. end
  732. elseif 1 + cosTheta > 1.0E-4 then
  733. local theta = math.acos(-cosTheta)
  734. local invSinTheta = 1 / math.sin(theta)
  735. startInterp = math.sin((t - 1) * theta) * invSinTheta
  736. finishInterp = math.sin(t * theta) * invSinTheta
  737. else
  738. startInterp = t - 1
  739. finishInterp = t
  740. end
  741. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  742. end
  743. function hideanim()
  744. equipped = false
  745. for i = 0, 1, 0.1 do
  746. swait()
  747. if TimeLocked.Value == true then
  748. repeat
  749. game:GetService("RunService").Heartbeat:wait()
  750. until TimeLocked.Value == false or Suppressed.Value == true
  751. end
  752. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.4)
  753. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  754. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  755. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  756. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  757. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  758. RH.C0 = clerp(RH.C0, RHC0, 0.4)
  759. LH.C0 = clerp(LH.C0, LHC0, 0.4)
  760. end
  761. mdec2.Parent = nil
  762. mdec.Parent = Decrease
  763. end
  764. mdec.Parent = Decrease
  765. function equipanim()
  766. equipped = true
  767. mdec.Parent = nil
  768. mdec2.Parent = Decrease
  769. for i = 0, 1, 0.1 do
  770. swait()
  771. if TimeLocked.Value == true then
  772. repeat
  773. game:GetService("RunService").Heartbeat:wait()
  774. until TimeLocked.Value == false or Suppressed.Value == true
  775. end
  776. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  777. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  778. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(2, 0, -1.2), 0.3)
  779. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  780. LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(1.3, 0, 1), 0.3)
  781. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  782. end
  783. end
  784. tlock = false
  785. function TimeLock()
  786. so(535381634, RootPart, 0.5, math.random(145, 155) / 100 - TimeLocked.Timer.Value * 0.15)
  787. local b, f, f2
  788. if RootPart:FindFirstChild("TimeLockGui") then
  789. b = RootPart.TimeLockGui
  790. f = b.ImageLabel
  791. f2 = b.ImageLabel2
  792. f2.ImageTransparency = 0.25
  793. f2.Size = UDim2.new(1, 0, 1, 0)
  794. f2.Position = UDim2.new(0, 0, 0, 0)
  795. else
  796. b = Instance.new("BillboardGui")
  797. b.Name = "TimeLockGui"
  798. b.Size = UDim2.new(4, 0, 4, 0)
  799. b.SizeOffset = Vector2.new(0, 1.2)
  800. b.Parent = RootPart
  801. f = Instance.new("ImageLabel")
  802. f.BackgroundTransparency = 1
  803. f.Size = UDim2.new(1, 0, 1, 0)
  804. f.ImageColor3 = Color3.new(0, 1, 1)
  805. f.Image = "rbxassetid://535799774"
  806. f.Parent = b
  807. f.ImageTransparency = 1
  808. f2 = Instance.new("ImageLabel")
  809. f2.Name = "ImageLabel2"
  810. f2.BackgroundTransparency = 1
  811. f2.Size = UDim2.new(1, 0, 1, 0)
  812. f2.ImageColor3 = Color3.new(0, 1, 1)
  813. f2.Image = "rbxassetid://535799774"
  814. f2.Parent = b
  815. f2.ImageTransparency = 0.25
  816. end
  817. local partif2z = it("ParticleEmitter")
  818. partif2z.Color = cs(Color3.new(0, 1, 1), Color3.new(0.4, 1, 1))
  819. partif2z.LightEmission = 0.5
  820. partif2z.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  821. sizeseq = ns({
  822. nsk(0, 8),
  823. nsk(1, 10)
  824. })
  825. transseq = ns({
  826. nsk(0, 0.98),
  827. nsk(1, 1)
  828. })
  829. partif2z.Transparency = transseq
  830. partif2z.Size = sizeseq
  831. partif2z.ZOffset = 0
  832. partif2z.LockedToPart = true
  833. partif2z.EmissionDirection = "Front"
  834. partif2z.Lifetime = nr(0.9, 1.2)
  835. partif2z.Rate = 30
  836. partif2z.Rotation = nr(-180, 180)
  837. partif2z.RotSpeed = nr(-80, 80)
  838. partif2z.Speed = nr(3, 6)
  839. partif2z.VelocitySpread = 330
  840. partif2z.Parent = RootPart
  841. partif2z.Enabled = true
  842. coroutine.resume(coroutine.create(function(p, c, d)
  843. swait()
  844. c:Emit(10)
  845. repeat
  846. d.Size = d.Size + UDim2.new(0.1, 0, 0.1, 0)
  847. d.Position = d.Position - UDim2.new(0.05, 0, 0.05, 0)
  848. d.ImageTransparency = d.ImageTransparency + wait() * 6
  849. p.ImageTransparency = p.ImageTransparency - wait() * 7.5
  850. if 0 > p.ImageTransparency then
  851. p.ImageTransparency = 0
  852. end
  853. until p.ImageTransparency == 0 or TimeLocked.Value == false
  854. end), f, partif2z, f2)
  855. repeat
  856. RootPart.Anchored = true
  857. swait()
  858. until TimeLocked.Value == false
  859. coroutine.resume(coroutine.create(function(p, c, d)
  860. d.Size = d.Size + UDim2.new(0.1, 0, 0.1, 0)
  861. d.Position = d.Position - UDim2.new(0.05, 0, 0.05, 0)
  862. d.ImageTransparency = d.ImageTransparency + wait() * 6
  863. game:GetService("Debris"):AddItem(c, 5)
  864. c.Enabled = false
  865. repeat
  866. p.ImageTransparency = p.ImageTransparency + wait() * 9
  867. if p.ImageTransparency > 1 then
  868. p.ImageTransparency = 1
  869. end
  870. until p.ImageTransparency == 1 or TimeLocked.Value == true
  871. if TimeLocked.Value == false then
  872. p.Parent:Destroy()
  873. end
  874. end), f, partif2z, f2)
  875. RootPart.Anchored = false
  876. tlock = false
  877. end
  878. unst = false
  879. function UnstableAnim()
  880. attack = true
  881. unst = true
  882. local rndc = 1
  883. local rnda = math.random(-1, 0)
  884. showDamage(Character, "Off balance!", "Interrupt")
  885. --workspace.damguiFunc:FireServer(Character, "Off balance!", "Interrupt")
  886. removeControl()
  887. repeat
  888. swait()
  889. if TimeLocked.Value == true then
  890. repeat
  891. game:GetService("RunService").Heartbeat:wait()
  892. until TimeLocked.Value == false
  893. end
  894. Neck.C0 = clerp(Neck.C0, necko * euler(0.3 * rndc, 0, 0), 0.3)
  895. RootJoint.C0 = clerp(RootJoint.C0, cf(0, -0.3 - math.cos(time() * 14) * 0.04, 0.4 - math.cos(time() * 14) * 0.02) * euler(math.rad(90 + 25 * rndc), math.rad(180), math.rad(0)), 0.2)
  896. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.4 - math.cos(time() * 14) * 0.5 - rndc * 0.2, math.cos(time() * 14) * 0.2, math.sin(time() * 14) * 0.2), 0.3)
  897. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  898. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.4 + math.cos(time() * 14) * 0.5 + rndc * 0.2, math.cos(time() * 14) * 0.2, math.sin(time() * 14) * 0.2), 0.3)
  899. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  900. RH.C0 = clerp(RH.C0, cf(1, -0.8 + math.cos(time() * 14) * 0.3, 0 - math.sin(time() * 14) * 0.3) * euler(0, 1.57, 0) * euler(0, -0.1, -math.rad(9 * rndc) - math.cos(time() * 14) * 1), 0.3)
  901. LH.C0 = clerp(LH.C0, cf(-1, -0.8 - math.cos(time() * 14) * 0.3, 0 + math.sin(time() * 14) * 0.3) * euler(0, -1.57, 0) * euler(0, 0.1, math.rad(9 * rndc) - math.cos(time() * 14) * 1), 0.3)
  902. until Stun.Value >= StunT.Value or Stunned.Value == true or 0 >= UnstableTime.Value or Unstable.Value == false or Stagger.Value == true or Suppressed.Value == true
  903. unst = false
  904. attack = false
  905. resumeControl()
  906. end
  907. suppress = false
  908. function SuppressedAnim()
  909. showDamage(Character, "Suppressed!", "Interrupt")
  910. --workspace.damguiFunc:FireServer(Character, "Suppressed!", "Interrupt")
  911. removeControl()
  912. repeat
  913. swait()
  914. if TimeLocked.Value == true then
  915. repeat
  916. game:GetService("RunService").Heartbeat:wait()
  917. until TimeLocked.Value == false
  918. end
  919. if Suppressed:FindFirstChild("AnimOverride") == nil then
  920. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.3)
  921. RootJoint.C0 = clerp(RootJoint.C0, cf(0, 0, 0) * euler(math.rad(90), math.rad(180), math.rad(0)), 0.2)
  922. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.3)
  923. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  924. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.3)
  925. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  926. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.3)
  927. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0), 0.3)
  928. else
  929. Neck.C0 = clerp(Neck.C0, Suppressed.AnimOverride.Neck.Value, 0.3)
  930. RootJoint.C0 = clerp(RootJoint.C0, Suppressed.AnimOverride.RootJoint.Value, 0.2)
  931. RW.C0 = clerp(RW.C0, Suppressed.AnimOverride.RightShoulderC0.Value, 0.3)
  932. RW.C1 = clerp(LW.C1, Suppressed.AnimOverride.RightShoulderC1.Value, 0.3)
  933. LW.C0 = clerp(LW.C0, Suppressed.AnimOverride.LeftShoulderC0.Value, 0.3)
  934. LW.C1 = clerp(LW.C1, Suppressed.AnimOverride.LeftShoulderC1.Value, 0.3)
  935. RH.C0 = clerp(RH.C0, Suppressed.AnimOverride.RightHip.Value, 0.3)
  936. LH.C0 = clerp(LH.C0, Suppressed.AnimOverride.LeftHip.Value, 0.3)
  937. end
  938. until 0 >= SuppressedTime.Value or Suppressed.Value == false
  939. suppress = false
  940. resumeControl()
  941. end
  942. function StaggerAnim()
  943. attack = true
  944. removeControl()
  945. showDamage(Character, "Staggered!", "Interrupt")
  946. --workspace.damguiFunc:FireServer(Character, "Staggered!", "Interrupt")
  947. for i = 1, math.random(2, 4) do
  948. ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  949. end
  950. for i = 0, 1, 0.35 do
  951. swait()
  952. if Rooted.Value == false then
  953. Torso.Velocity = RootPart.CFrame.lookVector * -40
  954. end
  955. if TimeLocked.Value == true then
  956. repeat
  957. game:GetService("RunService").Heartbeat:wait()
  958. until TimeLocked.Value == false
  959. end
  960. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.3)
  961. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.4), 0.3)
  962. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.3)
  963. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  964. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  965. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  966. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.3)
  967. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  968. if Stun.Value >= StunT.Value or Stunned.Value == true or Suppressed.Value == true then
  969. break
  970. end
  971. end
  972. for i = 0, 1, 0.2 do
  973. swait()
  974. if TimeLocked.Value == true then
  975. repeat
  976. game:GetService("RunService").Heartbeat:wait()
  977. until TimeLocked.Value == false
  978. end
  979. if Rooted.Value == false then
  980. Torso.Velocity = RootPart.CFrame.lookVector * -40
  981. end
  982. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
  983. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.5, 0, -0.4), 0.4)
  984. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.4)
  985. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  986. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.4)
  987. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  988. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.4)
  989. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.5), 0.4)
  990. if Stun.Value >= StunT.Value or Stunned.Value == true or Suppressed.Value == true then
  991. break
  992. end
  993. end
  994. for i = 0, 1, 0.1 do
  995. swait()
  996. if TimeLocked.Value == true then
  997. repeat
  998. game:GetService("RunService").Heartbeat:wait()
  999. until TimeLocked.Value == false
  1000. end
  1001. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.5, 0, 0), 0.3)
  1002. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8) * euler(-0.2, 0, -0.4), 0.3)
  1003. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.3, 0, 0.4) * euler(0, -0.4, 0), 0.3)
  1004. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1005. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.3, 0, -0.2) * euler(0, 0.4, 0), 0.3)
  1006. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1007. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 1.2), 0.3)
  1008. LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  1009. if Stun.Value >= StunT.Value or Stunned.Value == true or Suppressed.Value == true then
  1010. break
  1011. end
  1012. end
  1013. for i = 1, 50 do
  1014. swait()
  1015. if TimeLocked.Value == true then
  1016. repeat
  1017. game:GetService("RunService").Heartbeat:wait()
  1018. until TimeLocked.Value == false
  1019. end
  1020. if Stun.Value >= StunT.Value or Stunned.Value == true or Suppressed.Value == true then
  1021. break
  1022. end
  1023. end
  1024. resumeControl()
  1025. combo = 0
  1026. attack = false
  1027. end
  1028. function StunAnim()
  1029. attack = true
  1030. removeControl()
  1031. Stunned.Value = true
  1032. showDamage(Character, "Stunned!", "Interrupt")
  1033. --workspace.damguiFunc:FireServer(Character, "Stunned!", "Interrupt")
  1034. local dec = Instance.new("NumberValue", Decrease)
  1035. dec.Name = "DecreaseMvmt"
  1036. dec.Value = 100
  1037. for i = 0, 1, 0.3 do
  1038. swait()
  1039. if TimeLocked.Value == true then
  1040. repeat
  1041. game:GetService("RunService").Heartbeat:wait()
  1042. until TimeLocked.Value == false
  1043. end
  1044. if Suppressed.Value == true then
  1045. break
  1046. end
  1047. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.5), 0.2)
  1048. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -3), 0.2)
  1049. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1.3), 0.2)
  1050. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1051. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.4) * euler(0, -0.1, 0), 0.2)
  1052. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1053. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.3), 0.25)
  1054. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
  1055. end
  1056. for i = 0, 1, 0.3 do
  1057. swait()
  1058. if TimeLocked.Value == true then
  1059. repeat
  1060. game:GetService("RunService").Heartbeat:wait()
  1061. until TimeLocked.Value == false
  1062. end
  1063. if Suppressed.Value == true then
  1064. break
  1065. end
  1066. Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -0.5), 0.2)
  1067. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.8, 0, -3), 0.2)
  1068. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  1069. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1070. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1.2, 0, 0.8) * euler(0, -0.1, 0), 0.2)
  1071. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1072. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.25)
  1073. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(0.1, 0, 0.7), 0.25)
  1074. end
  1075. for i = 0, 1, 0.3 do
  1076. swait()
  1077. if TimeLocked.Value == true then
  1078. repeat
  1079. game:GetService("RunService").Heartbeat:wait()
  1080. until TimeLocked.Value == false
  1081. end
  1082. if Suppressed.Value == true then
  1083. break
  1084. end
  1085. Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -1), 0.2)
  1086. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1.57, 0, -3), 0.2)
  1087. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  1088. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1089. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, -0.8) * euler(0, -0.1, 0), 0.2)
  1090. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1091. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.6), 0.25)
  1092. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.3), 0.25)
  1093. end
  1094. local gairost = Instance.new("BodyGyro")
  1095. gairost.Parent = RootPart
  1096. gairost.maxTorque = Vector3.new(2000, 0, 2000)
  1097. gairost.P = 2000
  1098. gairost.cframe = cf(0, 0, 0)
  1099. for i = 0, 1, 0.1 do
  1100. swait()
  1101. if TimeLocked.Value == true then
  1102. repeat
  1103. game:GetService("RunService").Heartbeat:wait()
  1104. until TimeLocked.Value == false
  1105. end
  1106. if Suppressed.Value == true then
  1107. break
  1108. end
  1109. if hitfloor ~= nil then
  1110. Torso.Velocity = vt(0, 0, 0)
  1111. end
  1112. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), 0.3)
  1113. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * euler(1.57, 0, -3.14), 0.3)
  1114. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1.5) * euler(0.2, 0, 0), 0.3)
  1115. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1116. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.57) * euler(0, 0, 0), 0.3)
  1117. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1118. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0), 0.3)
  1119. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 0), 0.3)
  1120. end
  1121. for i = 1, 70 do
  1122. swait()
  1123. if TimeLocked.Value == true then
  1124. repeat
  1125. game:GetService("RunService").Heartbeat:wait()
  1126. until TimeLocked.Value == false
  1127. end
  1128. if Suppressed.Value == true then
  1129. break
  1130. end
  1131. gairost.cframe = RootPart.CFrame
  1132. if hitfloor ~= nil then
  1133. Torso.Velocity = vt(0, 0, 0)
  1134. end
  1135. end
  1136. for i = 0, 1, 0.2 do
  1137. swait()
  1138. if TimeLocked.Value == true then
  1139. repeat
  1140. game:GetService("RunService").Heartbeat:wait()
  1141. until TimeLocked.Value == false
  1142. end
  1143. if Suppressed.Value == true then
  1144. break
  1145. end
  1146. Stun.Value = 0
  1147. gairost.cframe = RootPart.CFrame
  1148. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  1149. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1, 0, -4), 0.3)
  1150. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1) * euler(0.2, -1, 0), 0.3)
  1151. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1152. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, 0.2) * euler(0, 0, 0), 0.3)
  1153. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1154. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0.4), 0.3)
  1155. LH.C0 = clerp(LH.C0, cf(-1, -1, -1) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 1), 0.3)
  1156. end
  1157. resumeControl()
  1158. gairost.Parent = nil
  1159. dec.Parent = nil
  1160. combo = 0
  1161. Stunned.Value = false
  1162. attack = false
  1163. Stun.Value = 0
  1164. end
  1165. function attackone()
  1166. attack = true
  1167. for i = 0, 1, 0.2 do
  1168. swait()
  1169. if TimeLocked.Value == true then
  1170. repeat
  1171. game:GetService("RunService").Heartbeat:wait()
  1172. until TimeLocked.Value == false or Suppressed.Value == true
  1173. end
  1174. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1) * euler(0.1, 0, 0), 0.3)
  1175. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 1), 0.3)
  1176. RW.C0 = clerp(RW.C0, cf(1, 0.5, 0.5) * euler(0.8, 0, 0.5), 0.3)
  1177. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1178. LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(1.6, 0, 1), 0.3)
  1179. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1180. RH.C0 = clerp(RH.C0, cf(1.1, -1, 0) * euler(0, 0.87, -0.1), 0.2)
  1181. LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * euler(0, -2.27, 0.4), 0.2)
  1182. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1183. break
  1184. end
  1185. end
  1186. so("200632136", lprt7, 1, 1)
  1187. hbwld.Parent = nil
  1188. hboxpos.Parent = hitbox
  1189. hitbox.Parent = modelzorz
  1190. hitbox.Size = vt(1.5, 2, 1.5)
  1191. hitboxCF = lprt7.CFrame
  1192. hitbox.CFrame = hitboxCF
  1193. for i = 0, 1, 0.4 do
  1194. swait()
  1195. if TimeLocked.Value == true then
  1196. repeat
  1197. game:GetService("RunService").Heartbeat:wait()
  1198. until TimeLocked.Value == false or Suppressed.Value == true
  1199. end
  1200. hitboxCF = lprt7.CFrame
  1201. hitbox.CFrame = hitboxCF
  1202. MagniDamage(hitbox, 2, 0, 10, 12, "Normal", RootPart, 0.5, 1, 12, nil, true)
  1203. lwld8.C0 = lwld8.C0 * euler(0, 0.4, 0)
  1204. Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 0.7) * euler(0, 0, 0), 0.4)
  1205. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -0.7), 0.4)
  1206. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.6, 0, -0.2), 0.4)
  1207. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1208. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1), 0.4)
  1209. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1210. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.7, -0.1), 0.4)
  1211. LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * euler(0, -1.57, 0) * euler(0, 0.7, 0.1), 0.4)
  1212. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1213. break
  1214. end
  1215. end
  1216. for i = 0, 1, 0.1 do
  1217. swait()
  1218. if TimeLocked.Value == true then
  1219. repeat
  1220. game:GetService("RunService").Heartbeat:wait()
  1221. until TimeLocked.Value == false or Suppressed.Value == true
  1222. end
  1223. hitboxCF = lprt7.CFrame
  1224. hitbox.CFrame = hitboxCF
  1225. MagniDamage(hitbox, 2, 0, 10, 12, "Normal", RootPart, 0.5, 1, 12, nil, true)
  1226. lwld8.C0 = lwld8.C0 * euler(0, 0.4, 0)
  1227. Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 1.2) * euler(0.2, 0, 0), 0.3)
  1228. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1.2), 0.3)
  1229. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.6, 0, 0.6), 0.3)
  1230. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1231. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, 0.3) * euler(0, -0.5, 0), 0.2)
  1232. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1233. RH.C0 = clerp(RH.C0, cf(0.6, -1, -0.4) * euler(0, 1.57, 0) * euler(0, 1.2, -0.1), 0.4)
  1234. LH.C0 = clerp(LH.C0, cf(-0.6, -0.9, 0.4) * euler(0, -1.57, 0) * euler(0, 1.2, 0.1), 0.4)
  1235. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1236. break
  1237. end
  1238. end
  1239. hitbox.Parent = modelzorz
  1240. hitbox.Size = vt()
  1241. hitboxweld()
  1242. hboxpos.Parent = nil
  1243. attack = false
  1244. end
  1245. function attacktwo()
  1246. attack = true
  1247. for i = 0, 1, 0.12 do
  1248. swait()
  1249. if TimeLocked.Value == true then
  1250. repeat
  1251. game:GetService("RunService").Heartbeat:wait()
  1252. until TimeLocked.Value == false or Suppressed.Value == true
  1253. end
  1254. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 1) * euler(0, 0, 0), 0.3)
  1255. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1), 0.3)
  1256. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.4, 0, -1), 0.3)
  1257. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1258. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.6, 0, -1) * euler(0, 0, 0), 0.3)
  1259. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1260. RH.C0 = clerp(RH.C0, cf(0.8, -1, -0.4) * euler(0, 1.57, 0) * euler(0, 1, -0.1), 0.4)
  1261. LH.C0 = clerp(LH.C0, cf(-0.8, -0.9, 0.4) * euler(0, -1.57, 0) * euler(0, 1, 0.1), 0.4)
  1262. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1263. break
  1264. end
  1265. end
  1266. so("200632211", rprt7, 1, 1)
  1267. hbwld.Parent = nil
  1268. hboxpos.Parent = hitbox
  1269. hitbox.Parent = modelzorz
  1270. hitbox.Size = vt(1.5, 2, 1.5)
  1271. hitboxCF = rprt7.CFrame
  1272. hitbox.CFrame = hitboxCF
  1273. for i = 0, 1, 0.1 do
  1274. swait()
  1275. if TimeLocked.Value == true then
  1276. repeat
  1277. game:GetService("RunService").Heartbeat:wait()
  1278. until TimeLocked.Value == false or Suppressed.Value == true
  1279. end
  1280. hitboxCF = rprt7.CFrame
  1281. hitbox.CFrame = hitboxCF
  1282. MagniDamage(hitbox, 2.5, 0, 10, 12, "Normal", RootPart, 0.5, 1, 12, nil, true)
  1283. rwld8.C0 = rwld8.C0 * euler(0, 0.4, 0)
  1284. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -1.57) * euler(0.2, 0, 0), 0.3)
  1285. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 1.57), 0.3)
  1286. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.8, 0, 1.2), 0.3)
  1287. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1288. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.4, 0, -0.1), 0.3)
  1289. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1290. RH.C0 = clerp(RH.C0, cf(0.6, -1, 0.4) * euler(0, 1.57, 0) * euler(0.2, -1.57, 0), 0.2)
  1291. LH.C0 = clerp(LH.C0, cf(-0.6, -1, -0.4) * euler(0, -1.57, 0) * euler(-0.4, -1.57, 0), 0.2)
  1292. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1293. break
  1294. end
  1295. end
  1296. hitbox.Parent = modelzorz
  1297. hitbox.Size = vt()
  1298. hitboxweld()
  1299. hboxpos.Parent = nil
  1300. attack = false
  1301. end
  1302. function attackthree()
  1303. attack = true
  1304. for i = 0, 1, 0.15 do
  1305. swait()
  1306. if TimeLocked.Value == true then
  1307. repeat
  1308. game:GetService("RunService").Heartbeat:wait()
  1309. until TimeLocked.Value == false or Suppressed.Value == true
  1310. end
  1311. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -0.6), 0.3)
  1312. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 0.6), 0.3)
  1313. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1), 0.3)
  1314. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1315. LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(0.4, 0, 0.6), 0.3)
  1316. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1317. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.6, 0), 0.4)
  1318. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, -0.6, 0), 0.4)
  1319. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1320. break
  1321. end
  1322. end
  1323. so("200632136", lprt7, 1, 0.8)
  1324. hbwld.Parent = nil
  1325. hboxpos.Parent = hitbox
  1326. hitbox.Parent = modelzorz
  1327. hitbox.Size = vt(1.5, 2, 1.5)
  1328. hitboxCF = lprt7.CFrame
  1329. hitbox.CFrame = hitboxCF
  1330. for i = 0, 1, 0.35 do
  1331. swait()
  1332. if TimeLocked.Value == true then
  1333. repeat
  1334. game:GetService("RunService").Heartbeat:wait()
  1335. until TimeLocked.Value == false or Suppressed.Value == true
  1336. end
  1337. hitboxCF = lprt7.CFrame
  1338. hitbox.CFrame = hitboxCF
  1339. MagniDamage(hitbox, 2.5, 0, 10, 12, "Normal", RootPart, 0.5, 1, 12, nil, true)
  1340. lwld8.C0 = lwld8.C0 * euler(0, 0.4, 0)
  1341. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1.57), 0.3)
  1342. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1.57), 0.3)
  1343. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 1.57) * euler(0, 0, -1), 0.3)
  1344. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1345. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -1.57) * euler(0, 3.14, 0), 0.3)
  1346. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1347. RH.C0 = clerp(RH.C0, cf(0.5, -1, -0.2) * euler(0, 1.57, 0) * euler(-0.4, 1.57, 0), 0.2)
  1348. LH.C0 = clerp(LH.C0, cf(-0.5, -1, 0.2) * euler(0, -1.57, 0) * euler(0.2, 1.57, 0), 0.2)
  1349. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1350. break
  1351. end
  1352. end
  1353. for i = 0, 1, 0.1 do
  1354. swait()
  1355. if TimeLocked.Value == true then
  1356. repeat
  1357. game:GetService("RunService").Heartbeat:wait()
  1358. until TimeLocked.Value == false or Suppressed.Value == true
  1359. end
  1360. hitboxCF = lprt7.CFrame
  1361. hitbox.CFrame = hitboxCF
  1362. MagniDamage(hitbox, 2, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, math.random(10, 15), nil, true)
  1363. lwld8.C0 = lwld8.C0 * euler(0, 0.4, 0)
  1364. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1.57), 0.3)
  1365. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1.57), 0.3)
  1366. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 1.57) * euler(0, 0, -1), 0.3)
  1367. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1368. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -1.57) * euler(0, 3.14, 1.2), 0.3)
  1369. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1370. RH.C0 = clerp(RH.C0, cf(0.5, -1, -0.2) * euler(0, 1.57, 0) * euler(-0.4, 1.57, 0), 0.2)
  1371. LH.C0 = clerp(LH.C0, cf(-0.5, -1, 0.2) * euler(0, -1.57, 0) * euler(0.2, 1.57, 0), 0.2)
  1372. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1373. break
  1374. end
  1375. end
  1376. hitbox.Parent = modelzorz
  1377. hitbox.Size = vt()
  1378. hitboxweld()
  1379. hboxpos.Parent = nil
  1380. attack = false
  1381. end
  1382. function attackfour()
  1383. attack = true
  1384. for i = 0, 1, 0.1 do
  1385. swait()
  1386. if TimeLocked.Value == true then
  1387. repeat
  1388. game:GetService("RunService").Heartbeat:wait()
  1389. until TimeLocked.Value == false or Suppressed.Value == true
  1390. end
  1391. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1) * euler(0, 0, 0), 0.3)
  1392. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1), 0.3)
  1393. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, -1.2), 0.3)
  1394. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1395. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -0.1), 0.3)
  1396. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1397. RH.C0 = clerp(RH.C0, cf(0.8, -1, -0.4) * euler(0, 1.57, 0) * euler(0, 1, -0.1), 0.4)
  1398. LH.C0 = clerp(LH.C0, cf(-0.8, -0.9, 0.4) * euler(0, -1.57, 0) * euler(0, 1, 0.1), 0.4)
  1399. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1400. break
  1401. end
  1402. end
  1403. so("200632370", rprt7, 1, 1)
  1404. hbwld.Parent = nil
  1405. hboxpos.Parent = hitbox
  1406. hitbox.Parent = modelzorz
  1407. hitbox.Size = vt(1.5, 2, 1.5)
  1408. hitboxCF = rprt7.CFrame
  1409. hitbox.CFrame = hitboxCF
  1410. for i = 0, 1, 0.03 do
  1411. swait()
  1412. if TimeLocked.Value == true then
  1413. repeat
  1414. game:GetService("RunService").Heartbeat:wait()
  1415. until TimeLocked.Value == false or Suppressed.Value == true
  1416. end
  1417. hitboxCF = rprt7.CFrame
  1418. hitbox.CFrame = hitboxCF
  1419. MagniDamage(hitbox, 2.7, 0, 7, 4, "Normal", RootPart, 0.5, 1, 6, nil, true)
  1420. rwld8.C0 = rwld8.C0 * euler(0, 0.5, 0)
  1421. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57) * euler(0, 0, 0), 0.3)
  1422. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 1.57), 0.3)
  1423. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.57) * euler(0, 1.57, 0), 0.3)
  1424. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1425. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.5, 0, -1), 0.3)
  1426. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1427. RH.C0 = clerp(RH.C0, cf(0.6, -1, 0.4) * euler(0, 1.57, 0) * euler(0.2, -1.57, 0), 0.2)
  1428. LH.C0 = clerp(LH.C0, cf(-0.6, -1, -0.4) * euler(0, -1.57, 0) * euler(-0.4, -1.57, 0), 0.2)
  1429. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1430. break
  1431. end
  1432. end
  1433. hitbox.Parent = modelzorz
  1434. hitbox.Size = vt()
  1435. hitboxweld()
  1436. hboxpos.Parent = nil
  1437. attack = false
  1438. end
  1439. local BlockSc = Instance.new("Script") --script:WaitForChild("OmegaBlockScript"):clone()
  1440. BlockSc.Disabled = false
  1441. BlockSc.Parent = Character
  1442. BlockSc.Name = "OmegaBlockScript"
  1443. Character:WaitForChild("OmegaBlockScript")
  1444. wait()
  1445. BlockObj = Instance.new("BoolValue", BlockSc) --BlockSc:WaitForChild("Active")
  1446. BlockObj.Name = "Active"
  1447. BlockObj.Value = true
  1448. BlockVal = Instance.new("NumberValue", BlockSc) --BlockSc:WaitForChild("ShieldHealth")
  1449. BlockVal.Name = "ShieldHealth"
  1450. BlockVal.Value = 10
  1451. function Guard()
  1452. if Suppressed.Value == true or Stun.Value >= StunT.Value or Stunned.Value == true or Unstable.Value == true then
  1453. return
  1454. end
  1455. attack = true
  1456. manualguardend = false
  1457. local dec = Instance.new("NumberValue", Decrease)
  1458. dec.Name = "DecreaseMvmt"
  1459. dec.Value = 0.1
  1460. local dec2 = Instance.new("NumberValue", Decrease)
  1461. dec2.Name = "DecreaseKBR"
  1462. dec2.Value = 0
  1463. kz = Instance.new("BoolValue")
  1464. kz.Name = "Absolute"
  1465. kz.Parent = dec
  1466. shield.Transparency = 1
  1467. shield.Parent = modelzorz
  1468. shield.Anchored = false
  1469. local swld = weld(shield, shield, Torso, cf(0, 0, 0))
  1470. guard = true
  1471. removeControl()
  1472. for i = 1, 6 do
  1473. swait()
  1474. if TimeLocked.Value == true then
  1475. repeat
  1476. game:GetService("RunService").Heartbeat:wait()
  1477. until TimeLocked.Value == false or Suppressed.Value == true
  1478. end
  1479. shield.Mesh.VertexColor = Vector3.new(NewCol.r * 1.1 + 0.25, NewCol.g * 1.1 + 0.25, NewCol.b * 1.1 + 0.25) * (BlockVal.Value / 40)
  1480. shield.Mesh.Scale = Vector3.new(0.7, 1, 0.7) + Vector3.new(0.35, 0.35, 0.35) * (BlockVal.Value / 40)
  1481. shield.Transparency = (0.9 - BlockVal.Value / 100) / 6 * i
  1482. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  1483. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1484. RW.C0 = clerp(RW.C0, cf(1, 0, -1) * euler(3, 0, 0) * euler(0, -1.57, 0), 0.3)
  1485. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1486. LW.C0 = clerp(LW.C0, cf(-1, 0, -1) * euler(2.9, 0, 0) * euler(0, 1.57, 0), 0.3)
  1487. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1488. RH.C0 = clerp(RH.C0, cf(1.1, -1, 0) * euler(0, 1.57, 0), 0.2)
  1489. LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * euler(0, -1.57, 0), 0.2)
  1490. if i == 4 then
  1491. BlockObj.Value = true
  1492. end
  1493. if Suppressed.Value == true or Stun.Value >= StunT.Value or Stunned.Value == true or Unstable.Value == true then
  1494. break
  1495. end
  1496. end
  1497. if Suppressed.Value == true or Stun.Value >= StunT.Value or Stunned.Value == true or Unstable.Value == true then
  1498. resumeControl()
  1499. dec2:Destroy()
  1500. BlockObj.Value = false
  1501. shield.Parent = nil
  1502. swld:Destroy()
  1503. guard = false
  1504. dec.Parent = nil
  1505. attack = false
  1506. return
  1507. end
  1508. if Unstable.Value == true then
  1509. Unstable.Value = false
  1510. Unstable.Timer.Value = 0
  1511. end
  1512. if Stagger.Value == true then
  1513. Stagger.Value = false
  1514. end
  1515. repeat
  1516. swait()
  1517. if TimeLocked.Value == true then
  1518. repeat
  1519. game:GetService("RunService").Heartbeat:wait()
  1520. until TimeLocked.Value == false or Suppressed.Value == true
  1521. end
  1522. if Stun.Value >= StunT.Value or Stunned.Value == true then
  1523. break
  1524. end
  1525. if Unstable.Value == true then
  1526. Unstable.Value = false
  1527. Unstable.Timer.Value = 0
  1528. end
  1529. if Stagger.Value == true then
  1530. Stagger.Value = false
  1531. end
  1532. shield.Mesh.VertexColor = Vector3.new(NewCol.r * 1.1 + 0.25, NewCol.g * 1.1 + 0.25, NewCol.b * 1.1 + 0.25) * (BlockVal.Value / 40)
  1533. shield.Mesh.Scale = Vector3.new(0.7, 1, 0.7) + Vector3.new(0.35, 0.35, 0.35) * (BlockVal.Value / 40)
  1534. shield.Transparency = 0.9 - BlockVal.Value / 100
  1535. until 0 >= BlockVal.Value or guard == false
  1536. resumeControl()
  1537. dec2:Destroy()
  1538. BlockObj.Value = false
  1539. shield.Parent = nil
  1540. swld:Destroy()
  1541. guard = false
  1542. dec.Parent = nil
  1543. attack = false
  1544. end
  1545. function do1()
  1546. if attack == true then
  1547. return
  1548. end
  1549. if attack == true or equipped == false or Stunned.Value == true or Stagger.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1550. return
  1551. end
  1552. if cooldowns[1] >= cooldownmax and mana.Value >= 20 then
  1553. mana.Value = mana.Value - 20
  1554. attack = true
  1555. so("200632449", Torso, 1, 1)
  1556. MagicCircle(BrickColor.new(NewCol), Torso.CFrame, 50, 50, 50, 1, 1, 1, 0.05)
  1557. shieldroll = true
  1558. shield1.Parent = modelzorz
  1559. shield2.Parent = modelzorz
  1560. ball.Parent = workspace
  1561. Humanoid.PlatformStand = true
  1562. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1563. ref.Anchored = true
  1564. msh = mesh("BlockMesh", ref, "", "", vt(0, 0, 0), vt(10, 10, 10))
  1565. angl = it("BodyVelocity")
  1566. angl.maxForce = Vector3.new(46500, 265, 46500)
  1567. angl.P = angl.P * 4
  1568. angl.Parent = ball
  1569. angl.velocity = ref.CFrame.lookVector * 80
  1570. mananum = 0
  1571. velnum = 0
  1572. manacost = 1
  1573. manacostnum = 0
  1574. workspace.CurrentCamera.CameraSubject = ball
  1575. local cz, xps, cl, clz, start, csz = 0, 10, 0.04, 0, RootPart.Position, 0.25
  1576. local dist, mag, vp, t = 0, 0, nil, nil
  1577. bustTarget = nil
  1578. local cld = Instance.new("NumberValue", Decrease)
  1579. cld.Name = "DecreaseDef"
  1580. cld.Value = -0.2
  1581. local cld2 = Instance.new("NumberValue", Decrease)
  1582. cld2.Name = "DecreaseKBR"
  1583. cld2.Value = 1
  1584. while shieldroll == true and dist <= 45 do
  1585. swait()
  1586. cld.Parent = Decrease
  1587. cld2.Parent = Decrease
  1588. dist = dist + (start - RootPart.Position).magnitude
  1589. start = RootPart.Position
  1590. if TimeLocked.Value == true then
  1591. repeat
  1592. game:GetService("RunService").Heartbeat:wait()
  1593. until TimeLocked.Value == false or Suppressed.Value == true
  1594. end
  1595. if Stun.Value >= StunT.Value or Stun.Value == true or Suppressed.Value == true then
  1596. break
  1597. end
  1598. if Unstable.Value == true then
  1599. Unstable.Value = false
  1600. Unstable.Timer.Value = 0
  1601. end
  1602. if Stagger.Value == true then
  1603. Stagger.Value = false
  1604. end
  1605. if csz >= 1 then
  1606. clz = clz + cl
  1607. else
  1608. csz = csz + 0.075
  1609. if csz > 1 then
  1610. csz = 1
  1611. end
  1612. end
  1613. Humanoid.PlatformStand = true
  1614. hitboxCF = ball.CFrame
  1615. hitbox.CFrame = hitboxCF
  1616. cz = workspace.CurrentCamera.CoordinateFrame.lookVector
  1617. if player:FindFirstChild("ShiftLockEnabled") then
  1618. ref.CFrame = cf(RootPart.Position, RootPart.Position + Vector3.new(cz.x, 0, cz.z).unit * 50)
  1619. else
  1620. ref.CFrame = cf(RootPart.Position, MMouse.hit.p)
  1621. end
  1622. angl.velocity = ref.CFrame.lookVector * ((11.25 + xps / (1 + clz)) * csz)
  1623. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  1624. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1625. RW.C0 = clerp(RW.C0, cf(1, 0, -1) * euler(3, 0, 0) * euler(0, -1.57, 0), 0.3)
  1626. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1627. LW.C0 = clerp(LW.C0, cf(-1, 0, -1) * euler(2.9, 0, 0) * euler(0, 1.57, 0), 0.3)
  1628. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1629. RH.C0 = clerp(RH.C0, cf(1, -0.4, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.5), 0.2)
  1630. LH.C0 = clerp(LH.C0, cf(-1, -0.4, -0.4) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.5), 0.2)
  1631. for _, v in pairs(workspace:children()) do
  1632. if v.className == "Model" and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") then
  1633. t = v.HumanoidRootPart
  1634. vp = game.Players:GetPlayerFromCharacter(v)
  1635. if vp == nil then
  1636. if v:FindFirstChild("Alignment") then
  1637. if v.Alignment.Value ~= Player.TeamColor or Player.Neutral == true then
  1638. mag = (t.Position - ball.Position).magnitude
  1639. if mag <= 7 then
  1640. bustTarget = v
  1641. end
  1642. end
  1643. else
  1644. mag = (t.Position - ball.Position).magnitude
  1645. if mag <= 7 then
  1646. bustTarget = v
  1647. end
  1648. end
  1649. elseif vp.TeamColor ~= Player.TeamColor or Player.Neutral == true and vp.Neutral == true and vp ~= Player then
  1650. mag = (t.Position - ball.Position).magnitude
  1651. if mag <= 7 then
  1652. bustTarget = v
  1653. end
  1654. end
  1655. end
  1656. end
  1657. if bustTarget ~= nil then
  1658. break
  1659. end
  1660. end
  1661. cld:Destroy()
  1662. cld2:Destroy()
  1663. RootPart.CFrame = CFrame.new(RootPart.Position, RootPart.Position + Vector3.new(angl.velocity.x, 0, angl.velocity.z))
  1664. if not bustTarget or Stun.Value >= StunT.Value or Stun.Value == true or Suppressed.Value == true then
  1665. else
  1666. Damagefunc(bustTarget.Torso, 0, 15, 0, 15, RootPart, 0, "Normal", 20, false, false, false, "Movement", 0.25, 120)
  1667. end
  1668. if Stun.Value >= StunT.Value or Stun.Value == true or Suppressed.Value == true then
  1669. else
  1670. local vvel = Instance.new("BodyVelocity")
  1671. vvel.P = 400
  1672. vvel.maxForce = Vector3.new(21500, 16500, 21500)
  1673. vvel.velocity = Vector3.new(0, 20, 0)
  1674. vvel.Parent = RootPart
  1675. game:GetService("Debris"):AddItem(vvel, 0.25)
  1676. if bustTarget then
  1677. vvel.velocity = vvel.velocity - (bustTarget.HumanoidRootPart.Position - RootPart.Position).unit * 4
  1678. end
  1679. --[[
  1680. s = script.Root:clone()
  1681. s.Parent = Decrease.Parent.Rooted
  1682. s.Disabled = false
  1683. ]]
  1684. end
  1685. bustTarget = nil
  1686. workspace.CurrentCamera.CameraSubject = Humanoid
  1687. hitbox.Parent = modelzorz
  1688. hitbox.Size = vt()
  1689. hitboxweld()
  1690. hboxpos.Parent = nil
  1691. MagicCircle(BrickColor.new(NewCol), Torso.CFrame, 50, 50, 50, 1, 1, 1, 0.05)
  1692. Stagger.Value = false
  1693. StaggerHit.Value = false
  1694. angl.Parent = nil
  1695. ref.Parent = nil
  1696. Humanoid.PlatformStand = false
  1697. Humanoid.Jump = true
  1698. Humanoid:ChangeState("GettingUp")
  1699. shield1.Parent = nil
  1700. shield2.Parent = nil
  1701. ball.Parent = nil
  1702. attack = false
  1703. cooldowns[1] = 0
  1704. end
  1705. shieldroll = false
  1706. end
  1707. do2 = function()
  1708. if attack == true then
  1709. return
  1710. end
  1711. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1712. return
  1713. end
  1714. if cooldownmax <= cooldowns[2] and blocknum >= 20 and mana.Value >= 20 then
  1715. attack = true
  1716. shield.Transparency = 1
  1717. shield.Parent = modelzorz
  1718. local def = Instance.new("NumberValue", Decrease)
  1719. def.Name = "DecreaseDef"
  1720. def.Value = -0.5
  1721. cooldowns[2] = 0
  1722. for i = 1, 0.5, -0.05 do
  1723. swait()
  1724. shield.Transparency = i
  1725. shield.CFrame = cf(Torso.Position)
  1726. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.5)
  1727. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 0), 0.5)
  1728. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.8) * euler(2, 0, -1.2) * euler(0, -0.5, 0), 0.5)
  1729. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1730. LW.C0 = clerp(LW.C0, cf(-1, 0.2, -0.8) * euler(1.4, 0, 1.6) * euler(0, 0, 0), 0.5)
  1731. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1732. RH.C0 = clerp(RH.C0, cf(1.1, -1, 0) * euler(0, 1.57, -0.1), 0.5)
  1733. LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * euler(0, -1.57, 0.4), 0.5)
  1734. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1735. do
  1736. if StaggerHit.Value == true then
  1737. break
  1738. end
  1739. -- DECOMPILER ERROR at PC230: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1740.  
  1741. -- DECOMPILER ERROR at PC230: LeaveBlock: unexpected jumping out IF_STMT
  1742.  
  1743. end
  1744. end
  1745. end
  1746. DecreaseStat(Character, "Defense", -0.4, 400)
  1747. blocknum = blocknum - 20
  1748. so("2767090", Torso, 1, 0.8)
  1749. dist = 120
  1750. if hitfloor == nil then
  1751. dist = 70
  1752. else
  1753. if hitfloor.CanCollide == false then
  1754. dist = 70
  1755. end
  1756. end
  1757. if Rooted.Value == false then
  1758. Torso.Velocity = RootPart.CFrame.lookVector * dist
  1759. end
  1760. MagicWave(BrickColor.new("Black metallic"), RootPart.CFrame * euler(1.57, 0, 0), 1, 1, 1, 1, 1, 1, 0.1)
  1761. hitbox.Parent = workspace
  1762. hitbox.Size = vt(7, 7, 7)
  1763. hitboxCF = Torso.CFrame
  1764. hitbox.CFrame = hitboxCF
  1765. for i = 0, 1, 0.1 do
  1766. swait()
  1767. if hitfloor == nil and dist == 200 then
  1768. Torso.Velocity = Torso.Velocity / 2
  1769. end
  1770. hitboxCF = Torso.CFrame
  1771. hitbox.CFrame = hitboxCF
  1772. shield.CFrame = cf(Torso.Position)
  1773. MagniDamage(hitbox, 8, 8, 10, math.random(5, 10), "Normal", RootPart, 0.2, 2, (math.random(6, 8)), nil, nil)
  1774. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.5)
  1775. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 0), 0.5)
  1776. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.8) * euler(2, 0, -1.2) * euler(0, -0.5, 0), 0.5)
  1777. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1778. LW.C0 = clerp(LW.C0, cf(-1, 0.2, -0.8) * euler(1.4, 0, 1.6) * euler(0, 0, 0), 0.5)
  1779. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1780. RH.C0 = clerp(RH.C0, cf(1.1, -1, 0) * euler(0, 1.57, -0.1), 0.5)
  1781. LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * euler(0, -1.57, 0.4), 0.5)
  1782. end
  1783. mana.Value = mana.Value - 20
  1784. so("200632449", Torso, 1, 1.4)
  1785. MagniDamage(hitbox, 20, 8, 10, math.random(20, 25), "Normal", RootPart, 0, 2, (math.random(6, 8)), nil, nil, false, "Damage", 0.2, 300)
  1786. MagicShield(BrickColor.new("Black metallic"), shield.CFrame, 0.7, 1, 0.7, 0.4, 0.2, 0.4, 0.1)
  1787. shield.Parent = nil
  1788. for i = 0, 1, 0.1 do
  1789. swait()
  1790. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.5)
  1791. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * euler(0, 0, 0), 0.5)
  1792. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.57) * euler(0, 0, 0), 0.5)
  1793. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1794. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57) * euler(0, 0, 0), 0.5)
  1795. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1796. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.5)
  1797. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.5)
  1798. end
  1799. def.Parent = nil
  1800. attack = false
  1801. end
  1802. end
  1803. function do3()
  1804. if attack == true then
  1805. return
  1806. end
  1807. if attack == true or equipped == false or Stunned.Value == true or Stagger.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1808. return
  1809. end
  1810. if cooldowns[3] >= cooldownmax and mana.Value >= 20 then
  1811. attack = true
  1812. cooldowns[3] = 0
  1813. mana.Value = mana.Value - 20
  1814. local dec = Instance.new("NumberValue", Decrease)
  1815. dec.Name = "DecreaseMvmt"
  1816. dec.Value = 50
  1817. for i = 1, 8 do
  1818. swait()
  1819. if TimeLocked.Value == true then
  1820. repeat
  1821. game:GetService("RunService").Heartbeat:wait()
  1822. until TimeLocked.Value == false or Suppressed.Value == true
  1823. end
  1824. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  1825. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 0), 0.3)
  1826. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(2, 0, -1.2), 0.3)
  1827. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1828. LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(1.3, 0, 1), 0.3)
  1829. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1830. RH.C0 = clerp(RH.C0, cf(1.1, -1, 0) * euler(0, 1.57, -0.1), 0.25)
  1831. LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * euler(0, -1.57, 0.1), 0.25)
  1832. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1833. break
  1834. end
  1835. end
  1836. for i = 1, 8 do
  1837. swait()
  1838. if TimeLocked.Value == true then
  1839. repeat
  1840. game:GetService("RunService").Heartbeat:wait()
  1841. until TimeLocked.Value == false or Suppressed.Value == true
  1842. end
  1843. Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 0), 0.35)
  1844. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.2, 0, 0), 0.35)
  1845. RW.C0 = clerp(RW.C0, cf(1.2, 0.8, 0) * euler(3.5, 0, -0.3), 0.35)
  1846. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.35)
  1847. LW.C0 = clerp(LW.C0, cf(-1.2, 0.8, 0) * euler(3.4, 0, 0.4), 0.35)
  1848. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.35)
  1849. RH.C0 = clerp(RH.C0, cf(1.1, -0.8, 0.2) * euler(0, 1.57, -0.2), 0.35)
  1850. LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * euler(0, -1.57, 0.3), 0.35)
  1851. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1852. break
  1853. end
  1854. end
  1855. local et = 0
  1856. while hitfloor == nil do
  1857. swait()
  1858. et = et + 1
  1859. if et >= 70 then
  1860. break
  1861. end
  1862. if TimeLocked.Value == true then
  1863. repeat
  1864. game:GetService("RunService").Heartbeat:wait()
  1865. until TimeLocked.Value == false or Suppressed.Value == true
  1866. end
  1867. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1868. break
  1869. end
  1870. end
  1871. for i = 1, 5 do
  1872. swait()
  1873. if TimeLocked.Value == true then
  1874. repeat
  1875. game:GetService("RunService").Heartbeat:wait()
  1876. until TimeLocked.Value == false or Suppressed.Value == true
  1877. end
  1878. Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 0), 0.4)
  1879. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.2, 0, 0), 0.4)
  1880. RW.C0 = clerp(RW.C0, cf(1.2, 0.3, 0) * euler(0.8, 0, -0.4), 0.4)
  1881. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1882. LW.C0 = clerp(LW.C0, cf(-1.2, 0.3, 0) * euler(0.8, 0, 0.4), 0.4)
  1883. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1884. RH.C0 = clerp(RH.C0, cf(1, 0.2, -0.4) * euler(0, 1.57, -0.6) * euler(-0.2, 0, 0), 0.4)
  1885. LH.C0 = clerp(LH.C0, cf(-1, 0.1, -0.5) * euler(0, -1.57, 0.2), 0.4)
  1886. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1887. break
  1888. end
  1889. end
  1890. if Stagger.Value == true or Stun.Value >= StunT.Value or StaggerHit.Value == true then
  1891. else
  1892. so("200632561", RightLeg, 1, 1)
  1893. DecreaseStat(Character, "Defense", -0.1, 150)
  1894. local pc = Instance.new("Part", workspace)
  1895. pc.BrickColor = BrickColor:White()
  1896. local m = Instance.new("SpecialMesh", pc)
  1897. m.Scale = Vector3.new(6, 2, 6)
  1898. pc.Anchored = true
  1899. pc.CanCollide = false
  1900. pc.Size = Vector3.new(0.2, 0.2, 0.2)
  1901. pc.Mesh.MeshType = "FileMesh"
  1902. pc.Anchored = true
  1903. pc.CanCollide = false
  1904. pc.Parent = workspace
  1905. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=489415286"
  1906. pc.Name = "Shockwave"
  1907. game:GetService("Debris"):AddItem(pc, 5)
  1908. pc.CFrame = CFrame.new(drawline_b(RootPart.Position + RootPart.CFrame.lookVector * 2, RootPart.Position + RootPart.CFrame.lookVector * 2 - Vector3.new(0, 30, 0))) + Vector3.new(0, 0.6, 0)
  1909. coroutine.resume(coroutine.create(function(p, x)
  1910. for i = 1, 14 do
  1911. p.Transparency = 0.5 + i / 28
  1912. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(2 + i), 0) - Vector3.new(0, 0.03571428571428571, 0)
  1913. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(2.2, -0.07142857142857142, 2.2)
  1914. swait()
  1915. end
  1916. p:Remove()
  1917. end), pc, 5)
  1918. local pc = Instance.new("Part", workspace)
  1919. pc.BrickColor = BrickColor:White()
  1920. local m = Instance.new("SpecialMesh", pc)
  1921. m.Scale = Vector3.new(3, 8, 3)
  1922. pc.Anchored = true
  1923. pc.CanCollide = false
  1924. pc.Size = Vector3.new(0.2, 0.2, 0.2)
  1925. pc.Mesh.MeshType = "FileMesh"
  1926. pc.Anchored = true
  1927. pc.CanCollide = false
  1928. pc.Parent = workspace
  1929. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=489415447"
  1930. pc.Name = "Shockwave"
  1931. game:GetService("Debris"):AddItem(pc, 5)
  1932. pc.CFrame = CFrame.new(drawline_b(RootPart.Position + RootPart.CFrame.lookVector * 2, RootPart.Position + RootPart.CFrame.lookVector * 2 - Vector3.new(0, 30, 0))) + Vector3.new(0, 2.5, 0)
  1933. coroutine.resume(coroutine.create(function(p, x)
  1934. for i = 1, 16 do
  1935. p.Transparency = 0.5 + i / 32
  1936. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(1 + i), 0) - Vector3.new(0, 0.15625, 0)
  1937. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.5, -0.3125, 1.5)
  1938. swait()
  1939. end
  1940. p:Remove()
  1941. end), pc, 5)
  1942. local pc = Instance.new("Part", workspace)
  1943. pc.BrickColor = BrickColor:White()
  1944. local m = Instance.new("SpecialMesh", pc)
  1945. m.Scale = Vector3.new(2, 11, 2)
  1946. pc.Anchored = true
  1947. pc.CanCollide = false
  1948. pc.Size = Vector3.new(0.2, 0.2, 0.2)
  1949. pc.Mesh.MeshType = "FileMesh"
  1950. pc.Anchored = true
  1951. pc.CanCollide = false
  1952. pc.Parent = workspace
  1953. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=489415572"
  1954. pc.Name = "Shockwave"
  1955. game:GetService("Debris"):AddItem(pc, 5)
  1956. pc.CFrame = CFrame.new(drawline_b(RootPart.Position + RootPart.CFrame.lookVector * 2, RootPart.Position + RootPart.CFrame.lookVector * 2 - Vector3.new(0, 30, 0))) + Vector3.new(0, 4.2, 0)
  1957. coroutine.resume(coroutine.create(function(p, x)
  1958. for i = 1, 18 do
  1959. p.Transparency = 0.5 + i / 36
  1960. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(1 + i), 0) - Vector3.new(0, 0.2777777777777778, 0)
  1961. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.7, -0.5555555555555556, 0.7)
  1962. swait()
  1963. end
  1964. p:Remove()
  1965. end), pc, 5)
  1966. MagniDamage(Torso, 27.5, 0, 8.5, 30, "Stomp", Torso, 0, 1, 20, nil, nil, true)
  1967. end
  1968. for i = 1, 3 do
  1969. swait()
  1970. if TimeLocked.Value == true then
  1971. repeat
  1972. game:GetService("RunService").Heartbeat:wait()
  1973. until TimeLocked.Value == false or Suppressed.Value == true
  1974. end
  1975. if Stagger.Value == true or Stun.Value >= StunT.Value or Stun.Value == true or Unstable.Value == true or Suppressed.Value == true then
  1976. break
  1977. end
  1978. end
  1979. dec.Parent = nil
  1980. attack = false
  1981. end
  1982. end
  1983. RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1984. RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1985. LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1986. LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1987. RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1988. RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1989. LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1990. LeftHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1991. NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1992. NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1993. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1994. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1995. ignoretab2 = {}
  1996. function drawline_b(pos, pos2)
  1997. local par, loc, normal
  1998. for i = 1, 100 do
  1999. par, loc, normal = workspace:FindPartOnRayWithIgnoreList(Ray.new(pos, -(pos - pos2)), ignoretab2)
  2000. if par then
  2001. if par.CanCollide == false or par.Parent:FindFirstChild("Humanoid") ~= nil or par.Parent.ClassName == "Tool" or par.Parent:IsA("Accoutrement") or par:IsDescendantOf(game.Players.LocalPlayer) then
  2002. table.insert(ignoretab2, par)
  2003. else
  2004. return loc
  2005. end
  2006. else
  2007. return loc
  2008. end
  2009. end
  2010. warn("This isn't working.")
  2011. return Vector3.new(0, 0, 0)
  2012. end
  2013. function drawline_a(pos, pos2)
  2014. local par, loc, normal
  2015. for i = 1, 100 do
  2016. par, loc, normal = workspace:FindPartOnRayWithIgnoreList(Ray.new(pos, -(pos - pos2)), ignoretab2)
  2017. if par then
  2018. if par.CanCollide == false or par.Name == "Ball" or par.Parent:FindFirstChild("Humanoid") ~= nil or par.Parent.ClassName == "Tool" or par.Parent.className == "Hat" or par:IsDescendantOf(game.Players.LocalPlayer) then
  2019. table.insert(ignoretab2, par)
  2020. else
  2021. return par, loc, normal
  2022. end
  2023. else
  2024. return par, loc, normal
  2025. end
  2026. end
  2027. warn("This isn't working.")
  2028. return Vector3.new(0, 0, 0)
  2029. end
  2030. function do4()
  2031. if attack == true then
  2032. return
  2033. end
  2034. if attack == true or equipped == false or Stunned.Value == true or Stagger.Value == true or Unstable.Value == true or Suppressed.Value == true then
  2035. return
  2036. end
  2037. if cooldowns[4] >= cooldownmax and mana.Value >= 40 then
  2038. doingbust = true
  2039. attack = true
  2040. mana.Value = mana.Value - 40
  2041. cooldowns[4] = 0
  2042. Humanoid.AutoRotate = false
  2043. do
  2044. local cdir = Character.HumanoidRootPart.CFrame.lookVector
  2045. cdir = Vector3.new(cdir.x, 0, cdir.z)
  2046. local dec2 = Instance.new("NumberValue", Decrease)
  2047. dec2.Name = "DecreaseMvmt"
  2048. dec2.Value = 10
  2049. local cld2 = Instance.new("NumberValue", Decrease)
  2050. cld2.Name = "DecreaseKBR"
  2051. cld2.Value = 1
  2052. t = tick()
  2053. UltVal.Value = true
  2054. local rp1 = Character["Tortoise Shell"]["Right Part17"]
  2055. local rp2 = Character["Tortoise Shell"]["Right Part18"]
  2056. local rb1 = rp1:clone()
  2057. rb1.Name = "TempPart"
  2058. rb1.Parent = rp1.Parent
  2059. rb1.Mesh.Offset = Vector3.new(0, 0.2, 0)
  2060. rb1.TopSurface = 0
  2061. rb1.BottomSurface = 0
  2062. local rbw1 = Instance.new("Weld", rp1)
  2063. rbw1.Part0 = rp1
  2064. rbw1.Part1 = rb1
  2065. rb1.Mesh.Scale = rb1.Mesh.Scale - Vector3.new(0.15, 0, 0.15)
  2066. rb1.BrickColor = BrickColor.new("Medium stone grey")
  2067. local rb2 = Instance.new("Part", rp1.Parent)
  2068. rb2.Size = Vector3.new(0.2, 0.2, 0.2)
  2069. rb2.CanCollide = false
  2070. rb2.BrickColor = BrickColor:Black()
  2071. rb2.TopSurface = 0
  2072. rb2.BottomSurface = 0
  2073. local m = Instance.new("BlockMesh", rb2)
  2074. m.Scale = Vector3.new(3.365, 1, 0.15)
  2075. m.Offset = Vector3.new(0, 0.3, 0)
  2076. local rbw2 = Instance.new("Weld", rb1)
  2077. rbw2.Part0 = rp1
  2078. rbw2.Part1 = rb2
  2079. local rb3 = Instance.new("Part", rp1.Parent)
  2080. rb3.Size = Vector3.new(0.2, 0.2, 0.2)
  2081. rb3.CanCollide = false
  2082. rb3.BrickColor = BrickColor:Black()
  2083. rb3.TopSurface = 0
  2084. rb3.BottomSurface = 0
  2085. local m = Instance.new("BlockMesh", rb3)
  2086. m.Scale = Vector3.new(3.365, 1, 0.15)
  2087. m.Offset = Vector3.new(0, 0.3, 0)
  2088. local rbw3 = Instance.new("Weld", rb1)
  2089. rbw3.Part0 = rp1
  2090. rbw3.Part1 = rb3
  2091. rbw3.C0 = CFrame.Angles(0, math.rad(90), 0)
  2092. local rb4 = Instance.new("Part", rp1.Parent)
  2093. rb4.Size = Vector3.new(0.2, 0.2, 0.2)
  2094. rb4.CanCollide = false
  2095. rb4.BrickColor = BrickColor:Black()
  2096. local m = Instance.new("BlockMesh", rb4)
  2097. m.Scale = Vector3.new(3.365, 1, 0.15)
  2098. m.Offset = Vector3.new(0, 0.3, 0)
  2099. local rbw4 = Instance.new("Weld", rb1)
  2100. rbw4.Part0 = rp1
  2101. rbw4.Part1 = rb4
  2102. rbw4.C0 = CFrame.Angles(0, math.rad(45), 0)
  2103. rb4.TopSurface = 0
  2104. rb4.BottomSurface = 0
  2105. local rb5 = Instance.new("Part", rp1.Parent)
  2106. rb5.Size = Vector3.new(0.2, 0.2, 0.2)
  2107. rb5.CanCollide = false
  2108. rb5.BrickColor = BrickColor:Black()
  2109. local m = Instance.new("BlockMesh", rb5)
  2110. m.Scale = Vector3.new(3.365, 1, 0.15)
  2111. m.Offset = Vector3.new(0, 0.3, 0)
  2112. local rbw5 = Instance.new("Weld", rb1)
  2113. rbw5.Part0 = rp1
  2114. rbw5.Part1 = rb5
  2115. rbw5.C0 = CFrame.Angles(0, math.rad(135), 0)
  2116. rb5.TopSurface = 0
  2117. rb5.BottomSurface = 0
  2118. local lp1 = Character["Tortoise Shell"]["Left Part17"]
  2119. local lp2 = Character["Tortoise Shell"]["Left Part18"]
  2120. local lb1 = lp1:clone()
  2121. lb1.Name = "TempPart"
  2122. lb1.Parent = lp1.Parent
  2123. lb1.Mesh.Offset = Vector3.new(0, 0.2, 0)
  2124. local lbw1 = Instance.new("Weld", lp1)
  2125. lbw1.Part0 = lp1
  2126. lbw1.Part1 = lb1
  2127. lb1.Mesh.Scale = lb1.Mesh.Scale - Vector3.new(0.15, 0, 0.15)
  2128. lb1.BrickColor = BrickColor.new("Medium stone grey")
  2129. local lb2 = Instance.new("Part", lp1.Parent)
  2130. lb2.Size = Vector3.new(0.2, 0.2, 0.2)
  2131. lb2.CanCollide = false
  2132. lb2.BrickColor = BrickColor:Black()
  2133. local m = Instance.new("BlockMesh", lb2)
  2134. m.Scale = Vector3.new(3.365, 1, 0.15)
  2135. m.Offset = Vector3.new(0, 0.3, 0)
  2136. local lbw2 = Instance.new("Weld", lb1)
  2137. lbw2.Part0 = lp1
  2138. lbw2.Part1 = lb2
  2139. lb2.TopSurface = 0
  2140. lb2.BottomSurface = 0
  2141. local lb3 = Instance.new("Part", lp1.Parent)
  2142. lb3.Size = Vector3.new(0.2, 0.2, 0.2)
  2143. lb3.CanCollide = false
  2144. lb3.BrickColor = BrickColor:Black()
  2145. local m = Instance.new("BlockMesh", lb3)
  2146. m.Scale = Vector3.new(3.365, 1, 0.15)
  2147. m.Offset = Vector3.new(0, 0.3, 0)
  2148. local lbw3 = Instance.new("Weld", lb1)
  2149. lbw3.Part0 = lp1
  2150. lbw3.Part1 = lb3
  2151. lbw3.C0 = CFrame.Angles(0, math.rad(90), 0)
  2152. lb3.TopSurface = 0
  2153. lb3.BottomSurface = 0
  2154. local lb4 = Instance.new("Part", lp1.Parent)
  2155. lb4.Size = Vector3.new(0.2, 0.2, 0.2)
  2156. lb4.CanCollide = false
  2157. lb4.BrickColor = BrickColor:Black()
  2158. local m = Instance.new("BlockMesh", lb4)
  2159. m.Scale = Vector3.new(3.365, 1, 0.15)
  2160. m.Offset = Vector3.new(0, 0.3, 0)
  2161. local lbw4 = Instance.new("Weld", lb1)
  2162. lbw4.Part0 = lp1
  2163. lbw4.Part1 = lb4
  2164. lbw4.C0 = CFrame.Angles(0, math.rad(45), 0)
  2165. lb4.TopSurface = 0
  2166. lb4.BottomSurface = 0
  2167. local lb5 = Instance.new("Part", lp1.Parent)
  2168. lb5.Size = Vector3.new(0.2, 0.2, 0.2)
  2169. lb5.CanCollide = false
  2170. lb5.BrickColor = BrickColor:Black()
  2171. local m = Instance.new("BlockMesh", lb5)
  2172. m.Scale = Vector3.new(3.365, 1, 0.15)
  2173. m.Offset = Vector3.new(0, 0.3, 0)
  2174. local lbw5 = Instance.new("Weld", lb1)
  2175. lbw5.Part0 = lp1
  2176. lbw5.Part1 = lb5
  2177. lbw5.C0 = CFrame.Angles(0, math.rad(135), 0)
  2178. lb5.TopSurface = 0
  2179. lb5.BottomSurface = 0
  2180. local ks = Instance.new("Sound", RootPart)
  2181. ks.Volume = 0.8
  2182. ks.Pitch = 0.9
  2183. ks.SoundId = "rbxassetid://471881922"
  2184. coroutine.resume(coroutine.create(function(p)
  2185. wait()
  2186. p:Play()
  2187. end), ks)
  2188. game:GetService("Debris"):AddItem(ks, 15)
  2189. for i = 1, 16 do
  2190. swait()
  2191. if TimeLocked.Value == true then
  2192. repeat
  2193. game:GetService("RunService").Heartbeat:wait()
  2194. until TimeLocked.Value == false or Suppressed.Value == true
  2195. end
  2196. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") then
  2197. break
  2198. end
  2199. if Stagger.Value == true then
  2200. Stagger.Value = false
  2201. end
  2202. if Unstable.Value == true then
  2203. Unstable.Value = false
  2204. Unstable.Timer.Value = 0
  2205. end
  2206. if Stunned.Value == true or Stun.Value >= StunT.Value then
  2207. Stunned.Value = false
  2208. Stun.Value = StunT.Value - 1
  2209. end
  2210. RootJoint.C0 = clerp(RootJoint.C0, RootJointC0 * CFrame.new(0, -0.2, -0.6) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.1 + i * 0.01)
  2211. Neck.C0 = clerp(Neck.C0, NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(3), 0, 0), 0.1 + i * 0.01)
  2212. RW.C0 = clerp(RW.C0, RightShoulderC0 * CFrame.new(0.5, 0, -0.5) * CFrame.Angles(-math.rad(5), 0, math.rad(85)), 0.1 + i * 0.01)
  2213. RW.C1 = clerp(RW.C1, RightShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), 0, 0), 0.1 + i * 0.01)
  2214. LW.C0 = clerp(LW.C0, LeftShoulderC0 * CFrame.new(-0.5, 0, -0.5) * CFrame.Angles(-math.rad(5), 0, -math.rad(85)), 0.1 + i * 0.01)
  2215. LW.C1 = clerp(LW.C1, LeftShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), 0, 0), 0.1 + i * 0.01)
  2216. RH.C0 = clerp(RH.C0, RightHipC0 * CFrame.new(0.6, 0.65, 0) * CFrame.Angles(-math.rad(1), 0, math.rad(1)), 0.1 + i * 0.01)
  2217. LH.C0 = clerp(LH.C0, LeftHipC0 * CFrame.new(-0.1, 0.55, 0) * CFrame.Angles(-math.rad(2), 0, math.rad(19)), 0.1 + i * 0.01)
  2218. if i == 6 then
  2219. coroutine.resume(coroutine.create(function()
  2220. local k = Instance.new("Sound", rp1)
  2221. k.Volume = 0.85
  2222. k.SoundId = "rbxassetid://471882065"
  2223. k.Pitch = math.random(95, 105) / 100
  2224. coroutine.resume(coroutine.create(function(p)
  2225. wait()
  2226. p:Play()
  2227. end), k)
  2228. game:GetService("Debris"):AddItem(k, 5)
  2229. local k = Instance.new("Sound", lp1)
  2230. k.Volume = 0.85
  2231. k.SoundId = "rbxassetid://471882065"
  2232. k.Pitch = math.random(95, 105) / 100
  2233. coroutine.resume(coroutine.create(function(p)
  2234. wait()
  2235. p:Play()
  2236. end), k)
  2237. game:GetService("Debris"):AddItem(k, 5)
  2238. local k = Instance.new("Sound", lp1)
  2239. k.Volume = 0.6
  2240. k.SoundId = "rbxassetid://291165237"
  2241. k.Pitch = math.random(95, 105) / 100
  2242. coroutine.resume(coroutine.create(function(p)
  2243. wait()
  2244. p:Play()
  2245. for i = 1, 50 do
  2246. p.Volume = p.Volume * 0.95
  2247. swait()
  2248. end
  2249. p:Stop()
  2250. end), k)
  2251. game:GetService("Debris"):AddItem(k, 5)
  2252. local k = Instance.new("Sound", rp1)
  2253. k.Volume = 0.6
  2254. k.SoundId = "rbxassetid://291165237"
  2255. k.Pitch = math.random(95, 105) / 100
  2256. coroutine.resume(coroutine.create(function(p)
  2257. wait()
  2258. p:Play()
  2259. for i = 1, 50 do
  2260. p.Volume = p.Volume * 0.95
  2261. swait()
  2262. end
  2263. p:Stop()
  2264. end), k)
  2265. game:GetService("Debris"):AddItem(k, 5)
  2266. local re = Instance.new("ParticleEmitter", rp1)
  2267. re.Texture = "http://www.roblox.com/asset/?id=242687290"
  2268. re.Size = NumberSequence.new({
  2269. NumberSequenceKeypoint.new(0, 2),
  2270. NumberSequenceKeypoint.new(1, 6)
  2271. })
  2272. re.Transparency = NumberSequence.new({
  2273. NumberSequenceKeypoint.new(0, 0.66),
  2274. NumberSequenceKeypoint.new(1, 1)
  2275. })
  2276. re.Rate = 120
  2277. re.Rotation = NumberRange.new(-360, 360)
  2278. re.RotSpeed = NumberRange.new(-60, 60)
  2279. re.Speed = NumberRange.new(4, 6)
  2280. re.VelocitySpread = 60
  2281. re.Lifetime = NumberRange.new(0.8, 1.2)
  2282. re.EmissionDirection = "Bottom"
  2283. local le = Instance.new("ParticleEmitter", lp1)
  2284. le.Texture = "http://www.roblox.com/asset/?id=242687290"
  2285. le.Size = NumberSequence.new({
  2286. NumberSequenceKeypoint.new(0, 1.6),
  2287. NumberSequenceKeypoint.new(1, 6)
  2288. })
  2289. le.Transparency = NumberSequence.new({
  2290. NumberSequenceKeypoint.new(0, 0.66),
  2291. NumberSequenceKeypoint.new(1, 1)
  2292. })
  2293. le.Rate = 120
  2294. le.Rotation = NumberRange.new(-360, 360)
  2295. le.RotSpeed = NumberRange.new(-60, 60)
  2296. le.Speed = NumberRange.new(4, 6)
  2297. le.VelocitySpread = 60
  2298. le.Lifetime = NumberRange.new(0.8, 1.2)
  2299. le.EmissionDirection = "Bottom"
  2300. for i = 1, 10 do
  2301. re.Rate = re.Rate - 10
  2302. re.VelocitySpread = re.VelocitySpread - 2
  2303. re.Speed = NumberRange.new(19 - i, 25 - i)
  2304. re.Transparency = NumberSequence.new({
  2305. NumberSequenceKeypoint.new(0, 0.5 + i * 0.043),
  2306. NumberSequenceKeypoint.new(1, 1)
  2307. })
  2308. le.Rate = re.Rate - 10
  2309. le.VelocitySpread = re.VelocitySpread - 2
  2310. le.Speed = NumberRange.new(19 - i, 25 - i)
  2311. le.Transparency = NumberSequence.new({
  2312. NumberSequenceKeypoint.new(0, 0.5 + i * 0.043),
  2313. NumberSequenceKeypoint.new(1, 1)
  2314. })
  2315. rb1.Mesh.Scale = rb1.Mesh.Scale + Vector3.new(0, 0.16000000000000003, 0)
  2316. rb1.Mesh.Offset = rb1.Mesh.Offset + Vector3.new(0, -0.05375, 0)
  2317. rb2.Mesh.Scale = rb2.Mesh.Scale + Vector3.new(0, 0.11000000000000001, 0)
  2318. rb2.Mesh.Offset = rb2.Mesh.Offset + Vector3.new(0, -0.065, 0)
  2319. rb3.Mesh.Scale = rb3.Mesh.Scale + Vector3.new(0, 0.11000000000000001, 0)
  2320. rb3.Mesh.Offset = rb3.Mesh.Offset + Vector3.new(0, -0.065, 0)
  2321. rb4.Mesh.Scale = rb4.Mesh.Scale + Vector3.new(0, 0.11000000000000001, 0)
  2322. rb4.Mesh.Offset = rb4.Mesh.Offset + Vector3.new(0, -0.065, 0)
  2323. rb5.Mesh.Scale = rb5.Mesh.Scale + Vector3.new(0, 0.11000000000000001, 0)
  2324. rb5.Mesh.Offset = rb5.Mesh.Offset + Vector3.new(0, -0.065, 0)
  2325. lb2.Mesh.Scale = lb2.Mesh.Scale + Vector3.new(0, 0.11000000000000001, 0)
  2326. lb2.Mesh.Offset = lb2.Mesh.Offset + Vector3.new(0, -0.065, 0)
  2327. lb3.Mesh.Scale = lb3.Mesh.Scale + Vector3.new(0, 0.11000000000000001, 0)
  2328. lb3.Mesh.Offset = lb3.Mesh.Offset + Vector3.new(0, -0.065, 0)
  2329. lb4.Mesh.Scale = lb4.Mesh.Scale + Vector3.new(0, 0.11000000000000001, 0)
  2330. lb4.Mesh.Offset = lb4.Mesh.Offset + Vector3.new(0, -0.065, 0)
  2331. lb5.Mesh.Scale = lb5.Mesh.Scale + Vector3.new(0, 0.11000000000000001, 0)
  2332. lb5.Mesh.Offset = lb5.Mesh.Offset + Vector3.new(0, -0.065, 0)
  2333. lb1.Mesh.Scale = lb1.Mesh.Scale + Vector3.new(0, 0.16000000000000003, 0)
  2334. lb1.Mesh.Offset = lb1.Mesh.Offset + Vector3.new(0, -0.05375, 0)
  2335. rp1.Mesh.Offset = rp1.Mesh.Offset - Vector3.new(0, 0.06999999999999999, 0)
  2336. rp2.Mesh.Scale = rp2.Mesh.Scale + Vector3.new(0, 0.25, 0)
  2337. rp2.Mesh.Offset = rp2.Mesh.Offset - Vector3.new(0, 0.045000000000000005, 0)
  2338. lp1.Mesh.Offset = lp1.Mesh.Offset - Vector3.new(0, 0.06999999999999999, 0)
  2339. lp2.Mesh.Scale = lp2.Mesh.Scale + Vector3.new(0, 0.25, 0)
  2340. lp2.Mesh.Offset = lp2.Mesh.Offset - Vector3.new(0, 0.045000000000000005, 0)
  2341. swait()
  2342. end
  2343. repeat
  2344. wait()
  2345. if bustTarget ~= nil then
  2346. re.Enabled = false
  2347. game:GetService("Debris"):AddItem(re, 3)
  2348. le.Enabled = false
  2349. game:GetService("Debris"):AddItem(le, 3)
  2350. end
  2351. until attack == false
  2352. re.Enabled = false
  2353. game:GetService("Debris"):AddItem(re, 3)
  2354. le.Enabled = false
  2355. game:GetService("Debris"):AddItem(le, 3)
  2356. for i = 1, 10 do
  2357. rb1.Mesh.Scale = rb1.Mesh.Scale - Vector3.new(0, 0.16000000000000003, 0)
  2358. rb1.Mesh.Offset = rb1.Mesh.Offset - Vector3.new(0, -0.05375, 0)
  2359. lb1.Mesh.Scale = lb1.Mesh.Scale - Vector3.new(0, 0.16000000000000003, 0)
  2360. lb1.Mesh.Offset = lb1.Mesh.Offset - Vector3.new(0, -0.05375, 0)
  2361. rb2.Mesh.Scale = rb2.Mesh.Scale - Vector3.new(0, 0.11000000000000001, 0)
  2362. rb2.Mesh.Offset = rb2.Mesh.Offset - Vector3.new(0, -0.065, 0)
  2363. rb3.Mesh.Scale = rb3.Mesh.Scale - Vector3.new(0, 0.11000000000000001, 0)
  2364. rb3.Mesh.Offset = rb3.Mesh.Offset - Vector3.new(0, -0.065, 0)
  2365. rb4.Mesh.Scale = rb4.Mesh.Scale - Vector3.new(0, 0.11000000000000001, 0)
  2366. rb4.Mesh.Offset = rb4.Mesh.Offset - Vector3.new(0, -0.065, 0)
  2367. rb5.Mesh.Scale = rb5.Mesh.Scale - Vector3.new(0, 0.11000000000000001, 0)
  2368. rb5.Mesh.Offset = rb5.Mesh.Offset - Vector3.new(0, -0.065, 0)
  2369. lb2.Mesh.Scale = lb2.Mesh.Scale - Vector3.new(0, 0.11000000000000001, 0)
  2370. lb2.Mesh.Offset = lb2.Mesh.Offset - Vector3.new(0, -0.065, 0)
  2371. lb3.Mesh.Scale = lb3.Mesh.Scale - Vector3.new(0, 0.11000000000000001, 0)
  2372. lb3.Mesh.Offset = lb3.Mesh.Offset - Vector3.new(0, -0.065, 0)
  2373. lb4.Mesh.Scale = lb4.Mesh.Scale - Vector3.new(0, 0.11000000000000001, 0)
  2374. lb4.Mesh.Offset = lb4.Mesh.Offset - Vector3.new(0, -0.065, 0)
  2375. lb5.Mesh.Scale = lb5.Mesh.Scale - Vector3.new(0, 0.11000000000000001, 0)
  2376. lb5.Mesh.Offset = lb5.Mesh.Offset - Vector3.new(0, -0.065, 0)
  2377. rp1.Mesh.Offset = rp1.Mesh.Offset + Vector3.new(0, 0.06999999999999999, 0)
  2378. rp2.Mesh.Scale = rp2.Mesh.Scale - Vector3.new(0, 0.25, 0)
  2379. rp2.Mesh.Offset = rp2.Mesh.Offset + Vector3.new(0, 0.045000000000000005, 0)
  2380. lp1.Mesh.Offset = lp1.Mesh.Offset + Vector3.new(0, 0.06999999999999999, 0)
  2381. lp2.Mesh.Scale = lp2.Mesh.Scale - Vector3.new(0, 0.25, 0)
  2382. lp2.Mesh.Offset = lp2.Mesh.Offset + Vector3.new(0, 0.045000000000000005, 0)
  2383. swait()
  2384. end
  2385. rb1:Destroy()
  2386. rbw1:Destroy()
  2387. lb1:Destroy()
  2388. lbw1:Destroy()
  2389. rb2:Destroy()
  2390. rb3:Destroy()
  2391. rb4:Destroy()
  2392. rb5:Destroy()
  2393. lb2:Destroy()
  2394. lb3:Destroy()
  2395. lb4:Destroy()
  2396. lb5:Destroy()
  2397. end))
  2398. end
  2399. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2400. break
  2401. end
  2402. end
  2403. swait()
  2404. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2405. UltVal.Value = false
  2406. dec2:Destroy()
  2407. doingbust = false
  2408. attack = false
  2409. bustTarget = nil
  2410. Humanoid.AutoRotate = true
  2411. return
  2412. end
  2413. for i = 1, 60 do
  2414. swait()
  2415. if TimeLocked.Value == true then
  2416. repeat
  2417. game:GetService("RunService").Heartbeat:wait()
  2418. until TimeLocked.Value == false or Suppressed.Value == true
  2419. end
  2420. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") then
  2421. break
  2422. end
  2423. if Stagger.Value == true then
  2424. Stagger.Value = false
  2425. end
  2426. if Unstable.Value == true then
  2427. Unstable.Value = false
  2428. Unstable.Timer.Value = 0
  2429. end
  2430. if Stunned.Value == true or Stun.Value >= StunT.Value then
  2431. Stunned.Value = false
  2432. Stun.Value = StunT.Value - 1
  2433. end
  2434. lwld8.C0 = lwld8.C0 * euler(0, math.rad(i), 0)
  2435. rwld8.C0 = rwld8.C0 * euler(0, math.rad(i), 0)
  2436. rwld17.C0 = euler(1.57, 0, -math.rad(i * (1 + i / 6))) * cf(0, 0.6, -0.03)
  2437. lwld17.C0 = euler(1.57, 0, math.rad(i * (1 + i / 6))) * cf(0, 0.6, -0.03)
  2438. if i % 8 == 0 and i <= 48 or i == 1 then
  2439. local pc = Instance.new("Part", workspace)
  2440. pc.BrickColor = BrickColor:White()
  2441. local m = Instance.new("SpecialMesh", pc)
  2442. m.Scale = Vector3.new(2, 2, 2)
  2443. pc.Anchored = true
  2444. pc.CanCollide = false
  2445. pc.Size = Vector3.new(0.2, 0.2, 0.2)
  2446. pc.Mesh.MeshType = "FileMesh"
  2447. pc.Anchored = true
  2448. pc.CanCollide = false
  2449. pc.Parent = workspace
  2450. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2451. pc.Name = "Shockwave"
  2452. game:GetService("Debris"):AddItem(pc, 5)
  2453. pc.CFrame = CFrame.new(drawline_b(RootPart.Position, RootPart.Position - Vector3.new(0, 30, 0)) + Vector3.new(0, 0.9, 0))
  2454. coroutine.resume(coroutine.create(function(p, x)
  2455. for i = 1, 25 do
  2456. p.Transparency = 0.66 + i / 73.52941176470588
  2457. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(2 + i), 0) - Vector3.new(0, 0.05, 0)
  2458. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1 - i * 0.05 + x, -0.1, 1 - i * 0.05 + x)
  2459. swait()
  2460. end
  2461. p:Remove()
  2462. end), pc, i * 0.04)
  2463. end
  2464. RootJoint.C0 = clerp(RootJoint.C0, RootJointC0 * CFrame.new(0, 0.55, -0.1625) * CFrame.Angles(math.rad(-26), math.rad(0), math.rad(2)), 0.08 - i * 0.0015)
  2465. Neck.C0 = clerp(Neck.C0, NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(23), 0, 0), 0.08 - i * 0.0015)
  2466. RW.C0 = clerp(RW.C0, RightShoulderC0 * CFrame.new(0.4, 0, 0.2) * CFrame.Angles(-math.rad(5), 0, math.rad(90)) * CFrame.Angles(math.rad(math.random(-i, i) / 97 * i), math.rad(math.random(-i, i) / 117 * i), math.rad(math.random(-i, i) / 110 * i)), 0.03 + i * 0.0015)
  2467. RW.C1 = clerp(RW.C1, RightShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(104), 0, 0), 0.08 - i * 0.0015)
  2468. LW.C0 = clerp(LW.C0, LeftShoulderC0 * CFrame.new(-0.4, 0, 0.2) * CFrame.Angles(-math.rad(5), 0, -math.rad(90)) * CFrame.Angles(math.rad(math.random(-i, i) / 97 * i), math.rad(math.random(-i, i) / 117 * i), math.rad(math.random(-i, i) / 110 * i)), 0.03 + i * 0.0015)
  2469. LW.C1 = clerp(LW.C1, LeftShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(104), 0, 0), 0.08 - i * 0.0015)
  2470. RH.C0 = clerp(RH.C0, RightHipC0 * CFrame.new(-0.1, -0.075, 0) * CFrame.Angles(-math.rad(3), 0, -math.rad(13)), 0.08 - i * 0.0015)
  2471. LH.C0 = clerp(LH.C0, LeftHipC0 * CFrame.new(0.15, -0.075, 0) * CFrame.Angles(-math.rad(3), 0, math.rad(35)), 0.08 - i * 0.0015)
  2472. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2473. break
  2474. end
  2475. end
  2476. coroutine.resume(coroutine.create(function(p)
  2477. for i = 1, 30 do
  2478. p.Volume = p.Volume * 0.9
  2479. swait()
  2480. end
  2481. p:Stop()
  2482. end), ks)
  2483. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2484. UltVal.Value = false
  2485. dec2:Destroy()
  2486. cld2:Destroy()
  2487. doingbust = false
  2488. attack = false
  2489. bustTarget = nil
  2490. Humanoid.AutoRotate = true
  2491. return
  2492. end
  2493. swait()
  2494. print(tick() - t)
  2495. so("471881954", RootPart, 1, 1)
  2496. busterhit = false
  2497. bustTarget = nil
  2498. local cp = RootPart.CFrame.p
  2499. local vRootPartVelocity = Instance.new("BodyVelocity", RootPart)
  2500. vRootPartVelocity.P = 500
  2501. vRootPartVelocity.maxForce = Vector3.new(53500, 500, 53500)
  2502. local hit = Instance.new("Part")
  2503. hit.Transparency = 1
  2504. hit.CanCollide = false
  2505. hit.Size = Vector3.new(0.2, 0.2, 0.2)
  2506. hit.Anchored = true
  2507. if TimeLocked.Value == true then
  2508. repeat
  2509. game:GetService("RunService").Heartbeat:wait()
  2510. until TimeLocked.Value == false or Suppressed.Value == true
  2511. end
  2512. local vp, mag
  2513. for i = 1, 10 do
  2514. swait()
  2515. if TimeLocked.Value == true then
  2516. repeat
  2517. game:GetService("RunService").Heartbeat:wait()
  2518. until TimeLocked.Value == false or Suppressed.Value == true
  2519. end
  2520. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") then
  2521. break
  2522. end
  2523. if Stagger.Value == true then
  2524. Stagger.Value = false
  2525. end
  2526. if Unstable.Value == true then
  2527. Unstable.Value = false
  2528. Unstable.Timer.Value = 0
  2529. end
  2530. if Stunned.Value == true or Stun.Value >= StunT.Value then
  2531. Stunned.Value = false
  2532. Stun.Value = StunT.Value - 1
  2533. end
  2534. if Rooted.Value == false then
  2535. vRootPartVelocity.velocity = cdir * (47.5 - i * 4.25)
  2536. end
  2537. RootJoint.C0 = clerp(RootJoint.C0, RootJointC0 * CFrame.new(0, 0.2, -0.3) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2)), 0.35)
  2538. Neck.C0 = clerp(Neck.C0, NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5), 0, 0), 0.3)
  2539. RW.C0 = clerp(RW.C0, RightShoulderC0 * CFrame.new(0.3, 0, 0.2) * CFrame.Angles(-math.rad(8), 0, math.rad(80)), 0.35)
  2540. RW.C1 = clerp(RW.C1, RightShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(60), 0, 0), 0.35)
  2541. LW.C0 = clerp(LW.C0, LeftShoulderC0 * CFrame.new(-0.3, 0, 0.2) * CFrame.Angles(-math.rad(2), 0, -math.rad(90)), 0.35)
  2542. LW.C1 = clerp(LW.C1, LeftShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(60), 0, 0), 0.35)
  2543. RH.C0 = clerp(RH.C0, RightHipC0 * CFrame.new(0.6, 0.4, 0) * CFrame.Angles(-math.rad(1), 0, math.rad(1)), 0.35)
  2544. LH.C0 = clerp(LH.C0, LeftHipC0 * CFrame.new(-0.1, 0.3, 0) * CFrame.Angles(-math.rad(2), 0, math.rad(5)), 0.35)
  2545. hit.CFrame = RootPart.CFrame + cdir * 1.25 + Vector3.new(0, 1.5, 0)
  2546. if i >= 2 then
  2547. for _, v in pairs(workspace:children()) do
  2548. if v.className == "Model" and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") and v:FindFirstChild("Stats") and v.Stats:FindFirstChild("Grabbing") == nil then
  2549. t = v.HumanoidRootPart
  2550. vp = game.Players:GetPlayerFromCharacter(v)
  2551. if vp == nil then
  2552. if v:FindFirstChild("Alignment") then
  2553. if v.Alignment.Value ~= Player.TeamColor or Player.Neutral == true then
  2554. mag = (t.Position - hit.Position).magnitude
  2555. if mag <= 7 then
  2556. bustTarget = v
  2557. end
  2558. end
  2559. else
  2560. mag = (t.Position - hit.Position).magnitude
  2561. if mag <= 7 then
  2562. bustTarget = v
  2563. end
  2564. end
  2565. elseif vp.TeamColor ~= Player.TeamColor or Player.Neutral == true and vp.Neutral == true and vp ~= Player then
  2566. mag = (t.Position - hit.Position).magnitude
  2567. if mag <= 7 then
  2568. bustTarget = v
  2569. end
  2570. end
  2571. end
  2572. end
  2573. if bustTarget ~= nil then
  2574. break
  2575. end
  2576. end
  2577. if busterhit == true or 10 <= (RootPart.CFrame.p - cp).magnitude then
  2578. break
  2579. end
  2580. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2581. break
  2582. end
  2583. end
  2584. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2585. UltVal.Value = false
  2586. dec2:Destroy()
  2587. cld2:Destroy()
  2588. doingbust = false
  2589. attack = false
  2590. bustTarget = nil
  2591. vRootPartVelocity:Destroy()
  2592. Humanoid.AutoRotate = true
  2593. return
  2594. end
  2595. if bustTarget == nil then
  2596. if Rooted.Value == false then
  2597. RootPart.Velocity = RootPart.Velocity / 1.2
  2598. end
  2599. vRootPartVelocity:Destroy()
  2600. for i = 1, 15 do
  2601. swait()
  2602. if TimeLocked.Value == true then
  2603. repeat
  2604. game:GetService("RunService").Heartbeat:wait()
  2605. until TimeLocked.Value == false or Suppressed.Value == true
  2606. end
  2607. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") then
  2608. break
  2609. end
  2610. if Stagger.Value == true then
  2611. Stagger.Value = false
  2612. end
  2613. if Unstable.Value == true then
  2614. Unstable.Value = false
  2615. Unstable.Timer.Value = 0
  2616. end
  2617. if Stunned.Value == true or Stun.Value >= StunT.Value then
  2618. Stunned.Value = false
  2619. Stun.Value = StunT.Value - 1
  2620. end
  2621. RootJoint.C0 = clerp(RootJoint.C0, RootJointC0 * CFrame.new(0, 0.2, -0.3) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.08)
  2622. Neck.C0 = clerp(Neck.C0, NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5), 0, 0), 0.15)
  2623. RW.C0 = clerp(RW.C0, RightShoulderC0 * CFrame.new(0.3, 0, 0.1) * CFrame.Angles(-math.rad(12), 0, math.rad(80)), 0.15)
  2624. RW.C1 = clerp(RW.C1, RightShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(63), 0, 0), 0.15)
  2625. LW.C0 = clerp(LW.C0, LeftShoulderC0 * CFrame.new(-0.3, 0, 0.1) * CFrame.Angles(-math.rad(1), 0, -math.rad(90)), 0.15)
  2626. LW.C1 = clerp(LW.C1, LeftShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(63), 0, 0), 0.15)
  2627. RH.C0 = clerp(RH.C0, RightHipC0 * CFrame.new(0.15, 0.3, 0) * CFrame.Angles(-math.rad(1), math.rad(2), math.rad(11)), 0.05)
  2628. LH.C0 = clerp(LH.C0, LeftHipC0 * CFrame.new(-0.1, 0.2, 0) * CFrame.Angles(-math.rad(2), -math.rad(2), -math.rad(13)), 0.05)
  2629. end
  2630. else
  2631. workspace.CurrentCamera.CameraType = "Track"
  2632. bustTarget.Humanoid.PlatformStand = true
  2633. local geld, geld2
  2634. so("153092304", bustTarget.HumanoidRootPart, 1, 0.8)
  2635. if geld == nil then
  2636. geld = bustTarget.Torso:FindFirstChild("BodyGyro")
  2637. if geld then
  2638. geld:Destroy()
  2639. end
  2640. end
  2641. if geld2 == nil and bustTarget:FindFirstChild("HumanoidRootPart") then
  2642. geld2 = bustTarget.HumanoidRootPart:FindFirstChild("BodyGyro")
  2643. if geld2 then
  2644. geld2:Destroy()
  2645. print("DED")
  2646. end
  2647. end
  2648. local gval = Instance.new("StringValue", bustTarget.Stats)
  2649. gval.Value = Player.Name
  2650. gval.Name = "Grabbed"
  2651. local xs = RootPart.CFrame.p
  2652. RootPart.Anchored = true
  2653. local dir = RootPart.CFrame.lookVector
  2654. dir = Vector3.new(dir.x, 0, dir.z)
  2655. bustTarget.Torso.Anchored = true
  2656. local supp
  2657. if bustTarget:FindFirstChild("Stats") and bustTarget.Stats:FindFirstChild("Suppressed") then
  2658. supp = bustTarget.Stats.Suppressed
  2659. end
  2660. local override
  2661. if supp then
  2662. supp.Value = true
  2663. supp.Timer.Value = 10
  2664. override = Instance.new("BoolValue", supp)
  2665. override.Name = "Override"
  2666. end
  2667. for i = 1, 12 do
  2668. swait()
  2669. if TimeLocked.Value == true then
  2670. repeat
  2671. game:GetService("RunService").Heartbeat:wait()
  2672. until TimeLocked.Value == false or Suppressed.Value == true
  2673. end
  2674. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") then
  2675. break
  2676. end
  2677. if Stagger.Value == true then
  2678. Stagger.Value = false
  2679. end
  2680. if Unstable.Value == true then
  2681. Unstable.Value = false
  2682. Unstable.Timer.Value = 0
  2683. end
  2684. if Stunned.Value == true or Stun.Value >= StunT.Value then
  2685. Stunned.Value = false
  2686. Stun.Value = StunT.Value - 1
  2687. end
  2688. RootPart.CFrame = CFrame.new(xs, xs + dir * 5)
  2689. RootJoint.C0 = clerp(RootJoint.C0, RootJointC0 * CFrame.new(0, 0.2, -0.3) * CFrame.Angles(math.rad(6), math.rad(0), math.rad(2)), 0.08)
  2690. Neck.C0 = clerp(Neck.C0, NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5), 0, 0), 0.1)
  2691. RW.C0 = clerp(RW.C0, RightShoulderC0 * CFrame.new(0.3, 0, 0.1) * CFrame.Angles(-math.rad(7), 0, math.rad(88)), 0.1)
  2692. RW.C1 = clerp(RW.C1, RightShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(33), 0, 0), 0.1)
  2693. LW.C0 = clerp(LW.C0, LeftShoulderC0 * CFrame.new(-0.3, 0, 0.1) * CFrame.Angles(-math.rad(1), 0, -math.rad(92)), 0.1)
  2694. LW.C1 = clerp(LW.C1, LeftShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(33), 0, 0), 0.1)
  2695. RH.C0 = clerp(RH.C0, RightHipC0 * CFrame.new(0.15, 0.3, 0) * CFrame.Angles(-math.rad(1), math.rad(2), math.rad(6)), 0.05)
  2696. LH.C0 = clerp(LH.C0, LeftHipC0 * CFrame.new(-0.1, 0.2, 0) * CFrame.Angles(-math.rad(2), -math.rad(2), -math.rad(8)), 0.05)
  2697. bustTarget.Torso.CFrame = CFrame.new((RightArm.CFrame * CFrame.new(-1.5, -2, 0)).p, (Torso.CFrame * CFrame.new(0, 1, 0)).p)
  2698. if supp then
  2699. supp.Value = true
  2700. supp.Timer.Value = 10
  2701. end
  2702. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2703. break
  2704. end
  2705. end
  2706. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2707. UltVal.Value = false
  2708. dec2:Destroy()
  2709. cld2:Destroy()
  2710. doingbust = false
  2711. attack = false
  2712. vRootPartVelocity:Destroy()
  2713. bustTarget.Torso.Anchored = false
  2714. RootPart.Anchored = false
  2715. bustTarget.Humanoid.PlatformStand = false
  2716. bustTarget = nil
  2717. workspace.CurrentCamera.CameraType = "Custom"
  2718. gval:Destroy()
  2719. Humanoid.AutoRotate = true
  2720. if supp then
  2721. supp.Value = false
  2722. supp.Timer.Value = 0
  2723. override:Destroy()
  2724. end
  2725. return
  2726. end
  2727. so("471881980", RootPart, 1, 0.85)
  2728. local pc = Instance.new("Part", workspace)
  2729. pc.BrickColor = BrickColor:White()
  2730. local m = Instance.new("SpecialMesh", pc)
  2731. m.Scale = Vector3.new(2, 2, 2)
  2732. pc.Anchored = true
  2733. pc.CanCollide = false
  2734. pc.Size = Vector3.new(0.2, 0.2, 0.2)
  2735. pc.Mesh.MeshType = "FileMesh"
  2736. pc.Anchored = true
  2737. pc.CanCollide = false
  2738. pc.Parent = workspace
  2739. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2740. pc.Name = "Shockwave"
  2741. game:GetService("Debris"):AddItem(pc, 5)
  2742. pc.CFrame = CFrame.new(drawline_b(RootPart.Position, RootPart.Position - Vector3.new(0, 30, 0)) + Vector3.new(0, 0.9, 0))
  2743. coroutine.resume(coroutine.create(function(p, x)
  2744. for i = 1, 25 do
  2745. p.Transparency = 0.66 + i / 73.52941176470588
  2746. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(2 + i), 0) - Vector3.new(0, 0.05, 0)
  2747. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1 - i * 0.05 + x, -0.1, 1 - i * 0.05 + x)
  2748. swait()
  2749. end
  2750. p:Remove()
  2751. end), pc, 5)
  2752. local xc = 0
  2753. for i = 1, 10 do
  2754. if geld == nil then
  2755. geld = bustTarget.Torso:FindFirstChild("BodyGyro")
  2756. if geld then
  2757. geld:Destroy()
  2758. end
  2759. end
  2760. if geld2 == nil and bustTarget:FindFirstChild("HumanoidRootPart") then
  2761. geld2 = bustTarget.HumanoidRootPart:FindFirstChild("BodyGyro")
  2762. if geld2 then
  2763. geld2:Destroy()
  2764. print("DED")
  2765. end
  2766. end
  2767. xc = xc + 3 ^ (1 + i * 0.08)
  2768. RootPart.CFrame = CFrame.new(xs + Vector3.new(0, xc, 0), xs + Vector3.new(0, xc, 0) + dir * 5)
  2769. RootJoint.C0 = clerp(RootJoint.C0, RootJointC0 * CFrame.new(0, 0.2, -0.3) * CFrame.Angles(-math.rad(5), math.rad(0), math.rad(0)), 0.125)
  2770. Neck.C0 = clerp(Neck.C0, NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), 0, 0), 0.125)
  2771. RW.C0 = clerp(RW.C0, RightShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(50)), 0.125)
  2772. RW.C1 = clerp(RW.C1, RightShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(7), 0, 0), 0.125)
  2773. LW.C0 = clerp(LW.C0, LeftShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -math.rad(50)), 0.125)
  2774. LW.C1 = clerp(LW.C1, LeftShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(7), 0, 0), 0.125)
  2775. RH.C0 = clerp(RH.C0, RightHipC0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(9), math.rad(2), -math.rad(6)), 0.125)
  2776. LH.C0 = clerp(LH.C0, LeftHipC0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(9), -math.rad(2), math.rad(5)), 0.125)
  2777. bustTarget.Torso.CFrame = CFrame.new((RightArm.CFrame * CFrame.new(-1.5, -2, 0)).p, (Torso.CFrame * CFrame.new(0, 1, 0)).p)
  2778. if TimeLocked.Value == true then
  2779. repeat
  2780. game:GetService("RunService").Heartbeat:wait()
  2781. until TimeLocked.Value == false or Suppressed.Value == true
  2782. end
  2783. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") then
  2784. break
  2785. end
  2786. if Stagger.Value == true then
  2787. Stagger.Value = false
  2788. end
  2789. if Unstable.Value == true then
  2790. Unstable.Value = false
  2791. Unstable.Timer.Value = 0
  2792. end
  2793. if Stunned.Value == true or Stun.Value >= StunT.Value then
  2794. Stunned.Value = false
  2795. Stun.Value = StunT.Value - 1
  2796. end
  2797. if supp then
  2798. supp.Value = true
  2799. supp.Timer.Value = 10
  2800. end
  2801. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2802. break
  2803. end
  2804. swait()
  2805. end
  2806. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2807. UltVal.Value = false
  2808. dec2:Destroy()
  2809. cld2:Destroy()
  2810. doingbust = false
  2811. attack = false
  2812. vRootPartVelocity:Destroy()
  2813. bustTarget.Torso.Anchored = false
  2814. RootPart.Anchored = false
  2815. bustTarget.Humanoid.PlatformStand = false
  2816. bustTarget = nil
  2817. Humanoid.AutoRotate = true
  2818. workspace.CurrentCamera.CameraType = "Custom"
  2819. gval:Destroy()
  2820. if supp then
  2821. supp.Value = false
  2822. supp.Timer.Value = 0
  2823. override:Destroy()
  2824. end
  2825. return
  2826. end
  2827. for i = 10, 13 do
  2828. xc = xc + 3 ^ (1 + i * 0.08)
  2829. if geld == nil then
  2830. geld = bustTarget.Torso:FindFirstChild("BodyGyro")
  2831. if geld then
  2832. geld:Destroy()
  2833. end
  2834. end
  2835. if geld2 == nil and bustTarget:FindFirstChild("HumanoidRootPart") then
  2836. geld2 = bustTarget.HumanoidRootPart:FindFirstChild("BodyGyro")
  2837. if geld2 then
  2838. geld2:Destroy()
  2839. print("DED")
  2840. end
  2841. end
  2842. RootPart.CFrame = CFrame.new(xs + Vector3.new(0, xc, 0), xs + Vector3.new(0, xc, 0) + dir * 5)
  2843. RootJoint.C0 = clerp(RootJoint.C0, RootJointC0 * CFrame.new(0, 0.2, -0.3) * CFrame.Angles(-math.rad(24), math.rad(0), math.rad(0)), 0.2)
  2844. Neck.C0 = clerp(Neck.C0, NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), 0, 0), 0.15)
  2845. RW.C0 = clerp(RW.C0, RightShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(205)), 0.15)
  2846. RW.C1 = clerp(RW.C1, RightShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(7), 0, 0), 0.15)
  2847. LW.C0 = clerp(LW.C0, LeftShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -math.rad(205)), 0.15)
  2848. LW.C1 = clerp(LW.C1, LeftShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(7), 0, 0), 0.15)
  2849. RH.C0 = clerp(RH.C0, RightHipC0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(4), math.rad(5), math.rad(6)), 0.15)
  2850. LH.C0 = clerp(LH.C0, LeftHipC0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(4), -math.rad(5), math.rad(37)), 0.15)
  2851. bustTarget.Torso.CFrame = CFrame.new((RightArm.CFrame * CFrame.new(-1.5, -2, 0)).p, (Torso.CFrame * CFrame.new(0, 1, 0)).p)
  2852. if TimeLocked.Value == true then
  2853. repeat
  2854. game:GetService("RunService").Heartbeat:wait()
  2855. until TimeLocked.Value == false or Suppressed.Value == true
  2856. end
  2857. if supp then
  2858. supp.Value = true
  2859. supp.Timer.Value = 10
  2860. end
  2861. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2862. break
  2863. end
  2864. swait()
  2865. end
  2866. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2867. UltVal.Value = false
  2868. dec2:Destroy()
  2869. cld2:Destroy()
  2870. doingbust = false
  2871. attack = false
  2872. vRootPartVelocity:Destroy()
  2873. bustTarget.Torso.Anchored = false
  2874. RootPart.Anchored = false
  2875. bustTarget.Humanoid.PlatformStand = false
  2876. bustTarget = nil
  2877. Humanoid.AutoRotate = true
  2878. workspace.CurrentCamera.CameraType = "Custom"
  2879. gval:Destroy()
  2880. if supp then
  2881. supp.Value = false
  2882. supp.Timer.Value = 0
  2883. override:Destroy()
  2884. end
  2885. return
  2886. end
  2887. for i = 1, 24 do
  2888. xc = xc + 9 - i * 0.5
  2889. RootPart.CFrame = CFrame.new(xs + Vector3.new(0, xc, 0), xs + Vector3.new(0, xc, 0) + dir * 5)
  2890. RootJoint.C0 = clerp(RootJoint.C0, RootJointC0 * CFrame.new(0, 0.2, -0.3) * CFrame.Angles(-math.rad(36), math.rad(0), math.rad(0)), 0.1)
  2891. Neck.C0 = clerp(Neck.C0, NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(25), 0, 0), 0.125)
  2892. RW.C0 = clerp(RW.C0, RightShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(208)), 0.125)
  2893. RW.C1 = clerp(RW.C1, RightShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(7), 0, 0), 0.125)
  2894. LW.C0 = clerp(LW.C0, LeftShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -math.rad(208)), 0.125)
  2895. LW.C1 = clerp(LW.C1, LeftShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(7), 0, 0), 0.125)
  2896. RH.C0 = clerp(RH.C0, RightHipC0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(5), math.rad(5), math.rad(8)), 0.125)
  2897. LH.C0 = clerp(LH.C0, LeftHipC0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(5), -math.rad(5), math.rad(40)), 0.125)
  2898. bustTarget.Torso.CFrame = CFrame.new((RightArm.CFrame * CFrame.new(-1.5, -2, 0)).p, (Torso.CFrame * CFrame.new(0, 1, 0)).p)
  2899. if TimeLocked.Value == true then
  2900. repeat
  2901. game:GetService("RunService").Heartbeat:wait()
  2902. until TimeLocked.Value == false or Suppressed.Value == true
  2903. end
  2904. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") then
  2905. break
  2906. end
  2907. if Stagger.Value == true then
  2908. Stagger.Value = false
  2909. end
  2910. if Unstable.Value == true then
  2911. Unstable.Value = false
  2912. Unstable.Timer.Value = 0
  2913. end
  2914. if Stunned.Value == true or Stun.Value >= StunT.Value then
  2915. Stunned.Value = false
  2916. Stun.Value = StunT.Value - 1
  2917. end
  2918. if supp then
  2919. supp.Value = true
  2920. supp.Timer.Value = 10
  2921. end
  2922. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2923. break
  2924. end
  2925. swait()
  2926. end
  2927. print(xc)
  2928. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2929. UltVal.Value = false
  2930. dec2:Destroy()
  2931. cld2:Destroy()
  2932. doingbust = false
  2933. attack = false
  2934. vRootPartVelocity:Destroy()
  2935. bustTarget.Torso.Anchored = false
  2936. RootPart.Anchored = false
  2937. bustTarget.Humanoid.PlatformStand = false
  2938. bustTarget = nil
  2939. Humanoid.AutoRotate = true
  2940. workspace.CurrentCamera.CameraType = "Custom"
  2941. gval:Destroy()
  2942. if supp then
  2943. supp.Value = false
  2944. supp.Timer.Value = 0
  2945. override:Destroy()
  2946. end
  2947. return
  2948. end
  2949. so("471882099", RootPart, 1, 1)
  2950. for i = 1, 10 do
  2951. if geld == nil then
  2952. geld = bustTarget.Torso:FindFirstChild("BodyGyro")
  2953. if geld then
  2954. geld:Destroy()
  2955. end
  2956. end
  2957. if geld2 == nil and bustTarget:FindFirstChild("HumanoidRootPart") then
  2958. geld2 = bustTarget.HumanoidRootPart:FindFirstChild("BodyGyro")
  2959. if geld2 then
  2960. geld2:Destroy()
  2961. end
  2962. end
  2963. RootPart.CFrame = CFrame.new(xs + Vector3.new(0, xc, 0), xs + Vector3.new(0, xc, 0) + dir * 5) * CFrame.Angles(-math.rad(21.6 * i), 0, 0)
  2964. RootJoint.C0 = clerp(RootJoint.C0, RootJointC0 * CFrame.new(0, 0.2, -0.3) * CFrame.Angles(-math.rad(36), math.rad(0), math.rad(0)), 0.5)
  2965. Neck.C0 = clerp(Neck.C0, NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(35), 0, 0), 0.15)
  2966. RW.C0 = clerp(RW.C0, RightShoulderC0 * CFrame.new(0.3, 0, 0.1) * CFrame.Angles(-math.rad(12), 0, math.rad(180)), 0.15)
  2967. RW.C1 = clerp(RW.C1, RightShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(13), 0, 0), 0.15)
  2968. LW.C0 = clerp(LW.C0, LeftShoulderC0 * CFrame.new(-0.3, 0, 0.1) * CFrame.Angles(-math.rad(1), 0, -math.rad(180)), 0.15)
  2969. LW.C1 = clerp(LW.C1, LeftShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(13), 0, 0), 0.15)
  2970. RH.C0 = clerp(RH.C0, RightHipC0 * CFrame.new(0.15, 0.3, 0) * CFrame.Angles(-math.rad(1), math.rad(2), math.rad(11)), 0.15)
  2971. LH.C0 = clerp(LH.C0, LeftHipC0 * CFrame.new(-0.1, 0.2, 0) * CFrame.Angles(-math.rad(2), -math.rad(2), -math.rad(13)), 0.15)
  2972. bustTarget.Torso.CFrame = CFrame.new((RightArm.CFrame * CFrame.new(-1.5, -2, 0)).p, (Torso.CFrame * CFrame.new(0, 1, 0)).p)
  2973. xc = xc - 1.2 * i - i
  2974. if TimeLocked.Value == true then
  2975. repeat
  2976. game:GetService("RunService").Heartbeat:wait()
  2977. until TimeLocked.Value == false or Suppressed.Value == true
  2978. end
  2979. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") then
  2980. break
  2981. end
  2982. if Stagger.Value == true then
  2983. Stagger.Value = false
  2984. end
  2985. if Unstable.Value == true then
  2986. Unstable.Value = false
  2987. Unstable.Timer.Value = 0
  2988. end
  2989. if Stunned.Value == true or Stun.Value >= StunT.Value then
  2990. Stunned.Value = false
  2991. Stun.Value = StunT.Value - 1
  2992. end
  2993. if supp then
  2994. supp.Value = true
  2995. supp.Timer.Value = 10
  2996. end
  2997. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  2998. break
  2999. end
  3000. swait()
  3001. end
  3002. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") or 0 >= Humanoid.Health then
  3003. UltVal.Value = false
  3004. dec2:Destroy()
  3005. cld2:Destroy()
  3006. doingbust = false
  3007. attack = false
  3008. vRootPartVelocity:Destroy()
  3009. bustTarget.Torso.Anchored = false
  3010. RootPart.Anchored = false
  3011. bustTarget.Humanoid.PlatformStand = false
  3012. bustTarget = nil
  3013. Humanoid.AutoRotate = true
  3014. workspace.CurrentCamera.CameraType = "Custom"
  3015. gval:Destroy()
  3016. if supp then
  3017. supp.Value = false
  3018. supp.Timer.Value = 0
  3019. override:Destroy()
  3020. end
  3021. return
  3022. end
  3023. for i = 1, 2 do
  3024. xc = xc - 13
  3025. RootPart.CFrame = CFrame.new(xs + Vector3.new(0, xc, 0), xs + Vector3.new(0, xc, 0) + dir * 5) * CFrame.Angles(-math.rad(217), 0, 0)
  3026. bustTarget.Torso.CFrame = CFrame.new((RightArm.CFrame * CFrame.new(-1.5, -2, 0)).p, (Torso.CFrame * CFrame.new(0, 1, 0)).p)
  3027. if TimeLocked.Value == true then
  3028. repeat
  3029. game:GetService("RunService").Heartbeat:wait()
  3030. until TimeLocked.Value == false or Suppressed.Value == true
  3031. end
  3032. if Suppressed.Value == true and Suppressed:FindFirstChild("Override") then
  3033. break
  3034. end
  3035. if Stagger.Value == true then
  3036. Stagger.Value = false
  3037. end
  3038. if Unstable.Value == true then
  3039. Unstable.Value = false
  3040. Unstable.Timer.Value = 0
  3041. end
  3042. if Stunned.Value == true or Stun.Value >= StunT.Value then
  3043. Stunned.Value = false
  3044. Stun.Value = StunT.Value - 1
  3045. end
  3046. if supp then
  3047. supp.Value = true
  3048. supp.Timer.Value = 10
  3049. end
  3050. swait()
  3051. end
  3052. RootJoint.C0 = clerp(RootJoint.C0, RootJointC0 * CFrame.new(0, 0.2, -0.3) * CFrame.Angles(-math.rad(180), math.rad(0), math.rad(0)), 1)
  3053. Neck.C0 = clerp(Neck.C0, NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(35), 0, 0), 0.15)
  3054. RW.C0 = clerp(RW.C0, RightShoulderC0 * CFrame.new(0.3, 0, 0.1) * CFrame.Angles(-math.rad(12), 0, math.rad(180)), 0.15)
  3055. RW.C1 = clerp(RW.C1, RightShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(13), 0, 0), 0.15)
  3056. LW.C0 = clerp(LW.C0, LeftShoulderC0 * CFrame.new(-0.3, 0, 0.1) * CFrame.Angles(-math.rad(1), 0, -math.rad(180)), 0.15)
  3057. LW.C1 = clerp(LW.C1, LeftShoulderC1 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(13), 0, 0), 0.15)
  3058. RH.C0 = clerp(RH.C0, RightHipC0 * CFrame.new(0.15, 0.3, 0) * CFrame.Angles(-math.rad(1), math.rad(2), math.rad(11)), 0.15)
  3059. LH.C0 = clerp(LH.C0, LeftHipC0 * CFrame.new(-0.1, 0.2, 0) * CFrame.Angles(-math.rad(2), -math.rad(2), -math.rad(13)), 0.15)
  3060. RootPart.CFrame = CFrame.new(xs, xs + dir * 5)
  3061. bustTarget.Torso.CFrame = CFrame.new(xs + dir * 7, xs)
  3062. Damagefunc(bustTarget.Torso, 0, 50, 0, 10, RootPart, 0, "Normal", 0, false, false, false)
  3063. so("471882019", RootPart, 1, 0.85)
  3064. so("314970799", RootPart, 0.8, 0.9)
  3065. so("341301373", RootPart, 0.4, 1.05)
  3066. RootPart.Anchored = false
  3067. bustTarget.Torso.Anchored = false
  3068. local xd, sc
  3069. for _, v in pairs(game.Players:children()) do
  3070. if v.Character and v.Character:FindFirstChild("Torso") then
  3071. xd = (v.Character.Torso.Position - xs).magnitude
  3072. end
  3073. end
  3074. bustTarget.Humanoid.PlatformStand = false
  3075. if supp then
  3076. supp.Value = false
  3077. supp.Timer.Value = 0.5
  3078. override:Destroy()
  3079. end
  3080. local pc = Instance.new("Part", workspace)
  3081. pc.BrickColor = BrickColor:White()
  3082. local m = Instance.new("SpecialMesh", pc)
  3083. m.Scale = Vector3.new(20, 6, 20)
  3084. pc.Anchored = true
  3085. pc.CanCollide = false
  3086. pc.Size = Vector3.new(0.2, 0.2, 0.2)
  3087. pc.Mesh.MeshType = "FileMesh"
  3088. pc.Anchored = true
  3089. pc.CanCollide = false
  3090. pc.Parent = workspace
  3091. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3092. pc.Name = "Shockwave"
  3093. game:GetService("Debris"):AddItem(pc, 5)
  3094. pc.CFrame = CFrame.new(drawline_b(RootPart.Position, RootPart.Position - Vector3.new(0, 30, 0)) + Vector3.new(0, 2.5, 0))
  3095. coroutine.resume(coroutine.create(function(p, x)
  3096. for i = 1, 20 do
  3097. p.Transparency = 0.5 + i / 40
  3098. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(2 + i), 0) - Vector3.new(0, 0.1, 0)
  3099. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1 - i * 0.05 + x, -0.2, 1 - i * 0.05 + x)
  3100. swait()
  3101. end
  3102. p:Remove()
  3103. end), pc, 6)
  3104. local pc = Instance.new("Part", workspace)
  3105. pc.BrickColor = BrickColor:White()
  3106. local m = Instance.new("SpecialMesh", pc)
  3107. m.Scale = Vector3.new(10, 15, 10)
  3108. pc.Anchored = true
  3109. pc.CanCollide = false
  3110. pc.Size = Vector3.new(0.2, 0.2, 0.2)
  3111. pc.Mesh.MeshType = "FileMesh"
  3112. pc.Anchored = true
  3113. pc.CanCollide = false
  3114. pc.Parent = workspace
  3115. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3116. pc.Name = "Shockwave"
  3117. game:GetService("Debris"):AddItem(pc, 5)
  3118. pc.CFrame = CFrame.new(drawline_b(RootPart.Position, RootPart.Position - Vector3.new(0, 30, 0)) + Vector3.new(0, 7, 0))
  3119. coroutine.resume(coroutine.create(function(p, x)
  3120. for i = 1, 20 do
  3121. p.Transparency = 0.5 + i / 40
  3122. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(2 + i), 0) - Vector3.new(0, 0.2, 0)
  3123. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1 - i * 0.05 + x, -0.4, 1 - i * 0.05 + x)
  3124. swait()
  3125. end
  3126. p:Remove()
  3127. end), pc, 4.5)
  3128. local pc = Instance.new("Part", workspace)
  3129. pc.BrickColor = BrickColor:White()
  3130. local m = Instance.new("SpecialMesh", pc)
  3131. m.Scale = Vector3.new(5, 34, 5)
  3132. pc.Anchored = true
  3133. pc.CanCollide = false
  3134. pc.Size = Vector3.new(0.2, 0.2, 0.2)
  3135. pc.Mesh.MeshType = "FileMesh"
  3136. pc.Anchored = true
  3137. pc.CanCollide = false
  3138. pc.Parent = workspace
  3139. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3140. pc.Name = "Shockwave"
  3141. game:GetService("Debris"):AddItem(pc, 5)
  3142. pc.CFrame = CFrame.new(drawline_b(RootPart.Position, RootPart.Position - Vector3.new(0, 30, 0)) + Vector3.new(0, 16.5, 0))
  3143. coroutine.resume(coroutine.create(function(p, x)
  3144. for i = 1, 20 do
  3145. p.Transparency = 0.5 + i / 40
  3146. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(2 + i), 0) - Vector3.new(0, 0.45, 0)
  3147. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1 - i * 0.05 + x, -0.9, 1 - i * 0.05 + x)
  3148. swait()
  3149. end
  3150. p:Remove()
  3151. end), pc, 3)
  3152. Humanoid:ChangeState("GettingUp")
  3153. wait(0.25)
  3154. workspace.CurrentCamera.CameraType = "Custom"
  3155. gval:Destroy()
  3156. end
  3157. hit:Destroy()
  3158. vRootPartVelocity:Destroy()
  3159. UltVal.Value = false
  3160. Humanoid.AutoRotate = true
  3161. doingbust = false
  3162. attack = false
  3163. dec2:Destroy()
  3164. cld2:Destroy()
  3165. end
  3166. end
  3167. end
  3168. function DecreaseStat(Model, Stat, Amount, Duration)
  3169. if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then
  3170. Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount
  3171. d = Instance.new("NumberValue", Model.Stats.Decrease)
  3172. dur = Instance.new("NumberValue", d)
  3173. dur.Name = "Duration"
  3174. dur.Value = Duration
  3175. game:GetService("Debris"):AddItem(d, 20)
  3176. if Stat == "Damage" then
  3177. d.Name = "DecreaseAtk"
  3178. elseif Stat == "Defense" then
  3179. d.Name = "DecreaseDef"
  3180. elseif Stat == "Movement" then
  3181. d.Name = "DecreaseMvmt"
  3182. end
  3183. if Model:findFirstChild("Torso") ~= nil then
  3184. display = ""
  3185. if Stat == "Damage" then
  3186. if Amount > 0 then
  3187. display = "-Damage"
  3188. else
  3189. display = "+Damage"
  3190. end
  3191. elseif Stat == "Defense" then
  3192. if Amount > 0 then
  3193. display = "-Defense"
  3194. else
  3195. display = "+Defense"
  3196. end
  3197. elseif Stat == "Movement" then
  3198. if Amount > 0 then
  3199. display = "-Movement"
  3200. else
  3201. display = "+Movement"
  3202. end
  3203. end
  3204. showDamage(Model, display, "Debuff")
  3205. --workspace.damguiFunc:FireServer(Model, display, "Debuff")
  3206. end
  3207. d.Value = Amount
  3208. end
  3209. end
  3210. function GetDist(Part1, Part2, magni)
  3211. local targ = Part1.Position - Part2.Position
  3212. local mag = targ.magnitude
  3213. if magni >= mag then
  3214. return true
  3215. else
  3216. return false
  3217. end
  3218. end
  3219. function MagniDamage(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  3220. for _, c in pairs(workspace:children()) do
  3221. local hum = c:findFirstChild("Humanoid")
  3222. if hum ~= nil then
  3223. local head
  3224. for _, d in pairs(c:children()) do
  3225. if d.className == "Model" and ranged ~= true then
  3226. head = d:findFirstChild("Hitbox")
  3227. if d.Parent == Character then
  3228. break
  3229. end
  3230. if head ~= nil then
  3231. local targ = head.Position - Part.Position
  3232. local mag = targ.magnitude
  3233. if magni >= mag and c.Name ~= Player.Name then
  3234. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  3235. ref.Anchored = true
  3236. ref.CFrame = cf(head.Position)
  3237. game:GetService("Debris"):AddItem(ref, 1)
  3238. hitnum = math.random(1, 5)
  3239. if hitnum == 1 then
  3240. so("199148971", ref, 1, 1)
  3241. elseif hitnum == 2 then
  3242. so("199149025", ref, 1, 1)
  3243. elseif hitnum == 3 then
  3244. so("199149072", ref, 1, 1)
  3245. elseif hitnum == 4 then
  3246. so("199149109", ref, 1, 1)
  3247. elseif hitnum == 5 then
  3248. so("199149119", ref, 1, 1)
  3249. end
  3250. end
  3251. end
  3252. end
  3253. if d.className == "Part" then
  3254. head = d
  3255. if head ~= nil then
  3256. local targ = head.Position - Part.Position
  3257. local mag = targ.magnitude
  3258. if magni >= mag and c.Name ~= Player.Name then
  3259. if stun == nil then
  3260. stun = math.random(5, 10)
  3261. end
  3262. local Rang
  3263. if Ranged == false then
  3264. Rang = true
  3265. end
  3266. local stag
  3267. if shbash == true then
  3268. stag = true
  3269. end
  3270. Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  3271. end
  3272. end
  3273. end
  3274. end
  3275. end
  3276. end
  3277. end
  3278. function rayCast(Pos, Dir, Max, Ignore)
  3279. local ignore = {
  3280. Ignore,
  3281. NoTarget --workspace.NoTarget
  3282. }
  3283. for _, v in pairs(workspace:children()) do
  3284. if v:IsA("BasePart") or v.className == "UnionOperation" then
  3285. if v.Name == "Effect" or v.Name == "Reference" or v.CanCollide == false then
  3286. table.insert(ignore, v)
  3287. end
  3288. elseif v.className == "Model" and v:FindFirstChild("Humanoid") then
  3289. for _, c in pairs(v:children()) do
  3290. if c.className == "Model" or c:IsA("Accoutrement") then
  3291. table.insert(ignore, c)
  3292. end
  3293. end
  3294. end
  3295. end
  3296. return game:service("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Pos, Dir.unit * (Max or 999.999)), ignore)
  3297. end
  3298. local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0)
  3299. LastPoint = Point
  3300. function effect(Color, Ref, LP, P1, returnn)
  3301. if LP == nil or P1 == nil then
  3302. return
  3303. end
  3304. local effectsmsh = Instance.new("CylinderMesh")
  3305. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  3306. effectsmsh.Name = "Mesh"
  3307. local effectsg = Instance.new("Part")
  3308. NoOutline(effectsg)
  3309. effectsg.formFactor = 3
  3310. effectsg.CanCollide = false
  3311. effectsg.Name = "Eff"
  3312. effectsg.Locked = true
  3313. effectsg.Anchored = true
  3314. effectsg.Size = Vector3.new(0.5, 1, 0.5)
  3315. effectsg.Parent = workspace
  3316. effectsmsh.Parent = effectsg
  3317. effectsg.BrickColor = BrickColor.new(Color)
  3318. effectsg.Reflectance = Ref
  3319. local point1 = P1
  3320. local mg = (LP.p - point1.p).magnitude
  3321. effectsg.Size = Vector3.new(0.5, mg, 0.5)
  3322. effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  3323. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  3324. game:GetService("Debris"):AddItem(effectsg, 2)
  3325. if returnn then
  3326. return effectsg
  3327. end
  3328. if not returnn then
  3329. table.insert(Effects, {
  3330. effectsg,
  3331. "Cylinder",
  3332. 0.2,
  3333. 0.01,
  3334. 0,
  3335. 0.01,
  3336. effectsmsh
  3337. })
  3338. end
  3339. end
  3340. local CFrameFromTopBack = function(at, top, back)
  3341. local right = top:Cross(back)
  3342. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  3343. end
  3344. function Triangle(a, b, c)
  3345. local edg1 = (c - a):Dot((b - a).unit)
  3346. local edg2 = (a - b):Dot((c - b).unit)
  3347. local edg3 = (b - c):Dot((a - c).unit)
  3348. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  3349. a, b = a, b
  3350. elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
  3351. a, b, c = b, c, a
  3352. elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
  3353. a, b, c = c, a, b
  3354. else
  3355. assert(false, "unreachable")
  3356. end
  3357. local len1 = (c - a):Dot((b - a).unit)
  3358. local len2 = (b - a).magnitude - len1
  3359. local width = (a + (b - a).unit * len1 - c).magnitude
  3360. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit)
  3361. local list = {}
  3362. if len1 > 0.01 then
  3363. local w1 = Instance.new("WedgePart", m)
  3364. game:GetService("Debris"):AddItem(w1, 5)
  3365. w1.Material = "SmoothPlastic"
  3366. w1.FormFactor = "Custom"
  3367. w1.BrickColor = BrickColor.new("Medium blue")
  3368. w1.Transparency = 0
  3369. w1.Reflectance = 0
  3370. w1.Material = "SmoothPlastic"
  3371. w1.CanCollide = false
  3372. NoOutline(w1)
  3373. local sz = Vector3.new(0.2, width, len1)
  3374. w1.Size = sz
  3375. local sp = Instance.new("SpecialMesh", w1)
  3376. sp.MeshType = "Wedge"
  3377. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  3378. w1:BreakJoints()
  3379. w1.Anchored = true
  3380. w1.Parent = workspace
  3381. w1.Transparency = 0.7
  3382. table.insert(Effects, {
  3383. w1,
  3384. "Disappear",
  3385. 0.05
  3386. })
  3387. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  3388. table.insert(list, w1)
  3389. end
  3390. if len2 > 0.01 then
  3391. local w2 = Instance.new("WedgePart", m)
  3392. game:GetService("Debris"):AddItem(w2, 5)
  3393. w2.Material = "SmoothPlastic"
  3394. w2.FormFactor = "Custom"
  3395. w2.BrickColor = BrickColor.new("Medium blue")
  3396. w2.Transparency = 0
  3397. w2.Reflectance = 0
  3398. w2.Material = "SmoothPlastic"
  3399. w2.CanCollide = false
  3400. NoOutline(w2)
  3401. local sz = Vector3.new(0.2, width, len2)
  3402. w2.Size = sz
  3403. local sp = Instance.new("SpecialMesh", w2)
  3404. sp.MeshType = "Wedge"
  3405. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  3406. w2:BreakJoints()
  3407. w2.Anchored = true
  3408. w2.Parent = workspace
  3409. w2.Transparency = 0.7
  3410. table.insert(Effects, {
  3411. w2,
  3412. "Disappear",
  3413. 0.05
  3414. })
  3415. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  3416. table.insert(list, w2)
  3417. end
  3418. return unpack(list)
  3419. end
  3420. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3421. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  3422. prt.Anchored = true
  3423. prt.CFrame = cframe
  3424. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3425. game:GetService("Debris"):AddItem(prt, 10)
  3426. if Type == 1 or Type == nil then
  3427. table.insert(Effects, {
  3428. prt,
  3429. "Block1",
  3430. delay,
  3431. x3,
  3432. y3,
  3433. z3,
  3434. msh
  3435. })
  3436. elseif Type == 2 then
  3437. table.insert(Effects, {
  3438. prt,
  3439. "Block2",
  3440. delay,
  3441. x3,
  3442. y3,
  3443. z3,
  3444. msh
  3445. })
  3446. end
  3447. end
  3448. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3449. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  3450. prt.Anchored = true
  3451. prt.CFrame = cframe
  3452. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3453. game:GetService("Debris"):AddItem(prt, 10)
  3454. table.insert(Effects, {
  3455. prt,
  3456. "Cylinder",
  3457. delay,
  3458. x3,
  3459. y3,
  3460. z3,
  3461. msh
  3462. })
  3463. end
  3464. MagicShield = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3465. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  3466. prt.Anchored = true
  3467. prt.CFrame = cframe
  3468. local msh = mesh("SpecialMesh", prt, "FileMesh", "90782182", vt(0, 0, 0), vt(x1, y1, z1))
  3469. msh.TextureId = "http://www.roblox.com/asset/?id=90782359"
  3470. msh.VertexColor = vt(0.29, 0.5, 0.29)
  3471. game:GetService("Debris"):AddItem(prt, 10)
  3472. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3473. end
  3474. function MagicRing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3475. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3476. prt.Anchored = true
  3477. prt.CFrame = cframe * cf(x2, y2, z2)
  3478. local msh = mesh("SpecialMesh", prt, "FileMesh", "3270017", vt(0, 0, 0), vt(x1, y1, z1))
  3479. game:GetService("Debris"):AddItem(prt, 10)
  3480. table.insert(Effects, {
  3481. prt,
  3482. "Cylinder",
  3483. delay,
  3484. x3,
  3485. y3,
  3486. z3,
  3487. msh
  3488. })
  3489. end
  3490. function MagicCylinder(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3491. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  3492. prt.Anchored = true
  3493. prt.CFrame = cframe
  3494. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3495. game:GetService("Debris"):AddItem(prt, 10)
  3496. table.insert(Effects, {
  3497. prt,
  3498. "Cylinder",
  3499. delay,
  3500. x3,
  3501. y3,
  3502. z3,
  3503. msh
  3504. })
  3505. end
  3506. function ClangEffect(brickcolor, cframe, duration, decrease, size, power)
  3507. local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  3508. prt.Anchored = true
  3509. prt.CFrame = cframe
  3510. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  3511. game:GetService("Debris"):AddItem(prt, 10)
  3512. table.insert(Effects, {
  3513. prt,
  3514. "CylinderClang",
  3515. duration,
  3516. decrease,
  3517. size,
  3518. power,
  3519. prt.CFrame,
  3520. nil
  3521. })
  3522. end
  3523. function MagicWave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3524. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  3525. prt.Anchored = true
  3526. prt.CFrame = cframe
  3527. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  3528. game:GetService("Debris"):AddItem(prt, 10)
  3529. table.insert(Effects, {
  3530. prt,
  3531. "Cylinder",
  3532. delay,
  3533. x3,
  3534. y3,
  3535. z3,
  3536. msh
  3537. })
  3538. end
  3539. function MagicIcicle(brickcolor, cframe, x1, y1, z1, delay)
  3540. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  3541. prt.Anchored = true
  3542. prt.CFrame = cframe
  3543. msh = mesh("SpecialMesh", prt, "FileMesh", "9756362", vt(0, 0, 0), vt(x1, y1, z1))
  3544. for i = 1, 2 do
  3545. BreakEffect(brickcolor, prt.CFrame * cf(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  3546. end
  3547. game:GetService("Debris"):AddItem(prt, 10)
  3548. table.insert(Effects, {
  3549. prt,
  3550. "Ice",
  3551. delay,
  3552. msh,
  3553. 1,
  3554. 0.2
  3555. })
  3556. end
  3557. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  3558. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3559. prt.Anchored = true
  3560. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3561. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3562. local num = math.random(10, 50) / 1000
  3563. game:GetService("Debris"):AddItem(prt, 10)
  3564. table.insert(Effects, {
  3565. prt,
  3566. "Shatter",
  3567. num,
  3568. prt.CFrame,
  3569. math.random() - math.random(),
  3570. 0,
  3571. math.random(50, 100) / 100
  3572. })
  3573. end
  3574. function Clone()
  3575. for _, v in pairs(Torso.Parent:children()) do
  3576. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  3577. local c = part(3, workspace, 0, 0.5, v.BrickColor, "Effect", v.Size)
  3578. c.Anchored = true
  3579. c.CFrame = v.CFrame
  3580. game:GetService("Debris"):AddItem(c, 5)
  3581. if v.Name == "Head" then
  3582. cmsh = mesh("SpecialMesh", c, "Head", "nil", vt(0, 0, 0), v.Mesh.Scale)
  3583. end
  3584. table.insert(Effects, {
  3585. c,
  3586. "Disappear",
  3587. 0.05
  3588. })
  3589. end
  3590. end
  3591. end
  3592. function Damagefunc(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration, Sound, thed)
  3593. if hit.Parent == nil then
  3594. return
  3595. end
  3596. if hit.Name == "Hitbox" and hit.Parent ~= modelzorz and ranged ~= true and hit ~= hitbox and hit ~= hitbox2 then
  3597. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  3598. ref.Anchored = true
  3599. ref.CFrame = cf(hit.Position)
  3600. game:GetService("Debris"):AddItem(ref, 1)
  3601. hitnum = math.random(1, 5)
  3602. if hitnum == 1 then
  3603. so("199148971", ref, 1, 1)
  3604. elseif hitnum == 2 then
  3605. so("199149025", ref, 1, 1)
  3606. elseif hitnum == 3 then
  3607. so("199149072", ref, 1, 1)
  3608. elseif hitnum == 4 then
  3609. so("199149109", ref, 1, 1)
  3610. elseif hitnum == 5 then
  3611. so("199149119", ref, 1, 1)
  3612. end
  3613. end
  3614. h = hit.Parent:FindFirstChild("Humanoid")
  3615. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  3616. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3617. return
  3618. end
  3619. if Player.Neutral == false then
  3620. if hit.Parent:findFirstChild("Alignment") ~= nil and hit.Parent.Alignment.Value == Player.TeamColor.Color then
  3621. return
  3622. end
  3623. if game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
  3624. return
  3625. end
  3626. end
  3627. if doingbust == true or grabbing == true then
  3628. so("200632821", rprt7, 1, 1)
  3629. busterhit = true
  3630. bustTarget = hit.Parent
  3631. end
  3632. if Sound == "Shatter" then
  3633. so("199146069", hit, 1, 1)
  3634. end
  3635. c = Instance.new("ObjectValue")
  3636. c.Name = "creator"
  3637. c.Value = game:service("Players").LocalPlayer
  3638. c.Parent = h
  3639. RecentEnemy.Value = hit.Parent
  3640. game:GetService("Debris"):AddItem(c, 0.5)
  3641. Damage = (maxim * 10 + math.floor(math.random(-maxim, maxim) / 2)) * Atk.Value
  3642. blocked = false
  3643. enblock = nil
  3644. Stats = hit.Parent:findFirstChild("Stats")
  3645. if Stats ~= nil then
  3646. invis = Stats:findFirstChild("Invisibility")
  3647. isinvis = Stats:findFirstChild("IsInvisible")
  3648. if (ranged == false or ranged == nil) and invis ~= nil and isinvis.Value == true then
  3649. invis.Value = 0
  3650. end
  3651. enblock = Stats:findFirstChild("Block")
  3652. if enblock ~= nil and enblock.Value == true and doingbust == false and grabbing == false then
  3653. blocked = true
  3654. end
  3655. if Stats:findFirstChild("Defense") ~= nil then
  3656. Damage = Damage / Stats.Defense.Value
  3657. if Damage <= 30 and (ranged == false or ranged == nil) and blocked ~= true then
  3658. hitnum = math.random(1, 5)
  3659. if hitnum == 1 then
  3660. so("199149321", hit, 1, 1)
  3661. elseif hitnum == 2 then
  3662. so("199149338", hit, 1, 1)
  3663. elseif hitnum == 3 then
  3664. so("199149367", hit, 1, 1)
  3665. elseif hitnum == 4 then
  3666. so("199149409", hit, 1, 1)
  3667. elseif hitnum == 5 then
  3668. so("199149452", hit, 1, 1)
  3669. end
  3670. elseif ranged == false or ranged == nil and blocked ~= true then
  3671. hitnum = math.random(1, 6)
  3672. if hitnum == 1 then
  3673. so("199149137", hit, 1, 1)
  3674. elseif hitnum == 2 then
  3675. so("199149186", hit, 1, 1)
  3676. elseif hitnum == 3 then
  3677. so("199149221", hit, 1, 1)
  3678. elseif hitnum == 4 then
  3679. so("199149235", hit, 1, 1)
  3680. elseif hitnum == 5 then
  3681. so("199149269", hit, 1, 1)
  3682. elseif hitnum == 6 then
  3683. so("199149297", hit, 1, 1)
  3684. end
  3685. end
  3686. if not (Damage <= 30) or staghit == true then
  3687. end
  3688. end
  3689. --workspace.stunFunc:FireServer(hit.Parent, incstun, blocked)
  3690. if Stats:findFirstChild("Stagger") ~= nil and stagger == true then
  3691. Stats.Stagger.Value = true
  3692. end
  3693. end
  3694. if blocked == true then
  3695. showDamage(hit.Parent, "Block", "Damage")
  3696. --workspace.damguiFunc:FireServer(hit.Parent, "Block", "Damage")
  3697. if ranged ~= true then
  3698. enblock.Value = false
  3699. Stagger.Value = true
  3700. hitnum = math.random(1, 2)
  3701. if hitnum == 1 then
  3702. so("199148933", hit, 1, 1)
  3703. elseif hitnum == 2 then
  3704. so("199148947", hit, 1, 1)
  3705. end
  3706. end
  3707. else
  3708. if DecreaseState == "Defense" then
  3709. print("!")
  3710. DecreaseStat(Character, "Defense", -0.1, 300)
  3711. end
  3712. coroutine.resume(coroutine.create(function(Hum, Dam)
  3713. CurrentHealth = Hum.Health
  3714. Hum:TakeDamage(Dam / 10)--damageFunc:InvokeServer(h, Damage / 10)
  3715. end), h, Damage)
  3716. showDamage(hit.Parent, Damage, "Damage")
  3717. --workspace.damguiFunc:FireServer(hit.Parent, Damage, "Damage")
  3718. if DecreaseState ~= nil then
  3719. if DecreaseState == "Shatter" then
  3720. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, Duration)
  3721. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, Duration)
  3722. else
  3723. DecreaseStat(hit.Parent, DecreaseState, DecreaseAmount, Duration)
  3724. end
  3725. end
  3726. if Type == "Knockdown" then
  3727. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  3728. --workspace.kbFunc:FireServer(hit, angle * knockback)
  3729. elseif Type == "Shatter" then
  3730. for i = 1, 10 do
  3731. BreakEffect(BrickColor.new("Cyan"), hit.CFrame, math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  3732. end
  3733. elseif Type == "Knockdown2" then
  3734. hum = hit.Parent.Humanoid
  3735. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  3736. --workspace.kbFunc:FireServer(hit, angle * knockback)
  3737. elseif Type == "Normal" then
  3738. local vp
  3739. if KnockbackType == 1 then
  3740. vp = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3741. elseif KnockbackType == 2 then
  3742. vp = Property.CFrame.lookVector * knockback
  3743. end
  3744. --workspace.kbFunc:FireServer(hit, vp)
  3745. elseif Type == "Stomp" then
  3746. DecreaseStat(Character, "Defense", -0.05, 150)
  3747. local fweight = 0
  3748. for _, v in pairs(hit.Parent:children()) do
  3749. if v:IsA("Accoutrement") and v:FindFirstChild("Handle") then
  3750. v.Handle.Velocity = Vector3.new()
  3751. v.Handle.RotVelocity = Vector3.new()
  3752. fweight = fweight + v.Handle:GetMass()
  3753. elseif v:IsA("BasePart") then
  3754. v.Velocity = Vector3.new()
  3755. v.RotVelocity = Vector3.new()
  3756. fweight = fweight + v:GetMass()
  3757. for __, vv in pairs(v:children()) do
  3758. if vv:IsA("BodyMover") and string.find(vv.Name, "Boss") == nil then
  3759. vv:Destroy()
  3760. end
  3761. end
  3762. elseif v.className == "Model" then
  3763. for __, vv in pairs(v:children()) do
  3764. if vv:IsA("BasePart") then
  3765. fweight = fweight + vv:GetMass()
  3766. vv.Velocity = Vector3.new()
  3767. vv.RotVelocity = Vector3.new()
  3768. end
  3769. end
  3770. end
  3771. end
  3772. print(fweight)
  3773. local desvel = (Vector3.new(0, 2.5, 0) + (Property.Position - hit.Position).unit * 2.1).unit
  3774. --workspace.kbFunc:FireServer(hit, desvel * 32.5)
  3775. --[[
  3776. if Stats and Stats:FindFirstChild("Root") == nil then
  3777. local skl = script.Root:clone()
  3778. skl.Disabled = false
  3779. skl.Float.Value = fweight
  3780. skl.Parent = Stats:FindFirstChild("Rooted")
  3781. end
  3782. ]]
  3783. end
  3784. end
  3785. debounce = Instance.new("BoolValue")
  3786. debounce.Name = "DebounceHit"
  3787. debounce.Parent = hit.Parent
  3788. debounce.Value = true
  3789. game:GetService("Debris"):AddItem(debounce, Delay)
  3790. c = Instance.new("ObjectValue")
  3791. c.Name = "creator"
  3792. c.Value = Player
  3793. c.Parent = h
  3794. game:GetService("Debris"):AddItem(c, 0.5)
  3795. CRIT = false
  3796. end
  3797. end
  3798. function showDamage(Char, Dealt, Type) -- Nice try though :P
  3799. m = Instance.new("Model")
  3800. m.Name = "Effect"
  3801. c = Instance.new("Part")
  3802. c.Transparency = 1
  3803. c.Name = "Head"
  3804. c.TopSurface = 0
  3805. c.BottomSurface = 0
  3806. c.formFactor = "Plate"
  3807. c.Size = Vector3.new(1, 0.4, 1)
  3808. b = Instance.new("BillboardGui", c)
  3809. b.Size = UDim2.new(5, 0, 5, 0)
  3810. b.AlwaysOnTop = true
  3811. if type(Dealt) == "number" then
  3812. Dealt = math.ceil(Dealt)
  3813. end
  3814. damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  3815. if Type == "Damage" then
  3816. damgui.Font = "SourceSans"
  3817. if Dealt == "Block" then
  3818. damgui.TextColor3 = BrickColor.new("Bright blue").Color
  3819. elseif Dealt < 30 then
  3820. damgui.TextColor3 = BrickColor.new("White").Color
  3821. elseif Dealt >= 30 and Dealt < 200 then
  3822. damgui.TextColor3 = BrickColor.new("Bright yellow").Color
  3823. else
  3824. damgui.TextColor3 = BrickColor.new("Really red").Color
  3825. damgui.Font = "SourceSansBold"
  3826. end
  3827. elseif Type == "Debuff" then
  3828. damgui.TextColor3 = BrickColor.new("White").Color
  3829. elseif Type == "Interrupt" then
  3830. damgui.TextColor3 = BrickColor.new("New Yeller").Color
  3831. end
  3832. damgui.TextScaled = true
  3833. ms = Instance.new("CylinderMesh")
  3834. ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  3835. ms.Parent = c
  3836. c.Reflectance = 0
  3837. Instance.new("BodyGyro").Parent = c
  3838. c.Parent = m
  3839. if Char:findFirstChild("Head") ~= nil then
  3840. c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  3841. elseif Char.Parent:findFirstChild("Head") ~= nil then
  3842. c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  3843. end
  3844. f = Instance.new("BodyPosition")
  3845. f.P = 2000
  3846. f.D = 100
  3847. f.maxForce = Vector3.new(545000, 545000, 545000)
  3848. if Type == "Damage" then
  3849. f.position = c.Position + Vector3.new(0, 3, 0)
  3850. elseif Type == "Debuff" or Type == "Interrupt" then
  3851. f.position = c.Position + Vector3.new(0, 5, 0)
  3852. end
  3853. f.Parent = c
  3854. game:GetService("Debris"):AddItem(m, 5)
  3855. table.insert(Effects, {
  3856. m,
  3857. "showDamage",
  3858. damgui,
  3859. f,
  3860. 10,
  3861. 1,
  3862. 15,
  3863. 50,
  3864. 100
  3865. })
  3866. c.CanCollide = false
  3867. m.Parent = workspace
  3868. c.CanCollide = false
  3869. end
  3870. combo = 0
  3871. function ob1d(mouse)
  3872. if stance then
  3873. sattack = "ThrowGrab"
  3874. stance = false
  3875. end
  3876. if attack == true or equipped == false or Stunned.Value == true or Stagger.Value == true or Unstable.Value == true or Suppressed.Value == true then
  3877. return
  3878. end
  3879. hold = true
  3880. if combo == 0 then
  3881. combo = 1
  3882. attackone()
  3883. elseif combo == 1 then
  3884. combo = 2
  3885. attacktwo()
  3886. elseif combo == 2 then
  3887. combo = 3
  3888. attackthree()
  3889. elseif combo == 3 then
  3890. combo = 0
  3891. attackfour()
  3892. end
  3893. coroutine.resume(coroutine.create(function()
  3894. for i = 1, 50 do
  3895. if attack == false then
  3896. swait()
  3897. end
  3898. end
  3899. if attack == false then
  3900. combo = 0
  3901. end
  3902. end))
  3903. end
  3904. function ob1u(mouse)
  3905. hold = false
  3906. end
  3907. buttonhold = false
  3908. fenbarmove1.MouseButton1Click:connect(do1)
  3909. fenbarmove2.MouseButton1Click:connect(do2)
  3910. fenbarmove3.MouseButton1Click:connect(do3)
  3911. fenbarmove4.MouseButton1Click:connect(do4)
  3912. eul = 0
  3913. equipped = false
  3914. function key(key)
  3915. if key == "e" and guard == true then
  3916. guard = false
  3917. manualguardend = true
  3918. end
  3919. if key == "z" and shieldroll == true then
  3920. local par, loc = drawline_a(RootPart.Position, RootPart.Position - Vector3.new(0, 6, 0))
  3921. if par ~= nil then
  3922. print(par)
  3923. shieldroll = false
  3924. end
  3925. end
  3926. if key == "x" and stance == true then
  3927. local par, loc = drawline_a(RootPart.Position, RootPart.Position - Vector3.new(0, 5, 0))
  3928. if par ~= nil or stancetime >= 30 then
  3929. sattack = "None"
  3930. stance = false
  3931. end
  3932. end
  3933. if key == "w" and stance == true then
  3934. sattack = "LandGrab"
  3935. stance = false
  3936. end
  3937. if key == "s" and stance == true then
  3938. sattack = "AirGrab"
  3939. stance = false
  3940. end
  3941. if attack == true then
  3942. return
  3943. end
  3944. if key == "f" then
  3945. pressedf = true
  3946. fnumb = 0
  3947. attack = true
  3948. if equipped == false then
  3949. equipped = true
  3950. RSH = ch.Torso["Right Shoulder"]
  3951. LSH = ch.Torso["Left Shoulder"]
  3952. RSH.Parent = nil
  3953. LSH.Parent = nil
  3954. RW.Name = "Right Shoulder"
  3955. RW.Part0 = ch.Torso
  3956. RW.C0 = cf(1.5, 0.5, 0)
  3957. RW.C1 = cf(0, 0.5, 0)
  3958. RW.Part1 = ch["Right Arm"]
  3959. RW.Parent = ch.Torso
  3960. LW.Name = "Left Shoulder"
  3961. LW.Part0 = ch.Torso
  3962. LW.C0 = cf(-1.5, 0.5, 0)
  3963. LW.C1 = cf(0, 0.5, 0)
  3964. LW.Part1 = ch["Left Arm"]
  3965. LW.Parent = ch.Torso
  3966. animate.Disabled = true
  3967. local anime = Humanoid:LoadAnimation(animate.idle.Animation1)
  3968. anime:Play()
  3969. equipanim()
  3970. else
  3971. equipped = false
  3972. hideanim()
  3973. LH.C1 = LHC1
  3974. RH.C1 = RHC1
  3975. animate.Disabled = false
  3976. swait(0)
  3977. RW.Parent = nil
  3978. LW.Parent = nil
  3979. RSH.Parent = player.Character.Torso
  3980. LSH.Parent = player.Character.Torso
  3981. end
  3982. attack = false
  3983. end
  3984. if equipped == false then
  3985. return
  3986. end
  3987. if key == "e" and guard == false then
  3988. Guard()
  3989. end
  3990. if key == "q" then
  3991. end
  3992. if key == "z" then
  3993. do1()
  3994. end
  3995. if key == "x" then
  3996. do2()
  3997. end
  3998. if key == "c" then
  3999. do3()
  4000. end
  4001. if key == "v" then
  4002. do4()
  4003. end
  4004. if attack == false then
  4005. RecentEnemy.Value = nil
  4006. end
  4007. end
  4008. function key2(key)
  4009. end
  4010. function s(mouse)
  4011. mouse.Button1Down:connect(function()
  4012. ob1d(mouse)
  4013. end)
  4014. mouse.Button1Up:connect(function()
  4015. ob1u(mouse)
  4016. end)
  4017. mouse.KeyDown:connect(key)
  4018. mouse.KeyUp:connect(key2)
  4019. player = Player
  4020. ch = Character
  4021. end
  4022. function ds(mouse)
  4023. end
  4024. Bin.Selected:connect(s)
  4025. Bin.Deselected:connect(ds)
  4026. print("Omega loaded.")
  4027. local mananum = 0
  4028. local blocknum2 = 0
  4029. local donum = 0
  4030. local stunnum = 0
  4031. local staggeranim = false
  4032. local stunanim = false
  4033. local Point, LastPoint
  4034. local walk = 0
  4035. local walkforw = true
  4036. passive = Instance.new("NumberValue", Decrease)
  4037. passive.Name = "DecreaseKBR"
  4038. passive.Value = 0
  4039. --[[
  4040. kscri = workspace:WaitForChild("GameScript"):WaitForChild("timerHandler"):clone()
  4041. kscri.Parent = Stats
  4042. kscri.Disabled = false
  4043. ]]
  4044. while true do
  4045. swait()
  4046. if Unstable.Value == true and unst == false then
  4047. if Stun.Value < StunT.Value and Stagger.Value == false and Stunned.Value == false then
  4048. coroutine.resume(coroutine.create(function()
  4049. unst = true
  4050. while attack == true do
  4051. swait()
  4052. end
  4053. UnstableAnim()
  4054. unst = false
  4055. end))
  4056. else
  4057. Unstable.Value = false
  4058. UnstableTime.Value = 0
  4059. end
  4060. end
  4061. if Stagger.Value == true and staggeranim == false then
  4062. if Stunned.Value == false and Stun.Value < StunT.Value and Suppressed.Value == false then
  4063. coroutine.resume(coroutine.create(function()
  4064. staggeranim = true
  4065. while attack == true do
  4066. swait()
  4067. end
  4068. StaggerAnim()
  4069. StaggerHit.Value = false
  4070. Stagger.Value = false
  4071. staggeranim = false
  4072. end))
  4073. else
  4074. Stagger.Value = false
  4075. end
  4076. end
  4077. if Stun.Value >= StunT.Value and stunanim == false then
  4078. if Suppressed.Value == false then
  4079. coroutine.resume(coroutine.create(function()
  4080. stunanim = true
  4081. while attack == true do
  4082. swait()
  4083. end
  4084. StunAnim()
  4085. Stagger.Value = false
  4086. Stun.Value = 0
  4087. stunanim = false
  4088. end))
  4089. else
  4090. Stunned.Value = false
  4091. Stun.Value = StunT - 1
  4092. end
  4093. end
  4094. if TimeLocked.Value == true then
  4095. if Suppressed.Value == false then
  4096. if tlock == false then
  4097. tlock = true
  4098. coroutine.resume(coroutine.create(TimeLock))
  4099. end
  4100. else
  4101. TimeLocked.Value = false
  4102. TimeLocked.Timer.Value = 0
  4103. end
  4104. end
  4105. if Suppressed.Value == true and suppress == false then
  4106. coroutine.resume(coroutine.create(function()
  4107. suppress = true
  4108. while attack == true do
  4109. swait()
  4110. end
  4111. SuppressedAnim()
  4112. suppress = false
  4113. end))
  4114. end
  4115. --if 0 > Mvmt.Value or Stagger.Value == true or Stun.Value >= StunT.Value or StaggerHit.Value == true or Rooted.Value == true or TimeLocked.Value == true or Suppressed.Value == true or Unstable.Value == true then
  4116. --Humanoid.WalkSpeed = 0
  4117. --else
  4118. Humanoid.WalkSpeed = 16 * Mvmt.Value
  4119. --end
  4120. mdec3.Parent = Decrease
  4121. mdec4.Parent = Decrease
  4122. if 0 >= Humanoid.Health then
  4123. attack = true
  4124. resumeControl()
  4125. modelzorz.Parent = workspace
  4126. game:GetService("Debris"):AddItem(modelzorz, 30)
  4127. for i = 1, #Weapon do
  4128. Weapon[i].Parent = modelzorz
  4129. Weapon[i].CanCollide = true
  4130. end
  4131. for i = 1, #Welds do
  4132. if Welds[i].Part0.Parent == Character or Welds[i].Part1.Parent == Character then
  4133. Welds[i].Parent = nil
  4134. Welds[i].Part0.CanCollide = false
  4135. Welds[i].Part1.CanCollide = false
  4136. else
  4137. Welds[i].Parent = rprt1
  4138. end
  4139. end
  4140. end
  4141. if bustTarget ~= nil and 0 >= Humanoid.Health and bustTarget:findFirstChild("Humanoid") ~= nil then
  4142. bustTarget.Humanoid.PlatformStand = false
  4143. end
  4144. if fnumb < 21 then
  4145. fnumb = fnumb + 1
  4146. if pressedf == false then
  4147. fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency - 0.025
  4148. tellbar.TextTransparency = tellbar.TextTransparency - 0.05
  4149. tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency - 0.05
  4150. else
  4151. if fnumb == 20 then
  4152. fenframe5.Parent = nil
  4153. print("daigui")
  4154. end
  4155. fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency + 0.025
  4156. tellbar.TextTransparency = tellbar.TextTransparency + 0.05
  4157. tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency + 0.05
  4158. end
  4159. end
  4160. if hbwld.Parent == nil then
  4161. hitbox2.Name = "Hitbox"
  4162. else
  4163. hitbox2.Name = "Hitbox2"
  4164. end
  4165. hitbox2.Parent = hitbox.Parent
  4166. hitbox2.Size = hitbox.Size
  4167. hitbox2.CFrame = hitboxCF
  4168. hboxpos.position = hitbox2.Position + vt(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100)
  4169. local stunnum2 = 30
  4170. if stunnum >= stunnum2 then
  4171. if 0 < Stun.Value then
  4172. Stun.Value = Stun.Value - 1
  4173. end
  4174. stunnum = 0
  4175. end
  4176. stunnum = stunnum + 1
  4177. if donum >= 0.5 then
  4178. handidle = true
  4179. elseif donum <= 0 then
  4180. handidle = false
  4181. end
  4182. if handidle == false then
  4183. donum = donum + 0.006
  4184. else
  4185. donum = donum - 0.006
  4186. end
  4187. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  4188. local velderp = RootPart.Velocity.y
  4189. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  4190. if equipped == true then
  4191. if attack == false then
  4192. idle = idle + 1
  4193. else
  4194. idle = 0
  4195. end
  4196. if not (idle >= 500) or attack == false then
  4197. end
  4198. if TimeLocked.Value == false and Unstable.Value == false and Stagger.Value == false and Stunned.Value == false and Suppressed.Value == false then
  4199. if Anim == "Walk" then
  4200. if walkforw == true then
  4201. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  4202. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  4203. else
  4204. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  4205. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  4206. end
  4207. else
  4208. RH.C1 = clerp(RH.C1, RHC1, 0.2)
  4209. LH.C1 = clerp(LH.C1, LHC1, 0.2)
  4210. end
  4211. if 1 < RootPart.Velocity.y and hitfloor == nil then
  4212. Anim = "Jump"
  4213. if attack == false then
  4214. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.2)
  4215. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  4216. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  4217. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.5, 0, 0.5), 0.2)
  4218. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  4219. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.8), 0.2)
  4220. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  4221. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
  4222. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
  4223. end
  4224. elseif -1 > RootPart.Velocity.y and hitfloor == nil then
  4225. Anim = "Fall"
  4226. if attack == false then
  4227. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
  4228. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  4229. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  4230. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.3, 0, 0.2), 0.2)
  4231. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  4232. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, -0.2) * euler(0.7, 0, 0.2), 0.2)
  4233. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  4234. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  4235. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  4236. end
  4237. elseif torvel < 1 and hitfloor ~= nil then
  4238. Anim = "Idle"
  4239. if attack == false then
  4240. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.5), 0.3)
  4241. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 0.5), 0.3)
  4242. RW.C0 = clerp(RW.C0, cf(1, 0.5, 0.5) * euler(1.3 - donum / 5, 0, 0.5 + donum / 5), 0.3)
  4243. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  4244. LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(1.8 - donum / 5, 0, 0.8 - donum / 5), 0.3)
  4245. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  4246. RH.C0 = clerp(RH.C0, cf(1.1, -1, 0) * euler(0, 1.07, -0.1), 0.2)
  4247. LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * euler(0, -2.07, 0.4), 0.2)
  4248. end
  4249. elseif torvel > 2 and torvel < 30 and hitfloor ~= nil then
  4250. Anim = "Walk"
  4251. walk = walk + 1
  4252. if walk >= 15 - 5 * Mvmt.Value then
  4253. walk = 0
  4254. if walkforw == true then
  4255. walkforw = false
  4256. elseif walkforw == false then
  4257. walkforw = true
  4258. end
  4259. end
  4260. if attack == false then
  4261. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.3)
  4262. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  4263. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.5, 0, 0.2), 0.3)
  4264. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  4265. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, 0.3), 0.3)
  4266. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  4267. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.2)
  4268. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.2)
  4269. end
  4270. elseif torvel >= 30 and hitfloor ~= nil then
  4271. Anim = "Run"
  4272. if attack == false then
  4273. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.2), 0.4)
  4274. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.8, 0, 0.2), 0.4)
  4275. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 0.2), 0.4)
  4276. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  4277. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, -0.2) * euler(1, 0, 0.2), 0.4)
  4278. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  4279. RH.C0 = clerp(RH.C0, RHC0 * cf(1, 1, 0.2) * euler(0, -0.2, -0.2), 0.4)
  4280. LH.C0 = clerp(LH.C0, LHC0 * cf(-0.5, 1, 0) * euler(0.2, 0, -1), 0.4)
  4281. end
  4282. end
  4283. end
  4284. end
  4285. if #Effects > 0 then
  4286. for e = 1, #Effects do
  4287. if Effects[e] ~= nil then
  4288. local Thing = Effects[e]
  4289. if Thing ~= nil then
  4290. local Part = Thing[1]
  4291. Mode = Thing[2]
  4292. Delay = Thing[3]
  4293. IncX = Thing[4]
  4294. IncY = Thing[5]
  4295. IncZ = Thing[6]
  4296. if Thing[2] == "CylinderClang" then
  4297. if 1 >= Thing[3] then
  4298. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  4299. Thing[7] = Thing[1].CFrame
  4300. effect("New Yeller", 0, Thing[8], Thing[7])
  4301. Thing[8] = Thing[7]
  4302. Thing[3] = Thing[3] + Thing[4]
  4303. else
  4304. Part.Parent = nil
  4305. table.remove(Effects, e)
  4306. end
  4307. end
  4308. if Thing[2] == "showDamage" then
  4309. if Thing[6] < Thing[5] then
  4310. Thing[6] = Thing[6] + 1
  4311. elseif Thing[6] < Thing[7] then
  4312. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  4313. Thing[6] = Thing[6] + 1
  4314. elseif Thing[6] < Thing[8] then
  4315. Thing[6] = Thing[6] + 1
  4316. elseif Thing[6] < Thing[9] then
  4317. Thing[6] = Thing[6] + 1
  4318. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  4319. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  4320. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  4321. else
  4322. Thing[1].Parent = nil
  4323. table.remove(Effects, e)
  4324. end
  4325. end
  4326. if Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" then
  4327. if 1 >= Thing[1].Transparency then
  4328. if Thing[2] == "Block1" then
  4329. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4330. Mesh = Thing[7]
  4331. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4332. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4333. elseif Thing[2] == "Ice" then
  4334. if Thing[6] <= Thing[5] then
  4335. Thing[6] = Thing[6] + 0.3
  4336. Thing[1].CFrame = Thing[1].CFrame * cf(0, 1, 0)
  4337. else
  4338. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4339. end
  4340. elseif Thing[2] == "Shatter" then
  4341. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4342. Thing[4] = Thing[4] * cf(0, Thing[7], 0)
  4343. Thing[1].CFrame = Thing[4] * euler(Thing[6], 0, 0)
  4344. Thing[6] = Thing[6] + Thing[5]
  4345. elseif Thing[2] == "Block2" then
  4346. Thing[1].CFrame = Thing[1].CFrame
  4347. Mesh = Thing[7]
  4348. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4349. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4350. elseif Thing[2] == "Cylinder" then
  4351. Mesh = Thing[7]
  4352. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4353. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4354. elseif Thing[2] == "Blood" then
  4355. Mesh = Thing[7]
  4356. Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  4357. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4358. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4359. elseif Thing[2] == "Elec" then
  4360. Mesh = Thing[7]
  4361. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  4362. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4363. elseif Thing[2] == "Disappear" then
  4364. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4365. end
  4366. else
  4367. Part.Parent = nil
  4368. table.remove(Effects, e)
  4369. end
  4370. end
  4371. end
  4372. end
  4373. end
  4374. end
  4375. fenbarmana2:TweenSize(UDim2.new(0.4, 0, -4 * mana.Value / 100, 0), nil, 1, 0.4, true)
  4376. fenbarmana4.Text = "Mana(" .. mana.Value .. ")"
  4377. fenbarhp2.BackgroundColor3 = Color3.new(Humanoid.Health / Humanoid.MaxHealth, 0, 0)
  4378. fenbarhp2:TweenSize(UDim2.new(Humanoid.Health / Humanoid.MaxHealth, 0, 1, 0), nil, 1, 0.4, true)
  4379. fenbarhp3.Text = "(" .. math.floor(Humanoid.Health * 10) .. " / " .. math.floor(Humanoid.MaxHealth * 10) .. ")"
  4380. fenbarblock2:TweenSize(UDim2.new(0.4, 0, -4 * BlockVal.Value / 40, 0), nil, 1, 0.4, true)
  4381. fenbarblock2.BackgroundColor3 = Color3.new(0.1, 0.25 + BlockVal.Value / 100, 0.3)
  4382. fenbarblock3.Text = "Shield (" .. math.ceil(BlockVal.Value * 10) / 10 * 10 .. ")"
  4383. fenbarmove1b:TweenSize(UDim2.new(1 * cooldowns[1] / cooldownmax, 0, 1, 0), nil, 1, 0.4, true)
  4384. fenbarmove2b:TweenSize(UDim2.new(1 * cooldowns[2] / cooldownmax, 0, 1, 0), nil, 1, 0.4, true)
  4385. fenbarmove3b:TweenSize(UDim2.new(1 * cooldowns[3] / cooldownmax, 0, 1, 0), nil, 1, 0.4, true)
  4386. fenbarmove4b:TweenSize(UDim2.new(1 * cooldowns[4] / cooldownmax, 0, 1, 0), nil, 1, 0.4, true)
  4387. if 1 < Def.Value then
  4388. passive.Value = Def.Value - 1
  4389. end
  4390. passive.Parent = Decrease
  4391. for _, c in pairs(Decrease:children()) do
  4392. if c:findFirstChild("Duration") ~= nil then
  4393. c.Duration.Value = c.Duration.Value - 1
  4394. if 0 >= c.Duration.Value then
  4395. c.Parent = nil
  4396. end
  4397. end
  4398. if c.Name == "DecreaseAtk" then
  4399. decreaseatk = decreaseatk + c.Value
  4400. elseif c.Name == "DecreaseDef" then
  4401. if 0 <= c.Value and c:FindFirstChild("Absolute") == nil then
  4402. decreasedef = decreasedef + c.Value * 0.33
  4403. else
  4404. decreasedef = decreasedef + c.Value
  4405. end
  4406. elseif c.Name == "DecreaseMvmt" then
  4407. if 0 <= c.Value and c:FindFirstChild("Absolute") == nil then
  4408. decreasemvmt = decreasemvmt + c.Value * 0.33
  4409. else
  4410. decreasemvmt = decreasemvmt + c.Value
  4411. end
  4412. elseif c.Name == "DecreaseKBR" then
  4413. if 0 > c.Value then
  4414. decreasekbr = decreasekbr + c.Value
  4415. elseif 0 < c.Value and Unstable.Value == false then
  4416. decreasekbr = decreasekbr + c.Value
  4417. end
  4418. end
  4419. end
  4420. Atk.Value = 1 - decreaseatk
  4421. if 0 >= Atk.Value then
  4422. Atk.Value = 0
  4423. end
  4424. Def.Value = 1 - decreasedef
  4425. if 0 >= Def.Value then
  4426. Def.Value = 0.01
  4427. end
  4428. Mvmt.Value = 1 - decreasemvmt
  4429. if 0 >= Mvmt.Value then
  4430. Mvmt.Value = 0
  4431. end
  4432. if 1 < decreasekbr then
  4433. decreasekbr = 1
  4434. elseif -1 > decreasekbr then
  4435. decreasekbr = -1
  4436. end
  4437. KnockbackResistance.Value = decreasekbr
  4438. decreaseatk = 0
  4439. decreasedef = 0
  4440. decreasemvmt = 0
  4441. decreasekbr = 0
  4442. AtkVal = Atk.Value * 100
  4443. AtkVal = math.floor(AtkVal)
  4444. AtkVal = AtkVal / 100
  4445. fenbardamage.Text = [[
  4446. Damage
  4447. (]] .. AtkVal * 100 .. "%)"
  4448. DefVal = Def.Value * 100
  4449. DefVal = math.floor(DefVal)
  4450. DefVal = DefVal / 100
  4451. fenbardef.Text = [[
  4452. Defense
  4453. (]] .. DefVal * 100 .. "%)"
  4454. MvmtVal = Mvmt.Value * 100
  4455. MvmtVal = math.floor(MvmtVal)
  4456. MvmtVal = MvmtVal / 100
  4457. if Rooted.Value == true or Suppressed.Value == true or Unstable.Value == true or TimeLocked.Value == true then
  4458. MvmtVal = 0
  4459. end
  4460. fenbarmove.Text = [[
  4461. Walkspeed
  4462. (]] .. MvmtVal * 100 .. "%)"
  4463. if Stun.Value >= StunT.Value then
  4464. fenbarstun2:TweenSize(UDim2.new(0.4, 0, -4, 0), nil, 1, 0.4, true)
  4465. else
  4466. fenbarstun2:TweenSize(UDim2.new(0.4, 0, -4 * Stun.Value / StunT.Value, 0), nil, 1, 0.4, true)
  4467. end
  4468. fenbarstun3.Text = "Stun(" .. Stun.Value .. ")"
  4469. if 100 <= mana.Value then
  4470. mana.Value = 100
  4471. elseif mananum <= 11 and shieldroll == false then
  4472. mananum = mananum + 1
  4473. elseif mananum >= 11 then
  4474. mananum = 0
  4475. mana.Value = mana.Value + 1
  4476. end
  4477. for i = 1, #cooldowns do
  4478. if cooldowns[i] >= cooldownmax then
  4479. cooldowns[i] = cooldownmax
  4480. else
  4481. cooldowns[i] = cooldowns[i] + cooldownsadd[i]
  4482. end
  4483. end
  4484. if blocknum >= 100 then
  4485. blocknum = 100
  4486. elseif blocknum2 <= 6 then
  4487. blocknum2 = blocknum2 + 1
  4488. else
  4489. if guard == false then
  4490. blocknum2 = 0
  4491. blocknum = blocknum + 1
  4492. end
  4493. end
  4494. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement