Advertisement
RealPieDiePew

Untitled

Oct 6th, 2016
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 161.59 KB | None | 0 0
  1. Player = game:GetService("Players").LocalPlayer
  2. Doge = Instance.new("Model")
  3. Doge.Parent = Player.Character
  4. Doge.Name = "doges"
  5.  
  6. ---------------------------------doge hat------------------------------
  7.  
  8. dh = Instance.new("Part")
  9. dh.Parent = Doge
  10. dh.Locked = true
  11. dh.CanCollide = false
  12. dh.formFactor = "Symmetric"
  13. mesh = Instance.new("SpecialMesh")
  14. mesh.MeshType = "FileMesh"
  15. mesh.MeshId = "http://www.roblox.com/asset/?id=151778863"
  16. mesh.TextureId = "http://www.roblox.com/asset/?id=151778895"
  17. mesh.Parent = dh
  18. local weld = Instance.new("Weld")
  19. weld.Parent = dh
  20. weld.Part0 = dh
  21. weld.Part1 = Player.Character.Head
  22. weld.C0 = CFrame.new(0, -0.14, 0.25)*CFrame.Angles(0, 0, 0)
  23.  
  24. ----------------------Armour Left and Right--------------------------------------------
  25.  
  26. armourright = Instance.new("Part")
  27. armourright.Parent = Doge
  28. armourright.Locked = true
  29. armourright.CanCollide = false
  30. armourright.formFactor = "Symmetric"
  31. armourright.Size = Vector3.new(1.05, 2.05, 1.05)
  32. armourright.Material = "Neon"
  33. armourright.BrickColor = BrickColor.new("Neon orange")
  34. local weld = Instance.new("Weld")
  35. weld.Parent = armourright
  36. weld.Part0 = armourright
  37. weld.Part1 = Player.Character["Right Arm"]
  38. weld.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0)
  39.  
  40. armourleft = Instance.new("Part")
  41. armourleft.Parent = Doge
  42. armourleft.Locked = true
  43. armourleft.CanCollide = false
  44. armourleft.formFactor = "Symmetric"
  45. armourleft.Size = Vector3.new(1.05, 1.05, 1.05)
  46. armourleft.Material = "Neon"
  47. armourleft.BrickColor = BrickColor.new("Really red")
  48. local weld = Instance.new("Weld")
  49. weld.Parent = armourleft
  50. weld.Part0 = armourleft
  51. weld.Part1 = Player.Character["Left Arm"]
  52. weld.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0)
  53.  
  54. ---------------------Foot Armour-------------------------------------------
  55.  
  56. ftleft = Instance.new("Part")
  57. ftleft.Parent = Doge
  58. ftleft.Locked = true
  59. ftleft.CanCollide = false
  60. ftleft.formFactor = "Symmetric"
  61. ftleft.Size = Vector3.new(1.05, 0.05, 1.05)
  62. ftleft.Material = "Neon"
  63. ftleft.BrickColor = BrickColor.new("Plum")
  64. local weld = Instance.new("Weld")
  65. weld.Parent = ftleft
  66. weld.Part0 = ftleft
  67. weld.Part1 = Player.Character["Left Leg"]
  68. weld.C0 = CFrame.new(0, 0.91, 0)*CFrame.Angles(0, 0, 0)
  69.  
  70. ftright = Instance.new("Part")
  71. ftright.Parent = Doge
  72. ftright.Locked = true
  73. ftright.CanCollide = false
  74. ftright.formFactor = "Symmetric"
  75. ftright.Size = Vector3.new(1.05, 0.05, 1.05)
  76. ftright.Material = "Neon"
  77. ftright.BrickColor = BrickColor.new("Plum")
  78. local weld = Instance.new("Weld")
  79. weld.Parent = ftright
  80. weld.Part0 = ftright
  81. weld.Part1 = Player.Character["Right Leg"]
  82. weld.C0 = CFrame.new(0, 0.91, 0)*CFrame.Angles(0, 0, 0)
  83.  
  84. Character = Player.Character
  85. PlayerGui = Player.PlayerGui
  86. Backpack = Player.Backpack
  87. Torso = Character.Torso
  88. Head = Character.Head
  89. Humanoid = Character.Humanoid
  90. LeftArm = Character["Left Arm"]
  91. LeftLeg = Character["Left Leg"]
  92. RightArm = Character["Right Arm"]
  93. RightLeg = Character["Right Leg"]
  94.  
  95. z = Instance.new("Sound", Torso)
  96. z.SoundId = "rbxassetid://143595200" -- Put Music ID Here.
  97. z.Looped = true
  98. z.Volume = 1
  99. z.Pitch = 1.1
  100. wait(.1)
  101. z:Play()
  102.  
  103. LS = Torso["Left Shoulder"]
  104. LH = Torso["Left Hip"]
  105. RS = Torso["Right Shoulder"]
  106. RH = Torso["Right Hip"]
  107. Neck = Torso.Neck
  108. it = Instance.new
  109. vt = Vector3.new
  110. cf = CFrame.new
  111. euler = CFrame.fromEulerAnglesXYZ
  112. angles = CFrame.Angles
  113. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  114. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  115. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  116. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  117. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  118. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  119. RootPart = Character.HumanoidRootPart
  120. RootJoint = RootPart.RootJoint
  121. RootCF = euler(-1.57, 0, 3.14)
  122. attack = false
  123. attackdebounce = false
  124. isblarghing = false
  125. MMouse = nil
  126. combo = 0
  127. combospeed = 0
  128. stop = false
  129. local hitfloor, posfloor = nil, nil
  130. local idle = 0
  131. local Anim = "Idle"
  132. local Effects = {}
  133. local Weapon = {}
  134. local Welds = {}
  135. local decreaseatk = 0
  136. local decreasedef = 0
  137. local decreasemvmt = 0
  138. local Mode = "Defensive"
  139. local GuardStance = false
  140. local Target = nil
  141. local manualguardend = false
  142. local Fly = false
  143. local prop = Instance.new("RocketPropulsion")
  144. local move1 = "(Z)\nDoge n' Boom"
  145. local move2 = "(X)\nDoges"
  146. local move3 = "(C)\nLOL XTREME BUFF"
  147. local move4 = "(V)\nDoge Building"
  148. local cooldowns = {}
  149. local cooldown1 = 0
  150. table.insert(cooldowns, cooldown1)
  151. local cooldown2 = 0
  152. table.insert(cooldowns, cooldown2)
  153. local cooldown3 = 0
  154. table.insert(cooldowns, cooldown3)
  155. local cooldown4 = 0
  156. table.insert(cooldowns, cooldown4)
  157. local cooldown5 = 0
  158. table.insert(cooldowns, cooldown5)
  159. local cooldownsadd = {}
  160. local cooldownadd1 = 0.55
  161. table.insert(cooldownsadd, cooldownadd1)
  162. local cooldownadd2 = 0.2
  163. table.insert(cooldownsadd, cooldownadd2)
  164. local cooldownadd3 = 0.25
  165. table.insert(cooldownsadd, cooldownadd3)
  166. local cooldownadd4 = 0.06
  167. table.insert(cooldownsadd, cooldownadd4)
  168. local cooldownadd5 = 0.06
  169. table.insert(cooldownsadd, cooldownadd5)
  170. local cooldownmax = 1
  171. player = nil
  172. RSH = nil
  173. RW = Instance.new("Motor")
  174. LW = Instance.new("Motor")
  175. RW.Name = "Right Shoulder"
  176. LW.Name = "Left Shoulder"
  177. LH = Torso["Left Hip"]
  178. RH = Torso["Right Hip"]
  179. TorsoColor = Torso.BrickColor
  180. TorsoBlue = TorsoColor.Color.b
  181. TorsoRed = TorsoColor.Color.r
  182. TorsoGreen = TorsoColor.Color.g
  183. NewCol = Color3.new(TorsoRed, TorsoGreen, TorsoBlue)
  184. if Player:findFirstChild("Color1") ~= nil then
  185. NewCol = Player.Color1.Value
  186. end
  187. print(BrickColor.new(NewCol))
  188. local mdec = Instance.new("NumberValue", Decrease)
  189. mdec.Name = "DecreaseDef"
  190. mdec.Value = 0.5
  191. local mdec2 = Instance.new("NumberValue", Decrease)
  192. mdec2.Name = "DecreaseMvmt"
  193. mdec2.Value = 0.1
  194. local Animate = Humanoid.Animator
  195. local canjump = true
  196. removeControl = function()
  197. canjump = false
  198. end
  199. resumeControl = function()
  200. canjump = true
  201. end
  202. Player.Character.Humanoid.Changed:connect(function()
  203. if canjump == false then
  204. Player.Character.Humanoid.Jump = false
  205. end
  206. end)
  207. swait = function(num)
  208. if num == 0 or num == nil then
  209. Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  210. else
  211. for i = 0, num do
  212. Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  213. end
  214. end
  215. end
  216. ArtificialHB = Instance.new("BindableEvent", script)
  217. ArtificialHB.Name = "Heartbeat"
  218.  
  219. script:WaitForChild("Heartbeat")
  220.  
  221. frame = 1 / 40
  222. tf = 0
  223. allowframeloss = true
  224. tossremainder = false
  225. lastframe = tick()
  226. script.Heartbeat:Fire()
  227.  
  228. game:GetService("RunService").Heartbeat:connect(function(s, p)
  229. tf = tf + s
  230. if tf >= frame then
  231. if allowframeloss then
  232. script.Heartbeat:Fire()
  233. lastframe = tick()
  234. else
  235. for i = 1, math.floor(tf / frame) do
  236. script.Heartbeat:Fire()
  237. end
  238. lastframe = tick()
  239. end
  240. if tossremainder then
  241. tf = 0
  242. else
  243. tf = tf - frame * math.floor(tf / frame)
  244. end
  245. end
  246. end)
  247. function swait(num)
  248. if num == 0 or num == nil then
  249. ArtificialHB.Event:wait()
  250. else
  251. for i = 0, num do
  252. ArtificialHB.Event:wait()
  253. end
  254. end
  255. end
  256. createpassgui = function(parent)
  257. print("makegui111")
  258. local g = Instance.new("ScreenGui", parent)
  259. local f = Instance.new("Frame", g)
  260. f.Position = UDim2.new(0.3, 0, 0.25, 0)
  261. f.Size = UDim2.new(0.4, 0, 0.4, 0)
  262. f.Style = "DropShadow"
  263. local t = Instance.new("TextBox", f)
  264. t.BackgroundColor3 = Color3.new(0, 0, 0)
  265. t.BackgroundTransparency = 0.5
  266. t.BorderSizePixel = 0
  267. t.Position = UDim2.new(0.15, 0, 0.2, 0)
  268. t.Size = UDim2.new(0.7, 0, 0.2, 0)
  269. t.Font = "SourceSansLight"
  270. t.Text = "Enter Access Code."
  271. t.TextScaled = true
  272. t.TextColor3 = Color3.new(1, 1, 1)
  273. t.TextStrokeTransparency = 0
  274. local t2 = Instance.new("TextButton", f)
  275. t2.BackgroundColor3 = Color3.new(0, 0, 0)
  276. t2.BackgroundTransparency = 0.5
  277. t2.BorderSizePixel = 0
  278. t2.Position = UDim2.new(0.3, 0, 0.5, 0)
  279. t2.Size = UDim2.new(0.4, 0, 0.15, 0)
  280. t2.TextScaled = true
  281. t2.Font = "SourceSansLight"
  282. t2.Text = "Submit"
  283. t2.TextColor3 = Color3.new(1, 1, 1)
  284. t2.TextStrokeTransparency = 0
  285. print("done1")
  286. return t2
  287. end
  288. local gud = true
  289. repeat
  290. wait()
  291. until gud
  292. if Character:findFirstChild("dedliwepon", true) ~= nil then
  293. Character:findFirstChild("dedliwepon", true).Parent = nil
  294. end
  295. if Player.PlayerGui:findFirstChild("WeaponGUI", true) ~= nil then
  296. Player.PlayerGui:findFirstChild("WeaponGUI", true).Parent = nil
  297. end
  298. if Character:findFirstChild("Stats", true) ~= nil then
  299. Character:findFirstChild("Stats", true).Parent = nil
  300. end
  301. local Stats = Instance.new("BoolValue")
  302. Stats.Name = "Stats"
  303. Stats.Parent = Character
  304. local Atk = Instance.new("NumberValue")
  305. Atk.Name = "Damage"
  306. Atk.Parent = Stats
  307. Atk.Value = 1
  308. local Def = Instance.new("NumberValue")
  309. Def.Name = "Defense"
  310. Def.Parent = Stats
  311. Def.Value = 0.5
  312. local Mvmt = Instance.new("NumberValue")
  313. Mvmt.Name = "Movement"
  314. Mvmt.Parent = Stats
  315. Mvmt.Value = 1
  316. local Block = Instance.new("BoolValue")
  317. Block.Name = "Block"
  318. Block.Parent = Stats
  319. Block.Value = false
  320. local Stun = Instance.new("NumberValue")
  321. Stun.Name = "Stun"
  322. Stun.Parent = Stats
  323. Stun.Value = 0
  324. local StunT = Instance.new("NumberValue")
  325. StunT.Name = "StunThreshold"
  326. StunT.Parent = Stats
  327. StunT.Value = 100
  328. local Rooted = Instance.new("BoolValue")
  329. Rooted.Name = "Rooted"
  330. Rooted.Parent = Stats
  331. Rooted.Value = false
  332. local Stunned = Instance.new("BoolValue")
  333. Stunned.Name = "Stunned"
  334. Stunned.Parent = Stats
  335. Stunned.Value = false
  336. local Stagger = Instance.new("BoolValue")
  337. Stagger.Name = "Stagger"
  338. Stagger.Parent = Stats
  339. Stagger.Value = false
  340. local StaggerHit = Instance.new("BoolValue")
  341. StaggerHit.Name = "StaggerHit"
  342. StaggerHit.Parent = Stats
  343. StaggerHit.Value = false
  344. local RecentEnemy = Instance.new("ObjectValue")
  345. RecentEnemy.Name = "RecentEnemy"
  346. RecentEnemy.Parent = Stats
  347. RecentEnemy.Value = nil
  348. local Decrease = Instance.new("BoolValue")
  349. Decrease.Name = "Decrease"
  350. Decrease.Parent = Stats
  351. Decrease.Value = false
  352. local passive = Instance.new("NumberValue", Decrease)
  353. passive.Name = "DecreaseMvmt"
  354. passive.Value = -0.4
  355. local passive2 = Instance.new("NumberValue", Decrease)
  356. passive2.Name = "DecreaseDef"
  357. passive2.Value = 0.5
  358. local mana = Instance.new("NumberValue")
  359. mana.Name = "Mana"
  360. mana.Parent = Stats
  361. mana.Value = 0
  362. NoOutline = function(Part)
  363. Part.TopSurface = 10
  364. end
  365. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size, material, anchor)
  366. local fp = it("Part")
  367. fp.formFactor = formfactor
  368. fp.Parent = parent
  369. fp.Reflectance = reflectance
  370. fp.Transparency = transparency
  371. fp.CanCollide = false
  372. fp.Locked = true
  373. fp.BrickColor = brickcolor
  374. fp.Name = name
  375. fp.Size = size
  376. fp.Position = Torso.Position
  377. NoOutline(fp)
  378. if material then
  379. fp.Material = material
  380. end
  381. if anchor then
  382. fp.Anchored = anchor
  383. end
  384. fp:BreakJoints()
  385. return fp
  386. end
  387. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  388. local mesh = it(Mesh)
  389. mesh.Parent = part
  390. if Mesh == "SpecialMesh" then
  391. mesh.MeshType = meshtype
  392. if meshid ~= "nil" then
  393. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  394. end
  395. end
  396. mesh.Offset = offset
  397. mesh.Scale = scale
  398. return mesh
  399. end
  400. weld = function(parent, part0, part1, c0)
  401. local weld = it("Motor")
  402. weld.Parent = parent
  403. weld.Part0 = part0
  404. weld.Part1 = part1
  405. weld.C0 = c0
  406. return weld
  407. end
  408. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  409. local gui = it(GuiType)
  410. gui.Parent = parent
  411. gui.Text = text
  412. gui.BackgroundTransparency = backtrans
  413. gui.BackgroundColor3 = backcol
  414. gui.SizeConstraint = "RelativeXY"
  415. gui.TextXAlignment = "Center"
  416. gui.TextYAlignment = "Center"
  417. gui.Position = pos
  418. gui.Size = size
  419. gui.Font = "SourceSans"
  420. gui.FontSize = "Size14"
  421. gui.TextWrapped = false
  422. gui.TextStrokeTransparency = 0
  423. gui.TextColor = BrickColor.new("White")
  424. return gui
  425. end
  426. local Color1 = Torso.BrickColor
  427. local fengui = it("GuiMain")
  428. fengui.Parent = Player.PlayerGui
  429. fengui.Name = "WeaponGUI"
  430. local fenframe = it("Frame")
  431. fenframe.Parent = fengui
  432. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  433. fenframe.BackgroundTransparency = 1
  434. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  435. fenframe.Size = UDim2.new(0.1, 0, 0.1, 0)
  436. fenframe.Position = UDim2.new(0.95, 0, 0.7, 0)
  437. local fenframe2 = it("Frame")
  438. fenframe2.Parent = fengui
  439. fenframe2.BackgroundColor3 = Color3.new(255, 255, 255)
  440. fenframe2.BackgroundTransparency = 1
  441. fenframe2.BorderColor3 = Color3.new(17, 17, 17)
  442. fenframe2.Size = UDim2.new(0.2, 0, 0.1, 0)
  443. fenframe2.Position = UDim2.new(0.4, 0, 0.85, 0)
  444. local fenframe3 = it("Frame")
  445. fenframe3.Parent = fengui
  446. fenframe3.BackgroundColor3 = Color3.new(255, 255, 255)
  447. fenframe3.BackgroundTransparency = 1
  448. fenframe3.BorderColor3 = Color3.new(17, 17, 17)
  449. fenframe3.Size = UDim2.new(0.2, 0, 0.2, 0)
  450. fenframe3.Position = UDim2.new(0.8, 0, 0.8, 0)
  451. local fenframe4 = it("Frame")
  452. fenframe4.Parent = fengui
  453. fenframe4.BackgroundColor3 = Color3.new(255, 255, 255)
  454. fenframe4.BackgroundTransparency = 1
  455. fenframe4.BorderColor3 = Color3.new(17, 17, 17)
  456. fenframe4.Size = UDim2.new(0.1, 0, 0.1, 0)
  457. fenframe4.Position = UDim2.new(0, 0, 0.7, 0)
  458. local pressedf = false
  459. local fenframe5 = it("Frame")
  460. fenframe5.Parent = fengui
  461. fenframe5.BackgroundColor3 = Color3.new(0, 0, 0)
  462. fenframe5.BackgroundTransparency = 1
  463. fenframe5.BorderColor3 = Color3.new(0, 0, 0)
  464. fenframe5.Size = UDim2.new(1, 0, 1, 0)
  465. fenframe5.Position = UDim2.new(0, 0, 0, 0)
  466. fenframe5.ZIndex = 2
  467. local tellbar = gui("TextLabel", fenframe5, "ok this doge class is made by realpiediepew bye", 1, Color3.new(0, 0, 0), UDim2.new(0.25, 0, 0.25, 0), UDim2.new(0.5, 0, 0.5, 0))
  468. tellbar.Font = "Arial"
  469. tellbar.TextScaled = true
  470. tellbar.TextTransparency = 1
  471. tellbar.TextStrokeTransparency = 1
  472. tellbar.ZIndex = 2
  473. local fnumb = 0
  474. local fenbarmana1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  475. local fenbarmana2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  476. 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))
  477. local fenbardamage = gui("TextLabel", fenframe2, "Damage", 0.55, Color3.new(0.6078431372549, 0, 0), UDim2.new(-0.23, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  478. local fenbardef = gui("TextLabel", fenframe2, "Defense", 0.55, Color3.new(0, 0, 0.6078431372549), UDim2.new(-0.46, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  479. local fenbarmove = gui("TextLabel", fenframe2, "Walkspeed", 0.55, Color3.new(0, 0.6078431372549, 0), UDim2.new(1.03, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  480. 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))
  481. local fenbarhp2 = gui("TextLabel", fenbarhp1, "", 0, Color3.new(1, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  482. local fenbarhp3 = gui("TextLabel", fenbarhp1, "(100)", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  483. 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))
  484. 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))
  485. 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))
  486. 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))
  487. fenbarmove1.ZIndex = 2
  488. local fenbarmove1b = gui("TextLabel", fenbarmove1, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  489. 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))
  490. fenbarmove2.ZIndex = 2
  491. local fenbarmove2b = gui("TextLabel", fenbarmove2, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  492. 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))
  493. fenbarmove3.ZIndex = 2
  494. local fenbarmove3b = gui("TextLabel", fenbarmove3, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  495. 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))
  496. fenbarmove4.ZIndex = 2
  497. local fenbarmove4b = gui("TextLabel", fenbarmove4, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  498. local modelzorz = Instance.new("Model")
  499. modelzorz.Parent = Character
  500. modelzorz.Name = "dedliwepon"
  501. local handle = part(3, modelzorz, 0, 0.5, TorsoColor, "Handle", vt(), "Fabric")
  502. local prt1 = part(3, modelzorz, 0, 0, BrickColor.new("Reddish brown"), "Part01", vt(0.2, 0.2, 0.2), "Fabric")
  503. local prt2 = part(3, modelzorz, 0, 0, BrickColor.new("Reddish brown"), "Part02", vt(0.2, 0.2, 0.2), "Fabric")
  504. local prt3 = part(3, modelzorz, 0, 0, BrickColor.new("Reddish brown"), "Part03", vt(), "Fabric")
  505. local prt4 = part(3, modelzorz, 0, 0, BrickColor.new("Steel blue"), "Part04", vt(), "Metal")
  506. local prt5 = part(3, modelzorz, 0, 0, BrickColor.new("Pastel Blue"), "Part05", vt(0.2, 0.2, 0.2), "Marble")
  507. local msh1 = mesh("BlockMesh", prt1, "", "nil", vt(0, 0, 0), vt(6, 5.5, 5.4))
  508. local msh2 = mesh("BlockMesh", prt2, "", "nil", vt(0, 0, 0), vt(1, 5.6, 7.4))
  509. local msh3 = mesh("BlockMesh", prt3, "", "nil", vt(0, 0, 0), vt(1, 5.6, 7.4))
  510. local msh4 = mesh("CylinderMesh", prt4, "", "nil", vt(0, 0, 0), vt(2.5, 5.53, 2.5))
  511. local msh5 = mesh("CylinderMesh", prt5, "", "nil", vt(0, 0, 0), vt(2, 5.55, 2))
  512. local handlewld = weld(handle, handle, Torso, euler(0, 0, 0) * cf(0, 0, 0))
  513. local wld1 = weld(prt1, prt1, Torso, cf(0, 0, 0) * euler(math.rad(90), 0, 0))
  514. local wld2 = weld(prt1, prt2, prt1, euler(0, 0, 0) * cf(0.7, 0, -0.3))
  515. local wld3 = weld(prt1, prt3, prt1, euler(0, 0, 0) * cf(-0.7, 0, -0.3))
  516. local wld4 = weld(prt1, prt4, prt1, euler(0, 0, 0) * cf(0, 0, 0))
  517. local wld5 = weld(prt1, prt5, prt1, euler(0, 0, 0) * cf(0, 0, 0))
  518. num = 0
  519. num2 = 0
  520. num3 = 0
  521. num4 = 0
  522. num5 = 2
  523. for _,c in pairs(modelzorz:children()) do
  524. table.insert(Weapon, c)
  525. end
  526. for _,c in pairs(prt1:children()) do
  527. if c.className == "Motor" then
  528. table.insert(Welds, c)
  529. end
  530. end
  531. local hitbox = part(3, modelzorz, 0, 1, BrickColor.new("Pastel Blue"), "Hitbox2", vt())
  532. hitbox.Anchored = false
  533. local hbwld = weld(hitbox, hitbox, RootPart, euler(0, 0, 0) * cf(0, 0, 0))
  534. local hitbox2 = part(3, nil, 0, 1, BrickColor.new("Pastel Blue"), "Hitbox", vt(1, 1, 1))
  535. hitbox2.Anchored = true
  536. local hitboxCF = cf(0, 0, 0)
  537. hboxpos = Instance.new("BodyPosition", nil)
  538. hboxpos.P = 2000
  539. hboxpos.D = 100
  540. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  541. hitboxweld = function()
  542. hbwld.Parent = modelzorz
  543. hbwld.Part0 = hitbox
  544. hbwld.Part1 = prt5
  545. end
  546. Tool = Instance.new("HopperBin")
  547. Tool.Parent = Backpack
  548. Tool.Name = "DOGEZ"
  549. local Parent = Tool
  550. Bin = Tool
  551. if Bin.Name == "Allah" then
  552. Bin.Name = "Allahu Akbar"
  553. end
  554. local bodvel = Instance.new("BodyVelocity")
  555. local bg = Instance.new("BodyGyro")
  556. so = function(id, par, vol, pit)
  557. local sou = Instance.new("Sound", par or workspace)
  558. sou.Volume = vol
  559. sou.Pitch = pit or 1
  560. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  561. sou:play()
  562. game:GetService("Debris"):AddItem(sou, 6)
  563. end
  564.  
  565. function clerp(a,b,t)
  566. local qa = {QuaternionFromCFrame(a)}
  567. local qb = {QuaternionFromCFrame(b)}
  568. local ax, ay, az = a.x, a.y, a.z
  569. local bx, by, bz = b.x, b.y, b.z
  570. local _t = 1-t
  571. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  572. end
  573.  
  574. function QuaternionFromCFrame(cf)
  575. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  576. local trace = m00 + m11 + m22
  577. if trace > 0 then
  578. local s = math.sqrt(1 + trace)
  579. local recip = 0.5/s
  580. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  581. else
  582. local i = 0
  583. if m11 > m00 then
  584. i = 1
  585. end
  586. if m22 > (i == 0 and m00 or m11) then
  587. i = 2
  588. end
  589. if i == 0 then
  590. local s = math.sqrt(m00-m11-m22+1)
  591. local recip = 0.5/s
  592. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  593. elseif i == 1 then
  594. local s = math.sqrt(m11-m22-m00+1)
  595. local recip = 0.5/s
  596. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  597. elseif i == 2 then
  598. local s = math.sqrt(m22-m00-m11+1)
  599. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  600. end
  601. end
  602. end
  603.  
  604. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  605. local xs, ys, zs = x + x, y + y, z + z
  606. local wx, wy, wz = w*xs, w*ys, w*zs
  607. local xx = x*xs
  608. local xy = x*ys
  609. local xz = x*zs
  610. local yy = y*ys
  611. local yz = y*zs
  612. local zz = z*zs
  613. 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))
  614. end
  615.  
  616. function QuaternionSlerp(a, b, t)
  617. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  618. local startInterp, finishInterp;
  619. if cosTheta >= 0.0001 then
  620. if (1 - cosTheta) > 0.0001 then
  621. local theta = math.acos(cosTheta)
  622. local invSinTheta = 1/math.sin(theta)
  623. startInterp = math.sin((1-t)*theta)*invSinTheta
  624. finishInterp = math.sin(t*theta)*invSinTheta
  625. else
  626. startInterp = 1-t
  627. finishInterp = t
  628. end
  629. else
  630. if (1+cosTheta) > 0.0001 then
  631. local theta = math.acos(-cosTheta)
  632. local invSinTheta = 1/math.sin(theta)
  633. startInterp = math.sin((t-1)*theta)*invSinTheta
  634. finishInterp = math.sin(t*theta)*invSinTheta
  635. else
  636. startInterp = t-1
  637. finishInterp = t
  638. end
  639. end
  640. 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
  641. end
  642. hideanim = function()
  643. equipped = false
  644. for i = 0, 1, 0.12 do
  645. swait()
  646. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  647. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  648. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, -0.2) * euler(1.3, 0.5, 0) * euler(0, 0, -1), 0.3)
  649. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  650. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -0.2), 0.3)
  651. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  652. end
  653. for i = 0, 1, 0.18 do
  654. swait()
  655. Neck.C0 = clerp(Neck.C0, necko * euler(0.1, 0, 0), 0.5)
  656. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.5)
  657. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, -0.2) * euler(1.3, 0.5, -1.2), 0.5)
  658. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  659. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -0.25), 0.5)
  660. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  661. end
  662. prt5.Material = "Marble"
  663. prt5.BrickColor = BrickColor.new("Pastel Blue")
  664. for i = 0, 1, 0.1 do
  665. swait()
  666. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0), 0.3)
  667. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.3)
  668. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  669. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.3)
  670. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  671. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0) * euler(0, 0, 0) * euler(0, 0, 0), 0.3)
  672. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  673. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.3)
  674. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.3)
  675. end
  676. mdec.Parent = nil
  677. handlewld.Part1 = Torso
  678. handlewld.C0 = euler(-1.8, 0, 0) * cf(-1.1, 1, 0.65)
  679. mdec.Parent = Decrease
  680. mdec2.Parent = nil
  681. end
  682. mdec.Parent = Decrease
  683. equipanim = function()
  684. equipped = true
  685. mdec.Parent = nil
  686. for i = 0, 1, 0.12 do
  687. swait()
  688. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  689. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  690. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, -0.2) * euler(1.3, 0.5, 0) * euler(0, 0, -1), 0.3)
  691. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  692. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -0.2), 0.3)
  693. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  694. end
  695. for i = 0, 1, 0.18 do
  696. swait()
  697. Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 0), 0.5)
  698. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.5)
  699. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, -0.2) * euler(1.3, 0.5, -1.2), 0.5)
  700. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  701. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -0.25), 0.5)
  702. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  703. end
  704. prt5.Material = "Neon"
  705. prt5.BrickColor = BrickColor.new(NewCol)
  706. handlewld.Part1 = LeftArm
  707. handlewld.C0 = euler(1.5, 1.4, 0) * euler(0, 0, -1) * cf(0, 0, 0)
  708. mdec2.Parent = Decrease
  709. end
  710. StaggerAnim = function()
  711. attack = true
  712. removeControl()
  713. for i = 1, math.random(2, 4) do
  714. ClangEffect(BrickColor.new("Pastel Blue"), 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)
  715. end
  716. for i = 0, 1, 0.35 do
  717. swait()
  718. Torso.Velocity = RootPart.CFrame.lookVector * -40
  719. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.1, 0, 0), 0.3)
  720. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, 0.6), 0.3)
  721. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.4, 0, 0.4) * euler(0, 0.4, 0), 0.3)
  722. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  723. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.9) * euler(0, 0.7, 0), 0.3)
  724. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  725. RH.C0 = clerp(RH.C0, cf(1, -0.7, 0) * euler(0, 1.57, 0) * euler(-0.4, -0.2, 0.4), 0.3)
  726. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.4), 0.3)
  727. end
  728. for i = 0, 1, 0.2 do
  729. swait()
  730. Torso.Velocity = RootPart.CFrame.lookVector * -40
  731. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.3, 0, 0), 0.3)
  732. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.4, 0, 0.6), 0.3)
  733. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.6, 0, 0.6) * euler(0, 0.4, 0), 0.3)
  734. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  735. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.9) * euler(0, 0.7, 0), 0.3)
  736. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  737. RH.C0 = clerp(RH.C0, cf(1, -0.7, 0) * euler(0, 1.57, 0) * euler(-0.5, -0.2, 0.5), 0.3)
  738. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.4), 0.3)
  739. end
  740. for i = 0, 1, 0.1 do
  741. swait()
  742. handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.3)
  743. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.3, 0, 0), 0.3)
  744. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8) * euler(-0.2, 0, 0.4), 0.3)
  745. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(0.6, 0, -0.4), 0.3)
  746. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  747. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.3, 0), 0.3)
  748. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  749. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.2, 0) * euler(-0.4, 0, 1.2), 0.3)
  750. LH.C0 = clerp(LH.C0, cf(-1, 0.4, -0.8) * euler(0, -1.57, 0) * euler(0, 0.2, -0.1), 0.3)
  751. end
  752. for i = 1, 40 do
  753. swait()
  754. if StunT.Value <= Stun.Value then
  755. break
  756. end
  757. end
  758. do
  759. resumeControl()
  760. combo = 0
  761. attack = false
  762. end
  763. end
  764. StaggerHitt = function()
  765. attack = true
  766. for i = 1, math.random(2, 4) do
  767. ClangEffect(BrickColor.new("Pastel Blue"), 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)
  768. end
  769. for i = 0, 1, 0.1 do
  770. swait()
  771. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.1, 0, 0), 0.3)
  772. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, 0.6), 0.3)
  773. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.4) * euler(0, 0.4, 0), 0.3)
  774. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  775. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.9) * euler(0, 0.7, 0), 0.3)
  776. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  777. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.2, -0.2), 0.3)
  778. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.4), 0.3)
  779. end
  780. attack = false
  781. end
  782. StunAnim = function()
  783. attack = true
  784. removeControl()
  785. Stunned.Value = true
  786. showDamage(Character, "Stunned", "Interrupt")
  787. local dec = Instance.new("NumberValue", Decrease)
  788. dec.Name = "DecreaseMvmt"
  789. dec.Value = 10
  790. for i = 0, 1, 0.3 do
  791. swait()
  792. handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  793. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.5), 0.2)
  794. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -3), 0.2)
  795. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1.3), 0.2)
  796. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  797. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.4) * euler(0, -0.1, 0), 0.2)
  798. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  799. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.3), 0.25)
  800. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
  801. end
  802. for i = 0, 1, 0.3 do
  803. swait()
  804. handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  805. Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -0.5), 0.2)
  806. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.8, 0, -3), 0.2)
  807. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  808. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  809. 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)
  810. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  811. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.25)
  812. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(0.1, 0, 0.7), 0.25)
  813. end
  814. for i = 0, 1, 0.3 do
  815. swait()
  816. handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  817. Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -1), 0.2)
  818. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1.57, 0, -3), 0.2)
  819. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  820. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  821. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, -0.8) * euler(0, -0.1, 0), 0.2)
  822. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  823. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.6), 0.25)
  824. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.3), 0.25)
  825. end
  826. local gairost = Instance.new("BodyGyro")
  827. gairost.Parent = RootPart
  828. gairost.maxTorque = Vector3.new(400000, 0, 400000) * math.huge
  829. gairost.P = 20000
  830. gairost.cframe = cf(0, 0, 0)
  831. for i = 0, 1, 0.1 do
  832. swait()
  833. if hitfloor ~= nil then
  834. Torso.Velocity = vt(0, 0, 0)
  835. end
  836. handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  837. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), 0.3)
  838. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * euler(1.57, 0, -3.14), 0.3)
  839. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1.5) * euler(0.2, 0, 0), 0.3)
  840. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  841. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.57) * euler(0, 0, 0), 0.3)
  842. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  843. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0), 0.3)
  844. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 0), 0.3)
  845. end
  846. for i = 1, 70 do
  847. swait()
  848. gairost.cframe = RootPart.CFrame
  849. if hitfloor ~= nil then
  850. Torso.Velocity = vt(0, 0, 0)
  851. end
  852. end
  853. for i = 0, 1, 0.2 do
  854. swait()
  855. Stun.Value = 0
  856. gairost.cframe = RootPart.CFrame
  857. handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  858. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  859. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1, 0, -4), 0.3)
  860. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1) * euler(0.2, -1, 0), 0.3)
  861. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  862. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, 0.2) * euler(0, 0, 0), 0.3)
  863. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  864. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0.4), 0.3)
  865. LH.C0 = clerp(LH.C0, cf(-1, -1, -1) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 1), 0.3)
  866. end
  867. resumeControl()
  868. gairost.Parent = nil
  869. dec.Parent = nil
  870. Stun.Value = 0
  871. combo = 0
  872. Stunned.Value = false
  873. attack = false
  874. for i = 1, 10 do
  875. swait()
  876. Stun.Value = 0
  877. end
  878. end
  879. dattackone = function()
  880. stop = true
  881. if isblarghing == false then
  882. attack = true
  883. do
  884. for i = 0, 1, 0.15 do
  885. swait()
  886. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(-0.1, 0, 0), 0.3)
  887. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0.5), 0.3)
  888. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(3, 0, 0.2) * euler(0, 0, 0), 0.3)
  889. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  890. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.5) * euler(0, 0, 0), 0.15)
  891. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  892. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  893. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  894. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  895. do
  896. if StaggerHit.Value == true then
  897. break
  898. end
  899. -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_THEN_STMT
  900.  
  901. -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_STMT
  902.  
  903. end
  904. end
  905. end
  906. end
  907. local pl = part(3, workspace, 0, 1, BrickColor.new(NewCol), "Plane", vt(1, 1, 1))
  908. local pmsh = mesh("SpecialMesh", pl, "FileMesh", "151778863", vt(0, 0, 0), vt(3, 3, 3))
  909. local pwld = weld(pl, pl, RightArm, euler(0, math.rad(180), math.rad(180)) * cf(0, 1.1, 0))
  910. MagicBlock(BrickColor.new(NewCol), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0.5, 0.5, 0.5, 2, 2, 2, 0.15, 2)
  911. pl.Transparency = 0
  912. for i = 0, 1, 0.15 do
  913. swait()
  914. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(-0.3, 0, 0), 0.3)
  915. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0.5), 0.3)
  916. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(3.8, 0, 0.2) * euler(0, 0, 0), 0.3)
  917. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  918. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.5) * euler(0, 0, 0), 0.3)
  919. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  920. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  921. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  922. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  923. do
  924. if StaggerHit.Value == true then
  925. break
  926. end
  927. -- DECOMPILER ERROR at PC502: LeaveBlock: unexpected jumping out IF_THEN_STMT
  928.  
  929. -- DECOMPILER ERROR at PC502: LeaveBlock: unexpected jumping out IF_STMT
  930.  
  931. end
  932. end
  933. end
  934. pwld.Parent = nil
  935. pl.Anchored = true
  936. local MainPos = pl.Position
  937. local MainPos2 = MMouse.Hit.p
  938. local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  939. coroutine.resume(coroutine.create(function(Pos1, Pos2, Look)
  940. local num = 15
  941. repeat
  942. swait()
  943. local ohit, opos = rayCast(Pos1, Look.lookVector, 5, Character)
  944. pl.CFrame = CFrame.new((Pos1 + opos) / 2, opos)
  945. MagicBlock(BrickColor.new("Pastel Blue"), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0.5, 0.5, 0.5, 1, 1, 1, 0.15, 2)
  946. Pos1 = Pos1 + Look.lookVector * 5
  947. pl.CFrame = CFrame.new(pl.Position, MMouse.Hit.p)
  948. if ohit ~= nil then
  949. num = 0
  950. end
  951. num = num - 1
  952. until num <= 0
  953. local ref = part(3, workspace, 0, 1, BrickColor.new("Pastel Blue"), "Effect", vt())
  954. ref.Anchored = true
  955. ref.CFrame = cf(pl.Position)
  956. so("206049428", ref, 0.5, math.random(7, 10) / 10)
  957. game:GetService("Debris"):AddItem(ref, 0.5)
  958. local col = {"Pastel Blue", "Pastel Blue", "Pastel Blue"}
  959. MagicCircle(BrickColor.new(col[math.random(1, #col)]), "Neon", cf(ref.Position), 2, 2, 2, 2.5, 2.5, 2.5, 0.1, 0.2)
  960. for i = 1, 4 do
  961. MagicBlock(BrickColor.new(col[math.random(1, #col)]), cf(ref.Position) * cf(math.random(-50, 50) / 100, math.random(-50, 50) / 100, math.random(-50, 50) / 100), 3, 3, 3, 1, 1, 1, 0.1)
  962. end
  963. MagniDamage(ref, 5, 6, 9, math.random(5, 10), "Knockdown2", ref, 0.15, 2, math.random(3, 7), false, true, false, "Movement", 0.02, 500)
  964. pl.Parent = nil
  965. end), MainPos, MainPos2, MouseLook)
  966. for i = 0, 1, 0.2 do
  967. swait()
  968. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.5) * euler(0.1, 0, 0), 0.5)
  969. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0.5), 0.5)
  970. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.4, 0, 0.2) * euler(0, 0, 0), 0.5)
  971. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  972. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.2) * euler(0, 0, 0), 0.5)
  973. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  974. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  975. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  976. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  977. do
  978. if StaggerHit.Value == true then
  979. break
  980. end
  981. -- DECOMPILER ERROR at PC724: LeaveBlock: unexpected jumping out IF_THEN_STMT
  982.  
  983. -- DECOMPILER ERROR at PC724: LeaveBlock: unexpected jumping out IF_STMT
  984.  
  985. end
  986. end
  987. end
  988. attack = false
  989. end
  990. end
  991. dattacktwo = function()
  992. stop = true
  993. if isblarghing == false then
  994. attack = true
  995. do
  996. for i = 0, 1, 0.15 do
  997. swait()
  998. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.7) * euler(-0.1, 0, 0), 0.3)
  999. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, -0.5), 0.3)
  1000. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.5, 0, 0.5) * euler(0, 0, 0), 0.3)
  1001. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1002. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2.7, 0, -0.2) * euler(0, 0, 0), 0.15)
  1003. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1004. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, -0.2) * euler(0, 0, 0), 0.3)
  1005. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, -0.2), 0.3)
  1006. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1007. do
  1008. if StaggerHit.Value == true then
  1009. break
  1010. end
  1011. -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1012.  
  1013. -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_STMT
  1014.  
  1015. end
  1016. end
  1017. end
  1018. end
  1019. local pl = part(3, workspace, 0, 1, BrickColor.new(NewCol), "Plane", vt(1, 1, 1))
  1020. local pmsh = mesh("SpecialMesh", pl, "FileMesh", "151778863", vt(0, 0, 0), vt(3, 3, 3))
  1021. local pwld = weld(pl, pl, LeftArm, euler(0, math.rad(180), math.rad(180)) * cf(0, 1.1, 0))
  1022. MagicBlock(BrickColor.new(NewCol), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0.5, 0.5, 0.5, 2, 2, 2, 0.15, 2)
  1023. pl.Transparency = 0
  1024. for i = 0, 1, 0.15 do
  1025. swait()
  1026. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.7) * euler(-0.3, 0, 0), 0.3)
  1027. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, -0.5), 0.3)
  1028. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.5, 0, 0.5) * euler(0, 0, 0), 0.3)
  1029. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1030. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(3.8, 0, -0.2) * euler(0, 0, 0), 0.3)
  1031. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1032. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, -0.2) * euler(0, 0, 0), 0.3)
  1033. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, -0.2), 0.3)
  1034. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1035. do
  1036. if StaggerHit.Value == true then
  1037. break
  1038. end
  1039. -- DECOMPILER ERROR at PC502: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1040.  
  1041. -- DECOMPILER ERROR at PC502: LeaveBlock: unexpected jumping out IF_STMT
  1042.  
  1043. end
  1044. end
  1045. end
  1046. pwld.Parent = nil
  1047. pl.Anchored = true
  1048. local MainPos = pl.Position
  1049. local MainPos2 = MMouse.Hit.p
  1050. local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  1051. coroutine.resume(coroutine.create(function(Pos1, Pos2, Look)
  1052. local num = 15
  1053. repeat
  1054. swait()
  1055. local ohit, opos = rayCast(Pos1, Look.lookVector, 5, Character)
  1056. pl.CFrame = CFrame.new((Pos1 + opos) / 2, opos)
  1057. MagicBlock(BrickColor.new("Pastel Blue"), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0.5, 0.5, 0.5, 1, 1, 1, 0.15, 2)
  1058. Pos1 = Pos1 + Look.lookVector * 5
  1059. pl.CFrame = CFrame.new(pl.Position, MMouse.Hit.p)
  1060. if ohit ~= nil then
  1061. num = 0
  1062. end
  1063. num = num - 1
  1064. until num <= 0
  1065. local ref = part(3, workspace, 0, 1, BrickColor.new("Pastel Blue"), "Effect", vt())
  1066. ref.Anchored = true
  1067. ref.CFrame = cf(pl.Position)
  1068. so("206049428", ref, 0.5, math.random(7, 10) / 10)
  1069. game:GetService("Debris"):AddItem(ref, 0.5)
  1070. local col = {"Pastel Blue", "Pastel Blue", "Pastel Blue"}
  1071. MagicCircle(BrickColor.new(col[math.random(1, #col)]), "Neon", cf(ref.Position), 2, 2, 2, 2.5, 2.5, 2.5, 0.1, 0.2)
  1072. for i = 1, 4 do
  1073. MagicBlock(BrickColor.new(col[math.random(1, #col)]), cf(ref.Position) * cf(math.random(-50, 50) / 100, math.random(-50, 50) / 100, math.random(-50, 50) / 100), 3, 3, 3, 1, 1, 1, 0.1)
  1074. end
  1075. MagniDamage(ref, 5, 6, 9, math.random(5, 10), "Knockdown2", ref, 0.15, 2, math.random(3, 7), false, true, false, "Movement", 0.02, 500)
  1076. pl.Parent = nil
  1077. end), MainPos, MainPos2, MouseLook)
  1078. for i = 0, 1, 0.2 do
  1079. swait()
  1080. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(-0.1, 0, 0), 0.5)
  1081. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, -0.5), 0.5)
  1082. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.5, 0, 0.2) * euler(0, 0, 0), 0.5)
  1083. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1084. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2.4, 0, -0.2) * euler(0, 0, 0), 0.5)
  1085. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1086. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, -0.2) * euler(0, 0, 0), 0.3)
  1087. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, -0.2), 0.3)
  1088. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1089. do
  1090. if StaggerHit.Value == true then
  1091. break
  1092. end
  1093. -- DECOMPILER ERROR at PC724: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1094.  
  1095. -- DECOMPILER ERROR at PC724: LeaveBlock: unexpected jumping out IF_STMT
  1096.  
  1097. end
  1098. end
  1099. end
  1100. attack = false
  1101. end
  1102. end
  1103. dattackthree = function()
  1104. stop = true
  1105. if isblarghing == false then
  1106. attack = true
  1107. for i = 0, 1, 0.15 do
  1108. swait()
  1109. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.1, 0, 0), 0.3)
  1110. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1111. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.5, 0, 0.2) * euler(0, 0, 0), 0.3)
  1112. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1113. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.5) * euler(0, 0, 0), 0.15)
  1114. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1115. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, 0.1) * euler(0, 0, 0), 0.3)
  1116. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.1), 0.3)
  1117. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1118. do
  1119. if StaggerHit.Value == true then
  1120. break
  1121. end
  1122. -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1123.  
  1124. -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_STMT
  1125.  
  1126. end
  1127. end
  1128. end
  1129. do
  1130. for i = 0, 1, 0.15 do
  1131. swait()
  1132. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.3, 0, 0), 0.3)
  1133. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1134. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.2, 0, 0.2) * euler(0, 0, 0), 0.3)
  1135. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1136. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.5) * euler(0, 0, 0), 0.3)
  1137. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1138. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, 0.1) * euler(0, 0, 0), 0.3)
  1139. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.1), 0.3)
  1140. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1141. do
  1142. if StaggerHit.Value == true then
  1143. break
  1144. end
  1145. -- DECOMPILER ERROR at PC406: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1146.  
  1147. -- DECOMPILER ERROR at PC406: LeaveBlock: unexpected jumping out IF_STMT
  1148.  
  1149. end
  1150. end
  1151. end
  1152. end
  1153. local ref2 = part(3, workspace, 0, 1, BrickColor.new("Pastel Blue"), "Effect", vt())
  1154. ref2.Anchored = true
  1155. ref2.CFrame = Character.HumanoidRootPart.CFrame * CFrame.new(Vector3.new(0, 7, 0), MMouse.Hit.p)
  1156. game:GetService("Debris"):AddItem(ref2, 1)
  1157. for i = -1, 1 do
  1158. local pl = part(3, workspace, 0, 1, BrickColor.new(NewCol), "Plane", vt(1, 1, 1))
  1159. local pmsh = mesh("SpecialMesh", pl, "FileMesh", "151778863", vt(0, 0, 0), vt(3, 3, 3))
  1160. pl.CFrame = ref2.CFrame * CFrame.new(i * 5, 0, 0)
  1161. MagicBlock(BrickColor.new(NewCol), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0.5, 0.5, 0.5, 2, 2, 2, 0.15, 2)
  1162. pl.Transparency = 0
  1163. pl.Anchored = true
  1164. local MainPos = pl.Position
  1165. local MainPos2 = MMouse.Hit.p + Vector3.new(i + math.random(-250, 250) / 100, i + math.random(-250, 250) / 100, i + math.random(-250, 250) / 100)
  1166. local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  1167. coroutine.resume(coroutine.create(function(Pos1, Pos2, Look)
  1168. local num = 25
  1169. repeat
  1170. swait()
  1171. local ohit, opos = rayCast(Pos1, Look.lookVector, 5, pl)
  1172. pl.CFrame = CFrame.new((Pos1 + opos) / 2, opos)
  1173. MagicBlock(BrickColor.new("Pastel Blue"), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0.5, 0.5, 0.5, 1, 1, 1, 0.15, 2)
  1174. Pos1 = Pos1 + Look.lookVector * 5
  1175. pl.CFrame = CFrame.new(pl.Position, MMouse.Hit.p)
  1176. if ohit ~= nil then
  1177. num = 0
  1178. end
  1179. num = num - 1
  1180. until num <= 0
  1181. local ref = part(3, workspace, 0, 1, BrickColor.new("Pastel Blue"), "Effect", vt())
  1182. ref.Anchored = true
  1183. ref.CFrame = cf(pl.Position)
  1184. so("206049428", ref, 0.5, math.random(7, 10) / 10)
  1185. game:GetService("Debris"):AddItem(ref, 0.5)
  1186. local col = {"Pastel Blue", "Pastel Blue", "Pastel Blue"}
  1187. MagicCircle(BrickColor.new(col[math.random(1, #col)]), "Neon", cf(ref.Position), 2, 2, 2, 2.5, 2.5, 2.5, 0.1, 0.2)
  1188. for i = 1, 4 do
  1189. MagicBlock(BrickColor.new(col[math.random(1, #col)]), cf(ref.Position) * cf(math.random(-50, 50) / 100, math.random(-50, 50) / 100, math.random(-50, 50) / 100), 3, 3, 3, 1, 1, 1, 0.1)
  1190. end
  1191. MagniDamage(ref, 5, 8, 12, math.random(5, 10), "Knockdown2", ref, 0.01, 2, math.random(3, 7), false, true, false, "Movement", 0.02, 500)
  1192. pl.Parent = nil
  1193. end), MainPos, MainPos2, MouseLook)
  1194. end
  1195. for i = 0, 1, 0.15 do
  1196. swait()
  1197. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
  1198. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1199. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 0) * euler(0, 0, 0), 0.3)
  1200. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1201. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.5) * euler(0, 0, 0), 0.3)
  1202. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1203. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, 0.1) * euler(0, 0, 0), 0.3)
  1204. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.1), 0.3)
  1205. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1206. do
  1207. if StaggerHit.Value == true then
  1208. break
  1209. end
  1210. -- DECOMPILER ERROR at PC780: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1211.  
  1212. -- DECOMPILER ERROR at PC780: LeaveBlock: unexpected jumping out IF_STMT
  1213.  
  1214. end
  1215. end
  1216. end
  1217. attack = false
  1218. end
  1219. end
  1220. dattackfour = function()
  1221. stop = true
  1222. if isblarghing == false then
  1223. attack = true
  1224. do
  1225. for i = 0, 1, 0.15 do
  1226. swait()
  1227. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.15, 0, 0), 0.3)
  1228. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1229. RW.C0 = clerp(RW.C0, cf(1.5, 1.2, 0) * euler(2.5, 0, 0.2) * euler(0, 0, 0), 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, 1.2, 0) * euler(2.5, 0, -0.2) * euler(0, 0, 0), 0.3)
  1232. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1233. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  1234. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  1235. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1236. do
  1237. if StaggerHit.Value == true then
  1238. break
  1239. end
  1240. -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1241.  
  1242. -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_STMT
  1243.  
  1244. end
  1245. end
  1246. end
  1247. end
  1248. for i = 0, 1, 0.15 do
  1249. swait()
  1250. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.25, 0, 0), 0.3)
  1251. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1252. RW.C0 = clerp(RW.C0, cf(1.5, 1.2, 0) * euler(3, 0, 0.2) * euler(0, 0, 0), 0.3)
  1253. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1254. LW.C0 = clerp(LW.C0, cf(-1.5, 1.2, 0) * euler(3, 0, -0.2) * euler(0, 0, 0), 0.3)
  1255. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1256. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  1257. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  1258. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1259. do
  1260. if StaggerHit.Value == true then
  1261. break
  1262. end
  1263. -- DECOMPILER ERROR at PC406: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1264.  
  1265. -- DECOMPILER ERROR at PC406: LeaveBlock: unexpected jumping out IF_STMT
  1266.  
  1267. end
  1268. end
  1269. end
  1270. local pl = part(3, workspace, 0, 1, BrickColor.new(NewCol), "Plane", vt(2, 2, 2))
  1271. local pmsh = mesh("SpecialMesh", pl, "FileMesh", "151778863", vt(0, 0, 0), vt(6, 6, 6))
  1272. local pwld = weld(pl, pl, RightArm, euler(0, math.rad(180), math.rad(180)) * cf(1.5, 2.6, 0))
  1273. MagicBlock(BrickColor.new(NewCol), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 5, 5, 5, 0.1, 2)
  1274. pl.Transparency = 0
  1275. for i = 0, 1, 0.15 do
  1276. swait()
  1277. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.45, 0, 0), 0.3)
  1278. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1279. RW.C0 = clerp(RW.C0, cf(1.5, 1.2, 0) * euler(3.8, 0, 0.2) * euler(0, 0, 0), 0.3)
  1280. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1281. LW.C0 = clerp(LW.C0, cf(-1.5, 1.2, 0) * euler(3.8, 0, -0.2) * euler(0, 0, 0), 0.3)
  1282. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1283. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  1284. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  1285. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1286. do
  1287. if StaggerHit.Value == true then
  1288. break
  1289. end
  1290. -- DECOMPILER ERROR at PC702: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1291.  
  1292. -- DECOMPILER ERROR at PC702: LeaveBlock: unexpected jumping out IF_STMT
  1293.  
  1294. end
  1295. end
  1296. end
  1297. pwld.Parent = nil
  1298. pl.Anchored = true
  1299. local MainPos = pl.Position
  1300. local MainPos2 = MMouse.Hit.p
  1301. local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  1302. coroutine.resume(coroutine.create(function(Pos1, Pos2, Look)
  1303. local num = 30
  1304. repeat
  1305. swait()
  1306. local ohit, opos = rayCast(Pos1, Look.lookVector, 20, pl)
  1307. pl.CFrame = CFrame.new((Pos1 + opos) / 2, opos)
  1308. MagicBlock(BrickColor.new("Pastel Blue"), cf(pl.Position) * cf(0, -0.55, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2.5, 2.5, 2.5, 2, 2, 2, 0.15, 2)
  1309. Pos1 = Pos1 + Look.lookVector * 5
  1310. pl.CFrame = CFrame.new(pl.Position, MMouse.Hit.p)
  1311. if ohit ~= nil then
  1312. num = 0
  1313. end
  1314. num = num - 1
  1315. until num <= 0
  1316. local ref = part(3, workspace, 0, 1, BrickColor.new("Pastel Blue"), "Effect", vt())
  1317. ref.Anchored = true
  1318. ref.CFrame = cf(pl.Position)
  1319. so("206049428", ref, 0.8, math.random(4, 6) / 10)
  1320. game:GetService("Debris"):AddItem(ref, 0.5)
  1321. local col = {"Pastel Blue", "Pastel Blue", "Pastel Blue"}
  1322. MagicCircle(BrickColor.new(col[math.random(1, #col)]), "Neon", cf(ref.Position), 5, 5, 5, 10.5, 10.5, 10.5, 0.1, 1)
  1323. for i = 1, 4 do
  1324. MagicBlock(BrickColor.new(col[math.random(1, #col)]), cf(ref.Position) * cf(math.random(-50, 50) / 100, math.random(-50, 50) / 100, math.random(-50, 50) / 100), 5, 5, 5, 6, 6, 6, 0.1)
  1325. end
  1326. MagniDamage(ref, 15, 10, 15, math.random(15, 25), "Knockdown2", ref, 0.15, 2, math.random(12, 20), false, true, false, "Defense", 0.05, 700)
  1327. pl.Parent = nil
  1328. end), MainPos, MainPos2, MouseLook)
  1329. for i = 0, 1, 0.2 do
  1330. swait()
  1331. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.35, 0, 0), 0.5)
  1332. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1333. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.4, 0, 0.2) * euler(0, 0, 0), 0.5)
  1334. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1335. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2.4, 0, -0.2) * euler(0, 0, 0), 0.5)
  1336. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1337. RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  1338. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  1339. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1340. do
  1341. if StaggerHit.Value == true then
  1342. break
  1343. end
  1344. -- DECOMPILER ERROR at PC924: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1345.  
  1346. -- DECOMPILER ERROR at PC924: LeaveBlock: unexpected jumping out IF_STMT
  1347.  
  1348. end
  1349. end
  1350. end
  1351. attack = false
  1352. end
  1353. end
  1354. do1 = function()
  1355. if attack == true then
  1356. return
  1357. end
  1358. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1359. return
  1360. end
  1361. if cooldownmax <= cooldowns[1] and mana.Value >= 15 then
  1362. stop = false
  1363. attack = true
  1364. isblarghing = true
  1365. cooldowns[1] = 0
  1366. s = Character.Torso
  1367. local p = Instance.new("Sound", s)
  1368. p.SoundId = "http://www.roblox.com/asset/?id=" .. "261637593"
  1369. p.Volume = 1
  1370. game:GetService("Debris"):AddItem(p, 4)
  1371. p:Play()
  1372. wait(0.1)
  1373. s.Parent.Humanoid.PlatformStand = true
  1374. local v = Instance.new("BodyVelocity", s)
  1375. v.P = 5000
  1376. v.maxForce = Vector3.new(545000, 545000, 545000)
  1377. local Dist = 80
  1378. v.velocity = s.CFrame.lookVector * Dist + Vector3.new(0, Dist, 0)
  1379. game:GetService("Debris"):AddItem(v, 0.25)
  1380. s.Parent.Humanoid.PlatformStand = true
  1381. s.RotVelocity = Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) / 2
  1382. wait(0.175)
  1383. local x = false
  1384. attack = false
  1385. for i = 1, 500 do
  1386. swait()
  1387. MagicBlock(BrickColor.new("Pastel Blue"), RootPart.CFrame * euler(math.rad(math.random(1, 360)), math.rad(math.random(1, 360)), math.rad(math.random(1, 360))), 1, 1, 1, 3, 3, 3, 0.1)
  1388. for _,v in pairs(s:children()) do
  1389. hitfloord = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  1390. if v.className == "Motor" or v.className == "Weld" or v.className == "Motor6D" then
  1391. v.C0 = v.C0 * CFrame.Angles(math.random(-50, 50) / 30, math.random(-50, 50) / 30, math.random(-50, 50) / 30)
  1392. end
  1393. end
  1394. if stop then
  1395. s.Parent.Humanoid.PlatformStand = false
  1396. Torso.Velocity = Vector3.new(0, -100, 0)
  1397. MagicBlock(BrickColor.new("Pastel Blue"), RootPart.CFrame * euler(math.rad(math.random(1, 360)), math.rad(math.random(1, 360)), math.rad(math.random(1, 360))), 1, 1, 1, 10, 10, 10, 0.07)
  1398. MagicWave(BrickColor.new("Pastel Blue"), cf(RootPart.Position) * euler(math.rad(math.random(-20, 20)), math.rad(math.random(-200, 200)), 0), 1, 0.5, 1, 3, 3, 3, 0.15)
  1399. end
  1400. if hitfloord then
  1401. s.Parent.Humanoid.PlatformStand = false
  1402. break
  1403. end
  1404. end
  1405. do
  1406. MagniDamage(RootPart, 25, 15, 20, math.random(75, 105), "Normal", RootPart, 0.15, 2, math.random(55, 97), true, true, false, "Movement", 0.25, 400)
  1407. MagicWave(BrickColor.new("Pastel Blue"), cf(RootPart.Position) * cf(0, 0, 0), 1.5, 4, 1.5, 1.5, 0.5, 1.5, 0.05)
  1408. MagicBlock(BrickColor.new("Pastel Blue"), cf(RootPart.Position) * cf(0, 0, 0), 1.5, 4, 1.5, 8, 8, 8, 0.05)
  1409. p = Instance.new("Sound", s)
  1410. p.SoundId = "http://www.roblox.com/asset/?id=" .. "157878578"
  1411. p.Volume = 1
  1412. p.Pitch = 0.9
  1413. p:Play()
  1414. game:GetService("Debris"):AddItem(p, 4)
  1415. showDamage(Character, 0, "Damage")
  1416. s.Parent.Humanoid:TakeDamage(0)
  1417. isblarghing = false
  1418. end
  1419. end
  1420. end
  1421. bombmeshes = {
  1422. {mesh = "http://www.roblox.com/asset/?id=151778863", texture = "http://www.roblox.com/asset/?id=151778895", offset = Vector3.new(0, 7.25, 0), size = Vector3.new(8, 8, 8)}
  1423. ,
  1424. {mesh = "http://www.roblox.com/asset/?id=151778863", texture = "http://www.roblox.com/asset/?id=151778895", offset = Vector3.new(0, 7.25, 0), size = Vector3.new(8, 8, 8)}
  1425. ,
  1426. {mesh = "http://www.roblox.com/asset/?id=151778863", texture = "http://www.roblox.com/asset/?id=151778895", offset = Vector3.new(0, 7.25, 0), size = Vector3.new(8, 8, 8)}
  1427. }
  1428. xl = {"316012158", "316012174", "316012192"}
  1429. xe = {"316012212", "316012229", "316012256", "316012287"}
  1430. do2 = function()
  1431. if attack == true then
  1432. return
  1433. end
  1434. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1435. return
  1436. end
  1437. if cooldownmax <= cooldowns[2] and mana.Value >= 20 then
  1438. stop = false
  1439. attack = true
  1440. cooldowns[2] = 10
  1441. s = Character.Torso
  1442. local p = Instance.new("Sound", s)
  1443. p.SoundId = "http://www.roblox.com/asset/?id=" .. xe[math.random(1, #xe)]
  1444. p.Volume = 1
  1445. game:GetService("Debris"):AddItem(p, 4)
  1446. p:Play()
  1447. for i = 1, 15 do
  1448. swait()
  1449. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.15)
  1450. Neck.C0 = clerp(Neck.C0, necko * euler(-0.7, 0, 0), 0.3)
  1451. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.25)
  1452. RW.C0 = clerp(RW.C0, cf(1.3, 1.15, 0) * euler(math.pi, 0, 0) * euler(0, 0, 0.2), 0.25)
  1453. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1454. LW.C0 = clerp(LW.C0, cf(-1.3, 1.15, 0) * euler(-math.pi, 0, 0) * euler(0, 0, -0.2), 0.25)
  1455. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1456. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.25)
  1457. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.25)
  1458. end
  1459. local b = Instance.new("Part", workspace)
  1460. b.Name = "HEIL"
  1461. b.TopSurface = 0
  1462. b.BottomSurface = 0
  1463. b.formFactor = "Symmetric"
  1464. b.CanCollide = false
  1465. b.Size = Vector3.new(5, 5, 5)
  1466. local m = Instance.new("SpecialMesh", b)
  1467. m.MeshType = "FileMesh"
  1468. local rnd = math.random(0, 100)
  1469. local rand = math.random(1, 2)
  1470. if rnd <= 20 then
  1471. rand = 3
  1472. end
  1473. m.MeshId = bombmeshes[rand].mesh
  1474. m.TextureId = bombmeshes[rand].texture
  1475. m.Scale = bombmeshes[rand].size
  1476. b.Transparency = 1
  1477. local w = Instance.new("Weld", b)
  1478. w.Part0 = s
  1479. w.Part1 = b
  1480. w.C0 = CFrame.new(bombmeshes[rand].offset)
  1481. local sus = Instance.new("ParticleEmitter", b)
  1482. sus.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  1483. sus.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 5), NumberSequenceKeypoint.new(1, 10)})
  1484. sus.Lifetime = NumberRange.new(1.5, 2.25)
  1485. sus.RotSpeed = NumberRange.new(-20, 20)
  1486. sus.Rotation = NumberRange.new(-360, 360)
  1487. sus.Texture = "http://www.roblox.com/asset/?id=133619974"
  1488. sus.Speed = NumberRange.new(2, 6)
  1489. sus.Acceleration = Vector3.new(0, 0, 0)
  1490. sus.VelocitySpread = 30
  1491. sus.LockedToPart = true
  1492. sus.Rate = 200
  1493. for i = 1, 10 do
  1494. b.Transparency = 1 - i / 10
  1495. swait()
  1496. end
  1497. sus.Enabled = false
  1498. wait(math.random(20, 40) / 10)
  1499. local p = Instance.new("Sound", s)
  1500. p.SoundId = "http://www.roblox.com/asset/?id=" .. xl[math.random(1, #xl)]
  1501. p.Volume = 1
  1502. p:Play()
  1503. game:GetService("Debris"):AddItem(p, 4)
  1504. MagniDamage(RootPart, 45, 30, 40, math.random(150, 250), "Normal", b, 0.05, 2, 9999, false, false, false, "Defense", 0.2, 550)
  1505. local p = Instance.new("Sound", b)
  1506. p.SoundId = "http://www.roblox.com/asset/?id=" .. "216782105"
  1507. p.Pitch = 0.8
  1508. p.Volume = 1
  1509. p:Play()
  1510. game:GetService("Debris"):AddItem(p, 4)
  1511. local eff = Instance.new("Part", workspace)
  1512. eff.formFactor = "Custom"
  1513. eff.Size = Vector3.new(1, 1, 1)
  1514. eff.CFrame = b.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15))
  1515. eff.BrickColor = BrickColor.new("Pastel Blue")
  1516. local m = Instance.new("BlockMesh", eff)
  1517. m.Scale = Vector3.new(10, 10, 10)
  1518. eff.Parent = workspace
  1519. eff.Name = "Bewm"
  1520. eff.Anchored = true
  1521. eff.CanCollide = false
  1522. game:GetService("Debris"):AddItem(eff, 5)
  1523. coroutine.resume(coroutine.create(function(p, V, x)
  1524. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1525. for i = 1, 30 do
  1526. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(25.5, 25.5, 25.5) / 20
  1527. p.Transparency = i / 30
  1528. p.CFrame = p.CFrame * V
  1529. swait()
  1530. end
  1531. p:Remove()
  1532. end), eff, CFrame.Angles(math.rad(math.random(-6, 6)), math.rad(math.random(-6, 6)), math.rad(math.random(-6, 6))))
  1533. local eff = Instance.new("Part", workspace)
  1534. eff.formFactor = "Custom"
  1535. eff.Size = Vector3.new(1, 1, 1)
  1536. eff.CFrame = b.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15))
  1537. eff.BrickColor = BrickColor.new("Pastel Blue")
  1538. local m = Instance.new("BlockMesh", eff)
  1539. m.Scale = Vector3.new(10, 10, 10)
  1540. eff.Parent = workspace
  1541. eff.Name = "Bewm"
  1542. eff.Anchored = true
  1543. eff.CanCollide = false
  1544. game:GetService("Debris"):AddItem(eff, 5)
  1545. coroutine.resume(coroutine.create(function(p, V, x)
  1546. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1547. for i = 1, 30 do
  1548. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(37.5, 37.5, 37.5) / 20
  1549. p.Transparency = i / 30
  1550. p.CFrame = p.CFrame * V
  1551. swait()
  1552. end
  1553. p:Remove()
  1554. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  1555. local eff = Instance.new("Part", workspace)
  1556. eff.formFactor = "Custom"
  1557. eff.Size = Vector3.new(1, 1, 1)
  1558. eff.CFrame = b.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15))
  1559. eff.BrickColor = BrickColor.new("Pastel Blue")
  1560. local m = Instance.new("BlockMesh", eff)
  1561. m.Scale = Vector3.new(10, 10, 10)
  1562. eff.Parent = workspace
  1563. eff.Name = "Bewm"
  1564. eff.Anchored = true
  1565. eff.CanCollide = false
  1566. game:GetService("Debris"):AddItem(eff, 5)
  1567. coroutine.resume(coroutine.create(function(p, V, x)
  1568. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1569. for i = 1, 30 do
  1570. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(55, 55, 55) / 20
  1571. p.Transparency = i / 30
  1572. p.CFrame = p.CFrame * V
  1573. swait()
  1574. end
  1575. p:Remove()
  1576. end), eff, CFrame.Angles(math.rad(math.random(-10, 10)), math.rad(math.random(-10, 10)), math.rad(math.random(-10, 10))))
  1577. hitfloord = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  1578. local eff = Instance.new("Part", workspace)
  1579. eff.formFactor = "Custom"
  1580. eff.Size = Vector3.new(1, 1, 1)
  1581. eff.CFrame = CFrame.new(RootPart.Position)
  1582. eff.BrickColor = BrickColor.new("Pastel Blue")
  1583. local m = Instance.new("SpecialMesh", eff)
  1584. m.MeshType = "FileMesh"
  1585. m.MeshId = "http://www.roblox.com/asset/?id=151778863"
  1586. m.Scale = Vector3.new(10, 10, 10)
  1587. eff.Parent = workspace
  1588. eff.Name = "Bewm"
  1589. eff.Anchored = true
  1590. eff.CanCollide = false
  1591. game:GetService("Debris"):AddItem(eff, 5)
  1592. coroutine.resume(coroutine.create(function(p, V, x)
  1593. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1594. for i = 1, 30 do
  1595. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(55, 55, 55) / 20
  1596. p.Transparency = i / 30
  1597. p.CFrame = p.CFrame * V
  1598. swait()
  1599. end
  1600. p:Remove()
  1601. end), eff, CFrame.Angles(0, math.rad(math.random(-10, 9) * 3 + 5), 0))
  1602. local eff = Instance.new("Part", workspace)
  1603. eff.formFactor = "Custom"
  1604. eff.Size = Vector3.new(1, 1, 1)
  1605. eff.CFrame = CFrame.new(RootPart.Position)
  1606. eff.BrickColor = BrickColor.new("Institutional white")
  1607. local m = Instance.new("SpecialMesh", eff)
  1608. m.MeshType = "FileMesh"
  1609. m.MeshId = "http://www.roblox.com/asset/?id=151778863"
  1610. m.Scale = Vector3.new(10, 10, 10)
  1611. eff.Parent = workspace
  1612. eff.Name = "Bewm"
  1613. eff.Anchored = true
  1614. eff.CanCollide = false
  1615. game:GetService("Debris"):AddItem(eff, 5)
  1616. coroutine.resume(coroutine.create(function(p, V, x)
  1617. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1618. for i = 1, 12 do
  1619. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(100, 100, 100) / 12
  1620. p.Transparency = 0.5 + i / 24
  1621. p.CFrame = p.CFrame * V
  1622. swait()
  1623. end
  1624. p:Remove()
  1625. end), eff, CFrame.Angles(0, math.rad(math.random(-10, 9) * 3 + 5), 0))
  1626. b:BreakJoints()
  1627. b.Transparency = 1
  1628. b.Anchored = true
  1629. game:GetService("Debris"):AddItem(b, 5)
  1630. showDamage(Character, 0, "Damage")
  1631. s.Parent.Stats.Stun.Value = 1
  1632. s.Parent.Humanoid:TakeDamage(0)
  1633. local v = Instance.new("BodyVelocity", s)
  1634. v.velocity = Vector3.new(math.random(-50, 50), math.random(5, 50), math.random(-50, 50)).unit * 70 + Vector3.new(0, 20, 0)
  1635. v.maxForce = Vector3.new(545000, 545000, 545000)
  1636. game:GetService("Debris"):AddItem(v, 0.3)
  1637. local v = Instance.new("BodyAngularVelocity", s)
  1638. do
  1639. v.angularvelocity = Vector3.new(math.random(-50, 50), math.random(5, 50), math.random(-50, 50)).unit * 20
  1640. v.maxTorque = Vector3.new(500000000, 500000000, 500000000)
  1641. game:GetService("Debris"):AddItem(v, 0.6)
  1642. local sus = Instance.new("ParticleEmitter", s)
  1643. sus.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  1644. sus.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2), NumberSequenceKeypoint.new(1, 6)})
  1645. sus.Lifetime = NumberRange.new(1, 2)
  1646. sus.RotSpeed = NumberRange.new(-20, 20)
  1647. sus.Rotation = NumberRange.new(-360, 360)
  1648. sus.Texture = "http://www.roblox.com/asset/?id=133619974"
  1649. sus.Speed = NumberRange.new(0, 0)
  1650. sus.Acceleration = Vector3.new(0, 5, 0)
  1651. sus.VelocitySpread = 180
  1652. sus.Rate = 20
  1653. coroutine.resume(coroutine.create(function(p)
  1654. wait(2)
  1655. p.Enabled = false
  1656. end), sus)
  1657. if rand == 3 then
  1658. local p = Instance.new("Sound", b)
  1659. p.SoundId = "http://www.roblox.com/asset/?id=" .. "270620358"
  1660. p.Pitch = 1
  1661. p.Volume = 1
  1662. p:Play()
  1663. game:GetService("Debris"):AddItem(p, 4)
  1664. local Torso = b
  1665. for i = 1, math.random(26, 34) do
  1666. local s = math.random(100, 125) / 100
  1667. if math.random(1, 20) == 20 then
  1668. s = math.random(225, 250) / 100 * 2
  1669. end
  1670. local p = Instance.new("Part", workspace)
  1671. p.Name = "BONUSDUCK"
  1672. p.TopSurface = 0
  1673. p.BottomSurface = 0
  1674. p.formFactor = "Custom"
  1675. p.Size = Vector3.new(s, s, s)
  1676. p.BrickColor = BrickColor.new("Pastel Blue")
  1677. p.CanCollide = false
  1678. p.CFrame = Torso.CFrame * CFrame.new(math.random(-5, 5) / 10, 0, math.random(-5, 5) / 10) * CFrame.fromEulerAnglesXYZ(0, math.random(-50, 50) / 10, 0)
  1679. local dir = Torso.CFrame * CFrame.new(0, 0, 1) * CFrame.fromEulerAnglesXYZ(0, math.rad(math.random(-180, 180)), 0).lookVector
  1680. p.Velocity = (dir * (math.random(58, 80) / 10) + Vector3.new(0, math.random(20, 25), 0)) * math.random(1, 3)
  1681. local r = Instance.new("BodyAngularVelocity")
  1682. r.Parent = p
  1683. r.angularvelocity = Vector3.new(0, 3, 0)
  1684. p.Friction = 0.5
  1685. local f = Instance.new("BodyForce", p)
  1686. f.force = Vector3.new(0, p:GetMass() * 90, 0)
  1687. Instance.new("BodyGyro", p)
  1688. m = Instance.new("SpecialMesh", p)
  1689. m.MeshType = "FileMesh"
  1690. m.MeshId = "http://www.roblox.com/asset/?id=151778863"
  1691. m.TextureId = "http://www.roblox.com/asset/?id=151778895"
  1692. m.Scale = p.Size
  1693. local rr = math.random(1, 3)
  1694. if rr == 3 then
  1695. m.VertexColor = Vector3.new(0.85, 0.85, 0.85)
  1696. else
  1697. if rr == 2 then
  1698. m.VertexColor = Vector3.new(1, 0.8, 0.8)
  1699. else
  1700. if rr == 1 then
  1701. m.VertexColor = Vector3.new(0.8, 1, 0.8)
  1702. end
  1703. end
  1704. end
  1705. game:GetService("RunService").Heartbeat:wait()
  1706. coroutine.resume(coroutine.create(function(e)
  1707. wait(1)
  1708. e.CanCollide = true
  1709. game:GetService("Debris"):AddItem(e, 17.5)
  1710. e.Touched:connect(function(hit)
  1711. if hit.Parent and hit.Parent:FindFirstChild("Humanoid") and e:FindFirstChild("BONUSDUCK") == nil then
  1712. hit.Parent.Humanoid:TakeDamage(-2.5)
  1713. if hit.Parent:FindFirstChild("Decrease") then
  1714. s = Instance.new("IntValue", hit.Parent.Decrease)
  1715. s.Name = "DecreaseAtk"
  1716. s.Value = -10
  1717. game:GetService("Debris"):AddItem(s, 30)
  1718. end
  1719. pp = Instance.new("BoolValue", e)
  1720. pp.Name = "BONUSDUCK"
  1721. e.Transparency = 1
  1722. e.Anchored = true
  1723. e.CanCollide = false
  1724. local ss = Instance.new("Sparkles", e)
  1725. local so = {"261637666", "261637644", "261637620", "261637599", "261637593"}
  1726. local sp = Instance.new("Sound", e)
  1727. sp.Volume = -0.15 + e.Size.x
  1728. sp.SoundId = "http://www.roblox.com/asset/?id=" .. so[math.random(1, 5)]
  1729. sp:Play()
  1730. wait(0.33)
  1731. ss.Enabled = false
  1732. wait(1)
  1733. e:Remove()
  1734. end
  1735. end)
  1736. wait(10 + math.random(0, 20) / 20)
  1737. if e.Parent and e:FindFirstChild("BONUSDUCK") == nil then
  1738. for i = 1, 4 do
  1739. e.Transparency = 1
  1740. wait(0.2)
  1741. e.Transparency = 0
  1742. wait(0.2)
  1743. end
  1744. e.Parent = nil
  1745. end
  1746. end), p)
  1747. end
  1748. -- DECOMPILER ERROR at PC1398: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1749.  
  1750. -- DECOMPILER ERROR at PC1398: LeaveBlock: unexpected jumping out IF_STMT
  1751.  
  1752. end
  1753. end
  1754. end
  1755. attack = false
  1756. end
  1757. do3 = function()
  1758. speech = {316403490, 316403787, 316403844, 316403916}
  1759. if attack == true then
  1760. return
  1761. end
  1762. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1763. return
  1764. end
  1765. if cooldownmax <= cooldowns[3] and mana.Value >= 25 then
  1766. attack = true
  1767. removeControl()
  1768. local dec = Instance.new("NumberValue", Decrease)
  1769. dec.Name = "DecreaseMvmt"
  1770. dec.Value = 10
  1771. mana.Value = mana.Value - 25
  1772. num = 0
  1773. local dec2 = Instance.new("NumberValue", Decrease)
  1774. dec2.Name = "DecreaseDef"
  1775. dec2.Value = -10
  1776. local pod = part(3, workspace, 0, 0, BrickColor.new("Reddish brown"), "Podium", vt(2, 2.5, 2), "WoodPlanks", true)
  1777. pod.CFrame = Torso.CFrame * CFrame.new(0, -1.8, -2)
  1778. for i = 1, 4 do
  1779. MagicCloud(BrickColor.new("White"), cf(pod.Position) * cf(math.random(-80, 80) / 100, math.random(-100, 150) / 100, math.random(-80, 80) / 100) * euler(math.rad(math.random(-180, 180)), math.rad(math.random(-180, 180)), math.rad(math.random(-180, 180))), 3, 5, 5, 0.1, 0.1, 0.1, 0.05)
  1780. end
  1781. pod.Rotation = Torso.Rotation
  1782. pod.CanCollide = true
  1783. local pod2 = part(3, workspace, 0, 0, BrickColor.new("Reddish brown"), "Podium", vt(2, 1, 2), "WoodPlanks", true)
  1784. local msh = mesh("SpecialMesh", pod2, "Wedge", "nil", vt(0, 0, 0), vt(1, 1, 1))
  1785. pod2.CFrame = pod.CFrame * CFrame.new(0, 1.75, 0)
  1786. pod2.Rotation = pod.Rotation + Vector3.new(0, 180, 0)
  1787. pod2.CanCollide = true
  1788. speeching = true
  1789. local snd = Instance.new("Sound", Head)
  1790. snd.Volume = 1
  1791. snd.SoundId = "http://www.roblox.com/asset/?id=" .. speech[math.random(1, #speech)]
  1792. game:GetService("Debris"):AddItem(snd, snd.TimeLength + 5)
  1793. for i = 0, 1, 0.1 do
  1794. swait()
  1795. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0, 0, 0), 0.3)
  1796. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1797. RW.C0 = clerp(RW.C0, cf(1.35, 0.5, -0.5) * euler(1.1, 0, -0.15) * euler(0, 0, 0), 0.3)
  1798. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1799. LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.3)
  1800. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1801. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.3)
  1802. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.3)
  1803. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1804. do
  1805. if StaggerHit.Value == true then
  1806. break
  1807. end
  1808. -- DECOMPILER ERROR at PC441: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1809.  
  1810. -- DECOMPILER ERROR at PC441: LeaveBlock: unexpected jumping out IF_STMT
  1811.  
  1812. end
  1813. end
  1814. end
  1815. snd:Play()
  1816. numofanim = 0
  1817. deb = false
  1818. while speeching do
  1819. swait()
  1820. num = num + 1
  1821. local rng = math.random(0, 100)
  1822. if 90 + numofanim < rng and deb == false then
  1823. coroutine.resume(coroutine.create(function()
  1824. deb = true
  1825. local anim = math.random(0, 100)
  1826. if anim <= 25 then
  1827. numofanim = numofanim + 2
  1828. for i = 0, 1, 0.1 do
  1829. swait()
  1830. Neck.C0 = clerp(Neck.C0, necko * euler(-0.15, 0, -0.2) * euler(0, 0, 0), 0.3)
  1831. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1832. RW.C0 = clerp(RW.C0, cf(1.35, 0.5, -0.5) * euler(2.3, 0, 0.2) * euler(0, 0, 0), 0.3)
  1833. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1834. LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.3)
  1835. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1836. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.3)
  1837. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.3)
  1838. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1839. do
  1840. if StaggerHit.Value == true then
  1841. break
  1842. end
  1843. -- DECOMPILER ERROR at PC211: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1844.  
  1845. -- DECOMPILER ERROR at PC211: LeaveBlock: unexpected jumping out IF_STMT
  1846.  
  1847. end
  1848. end
  1849. end
  1850. for i = 0, 1, 0.025 do
  1851. swait()
  1852. end
  1853. for i = 0, 1, 0.1 do
  1854. swait()
  1855. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0, 0, 0), 0.3)
  1856. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1857. RW.C0 = clerp(RW.C0, cf(1.35, 0.5, -0.5) * euler(1.1, 0, -0.15) * euler(0, 0, 0), 0.3)
  1858. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1859. LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.3)
  1860. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1861. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.3)
  1862. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.3)
  1863. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1864. do
  1865. if StaggerHit.Value == true then
  1866. break
  1867. end
  1868. -- DECOMPILER ERROR at PC418: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1869.  
  1870. -- DECOMPILER ERROR at PC418: LeaveBlock: unexpected jumping out IF_STMT
  1871.  
  1872. end
  1873. end
  1874. end
  1875. else
  1876. if anim > 25 and anim <= 50 then
  1877. numofanim = numofanim + 2
  1878. local reps = math.random(2, 4)
  1879. local repsdone = 0
  1880. repeat
  1881. for i = 0, 1, 0.15 do
  1882. swait()
  1883. Neck.C0 = clerp(Neck.C0, necko * euler(0.15, 0.1, 0) * euler(0, 0, 0), 0.15)
  1884. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.15)
  1885. RW.C0 = clerp(RW.C0, cf(1.35, 0.5, -0.5) * euler(2, 0, -0.15) * euler(0, 0, 0), 0.15)
  1886. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  1887. LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.15)
  1888. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  1889. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.15)
  1890. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.15)
  1891. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1892. do
  1893. if StaggerHit.Value == true then
  1894. break
  1895. end
  1896. -- DECOMPILER ERROR at PC632: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1897.  
  1898. -- DECOMPILER ERROR at PC632: LeaveBlock: unexpected jumping out IF_STMT
  1899.  
  1900. end
  1901. end
  1902. end
  1903. for i = 0, 1, 0.1 do
  1904. swait()
  1905. Neck.C0 = clerp(Neck.C0, necko * euler(0.1, 0, 0) * euler(0, 0, 0), 0.5)
  1906. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1907. RW.C0 = clerp(RW.C0, cf(1.35, 0.3, -0.5) * euler(1.4, 0, -0.15) * euler(0, 0, 0), 0.7)
  1908. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1909. LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.5)
  1910. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1911. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.5)
  1912. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.5)
  1913. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1914. do
  1915. if StaggerHit.Value == true then
  1916. break
  1917. end
  1918. -- DECOMPILER ERROR at PC832: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1919.  
  1920. -- DECOMPILER ERROR at PC832: LeaveBlock: unexpected jumping out IF_STMT
  1921.  
  1922. end
  1923. end
  1924. end
  1925. repsdone = repsdone + 1
  1926. until repsdone == reps
  1927. else
  1928. do
  1929. if anim > 50 and anim <= 75 then
  1930. numofanim = numofanim + 2
  1931. for i = 0, 1, 0.1 do
  1932. swait()
  1933. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0) * euler(0, 0, 0), 0.3)
  1934. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1935. RW.C0 = clerp(RW.C0, cf(1.35, 0.5, -0.5) * euler(1.1, 0, -0.15) * euler(0, 0, 0), 0.3)
  1936. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1937. LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.3)
  1938. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1939. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.3)
  1940. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.3)
  1941. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1942. do
  1943. if StaggerHit.Value == true then
  1944. break
  1945. end
  1946. -- DECOMPILER ERROR at PC1043: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1947.  
  1948. -- DECOMPILER ERROR at PC1043: LeaveBlock: unexpected jumping out IF_STMT
  1949.  
  1950. end
  1951. end
  1952. end
  1953. for i = 0, 1, 0.25 do
  1954. swait()
  1955. end
  1956. for i = 0, 1, 0.1 do
  1957. swait()
  1958. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0, 0, 0), 0.5)
  1959. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1960. RW.C0 = clerp(RW.C0, cf(1.35, 0.5, -0.5) * euler(1.1, 0, -0.15) * euler(0, 0, 0), 0.5)
  1961. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1962. LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.5)
  1963. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1964. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.5)
  1965. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.5)
  1966. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1967. do
  1968. if StaggerHit.Value == true then
  1969. break
  1970. end
  1971. -- DECOMPILER ERROR at PC1250: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1972.  
  1973. -- DECOMPILER ERROR at PC1250: LeaveBlock: unexpected jumping out IF_STMT
  1974.  
  1975. end
  1976. end
  1977. end
  1978. end
  1979. deb = false
  1980. end
  1981. end
  1982. end
  1983. end))
  1984. end
  1985. if snd.TimeLength * 30 <= num then
  1986. speeching = false
  1987. end
  1988. end
  1989. do
  1990. do
  1991. local col = {"Pastel Blue", "Pastel Blue", "Pastel Blue"}
  1992. MagicCircle(BrickColor.new(col[math.random(1, #col)]), "Neon", cf(pod.Position), 5, 5, 5, 10.5, 10.5, 10.5, 0.1, 1)
  1993. for i = 1, 4 do
  1994. MagicBlock(BrickColor.new(col[math.random(1, #col)]), cf(pod.Position) * cf(math.random(-50, 50) / 100, math.random(-50, 50) / 100, math.random(-50, 50) / 100), 5, 5, 5, 6, 6, 6, 0.1)
  1995. end
  1996. so("216782105", pod, 0.5, 1.5)
  1997. MagniDamage(pod, 15, 15, 20, math.random(35, 55), "Normal", pod, 0.15, 2, math.random(55, 97), true, true, false)
  1998. MagniBuff(RootPart, 45, "Defense", -1, 800)
  1999. MagniBuff(RootPart, 45, "Movement", -1, 800)
  2000. MagniBuff(RootPart, 45, "Damage", -125, 800)
  2001. showDamage(Character, 1337, "Damage")
  2002. Character.Humanoid:TakeDamage(-9001)
  2003. Stagger.Value = true
  2004. cooldowns[3] = 0
  2005. pod.Parent = nil
  2006. pod2.Parent = nil
  2007. dec.Parent = nil
  2008. dec2.Parent = nil
  2009. attack = false
  2010. resumeControl()
  2011. end
  2012. end
  2013. end
  2014. end
  2015. do4 = function()
  2016. if attack == true then
  2017. return
  2018. end
  2019. if Player.Name == Player.Name then
  2020. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  2021. return
  2022. end
  2023. local hitfloord, posfloord = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  2024. if cooldownmax <= cooldowns[4] and mana.Value >= 50 then
  2025. attack = true
  2026. stop = true
  2027. mana.Value = mana.Value - 50
  2028. local s = game.Players.LocalPlayer.Character.Torso
  2029. do
  2030. local p = Instance.new("Sound", s)
  2031. p.SoundId = "http://www.roblox.com/asset/?id=" .. xl[math.random(1, #xl)]
  2032. p.Volume = 1
  2033. game:GetService("Debris"):AddItem(p, 4)
  2034. p:Play()
  2035. local sl = Instance.new("IntValue", s.Parent.Stats.Decrease)
  2036. sl.Name = "DecreaseMvmt"
  2037. sl.Value = 100
  2038. local xdir = RootPart.CFrame.lookVector
  2039. local xpos = posfloord - Vector3.new(0, 66, 0) + xdir * 25
  2040. local building = Instance.new("Model", workspace)
  2041. local p = Instance.new("Part", building)
  2042. p.TopSurface = 0
  2043. p.BottomSurface = 0
  2044. p.Anchored = true
  2045. p.CanCollide = true
  2046. p.formFactor = "Symmetric"
  2047. p.Material = "Concrete"
  2048. p.Size = Vector3.new(30, 90, 30)
  2049. p.CFrame = CFrame.new(xpos, xpos + RootPart.CFrame.lookVector * 5)
  2050. building.PrimaryPart = p
  2051. local ps = Instance.new("Part", workspace)
  2052. ps.Anchored = true
  2053. ps.CanCollide = false
  2054. ps.CFrame = CFrame.new(posfloord + RootPart.CFrame.lookVector * 25)
  2055. ps.Size = Vector3.new(33, 1, 33)
  2056. ps.Transparency = 1
  2057. local pem = Instance.new("ParticleEmitter", ps)
  2058. pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2059. pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 5), NumberSequenceKeypoint.new(1, 10)})
  2060. pem.Lifetime = NumberRange.new(2.5, 3.5)
  2061. pem.RotSpeed = NumberRange.new(-100, 100)
  2062. pem.Rotation = NumberRange.new(-350, 350)
  2063. pem.Texture = "http://www.roblox.com/asset/?id=133619974"
  2064. pem.Speed = NumberRange.new(0, 0)
  2065. pem.Acceleration = Vector3.new(0, 0, 0)
  2066. pem.VelocitySpread = 180
  2067. pem.Rate = 250
  2068. pem.Enabled = false
  2069. for y = -1, 3 do
  2070. for r = -1, 1 do
  2071. local p = Instance.new("Part", building)
  2072. p.TopSurface = 0
  2073. p.BottomSurface = 0
  2074. p.Anchored = true
  2075. p.CanCollide = false
  2076. p.formFactor = "Custom"
  2077. p.Size = Vector3.new(30.1, 8, 8)
  2078. p.CFrame = building.PrimaryPart.CFrame * CFrame.new(0, 14 * y - 8, 10 * r)
  2079. p.BrickColor = BrickColor.new("Pastel Blue")
  2080. p.Reflectance = 0.33
  2081. p.Material = "Neon"
  2082. end
  2083. end
  2084. local cam = workspace.CurrentCamera
  2085. cam.CameraType = "Scriptable"
  2086. cam:Interpolate(building.PrimaryPart.CFrame * CFrame.new(0, 120, 0) - xdir * 100, building.PrimaryPart.CFrame * CFrame.new(0, 100, 0), 4)
  2087. for i = 1, 15 do
  2088. swait()
  2089. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.1)
  2090. Neck.C0 = clerp(Neck.C0, necko * euler(0.7, 0, 0), 0.3)
  2091. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.2)
  2092. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0) * euler(-0.6, 0, 0) * euler(0, 0, 0.4), 0.2)
  2093. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2094. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.4), 0.2)
  2095. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2096. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.2)
  2097. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.2)
  2098. building:SetPrimaryPartCFrame(CFrame.new(xpos + Vector3.new(0, i, 0) + Vector3.new(math.random(-100, 100) / 100, 0, math.random(-100, 100) / 100)))
  2099. end
  2100. pem.Enabled = true
  2101. for i = 1, 25 do
  2102. swait()
  2103. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.05)
  2104. Neck.C0 = clerp(Neck.C0, necko * euler(-0.5, 0, 0), 0.05)
  2105. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.05)
  2106. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0) * euler(0, 0, 0) * euler(0, 0, 0.4), 0.05)
  2107. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.05)
  2108. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.5), 0.05)
  2109. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.05)
  2110. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.05)
  2111. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.05)
  2112. building:SetPrimaryPartCFrame(CFrame.new(xpos + Vector3.new(0, i, 0) + Vector3.new(math.random(-100, 100) / 100, 15, math.random(-100, 100) / 100)))
  2113. end
  2114. for i = 1, 40 do
  2115. swait()
  2116. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.05)
  2117. Neck.C0 = clerp(Neck.C0, necko * euler(-0.5, 0, 0), 0.1)
  2118. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.1)
  2119. RW.C0 = clerp(RW.C0, cf(1.3, 1, 0) * euler(2.5, 0, 0) * euler(0, 0, 0.4), 0.1)
  2120. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1)
  2121. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.5), 0.1)
  2122. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1)
  2123. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.1)
  2124. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.1)
  2125. building:SetPrimaryPartCFrame(CFrame.new(xpos + Vector3.new(0, i, 0) + Vector3.new(math.random(-100, 100) / 100, 40, math.random(-100, 100) / 100)))
  2126. end
  2127. do
  2128. for i = 1, 25 do
  2129. swait()
  2130. building:SetPrimaryPartCFrame(CFrame.new(xpos + Vector3.new(0, i, 0) + Vector3.new(math.random(-100, 100) / 100, 80, math.random(-100, 100) / 100)))
  2131. end
  2132. end
  2133. pem.Enabled = false
  2134. game:GetService("Debris"):AddItem(ps, 5)
  2135. for i = 1, 15 do
  2136. swait()
  2137. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.25)
  2138. Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3)
  2139. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 0.35)
  2140. RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 0.35)
  2141. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2142. LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 0.35)
  2143. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2144. RH.C0 = clerp(RH.C0, cf(1, 0.25, -0.5) * euler(0.55, 0, 0) * euler(0, math.pi / 2.2, 0), 0.35)
  2145. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 0.35)
  2146. end
  2147. for _,v in pairs(workspace:children()) do
  2148. if v:FindFirstChild("Humanoid") and v:FindFirstChild("Torso") then
  2149. local h, t = v.Humanoid, v.Torso
  2150. if h.Health > 0 and game.Players:GetPlayerFromCharacter(v) ~= nil then
  2151. end
  2152. end
  2153. end
  2154. local eff = Instance.new("Part", workspace)
  2155. eff.formFactor = "Custom"
  2156. eff.Size = Vector3.new(1, 1, 1)
  2157. eff.CFrame = CFrame.new(posfloord)
  2158. eff.BrickColor = BrickColor.new("Pastel Blue")
  2159. local m = Instance.new("SpecialMesh", eff)
  2160. m.MeshType = "FileMesh"
  2161. m.MeshId = "http://www.roblox.com/asset/?id=151778863"
  2162. m.Scale = Vector3.new(10, 10, 10)
  2163. eff.Parent = workspace
  2164. eff.Name = "Bewm"
  2165. eff.Anchored = true
  2166. eff.CanCollide = false
  2167. game:GetService("Debris"):AddItem(eff, 5)
  2168. coroutine.resume(coroutine.create(function(p, V, x)
  2169. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  2170. for i = 1, 30 do
  2171. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(55, 55, 55) / 20
  2172. p.Transparency = i / 30
  2173. p.CFrame = p.CFrame * V
  2174. swait()
  2175. end
  2176. p:Remove()
  2177. end), eff, CFrame.Angles(0, math.rad(math.random(-10, 9) * 3 + 5), 0))
  2178. local sbs = Instance.new("BodyPosition", RootPart)
  2179. sbs.P = 3000
  2180. sbs.D = 1000
  2181. sbs.maxForce = Vector3.new(500000, 500000000, 500000)
  2182. sbs.position = RootPart.CFrame.p + Vector3.new(0, 2000, 0)
  2183. local gl = Instance.new("BodyGyro", RootPart)
  2184. gl.P = 8000
  2185. gl.D = 400
  2186. gl.maxTorque = Vector3.new(50000000, 0, 50000000)
  2187. gl.cframe = RootPart.CFrame
  2188. local sk = Instance.new("Part", workspace)
  2189. sk.Name = "D"
  2190. sk.CanCollide = false
  2191. sk.Anchored = true
  2192. sk.Transparency = 1
  2193. sk.Size = Vector3.new(1, 1, 1)
  2194. sk.CFrame = RootPart.CFrame
  2195. local p = Instance.new("Sound", sk)
  2196. p.SoundId = "http://www.roblox.com/asset/?id=" .. "134012322"
  2197. p.Volume = 1
  2198. p.Pitch = 0.8
  2199. game:GetService("Debris"):AddItem(sk, 4)
  2200. for i = 1, 5 do
  2201. swait()
  2202. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.4)
  2203. Neck.C0 = clerp(Neck.C0, necko * euler(-0.7, 0, 0), 0.4)
  2204. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.4)
  2205. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0) * euler(-0.2, 0, 0) * euler(0, 0, 0.1), 0.4)
  2206. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  2207. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(math.pi * 0.95, 0, 0) * euler(0, 0, -0.2), 0.4)
  2208. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  2209. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.3) * euler(0, math.pi / 2, 0), 0.4)
  2210. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.3) * euler(0, -math.pi / 2, 0), 0.4)
  2211. end
  2212. wait(0.5)
  2213. cam:Interpolate(building.PrimaryPart.CFrame * CFrame.new(0, 100, 0) - xdir * 65, building.PrimaryPart.CFrame * CFrame.new(0, 60, 0), 2)
  2214. wait(0.5)
  2215. local pz = Instance.new("Sound", building.PrimaryPart)
  2216. pz.SoundId = "http://www.roblox.com/asset/?id=" .. "167273611"
  2217. pz.Pitch = 1
  2218. pz.Volume = 1
  2219. pz:Play()
  2220. wait(1)
  2221. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 1)
  2222. Neck.C0 = clerp(Neck.C0, necko * euler(-0.7, 0, 0), 1)
  2223. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 1)
  2224. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0) * euler(-math.pi, 0, 0) * euler(0, 0, 0.5), 1)
  2225. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 1)
  2226. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(math.pi, 0, 0) * euler(0, 0, -0.5), 1)
  2227. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 1)
  2228. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 1)
  2229. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 1)
  2230. sbs:Destroy()
  2231. RootPart.Anchored = true
  2232. gl:Destroy()
  2233. local start = building.PrimaryPart.CFrame * CFrame.new(0, 810, 0)
  2234. local xpart = Instance.new("Part", s.Parent)
  2235. xpart.Name = "ROAD ROLLER DA!"
  2236. xpart.TopSurface = 0
  2237. xpart.BottomSurface = 0
  2238. xpart.Anchored = true
  2239. xpart.CanCollide = false
  2240. xpart.Size = Vector3.new(1, 1, 1)
  2241. local xm = Instance.new("SpecialMesh", xpart)
  2242. xm.MeshType = "FileMesh"
  2243. xm.Scale = Vector3.new(25, 25, 25)
  2244. xm.TextureId = "http://www.roblox.com/asset?id=151778895"
  2245. xm.MeshId = "http://www.roblox.com/asset?id=151778863"
  2246. for i = 1, 47 do
  2247. swait()
  2248. pz.Volume = 0.05 + i * 0.2
  2249. cam:Interpolate(building.PrimaryPart.CFrame * CFrame.new(0, 140, 0) - xdir * 90, s.CFrame, 5.1 - i * 0.1)
  2250. RootPart.CFrame = start * CFrame.new(0, -i * 3.5 - i ^ 1.65 + 5, 0) * CFrame.Angles(-math.pi, 0, 0)
  2251. xpart.CFrame = RootPart.CFrame * CFrame.new(0, 2, 2) * CFrame.Angles(math.pi, 0, 0)
  2252. end
  2253. game:GetService("Debris"):AddItem(pz, 3)
  2254. local p = Instance.new("Sound", s)
  2255. p.SoundId = "http://www.roblox.com/asset/?id=" .. "165970126"
  2256. p.Volume = 1
  2257. p.Pitch = 0.85
  2258. game:GetService("Debris"):AddItem(p, 4)
  2259. p:Play()
  2260. local p = Instance.new("Sound", workspace)
  2261. p.SoundId = "http://www.roblox.com/asset/?id=" .. "165970126"
  2262. p.Volume = 0.05
  2263. p.Pitch = 0.85
  2264. game:GetService("Debris"):AddItem(p, 4)
  2265. p:Play()
  2266. MagniDamage(RootPart, 55, 20, 30, math.random(50, 100), "Normal", building.PrimaryPart, 0.05, 2, 9999, false, false, false, "Defense", 0, 0)
  2267. MagniDamage(building.PrimaryPart, 55, 20, 30, math.random(100, 150), "Normal", building.PrimaryPart, 0.05, 2, 9999, false, false, false, "Defense", 0, 0)
  2268. local p = Instance.new("Sound", RootPart)
  2269. p.SoundId = "http://www.roblox.com/asset/?id=" .. "216782105"
  2270. p.Pitch = 0.8
  2271. p.Volume = 1
  2272. p:Play()
  2273. game:GetService("Debris"):AddItem(p, 4)
  2274. local p = Instance.new("Sound", s)
  2275. p.SoundId = "http://www.roblox.com/asset/?id=" .. "169628396"
  2276. p.Volume = 1
  2277. p.Pitch = 0.8
  2278. game:GetService("Debris"):AddItem(p, 4)
  2279. p:Play()
  2280. local p = Instance.new("Sound", workspace)
  2281. p.SoundId = "http://www.roblox.com/asset/?id=" .. "169628396"
  2282. p.Volume = 0.05
  2283. p.Pitch = 0.8
  2284. game:GetService("Debris"):AddItem(p, 4)
  2285. p:Play()
  2286. local pem = Instance.new("ParticleEmitter", building.PrimaryPart)
  2287. pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2288. pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 8), NumberSequenceKeypoint.new(1, 10)})
  2289. pem.Lifetime = NumberRange.new(2.5, 3.5)
  2290. pem.RotSpeed = NumberRange.new(-69, 69)
  2291. pem.Rotation = NumberRange.new(-350, 350)
  2292. pem.Texture = "http://www.roblox.com/asset/?id=133619974"
  2293. pem.Speed = NumberRange.new(2, 12)
  2294. pem.Acceleration = Vector3.new(0, -10, 0)
  2295. pem.VelocitySpread = 180
  2296. pem.Rate = 5
  2297. pem.Enabled = true
  2298. spawn(function()
  2299. wait()
  2300. pem:Emit(200)
  2301. end)
  2302. local kek = {"http://www.roblox.com/asset/?id=48803786", "http://www.roblox.com/asset/?id=116579230", "http://www.roblox.com/asset/?id=187884226", "http://www.roblox.com/asset/?id=2426617"}
  2303. for _,v in pairs(building:children()) do
  2304. if v.BrickColor == BrickColor.new("Pastel Blue") then
  2305. do
  2306. if _ % 3 == 0 then
  2307. local p = Instance.new("Sound", v)
  2308. p.SoundId = "http://www.roblox.com/asset/?id=" .. "144884907"
  2309. p.Pitch = math.random(65, 80) / 100
  2310. p.Volume = 1
  2311. p:Play()
  2312. game:GetService("Debris"):AddItem(p, 4)
  2313. end
  2314. local sks = Instance.new("Part", building)
  2315. sks.Name = "DIIC"
  2316. sks.Anchored = true
  2317. sks.CanCollide = false
  2318. sks.formFactor = "Custom"
  2319. sks.Size = Vector3.new(0.2, 8, 8)
  2320. sks.BrickColor = BrickColor:Red()
  2321. sks.CFrame = v.CFrame * CFrame.new(15, 0, 0)
  2322. sks.Transparency = 1
  2323. local pem = Instance.new("ParticleEmitter", sks)
  2324. pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2325. pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.15), NumberSequenceKeypoint.new(1, 0.15)})
  2326. pem.Lifetime = NumberRange.new(3.5, 4)
  2327. pem.RotSpeed = NumberRange.new(-110, 110)
  2328. pem.Rotation = NumberRange.new(-350, 350)
  2329. pem.Texture = "http://www.roblox.com/asset/?id=316915922"
  2330. pem.Speed = NumberRange.new(5, 50)
  2331. pem.Acceleration = Vector3.new(0, -20, 0)
  2332. pem.VelocitySpread = 80
  2333. pem.Rate = 0
  2334. pem.LightEmission = -0.2
  2335. pem.Enabled = true
  2336. pem.EmissionDirection = "Right"
  2337. spawn(function()
  2338. wait()
  2339. pem:Emit(50)
  2340. end)
  2341. local pem = Instance.new("ParticleEmitter", sks)
  2342. pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2343. pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1), NumberSequenceKeypoint.new(1, 0.1)})
  2344. pem.Lifetime = NumberRange.new(3.5, 4)
  2345. pem.RotSpeed = NumberRange.new(-110, 110)
  2346. pem.Rotation = NumberRange.new(-350, 350)
  2347. pem.Texture = "http://www.roblox.com/asset/?id=316915935"
  2348. pem.Speed = NumberRange.new(5, 50)
  2349. pem.Acceleration = Vector3.new(0, -22, 0)
  2350. pem.VelocitySpread = 70
  2351. pem.Rate = 0
  2352. pem.LightEmission = -0.2
  2353. pem.Enabled = true
  2354. pem.EmissionDirection = "Right"
  2355. spawn(function()
  2356. wait()
  2357. pem:Emit(50)
  2358. end)
  2359. local pem = Instance.new("ParticleEmitter", sks)
  2360. pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2361. pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 0.2)})
  2362. pem.Lifetime = NumberRange.new(3.5, 4)
  2363. pem.RotSpeed = NumberRange.new(-110, 110)
  2364. pem.Rotation = NumberRange.new(-350, 350)
  2365. pem.Texture = "http://www.roblox.com/asset/?id=316915947"
  2366. pem.Speed = NumberRange.new(5, 55)
  2367. pem.Acceleration = Vector3.new(0, -20, 0)
  2368. pem.VelocitySpread = 60
  2369. pem.Rate = 0
  2370. pem.LightEmission = -0.2
  2371. pem.Enabled = true
  2372. pem.EmissionDirection = "Right"
  2373. spawn(function()
  2374. wait()
  2375. pem:Emit(50)
  2376. end)
  2377. local sks = Instance.new("Part", building)
  2378. sks.Name = "DIIC"
  2379. sks.Anchored = true
  2380. sks.CanCollide = false
  2381. sks.formFactor = "Custom"
  2382. sks.Size = Vector3.new(0.2, 8, 8)
  2383. sks.BrickColor = BrickColor:Red()
  2384. sks.CFrame = v.CFrame * CFrame.new(-15, 0, 0)
  2385. sks.Transparency = 1
  2386. local pem = Instance.new("ParticleEmitter", sks)
  2387. pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2388. pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.15), NumberSequenceKeypoint.new(1, 0.15)})
  2389. pem.Lifetime = NumberRange.new(3.5, 4)
  2390. pem.RotSpeed = NumberRange.new(-110, 110)
  2391. pem.Rotation = NumberRange.new(-350, 350)
  2392. pem.Texture = "http://www.roblox.com/asset/?id=316915922"
  2393. pem.Speed = NumberRange.new(5, 50)
  2394. pem.Acceleration = Vector3.new(0, -20, 0)
  2395. pem.VelocitySpread = 80
  2396. pem.Rate = 0
  2397. pem.LightEmission = -0.2
  2398. pem.Enabled = true
  2399. pem.EmissionDirection = "Left"
  2400. spawn(function()
  2401. wait()
  2402. pem:Emit(50)
  2403. end)
  2404. local pem = Instance.new("ParticleEmitter", sks)
  2405. pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2406. pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1), NumberSequenceKeypoint.new(1, 0.1)})
  2407. pem.Lifetime = NumberRange.new(3.5, 4)
  2408. pem.RotSpeed = NumberRange.new(-110, 110)
  2409. pem.Rotation = NumberRange.new(-350, 350)
  2410. pem.Texture = "http://www.roblox.com/asset/?id=316915935"
  2411. pem.Speed = NumberRange.new(5, 50)
  2412. pem.Acceleration = Vector3.new(0, -22, 0)
  2413. pem.VelocitySpread = 70
  2414. pem.Rate = 0
  2415. pem.LightEmission = -0.2
  2416. pem.Enabled = true
  2417. pem.EmissionDirection = "Left"
  2418. spawn(function()
  2419. wait()
  2420. pem:Emit(50)
  2421. end)
  2422. local pem = Instance.new("ParticleEmitter", sks)
  2423. pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2424. pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 0.2)})
  2425. pem.Lifetime = NumberRange.new(3.5, 4)
  2426. pem.RotSpeed = NumberRange.new(-110, 110)
  2427. pem.Rotation = NumberRange.new(-350, 350)
  2428. pem.Texture = "http://www.roblox.com/asset/?id=316915947"
  2429. pem.Speed = NumberRange.new(5, 55)
  2430. pem.Acceleration = Vector3.new(0, -20, 0)
  2431. pem.VelocitySpread = 60
  2432. pem.Rate = 0
  2433. pem.LightEmission = -0.2
  2434. pem.Enabled = true
  2435. pem.EmissionDirection = "Left"
  2436. spawn(function()
  2437. wait()
  2438. pem:Emit(50)
  2439. end)
  2440. local thed = Instance.new("Decal", v)
  2441. thed.Face = "Left"
  2442. thed.Texture = kek[math.random(1, #kek)]
  2443. do
  2444. local thed = Instance.new("Decal", v)
  2445. thed.Face = "Right"
  2446. thed.Texture = kek[math.random(1, #kek)]
  2447. -- DECOMPILER ERROR at PC2831: LeaveBlock: unexpected jumping out DO_STMT
  2448.  
  2449. -- DECOMPILER ERROR at PC2831: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2450.  
  2451. -- DECOMPILER ERROR at PC2831: LeaveBlock: unexpected jumping out IF_STMT
  2452.  
  2453. end
  2454. end
  2455. end
  2456. end
  2457. local eff = Instance.new("Part", workspace)
  2458. eff.formFactor = "Custom"
  2459. eff.Size = Vector3.new(1, 1, 1)
  2460. eff.CFrame = CFrame.new(building.PrimaryPart.CFrame.p - Vector3.new(0, 35, 0))
  2461. eff.BrickColor = BrickColor.new("Institutional white")
  2462. local m = Instance.new("SpecialMesh", eff)
  2463. m.MeshType = "FileMesh"
  2464. m.MeshId = "http://www.roblox.com/asset/?id=151778863"
  2465. m.Scale = Vector3.new(10, 10, 10)
  2466. eff.Parent = workspace
  2467. eff.Name = "Bewm"
  2468. eff.Anchored = true
  2469. eff.CanCollide = false
  2470. game:GetService("Debris"):AddItem(eff, 5)
  2471. coroutine.resume(coroutine.create(function(p, V, x)
  2472. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  2473. for i = 1, 20 do
  2474. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(65, 65, 65) / 20
  2475. p.Transparency = i / 20
  2476. p.CFrame = p.CFrame * V
  2477. swait()
  2478. end
  2479. p:Remove()
  2480. end), eff, CFrame.Angles(0, math.rad(math.random(-10, 9) * 3 + 5), 0))
  2481. local eff = Instance.new("Part", workspace)
  2482. eff.formFactor = "Custom"
  2483. eff.Size = Vector3.new(1, 1, 1)
  2484. eff.CFrame = CFrame.new(building.PrimaryPart.CFrame.p - Vector3.new(0, 35, 0))
  2485. eff.BrickColor = BrickColor.new("Institutional white")
  2486. local m = Instance.new("SpecialMesh", eff)
  2487. m.MeshType = "FileMesh"
  2488. m.MeshId = "http://www.roblox.com/asset/?id=151778863"
  2489. m.Scale = Vector3.new(10, 10, 10)
  2490. eff.Parent = workspace
  2491. eff.Name = "Bewm"
  2492. eff.Anchored = true
  2493. eff.CanCollide = false
  2494. game:GetService("Debris"):AddItem(eff, 5)
  2495. coroutine.resume(coroutine.create(function(p, V, x)
  2496. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  2497. for i = 1, 10 do
  2498. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(145, 145, 145) / 10
  2499. p.Transparency = 0.5 + i / 20
  2500. p.CFrame = p.CFrame * V
  2501. swait()
  2502. end
  2503. p:Remove()
  2504. end), eff, CFrame.Angles(0, math.rad(math.random(-10, 9) * 3 + 5), 0))
  2505. local eff = Instance.new("Part", workspace)
  2506. eff.formFactor = "Custom"
  2507. eff.Size = Vector3.new(1, 1, 1)
  2508. eff.CFrame = CFrame.new(building.PrimaryPart.CFrame.p + Vector3.new(0, 40, 0))
  2509. eff.BrickColor = BrickColor.new("Institutional white")
  2510. local m = Instance.new("SpecialMesh", eff)
  2511. m.MeshType = "FileMesh"
  2512. m.MeshId = "http://www.roblox.com/asset/?id=151778863"
  2513. m.Scale = Vector3.new(10, 10, 10)
  2514. eff.Parent = workspace
  2515. eff.Name = "Bewm"
  2516. eff.Anchored = true
  2517. eff.CanCollide = false
  2518. game:GetService("Debris"):AddItem(eff, 5)
  2519. coroutine.resume(coroutine.create(function(p, V, x)
  2520. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  2521. for i = 1, 10 do
  2522. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(125, 125, 125) / 10
  2523. p.Transparency = 0.5 + i / 20
  2524. p.CFrame = p.CFrame * V
  2525. swait()
  2526. end
  2527. p:Remove()
  2528. end), eff, CFrame.Angles(0, -math.rad(math.random(-10, 9) * 3 + 5), 0))
  2529. for _,v in pairs(workspace:children()) do
  2530. if v:FindFirstChild("Humanoid") and v:FindFirstChild("Torso") then
  2531. local h, t = v.Humanoid, v.Torso
  2532. end
  2533. end
  2534. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 1)
  2535. Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3)
  2536. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 1)
  2537. RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 1)
  2538. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2539. LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 1)
  2540. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2541. RH.C0 = clerp(RH.C0, cf(1, 0.25, -0.5) * euler(0.55, 0, 0) * euler(0, math.pi / 2.2, 0), 1)
  2542. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 1)
  2543. for i = 1, 3 do
  2544. building:SetPrimaryPartCFrame(CFrame.new(building.PrimaryPart.CFrame.p - Vector3.new(0, 2.5, 0)))
  2545. -- DECOMPILER ERROR at PC3348: Overwrote pending register: R44 in 'AssignReg'
  2546.  
  2547. RootPart.CFrame = start * CFrame.new(0, -758.86938347034 - i * 2.5, 0) * CFrame.Angles(0, 0, 0)
  2548. xpart.CFrame = RootPart.CFrame * CFrame.new(0, -2, 2) * CFrame.Angles(0, 0, 0)
  2549. -- DECOMPILER ERROR at PC3375: Overwrote pending register: R44 in 'AssignReg'
  2550.  
  2551. cam:Interpolate(building.PrimaryPart.CFrame * CFrame.new(0, 0, 0) - xdir * 90, CFrame.new(s.Position), 0.5)
  2552. swait()
  2553. end
  2554. wait(0.5)
  2555. local p = Instance.new("Sound", RootPart)
  2556. p.SoundId = "http://www.roblox.com/asset/?id=" .. "169628396"
  2557. p.Volume = 1
  2558. p.Pitch = 1
  2559. game:GetService("Debris"):AddItem(p, 30)
  2560. p:Play()
  2561. cam:Interpolate(xpart.CFrame * CFrame.new(10, 10, -10), xpart.CFrame + Vector3.new(0, 2, 0), 1)
  2562. wait(4)
  2563. xpart:Remove()
  2564. RootPart.Anchored = false
  2565. cam.CameraType = "Custom"
  2566. sl.Parent = nil
  2567. attack = false
  2568. stop = false
  2569. cooldowns[4] = 0
  2570. wait(10)
  2571. building:Destroy()
  2572. end
  2573. end
  2574. end
  2575. end
  2576. taunt = function()
  2577. if attack == true then
  2578. return
  2579. end
  2580. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  2581. return
  2582. end
  2583. if cooldownmax <= cooldowns[5] and mana.Value >= 20 then
  2584. stop = false
  2585. attack = true
  2586. cooldowns[5] = 40
  2587. s = Character.Torso
  2588. local p = Instance.new("Sound", s)
  2589. p.SoundId = "http://www.roblox.com/asset/?id=" .. "318111747"
  2590. p.Volume = 1
  2591. game:GetService("Debris"):AddItem(p, 4)
  2592. p:Play()
  2593. for i = 1, 15 do
  2594. swait()
  2595. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.1)
  2596. Neck.C0 = clerp(Neck.C0, necko * euler(-0.7, 0, 0), 0.2)
  2597. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.2)
  2598. RW.C0 = clerp(RW.C0, cf(1.3, 1.15, 0) * euler(math.pi * 0.99, 0, 0) * euler(0, 0, 0.2), 0.2)
  2599. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2600. LW.C0 = clerp(LW.C0, cf(-1.3, 1.15, 0) * euler(math.pi * 0.99, 0, 0) * euler(0, 0, -0.2), 0.2)
  2601. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2602. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.2)
  2603. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.2)
  2604. end
  2605. local b = Instance.new("Part", workspace)
  2606. b.Name = "HEILx2"
  2607. b.TopSurface = 0
  2608. b.BottomSurface = 0
  2609. b.formFactor = "Symmetric"
  2610. b.CanCollide = false
  2611. b.Size = Vector3.new(3, 2, 2)
  2612. local m = Instance.new("SpecialMesh", b)
  2613. m.MeshType = "FileMesh"
  2614. m.MeshId = "http://www.roblox.com/asset/?id=151778863"
  2615. m.TextureId = "http://www.roblox.com/asset/?id=151778895"
  2616. local wa = Instance.new("Weld", b)
  2617. wa.Part0 = s.Parent["Right Arm"]
  2618. wa.Part1 = b
  2619. wa.C0 = CFrame.new(-1.65, -1.2, 0) * CFrame.Angles(math.pi * 1.025, 0, 0.2)
  2620. b.Transparency = 0
  2621. local p = Instance.new("Sound", s)
  2622. p.SoundId = "http://www.roblox.com/asset/?id=" .. "111124523"
  2623. p.Volume = 1
  2624. p.Pitch = math.random(80, 90) / 100
  2625. game:GetService("Debris"):AddItem(p, 4)
  2626. p:Play()
  2627. wait(0.5)
  2628. local p = Instance.new("Sound", s)
  2629. p.SoundId = "http://www.roblox.com/asset/?id=" .. "190126363"
  2630. p.Volume = 1
  2631. p.Pitch = math.random(80, 90) / 100
  2632. game:GetService("Debris"):AddItem(p, 4)
  2633. wait(0.2)
  2634. local trx = math.random(0, 100)
  2635. if trx <= 10 then
  2636. local bb = Instance.new("Part", b)
  2637. bb.Name = "HEIL"
  2638. bb.TopSurface = 0
  2639. bb.BottomSurface = 0
  2640. bb.formFactor = "Symmetric"
  2641. bb.CanCollide = false
  2642. bb.Size = Vector3.new(1, 1, 1)
  2643. local m = Instance.new("SpecialMesh", bb)
  2644. m.MeshType = "FileMesh"
  2645. m.MeshId = "http://www.roblox.com/asset/?id=151778863"
  2646. m.TextureId = "http://www.roblox.com/asset/?id=151778895"
  2647. m.Scale = Vector3.new(5, 5, 5)
  2648. local w = Instance.new("Weld", b)
  2649. w.Part0 = b
  2650. w.Part1 = bb
  2651. w.C0 = CFrame.new(0, 0.74, -0.25) * CFrame.Angles(0, 0, 0)
  2652. bb.Transparency = 0
  2653. local p = Instance.new("Sound", s)
  2654. p.SoundId = "http://www.roblox.com/asset/?id=" .. "111124523"
  2655. p.Volume = 1
  2656. p.Pitch = math.random(100, 110) / 100
  2657. game:GetService("Debris"):AddItem(p, 4)
  2658. p:Play()
  2659. wait(0.4)
  2660. local p = Instance.new("Sound", s)
  2661. p.SoundId = "http://www.roblox.com/asset/?id=" .. xe[math.random(1, #xe)]
  2662. p.Volume = 1
  2663. p.Pitch = 1.4
  2664. game:GetService("Debris"):AddItem(p, 4)
  2665. p:Play()
  2666. wait(1.5)
  2667. end
  2668. do
  2669. local topkek = {317667032, 317667048, 317667070, 317670161}
  2670. local dix = {13.8, 12, 12.35, 15}
  2671. local rando = math.random(1, 4)
  2672. if trx <= 10 then
  2673. local poop = {}
  2674. for i = 1, 33 do
  2675. local p = Instance.new("Sound", b)
  2676. p.SoundId = "http://www.roblox.com/asset/?id=" .. topkek[rando]
  2677. p.Volume = 1
  2678. p.Pitch = 1
  2679. if rando == 4 then
  2680. p.Pitch = 6.66
  2681. end
  2682. table.insert(poop, p)
  2683. end
  2684. wait(0.25)
  2685. for _,v in pairs(poop) do
  2686. v:Play()
  2687. end
  2688. wait(dix[rando] * 0.9 - 2.5)
  2689. wait(0.1)
  2690. else
  2691. do
  2692. do
  2693. local p = Instance.new("Sound", b)
  2694. p.SoundId = "http://www.roblox.com/asset/?id=" .. topkek[rando]
  2695. p.Volume = 1
  2696. p.Pitch = 1
  2697. if rando == 4 then
  2698. p.Pitch = 6.66
  2699. end
  2700. p:Play()
  2701. print(rando)
  2702. wait(dix[rando] * 0.9 - 2.5)
  2703. wait(0.1)
  2704. local thed = {142539074, 142539082, 142539090}
  2705. local p = Instance.new("Sound", s)
  2706. p.SoundId = "http://www.roblox.com/asset/?id=" .. thed[math.random(1, #thed)]
  2707. p.Volume = 1
  2708. p.Pitch = 1
  2709. game:GetService("Debris"):AddItem(p, 4)
  2710. p:Play()
  2711. local borb = Instance.new("NumberValue", s.Parent.Stats.Decrease)
  2712. borb.Name = "DecreaseMvmt"
  2713. borb.Value = 100
  2714. for i = 1, 15 do
  2715. swait()
  2716. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.1)
  2717. Neck.C0 = clerp(Neck.C0, necko * euler(-1, 0, 0), 0.15)
  2718. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.8) * euler(-1.4, 0, 0), 0.15)
  2719. RW.C0 = clerp(RW.C0, cf(1.3, 1.15, 0) * euler(math.pi * 1.15, 0, 0) * euler(0, 0, 0.1), 0.15)
  2720. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2721. LW.C0 = clerp(LW.C0, cf(-1.3, 1.15, 0) * euler(math.pi * 1.15, 0, 0) * euler(0, 0, -0.1), 0.15)
  2722. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2723. RH.C0 = clerp(RH.C0, cf(1, -0.9, 0.5) * euler(-1.4, 0, 0.1) * euler(0, math.pi / 2, 0), 0.15)
  2724. LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0.5) * euler(-1.4, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.15)
  2725. end
  2726. wait(0.1)
  2727. for i = 1, 10 do
  2728. swait()
  2729. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.4, 0), 0.1)
  2730. Neck.C0 = clerp(Neck.C0, necko * euler(-1, 0, 0), 0.3)
  2731. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, -0.8) * euler(1.4, 0, 0), 0.3)
  2732. RW.C0 = clerp(RW.C0, cf(1.3, 1.15, 0) * euler(math.pi * 0.8, 0, 0) * euler(0, 0, 0.1), 0.3)
  2733. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  2734. LW.C0 = clerp(LW.C0, cf(-1.3, 1.15, 0) * euler(math.pi * 0.8, 0, 0) * euler(0, 0, -0.1), 0.3)
  2735. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  2736. RH.C0 = clerp(RH.C0, cf(1, -0.9, 0) * euler(1.4, 0, 0.1) * euler(0, math.pi / 2, 0), 0.3)
  2737. LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * euler(1.4, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.3)
  2738. if i == 6 then
  2739. wa:Destroy()
  2740. local vb = Instance.new("BodyVelocity", b)
  2741. vb.P = 4000
  2742. vb.maxForce = Vector3.new(545000, 545000, 545000)
  2743. vb.velocity = RootPart.CFrame.lookVector * 220 + Vector3.new(0, 5, 0)
  2744. game:GetService("Debris"):AddItem(vb, 0.25)
  2745. local vb = Instance.new("BodyAngularVelocity", b)
  2746. vb.maxTorque = Vector3.new(500000, 500000, 500000)
  2747. vb.angularvelocity = Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2748. game:GetService("Debris"):AddItem(vb, 0.25)
  2749. b.CanCollide = true
  2750. local sz = script.RealPieDiePew:clone()
  2751. sz.Disabled = false
  2752. sz.Parent = b
  2753. local tt = Instance.new("ObjectValue", sz)
  2754. tt.Name = "creator"
  2755. tt.Value = s.Parent
  2756. end
  2757. end
  2758. wait(0.2)
  2759. borb.Parent = nil
  2760. game:GetService("Debris"):AddItem(b, 5)
  2761. attack = false
  2762. end
  2763. end
  2764. end
  2765. end
  2766. end
  2767. end
  2768. DecreaseStat = function(Model, Stat, Amount, Duration)
  2769. if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then
  2770. Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount
  2771. d = Instance.new("NumberValue", Model.Stats.Decrease)
  2772. dur = Instance.new("NumberValue", d)
  2773. dur.Name = "Duration"
  2774. dur.Value = Duration
  2775. game:GetService("Debris"):AddItem(d, 20)
  2776. if Stat == "Damage" then
  2777. d.Name = "DecreaseAtk"
  2778. else
  2779. if Stat == "Defense" then
  2780. d.Name = "DecreaseDef"
  2781. else
  2782. if Stat == "Movement" then
  2783. d.Name = "DecreaseMvmt"
  2784. end
  2785. end
  2786. end
  2787. if Model:findFirstChild("Torso") ~= nil then
  2788. display = ""
  2789. if Stat == "Damage" then
  2790. if Amount > 0 then
  2791. display = "-Damage"
  2792. else
  2793. display = "+Damage"
  2794. end
  2795. else
  2796. if Stat == "Defense" then
  2797. if Amount > 0 then
  2798. display = "-Defense"
  2799. else
  2800. display = "+Defense"
  2801. end
  2802. else
  2803. if Stat == "Movement" then
  2804. if Amount > 0 then
  2805. display = "-Movement"
  2806. else
  2807. display = "+Movement"
  2808. end
  2809. end
  2810. end
  2811. end
  2812. showDamage(Model, display, "Debuff")
  2813. end
  2814. d.Value = Amount
  2815. end
  2816. end
  2817. GetDist = function(Part1, Part2, magni)
  2818. local targ = Part1.Position - Part2.Position
  2819. local mag = targ.magnitude
  2820. if mag <= magni then
  2821. return true
  2822. else
  2823. return false
  2824. end
  2825. end
  2826. MagniDamage = function(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2827. for _,c in pairs(workspace:children()) do
  2828. local hum = c:findFirstChild("Humanoid")
  2829. if hum ~= nil then
  2830. local head = nil
  2831. for _,d in pairs(c:children()) do
  2832. if d.className == "Model" and ranged ~= true then
  2833. head = d:findFirstChild("Hitbox")
  2834. if d.Parent == Character then
  2835. break
  2836. end
  2837. if head ~= nil then
  2838. local targ = head.Position - Part.Position
  2839. local mag = targ.magnitude
  2840. if mag <= magni and c.Name ~= Player.Name then
  2841. ref = part(3, workspace, 0, 1, BrickColor.new("Pastel Blue"), "Reference", vt())
  2842. ref.Anchored = true
  2843. ref.CFrame = cf(head.Position)
  2844. game:GetService("Debris"):AddItem(ref, 1)
  2845. hitnum = math.random(1, 5)
  2846. if hitnum == 1 then
  2847. so("199148971", ref, 1, 1)
  2848. else
  2849. if hitnum == 2 then
  2850. so("199149025", ref, 1, 1)
  2851. else
  2852. if hitnum == 3 then
  2853. so("199149072", ref, 1, 1)
  2854. else
  2855. if hitnum == 4 then
  2856. so("199149109", ref, 1, 1)
  2857. else
  2858. if hitnum == 5 then
  2859. so("199149119", ref, 1, 1)
  2860. end
  2861. end
  2862. end
  2863. end
  2864. end
  2865. StaggerHit.Value = true
  2866. end
  2867. end
  2868. end
  2869. do
  2870. if d.className == "Part" then
  2871. head = d
  2872. if head ~= nil then
  2873. local targ = head.Position - Part.Position
  2874. local mag = targ.magnitude
  2875. if mag <= magni and c.Name ~= Player.Name then
  2876. if stun == nil then
  2877. stun = math.random(5, 10)
  2878. end
  2879. local Rang = nil
  2880. if Ranged == false then
  2881. Rang = true
  2882. end
  2883. local stag = nil
  2884. if shbash == true then
  2885. stag = true
  2886. end
  2887. Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2888. end
  2889. end
  2890. end
  2891. do
  2892. -- DECOMPILER ERROR at PC183: LeaveBlock: unexpected jumping out DO_STMT
  2893.  
  2894. end
  2895. end
  2896. end
  2897. end
  2898. end
  2899. end
  2900. MagniBuff = function(Part, magni, Dec, DecAm, Dur, others)
  2901. if Player.Neutral == true then
  2902. DecreaseStat(Character, Dec, DecAm / 2, Dur)
  2903. end
  2904. for _,c in pairs(workspace:children()) do
  2905. local hum = c:findFirstChild("Humanoid")
  2906. if hum ~= nil then
  2907. local head = c:findFirstChild("Torso")
  2908. if head ~= nil then
  2909. local targ = head.Position - Part.Position
  2910. local mag = targ.magnitude
  2911. -- DECOMPILER ERROR at PC67: Unhandled construct in 'MakeBoolean' P1
  2912.  
  2913. if others == nil and mag <= magni and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  2914. DecreaseStat(head.Parent, Dec, DecAm, Dur)
  2915. end
  2916. end
  2917. end
  2918. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and mag <= magni and head.Parent ~= Character and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  2919. DecreaseStat(head.Parent, Dec, DecAm, Dur)
  2920. end
  2921. end
  2922. end
  2923. rayCast = function(Pos, Dir, Max, Ignore)
  2924. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2925. end
  2926. local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0)
  2927. LastPoint = Point
  2928. effect = function(Color, Ref, LP, P1, returnn)
  2929. if LP == nil or P1 == nil then
  2930. return
  2931. end
  2932. local effectsmsh = Instance.new("CylinderMesh")
  2933. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  2934. effectsmsh.Name = "Mesh"
  2935. local effectsg = Instance.new("Part")
  2936. NoOutline(effectsg)
  2937. effectsg.formFactor = 3
  2938. effectsg.CanCollide = false
  2939. effectsg.Name = "Eff"
  2940. effectsg.Locked = true
  2941. effectsg.Anchored = true
  2942. effectsg.Size = Vector3.new(0.5, 1, 0.5)
  2943. effectsg.Parent = workspace
  2944. effectsmsh.Parent = effectsg
  2945. effectsg.BrickColor = BrickColor.new(Color)
  2946. effectsg.Reflectance = Ref
  2947. local point1 = P1
  2948. local mg = point1.p.magnitude
  2949. effectsg.Size = Vector3.new(0.5, mg, 0.5)
  2950. effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  2951. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  2952. game:GetService("Debris"):AddItem(effectsg, 2)
  2953. if returnn then
  2954. return effectsg
  2955. end
  2956. if not returnn then
  2957. table.insert(Effects, {effectsg, "Cylinder", 0.2, 0.01, 0, 0.01, effectsmsh})
  2958. end
  2959. end
  2960. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2961. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2962. prt.Anchored = true
  2963. prt.CFrame = cframe
  2964. local msh = mesh("SpecialMesh", prt, "FileMesh", "151778863", vt(0, 0, 0), vt(x1, y1, z1))
  2965. game:GetService("Debris"):AddItem(prt, 10)
  2966. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2967. end
  2968. MagicSpike = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2969. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2970. prt.Anchored = true
  2971. prt.CFrame = cframe
  2972. local msh = mesh("SpecialMesh", prt, "FileMesh", "151778863", vt(0, 0, 0), vt(x1, y1, z1))
  2973. game:GetService("Debris"):AddItem(prt, 10)
  2974. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2975. end
  2976. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2977. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2978. prt.Anchored = true
  2979. prt.CFrame = cframe
  2980. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2981. game:GetService("Debris"):AddItem(prt, 10)
  2982. if Type == 1 or Type == nil then
  2983. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  2984. else
  2985. if Type == 2 then
  2986. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  2987. end
  2988. end
  2989. end
  2990. MagicCloud = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2991. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2992. prt.Anchored = true
  2993. prt.CFrame = cframe
  2994. local msh = mesh("SpecialMesh", prt, "FileMesh", "151778863", vt(0, 0, 0), vt(x1, y1, z1))
  2995. game:GetService("Debris"):AddItem(prt, 10)
  2996. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2997. end
  2998. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  2999. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  3000. prt.Anchored = true
  3001. prt.Material = material
  3002. prt.CFrame = cframe
  3003. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3004. game:GetService("Debris"):AddItem(prt, 10)
  3005. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3006. end
  3007. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3008. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  3009. prt.Anchored = true
  3010. prt.CFrame = cframe
  3011. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3012. game:GetService("Debris"):AddItem(prt, 10)
  3013. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3014. end
  3015. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3016. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  3017. prt.Anchored = true
  3018. prt.CFrame = cframe
  3019. local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3020. game:GetService("Debris"):AddItem(prt, 10)
  3021. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3022. end
  3023. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  3024. local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  3025. prt.Anchored = true
  3026. prt.CFrame = cframe
  3027. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  3028. game:GetService("Debris"):AddItem(prt, 10)
  3029. table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  3030. end
  3031. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3032. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  3033. prt.Anchored = true
  3034. prt.CFrame = cframe
  3035. local msh = mesh("SpecialMesh", prt, "FileMesh", "151778863", vt(0, 0, 0), vt(x1, y1, z1))
  3036. game:GetService("Debris"):AddItem(prt, 10)
  3037. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3038. end
  3039. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  3040. if hit.Parent == nil then
  3041. return
  3042. end
  3043. if hit.Name == "Hitbox" and hit.Parent ~= modelzorz and ranged ~= true then
  3044. ref = part(3, effects, 0, 1, BrickColor.new("Pastel Blue"), "Reference", vt())
  3045. ref.Anchored = true
  3046. ref.CFrame = cf(hit.Position)
  3047. game:GetService("Debris"):AddItem(ref, 1)
  3048. hitnum = math.random(1, 5)
  3049. if hitnum == 1 then
  3050. so("199148971", ref, 1, 1)
  3051. else
  3052. if hitnum == 2 then
  3053. so("199149025", ref, 1, 1)
  3054. else
  3055. if hitnum == 3 then
  3056. so("199149072", ref, 1, 1)
  3057. else
  3058. if hitnum == 4 then
  3059. so("199149109", ref, 1, 1)
  3060. else
  3061. if hitnum == 5 then
  3062. so("199149119", ref, 1, 1)
  3063. end
  3064. end
  3065. end
  3066. end
  3067. end
  3068. StaggerHit.Value = true
  3069. end
  3070. h = hit.Parent:FindFirstChild("Humanoid")
  3071. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  3072. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  3073. return
  3074. end
  3075. c = Instance.new("ObjectValue")
  3076. c.Name = "creator"
  3077. c.Value = game:service("Players").LocalPlayer
  3078. c.Parent = h
  3079. RecentEnemy.Value = hit.Parent
  3080. game:GetService("Debris"):AddItem(c, 0.5)
  3081. minim = minim * Atk.Value
  3082. maxim = maxim * Atk.Value
  3083. Damage = 0
  3084. if minim == maxim then
  3085. Damage = maxim
  3086. else
  3087. Damage = math.random(minim, maxim)
  3088. end
  3089. blocked = false
  3090. enblock = nil
  3091. local EStats = hit.Parent:findFirstChild("Stats")
  3092. if EStats ~= nil then
  3093. invis = EStats:findFirstChild("Invisibility")
  3094. isinvis = EStats:findFirstChild("IsInvisible")
  3095. if (ranged == false or ranged == nil) and invis ~= nil and isinvis.Value == true then
  3096. invis.Value = 0
  3097. end
  3098. enblock = EStats:findFirstChild("Block")
  3099. if enblock ~= nil and enblock.Value == true then
  3100. blocked = true
  3101. end
  3102. if EStats:findFirstChild("Defense") ~= nil then
  3103. Damage = Damage / EStats.Defense.Value
  3104. if Damage <= 3 and (ranged == false or ranged == nil) and blocked ~= true then
  3105. hitnum = math.random(1, 5)
  3106. if hitnum == 1 then
  3107. so("199149321", hit, 1, 1)
  3108. else
  3109. if hitnum == 2 then
  3110. so("199149338", hit, 1, 1)
  3111. else
  3112. if hitnum == 3 then
  3113. so("199149367", hit, 1, 1)
  3114. else
  3115. if hitnum == 4 then
  3116. so("199149409", hit, 1, 1)
  3117. else
  3118. if hitnum == 5 then
  3119. so("199149452", hit, 1, 1)
  3120. end
  3121. end
  3122. end
  3123. end
  3124. end
  3125. else
  3126. if ranged == false or ranged == nil and blocked ~= true then
  3127. hitnum = math.random(1, 6)
  3128. if hitnum == 1 then
  3129. so("199149137", hit, 1, 1)
  3130. else
  3131. if hitnum == 2 then
  3132. so("199149186", hit, 1, 1)
  3133. else
  3134. if hitnum == 3 then
  3135. so("199149221", hit, 1, 1)
  3136. else
  3137. if hitnum == 4 then
  3138. so("199149235", hit, 1, 1)
  3139. else
  3140. if hitnum == 5 then
  3141. so("199149269", hit, 1, 1)
  3142. else
  3143. if hitnum == 6 then
  3144. so("199149297", hit, 1, 1)
  3145. end
  3146. end
  3147. end
  3148. end
  3149. end
  3150. end
  3151. end
  3152. end
  3153. if Damage <= 3 and staghit == true and ranged ~= true then
  3154. StaggerHit.Value = true
  3155. end
  3156. end
  3157. if EStats:findFirstChild("Stun") ~= nil then
  3158. if blocked == true then
  3159. incstun = incstun / 2
  3160. end
  3161. if EStats.Stun.Value < EStats.StunThreshold.Value then
  3162. EStats.Stun.Value = EStats.Stun.Value + incstun
  3163. end
  3164. end
  3165. if EStats:findFirstChild("Stagger") ~= nil and stagger == true then
  3166. EStats.Stagger.Value = true
  3167. end
  3168. end
  3169. if blocked == true then
  3170. showDamage(hit.Parent, "Block", "Damage")
  3171. if ranged ~= true then
  3172. enblock.Value = false
  3173. Stagger.Value = true
  3174. hitnum = math.random(1, 2)
  3175. if hitnum == 1 then
  3176. so("199148933", hit, 1, 1)
  3177. else
  3178. if hitnum == 2 then
  3179. so("199148947", hit, 1, 1)
  3180. end
  3181. end
  3182. end
  3183. else
  3184. Damage = math.floor(Damage)
  3185. coroutine.resume(coroutine.create(function(Hum, Dam)
  3186. hit.Parent.Humanoid:TakeDamage(Damage)
  3187. end
  3188. ), h, Damage)
  3189. showDamage(hit.Parent, Damage, "Damage")
  3190. if DecreaseState ~= nil then
  3191. if DecreaseState == "Temporal" then
  3192. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, Duration)
  3193. DecreaseStat(hit.Parent, "Defense", DecreaseAmount, Duration)
  3194. else
  3195. if DecreaseState == "Temporal2" then
  3196. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, Duration)
  3197. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, Duration)
  3198. else
  3199. DecreaseStat(hit.Parent, DecreaseState, DecreaseAmount, Duration)
  3200. end
  3201. end
  3202. end
  3203. if Type == "NormalDecreaseMvmt1" then
  3204. DecreaseStat(hit.Parent, "Movement", 0.1, 200)
  3205. end
  3206. if Type == "Knockdown" then
  3207. hum = hit.Parent.Humanoid
  3208. hum.PlatformStand = true
  3209. coroutine.resume(coroutine.create(function(HHumanoid)
  3210. swait(1)
  3211. HHumanoid.PlatformStand = false
  3212. end
  3213. ), hum)
  3214. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3215. local bodvol = Instance.new("BodyVelocity")
  3216. bodvol.velocity = angle * knockback
  3217. bodvol.P = 5000
  3218. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  3219. bodvol.Parent = hit
  3220. rl = Instance.new("BodyAngularVelocity")
  3221. rl.P = 3000
  3222. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  3223. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  3224. rl.Parent = hit
  3225. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3226. game:GetService("Debris"):AddItem(rl, 0.5)
  3227. else
  3228. do
  3229. if Type == "Knockdown2" then
  3230. hum = hit.Parent.Humanoid
  3231. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3232. local bodvol = Instance.new("BodyVelocity")
  3233. bodvol.velocity = angle * knockback
  3234. bodvol.P = 5000
  3235. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  3236. bodvol.Parent = hit
  3237. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3238. else
  3239. do
  3240. if Type == "Normal" or Type == "NormalDecreaseMvmt1" then
  3241. vp = Instance.new("BodyVelocity")
  3242. vp.P = 500
  3243. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  3244. if KnockbackType == 1 then
  3245. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3246. else
  3247. if KnockbackType == 2 then
  3248. vp.velocity = Property.CFrame.lookVector * knockback
  3249. end
  3250. end
  3251. game:GetService("Debris"):AddItem(vp, 0.5)
  3252. if knockback > 0 then
  3253. vp.Parent = hit.Parent.Torso
  3254. end
  3255. end
  3256. debounce = Instance.new("BoolValue")
  3257. debounce.Name = "DebounceHit"
  3258. debounce.Parent = hit.Parent
  3259. debounce.Value = true
  3260. game:GetService("Debris"):AddItem(debounce, Delay)
  3261. c = Instance.new("ObjectValue")
  3262. c.Name = "creator"
  3263. c.Value = Player
  3264. c.Parent = h
  3265. game:GetService("Debris"):AddItem(c, 0.5)
  3266. CRIT = false
  3267. end
  3268. end
  3269. end
  3270. end
  3271. end
  3272. end
  3273. end
  3274. showDamage = function(Char, Dealt, Type)
  3275. m = Instance.new("Model")
  3276. m.Name = "Effect"
  3277. c = Instance.new("Part")
  3278. c.Transparency = 1
  3279. c.Name = "Head"
  3280. c.TopSurface = 0
  3281. c.BottomSurface = 0
  3282. c.formFactor = "Plate"
  3283. c.Size = Vector3.new(1, 0.4, 1)
  3284. b = Instance.new("BillboardGui", c)
  3285. b.Size = UDim2.new(5, 0, 5, 0)
  3286. b.AlwaysOnTop = true
  3287. damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  3288. if Type == "Damage" then
  3289. damgui.Font = "SourceSans"
  3290. if Dealt == "Block" then
  3291. damgui.TextColor3 = BrickColor.new("Really green").Color
  3292. else
  3293. if Dealt < 3 then
  3294. damgui.TextColor3 = BrickColor.new("Deep orange").Color
  3295. else
  3296. if Dealt >= 3 and Dealt < 20 then
  3297. damgui.TextColor3 = BrickColor.new("Pastel Blue").Color
  3298. else
  3299. damgui.TextColor3 = BrickColor.new("Maroon").Color
  3300. damgui.Font = "SourceSansBold"
  3301. end
  3302. end
  3303. end
  3304. else
  3305. if Type == "Debuff" then
  3306. damgui.TextColor3 = BrickColor.new("Deep orange").Color
  3307. else
  3308. if Type == "Interrupt" then
  3309. damgui.TextColor3 = BrickColor.new("Pastel Blue").Color
  3310. end
  3311. end
  3312. end
  3313. damgui.TextScaled = true
  3314. ms = Instance.new("CylinderMesh")
  3315. ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  3316. ms.Parent = c
  3317. c.Reflectance = 0
  3318. Instance.new("BodyGyro").Parent = c
  3319. c.Parent = m
  3320. if Char:findFirstChild("Head") ~= nil then
  3321. c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  3322. else
  3323. if Char.Parent:findFirstChild("Head") ~= nil then
  3324. c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  3325. end
  3326. end
  3327. f = Instance.new("BodyPosition")
  3328. f.P = 2000
  3329. f.D = 100
  3330. f.maxForce = Vector3.new(545000, 545000, 545000)
  3331. if Type == "Damage" then
  3332. f.position = c.Position + Vector3.new(0, 3, 0)
  3333. else
  3334. if Type == "Debuff" or Type == "Interrupt" then
  3335. f.position = c.Position + Vector3.new(0, 5, 0)
  3336. end
  3337. end
  3338. f.Parent = c
  3339. game:GetService("Debris"):AddItem(m, 5)
  3340. table.insert(Effects, {m, "showDamage", damgui, f, 10, 1, 15, 50, 100})
  3341. c.CanCollide = false
  3342. m.Parent = workspace
  3343. c.CanCollide = false
  3344. end
  3345. combo = 0
  3346. ob1d = function(mouse)
  3347. if GuardStance == true and MMouse.Target ~= nil then
  3348. if MMouse.Target.Parent.Parent:findFirstChild("Humanoid") ~= nil and MMouse.Target.Parent.Parent:findFirstChild("Torso") ~= nil then
  3349. Target = MMouse.Target.Parent.Parent
  3350. GuardStance = false
  3351. end
  3352. if MMouse.Target.Parent:findFirstChild("Humanoid") ~= nil and MMouse.Target.Parent:findFirstChild("Torso") ~= nil then
  3353. Target = MMouse.Target.Parent
  3354. GuardStance = false
  3355. end
  3356. end
  3357. if attack == true or equipped == false then
  3358. return
  3359. end
  3360. hold = true
  3361. if Mode == "Defensive" then
  3362. if combo == 0 then
  3363. combo = 1
  3364. dattackone()
  3365. else
  3366. if combo == 1 then
  3367. combo = 2
  3368. dattacktwo()
  3369. else
  3370. if combo == 2 then
  3371. combo = 3
  3372. dattackthree()
  3373. else
  3374. if combo == 3 then
  3375. combo = 0
  3376. dattackfour()
  3377. end
  3378. end
  3379. end
  3380. end
  3381. end
  3382. coroutine.resume(coroutine.create(function()
  3383. for i = 1, 50 do
  3384. if attack == false then
  3385. swait()
  3386. end
  3387. end
  3388. if attack == false then
  3389. combo = 0
  3390. end
  3391. end))
  3392. end
  3393. ob1u = function(mouse)
  3394. hold = false
  3395. end
  3396. buttonhold = false
  3397. fenbarmove1.MouseButton1Click:connect(do1)
  3398. fenbarmove2.MouseButton1Click:connect(do2)
  3399. fenbarmove3.MouseButton1Click:connect(do3)
  3400. fenbarmove4.MouseButton1Click:connect(do4)
  3401. eul = 0
  3402. equipped = false
  3403. key = function(key)
  3404. if key == "x" and Fly == true then
  3405. Fly = false
  3406. Target = nil
  3407. end
  3408. if key == string.char(8) and Fly == true then
  3409. Fly = false
  3410. Target = nil
  3411. end
  3412. if key == "x" and GuardStance == true then
  3413. manualguardend = true
  3414. GuardStance = false
  3415. end
  3416. if attack == true then
  3417. return
  3418. end
  3419. if key == "f" then
  3420. pressedf = true
  3421. fnumb = 0
  3422. attack = true
  3423. if equipped == false then
  3424. equipped = true
  3425. RSH = ch.Torso["Right Shoulder"]
  3426. LSH = ch.Torso["Left Shoulder"]
  3427. RSH.Parent = nil
  3428. LSH.Parent = nil
  3429. RW.Name = "Right Shoulder"
  3430. RW.Part0 = ch.Torso
  3431. RW.C0 = cf(1.5, 0.5, 0)
  3432. RW.C1 = cf(0, 0.5, 0)
  3433. RW.Part1 = ch["Right Arm"]
  3434. RW.Parent = ch.Torso
  3435. LW.Name = "Left Shoulder"
  3436. LW.Part0 = ch.Torso
  3437. LW.C0 = cf(-1.5, 0.5, 0)
  3438. LW.C1 = cf(0, 0.5, 0)
  3439. LW.Part1 = ch["Left Arm"]
  3440. LW.Parent = ch.Torso
  3441. Animate.Parent = nil
  3442. equipanim()
  3443. else
  3444. equipped = false
  3445. hideanim()
  3446. LH.C1 = LHC1
  3447. RH.C1 = RHC1
  3448. Animate.Parent = Humanoid
  3449. swait(0)
  3450. RW.Parent = nil
  3451. LW.Parent = nil
  3452. RSH.Parent = player.Character.Torso
  3453. LSH.Parent = player.Character.Torso
  3454. end
  3455. attack = false
  3456. end
  3457. if equipped == false then
  3458. return
  3459. end
  3460. if key == "z" then
  3461. do1()
  3462. end
  3463. if key == "x" then
  3464. do2()
  3465. end
  3466. if key == "c" then
  3467. do3()
  3468. end
  3469. if key == "v" then
  3470. do4()
  3471. end
  3472. if key == "h" and (Player.Name == "speedydude900" or Player.Name == "Player" or Player.Name == "Player1") then
  3473. mana.Value = 100
  3474. cooldowns[1] = 100
  3475. cooldowns[2] = 100
  3476. cooldowns[3] = 100
  3477. cooldowns[4] = 100
  3478. cooldowns[5] = 100
  3479. end
  3480. if key == "g" then
  3481. taunt()
  3482. end
  3483. if attack == false then
  3484. RecentEnemy.Value = nil
  3485. end
  3486. end
  3487. key2 = function(key)
  3488. end
  3489. s = function(mouse)
  3490. mouse.Button1Down:connect(function()
  3491. ob1d(mouse)
  3492. end)
  3493. mouse.Button1Up:connect(function()
  3494. ob1u(mouse)
  3495. end)
  3496. mouse.KeyDown:connect(key)
  3497. mouse.KeyUp:connect(key2)
  3498. player = Player
  3499. ch = Character
  3500. MMouse = mouse
  3501. end
  3502. ds = function(mouse)
  3503. end
  3504. Bin.Selected:connect(s)
  3505. Bin.Deselected:connect(ds)
  3506. print("Major loaded.")
  3507. local mananum = 0
  3508. local donum = 0
  3509. local stunnum = 0
  3510. local staggeranim = false
  3511. local stunanim = false
  3512. local passivenum = 0
  3513. local walk = 0
  3514. local walkforw = true
  3515. while 1 do
  3516. swait()
  3517. if Humanoid.Health <= 0 then
  3518. attack = true
  3519. resumeControl()
  3520. modelzorz.Parent = workspace
  3521. game:GetService("Debris"):AddItem(modelzorz, 30)
  3522. for i = 1, #Weapon do
  3523. Weapon[i].Parent = modelzorz
  3524. Weapon[i].CanCollide = true
  3525. end
  3526. for i = 1, #Welds do
  3527. if Welds[i].Part0.Parent == Character or Welds[i].Part1.Parent == Character then
  3528. Welds[i].Parent = nil
  3529. else
  3530. Welds[i].Parent = prt1
  3531. end
  3532. end
  3533. end
  3534. do
  3535. if fnumb < 21 then
  3536. fnumb = fnumb + 1
  3537. if pressedf == false then
  3538. fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency - 0.025
  3539. tellbar.TextTransparency = tellbar.TextTransparency - 0.05
  3540. tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency - 0.05
  3541. else
  3542. if fnumb == 20 then
  3543. fenframe5.Parent = nil
  3544. print("daigui")
  3545. end
  3546. fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency + 0.025
  3547. tellbar.TextTransparency = tellbar.TextTransparency + 0.05
  3548. tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency + 0.05
  3549. end
  3550. end
  3551. if hbwld.Parent == nil then
  3552. hitbox2.Name = "Hitbox"
  3553. else
  3554. hitbox2.Name = "Hitbox2"
  3555. end
  3556. hitbox2.Parent = hitbox.Parent
  3557. hitbox2.Size = hitbox.Size
  3558. hitbox2.CFrame = hitboxCF
  3559. hboxpos.position = hitbox2.Position + vt(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100)
  3560. passivenum = passivenum + 1
  3561. if 80 <= passivenum then
  3562. passivenum = 0
  3563. end
  3564. if Stagger.Value == true and staggeranim == false then
  3565. coroutine.resume(coroutine.create(function()
  3566. staggeranim = true
  3567. while attack == true do
  3568. swait()
  3569. end
  3570. StaggerAnim()
  3571. StaggerHit.Value = false
  3572. Stagger.Value = false
  3573. staggeranim = false
  3574. end))
  3575. end
  3576. if StaggerHit.Value == true and staggeranim == false then
  3577. coroutine.resume(coroutine.create(function()
  3578. staggeranim = true
  3579. while attack == true do
  3580. swait()
  3581. end
  3582. StaggerHitt()
  3583. StaggerHit.Value = false
  3584. Stagger.Value = false
  3585. staggeranim = false
  3586. end))
  3587. end
  3588. if Mvmt.Value < 0 or Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true or Rooted.Value == true then
  3589. Humanoid.WalkSpeed = 0
  3590. else
  3591. Humanoid.WalkSpeed = 16 * Mvmt.Value
  3592. end
  3593. if StunT.Value <= Stun.Value and stunanim == false then
  3594. coroutine.resume(coroutine.create(function()
  3595. stunanim = true
  3596. while attack == true do
  3597. swait()
  3598. end
  3599. StunAnim()
  3600. Stun.Value = 0
  3601. stunanim = false
  3602. end))
  3603. end
  3604. local stunnum2 = 20
  3605. if Mode == "Defensive" then
  3606. stunnum2 = 20
  3607. else
  3608. stunnum2 = 60
  3609. end
  3610. if stunnum2 <= stunnum then
  3611. if 0 < Stun.Value then
  3612. Stun.Value = Stun.Value - 1
  3613. end
  3614. stunnum = 0
  3615. end
  3616. stunnum = stunnum + 1
  3617. if 0.5 <= donum then
  3618. handidle = true
  3619. else
  3620. if donum <= 0 then
  3621. handidle = false
  3622. end
  3623. end
  3624. if handidle == false then
  3625. donum = donum + 0.006
  3626. else
  3627. donum = donum - 0.006
  3628. end
  3629. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3630. local velderp = RootPart.Velocity.y
  3631. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  3632. if equipped == true then
  3633. if attack == false then
  3634. idle = idle + 1
  3635. else
  3636. idle = 0
  3637. end
  3638. if (500 <= idle and attack ~= false) or Anim == "Walk" then
  3639. if walkforw == true then
  3640. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  3641. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  3642. if attack == false then
  3643. RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(-1, 0, 0), Mvmt.Value * 10 / 50)
  3644. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(1, 0, 0), Mvmt.Value * 10 / 50)
  3645. else
  3646. RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3647. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3648. end
  3649. else
  3650. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  3651. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  3652. if attack == false then
  3653. RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(1, 0, 0), Mvmt.Value * 10 / 50)
  3654. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(-1, 0, 0), Mvmt.Value * 10 / 50)
  3655. else
  3656. RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3657. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3658. end
  3659. end
  3660. else
  3661. RH.C1 = clerp(RH.C1, RHC1, 0.2)
  3662. LH.C1 = clerp(LH.C1, LHC1, 0.2)
  3663. RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3664. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3665. end
  3666. if 1 < RootPart.Velocity.y and hitfloor == nil then
  3667. Anim = "Jump"
  3668. if attack == false then
  3669. handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  3670. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.2)
  3671. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  3672. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3673. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.2), 0.2)
  3674. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3675. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.2), 0.2)
  3676. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3677. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
  3678. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
  3679. end
  3680. else
  3681. if RootPart.Velocity.y < -1 and hitfloor == nil then
  3682. Anim = "Fall"
  3683. if attack == false then
  3684. handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  3685. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
  3686. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  3687. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3688. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.8), 0.2)
  3689. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3690. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.8), 0.2)
  3691. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3692. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  3693. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  3694. end
  3695. else
  3696. if torvel < 1 and hitfloor ~= nil then
  3697. Anim = "Idle"
  3698. if attack == false then
  3699. Neck.C0 = clerp(Neck.C0, necko * euler(0.35, 0, 0), 0.15)
  3700. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.15)
  3701. RW.C0 = clerp(RW.C0, cf(1.45, 0.4 + (donum) / 3, -0.2) * euler(0, 0.3, 0.2), 0.15)
  3702. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  3703. LW.C0 = clerp(LW.C0, cf(-1.45, 0.4 + (donum) / 3, -0.2) * euler(0, -0.3, -0.2), 0.15)
  3704. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  3705. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, -0.15, 0), 0.2)
  3706. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.15, 0), 0.2)
  3707. end
  3708. else
  3709. if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  3710. Anim = "Walk"
  3711. walk = walk + 1
  3712. if 15 - 5 * Mvmt.Value <= walk then
  3713. walk = 0
  3714. if walkforw == true then
  3715. walkforw = false
  3716. else
  3717. if walkforw == false then
  3718. walkforw = true
  3719. end
  3720. end
  3721. end
  3722. if attack == false then
  3723. Neck.C0 = clerp(Neck.C0, necko * euler(0.25, 0, 0), 0.2)
  3724. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3725. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.1, 0, 0.1), 0.2)
  3726. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.1, 0, -0.1), 0.2)
  3727. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.2)
  3728. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0), 0.2)
  3729. end
  3730. else
  3731. if 30 <= torvel and hitfloor ~= nil then
  3732. Anim = "Run"
  3733. if attack == false then
  3734. Neck.C0 = clerp(Neck.C0, necko * euler(0.25, 0, 0), 0.2)
  3735. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3736. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.1, 0, 0.1), 0.2)
  3737. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.1, 0, -0.1), 0.2)
  3738. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.2)
  3739. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0), 0.2)
  3740. end
  3741. end
  3742. end
  3743. end
  3744. end
  3745. end
  3746. end
  3747. if 0 < #Effects then
  3748. for e = 1, #Effects do
  3749. if Effects[e] ~= nil then
  3750. local Thing = Effects[e]
  3751. if Thing ~= nil then
  3752. local Part = Thing[1]
  3753. local Mode = Thing[2]
  3754. local Delay = Thing[3]
  3755. local IncX = Thing[4]
  3756. local IncY = Thing[5]
  3757. local IncZ = Thing[6]
  3758. if Thing[2] == "CylinderClang" then
  3759. if Thing[3] <= 1 then
  3760. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3761. Thing[7] = Thing[1].CFrame
  3762. effect("Pastel Blue", 0, Thing[8], Thing[7])
  3763. Thing[8] = Thing[7]
  3764. Thing[3] = Thing[3] + Thing[4]
  3765. else
  3766. Part.Parent = nil
  3767. table.remove(Effects, e)
  3768. end
  3769. end
  3770. if Thing[2] == "showDamage" then
  3771. if Thing[6] < Thing[5] then
  3772. Thing[6] = Thing[6] + 1
  3773. else
  3774. if Thing[6] < Thing[7] then
  3775. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  3776. Thing[6] = Thing[6] + 1
  3777. else
  3778. if Thing[6] < Thing[8] then
  3779. Thing[6] = Thing[6] + 1
  3780. else
  3781. if Thing[6] < Thing[9] then
  3782. Thing[6] = Thing[6] + 1
  3783. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  3784. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  3785. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  3786. else
  3787. Thing[1].Parent = nil
  3788. table.remove(Effects, e)
  3789. end
  3790. end
  3791. end
  3792. end
  3793. end
  3794. if Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" then
  3795. if Thing[1].Transparency <= 1 then
  3796. if Thing[2] == "Block1" then
  3797. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3798. Mesh = Thing[7]
  3799. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3800. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3801. else
  3802. if Thing[2] == "Block2" then
  3803. Thing[1].CFrame = Thing[1].CFrame
  3804. Mesh = Thing[7]
  3805. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3806. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3807. else
  3808. if Thing[2] == "Cylinder" then
  3809. Mesh = Thing[7]
  3810. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3811. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3812. else
  3813. if Thing[2] == "Blood" then
  3814. Mesh = Thing[7]
  3815. Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  3816. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3817. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3818. else
  3819. if Thing[2] == "Elec" then
  3820. Mesh = Thing[7]
  3821. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  3822. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3823. else
  3824. if Thing[2] == "Disappear" then
  3825. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3826. end
  3827. end
  3828. end
  3829. end
  3830. end
  3831. end
  3832. else
  3833. Part.Parent = nil
  3834. table.remove(Effects, e)
  3835. end
  3836. end
  3837. end
  3838. end
  3839. end
  3840. end
  3841. do
  3842. fenbarmana2:TweenSize((UDim2.new(0.4, 0, -4 * mana.Value / 100, 0)), nil, 1, 0.4, true)
  3843. fenbarmana4.Text = "Mana(" .. mana.Value .. ")"
  3844. fenbarhp2.BackgroundColor3 = Color3.new(Humanoid.Health / Humanoid.MaxHealth, 0, 0)
  3845. fenbarhp2:TweenSize((UDim2.new(Humanoid.Health / Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true)
  3846. fenbarhp3.Text = "(" .. math.floor(Humanoid.Health) .. ")"
  3847. fenbarmove1b:TweenSize((UDim2.new(1 * cooldowns[1] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3848. fenbarmove2b:TweenSize((UDim2.new(1 * cooldowns[2] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3849. fenbarmove3b:TweenSize((UDim2.new(1 * cooldowns[3] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3850. fenbarmove4b:TweenSize((UDim2.new(1 * cooldowns[4] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3851. for _,c in pairs(Decrease:children()) do
  3852. if (c:findFirstChild("Duration")) ~= nil then
  3853. c.Duration.Value = c.Duration.Value - 1
  3854. if c.Duration.Value <= 0 then
  3855. c.Parent = nil
  3856. end
  3857. end
  3858. if c.Name == "DecreaseAtk" then
  3859. decreaseatk = decreaseatk + c.Value
  3860. else
  3861. if c.Name == "DecreaseDef" then
  3862. decreasedef = decreasedef + c.Value
  3863. else
  3864. if c.Name == "DecreaseMvmt" then
  3865. decreasemvmt = decreasemvmt + c.Value
  3866. end
  3867. end
  3868. end
  3869. end
  3870. Atk.Value = 1 - (decreaseatk)
  3871. if Atk.Value <= 0 then
  3872. Atk.Value = 0
  3873. end
  3874. Def.Value = 1 - (decreasedef)
  3875. if Def.Value <= 0 then
  3876. Def.Value = -10
  3877. end
  3878. Mvmt.Value = 1 - (decreasemvmt)
  3879. if Mvmt.Value <= 0 then
  3880. Mvmt.Value = 0
  3881. end
  3882. decreaseatk = 0
  3883. decreasedef = 0
  3884. decreasemvmt = 0
  3885. AtkVal = Atk.Value * 100
  3886. AtkVal = math.floor(AtkVal)
  3887. AtkVal = AtkVal / 100
  3888. fenbardamage.Text = "Damage\n(" .. AtkVal .. ")"
  3889. DefVal = Def.Value * 100
  3890. DefVal = math.floor(DefVal)
  3891. DefVal = DefVal / 100
  3892. fenbardef.Text = "Defense\n(" .. DefVal .. ")"
  3893. MvmtVal = Mvmt.Value * 100
  3894. MvmtVal = math.floor(MvmtVal)
  3895. MvmtVal = MvmtVal / 100
  3896. if Rooted.Value == true then
  3897. MvmtVal = 0
  3898. end
  3899. fenbarmove.Text = "Walkspeed\n(" .. MvmtVal .. ")"
  3900. if StunT.Value <= Stun.Value then
  3901. fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4, 0)), nil, 1, 0.4, true)
  3902. else
  3903. fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4 * Stun.Value / StunT.Value, 0)), nil, 1, 0.4, true)
  3904. end
  3905. fenbarstun3.Text = "Stun(" .. Stun.Value .. ")"
  3906. if 100 <= mana.Value then
  3907. mana.Value = 100
  3908. else
  3909. if mananum <= 9 then
  3910. mananum = mananum + 5
  3911. else
  3912. mananum = 0
  3913. mana.Value = mana.Value + 3222
  3914. end
  3915. end
  3916. for i = 1, #cooldowns do
  3917. if cooldownmax <= cooldowns[i] then
  3918. cooldowns[i] = cooldownmax
  3919. else
  3920. cooldowns[i] = cooldowns[i] + cooldownsadd[i]
  3921. end
  3922. end
  3923. -- DECOMPILER ERROR at PC4541: LeaveBlock: unexpected jumping out DO_STMT
  3924.  
  3925. -- DECOMPILER ERROR at PC4541: LeaveBlock: unexpected jumping out DO_STMT
  3926.  
  3927. end
  3928. end
  3929. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement