Advertisement
Rider_Lol

Untitled

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