Advertisement
DylanD2003

Untitled

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