Wweroblox12121212

Epic NameClanGui

Feb 9th, 2018
3,048
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 177.46 KB | None | 0 0
  1. -- Objecta
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local Frame_2 = Instance.new("Frame")
  6. local NameClanGui = Instance.new("TextLabel")
  7. local TextButton = Instance.new("TextButton")
  8. local TextButton_2 = Instance.new("TextButton")
  9.  
  10. -- Properties
  11.  
  12. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  13.  
  14. Frame.Parent = ScreenGui
  15. Frame.Active = true
  16. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  17. Frame.BorderSizePixel = 0
  18. Frame.Draggable = true
  19. Frame.Position = UDim2.new(0.305452287, 0, -0.01383394, 0)
  20. Frame.Selectable = true
  21. Frame.Size = UDim2.new(0, 314, 0, 160)
  22. Frame.Style = Enum.FrameStyle.RobloxSquare
  23.  
  24. Frame_2.Parent = Frame
  25. Frame_2.BackgroundColor3 = Color3.new(0.00784314, 0.00784314, 0.00784314)
  26. Frame_2.BorderSizePixel = 0
  27. Frame_2.Position = UDim2.new(0.0589171983, 0, 0.0720000118, 0)
  28. Frame_2.Size = UDim2.new(0, 265, 0, 20)
  29.  
  30. NameClanGui.Name = "NameClanGui"
  31. NameClanGui.Parent = Frame
  32. NameClanGui.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  33. NameClanGui.BorderColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  34. NameClanGui.BorderSizePixel = 0
  35. NameClanGui.Position = UDim2.new(0.267515928, 0, 0.206249997, 0)
  36. NameClanGui.Size = UDim2.new(0, 140, 0, 22)
  37. NameClanGui.Font = Enum.Font.SourceSans
  38. NameClanGui.Text = "NameClan Gui"
  39. NameClanGui.TextColor3 = Color3.new(0, 1, 0.0666667)
  40. NameClanGui.TextScaled = true
  41. NameClanGui.TextSize = 14
  42. NameClanGui.TextWrapped = true
  43.  
  44. TextButton.Parent = Frame
  45. TextButton.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  46. TextButton.BackgroundTransparency = -0.03999999910593
  47. TextButton.Position = UDim2.new(0.0191082805, 0, 0.618749976, 0)
  48. TextButton.Size = UDim2.new(0, 125, 0, 26)
  49. TextButton.Font = Enum.Font.SourceSans
  50. TextButton.Text = "Samuegg"
  51. TextButton.TextColor3 = Color3.new(0, 1, 0.0666667)
  52. TextButton.TextScaled = true
  53. TextButton.TextSize = 14
  54. TextButton.TextWrapped = true
  55.  
  56. TextButton.MouseButton1Down:connect(function()
  57. --//====================================================\\--
  58. --|| CREATED BY BRANNON1964802, EDITED BY KARMARANGE
  59. --\\====================================================//--
  60.  
  61. --[[c=script.Parent:getChildren()
  62. for i = 1, #c do
  63. if c[i].className=="BodyColors" then
  64. c[i]:Remove()
  65. end
  66. end]]--
  67. local e = script.Parent:FindFirstChild("Body Colors")
  68. if e then
  69. e:Destroy()
  70. end
  71.  
  72. wait(1 / 60)
  73.  
  74. intro = true
  75. Player = game:GetService("Players").LocalPlayer
  76. PlayerGui = Player.PlayerGui
  77. Cam = workspace.CurrentCamera
  78. Backpack = Player.Backpack
  79. Character = Player.Character
  80. Humanoid = Character.Humanoid
  81. Mouse = Player:GetMouse()
  82. RootPart = Character["HumanoidRootPart"]
  83. Torso = Character["Torso"]
  84. Head = Character["Head"]
  85. RightArm = Character["Right Arm"]
  86. LeftArm = Character["Left Arm"]
  87. RightLeg = Character["Right Leg"]
  88. LeftLeg = Character["Left Leg"]
  89. RootJoint = RootPart["RootJoint"]
  90. Neck = Torso["Neck"]
  91. RightShoulder = Torso["Right Shoulder"]
  92. LeftShoulder = Torso["Left Shoulder"]
  93. RightHip = Torso["Right Hip"]
  94. LeftHip = Torso["Left Hip"]
  95. Humanoid.WalkSpeed = 0
  96. Humanoid.JumpPower = 0
  97. Humanoid.MaxHealth = "inf"
  98. Humanoid.Health = "inf"
  99. k = Instance.new("Sound",Character)
  100. k.Volume = 0.6
  101. k.PlaybackSpeed = 1
  102. k.Pitch = 1
  103. k.SoundId = "rbxassetid://381671754"
  104. k:Play()
  105. k.Name = "TalkSound"
  106. k.Playing = false
  107.  
  108. function chatfunc(text)
  109. local chat = coroutine.wrap(function()
  110. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  111. Character:FindFirstChild("TalkingBillBoard"):destroy()
  112. end
  113. local naeeym2 = Instance.new("BillboardGui",Character)
  114. naeeym2.Size = UDim2.new(0,100,0,40)
  115. naeeym2.StudsOffset = Vector3.new(0,8,0)
  116. naeeym2.Adornee = Character.Head
  117. naeeym2.Name = "TalkingBillBoard"
  118. naeeym2.AlwaysOnTop = true
  119. local tecks2 = Instance.new("TextLabel",naeeym2)
  120. tecks2.BackgroundTransparency = 1
  121. tecks2.BorderSizePixel = 0
  122. tecks2.Text = ""
  123. tecks2.Font = "Fantasy"
  124. tecks2.TextSize = 30
  125. tecks2.TextStrokeTransparency = 0
  126. tecks2.TextColor3 = Color3.new(0,0,0)
  127. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  128. tecks2.Size = UDim2.new(1,0,0.5,0)
  129. local tecks3 = Instance.new("TextLabel",naeeym2)
  130. tecks3.BackgroundTransparency = 1
  131. tecks3.BorderSizePixel = 0
  132. tecks3.Text = ""
  133. tecks3.Font = "Fantasy"
  134. tecks3.TextSize = 30
  135. tecks3.TextStrokeTransparency = 0
  136. tecks3.TextColor3 = Color3.new(0,0,0)
  137. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  138. tecks3.Size = UDim2.new(1,0,0.5,0)
  139. for i = 1,string.len(text),1 do
  140. k:Play()
  141. tecks2.Text = string.sub(text,1,i)
  142. tecks3.Text = string.sub(text,1,i)
  143. wait(0.01)
  144. end
  145. wait(2)
  146. for i = 1, 50 do
  147. wait()
  148. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  149. tecks2.Rotation = tecks2.Rotation - .8
  150. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  151. tecks2.TextTransparency = tecks2.TextTransparency + .04
  152. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  153. tecks3.Rotation = tecks2.Rotation + .8
  154. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  155. tecks3.TextTransparency = tecks2.TextTransparency + .04
  156. end
  157. naeeym2:Destroy()
  158. end)
  159. chat()
  160. end
  161. function onChatted(msg)
  162. chatfunc(msg)
  163. end
  164. Player.Chatted:connect(onChatted)
  165.  
  166. wait(1)
  167. if intro == true then
  168. chatfunc("Hi Old Samurai EGG")
  169. wait(2)
  170. chatfunc("So I AM Samurai EGG")
  171. wait(2)
  172. chatfunc("And I...")
  173. wait(1)
  174. chatfunc("This is My World.")
  175. wait(2)
  176. chatfunc("For I am...")
  177. wait(4)
  178. end
  179. kkk = Instance.new("Sound",Character)
  180. kkk.Volume = 1
  181. kkk.PlaybackSpeed = 1
  182. kkk.Pitch = 1
  183. kkk.SoundId = "rbxassetid://734970925"
  184. kkk:Play()
  185. kkk.Name = "BackgroundMusic"
  186. kkk.Looped = true
  187. chatfunc("SAMUEGG!!!")
  188. Humanoid.DisplayDistanceType = "None"
  189. Head.face.Texture = "rbxassetid://168092687"
  190. Head.Mesh:Destroy()
  191. local mesh = Instance.new("BlockMesh")
  192. mesh.Parent = Head
  193. Head.BrickColor = BrickColor.new("Light stone grey")
  194. RightArm.BrickColor = BrickColor.new("Light stone grey")
  195. LeftArm.BrickColor = BrickColor.new("Light stone grey")
  196. LeftLeg.BrickColor = BrickColor.new("Light stone grey")
  197. RightLeg.BrickColor = BrickColor.new("Light stone grey")
  198. Torso.BrickColor = BrickColor.new("Light stone grey")
  199. script.Parent.Shirt.ShirtTemplate = "rbxassetid://227058552"
  200. script.Parent.Pants.PantsTemplate = "rbxassetid://227058552"
  201. c=script.Parent:getChildren()
  202. for i = 1, #c do
  203. if c[i].className=="CharacterMesh" then
  204. c[i]:Remove()
  205. end
  206. end
  207. wait(0.0005)
  208. Humanoid.WalkSpeed = 35
  209. Humanoid.JumpPower = 85
  210. Head.BrickColor = BrickColor.new("Light stone grey")
  211. RightArm.BrickColor = BrickColor.new("Light stone grey")
  212. LeftArm.BrickColor = BrickColor.new("Light stone grey")
  213. LeftLeg.BrickColor = BrickColor.new("Light stone grey")
  214. RightLeg.BrickColor = BrickColor.new("Light stone grey")
  215. Torso.BrickColor = BrickColor.new("Light stone grey")
  216. local hat = Instance.new("Hat")
  217. hat.AttachmentPos = Vector3.new(0,-3.5,0)
  218. hat.AttachmentForward = Vector3.new(0,0,-1)
  219. hat.AttachmentRight = Vector3.new(1,0,0)
  220. hat.AttachmentUp = Vector3.new(0,1,0)
  221. local handle = Instance.new("Part")
  222. handle.Name = "Handle"
  223. local mesh = Instance.new("SpecialMesh")
  224. mesh.MeshId = "http://www.roblox.com/asset/?id=698835348"
  225. mesh.TextureId = "http://www.roblox.com/asset/?id=698831630"
  226. mesh.Scale = Vector3.new(15.85,15.85,15.85)
  227. mesh.Parent = handle
  228. handle.Parent = hat
  229.  
  230.  
  231. IT = Instance.new
  232. CF = CFrame.new
  233. VT = Vector3.new
  234. RAD = math.rad
  235. C3 = Color3.new
  236. UD2 = UDim2.new
  237. BRICKC = BrickColor.new
  238. ANGLES = CFrame.Angles
  239. EULER = CFrame.fromEulerAnglesXYZ
  240. COS = math.cos
  241. ACOS = math.acos
  242. SIN = math.sin
  243. ASIN = math.asin
  244. ABS = math.abs
  245. MRANDOM = math.random
  246. FLOOR = math.floor
  247.  
  248.  
  249. function reap(t)
  250. if t.Name ~= "Corpse" and t:FindFirstChild("Torso") then
  251. local s = Instance.new("Model")
  252. s.Name = t.Name
  253. local larm = t:FindFirstChild("Left Arm")
  254. local rarm = t:FindFirstChild("Right Arm")
  255. local lleg = t:FindFirstChild("Left Leg")
  256. local rleg = t:FindFirstChild("Right Leg")
  257. s.Parent = workspace
  258. local tors = Instance.new("Part")
  259. tors.Name = "Torso"
  260. tors.Size = t.Torso.Size
  261. tors.Parent = s
  262. tors.CFrame = t.Torso.CFrame
  263. local LL = Instance.new("Part")
  264. LL.Name = "Left Leg"
  265. LL.Size = lleg.Size
  266. LL.Parent = s
  267. LL.CFrame = lleg.CFrame
  268. LL.CanCollide = true
  269. local RL = Instance.new("Part")
  270. RL.Name = "Right Leg"
  271. RL.Size = rleg.Size
  272. RL.Parent = s
  273. RL.CFrame = rleg.CFrame
  274. RL.CanCollide = true
  275. local RA = Instance.new("Part")
  276. RA.Name = "Right Arm"
  277. RA.Size = rarm.Size
  278. RA.Parent = s
  279. RA.CFrame = rarm.CFrame
  280. RA.CanCollide = true
  281. local LA = Instance.new("Part")
  282. LA.Name = "Left Arm"
  283. LA.Size = larm.Size
  284. LA.Parent = s
  285. LA.CFrame = larm.CFrame
  286. LA.CanCollide = true
  287. local head = Instance.new("Part")
  288. head.Name = "Head"
  289. head.Size = t.Head.Size
  290. head.Parent = s
  291. head.CFrame = t.Head.CFrame
  292. local tor = Instance.new("CharacterMesh")
  293. tor.Parent = s
  294. tor.BodyPart = "Torso"
  295. tor.MeshId = "36780113"
  296. tor.OverlayTextureId = "494636944"
  297. local tor = Instance.new("CharacterMesh")
  298. tor.Parent = s
  299. tor.BodyPart = "RightLeg"
  300. tor.MeshId = "36780195"
  301. tor.OverlayTextureId = "494636944"
  302. local tor = Instance.new("CharacterMesh")
  303. tor.Parent = s
  304. tor.BodyPart = "LeftLeg"
  305. tor.MeshId = "36780079"
  306. tor.OverlayTextureId = "494636944"
  307. local tor = Instance.new("CharacterMesh")
  308. tor.Parent = s
  309. tor.BodyPart = "LeftArm"
  310. tor.MeshId = "36780032"
  311. tor.OverlayTextureId = "494636944"
  312. local tor = Instance.new("CharacterMesh")
  313. tor.Parent = s
  314. tor.BodyPart = "RightArm"
  315. tor.MeshId = "36780156"
  316. tor.OverlayTextureId = "494636944"
  317. local tor = Instance.new("SpecialMesh")
  318. tor.Scale = Vector3.new(t.Head.Size.Z,t.Head.Size.Z,t.Head.Size.Z)
  319. tor.MeshType = "FileMesh"
  320. tor.MeshId = "http://www.roblox.com/asset/?id=181343290"
  321. tor.TextureId = "rbxassetid://494637850"
  322. tor.Parent = head
  323. local human = t.Humanoid
  324. human.Parent = s
  325. human.DisplayDistanceType = "None"
  326. t:Destroy()
  327. end
  328. end
  329.  
  330. --//=================================\\
  331. --|| CUSTOMIZATION
  332. --\\=================================//
  333.  
  334. Class_Name = "Sorcus"
  335. Weapon_Name = "Sword"
  336.  
  337. Custom_Colors = {
  338. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  339. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  340.  
  341. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  342. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  343. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  344. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  345. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  346.  
  347. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  348. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  349. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  350. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  351. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  352. }
  353.  
  354. Mana_Bar_Background_Transparency = 0 --Transparency for the background of the mana bar.
  355. Secondary_Mana_Bar_Background_Transparency = 0 --Transparency for the background of the secondary mana bar.
  356. Health_Bar_Background_Transparency = 0 --Transparency for the background of the health bar.
  357. Stun_Bar_Background_Transparency = 0 --Transparency for the background of the stun bar.
  358. Ability_Background_Transparency = 0 --Transparency for the background of the abilities.
  359. Stat_Background_Transparency = 0 --Transparency for the background of the stats.
  360.  
  361. Player_Size = 5 --Size of the player.
  362. Animation_Speed = 3
  363. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  364.  
  365. Enable_Gui = false --Enables or disables the Weapon Gui. Also functions as hiding or showing the Gui.
  366. Enable_Stats = false --Enables or disables stats.
  367. Put_Stats_In_Character = false --Places stats in Character.
  368. Enable_Stagger_Hit = false --Enables or disables staggering when hitting a hitbox of some sort.
  369. Play_Hitbox_Hit_Sound = true --Plays a hit sound when hitting a hitbox of some sort.
  370. Enable_Stagger = false --Enables or disables staggering.
  371. Enable_Stun = false --Enables or disables the stun mechanic.
  372. Enable_Abilities = false --Enables abilites with cooldowns and mana costs.
  373. Enable_Secondary_Bar = false --Enables the secondary mana bar, if true.
  374.  
  375. Start_Equipped = false --Starts the player equipped with their weapon.
  376. Start_Equipped_With_Equipped_Animation = false --Used in conjunction with the above option. Starts your equip animation.
  377. Can_Equip_Or_Unequip = true --Enables or disables the ability to unequip or equip your weapon.
  378. Disable_Animator = true --Disables the Animator in the humanoid.
  379. Disable_Animate = true --Disables the Animate script in the character.
  380. Disable_Moving_Arms = false --Keeps the arms from moving around.
  381. Use_Motors_Instead_Of_Welds = false --Uses motors instead of welds to disable moving arms.
  382. Walkspeed_Depends_On_Movement_Value = false --Walkspeed depends on movement value. Self-explanatory.
  383. Disable_Jump = false --Disables jumping.
  384. Use_HopperBin = true --Uses a hopperbin to do things.
  385.  
  386. Cooldown_1 = 0 --Cooldowns for abilites.
  387. Cooldown_2 = 0
  388. Cooldown_3 = 0
  389. Cooldown_4 = 0
  390. Skill_1_Mana_Cost = 0 --How much mana is required to use the skill.
  391. Skill_2_Mana_Cost = 0
  392. Skill_3_Mana_Cost = 0
  393. Skill_4_Mana_Cost = 0
  394. Max_Mana = 0 --Maximum amount of mana you can have.
  395. Max_Secondary_Mana = 0 --Maximum amount of secondary mana you can have.
  396. Mana_Name = "Mana" --Name for the mana bar.
  397. Secondary_Mana_Name = "Block" --Name for the secondary mana bar.
  398. Max_Stun = 1 --Maximum amount of stun you can have.
  399. Recover_Mana = 0 --How much mana you gain.
  400. Mana_Regen_Mode = "1" --Basically switches from one mana regen system to another.
  401. Secondary_Mana_Regen_Mode = "1" --Basically switches from one secondary mana regen system to another.
  402. Stun_Lose_Mode = "1" --Basically switches from one secondary stun loss system to another.
  403. Recover_Secondary_Mana = 0 --How much secondary mana you gain.
  404. Lose_Stun = 0 --How much stun you lose.
  405. Stun_Wait = 0 --Delay between losing stun.
  406. Mana_Wait = 0 --Delay between gaining mana.
  407. Secondary_Mana_Wait = 0 --Delay between gaining secondary mana.
  408. Menu_Update_Speed = 0 --How fast the Weapon Gui will update.
  409. Constant_Update = false --Removes the delay between updating the Weapon GUI.
  410. Show_Stats = false --Hides or shows stats.
  411. Stat_Offset = 0.74 --For cosmetic purposes. {0.74, 0.78}
  412.  
  413. --//=================================\\
  414. --|| END OF CUSTOMIZATION
  415. --\\=================================//
  416.  
  417.  
  418.  
  419.  
  420.  
  421. --//=================================\\
  422. --|| USEFUL VALUES
  423. --\\=================================//
  424.  
  425. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  426. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  427. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  428. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  429. local CO1 = 0
  430. local CO2 = 0
  431. local CO3 = 0
  432. local CO4 = 0
  433. local CHANGEDEFENSE = 0
  434. local CHANGEDAMAGE = 0
  435. local CHANGEMOVEMENT = 0
  436. local ANIM = "Idle"
  437. local ATTACK = false
  438. local EQUIPPED = false
  439. local HOLD = false
  440. local COMBO = 2
  441. local LASTPOINT = nil
  442. local BLCF = nil
  443. local SCFR = nil
  444. local STAGGERHITANIM = false
  445. local STAGGERANIM = false
  446. local STUNANIM = false
  447. local CRITCHANCENUMBER = 0
  448. local IDLENUMBER = 0
  449. local DONUMBER = 0
  450. local HANDIDLE = false
  451. local SINE = 0
  452. local CHANGE = 1 / Animation_Speed
  453. local WALKINGANIM = false
  454. local WALK = 0
  455. local DISABLEJUMPING = false
  456. local HASBEENBLOCKED = false
  457. local STUNDELAYNUMBER = 0
  458. local MANADELAYNUMBER = 0
  459. local SECONDARYMANADELAYNUMBER = 0
  460. local ROBLOXIDLEANIMATION = IT("Animation")
  461. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  462. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  463. --ROBLOXIDLEANIMATION.Parent = Humanoid
  464. local WEAPONGUI = IT("ScreenGui", nil)
  465. WEAPONGUI.Name = "Weapon GUI"
  466. local WEAPONTOOL = IT("HopperBin", nil)
  467. WEAPONTOOL.Name = Weapon_Name
  468. local Weapon = IT("Model")
  469. Weapon.Name = Weapon_Name
  470. local Effects = IT("Folder", Weapon)
  471. Effects.Name = "Effects"
  472. local ANIMATOR = Humanoid.Animator
  473. local ANIMATE = Character.Animate
  474. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  475. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  476. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  477. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  478.  
  479. --//=================================\\
  480. --\\=================================//
  481.  
  482.  
  483.  
  484.  
  485.  
  486. --//=================================\\
  487. --|| STATS
  488. --\\=================================//
  489.  
  490. if Character:FindFirstChild("Stats") ~= nil then
  491. Character:FindFirstChild("Stats").Parent = nil
  492. end
  493.  
  494. local Stats = IT("Folder", nil)
  495. Stats.Name = "Stats"
  496. local ChangeStat = IT("Folder", Stats)
  497. ChangeStat.Name = "ChangeStat"
  498. local Defense = IT("NumberValue", Stats)
  499. Defense.Name = "Defense"
  500. Defense.Value = 1
  501. local Movement = IT("NumberValue", Stats)
  502. Movement.Name = "Movement"
  503. Movement.Value = 1
  504. local Damage = IT("NumberValue", Stats)
  505. Damage.Name = "Damage"
  506. Damage.Value = 1
  507. local Mana = IT("NumberValue", Stats)
  508. Mana.Name = "Mana"
  509. Mana.Value = 0
  510. local SecondaryMana = IT("NumberValue", Stats)
  511. SecondaryMana.Name = "SecondaryMana"
  512. SecondaryMana.Value = 0
  513. local CanCrit = IT("BoolValue", Stats)
  514. CanCrit.Name = "CanCrit"
  515. CanCrit.Value = false
  516. local CritChance = IT("NumberValue", Stats)
  517. CritChance.Name = "CritChance"
  518. CritChance.Value = 20
  519. local CanPenetrateArmor = IT("BoolValue", Stats)
  520. CanPenetrateArmor.Name = "CanPenetrateArmor"
  521. CanPenetrateArmor.Value = false
  522. local AntiTeamKill = IT("BoolValue", Stats)
  523. AntiTeamKill.Name = "AntiTeamKill"
  524. AntiTeamKill.Value = false
  525. local Rooted = IT("BoolValue", Stats)
  526. Rooted.Name = "Rooted"
  527. Rooted.Value = false
  528. local Block = IT("BoolValue", Stats)
  529. Block.Name = "Block"
  530. Block.Value = false
  531. local RecentEnemy = IT("ObjectValue", Stats)
  532. RecentEnemy.Name = "RecentEnemy"
  533. RecentEnemy.Value = nil
  534. local StaggerHit = IT("BoolValue", Stats)
  535. StaggerHit.Name = "StaggerHit"
  536. StaggerHit.Value = false
  537. local Stagger = IT("BoolValue", Stats)
  538. Stagger.Name = "Stagger"
  539. Stagger.Value = false
  540. local Stun = IT("BoolValue", Stats)
  541. Stun.Name = "Stun"
  542. Stun.Value = false
  543. local StunValue = IT("NumberValue", Stats)
  544. StunValue.Name = "StunValue"
  545. StunValue.Value = 0
  546.  
  547. if Enable_Stats == true and Put_Stats_In_Character == true then
  548. Stats.Parent = Character
  549. end
  550.  
  551. --//=================================\\
  552. --\\=================================//
  553.  
  554.  
  555.  
  556.  
  557.  
  558. --//=================================\\
  559. --|| DEBUFFS / BUFFS
  560. --\\=================================//
  561.  
  562. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  563. DEFENSECHANGE1.Name = "ChangeDefense"
  564. DEFENSECHANGE1.Value = 0
  565.  
  566. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  567. MOVEMENTCHANGE1.Name = "ChangeMovement"
  568. MOVEMENTCHANGE1.Value = 0
  569.  
  570. --//=================================\\
  571. --\\=================================//
  572.  
  573.  
  574.  
  575.  
  576.  
  577. --//=================================\\
  578. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  579. --\\=================================//
  580.  
  581. ArtificialHB = Instance.new("BindableEvent", script)
  582. ArtificialHB.Name = "ArtificialHB"
  583.  
  584. script:WaitForChild("ArtificialHB")
  585.  
  586. frame = Frame_Speed
  587. tf = 0
  588. allowframeloss = false
  589. tossremainder = false
  590. lastframe = tick()
  591. script.ArtificialHB:Fire()
  592.  
  593. game:GetService("RunService").Heartbeat:connect(function(s, p)
  594. tf = tf + s
  595. if tf >= frame then
  596. if allowframeloss then
  597. script.ArtificialHB:Fire()
  598. lastframe = tick()
  599. else
  600. for i = 1, math.floor(tf / frame) do
  601. script.ArtificialHB:Fire()
  602. end
  603. lastframe = tick()
  604. end
  605. if tossremainder then
  606. tf = 0
  607. else
  608. tf = tf - frame * math.floor(tf / frame)
  609. end
  610. end
  611. end)
  612.  
  613. --//=================================\\
  614. --\\=================================//
  615.  
  616.  
  617.  
  618.  
  619.  
  620. --//=================================\\
  621. --|| SOME FUNCTIONS
  622. --\\=================================//
  623.  
  624. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  625. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  626. end
  627.  
  628. function PositiveAngle(NUMBER)
  629. if NUMBER >= 0 then
  630. NUMBER = 0
  631. end
  632. return NUMBER
  633. end
  634.  
  635. function NegativeAngle(NUMBER)
  636. if NUMBER <= 0 then
  637. NUMBER = 0
  638. end
  639. return NUMBER
  640. end
  641.  
  642. function Swait(NUMBER)
  643. if NUMBER == 0 or NUMBER == nil then
  644. ArtificialHB.Event:wait()
  645. else
  646. for i = 1, NUMBER do
  647. ArtificialHB.Event:wait()
  648. end
  649. end
  650. end
  651.  
  652. function QuaternionFromCFrame(cf)
  653. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  654. local trace = m00 + m11 + m22
  655. if trace > 0 then
  656. local s = math.sqrt(1 + trace)
  657. local recip = 0.5 / s
  658. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  659. else
  660. local i = 0
  661. if m11 > m00 then
  662. i = 1
  663. end
  664. if m22 > (i == 0 and m00 or m11) then
  665. i = 2
  666. end
  667. if i == 0 then
  668. local s = math.sqrt(m00 - m11 - m22 + 1)
  669. local recip = 0.5 / s
  670. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  671. elseif i == 1 then
  672. local s = math.sqrt(m11 - m22 - m00 + 1)
  673. local recip = 0.5 / s
  674. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  675. elseif i == 2 then
  676. local s = math.sqrt(m22 - m00 - m11 + 1)
  677. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  678. end
  679. end
  680. end
  681.  
  682. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  683. local xs, ys, zs = x + x, y + y, z + z
  684. local wx, wy, wz = w * xs, w * ys, w * zs
  685. local xx = x * xs
  686. local xy = x * ys
  687. local xz = x * zs
  688. local yy = y * ys
  689. local yz = y * zs
  690. local zz = z * zs
  691. 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))
  692. end
  693.  
  694. function QuaternionSlerp(a, b, t)
  695. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  696. local startInterp, finishInterp;
  697. if cosTheta >= 0.0001 then
  698. if (1 - cosTheta) > 0.0001 then
  699. local theta = ACOS(cosTheta)
  700. local invSinTheta = 1 / SIN(theta)
  701. startInterp = SIN((1 - t) * theta) * invSinTheta
  702. finishInterp = SIN(t * theta) * invSinTheta
  703. else
  704. startInterp = 1 - t
  705. finishInterp = t
  706. end
  707. else
  708. if (1 + cosTheta) > 0.0001 then
  709. local theta = ACOS(-cosTheta)
  710. local invSinTheta = 1 / SIN(theta)
  711. startInterp = SIN((t - 1) * theta) * invSinTheta
  712. finishInterp = SIN(t * theta) * invSinTheta
  713. else
  714. startInterp = t - 1
  715. finishInterp = t
  716. end
  717. end
  718. 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
  719. end
  720.  
  721. function Clerp(a, b, t)
  722. local qa = {QuaternionFromCFrame(a)}
  723. local qb = {QuaternionFromCFrame(b)}
  724. local ax, ay, az = a.x, a.y, a.z
  725. local bx, by, bz = b.x, b.y, b.z
  726. local _t = 1 - t
  727. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  728. end
  729.  
  730. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  731. local frame = IT("Frame")
  732. frame.BackgroundTransparency = TRANSPARENCY
  733. frame.BorderSizePixel = BORDERSIZEPIXEL
  734. frame.Position = POSITION
  735. frame.Size = SIZE
  736. frame.BackgroundColor3 = COLOR
  737. frame.BorderColor3 = BORDERCOLOR
  738. frame.Name = NAME
  739. frame.Parent = PARENT
  740. return frame
  741. end
  742.  
  743. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  744. local label = IT("TextLabel")
  745. label.BackgroundTransparency = 1
  746. label.Size = UD2(1, 0, 1, 0)
  747. label.Position = UD2(0, 0, 0, 0)
  748. label.TextColor3 = C3(255, 255, 255)
  749. label.TextStrokeTransparency = STROKETRANSPARENCY
  750. label.TextTransparency = TRANSPARENCY
  751. label.FontSize = TEXTFONTSIZE
  752. label.Font = TEXTFONT
  753. label.BorderSizePixel = BORDERSIZEPIXEL
  754. label.TextScaled = true
  755. label.Text = TEXT
  756. label.Name = NAME
  757. label.Parent = PARENT
  758. return label
  759. end
  760.  
  761. function NoOutlines(PART)
  762. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  763. end
  764.  
  765. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  766. local NEWPART = IT("Part")
  767. NEWPART.formFactor = FORMFACTOR
  768. NEWPART.Reflectance = REFLECTANCE
  769. NEWPART.Transparency = TRANSPARENCY
  770. NEWPART.CanCollide = false
  771. NEWPART.Locked = true
  772. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  773. NEWPART.Name = NAME
  774. NEWPART.Size = SIZE
  775. NEWPART.Position = Torso.Position
  776. NoOutlines(NEWPART)
  777. NEWPART.Material = MATERIAL
  778. NEWPART:BreakJoints()
  779. NEWPART.Parent = PARENT
  780. return NEWPART
  781. end
  782.  
  783. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  784. local NEWMESH = IT(MESH)
  785. if MESH == "SpecialMesh" then
  786. NEWMESH.MeshType = MESHTYPE
  787. if MESHID ~= "nil" and MESHID ~= "" then
  788. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=53351910"
  789. end
  790. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  791. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=53352041"
  792. end
  793. end
  794. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  795. NEWMESH.Scale = Vector3.new(1,-1.15,1)
  796. NEWMESH.Parent = PARENT
  797. return NEWMESH
  798. end
  799.  
  800. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  801. local NEWWELD = IT(TYPE)
  802. NEWWELD.Part0 = PART0
  803. NEWWELD.Part1 = PART1
  804. NEWWELD.C0 = C0
  805. NEWWELD.C1 = C1
  806. NEWWELD.Parent = PARENT
  807. return NEWWELD
  808. end
  809.  
  810. function CreateSound(ID, PARENT, VOLUME, PITCH)
  811. coroutine.resume(coroutine.create(function()
  812. local NEWSOUND = IT("Sound", PARENT)
  813. NEWSOUND.Volume = VOLUME
  814. NEWSOUND.Pitch = PITCH
  815. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  816. Swait()
  817. NEWSOUND:play()
  818. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  819. end))
  820. end
  821.  
  822. function CFrameFromTopBack(at, top, back)
  823. local right = top:Cross(back)
  824. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  825. end
  826.  
  827. function Lightning(POSITION1, POSITION2, MULTIPLIERTIME, LIGHTNINGDELAY, OFFSET, BRICKCOLOR, MATERIAL, SIZE, TRANSPARENCY, LASTINGTIME)
  828. local MAGNITUDE = (POSITION1 - POSITION2).magnitude
  829. local CURRENTPOSITION = POSITION1
  830. local LIGHTNINGOFFSET = {-OFFSET, OFFSET}
  831. coroutine.resume(coroutine.create(function()
  832. for i = 1, MULTIPLIERTIME do
  833. local LIGHTNINGPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR,"Effect", VT(SIZE * Player_Size, SIZE * Player_Size, MAGNITUDE / MULTIPLIERTIME))
  834. LIGHTNINGPART.Anchored = true
  835. local LIGHTNINGOFFSET2 = VT(LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)])
  836. local LIGHTNINGPOSITION1 = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME).p + LIGHTNINGOFFSET2
  837. if MULTIPLIERTIME == i then
  838. local LIGHTNINGMAGNITUDE1 = (CURRENTPOSITION - POSITION2).magnitude
  839. LIGHTNINGPART.Size = VT(SIZE * Player_Size, SIZE * Player_Size, LIGHTNINGMAGNITUDE1)
  840. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, -LIGHTNINGMAGNITUDE1 / 2)
  841. else
  842. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, LIGHTNINGPOSITION1) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2)
  843. end
  844. CURRENTPOSITION=LIGHTNINGPART.CFrame * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2).p
  845. game.Debris:AddItem(LIGHTNINGPART, LASTINGTIME)
  846. coroutine.resume(coroutine.create(function()
  847. while LIGHTNINGPART.Transparency ~= 1 do
  848. --local StartTransparency = tra
  849. for i=0, 1, LASTINGTIME do
  850. Swait()
  851. LIGHTNINGPART.Transparency = LIGHTNINGPART.Transparency + (0.1 / LASTINGTIME)
  852. end
  853. end
  854. end))
  855. Swait(LIGHTNINGDELAY / Animation_Speed)
  856. end
  857. end))
  858. end
  859.  
  860. function MagicBlock(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  861. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  862. EFFECTPART.Anchored = true
  863. EFFECTPART.CFrame = CFRAME
  864. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  865. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  866. coroutine.resume(coroutine.create(function(PART, MESH)
  867. for i = 0, 1, delay do
  868. Swait()
  869. PART.CFrame = PART.CFrame * ROTATION
  870. PART.Transparency = i
  871. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  872. end
  873. PART.Parent = nil
  874. end), EFFECTPART, EFFECTMESH)
  875. end
  876.  
  877. function MagicSphere(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  878. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  879. EFFECTPART.Anchored = true
  880. EFFECTPART.CFrame = CFRAME
  881. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Sphere", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  882. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  883. coroutine.resume(coroutine.create(function(PART, MESH)
  884. for i = 0, 1, delay do
  885. Swait()
  886. PART.CFrame = PART.CFrame * ROTATION
  887. PART.Transparency = i
  888. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  889. end
  890. PART.Parent = nil
  891. end), EFFECTPART, EFFECTMESH)
  892. end
  893.  
  894. function MagicCylinder(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  895. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  896. EFFECTPART.Anchored = true
  897. EFFECTPART.CFrame = CFRAME
  898. local EFFECTMESH = CreateMesh("CylinderMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  899. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  900. coroutine.resume(coroutine.create(function(PART, MESH)
  901. for i = 0, 1, delay do
  902. Swait()
  903. PART.CFrame = PART.CFrame * ROTATION
  904. PART.Transparency = i
  905. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  906. end
  907. PART.Parent = nil
  908. end), EFFECTPART, EFFECTMESH)
  909. end
  910.  
  911. function MagicHead(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  912. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  913. EFFECTPART.Anchored = true
  914. EFFECTPART.CFrame = CFRAME
  915. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Head", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  916. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  917. coroutine.resume(coroutine.create(function(PART, MESH)
  918. for i = 0, 1, delay do
  919. Swait()
  920. PART.CFrame = PART.CFrame * ROTATION
  921. PART.Transparency = i
  922. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  923. end
  924. PART.Parent = nil
  925. end), EFFECTPART, EFFECTMESH)
  926. end
  927.  
  928. function MagicRing(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  929. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  930. EFFECTPART.Anchored = true
  931. EFFECTPART.CFrame = CFRAME
  932. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "3270017", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  933. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  934. coroutine.resume(coroutine.create(function(PART, MESH)
  935. for i = 0, 1, delay do
  936. Swait()
  937. PART.CFrame = PART.CFrame * ROTATION
  938. PART.Transparency = i
  939. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  940. end
  941. PART.Parent = nil
  942. end), EFFECTPART, EFFECTMESH)
  943. end
  944.  
  945. function MagicWave(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  946. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  947. EFFECTPART.Anchored = true
  948. EFFECTPART.CFrame = CFRAME
  949. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "20329976", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), VT(0, 0, (-0.1 * Z1)) + (OFFSET * Player_Size))
  950. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  951. coroutine.resume(coroutine.create(function(PART, MESH)
  952. for i = 0, 1, delay do
  953. Swait()
  954. PART.CFrame = PART.CFrame * ROTATION
  955. PART.Transparency = i
  956. MESH.Offset = VT(0, 0, (-0.1 * MESH.Scale.Z))
  957. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  958. end
  959. PART.Parent = nil
  960. end), EFFECTPART, EFFECTMESH)
  961. end
  962.  
  963. function MagicCrystal(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  964. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  965. EFFECTPART.Anchored = true
  966. EFFECTPART.CFrame = CFRAME
  967. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "9756362", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  968. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  969. coroutine.resume(coroutine.create(function(PART, MESH)
  970. for i = 0, 1, delay do
  971. Swait()
  972. PART.CFrame = PART.CFrame * ROTATION
  973. PART.Transparency = i
  974. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  975. end
  976. PART.Parent = nil
  977. end), EFFECTPART, EFFECTMESH)
  978. end
  979.  
  980. function MagicSwirl(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  981. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  982. EFFECTPART.Anchored = true
  983. EFFECTPART.CFrame = CFRAME
  984. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1051557", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  985. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  986. coroutine.resume(coroutine.create(function(PART, MESH)
  987. for i = 0, 1, delay do
  988. Swait()
  989. PART.CFrame = PART.CFrame * ROTATION
  990. PART.Transparency = i
  991. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  992. end
  993. PART.Parent = nil
  994. end), EFFECTPART, EFFECTMESH)
  995. end
  996.  
  997. function MagicSharpCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  998. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  999. EFFECTPART.Anchored = true
  1000. EFFECTPART.CFrame = CFRAME
  1001. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1778999", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1002. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1003. coroutine.resume(coroutine.create(function(PART, MESH)
  1004. for i = 0, 1, delay do
  1005. Swait()
  1006. PART.CFrame = PART.CFrame * ROTATION
  1007. PART.Transparency = i
  1008. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1009. end
  1010. PART.Parent = nil
  1011. end), EFFECTPART, EFFECTMESH)
  1012. end
  1013.  
  1014. function MagicFlatCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1015. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1016. EFFECTPART.Anchored = true
  1017. EFFECTPART.CFrame = CFRAME
  1018. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1033714", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1019. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1020. coroutine.resume(coroutine.create(function(PART, MESH)
  1021. for i = 0, 1, delay do
  1022. Swait()
  1023. PART.CFrame = PART.CFrame * ROTATION
  1024. PART.Transparency = i
  1025. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1026. end
  1027. PART.Parent = nil
  1028. end), EFFECTPART, EFFECTMESH)
  1029. end
  1030.  
  1031. function MagicSpikedCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1032. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1033. EFFECTPART.Anchored = true
  1034. EFFECTPART.CFrame = CFRAME
  1035. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1323306", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1036. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1037. coroutine.resume(coroutine.create(function(PART, MESH)
  1038. for i = 0, 1, delay do
  1039. Swait()
  1040. PART.CFrame = PART.CFrame * ROTATION
  1041. PART.Transparency = i
  1042. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1043. end
  1044. PART.Parent = nil
  1045. end), EFFECTPART, EFFECTMESH)
  1046. end
  1047.  
  1048. function MagicFlatCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1049. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1050. EFFECTPART.Anchored = true
  1051. EFFECTPART.CFrame = CFRAME
  1052. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1078075", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1053. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1054. coroutine.resume(coroutine.create(function(PART, MESH)
  1055. for i = 0, 1, delay do
  1056. Swait()
  1057. PART.CFrame = PART.CFrame * ROTATION
  1058. PART.Transparency = i
  1059. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1060. end
  1061. PART.Parent = nil
  1062. end), EFFECTPART, EFFECTMESH)
  1063. end
  1064.  
  1065. function MagicSkull(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1066. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1067. EFFECTPART.Anchored = true
  1068. EFFECTPART.CFrame = CFRAME
  1069. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1070. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1071. coroutine.resume(coroutine.create(function(PART, MESH)
  1072. for i = 0, 1, delay do
  1073. Swait()
  1074. PART.CFrame = PART.CFrame * ROTATION
  1075. PART.Transparency = i
  1076. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1077. end
  1078. PART.Parent = nil
  1079. end), EFFECTPART, EFFECTMESH)
  1080. end
  1081.  
  1082. function ElectricEffect(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X, Y, Z, delay)
  1083. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1084. EFFECTPART.Anchored = true
  1085. EFFECTPART.CFrame = CFRAME
  1086. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X * Player_Size, Y * Player_Size, Z * Player_Size), OFFSET * Player_Size)
  1087. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1088. local XVALUE = MRANDOM()
  1089. local YVALUE = MRANDOM()
  1090. local ZVALUE = MRANDOM()
  1091. coroutine.resume(coroutine.create(function(PART, MESH, THEXVALUE, THEYVALUE, THEZVALUE)
  1092. for i = 0, 1, delay do
  1093. Swait()
  1094. PART.CFrame = PART.CFrame * ROTATION
  1095. PART.Transparency = i
  1096. THEXVALUE = THEXVALUE - 0.1 * (delay * 10)
  1097. THEYVALUE = THEYVALUE - 0.1 * (delay * 10)
  1098. THEZVALUE = THEZVALUE - 0.1 * (delay * 10)
  1099. MESH.Scale = MESH.Scale + VT(THEXVALUE * Player_Size, THEYVALUE * Player_Size, THEZVALUE * Player_Size)
  1100. end
  1101. PART.Parent = nil
  1102. end), EFFECTPART, EFFECTMESH, XVALUE, YVALUE, ZVALUE)
  1103. end
  1104.  
  1105. function TrailEffect(BRICKCOLOR, MATERIAL, CURRENTCFRAME, OLDCFRAME, MESHTYPE, REFLECTANCE, SIZE, ROTATION, X, Y, Z, delay)
  1106. local MAGNITUDECFRAME = (CURRENTCFRAME.p - OLDCFRAME.p).magnitude
  1107. if MAGNITUDECFRAME > (1 / 100) then
  1108. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT(1, MAGNITUDECFRAME, 1))
  1109. EFFECTPART.Anchored = true
  1110. EFFECTPART.CFrame = CF((CURRENTCFRAME.p + OLDCFRAME.p) / 2, OLDCFRAME.p) * ANGLES(RAD(90), 0, 0)
  1111. local THEMESHTYPE = "BlockMesh"
  1112. if MESHTYPE == "Cylinder" then
  1113. THEMESHTYPE = "CylinderMesh"
  1114. end
  1115. local EFFECTMESH = CreateMesh(THEMESHTYPE, EFFECTPART, "", "", "", VT(0 + SIZE * Player_Size, 1, 0 + SIZE * Player_Size), VT(0, 0, 0))
  1116. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1117. coroutine.resume(coroutine.create(function(PART, MESH)
  1118. for i = 0, 1, delay do
  1119. Swait()
  1120. PART.CFrame = PART.CFrame * ROTATION
  1121. PART.Transparency = i
  1122. MESH.Scale = MESH.Scale + VT(X * Player_Size, Y * Player_Size, Z * Player_Size)
  1123. end
  1124. PART.Parent = nil
  1125. end), EFFECTPART, EFFECTMESH)
  1126. end
  1127. end
  1128.  
  1129. function ClangEffect(BRICKCOLOR, MATERIAL, CFRAME, ANGLE, DURATION, SIZE, POWER, REFLECTANCE, X, Y, Z, delay)
  1130. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 1, BRICKCOLOR, "Effect", VT())
  1131. EFFECTPART.Anchored = true
  1132. EFFECTPART.CFrame = CFRAME
  1133. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(0, 0, 0), VT(0, 0, 0))
  1134. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1135. local THELASTPOINT = CFRAME
  1136. coroutine.resume(coroutine.create(function(PART)
  1137. for i = 1, DURATION do
  1138. Swait()
  1139. PART.CFrame = PART.CFrame * ANGLES(RAD(ANGLE), 0, 0) * CF(0, POWER * Player_Size, 0)
  1140. TrailEffect(BRICKCOLOR, MATERIAL, PART.CFrame, THELASTPOINT, "Cylinder", REFLECTANCE, SIZE * Player_Size, ANGLES(0, 0, 0), X * Player_Size, Y * Player_Size, Z * Player_Size, delay)
  1141. THELASTPOINT = PART.CFrame
  1142. end
  1143. PART.Parent = nil
  1144. end), EFFECTPART)
  1145. end
  1146.  
  1147. --local list={}
  1148. function Triangle(Color, Material, a, b, c, delay)
  1149. local edge1 = (c - a):Dot((b - a).unit)
  1150. local edge2 = (a - b):Dot((c - b).unit)
  1151. local edge3 = (b - c):Dot((a - c).unit)
  1152. if edge1 <= (b - a).magnitude and edge1 >= 0 then
  1153. a, b, c=a, b, c
  1154. elseif edge2 <= (c - b).magnitude and edge2 >= 0 then
  1155. a, b, c=b, c, a
  1156. elseif edge3 <= (a - c).magnitude and edge3 >= 0 then
  1157. a, b, c=c, a, b
  1158. else
  1159. assert(false, "unreachable")
  1160. end
  1161. local len1 = (c - a):Dot((b - a).unit)
  1162. local len2 = (b - a).magnitude - len1
  1163. local width = (a + (b - a).unit * len1 - c).magnitude
  1164. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, - (b - a).unit)
  1165. if len1 > 1 / 100 then
  1166. local sz = VT(0.2, width, len1)
  1167. local w1 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1168. local sp = CreateMesh("SpecialMesh", w1, "Wedge", "", "", VT(0, 1, 1) * sz / w1.Size, VT(0, 0, 0))
  1169. w1.Anchored = true
  1170. w1.CFrame = maincf * ANGLES(math.pi, 0, math.pi / 2) * CF(0, width / 2, len1 / 2)
  1171. coroutine.resume(coroutine.create(function()
  1172. for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1173. Swait()
  1174. w1.Transparency = i
  1175. end
  1176. w1.Parent = nil
  1177. end))
  1178. game:GetService("Debris"):AddItem(w1, 10)
  1179. --table.insert(list, w1)
  1180. end
  1181. if len2 > 1 / 100 then
  1182. local sz = VT(0.2, width, len2)
  1183. local w2 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1184. local sp = CreateMesh("SpecialMesh", w2, "Wedge", "", "", VT(0, 1, 1) * sz / w2.Size, VT(0, 0, 0))
  1185. w2.Anchored = true
  1186. w2.CFrame = maincf * ANGLES(math.pi, math.pi, -math.pi / 2) * CF(0, width / 2, -len1 - len2 / 2)
  1187. coroutine.resume(coroutine.create(function()
  1188. for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1189. Swait()
  1190. w2.Transparency = i
  1191. end
  1192. w2.Parent = nil
  1193. end))
  1194. game:GetService("Debris"):AddItem(w2, 10)
  1195. --table.insert(list, w2)
  1196. end
  1197. --return unpack(list)
  1198. end
  1199.  
  1200. --[[Usage:
  1201. local Pos = Part
  1202. local Offset = Part.CFrame * CF(0, 0, 0)
  1203. local Color = "Institutional white"
  1204. local Material = "Neon"
  1205. local TheDelay = 0.01
  1206. local Height = 4
  1207. BLCF = Offset
  1208. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  1209. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  1210. if a then game:GetService("Debris"):AddItem(a, 1) end
  1211. if b then game:GetService("Debris"):AddItem(b, 1) end
  1212. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  1213. if a then game:GetService("Debris"):AddItem(a, 1) end
  1214. if b then game:GetService("Debris"):AddItem(b, 1) end
  1215. SCFR = BLCF
  1216. elseif not SCFR then
  1217. SCFR = BLCF
  1218. end
  1219. --
  1220. BLCF = nil
  1221. SCFR = nil
  1222. --]]
  1223.  
  1224. --//=================================\\
  1225. --\\=================================//
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231. --//=================================\\
  1232. --|| RESIZE PLAYER
  1233. --\\=================================//
  1234.  
  1235. if Player_Size ~= 1 then
  1236. RootPart.Size = RootPart.Size * Player_Size
  1237. Torso.Size = Torso.Size * Player_Size
  1238. Head.Size = Head.Size * Player_Size
  1239. RightArm.Size = RightArm.Size * Player_Size
  1240. LeftArm.Size = LeftArm.Size * Player_Size
  1241. RightLeg.Size = RightLeg.Size * Player_Size
  1242. LeftLeg.Size = LeftLeg.Size * Player_Size
  1243. RootJoint.Parent = RootPart
  1244. Neck.Parent = Torso
  1245. RightShoulder.Parent = Torso
  1246. LeftShoulder.Parent = Torso
  1247. RightHip.Parent = Torso
  1248. LeftHip.Parent = Torso
  1249.  
  1250. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1251. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1252. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1253. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1254. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  1255. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  1256. if Disable_Moving_Arms == false then
  1257. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1258. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1259. else
  1260. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1261. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1262. end
  1263. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1264. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1265. RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1266. LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1267. hat.Parent = Character
  1268. end
  1269.  
  1270.  
  1271. --//=================================\\
  1272. --\\=================================//
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278. --//=================================\\
  1279. --|| WEAPON CREATION
  1280. --\\=================================//
  1281.  
  1282. local HandlePart = CreatePart(3, Weapon, "Granite", 0, 0, "Really black", "Handle", VT(0, 0, 0))
  1283. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "93180631", "93180676", VT(1, 1, 1), VT(0, 3.1 * Player_Size, 0))
  1284. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Torso, HandlePart, CF(2 * Player_Size, 2 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1285.  
  1286. local HitboxPart = CreatePart(3, Weapon, "Granite", 0, 1, "Really black", "Hitbox", VT(0, 0, 0))
  1287. local HitboxWeld = CreateWeldOrSnapOrMotor("Weld", HitboxPart, HandlePart, HitboxPart, CF(0 * Player_Size, 4 * Player_Size, 0 * Player_Size), CF(0, 0, 0))
  1288.  
  1289. local EffectPart = CreatePart(3, Weapon, "Granite", 0, 1, "Really black", "Effect Part", VT(0, 0, 0))
  1290. local EffectWeld = CreateWeldOrSnapOrMotor("Weld", EffectPart, HandlePart, EffectPart, CF(0 * Player_Size, 7 * Player_Size, 0 * Player_Size), CF(0, 0, 0))
  1291.  
  1292. if Player_Size ~= 1 then
  1293. for _, v in pairs (Weapon:GetChildren()) do
  1294. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  1295. local p1 = v.Part1
  1296. v.Part1 = nil
  1297. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  1298. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  1299. v.Part1 = p1
  1300. elseif v.ClassName == "Part" then
  1301. for _, b in pairs (v:GetChildren()) do
  1302. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  1303. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  1304. end
  1305. end
  1306. end
  1307. end
  1308. end
  1309.  
  1310. for _, c in pairs(Weapon:GetChildren()) do
  1311. if c.ClassName == "Part" then
  1312. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1313. end
  1314. end
  1315.  
  1316. if Start_Equipped == true and Start_Equipped_With_Equipped_Animation == false then
  1317. HandleWeld.Part0 = RightArm
  1318. HandleWeld.C0 = CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1319. end
  1320.  
  1321. Weapon.Parent = Character
  1322.  
  1323. Humanoid.Died:connect(function()
  1324. ATTACK = true
  1325. end)
  1326.  
  1327. print(Class_Name.." loaded.")
  1328.  
  1329. --//=================================\\
  1330. --\\=================================//
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336. --//=================================\\
  1337. --|| DAMAGE FUNCTIONS
  1338. --\\=================================//
  1339.  
  1340. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1341. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1342. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1343. local BODYGYRO = IT("BodyGyro", STATPART)
  1344. local BODYPOSITION = IT("BodyPosition", STATPART)
  1345. BODYPOSITION.P = 2000
  1346. BODYPOSITION.D = 100
  1347. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1348. if LABELTYPE == "Normal" then
  1349. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1350. elseif LABELTYPE == "Debuff" then
  1351. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1352. elseif LABELTYPE == "Interruption" then
  1353. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1354. end
  1355. game:GetService("Debris"):AddItem(STATPART ,5)
  1356. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1357. BILLBOARDGUI.Adornee = STATPART
  1358. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1359. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1360. BILLBOARDGUI.AlwaysOnTop = false
  1361. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1362. TEXTLABEL.BackgroundTransparency = 1
  1363. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1364. TEXTLABEL.Text = "INF"
  1365. TEXTLABEL.Font = "SourceSans"
  1366. TEXTLABEL.FontSize="Size42"
  1367. TEXTLABEL.TextColor3 = COLOR
  1368. TEXTLABEL.TextStrokeTransparency = 0
  1369. TEXTLABEL.TextScaled = true
  1370. TEXTLABEL.TextWrapped = true
  1371. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1372. wait(0.2)
  1373. for i=1, 5 do
  1374. wait()
  1375. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1376. end
  1377. wait(1.2)
  1378. for i=1, 5 do
  1379. wait()
  1380. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1381. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1382. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1383. end
  1384. THEPART.Parent = nil
  1385. end),STATPART, BODYPOSITION, TEXTLABEL)
  1386. end
  1387.  
  1388. function IncreaseOrDecreaseStat(LOCATION, STAT, AMOUNT, DURATION, SHOWTHESTAT)
  1389. if LOCATION:FindFirstChild("Stats") ~= nil then
  1390. if LOCATION.Stats:FindFirstChild("Block") ~= nil then
  1391. if LOCATION.Stats:FindFirstChild("Block").Value == true then
  1392. return
  1393. end
  1394. end
  1395. if LOCATION.Stats:FindFirstChild("ChangeStat") ~= nil and LOCATION.Stats:FindFirstChild("Block").Value == false then
  1396. local NewStatChange = IT("NumberValue")
  1397. NewStatChange.Value = AMOUNT
  1398. if STAT == "Defense" then
  1399. NewStatChange.Name = "ChangeDefense"
  1400. elseif STAT == "Damage" then
  1401. NewStatChange.Name = "ChangeDamage"
  1402. elseif STAT == "Movement" then
  1403. NewStatChange.Name = "ChangeMovement"
  1404. end
  1405. if SHOWTHESTAT == true then
  1406. if AMOUNT < 0 then
  1407. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "-"..STAT, C3(1, 1, 1))
  1408. elseif AMOUNT > 0 then
  1409. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "+"..STAT, C3(1, 1, 1))
  1410. end
  1411. end
  1412. if DURATION ~= nil and DURATION ~= 0 then
  1413. local StatDuration = IT("NumberValue")
  1414. StatDuration.Name = "Duration"
  1415. StatDuration.Value = DURATION
  1416. StatDuration.Parent = NewStatChange
  1417. end
  1418. NewStatChange.Parent = LOCATION.Stats:FindFirstChild("ChangeStat")
  1419. end
  1420. end
  1421. end
  1422.  
  1423. --Usage: DamageFunction(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, hit, false, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  1424. function DamageFunction(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HIT, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  1425. Humanoid.MaxHealth = "inf"
  1426. Humanoid.Health = "inf"
  1427. if HIT.Parent == nil then
  1428. return
  1429. end
  1430. local HITHUMANOID = HIT.Parent:FindFirstChild("Humanoid")
  1431. for _, v in pairs(HIT.Parent:GetChildren()) do
  1432. if v:IsA("Humanoid") then
  1433. HITHUMANOID = v
  1434. end
  1435. end
  1436. if HIT.Name == "Hitbox" and RANGED ~= true and HIT.Parent ~= Weapon and Enable_Stagger_Hit == true then
  1437. StaggerHit.Value = true
  1438. if Play_Hitbox_Hit_Sound == true then
  1439. if HITWEAPONSOUND ~= "" and HITWEAPONSOUND ~= "nil" then
  1440. CreateSound(HITWEAPONSOUND, HIT, 1, HITWEAPONSOUNDPITCH)
  1441. end
  1442. end
  1443. return
  1444. end
  1445. if HIT.Parent.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent.Parent:FindFirstChild("UpperTorso") ~= nil then
  1446. HITHUMANOID = HIT.Parent.Parent:FindFirstChild("Humanoid")
  1447. end
  1448. if HIT.Parent.ClassName == "Hat" or HIT.ClassName == "Accessory" then
  1449. HIT = HIT.Parent.Parent:FindFirstChild("Head")
  1450. end
  1451. if HITHUMANOID ~= nil and HIT.Parent.Name ~= Character.Name and (HIT.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent:FindFirstChild("UpperTorso") ~= nil) then
  1452. if HIT.Parent:FindFirstChild("DebounceHit") ~= nil then
  1453. if HIT.Parent.DebounceHit.Value == true then
  1454. return
  1455. end
  1456. end
  1457. if AntiTeamKill.Value == true then
  1458. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(HIT.Parent) ~= nil then
  1459. if game.Players:GetPlayerFromCharacter(HIT.Parent).TeamColor == Player.TeamColor then
  1460. return
  1461. end
  1462. end
  1463. end
  1464. if HITEVENWHENDEAD == false then
  1465. if HIT.Parent:FindFirstChild("Humanoid") ~= nil then
  1466. if HIT.Parent:FindFirstChild("Humanoid").Health <= 0 then
  1467. return
  1468. end
  1469. end
  1470. end
  1471. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1472. if HIT.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  1473. HIT.Parent.Stats:FindFirstChild("StunValue").Value = HIT.Parent.Stats:FindFirstChild("StunValue").Value + INCREASESTUN
  1474. end
  1475. end
  1476. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1477. if HIT.Parent.Stats:FindFirstChild("Stagger") ~= nil then
  1478. if STAGGER == true and Enable_Stagger == true then
  1479. HIT.Parent.Stats:FindFirstChild("Stagger").Value = true
  1480. end
  1481. end
  1482. end
  1483. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1484. if HIT.Parent.Stats:FindFirstChild("Block") ~= nil then
  1485. if HIT.Parent.Stats:FindFirstChild("Block").Value == true then
  1486. HASBEENBLOCKED = true
  1487. if HIT.Parent.Stats:FindFirstChild("Block"):FindFirstChild("BlockDebounce") == nil then
  1488. StatLabel("Interruption", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Blocked!", C3(0, 100 / 255, 255 / 255))
  1489. if RANGED ~= true then
  1490. if HITBLOCKSOUND ~= "" and HITBLOCKSOUND ~= "nil" then
  1491. CreateSound(HITBLOCKSOUND, HIT, 1, HITBLOCKSOUNDPITCH)
  1492. end
  1493. end
  1494. local BlockDebounce = IT("BoolValue", HIT.Parent.Stats:FindFirstChild("Block"))
  1495. BlockDebounce.Name = "BlockDebounce"
  1496. BlockDebounce.Value = true
  1497. if RANGED ~= true then
  1498. game:GetService("Debris"):AddItem(BlockDebounce, 0.5)
  1499. else
  1500. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  1501. end
  1502. end
  1503. if RANGED ~= true and Enable_Stagger == true then
  1504. HIT.Parent.Stats:FindFirstChild("Block").Value = false
  1505. Stagger.Value = true
  1506. end
  1507. return
  1508. end
  1509. end
  1510. end
  1511. if DECREASETHESTAT ~= nil then
  1512. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1513. IncreaseOrDecreaseStat(HIT.Parent, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  1514. end
  1515. end
  1516. local DAMAGE = MRANDOM(MINIMUMDAMAGE,MAXIMUMDAMAGE) * Damage.Value
  1517. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1518. if HIT.Parent.Stats:FindFirstChild("Defense") ~= nil then
  1519. if CanPenetrateArmor.Value == true then
  1520. DAMAGE = DAMAGE
  1521. else
  1522. DAMAGE = DAMAGE / HIT.Parent.Stats:FindFirstChild("Defense").Value
  1523. end
  1524. elseif HIT.Parent.Stats:FindFirstChild("Defense") == nil then
  1525. DAMAGE = DAMAGE
  1526. end
  1527. end
  1528. if CanCrit.Value == true then
  1529. CRITCHANCENUMBER = MRANDOM(1, CritChance.Value)
  1530. if CRITCHANCENUMBER == 1 then
  1531. DAMAGE = DAMAGE * 2
  1532. end
  1533. end
  1534. DAMAGE = math.floor(DAMAGE)
  1535. if HASBEENBLOCKED == false then
  1536. HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE
  1537. end
  1538. if DAMAGE <= 3 and HASBEENBLOCKED == false then
  1539. if STAGGERHIT == true and Enable_Stagger_Hit == true and RANGED ~= true then
  1540. StaggerHit.Value = true
  1541. end
  1542. if HITARMORSOUND ~= "" and HITARMORSOUND ~= "nil" then
  1543. CreateSound(HITARMORSOUND, HIT, 1, HITARMORSOUNDPITCH)
  1544. end
  1545. elseif DAMAGE > 3 and HASBEENBLOCKED == false then
  1546. if HITPLAYERSOUND ~= "" and HITPLAYERSOUND ~= "nil" then
  1547. CreateSound(HITPLAYERSOUND, HIT, 1, HITPLAYERSOUNDPITCH)
  1548. end
  1549. end
  1550. if DAMAGE > 3 and DAMAGE < 20 and HASBEENBLOCKED == false then
  1551. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1552. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1553. CreateSound("296102734", HIT, 1, 1)
  1554. else
  1555. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 220/255, 0))
  1556. end
  1557. elseif DAMAGE >= 20 and HASBEENBLOCKED == false then
  1558. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1559. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1560. CreateSound("296102734", HIT, 1, 1)
  1561. else
  1562. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 0, 0))
  1563. end
  1564. elseif DAMAGE <= 3 and HASBEENBLOCKED == false then
  1565. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1566. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1567. CreateSound("296102734", HIT, 1, 1)
  1568. else
  1569. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(225/255, 225/255, 225/255))
  1570. end
  1571. end
  1572. if TYPE == "Normal" then
  1573. local vp = IT("BodyVelocity")
  1574. vp.P=500
  1575. vp.maxForce = VT(math.huge, 0, math.huge)
  1576. if KNOCKBACKTYPE == 1 then
  1577. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK + PROPERTY.Velocity / 1.05
  1578. elseif KNOCKBACKTYPE == 2 then
  1579. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK
  1580. end
  1581. if KNOCKBACK > 0 and HASBEENBLOCKED == false then
  1582. vp.Parent = HIT--.Parent.Torso
  1583. end
  1584. game:GetService("Debris"):AddItem(vp, 0.5)
  1585. end
  1586. HASBEENBLOCKED = false
  1587. RecentEnemy.Value = HIT.Parent
  1588. local DebounceHit = IT("BoolValue", HIT.Parent)
  1589. DebounceHit.Name = "DebounceHit"
  1590. DebounceHit.Value = true
  1591. game:GetService("Debris"):AddItem(DebounceHit, DELAY)
  1592. end
  1593. HITHUMANOID.Health = 0
  1594. reap(HIT.Parent)
  1595. end
  1596.  
  1597. --Usage: MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Part, 5, true, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  1598. function MagnitudeDamage(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, PART, MAGNITUDE, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  1599. for _, c in pairs(workspace:GetChildren()) do
  1600. local HUMANOID = c:FindFirstChild("Humanoid")
  1601. local HEAD = nil
  1602. if HUMANOID ~= nil then
  1603. for _, d in pairs(c:GetChildren()) do
  1604. if d.ClassName == "Model" and RANGED ~= true then
  1605. HEAD = d:FindFirstChild("Hitbox")
  1606. if HEAD ~= nil then
  1607. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  1608. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1609. if Play_Hitbox_Hit_Sound == true then
  1610. local HitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1611. HitRefpart.Anchored = true
  1612. HitRefpart.CFrame = CF(HEAD.Position)
  1613. CreateSound(HITWEAPONSOUND, HitRefpart, 1, HITWEAPONSOUNDPITCH)
  1614. end
  1615. if Enable_Stagger_Hit == true then
  1616. StaggerHit.Value = true
  1617. end
  1618. end
  1619. end
  1620. elseif d:IsA"BasePart" then
  1621. HEAD = d
  1622. if HEAD ~= nil then
  1623. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  1624. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1625. DamageFunction(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HEAD, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  1626. end
  1627. end
  1628. end
  1629. end
  1630. end
  1631. end
  1632. end
  1633.  
  1634. --Usage: MagnitudeBuffOrDebuff(Part, 5, "Defense", -0.1, 3, true, true)
  1635. function MagnitudeBuffOrDebuff(PART, MAGNITUDE, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF, APPLYTOOTHERSINSTEAD)
  1636. if Player.Neutral == true then
  1637. IncreaseOrDecreaseStat(Character, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1638. end
  1639. for _, c in pairs(workspace:GetChildren()) do
  1640. local HUMANOID = c:FindFirstChild("Humanoid")
  1641. local THEHEAD = nil
  1642. if HUMANOID ~= nil then
  1643. if c:FindFirstChild("Torso") ~= nil then
  1644. THEHEAD = c:FindFirstChild("Torso")
  1645. elseif c:FindFirstChild("UpperTorso") ~= nil then
  1646. THEHEAD = c:FindFirstChild("UpperTorso")
  1647. end
  1648. if THEHEAD ~= nil then
  1649. local THEMAGNITUDE = (THEHEAD.Position - PART.Position).magnitude
  1650. print("yes 1")
  1651. if APPLYTOOTHERSINSTEAD == true then
  1652. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1653. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  1654. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  1655. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1656. end
  1657. end
  1658. end
  1659. elseif APPLYTOOTHERSINSTEAD == false then
  1660. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) then
  1661. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  1662. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  1663. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1664. end
  1665. end
  1666. end
  1667. end
  1668. end
  1669. end
  1670. end
  1671. end
  1672.  
  1673. --//=================================\\
  1674. --\\=================================//
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680. --//=================================\\
  1681. --|| WEAPON GUI
  1682. --\\=================================//
  1683.  
  1684. local MANABAR = CreateFrame(WEAPONGUI, Mana_Bar_Background_Transparency, 2, UD2(0.23, 0, 0.82, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_8.r, Custom_Colors.Custom_Color_8.g, Custom_Colors.Custom_Color_8.b), C3(0, 0, 0),"Mana Bar")
  1685. local MANACOVER = CreateFrame(MANABAR, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_5.r, Custom_Colors.Custom_Color_5.g, Custom_Colors.Custom_Color_5.b), C3(0, 0, 0),"Mana Cover")
  1686. local MANATEXT = CreateLabel(MANABAR, Mana_Name.." ["..FLOOR(Mana.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Mana Text")
  1687.  
  1688. local HEALTHBAR = CreateFrame(WEAPONGUI, Health_Bar_Background_Transparency, 2, UD2(0.5, 0, 0.82, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_11.r, Custom_Colors.Custom_Color_11.g, Custom_Colors.Custom_Color_11.b), C3(0, 0, 0), "Health Bar")
  1689. local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 2,UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_6.r, Custom_Colors.Custom_Color_6.g, Custom_Colors.Custom_Color_6.b), C3(0, 0, 0), "Health Cover")
  1690. local HEALTHTEXT = CreateLabel(HEALTHBAR, "Health ["..FLOOR(Humanoid.Health).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Health Text")
  1691.  
  1692. local STUNFRAME = CreateFrame(nil, Stun_Bar_Background_Transparency, 2, UD2(0.5, 0, 0.78, 0),UD2(0.26, 0, 0, 0),C3(Custom_Colors.Custom_Color_10.r, Custom_Colors.Custom_Color_10.g, Custom_Colors.Custom_Color_10.b), C3(0, 0, 0), "Stun Frame")
  1693. local STUNBAR = CreateFrame(STUNFRAME, 0, 2, UD2(0, 0, 0, 0),UD2(0, 0, 1, 0),C3(Custom_Colors.Custom_Color_7.r, Custom_Colors.Custom_Color_7.g, Custom_Colors.Custom_Color_7.b), C3(0, 0, 0), "Stun Bar")
  1694. local STUNTEXT = CreateLabel(STUNFRAME, "Stun ["..FLOOR(StunValue.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Stun Text")
  1695.  
  1696. local SECONDARYMANABAR = CreateFrame(nil, Secondary_Mana_Bar_Background_Transparency, 2, UD2(0.23, 0, 0.78, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_9.r, Custom_Colors.Custom_Color_9.g, Custom_Colors.Custom_Color_9.b), C3(0, 0, 0),"Secondary Mana Bar")
  1697. local SECONDARYMANACOVER = CreateFrame(SECONDARYMANABAR, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_4.r, Custom_Colors.Custom_Color_4.g, Custom_Colors.Custom_Color_4.b), C3(0, 0, 0),"Secondary Mana Cover")
  1698. local SECONDARYMANATEXT = CreateLabel(SECONDARYMANABAR, Secondary_Mana_Name.." ["..FLOOR(SecondaryMana.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Secondary Mana Text")
  1699.  
  1700. local DEFENSEFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.23, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(100 / 255, 100 / 255, 255 / 255), C3(0, 0, 0),"Defense Frame")
  1701. local DEFENSETEXT = CreateLabel(DEFENSEFRAME, "Defense ["..(Defense.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Defense Text")
  1702.  
  1703. local DAMAGEFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.456, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(255 / 255, 100 / 255, 100 / 255), C3(0, 0, 0),"Damage Frame")
  1704. local DAMAGETEXT = CreateLabel(DAMAGEFRAME, "Damage ["..(Damage.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Damage Text")
  1705.  
  1706. local MOVEMENTFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.685, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(100 / 255, 255 / 255, 100 / 255), C3(0, 0, 0),"Movement Frame")
  1707. local MOVEMENTTEXT = CreateLabel(MOVEMENTFRAME, "Movement ["..(Movement.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Movement Text")
  1708.  
  1709. local SKILL1FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.23, 0, 0.86, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 1 Frame")
  1710. local SKILL2FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.50, 0, 0.86, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 2 Frame")
  1711. local SKILL3FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 3 Frame")
  1712. local SKILL4FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 4 Frame")
  1713.  
  1714. local SKILL1BAR = CreateFrame(SKILL1FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 1 Bar")
  1715. local SKILL2BAR = CreateFrame(SKILL2FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 2 Bar")
  1716. local SKILL3BAR = CreateFrame(SKILL3FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 3 Bar")
  1717. local SKILL4BAR = CreateFrame(SKILL4FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 4 Bar")
  1718.  
  1719. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Ability 1", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 1")
  1720. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Ability 2", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 2")
  1721. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 3")
  1722. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 4")
  1723.  
  1724. if Enable_Gui == true then
  1725. WEAPONGUI.Parent = PlayerGui
  1726. end
  1727.  
  1728. if Enable_Stats == true and Show_Stats == true then
  1729. DEFENSEFRAME.Parent = WEAPONGUI
  1730. DAMAGEFRAME.Parent = WEAPONGUI
  1731. MOVEMENTFRAME.Parent = WEAPONGUI
  1732. end
  1733.  
  1734. if Enable_Secondary_Bar == true then
  1735. SECONDARYMANABAR.Parent = WEAPONGUI
  1736. end
  1737.  
  1738. if Enable_Abilities == true then
  1739. SKILL1FRAME.Parent = WEAPONGUI
  1740. SKILL2FRAME.Parent = WEAPONGUI
  1741. SKILL3FRAME.Parent = WEAPONGUI
  1742. SKILL4FRAME.Parent = WEAPONGUI
  1743. end
  1744.  
  1745. if Enable_Stun == true then
  1746. STUNFRAME.Parent = WEAPONGUI
  1747. end
  1748.  
  1749. function UpdateGUI()
  1750. MANABAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1751. MANACOVER:TweenSize(UD2(1 * (Mana.Value / Max_Mana), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1752. MANATEXT.Text = Mana_Name.." ["..FLOOR(Mana.Value).."]"
  1753. HEALTHBAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1754. HEALTHCOVER:TweenSize(UD2(1 * (Humanoid.Health / Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1755. HEALTHTEXT.Text = "Health ["..FLOOR(Humanoid.Health).."]"
  1756. if Enable_Abilities == true then
  1757. SKILL1FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1758. SKILL2FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1759. SKILL3FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1760. SKILL4FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1761. SKILL1BAR:TweenSize(UD2(1 * (CO1 / Cooldown_1), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1762. SKILL2BAR:TweenSize(UD2(1 * (CO2 / Cooldown_2), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1763. SKILL3BAR:TweenSize(UD2(1 * (CO3 / Cooldown_3), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1764. SKILL4BAR:TweenSize(UD2(1 * (CO4 / Cooldown_4), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1765. end
  1766. if Enable_Stats == true and Show_Stats == true then
  1767. DEFENSEFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1768. DEFENSETEXT.Text = "Defense ["..(Defense.Value * 100).."%]"
  1769. DAMAGEFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1770. DAMAGETEXT.Text = "Damage ["..(Damage.Value * 100).."%]"
  1771. MOVEMENTFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1772. MOVEMENTTEXT.Text = "Movement ["..(Movement.Value * 100).."%]"
  1773. end
  1774. if Enable_Stun == true then
  1775. STUNFRAME:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1776. STUNBAR:TweenSize(UD2(1 * (StunValue.Value / Max_Stun), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1777. STUNTEXT.Text = "Stun ["..FLOOR(StunValue.Value).."]"
  1778. end
  1779. if Enable_Secondary_Bar == true then
  1780. SECONDARYMANABAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1781. SECONDARYMANACOVER:TweenSize(UD2(1 * (SecondaryMana.Value / Max_Secondary_Mana), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1782. SECONDARYMANATEXT.Text = Secondary_Mana_Name.." ["..FLOOR(SecondaryMana.Value).."]"
  1783. end
  1784. end
  1785.  
  1786. if Enable_Gui == true then
  1787. UpdateGUI()
  1788. for _, v in pairs (WEAPONGUI:GetChildren()) do
  1789. if v.ClassName == "Frame" then
  1790. for _, b in pairs (v:GetChildren()) do
  1791. if b.ClassName == "TextLabel" then
  1792. coroutine.resume(coroutine.create(function(THETEXTLABEL)
  1793. wait(Menu_Update_Speed)
  1794. for i = 1, 0, -0.1 do
  1795. Swait()
  1796. THETEXTLABEL.TextTransparency = i
  1797. THETEXTLABEL.TextStrokeTransparency = i
  1798. end
  1799. THETEXTLABEL.TextTransparency = 0
  1800. THETEXTLABEL.TextStrokeTransparency = 0
  1801. end), b)
  1802. end
  1803. end
  1804. end
  1805. end
  1806. end
  1807.  
  1808. --//=================================\\
  1809. --\\=================================//
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815. --//=================================\\
  1816. --|| SKILL FUNCTIONS
  1817. --\\=================================//
  1818.  
  1819. function UpdateSkillsAndStuff()
  1820. if Mana_Regen_Mode == "1" then
  1821. if Mana.Value >= Max_Mana then
  1822. Mana.Value = Max_Mana
  1823. elseif Mana.Value < 0 then
  1824. Mana.Value = 0
  1825. else
  1826. if MANADELAYNUMBER <= Mana_Wait then
  1827. MANADELAYNUMBER = MANADELAYNUMBER + 1
  1828. else
  1829. MANADELAYNUMBER = 0
  1830. Mana.Value = Mana.Value + Recover_Mana
  1831. end
  1832. end
  1833. elseif Mana_Regen_Mode == "2" then
  1834. if Mana.Value <= Max_Mana then
  1835. Mana.Value = Mana.Value + (Recover_Mana / 30) / Animation_Speed
  1836. elseif Mana.Value >= Max_Mana then
  1837. Mana.Value = Max_Mana
  1838. elseif Mana.Value < 0 then
  1839. Mana.Value = 0
  1840. end
  1841. end
  1842. if Enable_Secondary_Bar == true then
  1843. if Secondary_Mana_Regen_Mode == "1" then
  1844. if SecondaryMana.Value >= Max_Secondary_Mana then
  1845. SecondaryMana.Value = Max_Secondary_Mana
  1846. elseif SecondaryMana.Value < 0 then
  1847. SecondaryMana.Value = 0
  1848. else
  1849. if SECONDARYMANADELAYNUMBER <= Secondary_Mana_Wait then
  1850. SECONDARYMANADELAYNUMBER = SECONDARYMANADELAYNUMBER + 1
  1851. else
  1852. SECONDARYMANADELAYNUMBER = 0
  1853. SecondaryMana.Value = SecondaryMana.Value + Recover_Secondary_Mana
  1854. end
  1855. end
  1856. elseif Secondary_Mana_Regen_Mode == "2" then
  1857. if SecondaryMana.Value <= Max_Secondary_Mana then
  1858. SecondaryMana.Value = SecondaryMana.Value + (Recover_Secondary_Mana / 30) / Animation_Speed
  1859. elseif SecondaryMana.Value >= Max_Secondary_Mana then
  1860. SecondaryMana.Value = Max_Secondary_Mana
  1861. elseif SecondaryMana.Value < 0 then
  1862. SecondaryMana.Value = 0
  1863. end
  1864. end
  1865. else
  1866. SecondaryMana.Value = 0
  1867. end
  1868. if Enable_Stun == true then
  1869. if Stun_Lose_Mode == "1" then
  1870. if StunValue.Value > Max_Stun then
  1871. StunValue.Value = Max_Stun
  1872. elseif StunValue.Value <= 0 then
  1873. StunValue.Value = 0
  1874. else
  1875. if STUNDELAYNUMBER <= Stun_Wait then
  1876. STUNDELAYNUMBER = STUNDELAYNUMBER + 1
  1877. else
  1878. STUNDELAYNUMBER = 0
  1879. StunValue.Value = StunValue.Value - Lose_Stun
  1880. end
  1881. end
  1882. elseif Stun_Lose_Mode == "2" then
  1883. if StunValue.Value <= Max_Stun and StunValue.Value > 0 then
  1884. StunValue.Value = StunValue.Value - (Lose_Stun / 30) / Animation_Speed
  1885. elseif StunValue.Value > Max_Stun then
  1886. StunValue.Value = Max_Stun
  1887. elseif StunValue.Value <= 0 then
  1888. StunValue.Value = 0
  1889. end
  1890. end
  1891. else
  1892. StunValue.Value = 0
  1893. end
  1894. if Enable_Abilities == true then
  1895. if CO1 <= Cooldown_1 then
  1896. CO1 = CO1 + (1 / 30) / Animation_Speed
  1897. elseif CO1 >= Cooldown_1 then
  1898. CO1 = Cooldown_1
  1899. end
  1900. if CO2 <= Cooldown_2 then
  1901. CO2 = CO2 + (1 / 30) / Animation_Speed
  1902. elseif CO2 >= Cooldown_2 then
  1903. CO2 = Cooldown_2
  1904. end
  1905. if CO3 <= Cooldown_3 then
  1906. CO3 = CO3 + (1 / 30) / Animation_Speed
  1907. elseif CO3 >= Cooldown_3 then
  1908. CO3 = Cooldown_3
  1909. end
  1910. if CO4 <= Cooldown_4 then
  1911. CO4 = CO4 + (1 / 30) / Animation_Speed
  1912. elseif CO4 >= Cooldown_4 then
  1913. CO4 = Cooldown_4
  1914. end
  1915. end
  1916. end
  1917.  
  1918. --//=================================\\
  1919. --\\=================================//
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925. --//=================================\\
  1926. --|| ATTACK FUNCTIONS AND STUFF
  1927. --\\=================================//
  1928.  
  1929. function EquipWeapon()
  1930. --ATTACK = true
  1931. DEFENSECHANGE1.Parent = nil
  1932. MOVEMENTCHANGE1.Parent = ChangeStat
  1933. for i=0, 1, 0.5 / Animation_Speed do
  1934. Swait()
  1935. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  1936. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  1937. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(140), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1938. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1939. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  1940. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  1941. end
  1942. for i=0, 1, 0.08 / Animation_Speed do
  1943. Swait()
  1944. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  1945. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  1946. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(210), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1947. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1948. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  1949. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  1950. end
  1951. HandleWeld.Part0 = RightArm
  1952. HandleWeld.C0 = CF(-0.05 * Player_Size, -1 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(-27), RAD(0), RAD(-19)) * ANGLES(RAD(0), RAD(110), RAD(0))
  1953. CreateSound("174884033", HitboxPart, 1, 1.5)
  1954. for i=0, 1, 0.5 / Animation_Speed do
  1955. Swait()
  1956. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  1957. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-2.5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  1958. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1959. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1960. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  1961. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  1962. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(90), RAD(0)), 0.3 / Animation_Speed)
  1963. end
  1964. LASTPOINT = EffectPart.CFrame
  1965. for i=0, 1, 0.08 / Animation_Speed do
  1966. Swait()
  1967. TrailEffect("Institutional white", "Neon", EffectPart.CFrame, LASTPOINT, "Block", 0, 0.2, ANGLES(0, 0, 0), -0.01, 0, -0.01, 0.1)
  1968. LASTPOINT = EffectPart.CFrame
  1969. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  1970. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  1971. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(80)) * ANGLES(RAD(-60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1972. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1973. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.4 / Animation_Speed)
  1974. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  1975. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-140), RAD(90), RAD(0)), 0.3 / Animation_Speed)
  1976. end
  1977. LASTPOINT = nil
  1978. --ATTACK = false
  1979. end
  1980.  
  1981. function UnequipWeapon()
  1982. --ATTACK = true
  1983. for i=0, 1, 0.5 / Animation_Speed do
  1984. Swait()
  1985. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  1986. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  1987. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(140), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1988. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1989. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  1990. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  1991. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(-0.05 * Player_Size, -1 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(-27), RAD(0), RAD(-19)) * ANGLES(RAD(0), RAD(110), RAD(0)), 0.3 / Animation_Speed)
  1992. end
  1993. CreateSound("245542809", HitboxPart, 1, 1.2)
  1994. for i=0, 1, 0.08 / Animation_Speed do
  1995. Swait()
  1996. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  1997. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  1998. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(210), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1999. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2000. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2001. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2002. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(-0.05 * Player_Size, -1 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(-27), RAD(0), RAD(-19)) * ANGLES(RAD(0), RAD(110), RAD(0)), 0.3 / Animation_Speed)
  2003. end
  2004. HandleWeld.Part0 = Torso
  2005. HandleWeld.C0 = CF(2 * Player_Size, 2 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135))
  2006. for i=0, 1, 0.5 / Animation_Speed do
  2007. Swait()
  2008. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2009. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-2.5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2010. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(140), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2011. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2012. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2013. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2014. end
  2015. for i=0, 1, 0.08 / Animation_Speed do
  2016. Swait()
  2017. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2018. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2019. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2020. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), 0.3 / Animation_Speed)
  2021. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2022. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2023. if Disable_Moving_Arms == false then
  2024. RightShoulder.C1 = Clerp(RightShoulder.C1, ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5), 0.3 / Animation_Speed)
  2025. LeftShoulder.C1 = Clerp(LeftShoulder.C1, ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5), 0.3 / Animation_Speed)
  2026. else
  2027. RightShoulder.C1 = Clerp(RightShoulder.C1, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size), 0.3 / Animation_Speed)
  2028. LeftShoulder.C1 = Clerp(LeftShoulder.C1, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size), 0.3 / Animation_Speed)
  2029. end
  2030. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2031. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2032. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2033. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2034. end
  2035. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  2036. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  2037. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2038. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2039. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  2040. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  2041. if Disable_Moving_Arms == false then
  2042. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  2043. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  2044. else
  2045. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  2046. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  2047. end
  2048. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2049. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2050. RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2051. LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2052. --ATTACK = false
  2053. DEFENSECHANGE1.Parent = ChangeStat
  2054. MOVEMENTCHANGE1.Parent = nil
  2055. end
  2056.  
  2057. function StaggerHitAnimation()
  2058. ATTACK = true
  2059. if Weapon:FindFirstChild("Hitbox") ~= nil then
  2060. for i = 1, MRANDOM(2, 4) do
  2061. ClangEffect("Black", "Neon", CF(Weapon:FindFirstChild("Hitbox").Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 20, 5, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2062. end
  2063. end
  2064. for i = 0, 1, 0.1 / Animation_Speed do
  2065. Swait()
  2066. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2067. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(30)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2068. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-30), RAD(0), RAD(60)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2069. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-20)) * ANGLES(RAD(0), RAD(20), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2070. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.9 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2071. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.3 / Animation_Speed)
  2072. if Stagger.Value == true or Stun.Value == true then
  2073. break
  2074. end
  2075. end
  2076. ATTACK = false
  2077. end
  2078.  
  2079. function StaggerAnimation()
  2080. ATTACK = true
  2081. if Weapon:FindFirstChild("Hitbox") ~= nil then
  2082. for i = 1, MRANDOM(2, 4) do
  2083. ClangEffect("White", "Neon", CF(Weapon:FindFirstChild("Hitbox").Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 20, 5, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2084. end
  2085. end
  2086. DISABLEJUMPING = true
  2087. COMBO = 1
  2088. StatLabel("Interruption", Head.CFrame * CF(0, 0 + (Head.Size.z - 1), 0), "Staggered!", C3(255 / 255, 255 / 255, 0))
  2089. local STAGGERVELOCITY = Instance.new("BodyVelocity",Torso)
  2090. STAGGERVELOCITY.P = 500
  2091. STAGGERVELOCITY.maxForce = VT(math.huge, 0, math.huge)
  2092. if Rooted.Value == false then
  2093. STAGGERVELOCITY.Velocity = RootPart.CFrame.lookVector * -40
  2094. end
  2095. for i = 0, 1, 0.35 / Animation_Speed do
  2096. Swait()
  2097. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2098. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  2099. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size,0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2100. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size,0 * Player_Size) * ANGLES(RAD(-7.5), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2101. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size,0 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2102. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size,0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 0.3 / Animation_Speed)
  2103. end
  2104. for i = 0, 1, 0.2 / Animation_Speed do
  2105. Swait()
  2106. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2107. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2108. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2109. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-7.5), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2110. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 0.4 / Animation_Speed)
  2111. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.4 / Animation_Speed)
  2112. end
  2113. STAGGERVELOCITY.Parent = nil
  2114. for i = 1, 50 * Animation_Speed do
  2115. Swait()
  2116. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.8 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-20)) * ANGLES(RAD(-5), RAD(-5), RAD(0)), 0.3 / Animation_Speed)
  2117. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.3 / Animation_Speed)
  2118. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(-20), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2119. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-10)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2120. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.4 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(30), RAD(0)), 0.3 / Animation_Speed)
  2121. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-10)), 0.3 / Animation_Speed)
  2122. end
  2123. DISABLEJUMPING = false
  2124. ATTACK = false
  2125. end
  2126.  
  2127. function StunAnimation()
  2128. ATTACK = true
  2129. DISABLEJUMPING = true
  2130. COMBO = 1
  2131. StatLabel("Interruption", Head.CFrame * CF(0, 0 + (Head.Size.z - 1), 0), "Stunned!", C3(255 / 255, 255 / 255, 0))
  2132. for i = 0, 1, 0.3 / Animation_Speed do
  2133. Swait()
  2134. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-150)), 0.3 / Animation_Speed)
  2135. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2137. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2138. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2139. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  2140. end
  2141. for i = 0, 1, 0.3 / Animation_Speed do
  2142. Swait()
  2143. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(-180)), 0.4 / Animation_Speed)
  2144. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2145. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2146. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2147. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2148. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(50)), 0.4 / Animation_Speed)
  2149. end
  2150. for i = 0, 1, 0.3 / Animation_Speed do
  2151. Swait()
  2152. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(75), RAD(0), RAD(-180)), 0.4 / Animation_Speed)
  2153. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  2154. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2155. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10), RAD(0), RAD(-80)) * ANGLES(RAD(0), RAD(-40), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2156. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(10)), 0.4 / Animation_Speed)
  2157. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(80)), 0.4 / Animation_Speed)
  2158. end
  2159. for i = 1, 70 * Animation_Speed do
  2160. Swait()
  2161. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -2.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-180)), 0.3 / Animation_Speed)
  2162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.3 / Animation_Speed)
  2163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(-10), RAD(90)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2165. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2166. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2167. end
  2168. for i = 0, 1, 0.2 / Animation_Speed do
  2169. Swait()
  2170. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.5 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(100)), 0.4 / Animation_Speed)
  2171. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2172. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(-10), RAD(30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2173. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(80), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2174. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(70)), 0.4 / Animation_Speed)
  2175. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.25 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2176. end
  2177. DISABLEJUMPING = false
  2178. ATTACK = false
  2179. end
  2180.  
  2181. function EAbility()
  2182. ATTACK = true
  2183. ATTACK = false
  2184. end
  2185.  
  2186. function Attack1()
  2187. ATTACK = true
  2188. for i=0, 1, 0.1 / Animation_Speed do
  2189. Swait()
  2190. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2191. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(35)), 0.4 / Animation_Speed)
  2192. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2193. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.25 * Player_Size, 0.5 * Player_Size, -0.75 * Player_Size) * ANGLES(RAD(160), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2194. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2195. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2196. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-80), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2197. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2198. break
  2199. end
  2200. end
  2201. chatfunc("Wragh!")
  2202. CreateSound("553461842", HitboxPart, 1.2, MRANDOM(8, 9) / 10)
  2203. local HASHITFLOOR = false
  2204. for i=0, 1, 0.1 / Animation_Speed do
  2205. Swait()
  2206. local Pos = HitboxPart
  2207. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  2208. local Color = "Really black"
  2209. local Material = "Neon"
  2210. local TheDelay = 0.01
  2211. local Height = 6.2 * Player_Size
  2212. BLCF = Offset
  2213. --[[if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  2214. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  2215. if a then game:GetService("Debris"):AddItem(a, 1) end
  2216. if b then game:GetService("Debris"):AddItem(b, 1) end
  2217. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  2218. if a then game:GetService("Debris"):AddItem(a, 1) end
  2219. if b then game:GetService("Debris"):AddItem(b, 1) end
  2220. SCFR = BLCF
  2221. elseif not SCFR then
  2222. SCFR = BLCF
  2223. end]]--
  2224. local SWORDHIT, SWORDPOS = Raycast(EffectPart.Position, (CF(EffectPart.Position, EffectPart.Position + VT(0, -1, 0))).lookVector, 1 * Player_Size, Character)
  2225. if SWORDHIT ~= nil and HASHITFLOOR == false and SWORDHIT.Parent:FindFirstChild("Humanoid") == nil then
  2226. HASHITFLOOR = true
  2227. --print(SWORDHIT.Material)
  2228. if SWORDHIT.Material == Enum.Material.Grass or SWORDHIT.Material == Enum.Material.Ice or SWORDHIT.Material == Enum.Material.Fabric or SWORDHIT.Material == Enum.Material.SmoothPlastic or SWORDHIT.Material == Enum.Material.Sand or SWORDHIT.Material == Enum.Material.Plastic or SWORDHIT.Material == Enum.Material.Neon or SWORDHIT.Material == Enum.Material.Foil then
  2229. CreateSound("525717773", EffectPart, 1.2 , MRANDOM(8, 12) / 10)
  2230. elseif SWORDHIT.Material == Enum.Material.Metal or SWORDHIT.Material == Enum.Material.Concrete or SWORDHIT.Material == Enum.Material.Brick or SWORDHIT.Material == Enum.Material.CorrodedMetal or SWORDHIT.Material == Enum.Material.Slate or SWORDHIT.Material == Enum.Material.Marble or SWORDHIT.Material == Enum.Material.Granite or SWORDHIT.Material == Enum.Material.DiamondPlate or SWORDHIT.Material == Enum.Material.Pebble or SWORDHIT.Material == Enum.Material.Cobblestone then
  2231. CreateSound("470790670", EffectPart, 1 , MRANDOM(8, 12) / 10)
  2232. for i = 1, MRANDOM(2, 4) do
  2233. ClangEffect("Really black", "Neon", CF(SWORDPOS) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 10, 3, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2234. end
  2235. elseif SWORDHIT.Material == Enum.Material.Wood or SWORDHIT.Material == Enum.Material.WoodPlanks then
  2236. CreateSound("514586161", EffectPart, 1 , MRANDOM(8, 12) / 10)
  2237. end
  2238. end
  2239. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 4, false, 35, 45, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2240. if HASHITFLOOR == true then
  2241. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2242. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2243. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(40), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2244. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(0 * Player_Size, 0.25 * Player_Size, -0.75 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2245. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed)
  2246. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2247. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-132.5), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2248. else
  2249. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2250. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2251. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2252. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(0 * Player_Size, 0.25 * Player_Size, -0.75 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2253. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed)
  2254. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2255. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-150), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2256. end
  2257. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2258. break
  2259. end
  2260. end
  2261. BLCF = nil
  2262. SCFR = nil
  2263. ATTACK = false
  2264. end
  2265.  
  2266. function Attack2()
  2267. ATTACK = true
  2268. for i=0, 1, 0.1 / Animation_Speed do
  2269. Swait()
  2270. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2271. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2272. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2273. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2274. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2275. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2276. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-110), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2277. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2278. break
  2279. end
  2280. end
  2281. chatfunc("Hyuah!")
  2282. CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  2283. for i=0, 1, 0.1 / Animation_Speed do
  2284. Swait()
  2285. local Pos = HitboxPart
  2286. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  2287. local Color = "Really black"
  2288. local Material = "Neon"
  2289. local TheDelay = 0.01
  2290. local Height = 6.2 * Player_Size
  2291. BLCF = Offset
  2292. --[[if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  2293. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  2294. if a then game:GetService("Debris"):AddItem(a, 1) end
  2295. if b then game:GetService("Debris"):AddItem(b, 1) end
  2296. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  2297. if a then game:GetService("Debris"):AddItem(a, 1) end
  2298. if b then game:GetService("Debris"):AddItem(b, 1) end
  2299. SCFR = BLCF
  2300. elseif not SCFR then
  2301. SCFR = BLCF
  2302. end]]--
  2303. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 4, false, 35, 45, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2304. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2305. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2306. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2307. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2308. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2309. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2310. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-130), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2311. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2312. break
  2313. end
  2314. end
  2315. BLCF = nil
  2316. SCFR = nil
  2317. ATTACK = false
  2318. end
  2319.  
  2320. function SilenceRoar()
  2321. local exp = Instance.new("Part")
  2322. exp.Parent = workspace
  2323. exp.Size = Vector3.new(1,1,1)
  2324. exp.Anchored = true
  2325. exp.Transparency = 0.25
  2326. exp.CanCollide = false
  2327. exp.CFrame = Head.CFrame
  2328. exp.BrickColor = BrickColor.new("Really black")
  2329. exp.Material = "Neon"
  2330. local meshe = Instance.new("SpecialMesh")
  2331. meshe.MeshType = "Sphere"
  2332. meshe.Parent = exp
  2333. for size = 1, 25 do
  2334. meshe.Scale = meshe.Scale + Vector3.new(5,5,5)
  2335. exp.Transparency = exp.Transparency + (1/25)
  2336. wait(0.00025)
  2337. end
  2338. exp:Destroy()
  2339. end
  2340.  
  2341. function ShootFireball(POSITION1, POSITION2, SPEED, SIZE, DURATION, LOWDAMAGE, HIGHDAMAGE)
  2342. local POS1 = POSITION1
  2343. local POS2 = POSITION2
  2344. local MOUSELOOK = CF((POS1 + POS2) / 2, POS2)
  2345. local FIREBALLSPEED = SPEED * Player_Size
  2346. local FIREBALLDURATION = DURATION
  2347. local FIREBALLCOLORS = {"Really black", "Black", "White"}
  2348. local FIREBALLHITSOUNDS = {"438666542", "314970790"}
  2349. coroutine.resume(coroutine.create(function()
  2350. repeat
  2351. Swait()
  2352. local FIREBALLHIT, FIREBALLPOS = Raycast(POS1, MOUSELOOK.lookVector, FIREBALLSPEED, Character)
  2353. POS1 = POS1 + (MOUSELOOK.lookVector * FIREBALLSPEED)
  2354. MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", CF(POS1) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / -10, SIZE / -10, SIZE / -10, 0.1)
  2355. if FIREBALLHIT ~= nil or FIREBALLDURATION <= 0.1 then
  2356. FIREBALLDURATION = 0
  2357. local FireballHitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2358. FireballHitRefpart.Anchored = true
  2359. FireballHitRefpart.CFrame = CF(FIREBALLPOS)
  2360. game:GetService("Debris"):AddItem(FireballHitRefpart, 5)
  2361. CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FireballHitRefpart, 1.4, MRANDOM(14, 16) / 10)
  2362. for i = 1, MRANDOM(4, 8) do
  2363. MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))), CF(0, MRANDOM(5, 7) / 10 * Player_Size, 0), VT(0, 0, 0), 5, 5, 5, 0, 0, 0, MRANDOM(3, 5) / 100)
  2364. end
  2365. MagicBlock("Really black", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / 3, SIZE / 3, SIZE / 3, 0.05)
  2366. MagicBlock("Black", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 0.5, SIZE * 0.5, SIZE * 0.5, SIZE / 4, SIZE / 4, SIZE / 4, 0.05)
  2367. MagicBlock("White", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 0.25, SIZE * 0.25, SIZE * 0.25, SIZE / 5, SIZE / 5, SIZE / 5, 0.05)
  2368. MagnitudeDamage("", "", "", "", 1, 1, 1, 1, FireballHitRefpart, SIZE / 2, false, 50, 50, 0, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, nil, 0, 0, false)
  2369. else
  2370. FIREBALLDURATION = FIREBALLDURATION - (1 / 30) / Animation_Speed
  2371. end
  2372. until FIREBALLHIT ~= nil or FIREBALLDURATION <= 0
  2373. end))
  2374. end
  2375.  
  2376. function ShootLargeFireball(POSITION1, POSITION2, SPEED, SIZE, DURATION, LOWDAMAGE, HIGHDAMAGE)
  2377. local POS1 = POSITION1
  2378. local POS2 = POSITION2
  2379. local MOUSELOOK = CF((POS1 + POS2) / 2, POS2)
  2380. local FIREBALLSPEED = SPEED * Player_Size
  2381. local FIREBALLDURATION = DURATION
  2382. local FIREBALLCOLORS = {"Really black", "Black", "White"}
  2383. local FIREBALLHITSOUNDS = {"178452241"}
  2384. coroutine.resume(coroutine.create(function()
  2385. repeat
  2386. Swait()
  2387. local FIREBALLHIT, FIREBALLPOS = Raycast(POS1, MOUSELOOK.lookVector, FIREBALLSPEED, Character)
  2388. POS1 = POS1 + (MOUSELOOK.lookVector * FIREBALLSPEED)
  2389. MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", CF(POS1) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / -10, SIZE / -10, SIZE / -10, 0.1)
  2390. if FIREBALLHIT ~= nil or FIREBALLDURATION <= 0.1 then
  2391. FIREBALLDURATION = 0
  2392. local FireballHitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2393. FireballHitRefpart.Anchored = true
  2394. FireballHitRefpart.CFrame = CF(FIREBALLPOS)
  2395. game:GetService("Debris"):AddItem(FireballHitRefpart, 5)
  2396. CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FireballHitRefpart, 1.4, MRANDOM(14, 16) / 10)
  2397. for i = 1, MRANDOM(4, 8) do
  2398. MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))), CF(0, MRANDOM(5, 7) / 10 * Player_Size, 0), VT(0, 0, 0), 5, 5, 5, 0, 0, 0, MRANDOM(3, 5) / 100)
  2399. end
  2400. MagicBlock("Really black", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / 3, SIZE / 3, SIZE / 3, 0.05)
  2401. MagicBlock("Black", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 0.5, SIZE * 0.5, SIZE * 0.5, SIZE / 4, SIZE / 4, SIZE / 4, 0.05)
  2402. MagicBlock("White", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 0.25, SIZE * 0.25, SIZE * 0.25, SIZE / 5, SIZE / 5, SIZE / 5, 0.05)
  2403. MagnitudeDamage("", "", "", "", 1, 1, 1, 1, FireballHitRefpart, SIZE / 5, false, 50, 50, 0, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, nil, 0, 0, false)
  2404. else
  2405. FIREBALLDURATION = FIREBALLDURATION - (1 / 30) / Animation_Speed
  2406. end
  2407. until FIREBALLHIT ~= nil or FIREBALLDURATION <= 0
  2408. end))
  2409. end
  2410.  
  2411. function FirePillar(POSITION1, POSITION2, SIZE, RISE, RANGE, LOWDAMAGE, HIGHDAMAGE, LASTINGTIME)
  2412. local POS1 = POSITION1
  2413. local POS2 = POSITION2
  2414. local MOUSELOOK = CF((POS1 + POS2) / 2, POS2)
  2415. local FIREPILLARHITSOUNDS = {"171378971", --[["646619365",--]] "472579737"--[[, "144140670"--]]}
  2416. local FIREPILLARCOLORS = {"White", "Black", "Really black"}
  2417. local FIREPILLAR1HIT, FIREPILLAR1POS = Raycast(POS1, MOUSELOOK.lookVector, RANGE * Player_Size, Character)
  2418. local FirePillarRefpart1 = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2419. FirePillarRefpart1.Anchored = true
  2420. FirePillarRefpart1.CFrame = CF(FIREPILLAR1POS) * CF(0, 10, 0)
  2421. game:GetService("Debris"):AddItem(FirePillarRefpart1, 5)
  2422. local FIREPILLAR2HIT, FIREPILLAR2POS = Raycast(FirePillarRefpart1.Position, CF(FirePillarRefpart1.Position, FirePillarRefpart1.Position + VT(0, -1, 0)).lookVector, 999, Character)
  2423. if FIREPILLAR2HIT ~= nil then
  2424. FirePillarRefpart1.Parent = nil
  2425. local FirePillarRefpart2 = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2426. FirePillarRefpart2.Anchored = true
  2427. FirePillarRefpart2.CFrame = CF(FIREPILLAR2POS)
  2428. game:GetService("Debris"):AddItem(FirePillarRefpart2, 5)
  2429. CreateSound(FIREPILLARHITSOUNDS[MRANDOM(1, #FIREPILLARHITSOUNDS)], FirePillarRefpart2, 1.2, MRANDOM(11, 13) / 10)
  2430. for i = 1, MRANDOM(5, 10) do
  2431. MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame * ANGLES(RAD(MRANDOM(-60, 60)), 0, RAD(MRANDOM(-60, 60))), CF(0, MRANDOM(5, 7) / 10 * Player_Size, 0), VT(0, 0, 0), 3, 3, 3, 0, 0, 0, MRANDOM(3, 5) / 100)
  2432. end
  2433. for i = 1, MRANDOM(15, 20) do
  2434. local FIREEFFECTSIZE = MRANDOM(1, 2)
  2435. MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame, CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-20, 20)), 0), VT(MRANDOM(SIZE / 6, SIZE / 4), 0, 0), FIREEFFECTSIZE, FIREEFFECTSIZE, FIREEFFECTSIZE, -0.02, -0.02, -0.02, MRANDOM(1, 2) / 100)
  2436. end
  2437. MagicCylinder("Dark stone gret", "Neon", CF(FIREPILLAR2POS), ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, 0.1, SIZE, 1.5, 0, 1.5, LASTINGTIME)
  2438. MagicSphere("Really black", "Neon", FirePillarRefpart2.CFrame, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, 0.1, SIZE, 1.5, RISE, 1.5, LASTINGTIME)
  2439. MagicSphere("Black", "Neon", FirePillarRefpart2.CFrame, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE * 0.5, 0.1, SIZE * 0.5, 1.5, RISE * 0.75, 1.5, LASTINGTIME)
  2440. MagicSphere("White", "Neon", FirePillarRefpart2.CFrame, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE * 0.25, 0.1, SIZE * 0.25, 1.5, RISE * 0.375, 1.5, LASTINGTIME)
  2441. MagnitudeDamage("", "", "", "", 1, 1, 1, 1, FirePillarRefpart2, SIZE / 3, false, 60, 60, 0, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, "Movement", -0.1, 3, true)
  2442. end
  2443. end
  2444.  
  2445. function Attack3()
  2446. ATTACK = true
  2447. local FIREEFFECTCOLORS = {"Black", "Really black", "White"}
  2448. for i=0, 1, 0.1 / Animation_Speed do
  2449. Swait()
  2450. for i = 1, 2 do
  2451. MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0, MRANDOM(-10, 10) / 10 * Player_Size, 0) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, 0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 1, 1, 1, -0.05, -0.05, -0.05, 0.05)
  2452. end
  2453. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  2454. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2455. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2456. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2457. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2458. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  2459. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2460. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2461. break
  2462. end
  2463. end
  2464. for i = 1, 15 do
  2465. CreateSound("160773067", LeftArm, 1.4, 1.5)
  2466. ShootFireball((LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size)).p, Mouse.hit.p, 3, 5, 0.3, 5, 10)
  2467. MagicBlock("Black", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.05)
  2468. MagicBlock("Really black", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.05)
  2469. MagicBlock("White", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.05, 0.05, 0.05, 0.5, 0.5, 0.5, 0.05)
  2470. wait(0.05)
  2471. end
  2472. for i=0, 1, 0.1 / Animation_Speed do
  2473. Swait()
  2474. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.4 / Animation_Speed)
  2475. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(50)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2476. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2477. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25 * Player_Size, 0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(40), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2478. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-12.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2479. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2480. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2481. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2482. break
  2483. end
  2484. end
  2485. ATTACK = false
  2486. end
  2487.  
  2488. function Attack4()
  2489. ATTACK = true
  2490. local FIREEFFECTCOLORS = {"Really black", "Black", "White"}
  2491. for i=0, 1, 0.1 / Animation_Speed do
  2492. Swait()
  2493. MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 1, 1, 1, -0.05, -0.05, -0.05, 0.05)
  2494. --MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RootPart.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 1, 1, 1, -0.05, -0.05, -0.05, 0.05)
  2495. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2496. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2497. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2498. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2499. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2500. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  2501. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2502. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2503. break
  2504. end
  2505. end
  2506. chatfunc("Huah!")
  2507. CreateSound("160772554", LeftArm, 1, MRANDOM(11, 13) / 10)
  2508. FirePillar(RootPart.Position, Mouse.hit.p, 5, 25, 10, 5, 10, 0.025)
  2509. MagicBlock("Really black", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.05)
  2510. MagicBlock("White", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.05)
  2511. MagicBlock("Black", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.05, 0.05, 0.05, 0.5, 0.5, 0.5, 0.05)
  2512. for i=0, 1, 0.1 / Animation_Speed do
  2513. Swait()
  2514. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2515. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(25)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2516. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2517. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.25 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-20 + MRANDOM(-2.5, 2.5))) * ANGLES(RAD(70 + MRANDOM(-2.5, 2.5)), RAD(40), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2518. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.4 / Animation_Speed)
  2519. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-12.5)), 0.4 / Animation_Speed)
  2520. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2521. --[[
  2522. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(40)), 0.4 / Animation_Speed)
  2523. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2524. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2525. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-10 + MRANDOM(-2.5, 2.5))) * ANGLES(RAD(40 + MRANDOM(-2.5, 2.5)), RAD(70), RAD(20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2526. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.4 / Animation_Speed)
  2527. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2528. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2529. --]]
  2530. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2531. break
  2532. end
  2533. end
  2534. ATTACK = false
  2535. end
  2536.  
  2537. function Attack5()
  2538. local FIREEFFECTCOLORS = {"Black", "Really black", "White"}
  2539. for i=0, 1, 0.1 / Animation_Speed do
  2540. Swait()
  2541. for i = 1, 2 do
  2542. MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0, MRANDOM(-10, 10) / 10 * (Player_Size*2), 0) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, 0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 1, 1, 1, -0.05, -0.05, -0.05, 0.05)
  2543. end
  2544. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  2545. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2546. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2547. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2548. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2549. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  2550. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2551. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2552. break
  2553. end
  2554. end
  2555. CreateSound("160745944", LeftArm, 1.4, 1.5)
  2556. ShootLargeFireball((LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size)).p, Mouse.hit.p, 0.3, 75, 2.1, 5, 10)
  2557. ShootLargeFireball((LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size)).p, Mouse.hit.p, 0.3, 75, 2.1, 5, 10)
  2558. ShootLargeFireball((LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size)).p, Mouse.hit.p, 0.3, 75, 2.1, 5, 10)
  2559. MagicBlock("Black", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.05)
  2560. MagicBlock("Really black", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.05)
  2561. MagicBlock("White", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.05, 0.05, 0.05, 0.5, 0.5, 0.5, 0.05)
  2562. for i=0, 1, 0.1 / Animation_Speed do
  2563. Swait()
  2564. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.4 / Animation_Speed)
  2565. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(50)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2566. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2567. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25 * Player_Size, 0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(40), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2568. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-12.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2569. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2570. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2571. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2572. break
  2573. end
  2574. end
  2575. end
  2576.  
  2577. function Attack6()
  2578. ATTACK = true
  2579. for i=0, 1, 0.1/8 do
  2580. Swait()
  2581. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2582. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2583. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2584. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2585. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2586. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2587. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-110), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2588. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2589. break
  2590. end
  2591. end
  2592. chatfunc("WRAAGH!")
  2593. CreateSound("553461718", HitboxPart, 5, MRANDOM(7, 9) / 10)
  2594. for i=0, 1, 0.1 / Animation_Speed do
  2595. Swait()
  2596. local Pos = HitboxPart
  2597. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  2598. local Color = "Really black"
  2599. local Material = "Neon"
  2600. local TheDelay = 0.01
  2601. local Height = 6.2 * Player_Size
  2602. BLCF = Offset
  2603. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  2604. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  2605. if a then game:GetService("Debris"):AddItem(a, 1) end
  2606. if b then game:GetService("Debris"):AddItem(b, 1) end
  2607. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  2608. if a then game:GetService("Debris"):AddItem(a, 1) end
  2609. if b then game:GetService("Debris"):AddItem(b, 1) end
  2610. SCFR = BLCF
  2611. elseif not SCFR then
  2612. SCFR = BLCF
  2613. end
  2614. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 8, false, 35, 45, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2615. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2616. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2617. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2618. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2619. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2620. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2621. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-130), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2622. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2623. break
  2624. end
  2625. end
  2626. BLCF = nil
  2627. SCFR = nil
  2628. ATTACK = false
  2629. end
  2630.  
  2631. function SilenceAttempt(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HIT, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  2632. Humanoid.MaxHealth = "inf"
  2633. Humanoid.Health = "inf"
  2634. if HIT.Parent == nil then
  2635. return
  2636. end
  2637. local HITHUMANOID = HIT.Parent:FindFirstChild("Humanoid")
  2638. for _, v in pairs(HIT.Parent:GetChildren()) do
  2639. if v:IsA("Humanoid") then
  2640. HITHUMANOID = v
  2641. end
  2642. end
  2643. if HIT.Name == "Hitbox" and RANGED ~= true and HIT.Parent ~= Weapon and Enable_Stagger_Hit == true then
  2644. StaggerHit.Value = true
  2645. if Play_Hitbox_Hit_Sound == true then
  2646. if HITWEAPONSOUND ~= "" and HITWEAPONSOUND ~= "nil" then
  2647. CreateSound(HITWEAPONSOUND, HIT, 1, HITWEAPONSOUNDPITCH)
  2648. end
  2649. end
  2650. return
  2651. end
  2652. if HIT.Parent.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent.Parent:FindFirstChild("UpperTorso") ~= nil then
  2653. HITHUMANOID = HIT.Parent.Parent:FindFirstChild("Humanoid")
  2654. end
  2655. if HIT.Parent.ClassName == "Hat" or HIT.ClassName == "Accessory" then
  2656. HIT = HIT.Parent.Parent:FindFirstChild("Head")
  2657. end
  2658. if HITHUMANOID ~= nil and HIT.Parent.Name ~= Character.Name and (HIT.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent:FindFirstChild("UpperTorso") ~= nil) then
  2659. if HIT.Parent:FindFirstChild("DebounceHit") ~= nil then
  2660. if HIT.Parent.DebounceHit.Value == true then
  2661. return
  2662. end
  2663. end
  2664. if AntiTeamKill.Value == true then
  2665. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(HIT.Parent) ~= nil then
  2666. if game.Players:GetPlayerFromCharacter(HIT.Parent).TeamColor == Player.TeamColor then
  2667. return
  2668. end
  2669. end
  2670. end
  2671. if HITEVENWHENDEAD == false then
  2672. if HIT.Parent:FindFirstChild("Humanoid") ~= nil then
  2673. if HIT.Parent:FindFirstChild("Humanoid").Health <= 0 then
  2674. return
  2675. end
  2676. end
  2677. end
  2678. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2679. if HIT.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  2680. HIT.Parent.Stats:FindFirstChild("StunValue").Value = HIT.Parent.Stats:FindFirstChild("StunValue").Value + INCREASESTUN
  2681. end
  2682. end
  2683. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2684. if HIT.Parent.Stats:FindFirstChild("Stagger") ~= nil then
  2685. if STAGGER == true and Enable_Stagger == true then
  2686. HIT.Parent.Stats:FindFirstChild("Stagger").Value = true
  2687. end
  2688. end
  2689. end
  2690. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2691. if HIT.Parent.Stats:FindFirstChild("Block") ~= nil then
  2692. if HIT.Parent.Stats:FindFirstChild("Block").Value == true then
  2693. HASBEENBLOCKED = true
  2694. if HIT.Parent.Stats:FindFirstChild("Block"):FindFirstChild("BlockDebounce") == nil then
  2695. StatLabel("Interruption", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Blocked!", C3(0, 100 / 255, 255 / 255))
  2696. if RANGED ~= true then
  2697. if HITBLOCKSOUND ~= "" and HITBLOCKSOUND ~= "nil" then
  2698. CreateSound(541909763, HIT, 1, HITBLOCKSOUNDPITCH)
  2699. end
  2700. end
  2701. local BlockDebounce = IT("BoolValue", HIT.Parent.Stats:FindFirstChild("Block"))
  2702. BlockDebounce.Name = "BlockDebounce"
  2703. BlockDebounce.Value = true
  2704. if RANGED ~= true then
  2705. game:GetService("Debris"):AddItem(BlockDebounce, 0.5)
  2706. else
  2707. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  2708. end
  2709. end
  2710. if RANGED ~= true and Enable_Stagger == true then
  2711. HIT.Parent.Stats:FindFirstChild("Block").Value = false
  2712. Stagger.Value = true
  2713. end
  2714. return
  2715. end
  2716. end
  2717. end
  2718. if DECREASETHESTAT ~= nil then
  2719. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2720. IncreaseOrDecreaseStat(HIT.Parent, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  2721. end
  2722. end
  2723. local DAMAGE = MRANDOM(MINIMUMDAMAGE,MAXIMUMDAMAGE) * Damage.Value
  2724. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2725. if HIT.Parent.Stats:FindFirstChild("Defense") ~= nil then
  2726. if CanPenetrateArmor.Value == true then
  2727. DAMAGE = DAMAGE
  2728. else
  2729. DAMAGE = DAMAGE / HIT.Parent.Stats:FindFirstChild("Defense").Value
  2730. end
  2731. elseif HIT.Parent.Stats:FindFirstChild("Defense") == nil then
  2732. DAMAGE = DAMAGE
  2733. end
  2734. end
  2735. if CanCrit.Value == true then
  2736. CRITCHANCENUMBER = MRANDOM(1, CritChance.Value)
  2737. if CRITCHANCENUMBER == 1 then
  2738. end
  2739. end
  2740. DAMAGE = math.floor(DAMAGE)
  2741. if HASBEENBLOCKED == false then
  2742. end
  2743. if DAMAGE <= 3 and HASBEENBLOCKED == false then
  2744. if STAGGERHIT == true and Enable_Stagger_Hit == true and RANGED ~= true then
  2745. StaggerHit.Value = true
  2746. end
  2747. if HITARMORSOUND ~= "" and HITARMORSOUND ~= "nil" then
  2748. CreateSound(541909763, HIT, 1, HITARMORSOUNDPITCH)
  2749. end
  2750. elseif DAMAGE > 3 and HASBEENBLOCKED == false then
  2751. if HITPLAYERSOUND ~= "" and HITPLAYERSOUND ~= "nil" then
  2752. CreateSound(541909763, HIT, 1, HITPLAYERSOUNDPITCH)
  2753. end
  2754. end
  2755. if DAMAGE > 3 and DAMAGE < 20 and HASBEENBLOCKED == false then
  2756. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  2757. CreateSound("541909763", HIT, 1, 1)
  2758. else
  2759. end
  2760. elseif DAMAGE >= 20 and HASBEENBLOCKED == false then
  2761. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  2762. else
  2763. end
  2764. elseif DAMAGE <= 3 and HASBEENBLOCKED == false then
  2765. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  2766. CreateSound("541909763", HIT, 1, 1)
  2767. else
  2768. end
  2769. end
  2770. if TYPE == "Normal" then
  2771. local vp = IT("BodyVelocity")
  2772. vp.P=500
  2773. vp.maxForce = VT(math.huge, 0, math.huge)
  2774. if KNOCKBACKTYPE == 1 then
  2775. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK + PROPERTY.Velocity / 1.05
  2776. elseif KNOCKBACKTYPE == 2 then
  2777. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK
  2778. end
  2779. if KNOCKBACK > 0 and HASBEENBLOCKED == false then
  2780. vp.Parent = HIT--.Parent.Torso
  2781. end
  2782. game:GetService("Debris"):AddItem(vp, 0.5)
  2783. end
  2784. HASBEENBLOCKED = false
  2785. RecentEnemy.Value = HIT.Parent
  2786. local DebounceHit = IT("BoolValue", HIT.Parent)
  2787. DebounceHit.Name = "DebounceHit"
  2788. DebounceHit.Value = true
  2789. game:GetService("Debris"):AddItem(DebounceHit, DELAY)
  2790. end
  2791. c = HITHUMANOID.Parent:GetChildren()
  2792. for g = 1, #c do
  2793. if c[g].ClassName == "Script" then
  2794. c[g]:Destroy()
  2795. end
  2796. end
  2797. end
  2798.  
  2799. --Usage: MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Part, 5, true, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2800. function Silence(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, PART, MAGNITUDE, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  2801. for _, c in pairs(workspace:GetChildren()) do
  2802. local HUMANOID = c:FindFirstChild("Humanoid")
  2803. local HEAD = nil
  2804. if HUMANOID ~= nil then
  2805. for _, d in pairs(c:GetChildren()) do
  2806. if d.ClassName == "Model" and RANGED ~= true then
  2807. HEAD = d:FindFirstChild("Hitbox")
  2808. if HEAD ~= nil then
  2809. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  2810. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2811. if Play_Hitbox_Hit_Sound == true then
  2812. local HitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2813. HitRefpart.Anchored = true
  2814. HitRefpart.CFrame = CF(HEAD.Position)
  2815. CreateSound(HITWEAPONSOUND, HitRefpart, 1, HITWEAPONSOUNDPITCH)
  2816. end
  2817. if Enable_Stagger_Hit == true then
  2818. StaggerHit.Value = true
  2819. end
  2820. end
  2821. end
  2822. elseif d:IsA"BasePart" then
  2823. HEAD = d
  2824. if HEAD ~= nil then
  2825. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  2826. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2827. SilenceAttempt(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HEAD, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  2828. end
  2829. end
  2830. end
  2831. end
  2832. end
  2833. end
  2834. end
  2835.  
  2836. function UniqueMove1()
  2837. ATTACK = true
  2838. for i=0, 1, 0.1 do
  2839. Swait()
  2840. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2841. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2842. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2843. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2844. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2845. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2846. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-130), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2847. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2848. break
  2849. end
  2850. end
  2851. chatfunc("SILENCE!")
  2852. CreateSound("297472596", workspace, 1, MRANDOM(7, 9) / 10)
  2853. Silence(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Head, 20, false, 250, 300, MRANDOM(25, 30), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2854. SilenceRoar()
  2855. ATTACK = false
  2856. end
  2857.  
  2858. function Eliminate()
  2859. ATTACK = true
  2860. Humanoid.JumpPower = 0
  2861. Humanoid.WalkSpeed = 0
  2862. for i=0, 1, 0.1/5 do
  2863. Swait()
  2864. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2865. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2866. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-70)) * ANGLES(RAD(30), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2867. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2868. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2869. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2870. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-110), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2871. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2872. break
  2873. end
  2874. end
  2875. chatfunc("FALL TO PIECES!")
  2876. wait(2)
  2877. CreateSound("438666141", workspace, 5, 1)
  2878. local exp = Instance.new("Part")
  2879. exp.Parent = workspace
  2880. exp.Size = Vector3.new(1,1,1)
  2881. exp.Anchored = true
  2882. exp.Transparency = 0.25
  2883. exp.CanCollide = false
  2884. exp.CFrame = RootPart.CFrame
  2885. exp.BrickColor = BrickColor.new("Really black")
  2886. exp.Material = "Neon"
  2887. local exp2 = Instance.new("Part")
  2888. exp2.Parent = workspace
  2889. exp2.Size = Vector3.new(0.9, 0.9, 0.9)
  2890. exp2.Anchored = true
  2891. exp2.CanCollide = false
  2892. exp2.CFrame = RootPart.CFrame
  2893. exp2.BrickColor = BrickColor.new("White")
  2894. exp2.Material = "Neon"
  2895. local exp3 = Instance.new("Part")
  2896. exp3.Parent = workspace
  2897. exp3.Size = Vector3.new(1,1,1)
  2898. exp3.Anchored = true
  2899. exp3.Transparency = 0
  2900. exp3.CanCollide = false
  2901. exp3.CFrame = RootPart.CFrame
  2902. exp3.BrickColor = BrickColor.new("Really black")
  2903. exp.Material = "Neon"
  2904. CreateSound("438666077", workspace, 15, 1)
  2905. local meshh = Instance.new("SpecialMesh")
  2906. meshh.MeshType = "Sphere"
  2907. meshh.Parent = exp
  2908. local mesh2 = Instance.new("SpecialMesh")
  2909. mesh2.MeshType = "Sphere"
  2910. mesh2.Parent = exp2
  2911. local mesh3 = Instance.new("SpecialMesh")
  2912. mesh3.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2913. mesh3.Parent = exp3
  2914. mesh3.Scale = Vector3.new(1,10,1)
  2915. game.Lighting.FogEnd = 1000
  2916. local sky = Instance.new("Sky")
  2917. sky.Parent = game.Lighting
  2918. sky.SkyboxBk = "rbxassetid://99174105"
  2919. sky.SkyboxDn = "rbxassetid://99174105"
  2920. sky.SkyboxFt = "rbxassetid://99174105"
  2921. sky.SkyboxLf = "rbxassetid://99174105"
  2922. sky.SkyboxRt = "rbxassetid://99174105"
  2923. sky.SkyboxUp = "rbxassetid://99174105"
  2924. local sc = 1
  2925. sky.CelestialBodiesShown = false
  2926. game.Lighting.FogColor = Color3.new(0,0,0)
  2927. for size = 1, 25 do
  2928. game.Lighting.FogEnd = game.Lighting.FogEnd - 10
  2929. meshh.Scale = meshh.Scale + Vector3.new(sc,sc,sc)
  2930. mesh2.Scale = mesh2.Scale + Vector3.new(sc,sc,sc)
  2931. mesh3.Scale = mesh3.Scale + Vector3.new(sc,5,sc)
  2932. sc = sc + 0.2
  2933. wait(0.00025)
  2934. end
  2935. for size = 1, 75 do
  2936. game.Lighting.FogEnd = game.Lighting.FogEnd - 10
  2937. meshh.Scale = meshh.Scale + Vector3.new(sc,sc,sc)
  2938. mesh2.Scale = mesh2.Scale + Vector3.new(sc,sc,sc)
  2939. mesh3.Scale = mesh3.Scale + Vector3.new(sc,5,sc)
  2940. sc = sc + 0.2
  2941. wait(0.00025)
  2942. end
  2943. MagnitudeDamage("", "", "", "", 1, 1, 1, 1, exp, 500000000000 / 5, false, 50, 50, 0, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, nil, 0, 0, false)
  2944. exp:Destroy()
  2945. exp2:Destroy()
  2946. exp3:Destroy()
  2947. Humanoid.JumpPower = 85
  2948. Humanoid.WalkSpeed = 35
  2949. ATTACK = false
  2950. wait(2)
  2951. for sky = 1, 100 do
  2952. game.Lighting.FogEnd = game.Lighting.FogEnd + 10
  2953. wait(0.00025)
  2954. end
  2955. game.Lighting.FogEnd = 100000
  2956. sky:Destroy()
  2957. end
  2958.  
  2959. function Move2()
  2960. ATTACK = true
  2961. ATTACK = false
  2962. end
  2963.  
  2964. function Move3()
  2965. ATTACK = true
  2966. ATTACK = false
  2967. end
  2968.  
  2969. function Move4()
  2970. ATTACK = true
  2971. ATTACK = false
  2972. end
  2973.  
  2974. --//=================================\\
  2975. --\\=================================//
  2976.  
  2977.  
  2978.  
  2979.  
  2980.  
  2981. --//=================================\\
  2982. --|| SET THINGS UP
  2983. --\\=================================//
  2984.  
  2985. if Start_Equipped == true then
  2986. ATTACK = true
  2987. EQUIPPED = true
  2988. if Disable_Animate == true then
  2989. ANIMATE.Parent = nil
  2990. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2991. IDLEANIMATION:Play()
  2992. end
  2993. if Disable_Animator == true then
  2994. ANIMATOR.Parent = nil
  2995. end
  2996. if Disable_Moving_Arms == true then
  2997. RSH = Torso["Right Shoulder"]
  2998. LSH = Torso["Left Shoulder"]
  2999. RSH.Parent = nil
  3000. LSH.Parent = nil
  3001. if Use_Motors_Instead_Of_Welds == true then
  3002. RightShoulder = IT("Motor")
  3003. LeftShoulder = IT("Motor")
  3004. else
  3005. RightShoulder = IT("Weld")
  3006. LeftShoulder = IT("Weld")
  3007. end
  3008. RightShoulder.Name = "Right Shoulder"
  3009. RightShoulder.Part0 = Torso
  3010. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3011. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3012. RightShoulder.Part1 = Character["Right Arm"]
  3013. RightShoulder.Parent = Torso
  3014. LeftShoulder.Name = "Left Shoulder"
  3015. LeftShoulder.Part0 = Torso
  3016. LeftShoulder.C0=CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3017. LeftShoulder.C1=CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3018. LeftShoulder.Part1 = Character["Left Arm"]
  3019. LeftShoulder.Parent = Torso
  3020. RIGHTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3021. LEFTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3022. end
  3023. if Start_Equipped_With_Equipped_Animation == true then
  3024. Swait()
  3025. EquipWeapon()
  3026. end
  3027. ATTACK = false
  3028. end
  3029.  
  3030. --//=================================\\
  3031. --\\=================================//
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037. --//=================================\\
  3038. --|| ASSIGN THINGS TO KEYS
  3039. --\\=================================//
  3040.  
  3041. Humanoid.Changed:connect(function(Jump)
  3042. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  3043. Humanoid.Jump = false
  3044. end
  3045. end)
  3046.  
  3047. function MouseDown(Mouse)
  3048. if ATTACK == true or EQUIPPED == false then
  3049. return
  3050. end
  3051. HOLD = true
  3052. if COMBO == 1 then
  3053. COMBO = 2
  3054. Attack1()
  3055. elseif COMBO == 2 then
  3056. COMBO = 1
  3057. Attack2()
  3058. end
  3059. coroutine.resume(coroutine.create(function()
  3060. for i=1, 50 do
  3061. if ATTACK == false then
  3062. Swait()
  3063. end
  3064. end
  3065. if ATTACK == false then
  3066. COMBO = 1
  3067. end
  3068. end))
  3069. end
  3070.  
  3071. function MouseUp(Mouse)
  3072. HOLD = false
  3073. end
  3074.  
  3075. function KeyDown(Key)
  3076. if Key == "f" and Can_Equip_Or_Unequip == true and ATTACK == false then
  3077. ATTACK = true
  3078. COMBO = 1
  3079. if EQUIPPED == false then
  3080. EQUIPPED = true
  3081. if Disable_Animate == true then
  3082. ANIMATE.Parent = nil
  3083. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3084. IDLEANIMATION:Play()
  3085. end
  3086. if Disable_Animator == true then
  3087. ANIMATOR.Parent = nil
  3088. end
  3089. if Disable_Moving_Arms == true then
  3090. RSH = Torso["Right Shoulder"]
  3091. LSH = Torso["Left Shoulder"]
  3092. RSH.Parent = nil
  3093. LSH.Parent = nil
  3094. if Use_Motors_Instead_Of_Welds == true then
  3095. RightShoulder = IT("Motor")
  3096. LeftShoulder = IT("Motor")
  3097. else
  3098. RightShoulder = IT("Weld")
  3099. LeftShoulder = IT("Weld")
  3100. end
  3101. RightShoulder.Name = "Right Shoulder"
  3102. RightShoulder.Part0 = Torso
  3103. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3104. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3105. RightShoulder.Part1 = Character["Right Arm"]
  3106. RightShoulder.Parent = Torso
  3107. LeftShoulder.Name = "Left Shoulder"
  3108. LeftShoulder.Part0 = Torso
  3109. LeftShoulder.C0=CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3110. LeftShoulder.C1=CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3111. LeftShoulder.Part1 = Character["Left Arm"]
  3112. LeftShoulder.Parent = Torso
  3113. RIGHTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3114. LEFTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3115. end
  3116. Swait()
  3117. EquipWeapon()
  3118. elseif EQUIPPED == true then
  3119. EQUIPPED = false
  3120. UnequipWeapon()
  3121. if Disable_Animator == true then
  3122. ANIMATOR.Parent = Humanoid
  3123. end
  3124. if Disable_Animate == true then
  3125. ANIMATE.Parent = Character
  3126. end
  3127. Swait()
  3128. if Disable_Moving_Arms == true then
  3129. RightShoulder.Parent = nil
  3130. LeftShoulder.Parent = nil
  3131. RSH.Parent = Torso
  3132. LSH.Parent = Torso
  3133. end
  3134. end
  3135. ATTACK = false
  3136. end
  3137. if Key == "e" and EQUIPPED == true and ATTACK == false then
  3138. chatfunc("Take this!")
  3139. Attack3()
  3140. end
  3141. if Key == "z" and EQUIPPED == true and ATTACK == false and CO1 >= Cooldown_1 and Mana.Value >= Skill_1_Mana_Cost then
  3142. Attack4()
  3143. end
  3144. if Key == "x" and EQUIPPED == true and ATTACK == false and Humanoid.Jump == false then
  3145. Eliminate()
  3146. end
  3147. if Key == "c" and EQUIPPED == true and ATTACK == false and CO3 >= Cooldown_3 and Mana.Value >= Skill_3_Mana_Cost then
  3148. UniqueMove1()
  3149. end
  3150. if Key == "v" and EQUIPPED == true and ATTACK == false and CO4 >= Cooldown_4 and Mana.Value >= Skill_4_Mana_Cost then
  3151. Attack6()
  3152. end
  3153. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  3154. if Key == "q" then
  3155. Mana.Value = Max_Mana
  3156. SecondaryMana.Value = Max_Secondary_Mana
  3157. CO1 = Cooldown_1
  3158. CO2 = Cooldown_2
  3159. CO3 = Cooldown_3
  3160. CO4 = Cooldown_4
  3161. end
  3162. if Key == "p" and EQUIPPED == true and ATTACK == false then
  3163. end
  3164. if Key == "[" then
  3165. Stagger.Value = true
  3166. end
  3167. if Key == "]" then
  3168. Stun.Value = true
  3169. end
  3170. end
  3171. end
  3172.  
  3173. function KeyUp(Key)
  3174. end
  3175.  
  3176. if Use_HopperBin == false then
  3177.  
  3178. Mouse.Button1Down:connect(function(NEWKEY)
  3179. MouseDown(NEWKEY)
  3180. end)
  3181. Mouse.Button1Up:connect(function(NEWKEY)
  3182. MouseUp(NEWKEY)
  3183. end)
  3184. Mouse.KeyDown:connect(function(NEWKEY)
  3185. KeyDown(NEWKEY)
  3186. end)
  3187. Mouse.KeyUp:connect(function(NEWKEY)
  3188. KeyUp(NEWKEY)
  3189. end)
  3190.  
  3191. elseif Use_HopperBin == true then
  3192. WEAPONTOOL.Parent = Backpack
  3193. script.Parent = WEAPONTOOL
  3194. function SelectTool(Mouse)
  3195. Mouse.Button1Down:connect(function()
  3196. MouseDown(Mouse)
  3197. end)
  3198. Mouse.Button1Up:connect(function()
  3199. MouseUp(Mouse)
  3200. end)
  3201. Mouse.KeyDown:connect(KeyDown)
  3202. Mouse.KeyUp:connect(KeyUp)
  3203. end
  3204. function DeselectTool(Mouse)
  3205. end
  3206. WEAPONTOOL.Selected:connect(SelectTool)
  3207. WEAPONTOOL.Deselected:connect(DeselectTool)
  3208. end
  3209.  
  3210. --//=================================\\
  3211. --\\=================================//
  3212.  
  3213.  
  3214.  
  3215.  
  3216.  
  3217. --//=================================\\
  3218. --|| WRAP THE WHOLE SCRIPT UP
  3219. --\\=================================//
  3220.  
  3221. while true do
  3222. Swait()
  3223. if HitboxPart ~= nil and ATTACK == false and StaggerHit.Value == false and Stagger.Value == false and Stun.Value == false then
  3224. HitboxPart.Name = "NilHitbox"
  3225. else
  3226. HitboxPart.Name = "Hitbox"
  3227. end
  3228. if Enable_Gui == true then
  3229. UpdateGUI()
  3230. end
  3231. UpdateSkillsAndStuff()
  3232. if Walkspeed_Depends_On_Movement_Value == true then
  3233. if Movement.Value < 0 or StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true or Rooted.Value == true then
  3234. Humanoid.WalkSpeed = 0
  3235. else
  3236. Humanoid.WalkSpeed = 16 * Movement.Value * Player_Size
  3237. end
  3238. end
  3239. if Enable_Stun == true and StunValue.Value >= Max_Stun then
  3240. StunValue.Value = 0
  3241. Stun.Value = true
  3242. end
  3243. if Enable_Stagger_Hit == true then
  3244. if StaggerHit.Value == true and STAGGERHITANIM == false then
  3245. coroutine.resume(coroutine.create(function()
  3246. STAGGERHITANIM = true
  3247. while ATTACK == true do
  3248. Swait()
  3249. end
  3250. StaggerHitAnimation()
  3251. StaggerHit.Value = false
  3252. STAGGERHITANIM = false
  3253. end))
  3254. end
  3255. else
  3256. StaggerHit.Value = false
  3257. end
  3258. if Enable_Stagger == true then
  3259. if Stagger.Value == true and STAGGERANIM == false then
  3260. coroutine.resume(coroutine.create(function()
  3261. STAGGERANIM = true
  3262. while ATTACK == true do
  3263. Swait()
  3264. end
  3265. StaggerAnimation()
  3266. Stagger.Value = false
  3267. STAGGERANIM = false
  3268. end))
  3269. end
  3270. else
  3271. Stagger.Value = false
  3272. end
  3273. if Enable_Stun == true then
  3274. if Stun.Value == true and STUNANIM == false then
  3275. coroutine.resume(coroutine.create(function()
  3276. StunValue.Value = 0
  3277. STUNANIM = true
  3278. while ATTACK == true do
  3279. Swait()
  3280. end
  3281. StunAnimation()
  3282. Stun.Value = false
  3283. STUNANIM = false
  3284. end))
  3285. end
  3286. else
  3287. StunValue.Value = 0
  3288. Stun.Value = false
  3289. end
  3290. if DONUMBER >= .5 then
  3291. HANDIDLE = true
  3292. elseif DONUMBER <= 0 then
  3293. HANDIDLE = false
  3294. end
  3295. if HANDIDLE == false then
  3296. DONUMBER = DONUMBER + 0.003 / Animation_Speed
  3297. else
  3298. DONUMBER = DONUMBER - 0.003 / Animation_Speed
  3299. end
  3300. if ATTACK == false then
  3301. IDLENUMBER = IDLENUMBER + 1
  3302. else
  3303. IDLENUMBER = 0
  3304. end
  3305. if Enable_Stats == true then
  3306. for _, v in pairs (ChangeStat:GetChildren()) do
  3307. if v:FindFirstChild("Duration") ~= nil then
  3308. v:FindFirstChild("Duration").Value = v:FindFirstChild("Duration").Value - (1 / 30) / Animation_Speed
  3309. if v:FindFirstChild("Duration").Value <= 0 then
  3310. v.Parent = nil
  3311. end
  3312. end
  3313. if v.Name == "ChangeDefense" then
  3314. CHANGEDEFENSE = CHANGEDEFENSE + v.Value
  3315. elseif v.Name == "ChangeDamage" then
  3316. CHANGEDAMAGE = CHANGEDAMAGE + v.Value
  3317. elseif v.Name == "ChangeMovement" then
  3318. CHANGEMOVEMENT = CHANGEMOVEMENT + v.Value
  3319. end
  3320. end
  3321. Defense.Value = 1 + (CHANGEDEFENSE)
  3322. if Defense.Value <= 0.01 then
  3323. Defense.Value = 0.01
  3324. end
  3325. Damage.Value = 1 + (CHANGEDAMAGE)
  3326. if Damage.Value <= 0 then
  3327. Damage.Value = 0
  3328. end
  3329. Movement.Value = 1 + (CHANGEMOVEMENT)
  3330. if Movement.Value <= 0 then
  3331. Movement.Value = 0
  3332. end
  3333. CHANGEDEFENSE = 0
  3334. CHANGEDAMAGE = 0
  3335. CHANGEMOVEMENT = 0
  3336. end
  3337. SINE = SINE + CHANGE
  3338. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3339. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3340. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  3341. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  3342. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3343. if ANIM == "Walk" and EQUIPPED == true and TORSOVELOCITY > 1 then
  3344. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3345. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3346. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3347. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3348. elseif (ANIM ~= "Walk" and EQUIPPED == true) or (TORSOVELOCITY < 1) then
  3349. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3350. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3351. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3352. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3353. end
  3354. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3355. ANIM = "Jump"
  3356. if EQUIPPED == true then
  3357. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3358. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3359. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3360. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3361. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3362. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3363. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3364. end
  3365. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3366. ANIM = "Fall"
  3367. if EQUIPPED == true and ATTACK == false then
  3368. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3369. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3370. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3371. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3372. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3373. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3374. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3375. end
  3376. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3377. ANIM = "Idle"
  3378. if EQUIPPED == true and ATTACK == false then
  3379. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  3380. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  3381. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3382. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3383. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  3384. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  3385. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-100), RAD(90), RAD(0)), 0.15 / Animation_Speed)
  3386. end
  3387. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3388. ANIM = "Walk"
  3389. WALK = WALK + 1 / Animation_Speed
  3390. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  3391. WALK = 0
  3392. if WALKINGANIM == true then
  3393. WALKINGANIM = false
  3394. elseif WALKINGANIM == false then
  3395. WALKINGANIM = true
  3396. end
  3397. end
  3398. if EQUIPPED == true and ATTACK == false then
  3399. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0.05 * COS(SINE / WALKSPEEDVALUE) * Player_Size, 0 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3400. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(40)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3401. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10 + 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(45 + 2.5 * SIN(SINE / (WALKSPEEDVALUE / 2)))) * RIGHTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3402. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(-2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3403. RightHip.C0 = Clerp(RightHip.C0, CF(0.95 * Player_Size, -1 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(130), RAD(0)) * ANGLES(RAD(-1.25 - 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3404. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.25 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-2.5 + 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3405. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.15 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3406. end
  3407. end
  3408.  
  3409. end
  3410.  
  3411. --//=================================\\
  3412. --\\=================================//
  3413.  
  3414.  
  3415. local CurrentHealth = Humanoid.Health
  3416. local Defeated = false
  3417. Humanoid.HealthChanged:connect(function()
  3418. if Defeated then return end
  3419. local Health = math.min(Humanoid.Health-CurrentHealth)
  3420. if CurrentHealth-10000000 < -Health then
  3421. Humanoid.MaxHealth = "inf"
  3422. Humanoid.Health = "inf"
  3423. end
  3424. CurrentHealth = Humanoid.Health
  3425. end)
  3426.  
  3427.  
  3428. --//====================================================\\--
  3429. --|| END OF SCRIPT
  3430. --\\====================================================//
  3431. end)
  3432.  
  3433. TextButton_2.Parent = Frame
  3434. TextButton_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  3435. TextButton_2.BorderSizePixel = 0
  3436. TextButton_2.Position = UDim2.new(0.512738824, 0, 0.612500012, 0)
  3437. TextButton_2.Size = UDim2.new(0, 130, 0, 28)
  3438. TextButton_2.Font = Enum.Font.SourceSans
  3439. TextButton_2.Text = "End"
  3440. TextButton_2.TextColor3 = Color3.new(0.0235294, 0.996078, 0.0235294)
  3441. TextButton_2.TextScaled = true
  3442. TextButton_2.TextSize = 14
  3443. TextButton_2.TextWrapped = true
  3444.  
  3445. TextButton_2.MouseButton1Down:connect(function()
  3446. local script=script;
  3447.  
  3448. local msg = Instance.new("Message",workspace)
  3449. msg.Text = "Edit By NameClan"
  3450.  
  3451. wait(2)
  3452.  
  3453. msg:Destroy()
  3454.  
  3455. dickbutt = "https://www.roblox.com/library/104622109/Thailand-Flag"
  3456.  
  3457. local CriSbIsGay = false
  3458.  
  3459. local ScreenGui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  3460.  
  3461. ScreenGui.Name = "BIETHESKA"
  3462.  
  3463. local asd = Instance.new("TextButton",ScreenGui)
  3464.  
  3465. asd.BackgroundColor3 = Color3.new(0,0,0)
  3466.  
  3467. asd.BorderColor3 = Color3.new(0,0,0)
  3468.  
  3469. asd.Name = "Cri_SB go fuck yourself"
  3470.  
  3471. asd.Position = UDim2.new(1,-150,1,-90)
  3472.  
  3473. asd.Size = UDim2.new(0,150,0,45)
  3474.  
  3475. asd.Font = "SourceSansBold"
  3476.  
  3477. asd.FontSize = "Size32"
  3478.  
  3479. asd.Text = "BIETHESKA"
  3480.  
  3481. asd.TextColor3 = Color3.new(255,255,255)
  3482.  
  3483. asd.MouseButton1Down:connect(function()
  3484.  
  3485. if CriSbIsGay == false then
  3486.  
  3487. CriSbIsGay = true
  3488.  
  3489. for i,v in pairs(game.Players:GetChildren()) do
  3490.  
  3491. if v:IsA("Player") then
  3492.  
  3493. local YesCryCR_SB = Instance.new("Sound",workspace)
  3494.  
  3495. YesCryCR_SB.SoundId = "http://www.roblox.com/asset/?id=454156239"
  3496.  
  3497. YesCryCR_SB.Volume = 1
  3498.  
  3499. YesCryCR_SB.Looped = true
  3500.  
  3501. YesCryCR_SB:Play()
  3502.  
  3503. end
  3504.  
  3505. end
  3506.  
  3507. wait(12)
  3508.  
  3509. local Sky = Instance.new("Sky",game.Lighting)
  3510.  
  3511. Sky.SkyboxBk = dickbutt
  3512.  
  3513. Sky.SkyboxDn = dickbutt
  3514.  
  3515. Sky.SkyboxFt = dickbutt
  3516.  
  3517. Sky.SkyboxLf = dickbutt
  3518.  
  3519. Sky.SkyboxRt = dickbutt
  3520.  
  3521. Sky.SkyboxUp = dickbutt
  3522.  
  3523. local function modelasd()
  3524.  
  3525. for i,v in pairs(workspace:GetChildren()) do
  3526.  
  3527. if v:IsA("Model") then
  3528.  
  3529. for i,a in pairs(v:GetChildren()) do
  3530.  
  3531. local top = Instance.new("Decal",a)
  3532.  
  3533. top.Face = "Top"
  3534.  
  3535. top.Texture = dickbutt
  3536.  
  3537. local btm = Instance.new("Decal",a)
  3538.  
  3539. btm.Face = "Bottom"
  3540.  
  3541. btm.Texture = dickbutt
  3542.  
  3543. local lft = Instance.new("Decal",a)
  3544.  
  3545. lft.Face = "Left"
  3546.  
  3547. lft.Texture = dickbutt
  3548.  
  3549. local rft = Instance.new("Decal",a)
  3550.  
  3551. rft.Face = "Right"
  3552.  
  3553. rft.Texture = dickbutt
  3554.  
  3555. local frnt = Instance.new("Decal",a)
  3556.  
  3557. frnt.Face = "Front"
  3558.  
  3559. frnt.Texture = dickbutt
  3560.  
  3561. local bk = Instance.new("Decal",a)
  3562.  
  3563. bk.Face = "Back"
  3564.  
  3565. bk.Texture = dickbutt
  3566.  
  3567. local VTest = Instance.new("ParticleEmitter")
  3568.  
  3569. VTest.Parent = a
  3570.  
  3571. VTest.Texture = dickbutt
  3572.  
  3573. VTest.Speed = NumberRange.new(200)
  3574.  
  3575. VTest.Rate = 200
  3576.  
  3577. VTest.Size = NumberSequence.new(10000,10000)
  3578.  
  3579. VTest.Lifetime = NumberRange.new(1000)
  3580.  
  3581. local pepe = coroutine.create(function()
  3582.  
  3583. while wait() do
  3584.  
  3585. local Explosion = Instance.new("Explosion",a)
  3586.  
  3587. Explosion.BlastRadius = 10000
  3588.  
  3589. end
  3590.  
  3591. end)
  3592.  
  3593. coroutine.resume(pepe)
  3594.  
  3595. end
  3596.  
  3597. end
  3598.  
  3599. end
  3600.  
  3601. end
  3602.  
  3603. local function partasd()
  3604.  
  3605. for i,a in pairs(workspace:GetChildren()) do
  3606.  
  3607. local top = Instance.new("Decal",a)
  3608.  
  3609. top.Face = "Top"
  3610.  
  3611. top.Texture = dickbutt
  3612.  
  3613. local btm = Instance.new("Decal",a)
  3614.  
  3615. btm.Face = "Bottom"
  3616.  
  3617. btm.Texture = dickbutt
  3618.  
  3619. local lft = Instance.new("Decal",a)
  3620.  
  3621. lft.Face = "Left"
  3622.  
  3623. lft.Texture = dickbutt
  3624.  
  3625. local rft = Instance.new("Decal",a)
  3626.  
  3627. rft.Face = "Right"
  3628.  
  3629. rft.Texture = dickbutt
  3630.  
  3631. local frnt = Instance.new("Decal",a)
  3632.  
  3633. frnt.Face = "Front"
  3634.  
  3635. frnt.Texture = dickbutt
  3636.  
  3637. local bk = Instance.new("Decal",a)
  3638.  
  3639. bk.Face = "Back"
  3640.  
  3641. bk.Texture = dickbutt
  3642.  
  3643. local VTest = Instance.new("ParticleEmitter")
  3644.  
  3645. VTest.Parent = a
  3646.  
  3647. VTest.Texture = dickbutt
  3648.  
  3649. VTest.Speed = NumberRange.new(200)
  3650.  
  3651. VTest.Rate = 200
  3652.  
  3653. VTest.Lifetime = NumberRange.new(1000)
  3654.  
  3655. VTest.Size = NumberSequence.new(10000,10000)
  3656.  
  3657. local pepe = coroutine.create(function()
  3658.  
  3659. while wait() do
  3660.  
  3661. if a.Name ~= "Head" or "Torso" or "Left Arm" or "Right Arm" or "Left Leg" or "Right Leg" then
  3662.  
  3663. local Explosion = Instance.new("Explosion",a)
  3664.  
  3665. Explosion.BlastRadius = 10000
  3666.  
  3667. end
  3668.  
  3669. end
  3670.  
  3671. end)
  3672.  
  3673. coroutine.resume(pepe)
  3674.  
  3675. end
  3676.  
  3677. end
  3678.  
  3679. partasd()
  3680.  
  3681. modelasd()
  3682.  
  3683. else
  3684.  
  3685. warn("Cri_SB KYS nah im not that guy just hurt urself really bad!")
  3686. warn("Cri_SB is a faggot")
  3687. warn("Cri_SB is a faggot")
  3688. warn("Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Cri_SB is a faggot Yeah he is a fag")
  3689.  
  3690. end
  3691. end)
  3692.  
  3693.  
  3694. return (function() end);
  3695. end)
Add Comment
Please, Sign In to add comment