Advertisement
memberhero

strife test 1

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