Wweroblox12121212

Untitled

May 10th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 129.15 KB | None | 0 0
  1. Player = game:GetService("Players").LocalPlayer
  2. Character = Player.Character
  3. PlayerGui = Player.PlayerGui
  4. Backpack = Player.Backpack
  5. Torso = Character.Torso
  6. Head = Character.Head
  7. Humanoid = Character.Humanoid
  8. LeftArm = Character["Left Arm"]
  9. LeftLeg = Character["Left Leg"]
  10. RightArm = Character["Right Arm"]
  11. RightLeg = Character["Right Leg"]
  12. LS = Torso["Left Shoulder"]
  13. LH = Torso["Left Hip"]
  14. RS = Torso["Right Shoulder"]
  15. RH = Torso["Right Hip"]
  16. Neck = Torso.Neck
  17. it = Instance.new
  18. vt = Vector3.new
  19. cf = CFrame.new
  20. euler = CFrame.fromEulerAnglesXYZ
  21. angles = CFrame.Angles
  22. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  23. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  24. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  25. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  26. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  27. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  28. RootPart = Character.HumanoidRootPart
  29. RootJoint = RootPart.RootJoint
  30. RootCF = euler(-1.57, 0, 3.14)
  31. attack = false
  32. attackdebounce = false
  33. MMouse = nil
  34. combo = 0
  35. local hitfloor, posfloor = nil, nil
  36. local idle = 0
  37. local Anim = "Idle"
  38. local Effects = {}
  39. local Weapon = {}
  40. local Welds = {}
  41. local decreaseatk = 0
  42. local decreasedef = 0
  43. local decreasemvmt = 0
  44. local gun = false
  45. local shoot = false
  46. local perfaim = false
  47. local redimbue = false
  48. local move1 = "(Z)\nFlaming waves"
  49. local move2 = "(X)\nTriple field"
  50. local move3 = "(C)\nGround crack"
  51. local move4 = "(V)\nFlaming fury"
  52. local cooldowns = {}
  53. local cooldown1 = 0
  54. table.insert(cooldowns, cooldown1)
  55. local cooldown2 = 0
  56. table.insert(cooldowns, cooldown2)
  57. local cooldown3 = 0
  58. table.insert(cooldowns, cooldown3)
  59. local cooldown4 = 0
  60. table.insert(cooldowns, cooldown4)
  61. local cooldownsadd = {}
  62. local cooldownadd1 = 0.35
  63. table.insert(cooldownsadd, cooldownadd1)
  64. local cooldownadd2 = 0.15
  65. table.insert(cooldownsadd, cooldownadd2)
  66. local cooldownadd3 = 0.10
  67. table.insert(cooldownsadd, cooldownadd3)
  68. local cooldownadd4 = 0.08
  69. table.insert(cooldownsadd, cooldownadd4)
  70. local cooldownmax = 130
  71. player = nil
  72. RSH = nil
  73. combing = false
  74. RW = Instance.new("Motor")
  75. LW = Instance.new("Motor")
  76. RW.Name = "Right Shoulder"
  77. LW.Name = "Left Shoulder"
  78. LH = Torso["Left Hip"]
  79. RH = Torso["Right Hip"]
  80. TorsoColor = Torso.BrickColor
  81. local mdec = Instance.new("NumberValue", Decrease)
  82. mdec.Name = "DecreaseDef"
  83. mdec.Value = 0.4
  84. local mdec2 = Instance.new("NumberValue", Decrease)
  85. mdec2.Name = "DecreaseMvmt"
  86. mdec2.Value = 0.1
  87. local Animate = Humanoid.Animator
  88. local canjump = true
  89. removeControl = function()
  90. canjump = false
  91. end
  92. resumeControl = function()
  93. canjump = true
  94. end
  95. Player.Character.Humanoid.Changed:connect(function()
  96. if canjump == false then
  97. Player.Character.Humanoid.Jump = false
  98. end
  99. end)
  100. swait = function(num)
  101. wait()
  102. end
  103. if Character:findFirstChild("Flaming Ignis", true) ~= nil then
  104. Character:findFirstChild("Flaming Ignis", true).Parent = nil
  105. end
  106. if Player.PlayerGui:findFirstChild("WeaponGUI", true) ~= nil then
  107. Player.PlayerGui:findFirstChild("WeaponGUI", true).Parent = nil
  108. end
  109. if Character:findFirstChild("Stats", true) ~= nil then
  110. Character:findFirstChild("Stats", true).Parent = nil
  111. end
  112. local Stats = Instance.new("BoolValue")
  113. Stats.Name = "Stats"
  114. Stats.Parent = Character
  115. local Atk = Instance.new("NumberValue")
  116. Atk.Name = "Damage"
  117. Atk.Parent = Stats
  118. Atk.Value = 1
  119. local Def = Instance.new("NumberValue")
  120. Def.Name = "Defense"
  121. Def.Parent = Stats
  122. Def.Value = 1
  123. local Mvmt = Instance.new("NumberValue")
  124. Mvmt.Name = "Movement"
  125. Mvmt.Parent = Stats
  126. Mvmt.Value = 1
  127. local Block = Instance.new("BoolValue")
  128. Block.Name = "Block"
  129. Block.Parent = Stats
  130. Block.Value = false
  131. local Stun = Instance.new("NumberValue")
  132. Stun.Name = "Stun"
  133. Stun.Parent = Stats
  134. Stun.Value = 0
  135. local StunT = Instance.new("NumberValue")
  136. StunT.Name = "StunThreshold"
  137. StunT.Parent = Stats
  138. StunT.Value = 100
  139. local Rooted = Instance.new("BoolValue")
  140. Rooted.Name = "Rooted"
  141. Rooted.Parent = Stats
  142. Rooted.Value = false
  143. local Stunned = Instance.new("BoolValue")
  144. Stunned.Name = "Stunned"
  145. Stunned.Parent = Stats
  146. Stunned.Value = false
  147. local Stagger = Instance.new("BoolValue")
  148. Stagger.Name = "Stagger"
  149. Stagger.Parent = Stats
  150. Stagger.Value = false
  151. local StaggerHit = Instance.new("BoolValue")
  152. StaggerHit.Name = "StaggerHit"
  153. StaggerHit.Parent = Stats
  154. StaggerHit.Value = false
  155. local RecentEnemy = Instance.new("ObjectValue")
  156. RecentEnemy.Name = "RecentEnemy"
  157. RecentEnemy.Parent = Stats
  158. RecentEnemy.Value = nil
  159. local Decrease = Instance.new("BoolValue")
  160. Decrease.Name = "Decrease"
  161. Decrease.Parent = Stats
  162. Decrease.Value = false
  163. local mana = Instance.new("NumberValue")
  164. mana.Name = "Mana"
  165. mana.Parent = Stats
  166. mana.Value = 0
  167. local passive = Instance.new("NumberValue", Decrease)
  168. passive.Name = "DecreaseAtk"
  169. passive.Value = 0
  170. local passive2 = Instance.new("NumberValue", Decrease)
  171. passive2.Name = "DecreaseMvmt"
  172. passive2.Value = 0
  173. NoOutline = function(Part)
  174. Part.TopSurface = 10
  175. end
  176. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  177. local fp = it("Part")
  178. fp.formFactor = formfactor
  179. fp.Parent = parent
  180. fp.Reflectance = reflectance
  181. fp.Transparency = transparency
  182. fp.CanCollide = false
  183. fp.Locked = true
  184. fp.BrickColor = brickcolor
  185. fp.Name = name
  186. fp.Size = size
  187. fp.Position = Torso.Position
  188. NoOutline(fp)
  189. fp.Material = "SmoothPlastic"
  190. fp:BreakJoints()
  191. return fp
  192. end
  193. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  194. local mesh = it(Mesh)
  195. mesh.Parent = part
  196. if Mesh == "SpecialMesh" then
  197. mesh.MeshType = meshtype
  198. if meshid ~= "nil" then
  199. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  200. end
  201. end
  202. mesh.Offset = offset
  203. mesh.Scale = scale
  204. return mesh
  205. end
  206. weld = function(parent, part0, part1, c0)
  207. local weld = it("Motor")
  208. weld.Parent = parent
  209. weld.Part0 = part0
  210. weld.Part1 = part1
  211. weld.C0 = c0
  212. return weld
  213. end
  214. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  215. local gui = it(GuiType)
  216. gui.Parent = parent
  217. gui.Text = text
  218. gui.BackgroundTransparency = backtrans
  219. gui.BackgroundColor3 = backcol
  220. gui.SizeConstraint = "RelativeXY"
  221. gui.TextXAlignment = "Center"
  222. gui.TextYAlignment = "Center"
  223. gui.Position = pos
  224. gui.Size = size
  225. gui.Font = "SourceSans"
  226. gui.FontSize = "Size14"
  227. gui.TextWrapped = false
  228. gui.TextStrokeTransparency = 0
  229. gui.TextColor = BrickColor.new("White")
  230. return gui
  231. end
  232. local Color1 = Torso.BrickColor
  233. local fengui = it("GuiMain")
  234. fengui.Parent = Player.PlayerGui
  235. fengui.Name = "WeaponGUI"
  236. local fenframe = it("Frame")
  237. fenframe.Parent = fengui
  238. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  239. fenframe.BackgroundTransparency = 1
  240. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  241. fenframe.Size = UDim2.new(0.1, 0, 0.1, 0)
  242. fenframe.Position = UDim2.new(0.95, 0, 0.7, 0)
  243. local fenframe2 = it("Frame")
  244. fenframe2.Parent = fengui
  245. fenframe2.BackgroundColor3 = Color3.new(255, 255, 255)
  246. fenframe2.BackgroundTransparency = 1
  247. fenframe2.BorderColor3 = Color3.new(17, 17, 17)
  248. fenframe2.Size = UDim2.new(0.2, 0, 0.1, 0)
  249. fenframe2.Position = UDim2.new(0.4, 0, 0.85, 0)
  250. local fenframe3 = it("Frame")
  251. fenframe3.Parent = fengui
  252. fenframe3.BackgroundColor3 = Color3.new(255, 255, 255)
  253. fenframe3.BackgroundTransparency = 1
  254. fenframe3.BorderColor3 = Color3.new(17, 17, 17)
  255. fenframe3.Size = UDim2.new(0.2, 0, 0.2, 0)
  256. fenframe3.Position = UDim2.new(0.8, 0, 0.8, 0)
  257. fenframe3.Name = "MoveFrame"
  258. local fenframe4 = it("Frame")
  259. fenframe4.Parent = fengui
  260. fenframe4.BackgroundColor3 = Color3.new(255, 255, 255)
  261. fenframe4.BackgroundTransparency = 1
  262. fenframe4.BorderColor3 = Color3.new(17, 17, 17)
  263. fenframe4.Size = UDim2.new(0.1, 0, 0.1, 0)
  264. fenframe4.Position = UDim2.new(0, 0, 0.7, 0)
  265. local pressedf = false
  266. local fenframe5 = it("Frame")
  267. fenframe5.Parent = fengui
  268. fenframe5.BackgroundColor3 = Color3.new(0, 0, 0)
  269. fenframe5.BackgroundTransparency = 1
  270. fenframe5.BorderColor3 = Color3.new(0, 0, 0)
  271. fenframe5.Size = UDim2.new(1, 0, 1, 0)
  272. fenframe5.Position = UDim2.new(0, 0, 0, 0)
  273. fenframe5.ZIndex = 2
  274. local tellbar = gui("TextLabel", fenframe5, "Press F to equip your weapon", 1, Color3.new(0, 0, 0), UDim2.new(0.25, 0, 0.25, 0), UDim2.new(0.5, 0, 0.5, 0))
  275. tellbar.Font = "Arial"
  276. tellbar.TextScaled = true
  277. tellbar.TextTransparency = 1
  278. tellbar.TextStrokeTransparency = 1
  279. tellbar.ZIndex = 2
  280. local fnumb = 0
  281. local fenbarmana1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  282. local fenbarmana2 = gui("TextLabel", fenframe, "", 0, BrickColor.new("Cyan").Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  283. 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))
  284. 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))
  285. 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))
  286. 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))
  287. 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))
  288. local fenbarhp2 = gui("TextLabel", fenbarhp1, "", 0, Color3.new(1, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  289. local fenbarhp3 = gui("TextLabel", fenbarhp1, "(100)", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  290. 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))
  291. 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))
  292. 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))
  293. 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))
  294. fenbarmove1.ZIndex = 2
  295. local fenbarmove1b = gui("TextLabel", fenbarmove1, "", 0.55, BrickColor.new("Cyan").Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  296. 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))
  297. fenbarmove2.ZIndex = 2
  298. local fenbarmove2b = gui("TextLabel", fenbarmove2, "", 0.55, BrickColor.new("Cyan").Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  299. 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))
  300. fenbarmove3.ZIndex = 2
  301. local fenbarmove3b = gui("TextLabel", fenbarmove3, "", 0.55, BrickColor.new("Cyan").Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  302. 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))
  303. fenbarmove4.ZIndex = 2
  304. local fenbarmove4b = gui("TextLabel", fenbarmove4, "", 0.55, BrickColor.new("Cyan").Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  305. local modelzorz = Instance.new("Model")
  306. modelzorz.Parent = Character
  307. modelzorz.Name = "Flaming Ignis"
  308.  
  309. if game.PlaceId == 599869747 then
  310. modelzorz.Parent = workspace
  311. end
  312.  
  313.  
  314. local prt1 = part(3, modelzorz, 0, 0, TorsoColor, "Part01", vt())
  315. local prt2 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part02", vt())
  316. local prt3 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part03", vt())
  317. local prt4 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part04", vt())
  318. local prt8 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part08", vt())
  319. local prt9 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part09", vt())
  320. local prt10 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part10", vt())
  321. local prt11 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part11", vt())
  322. local prt12 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part12", vt())
  323. local prt13 = part(3, modelzorz, 0.3, 0.5, BrickColor.new("Cyan"), "Part13", vt())
  324. local prt14 = part(3, modelzorz, 0.3, 0.5, BrickColor.new("Cyan"), "Part14", vt())
  325. local gprt1 = part(3, modelzorz, 0, 0.9, BrickColor.new("Really black"), "Gun Part01", vt())
  326. local gprt2 = part(3, modelzorz, 0.2, 0, BrickColor.new("Really black"), "Gun Part02", vt())
  327. local gprt3 = part(3, modelzorz, 0.2, 0, BrickColor.new("Really black"), "Gun Part03", vt())
  328. local gprt4 = part(3, modelzorz, 0.2, 0, BrickColor.new("Really black"), "Gun Part04", vt())
  329. local gprt5 = part(3, modelzorz, 0.2, 0, BrickColor.new("Really black"), "Gun Part05", vt())
  330. local gprt6 = part(3, modelzorz, 0.2, 0, BrickColor.new("Really black"), "Gun Part06", vt())
  331. local gprt7 = part(3, modelzorz, 0, 0, BrickColor.new("Really black"), "Gun Part07", vt())
  332. local gprt8 = part(3, modelzorz, 0.2, 0, BrickColor.new("Really black"), "Gun Part08", vt())
  333. local gprt9 = part(3, modelzorz, 0, 0, BrickColor.new("Really black"), "Gun Part09", vt())
  334. local gprt10 = part(3, modelzorz, 0.2, 0, BrickColor.new("Really black"), "Gun Part10", vt())
  335. local gprt11 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Gun Part11", vt())
  336. local gprt12 = part(3, modelzorz, 0, 0, BrickColor.new("Cyan"), "Gun Part12", vt())
  337. local gprt13 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Gun Part13", vt())
  338. local gprt14 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Gun Part14", vt())
  339. local gprt15 = part(3, modelzorz, 0, 0, BrickColor.new("Cyan"), "Gun Part15", vt())
  340. local gprt16 = part(3, modelzorz, 0, 0.2, BrickColor.new("Cyan"), "Gun Part16", vt())
  341. msh1 = mesh("SpecialMesh", prt1, "Head", "nil", vt(0, 0, 0), vt(2.5, 6, 2.5))
  342. msh2 = mesh("BlockMesh", prt2, "", "", vt(0, 0, 0), vt(1.5, 7, 1.5))
  343. msh3 = mesh("BlockMesh", prt3, "", "", vt(0, 0, 0), vt(1.6, 3, 1.6))
  344. msh4 = mesh("BlockMesh", prt4, "", "", vt(0, 0, 0), vt(1.6, 9, 1))
  345. msh8 = mesh("BlockMesh", prt8, "", "", vt(0, 0, 0), vt(1.6, 4, 1))
  346. msh9 = mesh("BlockMesh", prt9, "", "", vt(0, 0, 0), vt(1.6, 20, 2))
  347. msh10 = mesh("SpecialMesh", prt10, "Wedge", "nil", vt(0, 0, 0), vt(1.6, 3, 2))
  348. msh11 = mesh("BlockMesh", prt11, "", "", vt(0, 0, 0), vt(1.6, 17.5, 1.5))
  349. msh12 = mesh("SpecialMesh", prt12, "Wedge", "nil", vt(0, 0, 0), vt(1.6, 2.1, 1.5))
  350. msh13 = mesh("BlockMesh", prt13, "", "", vt(0, 0, 0), vt(1, 17.5, 5))
  351. msh14 = mesh("SpecialMesh", prt14, "Wedge", "nil", vt(0, 0, 0), vt(1, 7, 5))
  352. gmsh1 = mesh("BlockMesh", gprt1, "", "", vt(0, 0, 0), vt(1, 1, 1))
  353. gmsh2 = mesh("BlockMesh", gprt2, "", "", vt(0, 0, 0), vt(2, 4, 2))
  354. gmsh3 = mesh("SpecialMesh", gprt3, "Wedge", "nil", vt(0, 0, 0), vt(2, 2, 1))
  355. gmsh4 = mesh("BlockMesh", gprt4, "", "", vt(0, 0, 0), vt(1.99, 6, 2))
  356. gmsh5 = mesh("SpecialMesh", gprt5, "Wedge", "nil", vt(0, 0, 0), vt(1.99, 2, 2))
  357. gmsh6 = mesh("BlockMesh", gprt6, "", "", vt(0, 0, 0), vt(2.1, 8.6, 2))
  358. gmsh7 = mesh("BlockMesh", gprt7, "", "", vt(0, 0, 0), vt(2, 8.5, 1.99))
  359. gmsh8 = mesh("CylinderMesh", gprt8, "", "", vt(0, 0, 0), vt(2, 2, 2))
  360. gmsh9 = mesh("CylinderMesh", gprt9, "", "", vt(0, 0, 0), vt(1.5, 2.01, 1.5))
  361. gmsh10 = mesh("SpecialMesh", gprt10, "Wedge", "nil", vt(0, 0, 0), vt(2, 2, 2))
  362. gmsh11 = mesh("BlockMesh", gprt11, "", "", vt(0, 0, 0), vt(2.2, 2, 1))
  363. gmsh12 = mesh("BlockMesh", gprt12, "", "", vt(0, 0, 0), vt(2.21, 1.8, 0.8))
  364. gmsh13 = mesh("BlockMesh", gprt13, "", "", vt(0, 0, 0), vt(2.22, 0.5, 1))
  365. gmsh14 = mesh("BlockMesh", gprt14, "", "", vt(0, 0, 0), vt(2.2, 6, 1))
  366. gmsh15 = mesh("BlockMesh", gprt15, "", "", vt(0, 0, 0), vt(2.21, 5, 0.9))
  367. local wld1 = weld(prt1, prt1, Torso, euler(0, 1.57, -2.1) * cf(-1.8, -1.7, -0.5))
  368. local wld2 = weld(prt1, prt2, prt1, euler(0, 0, 0) * cf(0, 0, 0))
  369. local wld3 = weld(prt1, prt3, prt2, euler(0, 0, 0) * cf(0, -1, 0))
  370. local wld4 = weld(prt1, prt4, prt3, euler(0, 0, 0) * cf(0, -1.2, -0.1))
  371. local wld8 = weld(prt1, prt8, prt4, euler(1.57, 0, 0) * cf(0, 0, -0.5))
  372. local wld9 = weld(prt1, prt9, prt4, euler(0, 0, 0) * cf(0, -3, 0))
  373. local wld10 = weld(prt1, prt10, prt9, euler(0, 3.14, 0) * cf(0, -2.3, 0))
  374. local wld11 = weld(prt1, prt11, prt4, euler(0, 0, 0) * cf(0, -2.85, -0.36))
  375. local wld12 = weld(prt1, prt12, prt11, euler(0, 3.14, 0) * cf(0, -1.95, 0))
  376. local wld13 = weld(prt1, prt13, prt9, euler(0, 0, 0) * cf(0, 0.4, -0.3))
  377. local wld14 = weld(prt1, prt14, prt13, euler(0, 3.14, 0) * cf(0, -2.45, 0))
  378. local gwld1 = weld(gprt1, gprt1, LeftLeg, euler(2.3, 0, 0) * cf(0.6, -0.8, 0.3))
  379. local gwld2 = weld(prt1, gprt2, gprt1, euler(0.7, 0, 0) * cf(0, 0, 0))
  380. local gwld3 = weld(prt1, gprt3, gprt2, euler(1.57, 3.14, 0) * cf(0, 0.5, 0))
  381. local gwld4 = weld(prt1, gprt4, gprt2, euler(0.87, 0, 0) * cf(0, -0.6, 0.3))
  382. local gwld5 = weld(prt1, gprt5, gprt4, euler(0, 3.14, 0) * cf(0, -0.8, 0))
  383. local gwld6 = weld(prt1, gprt6, gprt4, euler(0, 0, 0) * cf(0, -0.25, -0.1))
  384. local gwld7 = weld(prt1, gprt7, gprt4, euler(0, 0, 0) * cf(0, -0.25, -0.1))
  385. local gwld8 = weld(prt1, gprt8, gprt7, euler(0, 0, 0) * cf(0, -0.9, 0))
  386. local gwld9 = weld(prt1, gprt9, gprt8, euler(0, 0, 0) * cf(0, 0, 0))
  387. local gwld10 = weld(prt1, gprt10, gprt6, euler(0, 0, 3.14) * cf(0, 1.05, 0))
  388. local gwld11 = weld(prt1, gprt11, gprt6, euler(0, 0, 0) * cf(0, 0.5, 0.1))
  389. local gwld12 = weld(prt1, gprt12, gprt11, euler(0, 0, 0) * cf(0, 0, 0))
  390. local gwld13 = weld(prt1, gprt13, gprt11, euler(0, 0, 0) * cf(0, 0, 0))
  391. local gwld14 = weld(prt1, gprt14, gprt6, euler(0, 0, 0) * cf(0, -0.1, -0.11))
  392. local gwld15 = weld(prt1, gprt15, gprt14, euler(0, 0, 0) * cf(0, 0.05, 0))
  393. local gwld16 = weld(prt1, gprt16, gprt11, euler(-1.57, 0, 0) * cf(0, 0, 0))
  394. num = 0
  395. num2 = 0
  396. for i = 1, 10 do
  397. local prt5 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part05", vt())
  398. local msh5 = mesh("BlockMesh", prt5, "", "", vt(0, 0, 0), vt(1.61, 2, 1.61))
  399. local wld5 = weld(prt1, prt5, prt4, cf(0, 0, 1.05) * euler(1.57 + num, 0, 0))
  400. if 3 <= i and i <= 9 then
  401. local prt6 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part06", vt())
  402. local msh6 = mesh("BlockMesh", prt6, "", "", vt(0, 0, 0), vt(1.6, 1.5, 2))
  403. local wld6 = weld(prt1, prt6, prt5, cf(0, 0.1, 0.3))
  404. local prt7 = part(3, modelzorz, 0.5, 0, BrickColor.new("Cyan"), "Part07", vt())
  405. local msh7 = mesh("SpecialMesh", prt7, "FileMesh", "9756362", vt(0, 0, 0), vt(0.3, 0.3, 0.6))
  406. local wld7 = weld(prt1, prt7, prt6, euler(0, 0, 0.785) * cf(0, 0, 0.2))
  407. end
  408. do
  409. do
  410. num = num + 0.348
  411. -- DECOMPILER ERROR at PC2592: LeaveBlock: unexpected jumping out DO_STMT
  412.  
  413. end
  414. end
  415. end
  416. num = 0
  417. for i = 1, 4 do
  418. local gprt11 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Gun Part11", vt())
  419. local gmsh11 = mesh("CylinderMesh", gprt11, "", "", vt(0, 0, 0), vt(0.6, 2.2, 0.6))
  420. local gwld11 = weld(prt1, gprt11, gprt6, euler(0, 0, 1.57) * cf(0, -0.5 - num, 0.1))
  421. num = num - 0.2
  422. end
  423. for _,c in pairs(modelzorz:children()) do
  424. table.insert(Weapon, c)
  425. end
  426. for _,c in pairs(prt1:children()) do
  427. if c.className == "Motor" then
  428. table.insert(Welds, c)
  429. end
  430. end
  431. local hitbox = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Hitbox2", vt())
  432. hitbox.Anchored = false
  433. local hbwld = weld(hitbox, hitbox, RootPart, euler(0, 0, 0) * cf(0, 0, 0))
  434. local hitbox2 = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt(1, 1, 1))
  435. hitbox2.Anchored = true
  436. hitbox2.Position = Torso.Position
  437. local hitboxCF = cf(0, 0, 0)
  438. hboxpos = Instance.new("BodyPosition", nil)
  439. hboxpos.P = 2000
  440. hboxpos.D = 100
  441. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  442. local nr = NumberRange.new
  443. local ns = NumberSequence.new
  444. local cs = ColorSequence.new
  445. nsk = NumberSequenceKeypoint.new
  446. local parti = it("ParticleEmitter")
  447. parti.Color = cs(Color3.new(0.0156863, 0.686275, 0.92549), Color3.new(0.0156863, 0.686275, 0.92549))
  448. parti.LightEmission = 0.5
  449. parti.Size = ns(0.2)
  450. parti.Texture = "http://www.roblox.com/asset/?id=248625108"
  451. sizeseq = ns({nsk(0, 1.62), nsk(0.123, 1.5), nsk(0.154, 1.44), nsk(0.357, 1.31), nsk(0.555, 1.25), nsk(0.725, 0.875), nsk(1, 0.125)})
  452. transseq = ns({nsk(0, 0), nsk(0.133, 0.544), nsk(0.321, 0.737), nsk(0.388, 0), nsk(0.469, 0.725), nsk(0.522, 0.456), nsk(0.616, 0.637), nsk(0.64, 0), nsk(0.745, 0.525), nsk(1, 0)})
  453. parti.Transparency = transseq
  454. parti.Size = sizeseq
  455. parti.ZOffset = 0
  456. parti.Acceleration = vt(0, 10, 0)
  457. parti.LockedToPart = false
  458. parti.EmissionDirection = "Front"
  459. parti.Lifetime = nr(0, 1)
  460. parti.Rate = 200
  461. parti.Rotation = nr(4, 9)
  462. parti.RotSpeed = nr(5, 9)
  463. parti.Speed = nr(2, 4)
  464. parti.VelocitySpread = 28
  465. parti.Parent = nil
  466. parti.Parent = hitbox
  467. parti.Enabled = false
  468. hitboxweld = function()
  469. hbwld.Parent = modelzorz
  470. hbwld.Part0 = hitbox
  471. hbwld.Part1 = prt9
  472. end
  473.  
  474. Bin = Instance.new("HopperBin", Backpack)
  475. Bin.Name = "Flaming Ignis"
  476.  
  477. local bodvel = Instance.new("BodyVelocity")
  478. local bg = Instance.new("BodyGyro")
  479. so = function(id, par, vol, pit)
  480. local sou = Instance.new("Sound", par or workspace)
  481. sou.Volume = vol
  482. sou.Pitch = pit or 1
  483. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  484. coroutine.resume(coroutine.create(function(Sound)
  485. swait()
  486. Sound:play()
  487. end), sou)
  488. game:GetService("Debris"):AddItem(sou, 6)
  489. end
  490. function clerp(a,b,t)
  491. local qa = {QuaternionFromCFrame(a)}
  492. local qb = {QuaternionFromCFrame(b)}
  493. local ax, ay, az = a.x, a.y, a.z
  494. local bx, by, bz = b.x, b.y, b.z
  495. local _t = 1-t
  496. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  497. end
  498.  
  499. function QuaternionFromCFrame(cf)
  500. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  501. local trace = m00 + m11 + m22
  502. if trace > 0 then
  503. local s = math.sqrt(1 + trace)
  504. local recip = 0.5/s
  505. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  506. else
  507. local i = 0
  508. if m11 > m00 then
  509. i = 1
  510. end
  511. if m22 > (i == 0 and m00 or m11) then
  512. i = 2
  513. end
  514. if i == 0 then
  515. local s = math.sqrt(m00-m11-m22+1)
  516. local recip = 0.5/s
  517. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  518. elseif i == 1 then
  519. local s = math.sqrt(m11-m22-m00+1)
  520. local recip = 0.5/s
  521. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  522. elseif i == 2 then
  523. local s = math.sqrt(m22-m00-m11+1)
  524. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  525. end
  526. end
  527. end
  528.  
  529. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  530. local xs, ys, zs = x + x, y + y, z + z
  531. local wx, wy, wz = w*xs, w*ys, w*zs
  532. local xx = x*xs
  533. local xy = x*ys
  534. local xz = x*zs
  535. local yy = y*ys
  536. local yz = y*zs
  537. local zz = z*zs
  538. 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))
  539. end
  540.  
  541. function QuaternionSlerp(a, b, t)
  542. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  543. local startInterp, finishInterp;
  544. if cosTheta >= 0.0001 then
  545. if (1 - cosTheta) > 0.0001 then
  546. local theta = math.acos(cosTheta)
  547. local invSinTheta = 1/math.sin(theta)
  548. startInterp = math.sin((1-t)*theta)*invSinTheta
  549. finishInterp = math.sin(t*theta)*invSinTheta
  550. else
  551. startInterp = 1-t
  552. finishInterp = t
  553. end
  554. else
  555. if (1+cosTheta) > 0.0001 then
  556. local theta = math.acos(-cosTheta)
  557. local invSinTheta = 1/math.sin(theta)
  558. startInterp = math.sin((t-1)*theta)*invSinTheta
  559. finishInterp = math.sin(t*theta)*invSinTheta
  560. else
  561. startInterp = t-1
  562. finishInterp = t
  563. end
  564. end
  565. 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
  566. end
  567. hideanim = function()
  568. equipped = false
  569. for i = 0, 1, 0.5 do
  570. swait()
  571. wld1.C0 = clerp(wld1.C0, euler(0, -1.57, -1) * euler(0.4, 0, 0) * cf(0, 1, 0), 0.4)
  572. gwld1.C0 = clerp(gwld1.C0, euler(2, 0, 0) * cf(0, 1, 0), 0.4)
  573. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.4), 0.4)
  574. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  575. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2, 0, 0.2), 0.4)
  576. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  577. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, 0.2), 0.4)
  578. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  579. end
  580. for i = 0, 1, 0.2 do
  581. swait()
  582. wld1.C0 = clerp(wld1.C0, euler(0, -1.57, -1) * euler(0.4, 0, 0) * cf(0, 1, 0), 0.4)
  583. gwld1.C0 = clerp(gwld1.C0, euler(2, 0, 0) * cf(0, 1, 0), 0.4)
  584. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.4), 0.4)
  585. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  586. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(3.4, 0, 0.2), 0.4)
  587. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  588. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, 0.2), 0.4)
  589. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  590. RH.C0 = clerp(RH.C0, RHC0, 0.4)
  591. LH.C0 = clerp(LH.C0, LHC0, 0.4)
  592. end
  593. mdec2.Parent = nil
  594. wld1.Part1 = Torso
  595. wld1.C0 = euler(0, 1.57, -2.1) * cf(-1.8, -1.7, -0.5)
  596. gwld1.Part1 = LeftLeg
  597. gwld1.C0 = euler(2.3, 0, 0) * cf(0.6, -0.8, 0.3)
  598. for i = 0, 1, 0.3 do
  599. swait()
  600. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.4)
  601. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  602. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  603. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  604. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  605. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  606. end
  607. mdec.Parent = Decrease
  608. end
  609. mdec.Parent = Decrease
  610. equipanim = function()
  611. equipped = true
  612. mdec.Parent = nil
  613. for i = 0, 1, 0.5 do
  614. swait()
  615. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.4), 0.4)
  616. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  617. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2, 0, 0.2), 0.4)
  618. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  619. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, 0.2), 0.4)
  620. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  621. end
  622. for i = 0, 1, 0.2 do
  623. swait()
  624. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.4), 0.4)
  625. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  626. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(3.4, 0, 0.2), 0.4)
  627. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  628. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, 0.2), 0.4)
  629. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  630. end
  631. mdec2.Parent = Decrease
  632. wld1.Part1 = RightArm
  633. wld1.C0 = euler(0, -1.57, -1) * euler(0.4, 0, 0) * cf(0, 1, 0)
  634. gwld1.Part1 = LeftArm
  635. gwld1.C0 = euler(2, 0, 0) * cf(0, 1, 0)
  636. end
  637. StaggerAnim = function()
  638. attack = true
  639. removeControl()
  640. for i = 1, math.random(2, 4) do
  641. ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  642. end
  643. for i = 0, 1, 0.35 do
  644. swait()
  645. if Rooted.Value == false then
  646. Torso.Velocity = RootPart.CFrame.lookVector * -40
  647. end
  648. wld1.C0 = clerp(wld1.C0, euler(1.57, 0, 3.14) * cf(0, 1, 0.2), 0.3)
  649. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.3)
  650. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.4), 0.3)
  651. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.3)
  652. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  653. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  654. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  655. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.3)
  656. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  657. end
  658. for i = 0, 1, 0.2 do
  659. swait()
  660. if Rooted.Value == false then
  661. Torso.Velocity = RootPart.CFrame.lookVector * -40
  662. end
  663. wld1.C0 = clerp(wld1.C0, euler(1.57, 0, 3.14) * cf(0, 1, 0.2), 0.3)
  664. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
  665. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.5, 0, -0.4), 0.4)
  666. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.4)
  667. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  668. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.4)
  669. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  670. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.4)
  671. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.5), 0.4)
  672. end
  673. for i = 0, 1, 0.1 do
  674. swait()
  675. wld1.C0 = clerp(wld1.C0, euler(1.57, 0, 3.14) * cf(0, 1, 0.2), 0.3)
  676. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.5, 0, 0), 0.3)
  677. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8) * euler(-0.2, 0, -0.4), 0.3)
  678. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.3, 0, 0.4) * euler(0, -0.4, 0), 0.3)
  679. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  680. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.3, 0, -0.2) * euler(0, 0.4, 0), 0.3)
  681. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  682. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 1.2), 0.3)
  683. LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  684. end
  685. for i = 1, 50 do
  686. swait()
  687. if StunT.Value <= Stun.Value then
  688. break
  689. end
  690. end
  691. do
  692. resumeControl()
  693. combo = 0
  694. attack = false
  695. end
  696. end
  697. StaggerHitt = function()
  698. attack = true
  699. for i = 1, math.random(2, 4) do
  700. ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  701. end
  702. for i = 0, 1, 0.1 do
  703. swait()
  704. wld1.C0 = clerp(wld1.C0, euler(1.57, 0, 3.14) * cf(0, 1, 0.2), 0.3)
  705. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.7) * euler(0.1, 0, 0), 0.3)
  706. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.6), 0.3)
  707. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.9) * euler(0, -0.7, 0), 0.3)
  708. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  709. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  710. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  711. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.4), 0.3)
  712. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  713. end
  714. attack = false
  715. end
  716. StunAnim = function()
  717. attack = true
  718. removeControl()
  719. Stunned.Value = true
  720. showDamage(Character, "Stunned", "Interrupt")
  721. local dec = Instance.new("NumberValue", Decrease)
  722. dec.Name = "DecreaseMvmt"
  723. dec.Value = 10
  724. for i = 0, 1, 0.3 do
  725. swait()
  726. wld1.C0 = clerp(wld1.C0, euler(1.57, 0, 3.14) * cf(0, 1, 0.2), 0.3)
  727. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.5), 0.2)
  728. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -3), 0.2)
  729. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1.3), 0.2)
  730. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  731. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.4) * euler(0, -0.1, 0), 0.2)
  732. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  733. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.3), 0.25)
  734. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
  735. end
  736. for i = 0, 1, 0.3 do
  737. swait()
  738. wld1.C0 = clerp(wld1.C0, euler(1.57, 0, 3.14) * cf(0, 1, 0.2), 0.3)
  739. Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -0.5), 0.2)
  740. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.8, 0, -3), 0.2)
  741. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  742. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  743. 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)
  744. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  745. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.25)
  746. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(0.1, 0, 0.7), 0.25)
  747. end
  748. for i = 0, 1, 0.3 do
  749. swait()
  750. wld1.C0 = clerp(wld1.C0, euler(1.57, 0, 3.14) * cf(0, 1, 0.2), 0.3)
  751. Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -1), 0.2)
  752. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1.57, 0, -3), 0.2)
  753. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  754. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  755. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, -0.8) * euler(0, -0.1, 0), 0.2)
  756. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  757. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.6), 0.25)
  758. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.3), 0.25)
  759. end
  760. local gairost = Instance.new("BodyGyro")
  761. gairost.Parent = RootPart
  762. gairost.maxTorque = Vector3.new(400000, 0, 400000) * math.huge
  763. gairost.P = 20000
  764. gairost.cframe = cf(0, 0, 0)
  765. for i = 0, 1, 0.1 do
  766. swait()
  767. if hitfloor ~= nil then
  768. Torso.Velocity = vt(0, 0, 0)
  769. end
  770. wld1.C0 = clerp(wld1.C0, euler(1.57, 0, 3.14) * cf(0, 1, 0.2), 0.3)
  771. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), 0.3)
  772. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * euler(1.57, 0, -3.14), 0.3)
  773. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1.5) * euler(0.2, 0, 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(1.5, 0, -1.57) * euler(0, 0, 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.3, 0.5, 0), 0.3)
  778. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 0), 0.3)
  779. end
  780. for i = 1, 70 do
  781. swait()
  782. gairost.cframe = RootPart.CFrame
  783. if hitfloor ~= nil then
  784. Torso.Velocity = vt(0, 0, 0)
  785. end
  786. end
  787. for i = 0, 1, 0.2 do
  788. swait()
  789. Stun.Value = 0
  790. gairost.cframe = RootPart.CFrame
  791. wld1.C0 = clerp(wld1.C0, euler(1.57, 0, 3.14) * cf(0, 1, 0.2), 0.3)
  792. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  793. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1, 0, -4), 0.3)
  794. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1) * euler(0.2, -1, 0), 0.3)
  795. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  796. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, 0.2) * euler(0, 0, 0), 0.3)
  797. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  798. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0.4), 0.3)
  799. LH.C0 = clerp(LH.C0, cf(-1, -1, -1) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 1), 0.3)
  800. end
  801. resumeControl()
  802. gairost.Parent = nil
  803. dec.Parent = nil
  804. Stun.Value = 0
  805. combo = 0
  806. Stunned.Value = false
  807. attack = false
  808. for i = 1, 10 do
  809. swait()
  810. Stun.Value = 0
  811. end
  812. end
  813. attackone = function()
  814. attack = true
  815. for i = 0, 1, 0.2 do
  816. swait()
  817. wld1.C0 = clerp(wld1.C0, euler(2.9, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  818. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0.5), 0.4)
  819. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.5), 0.4)
  820. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2, 0, 1), 0.4)
  821. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  822. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, -0.3) * euler(0.4, 0, 0.2) * euler(0, -0.2, 0), 0.4)
  823. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  824. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.5, 0), 0.4)
  825. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0), 0.4)
  826. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  827. do
  828. if StaggerHit.Value == true then
  829. break
  830. end
  831. -- DECOMPILER ERROR at PC195: LeaveBlock: unexpected jumping out IF_THEN_STMT
  832.  
  833. -- DECOMPILER ERROR at PC195: LeaveBlock: unexpected jumping out IF_STMT
  834.  
  835. end
  836. end
  837. end
  838. so("199150686", prt9, 1, 1)
  839. hbwld.Parent = nil
  840. hboxpos.Parent = hitbox
  841. hitbox.Parent = modelzorz
  842. hitbox.Size = vt(0.5, 7, 1)
  843. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  844. hitbox.CFrame = hitboxCF
  845. blcf = nil
  846. scfr = nil
  847. for i = 0, 1, 0.3 do
  848. swait()
  849. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  850. hitbox.CFrame = hitboxCF
  851. MagniDamage(hitbox, 6, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(3, 8)), nil, true)
  852. wld1.C0 = clerp(wld1.C0, euler(1.2, 0, 3.14) * cf(0, 1, 0), 0.4)
  853. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.5) * euler(0.2, 0, 0), 0.4)
  854. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.5), 0.4)
  855. RW.C0 = clerp(RW.C0, cf(1.2, 0.5, -0.3) * euler(0.2, 0, -0.2) * euler(0, -0.5, 0), 0.4)
  856. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  857. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.2), 0.4)
  858. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  859. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.5, 0), 0.4)
  860. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, -0.5, 0), 0.4)
  861. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  862. do
  863. if StaggerHit.Value == true then
  864. break
  865. end
  866. -- DECOMPILER ERROR at PC466: LeaveBlock: unexpected jumping out IF_THEN_STMT
  867.  
  868. -- DECOMPILER ERROR at PC466: LeaveBlock: unexpected jumping out IF_STMT
  869.  
  870. end
  871. end
  872. end
  873.  
  874. do
  875. for i = 0, 1, 0.2 do
  876. swait()
  877. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  878. hitbox.CFrame = hitboxCF
  879. MagniDamage(hitbox, 6, 4, 6, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(3, 8)), nil, true)
  880. wld1.C0 = clerp(wld1.C0, euler(1.5, 0, 3.14) * euler(0, 0, 0.3) * cf(0, 1, 0), 0.4)
  881. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.5) * euler(0.2, 0, 0), 0.4)
  882. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.5), 0.4)
  883. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(0.6, 0, -1) * euler(0, -0.7, 0), 0.4)
  884. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  885. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.2), 0.4)
  886. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  887. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.5, 0), 0.4)
  888. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, -0.5, 0), 0.4)
  889. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  890. do
  891. if StaggerHit.Value == true then
  892. break
  893. end
  894. -- DECOMPILER ERROR at PC842: LeaveBlock: unexpected jumping out IF_THEN_STMT
  895.  
  896. -- DECOMPILER ERROR at PC842: LeaveBlock: unexpected jumping out IF_STMT
  897.  
  898. end
  899. end
  900. end
  901. hitbox.Parent = modelzorz
  902. hitbox.Size = vt()
  903. hitboxweld()
  904. hboxpos.Parent = nil
  905. attack = false
  906. end
  907. end
  908. attacktwo = function()
  909. attack = true
  910. for i = 0, 1, 0.2 do
  911. swait()
  912. wld1.C0 = clerp(wld1.C0, euler(1.5, 0, 3.14) * cf(0, 1, 0), 0.4)
  913. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.2, 0, 0), 0.4)
  914. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.7), 0.4)
  915. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, -1) * euler(0, 1.2, 0), 0.4)
  916. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  917. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.8, 0, -0.4), 0.4)
  918. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  919. RH.C0 = clerp(RH.C0, cf(0.8, -1, 0.2) * euler(0, 1.57, 0) * euler(0, -0.7, 0), 0.4)
  920. LH.C0 = clerp(LH.C0, cf(-0.8, -1, 0.2) * euler(0, -1.57, 0) * euler(0, -0.7, 0), 0.4)
  921. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  922. do
  923. if StaggerHit.Value == true then
  924. break
  925. end
  926. -- DECOMPILER ERROR at PC201: LeaveBlock: unexpected jumping out IF_THEN_STMT
  927.  
  928. -- DECOMPILER ERROR at PC201: LeaveBlock: unexpected jumping out IF_STMT
  929.  
  930. end
  931. end
  932. end
  933. so("199146359", prt9, 1, 1)
  934. hbwld.Parent = nil
  935. hboxpos.Parent = hitbox
  936. hitbox.Parent = modelzorz
  937. hitbox.Size = vt(0.5, 7, 1)
  938. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  939. hitbox.CFrame = hitboxCF
  940. blcf = nil
  941. scfr = nil
  942. for i = 0, 1, 0.3 do
  943. swait()
  944. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  945. hitbox.CFrame = hitboxCF
  946. MagniDamage(hitbox, 6, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(3, 8)), nil, true)
  947. wld1.C0 = clerp(wld1.C0, euler(0.5, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  948. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0, 0, 0), 0.4)
  949. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.5), 0.4)
  950. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.3, 0, 1) * euler(0, 1.6, 0), 0.4)
  951. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  952. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4)
  953. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  954. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.5, 0), 0.4)
  955. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0), 0.4)
  956. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  957. do
  958. if StaggerHit.Value == true then
  959. break
  960. end
  961. -- DECOMPILER ERROR at PC472: LeaveBlock: unexpected jumping out IF_THEN_STMT
  962.  
  963. -- DECOMPILER ERROR at PC472: LeaveBlock: unexpected jumping out IF_STMT
  964.  
  965. end
  966. end
  967. end
  968.  
  969. do
  970. for i = 0, 1, 0.2 do
  971. swait()
  972. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  973. hitbox.CFrame = hitboxCF
  974. MagniDamage(hitbox, 6, 4, 6, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(3, 8)), nil, true)
  975. wld1.C0 = clerp(wld1.C0, euler(0.3, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  976. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
  977. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.5), 0.4)
  978. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 0.8) * euler(0, 1.3, 0), 0.4)
  979. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  980. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4)
  981. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  982. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.5, 0), 0.4)
  983. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0), 0.4)
  984. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  985. do
  986. if StaggerHit.Value == true then
  987. break
  988. end
  989. -- DECOMPILER ERROR at PC842: LeaveBlock: unexpected jumping out IF_THEN_STMT
  990.  
  991. -- DECOMPILER ERROR at PC842: LeaveBlock: unexpected jumping out IF_STMT
  992.  
  993. end
  994. end
  995. end
  996. hitbox.Parent = modelzorz
  997. hitbox.Size = vt()
  998. hitboxweld()
  999. hboxpos.Parent = nil
  1000. attack = false
  1001. end
  1002. end
  1003. attackthree = function()
  1004. attack = true
  1005. for i = 0, 1, 0.15 do
  1006. swait()
  1007. wld1.C0 = clerp(wld1.C0, euler(2.9, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1008. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.4)
  1009. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1.57), 0.4)
  1010. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1.57), 0.4)
  1011. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.3, 0, 0.5), 0.4)
  1012. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1013. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57), 0.4)
  1014. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1015. RH.C0 = clerp(RH.C0, cf(0.5, -1, -0.2) * euler(0, 1.57, 0) * euler(-0.4, 1.57, 0), 0.4)
  1016. LH.C0 = clerp(LH.C0, cf(-0.5, -1, 0.2) * euler(0, -1.57, 0) * euler(0.2, 1.57, 0), 0.4)
  1017. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1018. do
  1019. if StaggerHit.Value == true then
  1020. break
  1021. end
  1022. -- DECOMPILER ERROR at PC213: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1023.  
  1024. -- DECOMPILER ERROR at PC213: LeaveBlock: unexpected jumping out IF_STMT
  1025.  
  1026. end
  1027. end
  1028. end
  1029. for i = 1, 2 do
  1030. so("199144089", gprt8, 1, 1)
  1031. LW.C0 = cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57)
  1032. Shootcombo()
  1033. for i = 0, 1, 0.3 do
  1034. swait()
  1035. gwld6.C0 = clerp(gwld6.C0, euler(0, 0, 0) * cf(0, 0.5, -0.1), 0.6)
  1036. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57) * euler(0.5, 0, 0), 0.5)
  1037. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1038. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1039. do
  1040. if StaggerHit.Value == true then
  1041. break
  1042. end
  1043. -- DECOMPILER ERROR at PC320: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1044.  
  1045. -- DECOMPILER ERROR at PC320: LeaveBlock: unexpected jumping out IF_STMT
  1046.  
  1047. end
  1048. end
  1049. end
  1050. for i = 0, 1, 0.2 do
  1051. swait()
  1052. gwld6.C0 = clerp(gwld6.C0, euler(0, 0, 0) * cf(0, -0.25, -0.1), 0.4)
  1053. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57), 0.4)
  1054. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1055. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1056. do
  1057. if StaggerHit.Value == true then
  1058. break
  1059. end
  1060. -- DECOMPILER ERROR at PC396: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1061.  
  1062. -- DECOMPILER ERROR at PC396: LeaveBlock: unexpected jumping out IF_STMT
  1063.  
  1064. end
  1065. end
  1066. end
  1067. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1068. do
  1069. if StaggerHit.Value == true then
  1070. break
  1071. end
  1072. -- DECOMPILER ERROR at PC412: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1073.  
  1074. -- DECOMPILER ERROR at PC412: LeaveBlock: unexpected jumping out IF_STMT
  1075.  
  1076. end
  1077. end
  1078. end
  1079. attack = false
  1080. end
  1081. attackfour = function()
  1082. attack = true
  1083. for i = 0, 1, 0.2 do
  1084. swait()
  1085. wld1.C0 = clerp(wld1.C0, euler(1.57, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1086. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.2), 0.4)
  1087. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.3), 0.4)
  1088. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1.2) * euler(0, -2, 0), 0.4)
  1089. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1090. LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, -0.2) * euler(0.7, 0, 0.1) * euler(0, -0.4, 0), 0.4)
  1091. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1092. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.3, 0), 0.4)
  1093. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.3, 0), 0.4)
  1094. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1095. do
  1096. if StaggerHit.Value == true then
  1097. break
  1098. end
  1099. -- DECOMPILER ERROR at PC201: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1100.  
  1101. -- DECOMPILER ERROR at PC201: LeaveBlock: unexpected jumping out IF_STMT
  1102.  
  1103. end
  1104. end
  1105. end
  1106. so("199146359", prt9, 1, 0.8)
  1107. hbwld.Parent = nil
  1108. hboxpos.Parent = hitbox
  1109. hitbox.Parent = modelzorz
  1110. hitbox.Size = vt(0.5, 7, 1)
  1111. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  1112. hitbox.CFrame = hitboxCF
  1113. blcf = nil
  1114. scfr = nil
  1115. for i = 0, 1, 0.1 do
  1116. swait()
  1117. if i == 0.2 and Stagger.Value ~= true and StunT.Value > Stun.Value and (StaggerHit.Value ~= true or redimbue == true) then
  1118.  
  1119. end
  1120. do
  1121. if Rooted.Value == false then
  1122. Torso.Velocity = RootPart.CFrame.lookVector * 40
  1123. end
  1124. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  1125. hitbox.CFrame = hitboxCF
  1126. MagniDamage(hitbox, 6, 10, 15, math.random(5, 10), "Normal", RootPart, 0.5, 2, (math.random(5, 10)), nil, true)
  1127. wld1.C0 = clerp(wld1.C0, euler(0.5, 0, 3.14) * cf(0, 1, 0.2), 0.35)
  1128. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -0.6), 0.35)
  1129. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.6), 0.35)
  1130. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.2, 0, -1.2) * euler(0, -1.2, 0), 0.35)
  1131. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.35)
  1132. LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, -0.2) * euler(-0.4, 0, -0.7) * euler(0, 0, 0), 0.35)
  1133. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.35)
  1134. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.6, 0), 0.35)
  1135. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, -0.6, 0), 0.35)
  1136. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1137. do
  1138. if StaggerHit.Value == true then
  1139. break
  1140. end
  1141. -- DECOMPILER ERROR at PC620: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1142.  
  1143. -- DECOMPILER ERROR at PC620: LeaveBlock: unexpected jumping out IF_STMT
  1144.  
  1145. -- DECOMPILER ERROR at PC620: LeaveBlock: unexpected jumping out DO_STMT
  1146.  
  1147. end
  1148. end
  1149. end
  1150. end
  1151. hitbox.Parent = modelzorz
  1152. hitbox.Size = vt()
  1153. hitboxweld()
  1154. hboxpos.Parent = nil
  1155. attack = false
  1156. end
  1157. Punishment = function()
  1158.  
  1159. local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
  1160. ref.Anchored = true
  1161. ref.CFrame = RootPart.CFrame * cf(0, 0, -2)
  1162. game:GetService("Debris"):AddItem(ref, 1)
  1163. for _,c in pairs(workspace:children()) do
  1164. local hum = c:findFirstChild("Humanoid")
  1165. if hum ~= nil then
  1166. head = c:findFirstChild("HumanoidRootPart")
  1167. if head ~= nil and GetDist(head, ref, 3) == true and head.Parent:findFirstChild("Stats") ~= nil and head.Parent.Stats.Stunned.Value == true then
  1168. Mvmt.Value = Mvmt.Value - 1
  1169. attack = true
  1170. for i = 0, 1, 0.3 do
  1171. swait()
  1172. wld1.C0 = clerp(wld1.C0, euler(-2, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1173. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.4)
  1174. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57) * euler(0.2, 0, 0), 0.4)
  1175. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 1.57), 0.4)
  1176. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.57) * euler(2, 0, 0), 0.4)
  1177. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1178. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
  1179. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1180. RH.C0 = clerp(RH.C0, cf(0.5, -1, 0.2) * euler(0, 1.57, 0) * euler(0, -1.57, 0), 0.4)
  1181. LH.C0 = clerp(LH.C0, cf(-0.5, -1, -0.2) * euler(0, -1.57, 0) * euler(0, -1.57, 0), 0.4)
  1182. end
  1183. for i = 0, 1, 0.18 do
  1184. swait()
  1185. wld1.C0 = clerp(wld1.C0, euler(-1.57, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1186. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.4)
  1187. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57) * euler(0.2, 0, 0), 0.4)
  1188. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 1.57), 0.4)
  1189. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.57), 0.4)
  1190. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1191. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
  1192. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1193. RH.C0 = clerp(RH.C0, cf(0.5, -1, 0.2) * euler(0, 1.57, 0) * euler(0, -1.57, 0), 0.4)
  1194. LH.C0 = clerp(LH.C0, cf(-0.5, -1, -0.2) * euler(0, -1.57, 0) * euler(0, -1.57, 0), 0.4)
  1195. end
  1196. DecreaseStat(head.Parent, "Defense", 0.3, 300)
  1197.  
  1198.  
  1199. MagniDamage(head, 1, 7, 9, 0, "aaa", RootPart, 0, 1, 0, nil, nil, false)
  1200.  
  1201. for i = 0, 1, 0.05 do
  1202. swait()
  1203. MagicBlock(BrickColor.new("Cyan"), cf(head.Parent.Torso.Position), 1, 1, 1, 2, 2, 2, 0.1, 1)
  1204. wld1.C0 = clerp(wld1.C0, euler(-1.17, 0, 3.14) * cf(0, 1, 0.2), 0.2)
  1205. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 1.57), 0.2)
  1206. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.57) * euler(-0.4, 0, 0), 0.2)
  1207. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
  1208. RH.C0 = clerp(RH.C0, cf(0.5, -1, 0.2) * euler(0, 1.57, 0) * euler(0, -1.57, 0), 0.4)
  1209. LH.C0 = clerp(LH.C0, cf(-0.5, -1, -0.2) * euler(0, -1.57, 0) * euler(0, -1.57, 0), 0.4)
  1210. end
  1211. Neck.C0 = necko * euler(0, 0, -1.57) * euler(0.2, 0, 0)
  1212. swait(10)
  1213. end
  1214. end
  1215. end
  1216.  
  1217. while head ~= nil and GetDist(head, ref, 3) == true and head.Parent:findFirstChild("Stats") ~= nil and head.Parent.Stats.Stunned.Value == true do
  1218. wait()
  1219. MagicBlock(BrickColor.new("Cyan"), cf(head.Parent.Torso.Position), 1, 1, 1, 2, 2, 2, 0.1, 1)
  1220. end
  1221. attack = false
  1222. Mvmt.Value = Mvmt.Value + 1
  1223. end
  1224.  
  1225. function GunStance()
  1226. attack=true
  1227. gun=true
  1228. Mvmt.Value=Mvmt.Value-.4
  1229. for i=0,1,0.1 do
  1230. swait()
  1231. wld1.C0=clerp(wld1.C0,euler(2.9,0,3.14)*cf(0,1,.2),.2)
  1232. gwld6.C0=clerp(gwld6.C0,euler(0,0,0)*cf(0,-.25,-.1),.4)
  1233. gwld1.C0=clerp(gwld1.C0,euler(1.57,0,0)*cf(0,1,0),.4)
  1234. gwld1.C0=euler(1.57-8*i,0,0)*cf(0,1,0)
  1235. Neck.C0=clerp(Neck.C0,necko*euler(0,0,1.57)*euler(-.4,0,0),.2)
  1236. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,-1.57),.2)
  1237. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.3,0,1),.2)
  1238. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.2)
  1239. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(1.57,0,-1.57)*euler(1,0,0),.2)
  1240. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.2)
  1241. RH.C0=clerp(RH.C0,cf(.5,-1,-.2)*euler(0,1.57,0)*euler(-.4,1.57,0),.2)
  1242. LH.C0=clerp(LH.C0,cf(-.5,-1,.2)*euler(0,-1.57,0)*euler(.2,1.57,0),.2)
  1243. end
  1244.  
  1245. LW.C0=cf(-1.5,0.5,0)*euler(1.57,0,-1.57)
  1246. gairo=Instance.new("BodyGyro")
  1247. gairo.Parent=RootPart
  1248. gairo.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1249. gairo.P=20e+003
  1250. gairo.cframe=RootPart.CFrame
  1251. local offset=nil
  1252. while gun==true do
  1253. swait()
  1254. local gunpos=vt(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
  1255. offset=(Torso.Position.y-MMouse.Hit.p.y)/60
  1256. mag=(Torso.Position-MMouse.Hit.p).magnitude/80
  1257. offset=offset/mag
  1258. gairo.cframe=cf(Head.Position,gunpos)
  1259. gwld1.C0=clerp(gwld1.C0,euler(1.57,0,0)*cf(0,1,0),.3)
  1260. Neck.C0=clerp(Neck.C0,necko*euler(0,offset/2,1.57),.3)
  1261. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(offset,0,0),.2)
  1262. end
  1263. Mvmt.Value=Mvmt.Value+.4
  1264. if shoot==true then
  1265. so("199144089", gprt8, 1, 1)
  1266.  
  1267. MagicCircle(BrickColor.new("Cyan"),cf(gprt8.Position),5,5,5,1,1,1,0.03)
  1268. for i=0,1,0.1 do
  1269.  
  1270. swait()
  1271. gwld6.C0=clerp(gwld6.C0,euler(0,0,0)*cf(0,.5,-.1),.6)
  1272. gwld1.C0=clerp(gwld1.C0,euler(1.57,0,0)*cf(0,1,0),.2)
  1273. Neck.C0=clerp(Neck.C0,necko*euler(0,0,1.57)*euler(0,0,0),.2)
  1274. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(1.57,0,-1.57)*euler(1,0,0),.2)
  1275. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.2)
  1276. end
  1277. end
  1278. gairo.Parent=nil
  1279. shoot=false
  1280. attack=false
  1281. end
  1282. do1 = function()
  1283.  
  1284. if cooldownmax <= cooldowns[1] and mana.Value >= 20 then
  1285. attack = true
  1286. cooldowns[1] = 0
  1287. mana.Value = mana.Value - 20
  1288. for i = 0, 1, 0.2 do
  1289. swait()
  1290. wld1.C0 = clerp(wld1.C0, euler(1.5, 0, 3.14) * cf(0, 1, 0), 0.4)
  1291. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.2, 0, 0), 0.4)
  1292. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.7), 0.4)
  1293. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, -1) * euler(0, 1.2, 0), 0.4)
  1294. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1295. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.8, 0, -0.4), 0.4)
  1296. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1297. RH.C0 = clerp(RH.C0, cf(0.8, -1, 0.2) * euler(0, 1.57, 0) * euler(0, -0.7, 0), 0.4)
  1298. LH.C0 = clerp(LH.C0, cf(-0.8, -1, 0.2) * euler(0, -1.57, 0) * euler(0, -0.7, 0), 0.4)
  1299.  
  1300. end
  1301. so("199144160", prt9, 1, math.random(80, 130) / 100)
  1302. for i = 0, 1, 0.4 do
  1303. swait()
  1304. wld1.C0 = clerp(wld1.C0, euler(0.5, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1305. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0, 0, 0), 0.4)
  1306. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.5), 0.4)
  1307. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.3, 0, 1) * euler(0, 1.6, 0), 0.4)
  1308. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1309. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4)
  1310. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1311. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.5, 0), 0.4)
  1312. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0), 0.4)
  1313.  
  1314. end
  1315.  
  1316. DecreaseStat(Character, "Damage", 0.1, 300)
  1317. DecreaseStat(Character, "Defense", -0.25, 300)
  1318.  
  1319. for i = -0.785, 0.785, 0.785 do
  1320. CF = RootPart.CFrame
  1321. ref = part(3, workspace, 0, 1, BrickColor.new("Really red"), "FireWave", vt(10, 1, 5))
  1322. ref.Anchored = true
  1323. ref.CFrame = CF * cf(0, 0, -2) * euler(0, i, 0) * euler(0, 0, -0.2)
  1324. local parti2 = parti:Clone()
  1325. parti2.Rate = 20
  1326. parti2.Parent = ref
  1327. parti2.Enabled = true
  1328. game:GetService("Debris"):AddItem(ref, 5)
  1329. rmsh = mesh("BlockMesh", ref, "", "", vt(0, 0, 0), vt(1, 1, 1))
  1330. d = Instance.new("Decal")
  1331. d.Parent = ref
  1332. d.Texture = "http://www.roblox.com/asset/?id=610906568"
  1333. d.Face = "Top"
  1334. d2 = Instance.new("Decal")
  1335. d2.Parent = ref
  1336. d2.Texture = "http://www.roblox.com/asset/?id=610906568"
  1337. d2.Face = "Bottom"
  1338. table.insert(Effects, {ref, "Wave", 2, 1.3, 100, d, d2, parti2})
  1339. end
  1340.  
  1341. for i = 0, 1, 0.3 do
  1342. swait()
  1343. wld1.C0 = clerp(wld1.C0, euler(0.3, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1344. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
  1345. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.5), 0.4)
  1346. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1) * euler(0, 1.3, 0), 0.4)
  1347. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1348. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4)
  1349. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1350. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.5, 0), 0.4)
  1351. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0), 0.4)
  1352.  
  1353. end
  1354. end
  1355. attack = false
  1356. end
  1357.  
  1358.  
  1359. do2 = function()
  1360. if attack == true then
  1361. return
  1362. end
  1363.  
  1364. if cooldownmax <= cooldowns[2] and mana.Value >= 25 then
  1365. attack = true
  1366. mana.Value = mana.Value - 25
  1367. Torso.Velocity = RootPart.CFrame.lookVector * 100
  1368. attack = true
  1369. cooldowns[2] = 0
  1370. Humanoid.Jump = true
  1371. so("199144226", prt9, 1, 1)
  1372. blcf = nil
  1373. scfr = nil
  1374. for i = 0, 1, 0.1 do
  1375. swait()
  1376. RootJoint.C0 = RootCF * cf(0, 0, 1 * i) * euler(6.28 * i, 0, 0)
  1377. wld1.C0 = clerp(wld1.C0, euler(-1.8, 0, 3.14) * cf(0, 1, 0.2), 0.2)
  1378. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  1379. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.2)
  1380. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.8) * euler(1.57, 0, -1) * euler(1, 0, 0), 0.2)
  1381. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1382. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.2)
  1383. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1384. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
  1385. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
  1386. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1387. do
  1388. if StaggerHit.Value == true then
  1389. break
  1390. end
  1391. -- DECOMPILER ERROR at PC261: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1392.  
  1393. -- DECOMPILER ERROR at PC261: LeaveBlock: unexpected jumping out IF_STMT
  1394.  
  1395. end
  1396. end
  1397. end
  1398. for i = 0, 1, 0.15 do
  1399. swait()
  1400. wld1.C0 = clerp(wld1.C0, euler(-1.57, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1401. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.4)
  1402. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, -0.5), 0.4)
  1403. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.5), 0.4)
  1404. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.8) * euler(1.57, 0, 0.7) * euler(0, 0, 0), 0.4)
  1405. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1406. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
  1407. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1408. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.5, 0), 0.4)
  1409. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, -0.5, 0), 0.4)
  1410. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1411. do
  1412. if StaggerHit.Value == true then
  1413. break
  1414. end
  1415. -- DECOMPILER ERROR at PC473: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1416.  
  1417. -- DECOMPILER ERROR at PC473: LeaveBlock: unexpected jumping out IF_STMT
  1418.  
  1419. end
  1420. end
  1421. end
  1422. while hitfloor == nil do
  1423. swait()
  1424. end
  1425. so("199144529", prt9, 1, 1)
  1426. local dec = Instance.new("NumberValue", Decrease)
  1427. dec.Name = "DecreaseMvmt"
  1428. dec.Value = 1
  1429.  
  1430. DecreaseStat(Character, "Damage", 0.1, 400)
  1431. DecreaseStat(Character, "Defense", -0.35, 400)
  1432.  
  1433.  
  1434.  
  1435.  
  1436. MagniDamage(RootPart, 30, 7, 9, math.random(-50, -30), "Normal", RootPart, 0, 1, (math.random(5, 15)), nil, nil, false)
  1437. MagicCircle(BrickColor.new("Cyan"), cf(prt9.Position) * cf(0, 2, 0), 1, 2, 1, 10, 1, 10, 0.03)
  1438. for i = 1, 2 do
  1439. MagicCircle(BrickColor.new("Cyan"), cf(prt9.Position) * cf(0, 2, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 0.5, 12, 0.5, 0.05)
  1440. end
  1441. for i = 1, 10 do
  1442. swait()
  1443. end
  1444. dec.Parent = nil
  1445.  
  1446.  
  1447. Torso.Velocity = RootPart.CFrame.lookVector * 100
  1448. Humanoid.Jump = true
  1449. so("199144226", prt9, 1, 1)
  1450. blcf = nil
  1451. scfr = nil
  1452. for i = 0, 1, 0.1 do
  1453. swait()
  1454. RootJoint.C0 = RootCF * cf(0, 0, 1 * i) * euler(6.28 * i, 0, 0)
  1455. wld1.C0 = clerp(wld1.C0, euler(-1.8, 0, 3.14) * cf(0, 1, 0.2), 0.2)
  1456. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  1457. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.2)
  1458. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.8) * euler(1.57, 0, -1) * euler(1, 0, 0), 0.2)
  1459. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1460. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.2)
  1461. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1462. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
  1463. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
  1464. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1465. do
  1466. if StaggerHit.Value == true then
  1467. break
  1468. end
  1469. -- DECOMPILER ERROR at PC261: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1470.  
  1471. -- DECOMPILER ERROR at PC261: LeaveBlock: unexpected jumping out IF_STMT
  1472.  
  1473. end
  1474. end
  1475. end
  1476. for i = 0, 1, 0.15 do
  1477. swait()
  1478. wld1.C0 = clerp(wld1.C0, euler(-1.57, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1479. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.4)
  1480. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, -0.5), 0.4)
  1481. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.5), 0.4)
  1482. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.8) * euler(1.57, 0, 0.7) * euler(0, 0, 0), 0.4)
  1483. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1484. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
  1485. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1486. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.5, 0), 0.4)
  1487. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, -0.5, 0), 0.4)
  1488. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1489. do
  1490. if StaggerHit.Value == true then
  1491. break
  1492. end
  1493. -- DECOMPILER ERROR at PC473: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1494.  
  1495. -- DECOMPILER ERROR at PC473: LeaveBlock: unexpected jumping out IF_STMT
  1496.  
  1497. end
  1498. end
  1499. end
  1500. while hitfloor == nil do
  1501. swait()
  1502. end
  1503. so("199144529", prt9, 1, 1)
  1504. local dec = Instance.new("NumberValue", Decrease)
  1505. dec.Name = "DecreaseMvmt"
  1506. dec.Value = 1
  1507.  
  1508. MagniDamage(RootPart, 30, 5, 6, math.random(-50, -30), "Normal", RootPart, 0, 1, (math.random(5, 15)), nil, nil, false)
  1509. MagicCircle(BrickColor.new("Cyan"), cf(prt9.Position) * cf(0, 2, 0), 1, 2, 1, 10, 1, 10, 0.03)
  1510. for i = 1, 2 do
  1511. MagicCircle(BrickColor.new("Cyan"), cf(prt9.Position) * cf(0, 2, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 0.5, 12, 0.5, 0.05)
  1512. end
  1513. for i = 1, 10 do
  1514. swait()
  1515. end
  1516. dec.Parent = nil
  1517.  
  1518.  
  1519. Torso.Velocity = RootPart.CFrame.lookVector * 100
  1520. Humanoid.Jump = true
  1521. so("199144226", prt9, 1, 1)
  1522. blcf = nil
  1523. scfr = nil
  1524. for i = 0, 1, 0.1 do
  1525. swait()
  1526. RootJoint.C0 = RootCF * cf(0, 0, 1 * i) * euler(6.28 * i, 0, 0)
  1527. wld1.C0 = clerp(wld1.C0, euler(-1.8, 0, 3.14) * cf(0, 1, 0.2), 0.2)
  1528. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  1529. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.2)
  1530. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.8) * euler(1.57, 0, -1) * euler(1, 0, 0), 0.2)
  1531. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1532. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.2)
  1533. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1534. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
  1535. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
  1536. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1537. do
  1538. if StaggerHit.Value == true then
  1539. break
  1540. end
  1541. -- DECOMPILER ERROR at PC261: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1542.  
  1543. -- DECOMPILER ERROR at PC261: LeaveBlock: unexpected jumping out IF_STMT
  1544.  
  1545. end
  1546. end
  1547. end
  1548. for i = 0, 1, 0.15 do
  1549. swait()
  1550. wld1.C0 = clerp(wld1.C0, euler(-1.57, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1551. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.4)
  1552. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, -0.5), 0.4)
  1553. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.5), 0.4)
  1554. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.8) * euler(1.57, 0, 0.7) * euler(0, 0, 0), 0.4)
  1555. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1556. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
  1557. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1558. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.5, 0), 0.4)
  1559. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, -0.5, 0), 0.4)
  1560. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1561. do
  1562. if StaggerHit.Value == true then
  1563. break
  1564. end
  1565. -- DECOMPILER ERROR at PC473: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1566.  
  1567. -- DECOMPILER ERROR at PC473: LeaveBlock: unexpected jumping out IF_STMT
  1568.  
  1569. end
  1570. end
  1571. end
  1572. while hitfloor == nil do
  1573. swait()
  1574. end
  1575. so("199144529", prt9, 1, 1)
  1576. local dec = Instance.new("NumberValue", Decrease)
  1577. dec.Name = "DecreaseMvmt"
  1578. dec.Value = 1
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584. for i = 1, 10 do
  1585. swait()
  1586. end
  1587. dec.Parent = nil
  1588.  
  1589.  
  1590. MagniDamage(RootPart, 30, 3, 4, math.random(-50, -30), "Normal", RootPart, 0, 1, (math.random(5, 15)), nil, nil, false)
  1591. MagicCircle(BrickColor.new("Cyan"), cf(prt9.Position) * cf(0, 2, 0), 1, 2, 1, 10, 1, 10, 0.03)
  1592. for i = 1, 2 do
  1593. MagicCircle(BrickColor.new("Cyan"), cf(prt9.Position) * cf(0, 2, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 0.5, 12, 0.5, 0.05)
  1594. end
  1595.  
  1596. attack = false
  1597.  
  1598.  
  1599. end
  1600. end
  1601.  
  1602.  
  1603. do3 = function()
  1604. if attack == true then
  1605. return
  1606. end
  1607.  
  1608. if cooldownmax <= cooldowns[3] and mana.Value >= 50 then
  1609. if not hitfloor then
  1610. return
  1611. end
  1612.  
  1613. attack = true
  1614. mana.Value = mana.Value - 50
  1615. Humanoid.JumpPower = 200
  1616. Torso.Velocity = RootPart.CFrame.lookVector * 150
  1617. attack = true
  1618. cooldowns[3] = 0
  1619. Humanoid.Jump = true
  1620. so("199144226", prt9, 1, 1)
  1621. blcf = nil
  1622. scfr = nil
  1623. for i = 0, 1, 0.1 do
  1624. swait()
  1625.  
  1626. RootJoint.C0 = RootCF * cf(0, 0, 1 * i) * euler(6.28 * i, 0, 0)
  1627. wld1.C0 = clerp(wld1.C0, euler(-1.8, 0, 3.14) * cf(0, 1, 0.2), 0.2)
  1628. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  1629. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.2)
  1630. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.8) * euler(1.57, 0, -1) * euler(1, 0, 0), 0.2)
  1631. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1632. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.2)
  1633. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1634. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
  1635. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
  1636. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1637. do
  1638. if StaggerHit.Value == true then
  1639. break
  1640. end
  1641. -- DECOMPILER ERROR at PC261: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1642.  
  1643. -- DECOMPILER ERROR at PC261: LeaveBlock: unexpected jumping out IF_STMT
  1644.  
  1645. end
  1646. end
  1647. end
  1648. for i = 0, 1, 0.15 do
  1649. swait()
  1650.  
  1651. wld1.C0 = clerp(wld1.C0, euler(-1.57, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1652. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.4)
  1653. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, -0.5), 0.4)
  1654. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.5), 0.4)
  1655. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.8) * euler(1.57, 0, 0.7) * euler(0, 0, 0), 0.4)
  1656. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1657. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
  1658. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1659. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.5, 0), 0.4)
  1660. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, -0.5, 0), 0.4)
  1661. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1662. do
  1663. if StaggerHit.Value == true then
  1664. break
  1665. end
  1666. -- DECOMPILER ERROR at PC473: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1667.  
  1668. -- DECOMPILER ERROR at PC473: LeaveBlock: unexpected jumping out IF_STMT
  1669.  
  1670. end
  1671. end
  1672. end
  1673. while hitfloor == nil do
  1674. swait()
  1675.  
  1676. end
  1677.  
  1678. local dec = Instance.new("NumberValue", Decrease)
  1679. dec.Name = "DecreaseMvmt"
  1680. dec.Value = 1
  1681.  
  1682. Humanoid.JumpPower = 0
  1683.  
  1684.  
  1685. for i = 1, 15 do
  1686. wait(0.2)
  1687. so("87784452",Torso,1,1.2)
  1688. MagicCircle(BrickColor.new("Cyan"), cf(prt9.Position) * cf(0, 2, 0) * euler(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1)), 1, 1, 1, 0.5, 12, 0.5, 0.05)
  1689. end
  1690.  
  1691. wait(2)
  1692. so("199144529", prt9, 1, 1)
  1693. MagniDamage(RootPart, 80, 10, 15, math.random(-50, -30), "Normal", RootPart, 0, 1, (math.random(20, 25)), nil, nil, false)
  1694. MagicCircle(BrickColor.new("Cyan"), cf(prt9.Position) * cf(0, 2, 0), 1, 2, 1, 60, 1, 60, 0.03)
  1695. for i = 1, 10 do
  1696. swait()
  1697. end
  1698. dec.Parent = nil
  1699. Humanoid.JumpPower = 50
  1700.  
  1701. attack = false
  1702. end
  1703. end
  1704.  
  1705. do4 = function()
  1706. if attack == true then
  1707. return
  1708. end
  1709.  
  1710. if cooldownmax <= cooldowns[4] and mana.Value >= 70 then
  1711. attack = true
  1712. mana.Value = mana.Value - 70
  1713. cooldowns[4] = 0
  1714. for i = 0, 1, 0.15 do
  1715. swait()
  1716. wld1.C0 = clerp(wld1.C0, euler(2.9, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1717. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.4)
  1718. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1.57), 0.4)
  1719. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1.57), 0.4)
  1720. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.3, 0, 0.5), 0.4)
  1721. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1722. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57), 0.4)
  1723. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1724. RH.C0 = clerp(RH.C0, cf(0.5, -1, -0.2) * euler(0, 1.57, 0) * euler(-0.4, 1.57, 0), 0.4)
  1725. LH.C0 = clerp(LH.C0, cf(-0.5, -1, 0.2) * euler(0, -1.57, 0) * euler(0.2, 1.57, 0), 0.4)
  1726. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1727. do
  1728. if StaggerHit.Value == true then
  1729. break
  1730. end
  1731.  
  1732. end
  1733. end
  1734. end
  1735. for i = 1, 10 do
  1736. so("199144089", gprt8, 1, 1)
  1737. LW.C0 = cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57)
  1738. Shootcombo2()
  1739. for i = 1,2 do
  1740. swait()
  1741. gwld6.C0 = clerp(gwld6.C0, euler(0, 0, 0) * cf(0, 0.5, -0.1), 0.6)
  1742. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57) * euler(0.5, 0, 0), 0.5)
  1743. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1744. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1745. do
  1746. if StaggerHit.Value == true then
  1747. break
  1748. end
  1749.  
  1750. end
  1751. end
  1752. end
  1753. RecentEnemy.Value = nil
  1754. for i = 0, 1, 0.2 do
  1755. swait()
  1756. gwld6.C0 = clerp(gwld6.C0, euler(0, 0, 0) * cf(0, -0.25, -0.1), 0.4)
  1757. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57), 0.4)
  1758. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1759. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1760. do
  1761. if StaggerHit.Value == true then
  1762. break
  1763. end
  1764.  
  1765. end
  1766. end
  1767. end
  1768. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1769. do
  1770. if StaggerHit.Value == true then
  1771. break
  1772. end
  1773.  
  1774. end
  1775. end
  1776. end
  1777. for i = 0, 1, 0.2 do
  1778. swait()
  1779. wld1.C0 = clerp(wld1.C0, euler(1.57, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1780. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.2), 0.4)
  1781. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.3), 0.4)
  1782. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1.2) * euler(0, -2, 0), 0.4)
  1783. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1784. LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, -0.2) * euler(0.7, 0, 0.1) * euler(0, -0.4, 0), 0.4)
  1785. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1786. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.3, 0), 0.4)
  1787. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.3, 0), 0.4)
  1788. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1789. do
  1790. if StaggerHit.Value == true then
  1791. break
  1792. end
  1793.  
  1794. end
  1795. end
  1796. end
  1797. so("199146359", prt9, 1, 0.8)
  1798. hbwld.Parent = nil
  1799. hboxpos.Parent = hitbox
  1800. hitbox.Parent = modelzorz
  1801. hitbox.Size = vt(0.5, 7, 1)
  1802. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  1803. hitbox.CFrame = hitboxCF
  1804. blcf = nil
  1805. scfr = nil
  1806. for i = 0, 1, 0.1 do
  1807. swait()
  1808. if i == 0.2 and Stagger.Value ~= true and StunT.Value > Stun.Value and (StaggerHit.Value ~= true or redimbue == true) then
  1809.  
  1810. end
  1811. do
  1812. if Rooted.Value == false then
  1813. Torso.Velocity = RootPart.CFrame.lookVector * 40
  1814. end
  1815. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  1816. hitbox.CFrame = hitboxCF
  1817. MagniDamage(hitbox, 6, 10, 15, math.random(5, 10), "Fire", RootPart, 0.5, 2, (math.random(5, 10)), nil, true)
  1818. wld1.C0 = clerp(wld1.C0, euler(0.5, 0, 3.14) * cf(0, 1, 0.2), 0.35)
  1819. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -0.6), 0.35)
  1820. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.6), 0.35)
  1821. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.2, 0, -1.2) * euler(0, -1.2, 0), 0.35)
  1822. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.35)
  1823. LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, -0.2) * euler(-0.4, 0, -0.7) * euler(0, 0, 0), 0.35)
  1824. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.35)
  1825. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.6, 0), 0.35)
  1826. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, -0.6, 0), 0.35)
  1827. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1828. do
  1829. if StaggerHit.Value == true then
  1830. break
  1831. end
  1832.  
  1833. end
  1834. end
  1835. end
  1836. end
  1837.  
  1838. if RecentEnemy.Value then
  1839. combing = true
  1840.  
  1841. RecentEnemy.Value.Torso.Anchored = true
  1842.  
  1843. local BodyPos = Instance.new("BodyPosition", Torso)
  1844. BodyPos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1845. BodyPos.Position = RecentEnemy.Value.Torso.Position + Vector3.new(-5,1,0)
  1846.  
  1847. coroutine.resume(coroutine.create(function()
  1848. while wait() do
  1849.  
  1850. if RecentEnemy.Value.Humanoid.Health < 1 then
  1851.  
  1852. combing = false
  1853. BodyPos:remove()
  1854. RecentEnemy.Value.Torso.Anchored = false
  1855.  
  1856. end
  1857.  
  1858.  
  1859.  
  1860. end
  1861.  
  1862. end))
  1863.  
  1864. parti.Enabled = true
  1865. DecreaseStat(Character, "Defense", -1, 150)
  1866. so("199144608", prt9, 1, 1)
  1867. for i = 1, 3 do
  1868. for i = 0, 1, 0.2 do
  1869. swait()
  1870. wld1.C0 = clerp(wld1.C0, euler(2.9, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1871. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0.5), 0.4)
  1872. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.5) * euler(0.1, 0, 0), 0.4)
  1873. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2, 0, 1), 0.4)
  1874. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1875. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, -0.3) * euler(0.4, 0, 0.2) * euler(0, -0.2, 0), 0.4)
  1876. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1877. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.5, -0.4), 0.4)
  1878. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0.2), 0.4)
  1879. Stagger.Value = false
  1880. StaggerHit.Value = false
  1881. if StunT.Value <= Stun.Value then
  1882. break
  1883. end
  1884. end
  1885. do
  1886. so("199144647", prt9, 1, 1)
  1887. hbwld.Parent = nil
  1888. hboxpos.Parent = hitbox
  1889. hitbox.Parent = modelzorz
  1890. hitbox.Size = vt(1, 7.5, 1.5)
  1891. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  1892. hitbox.CFrame = hitboxCF
  1893. blcf = nil
  1894. scfr = nil
  1895. for i = 0, 1, 0.15 do
  1896. swait()
  1897. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  1898. hitbox.CFrame = hitboxCF
  1899. MagniDamage(hitbox, 6, 5, 8, 0, "Fire", RootPart, 0.2, 1, (math.random(5, 10)), nil, true, false, "FireWave")
  1900. wld1.C0 = clerp(wld1.C0, euler(1.5, 0, 3.14) * euler(0, 0, 0.3) * cf(0, 1, 0), 0.4)
  1901. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.5) * euler(0.2, 0, 0), 0.4)
  1902. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
  1903. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(0.6, 0, -1) * euler(0, -0.7, 0), 0.4)
  1904. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1905. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.2), 0.4)
  1906. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1907. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.5, -0.2), 0.4)
  1908. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, -0.5, 0.4), 0.4)
  1909. Stagger.Value = false
  1910. StaggerHit.Value = false
  1911. if StunT.Value <= Stun.Value then
  1912. break
  1913. end
  1914. end
  1915. do
  1916. for i = 0, 1, 0.2 do
  1917. swait()
  1918. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  1919. hitbox.CFrame = hitboxCF
  1920. wld1.C0 = clerp(wld1.C0, euler(1.5, 0, 3.14) * cf(0, 1, 0), 0.4)
  1921. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.2, 0, 0), 0.4)
  1922. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.7) * euler(0.1, 0, 0), 0.4)
  1923. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, -1) * euler(0, 1.2, 0), 0.4)
  1924. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1925. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.8, 0, -0.4), 0.4)
  1926. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1927. RH.C0 = clerp(RH.C0, cf(0.8, -1, 0.2) * euler(0, 1.57, 0) * euler(0, -0.7, -0.2), 0.4)
  1928. LH.C0 = clerp(LH.C0, cf(-0.8, -1, 0.2) * euler(0, -1.57, 0) * euler(0, -0.7, 0.4), 0.4)
  1929. Stagger.Value = false
  1930. StaggerHit.Value = false
  1931. if StunT.Value <= Stun.Value then
  1932. break
  1933. end
  1934. end
  1935. do
  1936. blcf = nil
  1937. scfr = nil
  1938. so("199144678", prt9, 1, 1)
  1939. for i = 0, 1, 0.2 do
  1940. swait()
  1941. hitboxCF = prt9.CFrame * cf(0, -1, 0.4)
  1942. hitbox.CFrame = hitboxCF
  1943. MagniDamage(hitbox, 6, 5, 8, 0, "Fire", RootPart, 0.2, 1, (math.random(5, 10)), nil, true, false, "FireWave")
  1944. wld1.C0 = clerp(wld1.C0, euler(0.3, 0, 3.14) * cf(0, 1, 0.2), 0.4)
  1945. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
  1946. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.5) * euler(0.1, 0, 0), 0.4)
  1947. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 0.8) * euler(0, 1.3, 0), 0.4)
  1948. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1949. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4)
  1950. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1951. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.5, -0.4), 0.4)
  1952. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0.2), 0.4)
  1953. Stagger.Value = false
  1954. StaggerHit.Value = false
  1955. if StunT.Value <= Stun.Value then
  1956. break
  1957. end
  1958. end
  1959. do
  1960. do
  1961. hitbox.Parent = modelzorz
  1962. hitbox.Size = vt()
  1963. hitboxweld()
  1964. hboxpos.Parent = nil
  1965.  
  1966. end
  1967. end
  1968. end
  1969. end
  1970. end
  1971. end
  1972. parti.Enabled = false
  1973. combing = false
  1974. BodyPos:remove()
  1975. RecentEnemy.Value.Torso.Anchored = false
  1976. attack = false
  1977. else
  1978. attack = false
  1979. end
  1980. hitbox.Parent = modelzorz
  1981. hitbox.Size = vt()
  1982. hitboxweld()
  1983. hboxpos.Parent = nil
  1984.  
  1985. end
  1986. end
  1987.  
  1988.  
  1989. Shootcombo = function()
  1990. table.insert(Effects, {gprt16.CFrame.lookVector, "Shoot", 30, gprt8.Position, 3, 5, 0, 1})
  1991. end
  1992. Shootcombo2 = function()
  1993. table.insert(Effects, {gprt16.CFrame.lookVector, "Shoot", 5, gprt8.Position + Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)), 3, 4, math.random(10, 20), 3})
  1994. end
  1995. Shoot1 = function()
  1996. table.insert(Effects, {gprt16.CFrame.lookVector, "Shoot", 100, gprt8.Position, 8, 12, math.random(10, 20), 2})
  1997. end
  1998. DecreaseStat = function(Model, Stat, Amount, Duration)
  1999. if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then
  2000. Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount
  2001. d = Instance.new("NumberValue", Model.Stats.Decrease)
  2002. dur = Instance.new("NumberValue", d)
  2003. dur.Name = "Duration"
  2004. dur.Value = Duration
  2005. game:GetService("Debris"):AddItem(d, 20)
  2006. if Stat == "Damage" then
  2007. d.Name = "DecreaseAtk"
  2008. else
  2009. if Stat == "Defense" then
  2010. d.Name = "DecreaseDef"
  2011. else
  2012. if Stat == "Movement" then
  2013. d.Name = "DecreaseMvmt"
  2014. end
  2015. end
  2016. end
  2017. if Model:findFirstChild("Torso") ~= nil then
  2018. display = ""
  2019. if Stat == "Damage" then
  2020. if Amount > 0 then
  2021. display = "-Damage"
  2022. else
  2023. display = "+Damage"
  2024. end
  2025. else
  2026. if Stat == "Defense" then
  2027. if Amount > 0 then
  2028. display = "-Defense"
  2029. else
  2030. display = "+Defense"
  2031. end
  2032. else
  2033. if Stat == "Movement" then
  2034. if Amount > 0 then
  2035. display = "-Movement"
  2036. else
  2037. display = "+Movement"
  2038. end
  2039. end
  2040. end
  2041. end
  2042. showDamage(Model, display, "Debuff")
  2043. end
  2044. d.Value = Amount
  2045. end
  2046. end
  2047. GetDist = function(Part1, Part2, magni)
  2048. local targ = Part1.Position - Part2.Position
  2049. local mag = targ.magnitude
  2050. if mag <= magni then
  2051. return true
  2052. else
  2053. return false
  2054. end
  2055. end
  2056. MagniDamage = function(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, Sound)
  2057. for _,c in pairs(workspace:children()) do
  2058. local hum = c:findFirstChild("Humanoid")
  2059. if hum ~= nil then
  2060. local head = nil
  2061. for _,d in pairs(c:children()) do
  2062. if d.className == "Model" and ranged ~= true then
  2063. head = d:findFirstChild("Hitbox")
  2064. if d.Parent == Character then
  2065. break
  2066. end
  2067. if head ~= nil then
  2068. local targ = head.Position - Part.Position
  2069. local mag = targ.magnitude
  2070. if mag <= magni and c.Name ~= Player.Name then
  2071. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2072. ref.Anchored = true
  2073. ref.CFrame = cf(head.Position)
  2074. game:GetService("Debris"):AddItem(ref, 1)
  2075. hitnum = math.random(1, 5)
  2076. if hitnum == 1 then
  2077. so("199148971", ref, 1, 1)
  2078. else
  2079. if hitnum == 2 then
  2080. so("199149025", ref, 1, 1)
  2081. else
  2082. if hitnum == 3 then
  2083. so("199149072", ref, 1, 1)
  2084. else
  2085. if hitnum == 4 then
  2086. so("199149109", ref, 1, 1)
  2087. else
  2088. if hitnum == 5 then
  2089. so("199149119", ref, 1, 1)
  2090. end
  2091. end
  2092. end
  2093. end
  2094. end
  2095. StaggerHit.Value = true
  2096. end
  2097. end
  2098. end
  2099. do
  2100. if d.className == "Part" then
  2101. head = d
  2102. if head ~= nil then
  2103. local targ = head.Position - Part.Position
  2104. local mag = targ.magnitude
  2105. if mag <= magni and c.Name ~= Player.Name then
  2106. if stun == nil then
  2107. stun = math.random(5, 10)
  2108. end
  2109. local Rang = nil
  2110. if Ranged == false then
  2111. Rang = true
  2112. end
  2113. local stag = nil
  2114. if shbash == true then
  2115. stag = true
  2116. end
  2117. Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, Sound)
  2118. end
  2119. end
  2120. end
  2121. do
  2122. -- DECOMPILER ERROR at PC181: LeaveBlock: unexpected jumping out DO_STMT
  2123.  
  2124. end
  2125. end
  2126. end
  2127. end
  2128. end
  2129. end
  2130. rayCast = function(Pos, Dir, Max, Ignore)
  2131. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2132. end
  2133. local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0)
  2134. LastPoint = Point
  2135. effect = function(Color, Ref, LP, P1, returnn)
  2136. if LP == nil or P1 == nil then
  2137. return
  2138. end
  2139. local effectsmsh = Instance.new("CylinderMesh")
  2140. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  2141. effectsmsh.Name = "Mesh"
  2142. local effectsg = Instance.new("Part")
  2143. NoOutline(effectsg)
  2144. effectsg.formFactor = 3
  2145. effectsg.CanCollide = false
  2146. effectsg.Name = "Eff"
  2147. effectsg.Locked = true
  2148. effectsg.Anchored = true
  2149. effectsg.Size = Vector3.new(0.5, 1, 0.5)
  2150. effectsg.Parent = workspace
  2151. effectsmsh.Parent = effectsg
  2152. effectsg.BrickColor = BrickColor.new(Color)
  2153. effectsg.Reflectance = Ref
  2154. local point1 = P1
  2155. local mg = LP.p - point1.p
  2156. effectsg.Size = Vector3.new(0.5, mg, 0.5)
  2157. effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  2158. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  2159. game:GetService("Debris"):AddItem(effectsg, 2)
  2160. if returnn then
  2161. return effectsg
  2162. end
  2163. if not returnn then
  2164. table.insert(Effects, {effectsg, "Cylinder", 0.2, 0.01, 0, 0.01, effectsmsh})
  2165. end
  2166. end
  2167. local CFrameFromTopBack = function(at, top, back)
  2168. local right = top:Cross(back)
  2169. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  2170. end
  2171. Triangle = function(a, b, c)
  2172. local edg1 = c - a:Dot(b - a.unit)
  2173. local edg2 = a - b:Dot(c - b.unit)
  2174. local edg3 = b - c:Dot(a - c.unit)
  2175. if edg1 <= b - a.magnitude and edg1 >= 0 then
  2176. a = a
  2177. else
  2178. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  2179.  
  2180. if edg2 <= c - b.magnitude and edg2 >= 0 then
  2181. a = b
  2182. else
  2183. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  2184.  
  2185. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  2186.  
  2187. if edg3 <= a - c.magnitude and edg3 >= 0 then
  2188. a = c
  2189. else
  2190. assert(false, "unreachable")
  2191. end
  2192. end
  2193. end
  2194. local len1 = c - a:Dot(b - a.unit)
  2195. local len2 = b - a.magnitude - len1
  2196. local width = a + b - a.unit * len1 - c.magnitude
  2197. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  2198. local list = {}
  2199. if len1 > 0.01 then
  2200. local w1 = Instance.new("WedgePart", m)
  2201. game:GetService("Debris"):AddItem(w1, 5)
  2202. w1.Material = "SmoothPlastic"
  2203. w1.FormFactor = "Custom"
  2204. w1.BrickColor = BrickColor.new("Cyan")
  2205. w1.Transparency = 0
  2206. w1.Reflectance = 0
  2207. w1.Material = "SmoothPlastic"
  2208. w1.CanCollide = false
  2209. NoOutline(w1)
  2210. local sz = Vector3.new(0.2, width, len1)
  2211. w1.Size = sz
  2212. local sp = Instance.new("SpecialMesh", w1)
  2213. sp.MeshType = "Wedge"
  2214. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  2215. w1:BreakJoints()
  2216. w1.Anchored = true
  2217. w1.Parent = workspace
  2218. w1.Transparency = 0.7
  2219. table.insert(Effects, {w1, "Disappear", 0.05})
  2220. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  2221. table.insert(list, w1)
  2222. end
  2223. do
  2224. if len2 > 0.01 then
  2225. local w2 = Instance.new("WedgePart", m)
  2226. game:GetService("Debris"):AddItem(w2, 5)
  2227. w2.Material = "SmoothPlastic"
  2228. w2.FormFactor = "Custom"
  2229. w2.BrickColor = BrickColor.new("Cyan")
  2230. w2.Transparency = 0
  2231. w2.Reflectance = 0
  2232. w2.Material = "SmoothPlastic"
  2233. w2.CanCollide = false
  2234. NoOutline(w2)
  2235. local sz = Vector3.new(0.2, width, len2)
  2236. w2.Size = sz
  2237. local sp = Instance.new("SpecialMesh", w2)
  2238. sp.MeshType = "Wedge"
  2239. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  2240. w2:BreakJoints()
  2241. w2.Anchored = true
  2242. w2.Parent = workspace
  2243. w2.Transparency = 0.7
  2244. table.insert(Effects, {w2, "Disappear", 0.05})
  2245. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  2246. table.insert(list, w2)
  2247. end
  2248. do
  2249. return unpack(list)
  2250. end
  2251. end
  2252. end
  2253. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
  2254. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2255. prt.Anchored = true
  2256. prt.CFrame = cframe
  2257. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2258. game:GetService("Debris"):AddItem(prt, 10)
  2259. if Type == 1 or Type == nil then
  2260. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  2261. else
  2262. if Type == 2 then
  2263. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  2264. end
  2265. end
  2266. end
  2267. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2268. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2269. prt.Anchored = true
  2270. prt.CFrame = cframe
  2271. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2272. game:GetService("Debris"):AddItem(prt, 10)
  2273. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2274. end
  2275. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2276. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2277. prt.Anchored = true
  2278. prt.CFrame = cframe
  2279. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2280. game:GetService("Debris"):AddItem(prt, 10)
  2281. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2282. end
  2283. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2284. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2285. prt.Anchored = true
  2286. prt.CFrame = cframe
  2287. local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2288. game:GetService("Debris"):AddItem(prt, 10)
  2289. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2290. end
  2291. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  2292. local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  2293. prt.Anchored = true
  2294. prt.CFrame = cframe
  2295. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  2296. game:GetService("Debris"):AddItem(prt, 10)
  2297. table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  2298. end
  2299. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2300. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2301. prt.Anchored = true
  2302. prt.CFrame = cframe
  2303. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  2304. game:GetService("Debris"):AddItem(prt, 10)
  2305. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2306. end
  2307. MagicFire = function(brickcolor, cframe, x1, y1, z1, delay)
  2308. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2309. prt.Anchored = true
  2310. prt.CFrame = cframe
  2311. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2312. game:GetService("Debris"):AddItem(prt, 10)
  2313. table.insert(Effects, {prt, "Fire", delay, 1, 1, 1, msh})
  2314. end
  2315. MagicFireWave = function(brickcolor, cframe, x1, y1, z1)
  2316. local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  2317. prt.Anchored = true
  2318. prt.CFrame = cframe
  2319. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2320. d = Instance.new("Decal")
  2321. d.Parent = prt
  2322. d.Texture = "http://www.roblox.com/asset/?id=610906152"
  2323. d.Face = "Top"
  2324. d = Instance.new("Decal")
  2325. d.Parent = prt
  2326. d.Texture = "http://www.roblox.com/asset/?id=610906152"
  2327. d.Face = "Bottom"
  2328. game:GetService("Debris"):AddItem(prt, 10)
  2329. table.insert(Effects, {prt, "FireWave", 1, 30, math.random(400, 600) / 100, msh})
  2330. end
  2331. ElecEffect = function(cff, x, y, z)
  2332. local prt = part(3, workspace, 0, 0, BrickColor.new("Cyan"), "Part", vt(1, 1, 1))
  2333. prt.Anchored = true
  2334. prt.CFrame = cff * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  2335. prt.CFrame = cf(prt.Position)
  2336. game:GetService("Debris"):AddItem(prt, 10)
  2337. xval = math.random() / 3
  2338. yval = math.random() / 3
  2339. zval = math.random() / 3
  2340. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval))
  2341. Effects[#Effects + 1] = {prt, "Elec", 0.2, x, y, z, xval, yval, zval, msh}
  2342. end
  2343. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2344. if hit.Parent == nil then
  2345. return
  2346. end
  2347. if hit.Name == "Hitbox" and hit.Parent ~= modelzorz and ranged ~= true then
  2348. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2349. ref.Anchored = true
  2350. ref.CFrame = cf(hit.Position)
  2351. game:GetService("Debris"):AddItem(ref, 1)
  2352. hitnum = math.random(1, 5)
  2353. if hitnum == 1 then
  2354. so("199148971", ref, 1, 1)
  2355. else
  2356. if hitnum == 2 then
  2357. so("199149025", ref, 1, 1)
  2358. else
  2359. if hitnum == 3 then
  2360. so("199149072", ref, 1, 1)
  2361. else
  2362. if hitnum == 4 then
  2363. so("199149109", ref, 1, 1)
  2364. else
  2365. if hitnum == 5 then
  2366. so("199149119", ref, 1, 1)
  2367. end
  2368. end
  2369. end
  2370. end
  2371. end
  2372. StaggerHit.Value = true
  2373. end
  2374. h = hit.Parent:FindFirstChild("Humanoid")
  2375. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2376. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2377. return
  2378. end
  2379. if Player.Neutral == false then
  2380. if hit.Parent:findFirstChild("Alignment") ~= nil and hit.Parent.Alignment.Value == Player.TeamColor.Color then
  2381. return
  2382. end
  2383. if game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
  2384. return
  2385. end
  2386. end
  2387. c = Instance.new("ObjectValue")
  2388. c.Name = "creator"
  2389. c.Value = game:service("Players").LocalPlayer
  2390. c.Parent = h
  2391. RecentEnemy.Value = hit.Parent
  2392. game:GetService("Debris"):AddItem(c, 0.5)
  2393. minim = minim * Atk.Value
  2394. maxim = maxim * Atk.Value
  2395. Damage = 0
  2396. if minim == maxim then
  2397. Damage = maxim
  2398. else
  2399. Damage = math.random(minim, maxim)
  2400. end
  2401. blocked = false
  2402. enblock = nil
  2403. Stats = hit.Parent:findFirstChild("Stats")
  2404. if Stats ~= nil then
  2405. invis = Stats:findFirstChild("Invisibility")
  2406. isinvis = Stats:findFirstChild("IsInvisible")
  2407. if (ranged == false or ranged == nil) and invis ~= nil and isinvis.Value == true then
  2408. invis.Value = 0
  2409. end
  2410. enblock = Stats:findFirstChild("Block")
  2411. if enblock ~= nil and enblock.Value == true then
  2412. blocked = true
  2413. end
  2414. if Stats:findFirstChild("Defense") ~= nil then
  2415. Damage = Damage / Stats.Defense.Value
  2416. if Damage <= 3 and (ranged == false or ranged == nil) and blocked ~= true then
  2417. hitnum = math.random(1, 5)
  2418. if hitnum == 1 then
  2419. so("199149321", hit, 1, 1)
  2420. else
  2421. if hitnum == 2 then
  2422. so("199149338", hit, 1, 1)
  2423. else
  2424. if hitnum == 3 then
  2425. so("199149367", hit, 1, 1)
  2426. else
  2427. if hitnum == 4 then
  2428. so("199149409", hit, 1, 1)
  2429. else
  2430. if hitnum == 5 then
  2431. so("199149452", hit, 1, 1)
  2432. end
  2433. end
  2434. end
  2435. end
  2436. end
  2437. else
  2438. if ranged == false or ranged == nil and blocked ~= true then
  2439. hitnum = math.random(1, 6)
  2440. if hitnum == 1 then
  2441. so("199149137", hit, 1, 1)
  2442. else
  2443. if hitnum == 2 then
  2444. so("199149186", hit, 1, 1)
  2445. else
  2446. if hitnum == 3 then
  2447. so("199149221", hit, 1, 1)
  2448. else
  2449. if hitnum == 4 then
  2450. so("199149235", hit, 1, 1)
  2451. else
  2452. if hitnum == 5 then
  2453. so("199149269", hit, 1, 1)
  2454. else
  2455. if hitnum == 6 then
  2456. so("199149297", hit, 1, 1)
  2457. end
  2458. end
  2459. end
  2460. end
  2461. end
  2462. end
  2463. end
  2464. end
  2465. if Damage <= 3 and staghit == true and ranged ~= true then
  2466. StaggerHit.Value = true
  2467. end
  2468. end
  2469. if Stats:findFirstChild("Stun") ~= nil then
  2470. if blocked == true then
  2471. incstun = incstun / 2
  2472. end
  2473. if Stats.Stun.Value < Stats.StunThreshold.Value then
  2474. Stats.Stun.Value = Stats.Stun.Value + incstun
  2475. end
  2476. end
  2477. if Stats:findFirstChild("Stagger") ~= nil and stagger == true then
  2478. Stats.Stagger.Value = true
  2479. end
  2480. end
  2481. if blocked == true then
  2482. showDamage(hit.Parent, "Block", "Damage")
  2483. if ranged ~= true then
  2484. enblock.Value = false
  2485. Stagger.Value = true
  2486. hitnum = math.random(1, 2)
  2487. if hitnum == 1 then
  2488. so("199148933", hit, 1, 1)
  2489. else
  2490. if hitnum == 2 then
  2491. so("199148947", hit, 1, 1)
  2492. end
  2493. end
  2494. end
  2495. else
  2496. Damage = math.floor(Damage)
  2497. coroutine.resume(coroutine.create(function(Hum, Dam)
  2498. hit.Parent.Humanoid:TakeDamage(Damage)
  2499. if (Type == "Fire") or (combing) then
  2500. MagicFireWave(BrickColor.new("Cyan"), hit.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1)
  2501. end
  2502. end), h, Damage)
  2503. if Type == "NormalDecreaseMvmt1" then
  2504. DecreaseStat(hit.Parent, "Movement", 0.1, 200)
  2505. end
  2506. if Type == "Knockdown" then
  2507. hum = hit.Parent.Humanoid
  2508. hum.PlatformStand = true
  2509. coroutine.resume(coroutine.create(function(HHumanoid)
  2510. swait(1)
  2511. HHumanoid.PlatformStand = false
  2512. end), hum)
  2513. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2514. local bodvol = Instance.new("BodyVelocity")
  2515. bodvol.velocity = angle * knockback
  2516. bodvol.P = 5000
  2517. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  2518. bodvol.Parent = hit
  2519. rl = Instance.new("BodyAngularVelocity")
  2520. rl.P = 3000
  2521. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  2522. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  2523. rl.Parent = hit
  2524. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2525. game:GetService("Debris"):AddItem(rl, 0.5)
  2526. else
  2527. do
  2528. if Type == "Knockdown2" then
  2529. hum = hit.Parent.Humanoid
  2530. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2531. local bodvol = Instance.new("BodyVelocity")
  2532. bodvol.velocity = angle * knockback
  2533. bodvol.P = 5000
  2534. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  2535. bodvol.Parent = hit
  2536. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2537. else
  2538. do
  2539. if Type == "Normal" or Type == "NormalDecreaseMvmt1" then
  2540. vp = Instance.new("BodyVelocity")
  2541. vp.P = 500
  2542. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  2543. if KnockbackType == 1 then
  2544. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2545. else
  2546. if KnockbackType == 2 then
  2547. vp.velocity = Property.CFrame.lookVector * knockback
  2548. end
  2549. end
  2550. game:GetService("Debris"):AddItem(vp, 0.5)
  2551. if knockback > 0 then
  2552. vp.Parent = hit.Parent.Torso
  2553. end
  2554. end
  2555. debounce = Instance.new("BoolValue")
  2556. debounce.Name = "DebounceHit"
  2557. debounce.Parent = hit.Parent
  2558. debounce.Value = true
  2559. game:GetService("Debris"):AddItem(debounce, Delay)
  2560. c = Instance.new("ObjectValue")
  2561. c.Name = "creator"
  2562. c.Value = Player
  2563. c.Parent = h
  2564. game:GetService("Debris"):AddItem(c, 0.5)
  2565. CRIT = false
  2566. end
  2567. end
  2568. end
  2569. end
  2570. end
  2571. end
  2572. end
  2573. showDamage = function(Char, Dealt, Type)
  2574. m = Instance.new("Model")
  2575. m.Name = "Effect"
  2576. c = Instance.new("Part")
  2577. c.Transparency = 1
  2578. c.Name = "Head"
  2579. c.TopSurface = 0
  2580. c.BottomSurface = 0
  2581. c.formFactor = "Plate"
  2582. c.Size = Vector3.new(1, 0.4, 1)
  2583. b = Instance.new("BillboardGui", c)
  2584. b.Size = UDim2.new(5, 0, 5, 0)
  2585. b.AlwaysOnTop = true
  2586. damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  2587. if Type == "Damage" then
  2588. damgui.Font = "SourceSans"
  2589. if Dealt == "Block" then
  2590. damgui.TextColor3 = BrickColor.new("Bright blue").Color
  2591. else
  2592. if Dealt < 3 then
  2593. damgui.TextColor3 = BrickColor.new("White").Color
  2594. else
  2595. if Dealt >= 3 and Dealt < 20 then
  2596. damgui.TextColor3 = BrickColor.new("Bright yellow").Color
  2597. else
  2598. damgui.TextColor3 = BrickColor.new("Cyan").Color
  2599. damgui.Font = "SourceSansBold"
  2600. end
  2601. end
  2602. end
  2603. else
  2604. if Type == "Debuff" then
  2605. damgui.TextColor3 = BrickColor.new("White").Color
  2606. else
  2607. if Type == "Interrupt" then
  2608. damgui.TextColor3 = BrickColor.new("New Yeller").Color
  2609. end
  2610. end
  2611. end
  2612. damgui.TextScaled = true
  2613. ms = Instance.new("CylinderMesh")
  2614. ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  2615. ms.Parent = c
  2616. c.Reflectance = 0
  2617. Instance.new("BodyGyro").Parent = c
  2618. c.Parent = m
  2619. if Char:findFirstChild("Head") ~= nil then
  2620. c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  2621. else
  2622. if Char.Parent:findFirstChild("Head") ~= nil then
  2623. c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  2624. end
  2625. end
  2626. f = Instance.new("BodyPosition")
  2627. f.P = 2000
  2628. f.D = 100
  2629. f.maxForce = Vector3.new(545000, 545000, 545000)
  2630. if Type == "Damage" then
  2631. f.position = c.Position + Vector3.new(0, 3, 0)
  2632. else
  2633. if Type == "Debuff" or Type == "Interrupt" then
  2634. f.position = c.Position + Vector3.new(0, 5, 0)
  2635. end
  2636. end
  2637. f.Parent = c
  2638. game:GetService("Debris"):AddItem(m, 5)
  2639. table.insert(Effects, {m, "showDamage", damgui, f, 10, 1, 15, 50, 100})
  2640. c.CanCollide = false
  2641. m.Parent = workspace
  2642. c.CanCollide = false
  2643. end
  2644. combo = 0
  2645. ob1d = function(mouse)
  2646. if gun == true and mana.Value >= 10 then
  2647. mana.Value = mana.Value - 10
  2648. shoot = true
  2649. Shoot1()
  2650. gun = false
  2651. end
  2652. if attack == true or equipped == false then
  2653. return
  2654. end
  2655. hold = true
  2656. if combo == 0 then
  2657. combo = 1
  2658. attackone()
  2659. else
  2660. if combo == 1 then
  2661. combo = 2
  2662. attacktwo()
  2663. else
  2664. if combo == 2 then
  2665. combo = 3
  2666. attackthree()
  2667. else
  2668. if combo == 3 then
  2669. combo = 0
  2670. attackfour()
  2671. end
  2672. end
  2673. end
  2674. end
  2675. coroutine.resume(coroutine.create(function()
  2676. for i = 1, 50 do
  2677. if attack == false then
  2678. swait()
  2679. end
  2680. end
  2681. if attack == false then
  2682. combo = 0
  2683. end
  2684. end))
  2685. end
  2686. ob1u = function(mouse)
  2687. hold = false
  2688. end
  2689. buttonhold = false
  2690. fenbarmove1.MouseButton1Click:connect(do1)
  2691. fenbarmove2.MouseButton1Click:connect(do2)
  2692. fenbarmove3.MouseButton1Click:connect(do3)
  2693. fenbarmove4.MouseButton1Click:connect(do4)
  2694. eul = 0
  2695. equipped = false
  2696. key = function(key)
  2697. if key == "e" and gun == true then
  2698. gun = false
  2699. end
  2700. if attack == true then
  2701. return
  2702. end
  2703. if key == "q" then
  2704. Punishment()
  2705. end
  2706. if key == "f" then
  2707. pressedf = true
  2708. fnumb = 0
  2709. attack = true
  2710. if equipped == false then
  2711. equipped = true
  2712. RSH = ch.Torso["Right Shoulder"]
  2713. LSH = ch.Torso["Left Shoulder"]
  2714. RSH.Parent = nil
  2715. LSH.Parent = nil
  2716. RW.Name = "Right Shoulder"
  2717. RW.Part0 = ch.Torso
  2718. RW.C0 = cf(1.5, 0.5, 0)
  2719. RW.C1 = cf(0, 0.5, 0)
  2720. RW.Part1 = ch["Right Arm"]
  2721. RW.Parent = ch.Torso
  2722. LW.Name = "Left Shoulder"
  2723. LW.Part0 = ch.Torso
  2724. LW.C0 = cf(-1.5, 0.5, 0)
  2725. LW.C1 = cf(0, 0.5, 0)
  2726. LW.Part1 = ch["Left Arm"]
  2727. LW.Parent = ch.Torso
  2728. Animate.Parent = nil
  2729. equipanim()
  2730. else
  2731. equipped = false
  2732. hideanim()
  2733. LH.C1 = LHC1
  2734. RH.C1 = RHC1
  2735. Animate.Parent = Humanoid
  2736. swait(0)
  2737. RW.Parent = nil
  2738. LW.Parent = nil
  2739. RSH.Parent = player.Character.Torso
  2740. LSH.Parent = player.Character.Torso
  2741. end
  2742. attack = false
  2743. end
  2744. if equipped == false then
  2745. return
  2746. end
  2747. if key == "e" and gun == false then
  2748. GunStance()
  2749. end
  2750. if key == "z" then
  2751. do1()
  2752. end
  2753. if key == "x" then
  2754. do2()
  2755. end
  2756. if key == "c" then
  2757. do3()
  2758. end
  2759. if key == "v" then
  2760. do4()
  2761. end
  2762. if key == "h" and (Player.Name == "murylloyago" or Player.Name == "Player" or Player.Name == "Player1") then
  2763. mana.Value = 100
  2764. cooldowns[1] = 130
  2765. cooldowns[2] = 130
  2766. cooldowns[3] = 130
  2767. cooldowns[4] = 130
  2768. end
  2769. end
  2770. key2 = function(key)
  2771. end
  2772.  
  2773.  
  2774. s = function(mouse)
  2775.  
  2776. mouse.Button1Down:connect(function()
  2777. ob1d(mouse)
  2778. end)
  2779. mouse.Button1Up:connect(function()
  2780. ob1u(mouse)
  2781. end)
  2782. mouse.KeyDown:connect(key)
  2783. mouse.KeyUp:connect(key2)
  2784. player = Player
  2785. ch = Character
  2786. MMouse = mouse
  2787. end
  2788. ds = function(mouse)
  2789. end
  2790. Bin.Selected:connect(s)
  2791. Bin.Deselected:connect(ds)
  2792. print("Vulca loaded.")
  2793. local mananum = 0
  2794. local donum = 0
  2795. local stunnum = 0
  2796. local staggeranim = false
  2797. local stunanim = false
  2798. local Point, LastPoint = nil, nil
  2799. local walk = 0
  2800. local walkforw = true
  2801. local elecnum = 0
  2802. while 1 do
  2803. swait()
  2804. if Humanoid.Health <= 0 then
  2805. attack = true
  2806. resumeControl()
  2807. game:GetService("Debris"):AddItem(modelzorz, 30)
  2808. for i = 1, #Weapon do
  2809. Weapon[i].Parent = modelzorz
  2810. Weapon[i].CanCollide = true
  2811. end
  2812. for i = 1, #Welds do
  2813. if Welds[i].Part0.Parent == Character or Welds[i].Part1.Parent == Character then
  2814. Welds[i].Parent = nil
  2815. else
  2816. Welds[i].Parent = prt1
  2817. end
  2818. end
  2819. end
  2820. do
  2821. if fnumb < 21 then
  2822. fnumb = fnumb + 1
  2823. if pressedf == false then
  2824. fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency - 0.025
  2825. tellbar.TextTransparency = tellbar.TextTransparency - 0.05
  2826. tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency - 0.05
  2827. else
  2828. if fnumb == 20 then
  2829. fenframe5.Parent = nil
  2830. print("daigui")
  2831. end
  2832. fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency + 0.025
  2833. tellbar.TextTransparency = tellbar.TextTransparency + 0.05
  2834. tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency + 0.05
  2835. end
  2836. end
  2837. if Humanoid.Health <= 20 then
  2838. passive.Value = -0.3
  2839. passive2.Value = -0.4
  2840. prt13.Transparency = 0.3
  2841. prt14.Transparency = 0.3
  2842. else
  2843. if Humanoid.Health <= 50 then
  2844. passive.Value = -0.2
  2845. passive2.Value = -0.2
  2846. prt13.Transparency = 0.5
  2847. prt14.Transparency = 0.5
  2848. else
  2849. passive.Value = 0
  2850. passive2.Value = 0
  2851. prt13.Transparency = 1
  2852. prt14.Transparency = 1
  2853. end
  2854. end
  2855. if 70 <= cooldowns[3] then
  2856. redimbue = false
  2857. else
  2858. if redimbue == true then
  2859. if 4 <= elecnum then
  2860. elecnum = 0
  2861. ElecEffect(prt9.CFrame, 1, 4, 2)
  2862. end
  2863. elecnum = elecnum + 1
  2864. end
  2865. end
  2866. if hbwld.Parent == nil then
  2867. hitbox2.Name = "Hitbox"
  2868. else
  2869. hitbox2.Name = "Hitbox2"
  2870. end
  2871. hitbox2.Parent = hitbox.Parent
  2872. hitbox2.Size = hitbox.Size
  2873. hitbox2.CFrame = hitboxCF
  2874. hboxpos.position = hitbox2.Position + vt(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100)
  2875. if Stagger.Value == true and staggeranim == false then
  2876. coroutine.resume(coroutine.create(function()
  2877. staggeranim = true
  2878. while attack == true do
  2879. swait()
  2880. end
  2881. StaggerAnim()
  2882. StaggerHit.Value = false
  2883. Stagger.Value = false
  2884. staggeranim = false
  2885. end))
  2886. end
  2887. if StaggerHit.Value == true and staggeranim == false then
  2888. coroutine.resume(coroutine.create(function()
  2889. staggeranim = true
  2890. while attack == true do
  2891. swait()
  2892. end
  2893. StaggerHitt()
  2894. StaggerHit.Value = false
  2895. Stagger.Value = false
  2896. staggeranim = false
  2897. end))
  2898. end
  2899. if Mvmt.Value < 0 or Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true or Rooted.Value == true then
  2900. Humanoid.WalkSpeed = 0
  2901. else
  2902. Humanoid.WalkSpeed = 16 * Mvmt.Value
  2903. end
  2904. if StunT.Value <= Stun.Value and stunanim == false then
  2905. coroutine.resume(coroutine.create(function()
  2906. stunanim = true
  2907. while attack == true do
  2908. swait()
  2909. end
  2910. StunAnim()
  2911. Stun.Value = 0
  2912. stunanim = false
  2913. end))
  2914. end
  2915. local stunnum2 = 50
  2916. if stunnum2 <= stunnum then
  2917. if 0 < Stun.Value then
  2918. Stun.Value = Stun.Value - 1
  2919. end
  2920. stunnum = 0
  2921. end
  2922. stunnum = stunnum + 1
  2923. if 0.5 <= donum then
  2924. handidle = true
  2925. else
  2926. if donum <= 0 then
  2927. handidle = false
  2928. end
  2929. end
  2930. if handidle == false then
  2931. donum = donum + 0.003
  2932. else
  2933. donum = donum - 0.003
  2934. end
  2935. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2936. local velderp = RootPart.Velocity.y
  2937. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2938. if equipped == true then
  2939. if attack == false then
  2940. idle = idle + 1
  2941. else
  2942. idle = 0
  2943. end
  2944. if (500 <= idle and attack ~= false) or Anim == "Walk" then
  2945. if walkforw == true then
  2946. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  2947. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  2948. else
  2949. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  2950. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  2951. end
  2952. else
  2953. RH.C1 = clerp(RH.C1, RHC1, 0.2)
  2954. LH.C1 = clerp(LH.C1, LHC1, 0.2)
  2955. end
  2956. if 1 < RootPart.Velocity.y and hitfloor == nil then
  2957. Anim = "Jump"
  2958. if attack == false then
  2959. wld1.C0 = clerp(wld1.C0, euler(2.9, 0, 3.14) * cf(0, 1, 0.2), 0.2)
  2960. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.2)
  2961. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  2962. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  2963. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 0.5), 0.2)
  2964. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2965. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.8) * euler(0, -0.7, 0), 0.2)
  2966. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2967. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
  2968. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
  2969. end
  2970. else
  2971. if RootPart.Velocity.y < -1 and hitfloor == nil then
  2972. Anim = "Fall"
  2973. if attack == false then
  2974. wld1.C0 = clerp(wld1.C0, euler(2.9, 0, 3.14) * cf(0, 1, 0.2), 0.2)
  2975. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
  2976. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  2977. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  2978. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2, 0, 1), 0.2)
  2979. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2980. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.3, 0, -0.2), 0.2)
  2981. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2982. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  2983. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  2984. end
  2985. else
  2986. if torvel < 1 and hitfloor ~= nil then
  2987. Anim = "Idle"
  2988. if attack == false then
  2989. wld1.C0 = clerp(wld1.C0, euler(2.9 + (donum) / 3, 0, 3.14) * cf(0, 1, 0.2), 0.15)
  2990. gwld6.C0 = clerp(gwld6.C0, euler(0, 0, 0) * cf(0, -0.25, -0.1), 0.15)
  2991. gwld1.C0 = clerp(gwld1.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.15)
  2992. Neck.C0 = clerp(Neck.C0, necko * euler(0.2 - (donum) / 5, 0, 0), 0.15)
  2993. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.15)
  2994. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.3 + (donum) / 3, 0, 0.5 - (donum) / 3), 0.15)
  2995. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2996. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(0.7 + (donum) / 3, 0, 0.4 + (donum) / 3) * euler(0, -0.4, 0), 0.15)
  2997. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2998. RH.C0 = clerp(RH.C0, RHC0, 0.2)
  2999. LH.C0 = clerp(LH.C0, LHC0, 0.2)
  3000. end
  3001. else
  3002. if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  3003. Anim = "Walk"
  3004. walk = walk + 1
  3005. if 15 - 5 * Mvmt.Value <= walk then
  3006. walk = 0
  3007. if walkforw == true then
  3008. walkforw = false
  3009. else
  3010. if walkforw == false then
  3011. walkforw = true
  3012. end
  3013. end
  3014. end
  3015. if attack == false then
  3016. gwld6.C0 = clerp(gwld6.C0, euler(0, 0, 0) * cf(0, -0.25, -0.1), 0.2)
  3017. wld1.C0 = clerp(wld1.C0, euler(2.9 + (donum) / 3, 0, 3.14) * euler(0, 0.5, 0) * cf(0, 1, 0.2), 0.2)
  3018. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5), 0.2)
  3019. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.1, 0, -0.5), 0.2)
  3020. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1 - (donum) / 3, 0, 0.8 - (donum) / 3), 0.2)
  3021. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3022. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(0.5 + (donum) / 3, 0, 0.8 + (donum) / 3) * euler(0, -0.7, 0), 0.2)
  3023. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3024. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.6, 0), 0.2)
  3025. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0), 0.2)
  3026. end
  3027. else
  3028. if 30 <= torvel and hitfloor ~= nil then
  3029. Anim = "Run"
  3030. if attack == false then
  3031. gwld6.C0 = clerp(gwld6.C0, euler(0, 0, 0) * cf(0, -0.25, -0.1), 0.4)
  3032. wld1.C0 = clerp(wld1.C0, euler(-1.57, 0, 3.14) * cf(0, 1, 0), 0.4)
  3033. Neck.C0 = clerp(Neck.C0, necko * euler(0.1, 0, 0), 0.4)
  3034. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.1, 0, 0), 0.4)
  3035. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.67, 0, -0.8), 0.4)
  3036. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  3037. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.4) * euler(0, 0, 0), 0.4)
  3038. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  3039. RH.C0 = clerp(RH.C0, cf(1, -0.7, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.2), 0.4)
  3040. LH.C0 = clerp(LH.C0, cf(-1, -0.7, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, -0.2), 0.4)
  3041. end
  3042. end
  3043. end
  3044. end
  3045. end
  3046. end
  3047. end
  3048. if 0 < #Effects then
  3049. for e = 1, #Effects do
  3050. if Effects[e] ~= nil then
  3051. local Thing = Effects[e]
  3052. if Thing ~= nil then
  3053. local Part = Thing[1]
  3054. local Mode = Thing[2]
  3055. local Delay = Thing[3]
  3056. local IncX = Thing[4]
  3057. local IncY = Thing[5]
  3058. local IncZ = Thing[6]
  3059.  
  3060. if Thing[2]=="Shoot" then
  3061.  
  3062. local Look=Thing[1]
  3063. local hit,pos = rayCast(Thing[4],Look,20,modelzorz)
  3064. local mag=(Thing[4]-pos).magnitude
  3065. MagicHead(BrickColor.new("Cyan"),CFrame.new((Thing[4]+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,.5,0,.5,0.1)
  3066.  
  3067. Thing[4]=Thing[4]+(Look*20)
  3068. Thing[3]=Thing[3]-1
  3069. if hit~=nil then
  3070. Thing[3]=0
  3071. if Thing[8]==1 then
  3072. Damagefunc(hit,Thing[5],Thing[6],Thing[7],"Normal",RootPart,0,2,math.random(1,5),nil,nil,true)
  3073. elseif Thing[8]==2 then
  3074. Damagefunc(hit,Thing[5],Thing[6],Thing[7],"NormalDecreaseMvmt1",RootPart,0,2,math.random(1,5),nil,nil,true)
  3075. elseif Thing[8]==3 then
  3076. Damagefunc(hit,Thing[5],Thing[6],Thing[7],"Fire",RootPart,0,2,math.random(10,20),nil,nil,true)
  3077. end
  3078. ref=part(3,workspace,0,1,BrickColor.new("Cyan"),"Reference",vt())
  3079. ref.Anchored=true
  3080. ref.CFrame=cf(pos)
  3081.  
  3082. MagicCircle(BrickColor.new("Cyan"),cf(pos),5,5,5,1,1,1,0.03)
  3083.  
  3084. game:GetService("Debris"):AddItem(ref,1)
  3085. end
  3086. if Thing[3]<=0 then
  3087. table.remove(Effects,e)
  3088. end
  3089. end
  3090. do
  3091. do
  3092. if Thing[2] == "CylinderClang" then
  3093. if Thing[3] <= 1 then
  3094. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3095. Thing[7] = Thing[1].CFrame
  3096. effect("New Yeller", 0, Thing[8], Thing[7])
  3097. Thing[8] = Thing[7]
  3098. Thing[3] = Thing[3] + Thing[4]
  3099. else
  3100. Part.Parent = nil
  3101. table.remove(Effects, e)
  3102. end
  3103. end
  3104. if Thing[2] == "Wave" then
  3105. if Thing[4] <= Thing[5] then
  3106. Thing[1].CFrame = Thing[1].CFrame * cf(0, 0, -Thing[3])
  3107. Thing[4] = Thing[4] + 1
  3108. MagniDamage(Thing[1], 7, 4, 7, 0, "Normal", RootPart, 0.5, 1, (math.random(7, 8)), nil, nil, true)
  3109. else
  3110. Thing[6].Parent = nil
  3111. Thing[7].Parent = nil
  3112. Thing[8].Enabled = false
  3113. Part.Transparency = 1
  3114. table.remove(Effects, e)
  3115. end
  3116. end
  3117. if Thing[2] == "FireWave" then
  3118. if Thing[3] <= Thing[4] then
  3119. Thing[1].CFrame = Thing[1].CFrame * euler(0, 1, 0)
  3120. Thing[3] = Thing[3] + 1
  3121. Thing[6].Scale = Thing[6].Scale + vt(Thing[5], 0, Thing[5])
  3122. else
  3123. Part.Parent = nil
  3124. table.remove(Effects, e)
  3125. end
  3126. end
  3127. if Thing[2] == "showDamage" then
  3128. if Thing[6] < Thing[5] then
  3129. Thing[6] = Thing[6] + 1
  3130. else
  3131. if Thing[6] < Thing[7] then
  3132. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  3133. Thing[6] = Thing[6] + 1
  3134. else
  3135. if Thing[6] < Thing[8] then
  3136. Thing[6] = Thing[6] + 1
  3137. else
  3138. if Thing[6] < Thing[9] then
  3139. Thing[6] = Thing[6] + 1
  3140. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  3141. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  3142. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  3143. else
  3144. Thing[1].Parent = nil
  3145. table.remove(Effects, e)
  3146. end
  3147. end
  3148. end
  3149. end
  3150. end
  3151. if Thing[2] ~= "Shoot" and Thing[2] ~= "DecreaseStat" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" and Thing[2] ~= "showDamage" then
  3152. if Thing[1].Transparency <= 1 then
  3153. if Thing[2] == "Block1" then
  3154. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3155. Mesh = Thing[7]
  3156. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3157. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3158. else
  3159. if Thing[2] == "Block2" then
  3160. Thing[1].CFrame = Thing[1].CFrame
  3161. Mesh = Thing[7]
  3162. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3163. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3164. else
  3165. if Thing[2] == "Fire" then
  3166. Thing[1].CFrame = cf(Thing[1].Position) + vt(0, 0.2, 0)
  3167. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3168. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3169. else
  3170. if Thing[2] == "Cylinder" then
  3171. Mesh = Thing[7]
  3172. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3173. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3174. else
  3175. if Thing[2] == "Blood" then
  3176. Mesh = Thing[7]
  3177. Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  3178. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3179. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3180. else
  3181. if Thing[2] == "Elec" then
  3182. Mesh = Thing[10]
  3183. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  3184. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3185. else
  3186. if Thing[2] == "Disappear" then
  3187. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3188. end
  3189. end
  3190. end
  3191. end
  3192. end
  3193. end
  3194. end
  3195. else
  3196. Part.Parent = nil
  3197. table.remove(Effects, e)
  3198. end
  3199. end
  3200. -- DECOMPILER ERROR at PC5807: LeaveBlock: unexpected jumping out DO_STMT
  3201.  
  3202. -- DECOMPILER ERROR at PC5807: LeaveBlock: unexpected jumping out IF_THEN_STMT
  3203.  
  3204. -- DECOMPILER ERROR at PC5807: LeaveBlock: unexpected jumping out IF_STMT
  3205.  
  3206. -- DECOMPILER ERROR at PC5807: LeaveBlock: unexpected jumping out IF_THEN_STMT
  3207.  
  3208. -- DECOMPILER ERROR at PC5807: LeaveBlock: unexpected jumping out IF_STMT
  3209.  
  3210. end
  3211. end
  3212. end
  3213. end
  3214. end
  3215. end
  3216. fenbarmana2:TweenSize((UDim2.new(0.4, 0, -4 * mana.Value / 100, 0)), nil, 1, 0.4, true)
  3217. fenbarmana4.Text = "Mana(" .. mana.Value .. ")"
  3218. fenbarhp2.BackgroundColor3 = Color3.new(Humanoid.Health / Humanoid.MaxHealth, 0, 0)
  3219. fenbarhp2:TweenSize((UDim2.new(Humanoid.Health / Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true)
  3220. fenbarhp3.Text = "(" .. math.floor(Humanoid.Health) .. ")"
  3221. fenbarmove1b:TweenSize((UDim2.new(1 * cooldowns[1] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3222. fenbarmove2b:TweenSize((UDim2.new(1 * cooldowns[2] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3223. fenbarmove3b:TweenSize((UDim2.new(1 * cooldowns[3] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3224. fenbarmove4b:TweenSize((UDim2.new(1 * cooldowns[4] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3225. for _,c in pairs(Decrease:children()) do
  3226. if (c:findFirstChild("Duration")) ~= nil then
  3227. c.Duration.Value = c.Duration.Value - 1
  3228. if c.Duration.Value <= 0 then
  3229. c.Parent = nil
  3230. end
  3231. end
  3232. if c.Name == "DecreaseAtk" then
  3233. decreaseatk = decreaseatk + c.Value
  3234. else
  3235. if c.Name == "DecreaseDef" then
  3236. decreasedef = decreasedef + c.Value
  3237. else
  3238. if c.Name == "DecreaseMvmt" then
  3239. decreasemvmt = decreasemvmt + c.Value
  3240. end
  3241. end
  3242. end
  3243. end
  3244. Atk.Value = 1 - (decreaseatk)
  3245. if Atk.Value <= 0 then
  3246. Atk.Value = 0
  3247. end
  3248. Def.Value = 1 - (decreasedef)
  3249. if Def.Value <= 0 then
  3250. Def.Value = 0.01
  3251. end
  3252. Mvmt.Value = 1 - (decreasemvmt)
  3253. if Mvmt.Value <= 0 then
  3254. Mvmt.Value = 0
  3255. end
  3256. decreaseatk = 0
  3257. decreasedef = 0
  3258. decreasemvmt = 0
  3259. AtkVal = Atk.Value * 100
  3260. AtkVal = math.floor(AtkVal)
  3261. AtkVal = AtkVal / 100
  3262. fenbardamage.Text = "Damage\n(" .. AtkVal .. ")"
  3263. DefVal = Def.Value * 100
  3264. DefVal = math.floor(DefVal)
  3265. DefVal = DefVal / 100
  3266. fenbardef.Text = "Defense\n(" .. DefVal .. ")"
  3267. MvmtVal = Mvmt.Value * 100
  3268. MvmtVal = math.floor(MvmtVal)
  3269. MvmtVal = MvmtVal / 100
  3270. if Rooted.Value == true then
  3271. MvmtVal = 0
  3272. end
  3273. fenbarmove.Text = "Walkspeed\n(" .. MvmtVal .. ")"
  3274. if StunT.Value <= Stun.Value then
  3275. fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4, 0)), nil, 1, 0.4, true)
  3276. else
  3277. fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4 * Stun.Value / StunT.Value, 0)), nil, 1, 0.4, true)
  3278. end
  3279. fenbarstun3.Text = "Stun(" .. Stun.Value .. ")"
  3280. gmsh15.Scale = vt(2.21, 5 * mana.Value / 100, 0.9)
  3281. gwld15.C0 = euler(0, 0, 0) * cf(0, 0, 0) * cf(0, 0.5 / (100 / (100 - mana.Value)), 0)
  3282. if 100 <= mana.Value then
  3283. mana.Value = 100
  3284. else
  3285. if mananum <= 8 then
  3286. mananum = mananum + 1
  3287. else
  3288. mananum = 0
  3289. mana.Value = mana.Value + 1
  3290. end
  3291. end
  3292. for i = 1, #cooldowns do
  3293. if cooldownmax <= cooldowns[i] then
  3294. cooldowns[i] = cooldownmax
  3295. else
  3296. cooldowns[i] = cooldowns[i] + cooldownsadd[i]
  3297. end
  3298. end
  3299. -- DECOMPILER ERROR at PC6204: LeaveBlock: unexpected jumping out DO_STMT
  3300.  
  3301. end
  3302. end
Add Comment
Please, Sign In to add comment