Advertisement
Finnegan5

hh

Jul 9th, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 86.92 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3.  
  4. -------------------------------------------------------
  5. local Orbd = Instance.new("Part", Character)
  6. Orbd.Name = "Orbd"
  7. Orbd.Shape = Enum.PartType.Ball
  8. Orbd.CanCollide = false
  9. Orbd.BrickColor = BrickColor.new("Really black")
  10. Orbd.Transparency = 0
  11. Orbd.Material = "Neon"
  12. Orbd.Size = Vector3.new(0.3, 0.3, 0.3)
  13. Orbd.TopSurface = Enum.SurfaceType.Smooth
  14. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  15.  
  16. local Weld = Instance.new("Weld", Orbd)
  17. Weld.Part0 = Character.Head
  18. Weld.Part1 = Orbd
  19. Weld.C1 = CFrame.new(-0.26, -0.24, 0.55)
  20.  
  21. --------------------------------------------------------
  22. local Orbvc = Instance.new("Part", Character)
  23. Orbvc.Name = "Orbvc"
  24. Orbvc.Shape = Enum.PartType.Ball
  25. Orbvc.CanCollide = false
  26. Orbvc.BrickColor = BrickColor.new("Really black")
  27. Orbvc.Transparency = 0
  28. Orbvc.Material = "Neon"
  29. Orbvc.Size = Vector3.new(0.3, 0.3, 0.3)
  30. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  31. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  32.  
  33. local Weld = Instance.new("Weld", Orbvc)
  34. Weld.Part0 = Character.Head
  35. Weld.Part1 = Orbvc
  36. Weld.C1 = CFrame.new(0.26, -0.24, 0.55)
  37. ---------------------------------------------------------
  38. local Mask = Instance.new("Part", Character)
  39. Mask.Name = "Mask"
  40. Mask.CanCollide = false
  41. Mask.BrickColor = BrickColor.new("Medium stone grey")
  42. Mask.Transparency = 0
  43. Mask.Material = "Neon"
  44. Mask.Size = Vector3.new(0.1, 0.1, 0.1)
  45. Mask.TopSurface = Enum.SurfaceType.Smooth
  46. Mask.BottomSurface = Enum.SurfaceType.Smooth
  47.  
  48. local Weld = Instance.new("Weld", Mask)
  49. Weld.Part0 = Character.Head
  50. Weld.Part1 = Mask
  51. Weld.C1 = CFrame.new(0, -0.1, 0.8)
  52.  
  53. local M1 = Instance.new("SpecialMesh")
  54. M1.Parent = Mask
  55. M1.MeshId = "http://www.roblox.com/asset/?id=62679079"
  56. M1.Scale = Vector3.new( 1, 1, 2)
  57. ----------------------------------------------------------
  58. local Hood = Instance.new("Part", Character)
  59. Hood.Name = "Hood"
  60. Hood.CanCollide = false
  61. Hood.BrickColor = BrickColor.new("Really black")
  62. Hood.Transparency = 0
  63. Hood.Material = "Plastic"
  64. Hood.Size = Vector3.new(0.1, 0.1, 0.1)
  65. Hood.TopSurface = Enum.SurfaceType.Smooth
  66. Hood.BottomSurface = Enum.SurfaceType.Smooth
  67.  
  68. local Weld = Instance.new("Weld", Hood)
  69. Weld.Part0 = Character.Head
  70. Weld.Part1 = Hood
  71. Weld.C1 = CFrame.new(0, -0.2, 0)
  72.  
  73. local M2 = Instance.new("SpecialMesh")
  74. M2.Parent = Hood
  75. M2.MeshId = "http://www.roblox.com/asset/?id=83499032"
  76. M2.Scale = Vector3.new( 1, 1.2, 1.1)
  77. ------------------------------------------------------
  78.  
  79. p = game.Players.LocalPlayer
  80. char049 = p.Character
  81.  
  82. Player = game:GetService("Players").LocalPlayer
  83. Character = Player.Character
  84. PlayerGui = Player.PlayerGui
  85. Backpack = Player.Backpack
  86. Torso = Character.Torso
  87. Head = Character.Head
  88. Humanoid = Character.Humanoid
  89. RootPart = Character.HumanoidRootPart
  90. RootJoint = RootPart.RootJoint
  91. LeftArm = Character["Left Arm"]
  92. LeftLeg = Character["Left Leg"]
  93. RightArm = Character["Right Arm"]
  94. RightLeg = Character["Right Leg"]
  95. LS = Torso["Left Shoulder"]
  96. LH = Torso["Left Hip"]
  97. RS = Torso["Right Shoulder"]
  98. RH = Torso["Right Hip"]
  99. Humanoid.MaxHealth = math.huge
  100. wait()
  101. Humanoid.Health = Humanoid.MaxHealth
  102. local BC = Character["Body Colors"]
  103. BC.HeadColor = BrickColor.new("Really black")
  104. BC.LeftArmColor = BrickColor.new("Black")
  105. BC.LeftLegColor = BrickColor.new("Really black")
  106. BC.RightArmColor = BrickColor.new("Black")
  107. BC.RightLegColor = BrickColor.new("Really black")
  108. BC.TorsoColor = BrickColor.new("Really black")
  109. for i,v in pairs(Character:children()) do
  110. if v:IsA("Shirt") then
  111. v:Destroy()
  112. end
  113. end
  114. for i,v in pairs(Character:children()) do
  115. if v:IsA("Pants") then
  116. v:Destroy()
  117. end
  118. end
  119. ------Face----------
  120. Character.Head.face.Texture = "rbxassetid://840490876"
  121. ------Remover-------
  122.  
  123. for i,v in pairs(Character:children()) do
  124. if v:IsA("Hat") then
  125. v:Destroy()
  126. end
  127. end
  128. for i,v in pairs(Character:children()) do
  129. if v:IsA("Accessory") then
  130. v:Destroy()
  131. end
  132. end
  133. for i,v in pairs(Character:children()) do
  134. if v:IsA("Hair") then
  135. v:Destroy()
  136. end
  137. end
  138. ------Heavy---------
  139. CV="Maroon"
  140. Player = game.Players.LocalPlayer
  141. char = Player.Character
  142. local txt = Instance.new("BillboardGui", Character)
  143. txt.Adornee = Character .Head
  144. txt.Name = "_status"
  145. txt.Size = UDim2.new(2, 0, 1.2, 0)
  146. txt.StudsOffset = Vector3.new(-9, 8, 0)
  147. local text = Instance.new("TextLabel", txt)
  148. text.Size = UDim2.new(10, 0, 7, 0)
  149. text.FontSize = "Size24"
  150. text.TextScaled = true
  151. text.TextTransparency = 0
  152. text.BackgroundTransparency = 1
  153. text.TextTransparency = 0
  154. text.TextStrokeTransparency = 0
  155. text.Font = "Bodoni"
  156. text.TextStrokeColor3 = Color3.new(255,255,255)
  157.  
  158. v=Instance.new("Part")
  159. v.Name = "ColorBrick"
  160. v.Parent=Player.Character
  161. v.FormFactor="Symmetric"
  162. v.Anchored=true
  163. v.CanCollide=false
  164. v.BottomSurface="Smooth"
  165. v.TopSurface="Smooth"
  166. v.Size=Vector3.new(10,5,3)
  167. v.Transparency=1
  168. v.CFrame=Character.Torso.CFrame
  169. v.BrickColor=BrickColor.new(CV)
  170. v.Transparency=1
  171. text.TextColor3 = Color3.new(0,0,0)
  172. v.Shape="Block"
  173. text.Text = "Scp - 049 Status:EXTREMELY HAPPY"
  174. --------------------
  175. shirt = Instance.new("Shirt", Character)
  176. shirt.Name = "Shirt"
  177. pants = Instance.new("Pants", Character)
  178. pants.Name = "Pants"
  179. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=648758131"
  180. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=472675863"
  181. sound = Instance.new("Sound", Character)
  182. sound.SoundId = "rbxassetid://268742334"
  183. sound.Volume = 100000000
  184. sound.EmitterSize = 25
  185. sound:Play()
  186. sound.Looped = true
  187. Face = Head.face
  188. Neck = Torso.Neck
  189. it = Instance.new
  190. vt = Vector3.new
  191. cf = CFrame.new
  192. rad = math.rad
  193. euler = CFrame.fromEulerAnglesXYZ
  194. angles = CFrame.Angles
  195. Mouse = Player:GetMouse()
  196. coroutine.resume(coroutine.create(function()
  197. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  198. Text = "Fixed by PixelFir3 / Cortana#8155";
  199. Color = Color3.new(0, 1, 1);
  200. Font = Enum.Font.Code;
  201. FontSize = Enum.FontSize.Size24;
  202. })
  203. end))
  204. ArtificialHB = Instance.new("BindableEvent", script)
  205. ArtificialHB.Name = "ArtificialHB"
  206. script:WaitForChild("ArtificialHB")
  207. frame = 0.016666666666667
  208. tf = 0
  209. allowframeloss = false
  210. tossremainder = false
  211. lastframe = tick()
  212. script.ArtificialHB:Fire()
  213. game:GetService("RunService").Heartbeat:connect(function(s, p)
  214.  
  215. tf = tf + s
  216. if frame <= tf then
  217. if allowframeloss then
  218. script.ArtificialHB:Fire()
  219. lastframe = tick()
  220. else
  221. for i = 1, math.floor(tf / frame) do
  222. script.ArtificialHB:Fire()
  223. end
  224. lastframe = tick()
  225. end
  226. if tossremainder then
  227. tf = 0
  228. else
  229. tf = tf - frame * math.floor(tf / frame)
  230. end
  231. end
  232. end
  233. )
  234. local animationspeed = 2
  235. hbwait = function(number)
  236.  
  237. if number == 0 or number == nil then
  238. ArtificialHB.Event:wait()
  239. else
  240. for i = 0, number do
  241. ArtificialHB.Event:wait()
  242. end
  243. end
  244. end
  245.  
  246. local Stats = Instance.new("Folder", Character)
  247. Stats.Name = "Stats"
  248. local Defense = Instance.new("NumberValue", Stats)
  249. Defense.Name = "Defense"
  250. Defense.Value = 0.1
  251. local Movement = Instance.new("NumberValue", Stats)
  252. Movement.Name = "Movement"
  253. Movement.Value = 0.35
  254. local Damage = Instance.new("NumberValue", Stats)
  255. Damage.Name = "Damage"
  256. Damage.Value = 0
  257. local Mana = Instance.new("NumberValue", Stats)
  258. Mana.Name = "Mana"
  259. Mana.Value = 0
  260. local Rooted = Instance.new("BoolValue", Stats)
  261. Rooted.Name = "Rooted"
  262. Rooted.Value = false
  263. local BlockValue = Instance.new("BoolValue", Stats)
  264. BlockValue.Name = "BlockValue"
  265. BlockValue.Value = false
  266. local StaggerHitAnim = Instance.new("BoolValue", Stats)
  267. StaggerHitAnim.Name = "StaggerHitAnim"
  268. StaggerHitAnim.Value = false
  269. local StaggerAnim = Instance.new("BoolValue", Stats)
  270. StaggerAnim.Name = "StaggerAnim"
  271. StaggerAnim.Value = false
  272. local StunAnim = Instance.new("BoolValue", Stats)
  273. StunAnim.Name = "StunAnim"
  274. StunAnim.Value = false
  275. local StunValue = Instance.new("NumberValue", Stats)
  276. StunValue.Name = "StunValue"
  277. StunValue.Value = 0
  278. local CanCrit = Instance.new("BoolValue", Stats)
  279. CanCrit.Name = "CanCrit"
  280. CanCrit.Value = false
  281. local CritChance = Instance.new("NumberValue", Stats)
  282. CritChance.Name = "CritChance"
  283. CritChance.Value = 20
  284. local CanPenetrateArmor = Instance.new("BoolValue", Stats)
  285. CanPenetrateArmor.Name = "CanPenetrateArmor"
  286. CanPenetrateArmor.Value = false
  287. local AntiTeamKill = Instance.new("BoolValue", Stats)
  288. AntiTeamKill.Name = "AntiTeamKill"
  289. AntiTeamKill.Value = false
  290. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  291. RootCF = angles(rad(-90), 0, rad(180))
  292. local idle = 0
  293. local Anim = "Idle"
  294. local animtype = math.floor(math.random(1, 3))
  295. local attacktype = 1
  296. local attack = false
  297. local equipped = false
  298. local LastPoint = nil
  299. local staggerhitanim = false
  300. local staggeranim = false
  301. local stunanim = false
  302. local CritChanceNumber = 0
  303. local idlen = 0
  304. local donum = 0
  305. local sine = 0
  306. local change = 2 / animationspeed
  307. local walkinganim = false
  308. local handidle = false
  309. local walk = 0
  310. local stundelay = 0
  311. local manadelay = 0
  312. local robloxidleanimation = Instance.new("Animation", Torso)
  313. robloxidleanimation.Name = "robloxidleanimation"
  314. robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  315. local Animator = Humanoid:FindFirstChild("Animator")
  316. local Animate = Character:FindFirstChild("Animate")
  317. local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297}
  318. local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452}
  319. local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119}
  320. local HitBlockSounds = {199148933, 199148947}
  321. local cooldown1 = 0
  322. local cooldown2 = 0
  323. local cooldown3 = 0
  324. local cooldown4 = 0
  325. local scrn = Instance.new("ScreenGui", PlayerGui)
  326. local ud = UDim2.new
  327. local c3 = Color3.new
  328. local skillcolorscheme = c3(1, 1, 1)
  329. subtractmana = function(k)
  330.  
  331. if k <= Mana.Value then
  332. Mana.Value = Mana.Value - k
  333. end
  334. end
  335.  
  336. local co1 = 0
  337. local co2 = 0
  338. local co3 = 0
  339. local co4 = 0
  340. local maxmana = 0
  341. local maxstun = 1
  342. local recovermana = 0
  343. local losestun = 0
  344. local stunwait = 0
  345. local manawait = 0
  346. local skill1mana = 0
  347. local skill2mana = 0
  348. local skill3mana = 0
  349. local skill4mana = 0
  350. local menuupdatespeed = 0
  351. local constantupdate = false
  352. local showstats = false
  353. local allowstunbar = false
  354. local CustomColor = Torso.BrickColor
  355. local Colorpart1 = CustomColor.r
  356. local Colorpart2 = CustomColor.g
  357. local Colorpart3 = CustomColor.b
  358. local InverseColor = BrickColor.new(Color3.new(1 - Colorpart1, 1 - Colorpart2, 1 - Colorpart3))
  359. makeframe = function(par, trans, pos, size, color, name)
  360.  
  361. local frame = Instance.new("Frame")
  362. frame.Parent = par
  363. frame.BackgroundTransparency = trans
  364. frame.BorderSizePixel = 2
  365. frame.Position = pos
  366. frame.Size = size
  367. frame.BackgroundColor3 = color
  368. frame.Name = name
  369. return frame
  370. end
  371.  
  372. makelabel = function(par, text, trans, stroketrans, name)
  373.  
  374. local label = Instance.new("TextLabel")
  375. label.Parent = par
  376. label.BackgroundTransparency = 1
  377. label.Size = ud(1, 0, 1, 0)
  378. label.Position = ud(0, 0, 0, 0)
  379. label.TextColor3 = c3(255, 255, 255)
  380. label.TextStrokeTransparency = stroketrans
  381. label.TextTransparency = trans
  382. label.FontSize = Enum.FontSize.Size32
  383. label.Font = Enum.Font.Legacy
  384. label.BorderSizePixel = 0
  385. label.TextScaled = true
  386. label.Text = text
  387. label.Name = name
  388. return label
  389. end
  390.  
  391. framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1")
  392. framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2")
  393. framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3")
  394. framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4")
  395. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1")
  396. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2")
  397. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3")
  398. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4")
  399. text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1")
  400. text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2")
  401. text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3")
  402. text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4")
  403. manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar")
  404. manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover")
  405. manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
  406. healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Bar")
  407. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover")
  408. healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
  409. if allowstunbar == true then
  410. stunframe = makeframe(scrn, 0.5, ud(0.5, 0, 0.78, 0), ud(0.26, 0, 0, 0), c3(1, 1, 0.19607843137255), "Stun Frame")
  411. stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar")
  412. stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
  413. end
  414. if showstats == true then
  415. defenseframe = makeframe(scrn, 0.5, ud(0.23, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 0.3921568627451, 1), "Defense Frame")
  416. damageframe = makeframe(scrn, 0.5, ud(0.3225, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(1, 0.3921568627451, 0.3921568627451), "Damage Frame")
  417. movementframe = makeframe(scrn, 0.5, ud(0.415, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 1, 0.3921568627451), "Movement Frame")
  418. defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text")
  419. damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text")
  420. movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text")
  421. end
  422. NoOutline = function(Part)
  423.  
  424. Part.TopSurface = 10
  425. end
  426.  
  427. local weldBetween = function(a, b)
  428.  
  429. local weldd = Instance.new("ManualWeld")
  430. weldd.Part0 = a
  431. weldd.Part1 = b
  432. weldd.C0 = CFrame.new()
  433. weldd.C1 = b.CFrame:inverse() * a.CFrame
  434. weldd.Parent = a
  435. return weldd
  436. end
  437.  
  438. nooutline = function(part)
  439.  
  440. part.TopSurface = 10
  441. end
  442.  
  443. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  444.  
  445. local fp = it("Part")
  446. fp.formFactor = formfactor
  447. fp.Parent = parent
  448. fp.Reflectance = reflectance
  449. fp.Transparency = transparency
  450. fp.CanCollide = false
  451. fp.Locked = true
  452. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  453. fp.Name = name
  454. fp.Size = size
  455. fp.Position = Character.Torso.Position
  456. nooutline(fp)
  457. fp.Material = material
  458. fp:BreakJoints()
  459. return fp
  460. end
  461.  
  462. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  463.  
  464. local mesh = it(Mesh)
  465. mesh.Parent = part
  466. if Mesh == "SpecialMesh" then
  467. mesh.MeshType = meshtype
  468. mesh.MeshId = meshid
  469. end
  470. mesh.Offset = offset
  471. mesh.Scale = scale
  472. return mesh
  473. end
  474.  
  475. weld = function(parent, part0, part1, c0, c1)
  476.  
  477. local weld = it("Motor")
  478. weld.Parent = parent
  479. weld.Part0 = part0
  480. weld.Part1 = part1
  481. weld.C0 = c0
  482. weld.C1 = c1
  483. return weld
  484. end
  485.  
  486. local WeaponName = "Russian Kick"
  487. local ClassName = "Russian Kick"
  488. local PlayerSize = 1
  489. local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  490. local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  491. if PlayerSize ~= 1 then
  492. RootPart.Size = RootPart.Size * PlayerSize
  493. Torso.Size = Torso.Size * PlayerSize
  494. Head.Size = Head.Size * PlayerSize
  495. RightArm.Size = RightArm.Size * PlayerSize
  496. LeftArm.Size = LeftArm.Size * PlayerSize
  497. RightLeg.Size = RightLeg.Size * PlayerSize
  498. LeftLeg.Size = LeftLeg.Size * PlayerSize
  499. RootJoint.Parent = RootPart
  500. Neck.Parent = Torso
  501. LS.Parent = Torso
  502. RS.Parent = Torso
  503. LH.Parent = Torso
  504. RH.Parent = Torso
  505. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  506. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  507. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  508. RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  509. LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  510. RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  511. LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  512. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  513. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  514. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  515. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  516. for _,v in pairs(Character:GetChildren()) do
  517. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  518. v.Parent = nil
  519. v.Parent = Character
  520. v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize
  521. for _,b in pairs(v.Handle:GetChildren()) do
  522. if b.ClassName == "Weld" or b.ClassName == "Motor" then
  523. local p1 = b.Part1
  524. b.Part1 = nil
  525. local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components()
  526. local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components()
  527. b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012)
  528. b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112)
  529. b.Part1 = p1
  530. end
  531. end
  532. end
  533. end
  534. end
  535. m = Instance.new("Model", Character)
  536. m.Name = WeaponName
  537. Effects = Instance.new("Folder", m)
  538. Effects.Name = "Effects"
  539. Humanoid.Died:connect(function()
  540.  
  541. attack = true
  542. for _,v in pairs(Character:GetChildren()) do
  543. if v.ClassName == "Model" then
  544. v:Destroy()
  545. end
  546. end
  547. end
  548. )
  549. for i,v in pairs(Character:GetChildren()) do
  550. if v.ClassName == "Model" then
  551. for _,c in pairs(v:GetChildren()) do
  552. if c.ClassName == "Part" then
  553. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  554. end
  555. end
  556. end
  557. end
  558. print(ClassName .. " loaded.")
  559. clerp = function(a, b, t)
  560. return a:lerp(b, t)
  561. end
  562.  
  563. positiveangle = function(number)
  564.  
  565. if number > 0 then
  566. number = 0
  567. end
  568. return number
  569. end
  570.  
  571. negativeangle = function(number)
  572.  
  573. if number < 0 then
  574. number = 0
  575. end
  576. return number
  577. end
  578.  
  579. so = function(id, par, vol, pit)
  580.  
  581. coroutine.resume(coroutine.create(function()
  582.  
  583. local sou = Instance.new("Sound", par or workspace)
  584. sou.Volume = vol
  585. sou.Pitch = pit or 1
  586. sou.SoundId = "http://roblox.com/asset/?id=" .. id
  587. hbwait()
  588. sou:play()
  589. game:GetService("Debris"):AddItem(sou, 10)
  590. end
  591. ))
  592. end
  593.  
  594. GetDistance = function(Part1, Part2, magnitude)
  595.  
  596. local target = Part1.Position - Part2.Position
  597. local mag = target.magnitude
  598. if mag <= magnitude then
  599. return true
  600. else
  601. return false
  602. end
  603. end
  604.  
  605. rayCast = function(Pos, Dir, Max, Ignore)
  606.  
  607. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  608. end
  609.  
  610. DamageStatLabel = function(labeltype, cframe, text, color)
  611.  
  612. local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
  613. c.CFrame = cf(cframe.p + vt(0, 1.5, 0))
  614. game:GetService("Debris"):AddItem(c, 5)
  615. Instance.new("BodyGyro", c)
  616. local f = Instance.new("BodyPosition", c)
  617. f.P = 2000
  618. f.D = 100
  619. f.maxForce = vt(math.huge, math.huge, math.huge)
  620. if labeltype == "Normal" then
  621. f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2))
  622. else
  623. if labeltype == "Debuff" then
  624. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  625. else
  626. if labeltype == "Interruption" then
  627. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  628. end
  629. end
  630. end
  631. game:GetService("Debris"):AddItem(c, 5)
  632. local bg = Instance.new("BillboardGui", c)
  633. bg.Adornee = c
  634. bg.Size = UDim2.new(2.5, 0, 2.5, 0)
  635. bg.StudsOffset = vt(-2, 2, 0)
  636. bg.AlwaysOnTop = false
  637. local tl = Instance.new("TextLabel", bg)
  638. tl.BackgroundTransparency = 1
  639. tl.Size = UDim2.new(2.5, 0, 2.5, 0)
  640. tl.Text = text
  641. tl.Font = Enum.Font.SourceSans
  642. tl.FontSize = Enum.FontSize.Size42
  643. tl.TextColor3 = color
  644. tl.TextScaled = false
  645. tl.TextStrokeTransparency = 0
  646. tl.TextScaled = true
  647. tl.TextWrapped = true
  648. f.Parent = c
  649. coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel)
  650.  
  651. wait(0.25)
  652. for i = 1, 5 do
  653. wait()
  654. BodyPosition.position = Part.Position - vt(0, 0.5, 0)
  655. end
  656. wait(1.25)
  657. for i = 1, 5 do
  658. wait()
  659. TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2
  660. TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2
  661. BodyPosition.position = Part.Position + vt(0, 0.5, 0)
  662. end
  663. Part.Parent = nil
  664. end
  665. ), c, f, tl)
  666. end
  667.  
  668. IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  669.  
  670. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  671.  
  672. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  673.  
  674. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  675. Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount
  676. if ShowTheStat == true then
  677. if Stat == "Defense" then
  678. DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1))
  679. else
  680. if Stat == "Damage" then
  681. DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1))
  682. else
  683. if Stat == "Movement" then
  684. DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1))
  685. end
  686. end
  687. end
  688. end
  689. coroutine.resume(coroutine.create(function(CurrentDecrease)
  690.  
  691. wait(Duration)
  692. CurrentDecrease.Value = CurrentDecrease.Value - Amount
  693. end
  694. ), Location.Stats[Stat])
  695. end
  696. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  697. end
  698.  
  699. DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  700.  
  701. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  702.  
  703. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  704.  
  705. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  706. Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount
  707. if ShowTheStat == true then
  708. if Stat == "Defense" then
  709. DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1))
  710. else
  711. if Stat == "Damage" then
  712. DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1))
  713. else
  714. if Stat == "Movement" then
  715. DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1))
  716. end
  717. end
  718. end
  719. end
  720. coroutine.resume(coroutine.create(function(CurrentDecrease)
  721.  
  722. wait(Duration)
  723. CurrentDecrease.Value = CurrentDecrease.Value + Amount
  724. end
  725. ), Location.Stats[Stat])
  726. end
  727. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  728. end
  729.  
  730. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  731.  
  732. if hit.Parent == nil then
  733. return
  734. end
  735. h = hit.Parent:FindFirstChild("Humanoid")
  736. for _,v in pairs(hit.Parent:GetChildren()) do
  737. if v:IsA("Humanoid") then
  738. h = v
  739. end
  740. end
  741. if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then
  742. StaggerHitAnim.Value = true
  743. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1)
  744. return
  745. end
  746. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  747. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  748. end
  749. if hit.Parent.className == "Hat" then
  750. hit = hit.Parent.Parent:FindFirstChild("Head")
  751. end
  752. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  753. if hit.Parent:FindFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  754. return
  755. end
  756. if AntiTeamKill.Value == true and Player.Neutral == false and game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
  757. return
  758. end
  759. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then
  760. return
  761. end
  762. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  763. hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun
  764. end
  765. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then
  766. hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true
  767. end
  768. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then
  769. if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then
  770. DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  771. local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats)
  772. BlockDebounce.Name = "BlockDebounce"
  773. BlockDebounce.Value = true
  774. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  775. end
  776. do
  777. if ranged ~= true then
  778. do
  779. if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then
  780. local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats)
  781. BlockDebounce2.Name = "BlockDebounce2"
  782. BlockDebounce2.Value = true
  783. game:GetService("Debris"):AddItem(BlockDebounce2, 0.1)
  784. so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1)
  785. end
  786. hit.Parent.Stats:FindFirstChild("BlockValue").Value = false
  787. StaggerAnim.Value = true
  788. do return end
  789. if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then
  790. if DecreaseTheStat == "Defense" then
  791. DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  792. else
  793. if DecreaseTheStat == "Damage" then
  794. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  795. else
  796. if DecreaseTheStat == "Movement" then
  797. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  798. end
  799. end
  800. end
  801. end
  802. local D = math.random(minim, maxim) * Damage.Value
  803. if hit.Parent:FindFirstChild("Stats") ~= nil then
  804. if hit.Parent.Stats:FindFirstChild("Defense") then
  805. if CanPenetrateArmor.Value == true then
  806. D = D / hit.Parent.Stats:FindFirstChild("Defense").Value
  807. -- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1
  808.  
  809. if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then
  810. CritChanceNumber = math.random(1, CritChance.Value)
  811. if CritChanceNumber == CritChance.Value then
  812. D = D * 2
  813. end
  814. end
  815. D = math.floor(D)
  816. h.Health = h.Health - D
  817. if D <= 3 and staggerhit == true then
  818. if ranged ~= true then
  819. StaggerHitAnim.Value = true
  820. end
  821. if ranged ~= true then
  822. so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1)
  823. end
  824. else
  825. if D > 3 and ranged ~= true then
  826. so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1)
  827. end
  828. end
  829. if D > 3 and D < 20 then
  830. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  831. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  832. so("296102734", hit, 1, 1)
  833. else
  834. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0))
  835. end
  836. else
  837. if D >= 20 then
  838. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  839. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  840. so("296102734", hit, 1, 1)
  841. else
  842. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0))
  843. end
  844. else
  845. if D <= 3 then
  846. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  847. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  848. so("296102734", hit, 1, 1)
  849. else
  850. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647))
  851. end
  852. end
  853. end
  854. end
  855. do
  856. if Type == "Normal" then
  857. local vp = Instance.new("BodyVelocity")
  858. vp.P = 500
  859. vp.maxForce = vt(math.huge, 0, math.huge)
  860. if KnockbackType == 1 then
  861. vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  862. else
  863. if KnockbackType == 2 then
  864. vp.Velocity = Property.CFrame.lookVector * knockback
  865. end
  866. end
  867. if knockback > 0 then
  868. vp.Parent = hit.Parent.Torso
  869. end
  870. game:GetService("Debris"):AddItem(vp, 0.5)
  871. end
  872. local DebounceHit = Instance.new("BoolValue", hit.Parent)
  873. DebounceHit.Name = "DebounceHit"
  874. DebounceHit.Value = true
  875. game:GetService("Debris"):AddItem(DebounceHit, Delay)
  876. end
  877. end
  878. end
  879. end
  880. end
  881. end
  882. end
  883. end
  884. end
  885. end
  886.  
  887. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  888.  
  889. for _,c in pairs(workspace:GetChildren()) do
  890. local hum = (c:FindFirstChild("Humanoid"))
  891. local head = nil
  892. if hum ~= nil then
  893. head = c:FindFirstChild("Torso")
  894. if head ~= nil then
  895. local targ = head.Position - Part.Position
  896. local mag = targ.magnitude
  897. if mag <= magni and c.Name ~= Player.Name then
  898. Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  899. end
  900. end
  901. do
  902. for _,d in pairs(c:GetChildren()) do
  903. if d.ClassName == "Model" and ranged ~= true then
  904. head = d:FindFirstChild("Hitbox")
  905. if head ~= nil then
  906. local targ = head.Position - Part.Position
  907. local mag = targ.magnitude
  908. if mag <= magni and c.Name ~= Player.Name then
  909. local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  910. hitrefpart.Anchored = true
  911. hitrefpart.CFrame = cf(head.Position)
  912. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1)
  913. StaggerHitAnim.Value = true
  914. end
  915. end
  916. end
  917. end
  918. do
  919. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT
  920.  
  921. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT
  922.  
  923. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT
  924.  
  925. end
  926. end
  927. end
  928. end
  929. end
  930.  
  931. MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead)
  932.  
  933. if Player.Neutral == true then
  934. if Type == "Buff" then
  935. IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  936. else
  937. if Type == "Debuff" then
  938. DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  939. end
  940. end
  941. end
  942. for _,c in pairs(workspace:GetChildren()) do
  943. local hum = (c:FindFirstChild("Humanoid"))
  944. local head = nil
  945. if hum ~= nil then
  946. head = c:FindFirstChild("Torso")
  947. if head ~= nil then
  948. local targ = head.Position - Part.Position
  949. local mag = targ.magnitude
  950. -- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1
  951.  
  952. if ApplyToOthersInstead == true and mag <= Magni and c.Name ~= Player.Name and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  953. if Type == "Buff" then
  954. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  955. else
  956. if Type == "Debuff" then
  957. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  958. end
  959. end
  960. end
  961. end
  962. end
  963. if ApplyToOthersInstead == false and mag <= Magni and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  964. if Type == "Buff" then
  965. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  966. else
  967. if Type == "Debuff" then
  968. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  969. end
  970. end
  971. end
  972. end
  973. end
  974.  
  975. Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last)
  976.  
  977. local magz = p0 - p1.magnitude
  978. local curpos = p0
  979. local trz = {-ofs, ofs}
  980. for i = 1, tym do
  981. local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym))
  982. do
  983. li.Anchored = true
  984. local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  985. local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz
  986. if tym == i then
  987. local magz2 = curpos - p1.magnitude
  988. li.Size = vt(th, th, magz2)
  989. li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2)
  990. else
  991. do
  992. do
  993. li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2)
  994. curpos = li.CFrame * cf(0, 0, magz / tym / 2).p
  995. game.Debris:AddItem(li, last)
  996. coroutine.resume(coroutine.create(function()
  997.  
  998. while li.Transparency ~= 1 do
  999. for i = 0, 1, last do
  1000. hbwait()
  1001. li.Transparency = li.Transparency + 0.1 / last
  1002. end
  1003. end
  1004. end
  1005. ))
  1006. end
  1007. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1008.  
  1009. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT
  1010.  
  1011. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT
  1012.  
  1013. end
  1014. end
  1015. end
  1016. end
  1017. end
  1018.  
  1019. MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1020.  
  1021. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1022. prt.Anchored = true
  1023. prt.CFrame = cframe
  1024. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1025. game:GetService("Debris"):AddItem(prt, 10)
  1026. coroutine.resume(coroutine.create(function(Part, Mesh)
  1027.  
  1028. for i = 0, 1, delay do
  1029. hbwait()
  1030. Part.CFrame = Part.CFrame
  1031. Part.Transparency = i
  1032. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1033. end
  1034. Part.Parent = nil
  1035. end
  1036. ), prt, msh)
  1037. end
  1038.  
  1039. MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1040.  
  1041. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1042. prt.Anchored = true
  1043. prt.CFrame = cframe
  1044. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1))
  1045. game:GetService("Debris"):AddItem(prt, 10)
  1046. coroutine.resume(coroutine.create(function(Part, Mesh)
  1047.  
  1048. for i = 0, 1, delay do
  1049. hbwait()
  1050. Part.CFrame = Part.CFrame
  1051. Part.Transparency = i
  1052. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1053. end
  1054. Part.Parent = nil
  1055. end
  1056. ), prt, msh)
  1057. end
  1058.  
  1059. MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  1060.  
  1061. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1062. prt.Anchored = true
  1063. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1064. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1065. game:GetService("Debris"):AddItem(prt, 10)
  1066. coroutine.resume(coroutine.create(function(Part, Mesh)
  1067.  
  1068. for i = 0, 1, delay do
  1069. hbwait()
  1070. if rotate == true then
  1071. Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1072. end
  1073. Part.Transparency = i
  1074. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1075. end
  1076. Part.Parent = nil
  1077. end
  1078. ), prt, msh)
  1079. end
  1080.  
  1081. MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  1082.  
  1083. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1084. prt.Anchored = true
  1085. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1086. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1087. game:GetService("Debris"):AddItem(prt, 10)
  1088. CF = prt.CFrame
  1089. num = math.random(5, 20)
  1090. coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num)
  1091.  
  1092. for i = 0, 1, delay do
  1093. hbwait()
  1094. if rotate == true then
  1095. Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1096. else
  1097. Part.CFrame = CF2 * cf(0, i * Num, 0)
  1098. end
  1099. Part.Transparency = i
  1100. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1101. end
  1102. Part.Parent = nil
  1103. end
  1104. ), prt, msh, CF, num)
  1105. end
  1106.  
  1107. MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1108.  
  1109. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1110. prt.Anchored = true
  1111. prt.CFrame = cframe
  1112. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1113. game:GetService("Debris"):AddItem(prt, 10)
  1114. coroutine.resume(coroutine.create(function(Part, Mesh)
  1115.  
  1116. for i = 0, 1, delay do
  1117. hbwait()
  1118. Part.Transparency = i
  1119. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1120. end
  1121. Part.Parent = nil
  1122. end
  1123. ), prt, msh)
  1124. end
  1125.  
  1126. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1127.  
  1128. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1129. prt.Anchored = true
  1130. prt.CFrame = cframe
  1131. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1132. game:GetService("Debris"):AddItem(prt, 10)
  1133. coroutine.resume(coroutine.create(function(Part, Mesh)
  1134.  
  1135. for i = 0, 1, delay do
  1136. hbwait()
  1137. Part.Transparency = i
  1138. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1139. end
  1140. Part.Parent = nil
  1141. end
  1142. ), prt, msh)
  1143. end
  1144.  
  1145. MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1146.  
  1147. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1148. prt.Anchored = true
  1149. prt.CFrame = cframe
  1150. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  1151. game:GetService("Debris"):AddItem(prt, 10)
  1152. coroutine.resume(coroutine.create(function(Part, Mesh)
  1153.  
  1154. for i = 0, 1, delay do
  1155. hbwait()
  1156. Part.Transparency = i
  1157. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1158. end
  1159. Part.Parent = nil
  1160. end
  1161. ), prt, msh)
  1162. end
  1163.  
  1164. BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay)
  1165.  
  1166. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1167. prt.Anchored = true
  1168. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1169. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1170. game:GetService("Debris"):AddItem(prt, 10)
  1171. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  1172.  
  1173. CF = Part.CFrame
  1174. Numbb = 0
  1175. randnumb = math.random() - math.random()
  1176. for i = 0, 1, delay do
  1177. hbwait()
  1178. CF = CF * cf(0, 1, 0)
  1179. if rotate == true then
  1180. Part.CFrame = CF * angles(Numbb, 0, 0)
  1181. else
  1182. if rotate == false then
  1183. Part.CFrame = CF
  1184. end
  1185. end
  1186. Part.Transparency = i
  1187. Numbb = Numbb + (randnumb)
  1188. end
  1189. Part.Parent = nil
  1190. end
  1191. ), prt, CF, Numbb, randnumb)
  1192. end
  1193.  
  1194. ElecEffect = function(brickcolor, material, cf, x, y, z, delay)
  1195.  
  1196. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1197. prt.Anchored = true
  1198. prt.CFrame = cf
  1199. xval = math.random()
  1200. yval = math.random()
  1201. zval = math.random()
  1202. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z))
  1203. game:GetService("Debris"):AddItem(prt, 10)
  1204. coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal)
  1205.  
  1206. for i = 0, 1, delay do
  1207. hbwait()
  1208. Part.CFrame = Part.CFrame
  1209. xvaal = xvaal - 0.1 * (delay * 10)
  1210. yvaal = yvaal - 0.1 * (delay * 10)
  1211. zvaal = zvaal - 0.1 * (delay * 10)
  1212. Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal)
  1213. Part.Transparency = i
  1214. end
  1215. Part.Parent = nil
  1216. end
  1217. ), prt, msh, xval, yval, zval)
  1218. end
  1219.  
  1220. TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay)
  1221.  
  1222. local magnitudecframe = currentcf.p - oldcf.p.magnitude
  1223. if magnitudecframe > 0.01 then
  1224. local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1))
  1225. prt.Anchored = true
  1226. prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0)
  1227. local TheMeshType = "BlockMesh"
  1228. if meshtype == "Cylinder" then
  1229. TheMeshType = "CylinderMesh"
  1230. end
  1231. local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size))
  1232. game:GetService("Debris"):AddItem(prt, 10)
  1233. coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame)
  1234.  
  1235. for i = 0, 1, delay do
  1236. hbwait()
  1237. Part.Transparency = i
  1238. Mesh.Scale = Mesh.Scale + vt(x, y, z)
  1239. end
  1240. Part.Parent = nil
  1241. end
  1242. ), prt, msh, currentcf, oldcf)
  1243. end
  1244. end
  1245.  
  1246. ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay)
  1247.  
  1248. local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt())
  1249. prt.Anchored = true
  1250. prt.CFrame = cframe
  1251. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0))
  1252. game:GetService("Debris"):AddItem(prt, 10)
  1253. local TheLastPoint = cframe
  1254. coroutine.resume(coroutine.create(function(Part)
  1255.  
  1256. for i = 1, duration do
  1257. hbwait()
  1258. Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0)
  1259. TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay)
  1260. TheLastPoint = Part.CFrame
  1261. end
  1262. Part.Parent = nil
  1263. end
  1264. ), prt)
  1265. end
  1266.  
  1267. MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1268.  
  1269. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1270. prt.Anchored = true
  1271. prt.CFrame = cframe
  1272. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1))
  1273. game:GetService("Debris"):AddItem(prt, 10)
  1274. coroutine.resume(coroutine.create(function(Part, Mesh)
  1275.  
  1276. for i = 0, 1, delay do
  1277. hbwait()
  1278. Part.Transparency = i
  1279. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1280. end
  1281. Part.Parent = nil
  1282. end
  1283. ), prt, msh)
  1284. end
  1285.  
  1286. MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1287.  
  1288. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1289. prt.Anchored = true
  1290. prt.CFrame = cframe
  1291. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1))
  1292. game:GetService("Debris"):AddItem(prt, 10)
  1293. coroutine.resume(coroutine.create(function(Part, Mesh)
  1294.  
  1295. for i = 0, 1, delay do
  1296. hbwait()
  1297. Part.Transparency = i
  1298. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1299. end
  1300. Part.Parent = nil
  1301. end
  1302. ), prt, msh)
  1303. end
  1304.  
  1305. MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1306.  
  1307. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1308. prt.Anchored = true
  1309. prt.CFrame = cframe
  1310. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1))
  1311. game:GetService("Debris"):AddItem(prt, 10)
  1312. coroutine.resume(coroutine.create(function(Part, Mesh)
  1313.  
  1314. for i = 0, 1, delay do
  1315. hbwait()
  1316. Part.Transparency = i
  1317. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1318. end
  1319. Part.Parent = nil
  1320. end
  1321. ), prt, msh)
  1322. end
  1323.  
  1324. MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1325.  
  1326. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1327. prt.Anchored = true
  1328. prt.CFrame = cframe
  1329. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1))
  1330. game:GetService("Debris"):AddItem(prt, 10)
  1331. coroutine.resume(coroutine.create(function(Part, Mesh)
  1332.  
  1333. for i = 0, 1, delay do
  1334. hbwait()
  1335. Part.Transparency = i
  1336. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1337. end
  1338. Part.Parent = nil
  1339. end
  1340. ), prt, msh)
  1341. end
  1342.  
  1343. MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1344.  
  1345. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1346. prt.Anchored = true
  1347. prt.CFrame = cframe
  1348. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1349. game:GetService("Debris"):AddItem(prt, 10)
  1350. coroutine.resume(coroutine.create(function(Part, Mesh)
  1351.  
  1352. for i = 0, 1, delay do
  1353. hbwait()
  1354. Part.Transparency = i
  1355. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1356. end
  1357. Part.Parent = nil
  1358. end
  1359. ), prt, msh)
  1360. end
  1361.  
  1362. local startequipped = true
  1363. local startequippedwithequipanimation = false
  1364. local disableanimator = true
  1365. local disableanimate = true
  1366. local alternatewalk = false
  1367. local hidemenu = false
  1368. local allowmenutofunction = false
  1369. local allowabilitiestofunction = false
  1370. local canunequiporequip = false
  1371. local allowwalking = false
  1372. local disablemovingarms = false
  1373. local usemotorsinsteadofwelds = false
  1374. local leftarm = false
  1375. local rightarm = false
  1376. local allowhopperbin = false
  1377. local showstunbar = false
  1378. local walkspeeddependsonmovementvalue = true
  1379. local alternatemanaregensystem = false
  1380. local showhealthmanaandstunnumbers = false
  1381. local changebarcolorsifnotenoughmana = false
  1382. local disablejump = false
  1383. if hidemenu == true or allowmenutofunction == false then
  1384. for _,v in pairs(scrn:GetChildren()) do
  1385. if v.ClassName == "Frame" or v.ClassName == "TextLabel" then
  1386. v.Visible = false
  1387. v.BorderSizePixel = 0
  1388. end
  1389. end
  1390. end
  1391. do
  1392. Humanoid.Changed:connect(function(Jump)
  1393.  
  1394. if Jump == "Jump" and disablejump == true then
  1395. Humanoid.Jump = false
  1396. end
  1397. end
  1398. )
  1399. if allowmenutofunction == true then
  1400. for _,v in pairs(scrn:GetChildren()) do
  1401. if v.ClassName == "Frame" then
  1402. for _,b in pairs(v:GetChildren()) do
  1403. if b.ClassName == "TextLabel" then
  1404. coroutine.resume(coroutine.create(function(TheTextLabel)
  1405.  
  1406. wait(menuupdatespeed)
  1407. for i = 1, 0, -0.1 do
  1408. hbwait()
  1409. TheTextLabel.TextTransparency = i
  1410. TheTextLabel.TextStrokeTransparency = i
  1411. end
  1412. TheTextLabel.TextTransparency = 0
  1413. TheTextLabel.TextStrokeTransparency = 0
  1414. end
  1415. ), b)
  1416. if showstats == true then
  1417. coroutine.resume(coroutine.create(function(TheTextLabel)
  1418.  
  1419. wait(menuupdatespeed)
  1420. for i = 1, 0, -0.1 do
  1421. hbwait()
  1422. TheTextLabel.TextTransparency = i
  1423. TheTextLabel.TextStrokeTransparency = i
  1424. end
  1425. TheTextLabel.TextTransparency = 0
  1426. TheTextLabel.TextStrokeTransparency = 0
  1427. end
  1428. ), b)
  1429. end
  1430. if showstunbar == true then
  1431. coroutine.resume(coroutine.create(function(TheTextLabel)
  1432.  
  1433. wait(menuupdatespeed)
  1434. for i = 1, 0, -0.1 do
  1435. hbwait()
  1436. TheTextLabel.TextTransparency = i
  1437. TheTextLabel.TextStrokeTransparency = i
  1438. end
  1439. TheTextLabel.TextTransparency = 0
  1440. TheTextLabel.TextStrokeTransparency = 0
  1441. end
  1442. ), b)
  1443. end
  1444. if allowabilitiestofunction == true then
  1445. coroutine.resume(coroutine.create(function(TheTextLabel)
  1446.  
  1447. wait(menuupdatespeed)
  1448. for i = 1, 0, -0.1 do
  1449. hbwait()
  1450. TheTextLabel.TextTransparency = i
  1451. TheTextLabel.TextStrokeTransparency = i
  1452. end
  1453. TheTextLabel.TextTransparency = 0
  1454. TheTextLabel.TextStrokeTransparency = 0
  1455. end
  1456. ), b)
  1457. end
  1458. end
  1459. end
  1460. end
  1461. end
  1462. end
  1463. do
  1464. if allowhopperbin == true then
  1465. if script.Parent.className ~= "HopperBin" then
  1466. Tool = Instance.new("HopperBin")
  1467. Tool.Parent = Backpack
  1468. Tool.Name = WeaponName
  1469. script.Parent = Tool
  1470. end
  1471. Bin = script.Parent
  1472. end
  1473. if disablemovingarms == true then
  1474. RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1475. LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1476. RSH = nil
  1477. if usemotorsinsteadofwelds == true then
  1478. RW = Instance.new("Motor")
  1479. LW = Instance.new("Motor")
  1480. else
  1481. RW = Instance.new("Weld")
  1482. LW = Instance.new("Weld")
  1483. end
  1484. RW.Name = "Right Shoulder"
  1485. LW.Name = "Left Shoulder"
  1486. RSH = Torso["Right Shoulder"]
  1487. LSH = Torso["Left Shoulder"]
  1488. RSH.Parent = Torso
  1489. LSH.Parent = Torso
  1490. RW.Name = "Right Shoulder"
  1491. RW.Part0 = Torso
  1492. RW.C0 = cf(1.5, 0.5, 0)
  1493. RW.C1 = cf(0, 0.5, 0)
  1494. RW.Part1 = Character["Right Arm"]
  1495. RW.Parent = nil
  1496. LW.Name = "Left Shoulder"
  1497. LW.Part0 = Torso
  1498. LW.C0 = cf(-1.5, 0.5, 0)
  1499. LW.C1 = cf(0, 0.5, 0)
  1500. LW.Part1 = Character["Left Arm"]
  1501. LW.Parent = nil
  1502. else
  1503. RW = Torso["Right Shoulder"]
  1504. LW = Torso["Left Shoulder"]
  1505. RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  1506. LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  1507. end
  1508. equipanim = function()
  1509.  
  1510. attack = true
  1511. Movement.Value = Movement.Value - 0.1
  1512. Defense.Value = Defense.Value + 0.4
  1513. for i = 0, 1, 0.08 / animationspeed do
  1514. hbwait()
  1515. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1516. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1517. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
  1518. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
  1519. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1520. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1521. end
  1522. attack = false
  1523. end
  1524.  
  1525. unequipanim = function()
  1526.  
  1527. attack = true
  1528. for i = 0, 1, 0.08 / animationspeed do
  1529. hbwait()
  1530. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1531. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)), 0.3 / animationspeed)
  1532. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
  1533. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
  1534. if disablemovingarms == false then
  1535. RW.C1 = clerp(RW.C1, angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1536. LW.C1 = clerp(LW.C1, angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1537. end
  1538. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1539. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1540. RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1541. LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1542. end
  1543. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  1544. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  1545. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  1546. RW.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  1547. LW.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  1548. if disablemovingarms == false then
  1549. RW.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1550. LW.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1551. end
  1552. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1553. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1554. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1555. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1556. Movement.Value = Movement.Value + 0.1
  1557. Defense.Value = Defense.Value - 0.4
  1558. attack = false
  1559. end
  1560.  
  1561. if startequipped == true then
  1562. equipped = true
  1563. if disableanimate == true then
  1564. Animate.Disabled = true
  1565. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1566. idleanimation:Play()
  1567. end
  1568. if disableanimator == true then
  1569. Animator.Parent = nil
  1570. end
  1571. if disablemovingarms == true then
  1572. RW.Parent = Torso
  1573. LW.Parent = Torso
  1574. RSH.Parent = nil
  1575. LSH.Parent = nil
  1576. end
  1577. Movement.Value = Movement.Value - 0.1
  1578. Defense.Value = Defense.Value + 0.4
  1579. end
  1580. if startequippedwithequipanimation == true then
  1581. equipped = true
  1582. if disableanimate == true then
  1583. Animate.Disabled = true
  1584. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1585. idleanimation:Play()
  1586. end
  1587. if disableanimator == true then
  1588. Animator.Parent = nil
  1589. end
  1590. if disablemovingarms == true then
  1591. RW.Parent = Torso
  1592. LW.Parent = Torso
  1593. RSH.Parent = nil
  1594. LSH.Parent = nil
  1595. end
  1596. coroutine.resume(coroutine.create(function()
  1597.  
  1598. hbwait()
  1599. equipanim()
  1600. end
  1601. ))
  1602. end
  1603.  
  1604. StaggerHit = function()
  1605.  
  1606. attack = true
  1607. if Hitbox ~= nil then
  1608. for i = 1, math.random(2, 4) do
  1609. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1610. end
  1611. end
  1612. do
  1613. for i = 0, 1, 0.1 / animationspeed do
  1614. hbwait()
  1615. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed)
  1616. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(30)) * angles(rad(5), rad(0), rad(0)), 0.3 / animationspeed)
  1617. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-30), rad(0), rad(60)) * angles(rad(0), rad(-30), rad(0)) * RWC0, 0.3 / animationspeed)
  1618. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(-20)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
  1619. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.9 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-10), rad(0), rad(-20)), 0.3 / animationspeed)
  1620. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-70), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
  1621. if StaggerAnim.Value ~= true then
  1622. do
  1623. if StunAnim.Value == true then
  1624. break
  1625. end
  1626. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1627.  
  1628. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT
  1629.  
  1630. end
  1631. end
  1632. end
  1633. attack = false
  1634. end
  1635. end
  1636.  
  1637. Stagger = function()
  1638.  
  1639. attack = true
  1640. disablejump = true
  1641. if Hitbox ~= nil then
  1642. for i = 1, math.random(2, 4) do
  1643. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1644. end
  1645. end
  1646. do
  1647. attacktype = 1
  1648. DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0))
  1649. local staggervelocity = Instance.new("BodyVelocity", Torso)
  1650. staggervelocity.P = 500
  1651. staggervelocity.maxForce = vt(math.huge, 0, math.huge)
  1652. if Rooted.Value == false then
  1653. staggervelocity.Velocity = RootPart.CFrame.lookVector * -25
  1654. end
  1655. for i = 0, 1, 0.35 / animationspeed do
  1656. hbwait()
  1657. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed)
  1658. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1659. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
  1660. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
  1661. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
  1662. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
  1663. end
  1664. for i = 0, 1, 0.2 / animationspeed do
  1665. hbwait()
  1666. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), rad(0), rad(-30)), 0.3 / animationspeed)
  1667. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1668. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
  1669. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
  1670. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
  1671. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.9 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(30)), 0.3 / animationspeed)
  1672. end
  1673. staggervelocity:Destroy()
  1674. for i = 0, 1, 0.015 / animationspeed do
  1675. hbwait()
  1676. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.8 * PlayerSize) * angles(rad(0), rad(0), rad(-20)) * angles(rad(-5), rad(-5), rad(0)), 0.3 / animationspeed)
  1677. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(20), rad(0), rad(20)) * angles(rad(0), rad(5), rad(0)), 0.3 / animationspeed)
  1678. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(20)) * angles(rad(0), rad(-20), rad(0)) * RWC0, 0.3 / animationspeed)
  1679. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-15), rad(0), rad(-10)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
  1680. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(80), rad(0)) * angles(rad(0), rad(0), rad(70)) * angles(rad(0), rad(30), rad(0)), 0.3 / animationspeed)
  1681. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, 0.4 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(-80), rad(0)) * angles(rad(-2.5), rad(0), rad(-10)), 0.3 / animationspeed)
  1682. if StunAnim.Value == true then
  1683. break
  1684. end
  1685. end
  1686. do
  1687. attacktype = 1
  1688. disablejump = false
  1689. attack = false
  1690. end
  1691. end
  1692. end
  1693.  
  1694. Stun = function()
  1695.  
  1696. attack = true
  1697. disablejump = true
  1698. attacktype = 1
  1699. DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
  1700. for i = 0, 1, 0.4 / animationspeed do
  1701. hbwait()
  1702. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed)
  1703. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(10), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1704. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(15)) * RWC0, 0.3 / animationspeed)
  1705. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(-15)) * LWC0, 0.3 / animationspeed)
  1706. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1707. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1708. end
  1709. for i = 0, 1, 0.4 / animationspeed do
  1710. hbwait()
  1711. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed)
  1712. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1713. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(45)) * RWC0, 0.3 / animationspeed)
  1714. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(-45)) * LWC0, 0.3 / animationspeed)
  1715. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
  1716. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1717. end
  1718. for i = 0, 1, 0.4 / animationspeed do
  1719. hbwait()
  1720. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed)
  1721. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-60)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1722. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(75)) * RWC0, 0.3 / animationspeed)
  1723. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-45), rad(0), rad(-75)) * LWC0, 0.3 / animationspeed)
  1724. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
  1725. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-30)), 0.3 / animationspeed)
  1726. end
  1727. Humanoid.AutoRotate = false
  1728. for i = 1, 70 * animationspeed do
  1729. hbwait()
  1730. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed)
  1731. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-90)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1732. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(-10), rad(90)) * RWC0, 0.3 / animationspeed)
  1733. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-90), rad(0), rad(-90)) * LWC0, 0.3 / animationspeed)
  1734. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0.2 * PlayerSize) * angles(rad(0), rad(70), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
  1735. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-100), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
  1736. end
  1737. for i = 0, 1, 0.15 / animationspeed do
  1738. hbwait()
  1739. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 0.3 / animationspeed)
  1740. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1741. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(30)) * RWC0, 0.3 / animationspeed)
  1742. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(20)) * LWC0, 0.3 / animationspeed)
  1743. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(60), rad(0)) * angles(rad(-5), rad(0), rad(70)), 0.3 / animationspeed)
  1744. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.25 * PlayerSize, -1 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-10), rad(0), rad(20)), 0.3 / animationspeed)
  1745. end
  1746. Humanoid.AutoRotate = true
  1747. attacktype = 1
  1748. disablejump = false
  1749. attack = false
  1750. end
  1751.  
  1752. EAbility = function()
  1753.  
  1754. attack = true
  1755. attack = false
  1756. end
  1757.  
  1758. Attack1 = function()
  1759.  
  1760. attack = true
  1761. attack = false
  1762. end
  1763.  
  1764. Attack2 = function()
  1765.  
  1766. attack = true
  1767. attack = false
  1768. end
  1769.  
  1770. Attack3 = function()
  1771.  
  1772. attack = true
  1773. attack = false
  1774. end
  1775.  
  1776. Attack4 = function()
  1777.  
  1778. attack = true
  1779. attack = false
  1780. end
  1781.  
  1782. Move1 = function()
  1783.  
  1784. attack = true
  1785. attack = false
  1786. end
  1787.  
  1788. Move2 = function()
  1789.  
  1790. attack = true
  1791. attack = false
  1792. end
  1793.  
  1794. Move3 = function()
  1795.  
  1796. attack = true
  1797. attack = false
  1798. end
  1799.  
  1800. Move4 = function()
  1801.  
  1802. attack = true
  1803. attack = false
  1804. end
  1805.  
  1806. hold = false
  1807. Mouse.Button1Down:connect(function()
  1808.  
  1809. if attack == true or equipped == false then
  1810. return
  1811. end
  1812. hold = true
  1813. if attacktype == 1 then
  1814. attacktype = 2
  1815. Attack1()
  1816. else
  1817. if attacktype == 2 then
  1818. attacktype = 3
  1819. Attack2()
  1820. else
  1821. if attacktype == 3 then
  1822. attacktype = 4
  1823. Attack3()
  1824. else
  1825. if attacktype == 4 then
  1826. attacktype = 1
  1827. Attack4()
  1828. end
  1829. end
  1830. end
  1831. end
  1832. coroutine.resume(coroutine.create(function()
  1833.  
  1834. for i = 1, 50 do
  1835. if attack == false then
  1836. hbwait()
  1837. end
  1838. end
  1839. if attack == false then
  1840. attacktype = 1
  1841. end
  1842. end
  1843. ))
  1844. end
  1845. )
  1846. if allowhopperbin == true then
  1847. ob1u = function(Mouse)
  1848.  
  1849. hold = false
  1850. end
  1851.  
  1852. end
  1853. Mouse.KeyDown:connect(function(key)
  1854.  
  1855. if key == "f" and canunequiporequip == true and attack == false then
  1856. if equipped == false then
  1857. equipped = true
  1858. if disableanimate == true then
  1859. Animate.Disabled = true
  1860. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1861. idleanimation:Play()
  1862. end
  1863. if disableanimator == true then
  1864. Animator.Parent = nil
  1865. end
  1866. if disablemovingarms == true then
  1867. RW.Parent = Torso
  1868. LW.Parent = Torso
  1869. RSH.Parent = nil
  1870. LSH.Parent = nil
  1871. end
  1872. equipanim()
  1873. elseif equipped == true then
  1874. equipped = false
  1875. unequipanim()
  1876. hbwait()
  1877. if disablemovingarms == true then
  1878. RW.Parent = nil
  1879. LW.Parent = nil
  1880. RSH.Parent = Torso
  1881. LSH.Parent = Torso
  1882. end
  1883. if disableanimator == true then
  1884. Animator.Parent = Humanoid
  1885. end
  1886. if disableanimate == true then
  1887. Animate.Disabled = false
  1888. end
  1889. end
  1890. end
  1891. if key == "e" and attack == false and equipped == true then
  1892. if animtype < 3 then
  1893. animtype = animtype + 1
  1894. elseif animtype >= 3 then
  1895. animtype = 1
  1896. end
  1897. end
  1898. if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then
  1899. subtractmana(skill1mana)
  1900. cooldown1 = 0
  1901. Move1()
  1902. end
  1903. if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then
  1904. subtractmana(skill2mana)
  1905. cooldown2 = 0
  1906. Move2()
  1907. end
  1908. if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then
  1909. subtractmana(skill3mana)
  1910. cooldown3 = 0
  1911. Move3()
  1912. end
  1913. if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then
  1914. subtractmana(skill4mana)
  1915. cooldown4 = 0
  1916. Move4()
  1917. end
  1918. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  1919. if key == "q" then
  1920. Mana.Value = 100
  1921. cooldown1 = co1
  1922. cooldown2 = co2
  1923. cooldown3 = co3
  1924. cooldown4 = co4
  1925. end
  1926. if key == "p" then
  1927. StaggerHitAnim.Value = true
  1928. end
  1929. if key == "[" then
  1930. StaggerAnim.Value = true
  1931. end
  1932. if key == "]" then
  1933. StunAnim.Value = true
  1934. end
  1935. end
  1936. end
  1937. )
  1938. Mouse.KeyUp:connect(function(key2)
  1939.  
  1940. end
  1941. )
  1942. if allowhopperbin == true then
  1943. s = function(Mouse)
  1944.  
  1945. Mouse.Button1Down:connect(function()
  1946.  
  1947. ob1d(Mouse)
  1948. end
  1949. )
  1950. Mouse.Button1Up:connect(function()
  1951.  
  1952. ob1u(Mouse)
  1953. end
  1954. )
  1955. Mouse.KeyDown:connect(key)
  1956. Mouse.KeyUp:connect(key2)
  1957. end
  1958.  
  1959. end
  1960. if allowhopperbin == true then
  1961. ds = function(Mouse)
  1962.  
  1963. end
  1964.  
  1965. end
  1966. if allowhopperbin == true then
  1967. Bin.Selected:connect(s)
  1968. Bin.Deselected:connect(ds)
  1969. end
  1970. updateskills = function()
  1971.  
  1972. if allowabilitiestofunction == true then
  1973. if cooldown1 <= co1 then
  1974. cooldown1 = cooldown1 + 0.033333333333333
  1975. if co1 <= cooldown1 then
  1976. cooldown1 = co1
  1977. end
  1978. end
  1979. if cooldown2 <= co2 then
  1980. cooldown2 = cooldown2 + 0.033333333333333
  1981. if co2 <= cooldown2 then
  1982. cooldown2 = co2
  1983. end
  1984. end
  1985. if cooldown3 <= co3 then
  1986. cooldown3 = cooldown3 + 0.033333333333333
  1987. if co3 <= cooldown3 then
  1988. cooldown3 = co3
  1989. end
  1990. end
  1991. if cooldown4 <= co4 then
  1992. cooldown4 = cooldown4 + 0.033333333333333
  1993. if co4 <= cooldown4 then
  1994. cooldown4 = co4
  1995. end
  1996. end
  1997. if changebarcolorsifnotenoughmana == true then
  1998. if Mana.Value <= skill1mana then
  1999. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2000. else
  2001. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2002. end
  2003. if Mana.Value <= skill2mana then
  2004. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2005. else
  2006. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2007. end
  2008. if Mana.Value <= skill3mana then
  2009. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2010. else
  2011. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2012. end
  2013. if Mana.Value <= skill4mana then
  2014. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2015. else
  2016. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2017. end
  2018. else
  2019. if changebarcolorsifnotenoughmana == false then
  2020. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2021. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2022. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2023. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2024. end
  2025. end
  2026. end
  2027. if alternatemanaregensystem == false then
  2028. if Mana.Value <= maxmana then
  2029. Mana.Value = Mana.Value + recovermana / 30
  2030. else
  2031. if maxmana <= Mana.Value then
  2032. Mana.Value = maxmana
  2033. end
  2034. end
  2035. else
  2036. if alternatemanaregensystem == true then
  2037. if maxmana <= Mana.Value then
  2038. Mana.Value = maxmana
  2039. else
  2040. if manadelay <= manawait then
  2041. manadelay = manadelay + 1
  2042. else
  2043. manadelay = 0
  2044. Mana.Value = Mana.Value + 1
  2045. end
  2046. end
  2047. end
  2048. end
  2049. if allowstunbar == true then
  2050. if StunValue.Value <= 0 then
  2051. StunValue.Value = 0
  2052. else
  2053. if stundelay <= stunwait then
  2054. stundelay = stundelay + 1
  2055. else
  2056. stundelay = 0
  2057. StunValue.Value = StunValue.Value - 1
  2058. end
  2059. end
  2060. else
  2061. if allowstunbar == false then
  2062. StunValue.Value = 0
  2063. end
  2064. end
  2065. end
  2066.  
  2067. if allowmenutofunction == true then
  2068. ArtificialHB.Event:connect(function()
  2069.  
  2070. updateskills()
  2071. if allowabilitiestofunction == true then
  2072. framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2073. framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2074. framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2075. framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2076. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2077. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2078. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2079. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2080. end
  2081. manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2082. manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2083. healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2084. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2085. if allowstunbar == true and showstunbar == true and stunframe ~= nil then
  2086. stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2087. stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2088. end
  2089. if showhealthmanaandstunnumbers == true then
  2090. manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]"
  2091. healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
  2092. if allowstunbar == true and showstunbar == true then
  2093. stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]"
  2094. end
  2095. end
  2096. if showstats == true then
  2097. defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2098. damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2099. movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2100. defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%"
  2101. damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%"
  2102. if Rooted.Value == false then
  2103. movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%"
  2104. else
  2105. if Rooted.Value == true or Movement.Value <= 0 then
  2106. movementtext.Text = "Movement: 0%"
  2107. end
  2108. end
  2109. end
  2110. end
  2111. )
  2112. end
  2113. while 1 do
  2114. hbwait()
  2115. if Hitbox ~= nil then
  2116. if attack == true then
  2117. Hitbox.Name = "Hitbox"
  2118. else
  2119. if attack == false then
  2120. Hitbox.Name = "NilHitbox"
  2121. end
  2122. end
  2123. end
  2124. if 0 < Humanoid.Health then
  2125. if walkspeeddependsonmovementvalue == true then
  2126. if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then
  2127. Humanoid.WalkSpeed = 0
  2128. else
  2129. Humanoid.WalkSpeed = 16 * Movement.Value
  2130. end
  2131. end
  2132. if maxstun <= StunValue.Value then
  2133. StunValue.Value = 0
  2134. StunAnim.Value = true
  2135. end
  2136. if StaggerAnim.Value == true and staggeranim == false then
  2137. coroutine.resume(coroutine.create(function()
  2138.  
  2139. staggeranim = true
  2140. while attack == true do
  2141. hbwait()
  2142. end
  2143. Stagger()
  2144. StaggerAnim.Value = false
  2145. staggeranim = false
  2146. end
  2147. ))
  2148. end
  2149. if StaggerHitAnim.Value == true and staggerhitanim == false then
  2150. coroutine.resume(coroutine.create(function()
  2151.  
  2152. staggerhitanim = true
  2153. while attack == true do
  2154. hbwait()
  2155. end
  2156. StaggerHit()
  2157. StaggerHitAnim.Value = false
  2158. staggerhitanim = false
  2159. end
  2160. ))
  2161. end
  2162. if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then
  2163. coroutine.resume(coroutine.create(function()
  2164.  
  2165. StunValue.Value = 0
  2166. stunanim = true
  2167. while attack == true do
  2168. hbwait()
  2169. end
  2170. Stun()
  2171. StunAnim.Value = false
  2172. stunanim = false
  2173. end
  2174. ))
  2175. end
  2176. sine = sine + change
  2177. local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude
  2178. local velderp = RootPart.Velocity.y
  2179. local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
  2180. hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character)
  2181. if 0.5 <= donum then
  2182. handidle = true
  2183. else
  2184. if donum <= 0 then
  2185. handidle = false
  2186. end
  2187. end
  2188. if handidle == false then
  2189. donum = donum + 0.003 / animationspeed
  2190. else
  2191. donum = donum - 0.003 / animationspeed
  2192. end
  2193. if equipped == true or equipped == false then
  2194. if attack == false then
  2195. idle = idle + 1
  2196. else
  2197. idle = 0
  2198. end
  2199. if leftarm == true then
  2200. if Anim == "Walk" and equipped == true and attack == false then
  2201. if alternatewalk == false then
  2202. if walkinganim == true then
  2203. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2204. else
  2205. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2206. end
  2207. else
  2208. if walkinganim == true then
  2209. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2210. else
  2211. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2212. end
  2213. end
  2214. else
  2215. -- DECOMPILER ERROR at PC2457: Unhandled construct in 'MakeBoolean' P3
  2216.  
  2217. if (Anim ~= "Walk" and equipped == true) or leftarm == false then
  2218. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2219. end
  2220. end
  2221. end
  2222. if rightarm == true then
  2223. if Anim == "Walk" and equipped == true and attack == false then
  2224. if alternatewalk == false then
  2225. if walkinganim == true then
  2226. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2227. else
  2228. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2229. end
  2230. else
  2231. if walkinganim == true then
  2232. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2233. else
  2234. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2235. end
  2236. end
  2237. else
  2238. -- DECOMPILER ERROR at PC2648: Unhandled construct in 'MakeBoolean' P3
  2239.  
  2240. if (Anim ~= "Walk" and equipped == true) or rightarm == false then
  2241. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2242. end
  2243. end
  2244. end
  2245. if allowwalking == true then
  2246. if Anim == "Walk" and equipped == true then
  2247. if alternatewalk == false then
  2248. if walkinganim == true then
  2249. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2250. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2251. else
  2252. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2253. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2254. end
  2255. else
  2256. if walkinganim == true then
  2257. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2258. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2259. else
  2260. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2261. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2262. end
  2263. end
  2264. else
  2265. if Anim ~= "Walk" and equipped == true then
  2266. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2267. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2268. end
  2269. end
  2270. end
  2271. Anim = "Idle"
  2272. if attack == false then
  2273. if equipped == true then
  2274. if animtype == 1 then
  2275. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
  2276. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
  2277. RW.C0 = clerp(RW.C0, cf(1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(100), rad(0), rad(-80)) * angles(rad(-5 * math.sin((sine) / 4)), rad(90), rad(0)) * (RWC0), 1 / animationspeed)
  2278. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(80), rad(0), rad(70)) * angles(rad(-5 * math.sin((sine) / 4)), rad(-90), rad(0)) * (LWC0), 1 / animationspeed)
  2279. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2280. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2281. end
  2282. if animtype == 2 then
  2283. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(2.5 + 2.5 * math.cos((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
  2284. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(2.5 * math.sin((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
  2285. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(5), rad(10)) * angles(rad(60 * math.cos((sine) / 8)), rad(5), rad(0)) * (RWC0), 1 / animationspeed)
  2286. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-5), rad(-10)) * angles(rad(-60 * math.cos((sine) / 8)), rad(-5), rad(0)) * (LWC0), 1 / animationspeed)
  2287. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 5 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2288. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 5 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2289. end
  2290. end
  2291. if animtype == 3 then
  2292. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
  2293. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
  2294. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(0), rad(-20)) * angles(rad(0), rad(10), rad(0)) * (RWC0), 1 / animationspeed)
  2295. LW.C0 = clerp(LW.C0, cf(-1.25 + 0.25 * math.sin((sine) / 8) * PlayerSize, 0.5 * PlayerSize, -0.25 - 0.25 * math.sin((sine) / 8) * PlayerSize) * angles(rad(80 - 30 * math.cos((sine) / 4)), rad(0), rad(60 * math.sin((sine) / 8))) * (LWC0), 1 / animationspeed)
  2296. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2297. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2298. end
  2299. end
  2300. end
  2301. end
  2302. end
  2303. end
  2304. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement