Advertisement
DylanD2003

Untitled

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