Advertisement
FiveRoNer

Untitled

Jun 24th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 187.37 KB | None | 0 0
  1. Player = game:GetService("Players").LocalPlayer
  2. Character = Player.Character
  3. PlayerGui = Player.PlayerGui
  4. Backpack = Player.Backpack
  5. Torso = Character.Torso
  6. Head = Character.Head
  7. Humanoid = Character.Humanoid
  8. RootPart = Character.HumanoidRootPart
  9. RootJoint = RootPart.RootJoint
  10. LeftArm = Character["Left Arm"]
  11. LeftLeg = Character["Left Leg"]
  12. RightArm = Character["Right Arm"]
  13. RightLeg = Character["Right Leg"]
  14. LS = Torso["Left Shoulder"]
  15. LH = Torso["Left Hip"]
  16. RS = Torso["Right Shoulder"]
  17. RH = Torso["Right Hip"]
  18. Humanoid.MaxHealth = math.huge
  19. wait()
  20. Humanoid.Health = Humanoid.MaxHealth
  21. local BC = Character["Body Colors"]
  22. BC.HeadColor = BrickColor.new("Pastel brown")
  23. BC.LeftArmColor = BrickColor.new("Pastel brown")
  24. BC.LeftLegColor = BrickColor.new("Pastel brown")
  25. BC.RightArmColor = BrickColor.new("Pastel brown")
  26. BC.RightLegColor = BrickColor.new("Pastel brown")
  27. BC.TorsoColor = BrickColor.new("Pastel brown")
  28. for i,v in pairs(Character:children()) do
  29. if v:IsA("Shirt") then
  30. v:Destroy()
  31. end
  32. end
  33. for i,v in pairs(Character:children()) do
  34. if v:IsA("Pants") then
  35. v:Destroy()
  36. end
  37. end
  38. ------Face----------
  39. Character.Head.face.Texture = "rbxassetid://840490876"
  40. ------Remover-------
  41.  
  42. for i,v in pairs(Character:children()) do
  43. if v:IsA("Hat") then
  44. v:Destroy()
  45. end
  46. end
  47. for i,v in pairs(Character:children()) do
  48. if v:IsA("Accessory") then
  49. v:Destroy()
  50. end
  51. end
  52. for i,v in pairs(Character:children()) do
  53. if v:IsA("Hair") then
  54. v:Destroy()
  55. end
  56. end
  57. ------Heavy---------
  58. CV="Maroon"
  59. Player = game.Players.LocalPlayer
  60. char = Player.Character
  61. local txt = Instance.new("BillboardGui", Character)
  62. txt.Adornee = Character .Head
  63. txt.Name = "_status"
  64. txt.Size = UDim2.new(2, 0, 1.2, 0)
  65. txt.StudsOffset = Vector3.new(-9, 8, 0)
  66. local text = Instance.new("TextLabel", txt)
  67. text.Size = UDim2.new(10, 0, 7, 0)
  68. text.FontSize = "Size24"
  69. text.TextScaled = true
  70. text.TextTransparency = 0
  71. text.BackgroundTransparency = 1
  72. text.TextTransparency = 0
  73. text.TextStrokeTransparency = 0
  74. text.Font = "Bodoni"
  75. text.TextStrokeColor3 = Color3.new(255,255,255)
  76.  
  77. v=Instance.new("Part")
  78. v.Name = "ColorBrick"
  79. v.Parent=Player.Character
  80. v.FormFactor="Symmetric"
  81. v.Anchored=true
  82. v.CanCollide=false
  83. v.BottomSurface="Smooth"
  84. v.TopSurface="Smooth"
  85. v.Size=Vector3.new(10,5,3)
  86. v.Transparency=1
  87. v.CFrame=Character.Torso.CFrame
  88. v.BrickColor=BrickColor.new(CV)
  89. v.Transparency=1
  90. text.TextColor3 = Color3.new(255,0,0)
  91. v.Shape="Block"
  92. text.Text = "Gay Naz! dancer"
  93. --------------------
  94. sound = Instance.new("Sound", Character)
  95. sound.SoundId = "rbxassetid://1766261157"
  96. sound.Volume = 10000000000000000000000000000000000
  97. sound.EmitterSize = 25
  98. sound:Play()
  99. sound.Looped = true
  100. Face = Head.face
  101. Neck = Torso.Neck
  102. it = Instance.new
  103. vt = Vector3.new
  104. cf = CFrame.new
  105. rad = math.rad
  106. euler = CFrame.fromEulerAnglesXYZ
  107. angles = CFrame.Angles
  108. Mouse = Player:GetMouse()
  109. coroutine.resume(coroutine.create(function()
  110. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  111. Text = "Fixed by PixelFir3 / Cortana#8155";
  112. Color = Color3.new(0, 1, 1);
  113. Font = Enum.Font.Code;
  114. FontSize = Enum.FontSize.Size24;
  115. })
  116. end))
  117. ArtificialHB = Instance.new("BindableEvent", script)
  118. ArtificialHB.Name = "ArtificialHB"
  119. script:WaitForChild("ArtificialHB")
  120. frame = 0.016666666666667
  121. tf = 0
  122. allowframeloss = false
  123. tossremainder = false
  124. lastframe = tick()
  125. script.ArtificialHB:Fire()
  126. game:GetService("RunService").Heartbeat:connect(function(s, p)
  127.  
  128. tf = tf + s
  129. if frame <= tf then
  130. if allowframeloss then
  131. script.ArtificialHB:Fire()
  132. lastframe = tick()
  133. else
  134. for i = 1, math.floor(tf / frame) do
  135. script.ArtificialHB:Fire()
  136. end
  137. lastframe = tick()
  138. end
  139. if tossremainder then
  140. tf = 0
  141. else
  142. tf = tf - frame * math.floor(tf / frame)
  143. end
  144. end
  145. end
  146. )
  147. local animationspeed = 2
  148. hbwait = function(number)
  149.  
  150. if number == 0 or number == nil then
  151. ArtificialHB.Event:wait()
  152. else
  153. for i = 0, number do
  154. ArtificialHB.Event:wait()
  155. end
  156. end
  157. end
  158.  
  159. local Stats = Instance.new("Folder", Character)
  160. Stats.Name = "Stats"
  161. local Defense = Instance.new("NumberValue", Stats)
  162. Defense.Name = "Defense"
  163. Defense.Value = 0.1
  164. local Movement = Instance.new("NumberValue", Stats)
  165. Movement.Name = "Movement"
  166. Movement.Value = 0.35
  167. local Damage = Instance.new("NumberValue", Stats)
  168. Damage.Name = "Damage"
  169. Damage.Value = 0
  170. local Mana = Instance.new("NumberValue", Stats)
  171. Mana.Name = "Mana"
  172. Mana.Value = 0
  173. local Rooted = Instance.new("BoolValue", Stats)
  174. Rooted.Name = "Rooted"
  175. Rooted.Value = false
  176. local BlockValue = Instance.new("BoolValue", Stats)
  177. BlockValue.Name = "BlockValue"
  178. BlockValue.Value = false
  179. local StaggerHitAnim = Instance.new("BoolValue", Stats)
  180. StaggerHitAnim.Name = "StaggerHitAnim"
  181. StaggerHitAnim.Value = false
  182. local StaggerAnim = Instance.new("BoolValue", Stats)
  183. StaggerAnim.Name = "StaggerAnim"
  184. StaggerAnim.Value = false
  185. local StunAnim = Instance.new("BoolValue", Stats)
  186. StunAnim.Name = "StunAnim"
  187. StunAnim.Value = false
  188. local StunValue = Instance.new("NumberValue", Stats)
  189. StunValue.Name = "StunValue"
  190. StunValue.Value = 0
  191. local CanCrit = Instance.new("BoolValue", Stats)
  192. CanCrit.Name = "CanCrit"
  193. CanCrit.Value = false
  194. local CritChance = Instance.new("NumberValue", Stats)
  195. CritChance.Name = "CritChance"
  196. CritChance.Value = 20
  197. local CanPenetrateArmor = Instance.new("BoolValue", Stats)
  198. CanPenetrateArmor.Name = "CanPenetrateArmor"
  199. CanPenetrateArmor.Value = false
  200. local AntiTeamKill = Instance.new("BoolValue", Stats)
  201. AntiTeamKill.Name = "AntiTeamKill"
  202. AntiTeamKill.Value = false
  203. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  204. RootCF = angles(rad(-90), 0, rad(180))
  205. local idle = 0
  206. local Anim = "Idle"
  207. local animtype = math.floor(math.random(1, 3))
  208. local attacktype = 1
  209. local attack = false
  210. local equipped = false
  211. local LastPoint = nil
  212. local staggerhitanim = false
  213. local staggeranim = false
  214. local stunanim = false
  215. local CritChanceNumber = 0
  216. local idlen = 0
  217. local donum = 0
  218. local sine = 0
  219. local change = 2 / animationspeed
  220. local walkinganim = false
  221. local handidle = false
  222. local walk = 0
  223. local stundelay = 0
  224. local manadelay = 0
  225. local robloxidleanimation = Instance.new("Animation", Torso)
  226. robloxidleanimation.Name = "robloxidleanimation"
  227. robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  228. local Animator = Humanoid:FindFirstChild("Animator")
  229. local Animate = Character:FindFirstChild("Animate")
  230. local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297}
  231. local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452}
  232. local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119}
  233. local HitBlockSounds = {199148933, 199148947}
  234. local cooldown1 = 0
  235. local cooldown2 = 0
  236. local cooldown3 = 0
  237. local cooldown4 = 0
  238. local scrn = Instance.new("ScreenGui", PlayerGui)
  239. local ud = UDim2.new
  240. local c3 = Color3.new
  241. local skillcolorscheme = c3(1, 1, 1)
  242. subtractmana = function(k)
  243.  
  244. if k <= Mana.Value then
  245. Mana.Value = Mana.Value - k
  246. end
  247. end
  248.  
  249. local co1 = 0
  250. local co2 = 0
  251. local co3 = 0
  252. local co4 = 0
  253. local maxmana = 0
  254. local maxstun = 1
  255. local recovermana = 0
  256. local losestun = 0
  257. local stunwait = 0
  258. local manawait = 0
  259. local skill1mana = 0
  260. local skill2mana = 0
  261. local skill3mana = 0
  262. local skill4mana = 0
  263. local menuupdatespeed = 0
  264. local constantupdate = false
  265. local showstats = false
  266. local allowstunbar = false
  267. local CustomColor = Torso.BrickColor
  268. local Colorpart1 = CustomColor.r
  269. local Colorpart2 = CustomColor.g
  270. local Colorpart3 = CustomColor.b
  271. local InverseColor = BrickColor.new(Color3.new(1 - Colorpart1, 1 - Colorpart2, 1 - Colorpart3))
  272. makeframe = function(par, trans, pos, size, color, name)
  273.  
  274. local frame = Instance.new("Frame")
  275. frame.Parent = par
  276. frame.BackgroundTransparency = trans
  277. frame.BorderSizePixel = 2
  278. frame.Position = pos
  279. frame.Size = size
  280. frame.BackgroundColor3 = color
  281. frame.Name = name
  282. return frame
  283. end
  284.  
  285. makelabel = function(par, text, trans, stroketrans, name)
  286.  
  287. local label = Instance.new("TextLabel")
  288. label.Parent = par
  289. label.BackgroundTransparency = 1
  290. label.Size = ud(1, 0, 1, 0)
  291. label.Position = ud(0, 0, 0, 0)
  292. label.TextColor3 = c3(255, 255, 255)
  293. label.TextStrokeTransparency = stroketrans
  294. label.TextTransparency = trans
  295. label.FontSize = Enum.FontSize.Size32
  296. label.Font = Enum.Font.Legacy
  297. label.BorderSizePixel = 0
  298. label.TextScaled = true
  299. label.Text = text
  300. label.Name = name
  301. return label
  302. end
  303.  
  304. framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1")
  305. framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2")
  306. framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3")
  307. framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4")
  308. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1")
  309. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2")
  310. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3")
  311. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4")
  312. text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1")
  313. text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2")
  314. text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3")
  315. text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4")
  316. manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar")
  317. manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover")
  318. manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
  319. 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")
  320. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover")
  321. healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
  322. if allowstunbar == true then
  323. 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")
  324. stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar")
  325. stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
  326. end
  327. if showstats == true then
  328. 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")
  329. 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")
  330. 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")
  331. defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text")
  332. damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text")
  333. movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text")
  334. end
  335. NoOutline = function(Part)
  336.  
  337. Part.TopSurface = 10
  338. end
  339.  
  340. local weldBetween = function(a, b)
  341.  
  342. local weldd = Instance.new("ManualWeld")
  343. weldd.Part0 = a
  344. weldd.Part1 = b
  345. weldd.C0 = CFrame.new()
  346. weldd.C1 = b.CFrame:inverse() * a.CFrame
  347. weldd.Parent = a
  348. return weldd
  349. end
  350.  
  351. nooutline = function(part)
  352.  
  353. part.TopSurface = 10
  354. end
  355.  
  356. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  357.  
  358. local fp = it("Part")
  359. fp.formFactor = formfactor
  360. fp.Parent = parent
  361. fp.Reflectance = reflectance
  362. fp.Transparency = transparency
  363. fp.CanCollide = false
  364. fp.Locked = true
  365. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  366. fp.Name = name
  367. fp.Size = size
  368. fp.Position = Character.Torso.Position
  369. nooutline(fp)
  370. fp.Material = material
  371. fp:BreakJoints()
  372. return fp
  373. end
  374.  
  375. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  376.  
  377. local mesh = it(Mesh)
  378. mesh.Parent = part
  379. if Mesh == "SpecialMesh" then
  380. mesh.MeshType = meshtype
  381. mesh.MeshId = meshid
  382. end
  383. mesh.Offset = offset
  384. mesh.Scale = scale
  385. return mesh
  386. end
  387.  
  388. weld = function(parent, part0, part1, c0, c1)
  389.  
  390. local weld = it("Motor")
  391. weld.Parent = parent
  392. weld.Part0 = part0
  393. weld.Part1 = part1
  394. weld.C0 = c0
  395. weld.C1 = c1
  396. return weld
  397. end
  398.  
  399. local WeaponName = "Russian Kick"
  400. local ClassName = "Russian Kick"
  401. local PlayerSize = 1
  402. local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  403. local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  404. if PlayerSize ~= 1 then
  405. RootPart.Size = RootPart.Size * PlayerSize
  406. Torso.Size = Torso.Size * PlayerSize
  407. Head.Size = Head.Size * PlayerSize
  408. RightArm.Size = RightArm.Size * PlayerSize
  409. LeftArm.Size = LeftArm.Size * PlayerSize
  410. RightLeg.Size = RightLeg.Size * PlayerSize
  411. LeftLeg.Size = LeftLeg.Size * PlayerSize
  412. RootJoint.Parent = RootPart
  413. Neck.Parent = Torso
  414. LS.Parent = Torso
  415. RS.Parent = Torso
  416. LH.Parent = Torso
  417. RH.Parent = Torso
  418. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  419. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  420. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  421. RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  422. LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  423. RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  424. LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  425. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  426. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  427. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  428. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  429. for _,v in pairs(Character:GetChildren()) do
  430. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  431. v.Parent = nil
  432. v.Parent = Character
  433. v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize
  434. for _,b in pairs(v.Handle:GetChildren()) do
  435. if b.ClassName == "Weld" or b.ClassName == "Motor" then
  436. local p1 = b.Part1
  437. b.Part1 = nil
  438. local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components()
  439. local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components()
  440. b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012)
  441. b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112)
  442. b.Part1 = p1
  443. end
  444. end
  445. end
  446. end
  447. end
  448. m = Instance.new("Model", Character)
  449. m.Name = WeaponName
  450. Effects = Instance.new("Folder", m)
  451. Effects.Name = "Effects"
  452. Humanoid.Died:connect(function()
  453.  
  454. attack = true
  455. for _,v in pairs(Character:GetChildren()) do
  456. if v.ClassName == "Model" then
  457. v:Destroy()
  458. end
  459. end
  460. end
  461. )
  462. for i,v in pairs(Character:GetChildren()) do
  463. if v.ClassName == "Model" then
  464. for _,c in pairs(v:GetChildren()) do
  465. if c.ClassName == "Part" then
  466. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  467. end
  468. end
  469. end
  470. end
  471. print(ClassName .. " loaded.")
  472. clerp = function(a, b, t)
  473. return a:lerp(b, t)
  474. end
  475.  
  476. positiveangle = function(number)
  477.  
  478. if number > 0 then
  479. number = 0
  480. end
  481. return number
  482. end
  483.  
  484. negativeangle = function(number)
  485.  
  486. if number < 0 then
  487. number = 0
  488. end
  489. return number
  490. end
  491.  
  492. so = function(id, par, vol, pit)
  493.  
  494. coroutine.resume(coroutine.create(function()
  495.  
  496. local sou = Instance.new("Sound", par or workspace)
  497. sou.Volume = vol
  498. sou.Pitch = pit or 1
  499. sou.SoundId = "http://roblox.com/asset/?id=" .. id
  500. hbwait()
  501. sou:play()
  502. game:GetService("Debris"):AddItem(sou, 10)
  503. end
  504. ))
  505. end
  506.  
  507. GetDistance = function(Part1, Part2, magnitude)
  508.  
  509. local target = Part1.Position - Part2.Position
  510. local mag = target.magnitude
  511. if mag <= magnitude then
  512. return true
  513. else
  514. return false
  515. end
  516. end
  517.  
  518. rayCast = function(Pos, Dir, Max, Ignore)
  519.  
  520. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  521. end
  522.  
  523. DamageStatLabel = function(labeltype, cframe, text, color)
  524.  
  525. local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
  526. c.CFrame = cf(cframe.p + vt(0, 1.5, 0))
  527. game:GetService("Debris"):AddItem(c, 5)
  528. Instance.new("BodyGyro", c)
  529. local f = Instance.new("BodyPosition", c)
  530. f.P = 2000
  531. f.D = 100
  532. f.maxForce = vt(math.huge, math.huge, math.huge)
  533. if labeltype == "Normal" then
  534. f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2))
  535. else
  536. if labeltype == "Debuff" then
  537. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  538. else
  539. if labeltype == "Interruption" then
  540. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  541. end
  542. end
  543. end
  544. game:GetService("Debris"):AddItem(c, 5)
  545. local bg = Instance.new("BillboardGui", c)
  546. bg.Adornee = c
  547. bg.Size = UDim2.new(2.5, 0, 2.5, 0)
  548. bg.StudsOffset = vt(-2, 2, 0)
  549. bg.AlwaysOnTop = false
  550. local tl = Instance.new("TextLabel", bg)
  551. tl.BackgroundTransparency = 1
  552. tl.Size = UDim2.new(2.5, 0, 2.5, 0)
  553. tl.Text = text
  554. tl.Font = Enum.Font.SourceSans
  555. tl.FontSize = Enum.FontSize.Size42
  556. tl.TextColor3 = color
  557. tl.TextScaled = false
  558. tl.TextStrokeTransparency = 0
  559. tl.TextScaled = true
  560. tl.TextWrapped = true
  561. f.Parent = c
  562. coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel)
  563.  
  564. wait(0.25)
  565. for i = 1, 5 do
  566. wait()
  567. BodyPosition.position = Part.Position - vt(0, 0.5, 0)
  568. end
  569. wait(1.25)
  570. for i = 1, 5 do
  571. wait()
  572. TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2
  573. TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2
  574. BodyPosition.position = Part.Position + vt(0, 0.5, 0)
  575. end
  576. Part.Parent = nil
  577. end
  578. ), c, f, tl)
  579. end
  580.  
  581. IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  582.  
  583. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  584.  
  585. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  586.  
  587. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  588. Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount
  589. if ShowTheStat == true then
  590. if Stat == "Defense" then
  591. DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1))
  592. else
  593. if Stat == "Damage" then
  594. DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1))
  595. else
  596. if Stat == "Movement" then
  597. DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1))
  598. end
  599. end
  600. end
  601. end
  602. coroutine.resume(coroutine.create(function(CurrentDecrease)
  603.  
  604. wait(Duration)
  605. CurrentDecrease.Value = CurrentDecrease.Value - Amount
  606. end
  607. ), Location.Stats[Stat])
  608. end
  609. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  610. end
  611.  
  612. DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  613.  
  614. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  615.  
  616. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  617.  
  618. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  619. Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount
  620. if ShowTheStat == true then
  621. if Stat == "Defense" then
  622. DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1))
  623. else
  624. if Stat == "Damage" then
  625. DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1))
  626. else
  627. if Stat == "Movement" then
  628. DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1))
  629. end
  630. end
  631. end
  632. end
  633. coroutine.resume(coroutine.create(function(CurrentDecrease)
  634.  
  635. wait(Duration)
  636. CurrentDecrease.Value = CurrentDecrease.Value + Amount
  637. end
  638. ), Location.Stats[Stat])
  639. end
  640. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  641. end
  642.  
  643. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  644.  
  645. if hit.Parent == nil then
  646. return
  647. end
  648. h = hit.Parent:FindFirstChild("Humanoid")
  649. for _,v in pairs(hit.Parent:GetChildren()) do
  650. if v:IsA("Humanoid") then
  651. h = v
  652. end
  653. end
  654. if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then
  655. StaggerHitAnim.Value = true
  656. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1)
  657. return
  658. end
  659. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  660. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  661. end
  662. if hit.Parent.className == "Hat" then
  663. hit = hit.Parent.Parent:FindFirstChild("Head")
  664. end
  665. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  666. if hit.Parent:FindFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  667. return
  668. end
  669. 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
  670. return
  671. end
  672. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then
  673. return
  674. end
  675. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  676. hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun
  677. end
  678. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then
  679. hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true
  680. end
  681. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then
  682. if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then
  683. DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  684. local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats)
  685. BlockDebounce.Name = "BlockDebounce"
  686. BlockDebounce.Value = true
  687. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  688. end
  689. do
  690. if ranged ~= true then
  691. do
  692. if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then
  693. local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats)
  694. BlockDebounce2.Name = "BlockDebounce2"
  695. BlockDebounce2.Value = true
  696. game:GetService("Debris"):AddItem(BlockDebounce2, 0.1)
  697. so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1)
  698. end
  699. hit.Parent.Stats:FindFirstChild("BlockValue").Value = false
  700. StaggerAnim.Value = true
  701. do return end
  702. if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then
  703. if DecreaseTheStat == "Defense" then
  704. DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  705. else
  706. if DecreaseTheStat == "Damage" then
  707. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  708. else
  709. if DecreaseTheStat == "Movement" then
  710. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  711. end
  712. end
  713. end
  714. end
  715. local D = math.random(minim, maxim) * Damage.Value
  716. if hit.Parent:FindFirstChild("Stats") ~= nil then
  717. if hit.Parent.Stats:FindFirstChild("Defense") then
  718. if CanPenetrateArmor.Value == true then
  719. D = D / hit.Parent.Stats:FindFirstChild("Defense").Value
  720. -- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1
  721.  
  722. if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then
  723. CritChanceNumber = math.random(1, CritChance.Value)
  724. if CritChanceNumber == CritChance.Value then
  725. D = D * 2
  726. end
  727. end
  728. D = math.floor(D)
  729. h.Health = h.Health - D
  730. if D <= 3 and staggerhit == true then
  731. if ranged ~= true then
  732. StaggerHitAnim.Value = true
  733. end
  734. if ranged ~= true then
  735. so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1)
  736. end
  737. else
  738. if D > 3 and ranged ~= true then
  739. so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1)
  740. end
  741. end
  742. if D > 3 and D < 20 then
  743. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  744. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  745. so("296102734", hit, 1, 1)
  746. else
  747. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0))
  748. end
  749. else
  750. if D >= 20 then
  751. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  752. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  753. so("296102734", hit, 1, 1)
  754. else
  755. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0))
  756. end
  757. else
  758. if D <= 3 then
  759. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  760. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  761. so("296102734", hit, 1, 1)
  762. else
  763. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647))
  764. end
  765. end
  766. end
  767. end
  768. do
  769. if Type == "Normal" then
  770. local vp = Instance.new("BodyVelocity")
  771. vp.P = 500
  772. vp.maxForce = vt(math.huge, 0, math.huge)
  773. if KnockbackType == 1 then
  774. vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  775. else
  776. if KnockbackType == 2 then
  777. vp.Velocity = Property.CFrame.lookVector * knockback
  778. end
  779. end
  780. if knockback > 0 then
  781. vp.Parent = hit.Parent.Torso
  782. end
  783. game:GetService("Debris"):AddItem(vp, 0.5)
  784. end
  785. local DebounceHit = Instance.new("BoolValue", hit.Parent)
  786. DebounceHit.Name = "DebounceHit"
  787. DebounceHit.Value = true
  788. game:GetService("Debris"):AddItem(DebounceHit, Delay)
  789. end
  790. end
  791. end
  792. end
  793. end
  794. end
  795. end
  796. end
  797. end
  798. end
  799.  
  800. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  801.  
  802. for _,c in pairs(workspace:GetChildren()) do
  803. local hum = (c:FindFirstChild("Humanoid"))
  804. local head = nil
  805. if hum ~= nil then
  806. head = c:FindFirstChild("Torso")
  807. if head ~= nil then
  808. local targ = head.Position - Part.Position
  809. local mag = targ.magnitude
  810. if mag <= magni and c.Name ~= Player.Name then
  811. Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  812. end
  813. end
  814. do
  815. for _,d in pairs(c:GetChildren()) do
  816. if d.ClassName == "Model" and ranged ~= true then
  817. head = d:FindFirstChild("Hitbox")
  818. if head ~= nil then
  819. local targ = head.Position - Part.Position
  820. local mag = targ.magnitude
  821. if mag <= magni and c.Name ~= Player.Name then
  822. local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  823. hitrefpart.Anchored = true
  824. hitrefpart.CFrame = cf(head.Position)
  825. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1)
  826. StaggerHitAnim.Value = true
  827. end
  828. end
  829. end
  830. end
  831. do
  832. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT
  833.  
  834. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT
  835.  
  836. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT
  837.  
  838. end
  839. end
  840. end
  841. end
  842. end
  843.  
  844. MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead)
  845.  
  846. if Player.Neutral == true then
  847. if Type == "Buff" then
  848. IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  849. else
  850. if Type == "Debuff" then
  851. DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  852. end
  853. end
  854. end
  855. for _,c in pairs(workspace:GetChildren()) do
  856. local hum = (c:FindFirstChild("Humanoid"))
  857. local head = nil
  858. if hum ~= nil then
  859. head = c:FindFirstChild("Torso")
  860. if head ~= nil then
  861. local targ = head.Position - Part.Position
  862. local mag = targ.magnitude
  863. -- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1
  864.  
  865. 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
  866. if Type == "Buff" then
  867. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  868. else
  869. if Type == "Debuff" then
  870. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  871. end
  872. end
  873. end
  874. end
  875. end
  876. 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
  877. if Type == "Buff" then
  878. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  879. else
  880. if Type == "Debuff" then
  881. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  882. end
  883. end
  884. end
  885. end
  886. end
  887.  
  888. Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last)
  889.  
  890. local magz = p0 - p1.magnitude
  891. local curpos = p0
  892. local trz = {-ofs, ofs}
  893. for i = 1, tym do
  894. local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym))
  895. do
  896. li.Anchored = true
  897. local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  898. local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz
  899. if tym == i then
  900. local magz2 = curpos - p1.magnitude
  901. li.Size = vt(th, th, magz2)
  902. li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2)
  903. else
  904. do
  905. do
  906. li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2)
  907. curpos = li.CFrame * cf(0, 0, magz / tym / 2).p
  908. game.Debris:AddItem(li, last)
  909. coroutine.resume(coroutine.create(function()
  910.  
  911. while li.Transparency ~= 1 do
  912. for i = 0, 1, last do
  913. hbwait()
  914. li.Transparency = li.Transparency + 0.1 / last
  915. end
  916. end
  917. end
  918. ))
  919. end
  920. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  921.  
  922. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT
  923.  
  924. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT
  925.  
  926. end
  927. end
  928. end
  929. end
  930. end
  931.  
  932. MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  933.  
  934. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  935. prt.Anchored = true
  936. prt.CFrame = cframe
  937. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  938. game:GetService("Debris"):AddItem(prt, 10)
  939. coroutine.resume(coroutine.create(function(Part, Mesh)
  940.  
  941. for i = 0, 1, delay do
  942. hbwait()
  943. Part.CFrame = Part.CFrame
  944. Part.Transparency = i
  945. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  946. end
  947. Part.Parent = nil
  948. end
  949. ), prt, msh)
  950. end
  951.  
  952. MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  953.  
  954. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  955. prt.Anchored = true
  956. prt.CFrame = cframe
  957. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1))
  958. game:GetService("Debris"):AddItem(prt, 10)
  959. coroutine.resume(coroutine.create(function(Part, Mesh)
  960.  
  961. for i = 0, 1, delay do
  962. hbwait()
  963. Part.CFrame = Part.CFrame
  964. Part.Transparency = i
  965. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  966. end
  967. Part.Parent = nil
  968. end
  969. ), prt, msh)
  970. end
  971.  
  972. MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  973.  
  974. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  975. prt.Anchored = true
  976. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  977. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  978. game:GetService("Debris"):AddItem(prt, 10)
  979. coroutine.resume(coroutine.create(function(Part, Mesh)
  980.  
  981. for i = 0, 1, delay do
  982. hbwait()
  983. if rotate == true then
  984. Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  985. end
  986. Part.Transparency = i
  987. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  988. end
  989. Part.Parent = nil
  990. end
  991. ), prt, msh)
  992. end
  993.  
  994. MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  995.  
  996. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  997. prt.Anchored = true
  998. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  999. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1000. game:GetService("Debris"):AddItem(prt, 10)
  1001. CF = prt.CFrame
  1002. num = math.random(5, 20)
  1003. coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num)
  1004.  
  1005. for i = 0, 1, delay do
  1006. hbwait()
  1007. if rotate == true then
  1008. Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1009. else
  1010. Part.CFrame = CF2 * cf(0, i * Num, 0)
  1011. end
  1012. Part.Transparency = i
  1013. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1014. end
  1015. Part.Parent = nil
  1016. end
  1017. ), prt, msh, CF, num)
  1018. end
  1019.  
  1020. MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1021.  
  1022. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1023. prt.Anchored = true
  1024. prt.CFrame = cframe
  1025. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1026. game:GetService("Debris"):AddItem(prt, 10)
  1027. coroutine.resume(coroutine.create(function(Part, Mesh)
  1028.  
  1029. for i = 0, 1, delay do
  1030. hbwait()
  1031. Part.Transparency = i
  1032. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1033. end
  1034. Part.Parent = nil
  1035. end
  1036. ), prt, msh)
  1037. end
  1038.  
  1039. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1040.  
  1041. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1042. prt.Anchored = true
  1043. prt.CFrame = cframe
  1044. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1045. game:GetService("Debris"):AddItem(prt, 10)
  1046. coroutine.resume(coroutine.create(function(Part, Mesh)
  1047.  
  1048. for i = 0, 1, delay do
  1049. hbwait()
  1050. Part.Transparency = i
  1051. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1052. end
  1053. Part.Parent = nil
  1054. end
  1055. ), prt, msh)
  1056. end
  1057.  
  1058. MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1059.  
  1060. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1061. prt.Anchored = true
  1062. prt.CFrame = cframe
  1063. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  1064. game:GetService("Debris"):AddItem(prt, 10)
  1065. coroutine.resume(coroutine.create(function(Part, Mesh)
  1066.  
  1067. for i = 0, 1, delay do
  1068. hbwait()
  1069. Part.Transparency = i
  1070. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1071. end
  1072. Part.Parent = nil
  1073. end
  1074. ), prt, msh)
  1075. end
  1076.  
  1077. BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay)
  1078.  
  1079. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1080. prt.Anchored = true
  1081. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1082. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1083. game:GetService("Debris"):AddItem(prt, 10)
  1084. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  1085.  
  1086. CF = Part.CFrame
  1087. Numbb = 0
  1088. randnumb = math.random() - math.random()
  1089. for i = 0, 1, delay do
  1090. hbwait()
  1091. CF = CF * cf(0, 1, 0)
  1092. if rotate == true then
  1093. Part.CFrame = CF * angles(Numbb, 0, 0)
  1094. else
  1095. if rotate == false then
  1096. Part.CFrame = CF
  1097. end
  1098. end
  1099. Part.Transparency = i
  1100. Numbb = Numbb + (randnumb)
  1101. end
  1102. Part.Parent = nil
  1103. end
  1104. ), prt, CF, Numbb, randnumb)
  1105. end
  1106.  
  1107. ElecEffect = function(brickcolor, material, cf, x, y, z, delay)
  1108.  
  1109. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1110. prt.Anchored = true
  1111. prt.CFrame = cf
  1112. xval = math.random()
  1113. yval = math.random()
  1114. zval = math.random()
  1115. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z))
  1116. game:GetService("Debris"):AddItem(prt, 10)
  1117. coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal)
  1118.  
  1119. for i = 0, 1, delay do
  1120. hbwait()
  1121. Part.CFrame = Part.CFrame
  1122. xvaal = xvaal - 0.1 * (delay * 10)
  1123. yvaal = yvaal - 0.1 * (delay * 10)
  1124. zvaal = zvaal - 0.1 * (delay * 10)
  1125. Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal)
  1126. Part.Transparency = i
  1127. end
  1128. Part.Parent = nil
  1129. end
  1130. ), prt, msh, xval, yval, zval)
  1131. end
  1132.  
  1133. TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay)
  1134.  
  1135. local magnitudecframe = currentcf.p - oldcf.p.magnitude
  1136. if magnitudecframe > 0.01 then
  1137. local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1))
  1138. prt.Anchored = true
  1139. prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0)
  1140. local TheMeshType = "BlockMesh"
  1141. if meshtype == "Cylinder" then
  1142. TheMeshType = "CylinderMesh"
  1143. end
  1144. local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size))
  1145. game:GetService("Debris"):AddItem(prt, 10)
  1146. coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame)
  1147.  
  1148. for i = 0, 1, delay do
  1149. hbwait()
  1150. Part.Transparency = i
  1151. Mesh.Scale = Mesh.Scale + vt(x, y, z)
  1152. end
  1153. Part.Parent = nil
  1154. end
  1155. ), prt, msh, currentcf, oldcf)
  1156. end
  1157. end
  1158.  
  1159. ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay)
  1160.  
  1161. local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt())
  1162. prt.Anchored = true
  1163. prt.CFrame = cframe
  1164. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0))
  1165. game:GetService("Debris"):AddItem(prt, 10)
  1166. local TheLastPoint = cframe
  1167. coroutine.resume(coroutine.create(function(Part)
  1168.  
  1169. for i = 1, duration do
  1170. hbwait()
  1171. Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0)
  1172. TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay)
  1173. TheLastPoint = Part.CFrame
  1174. end
  1175. Part.Parent = nil
  1176. end
  1177. ), prt)
  1178. end
  1179.  
  1180. MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1181.  
  1182. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1183. prt.Anchored = true
  1184. prt.CFrame = cframe
  1185. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1))
  1186. game:GetService("Debris"):AddItem(prt, 10)
  1187. coroutine.resume(coroutine.create(function(Part, Mesh)
  1188.  
  1189. for i = 0, 1, delay do
  1190. hbwait()
  1191. Part.Transparency = i
  1192. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1193. end
  1194. Part.Parent = nil
  1195. end
  1196. ), prt, msh)
  1197. end
  1198.  
  1199. MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1200.  
  1201. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1202. prt.Anchored = true
  1203. prt.CFrame = cframe
  1204. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1))
  1205. game:GetService("Debris"):AddItem(prt, 10)
  1206. coroutine.resume(coroutine.create(function(Part, Mesh)
  1207.  
  1208. for i = 0, 1, delay do
  1209. hbwait()
  1210. Part.Transparency = i
  1211. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1212. end
  1213. Part.Parent = nil
  1214. end
  1215. ), prt, msh)
  1216. end
  1217.  
  1218. MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1219.  
  1220. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1221. prt.Anchored = true
  1222. prt.CFrame = cframe
  1223. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1))
  1224. game:GetService("Debris"):AddItem(prt, 10)
  1225. coroutine.resume(coroutine.create(function(Part, Mesh)
  1226.  
  1227. for i = 0, 1, delay do
  1228. hbwait()
  1229. Part.Transparency = i
  1230. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1231. end
  1232. Part.Parent = nil
  1233. end
  1234. ), prt, msh)
  1235. end
  1236.  
  1237. MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1238.  
  1239. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1240. prt.Anchored = true
  1241. prt.CFrame = cframe
  1242. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1))
  1243. game:GetService("Debris"):AddItem(prt, 10)
  1244. coroutine.resume(coroutine.create(function(Part, Mesh)
  1245.  
  1246. for i = 0, 1, delay do
  1247. hbwait()
  1248. Part.Transparency = i
  1249. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1250. end
  1251. Part.Parent = nil
  1252. end
  1253. ), prt, msh)
  1254. end
  1255.  
  1256. MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1257.  
  1258. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1259. prt.Anchored = true
  1260. prt.CFrame = cframe
  1261. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1262. game:GetService("Debris"):AddItem(prt, 10)
  1263. coroutine.resume(coroutine.create(function(Part, Mesh)
  1264.  
  1265. for i = 0, 1, delay do
  1266. hbwait()
  1267. Part.Transparency = i
  1268. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1269. end
  1270. Part.Parent = nil
  1271. end
  1272. ), prt, msh)
  1273. end
  1274.  
  1275. local startequipped = true
  1276. local startequippedwithequipanimation = false
  1277. local disableanimator = true
  1278. local disableanimate = true
  1279. local alternatewalk = false
  1280. local hidemenu = false
  1281. local allowmenutofunction = false
  1282. local allowabilitiestofunction = false
  1283. local canunequiporequip = false
  1284. local allowwalking = false
  1285. local disablemovingarms = false
  1286. local usemotorsinsteadofwelds = false
  1287. local leftarm = false
  1288. local rightarm = false
  1289. local allowhopperbin = false
  1290. local showstunbar = false
  1291. local walkspeeddependsonmovementvalue = true
  1292. local alternatemanaregensystem = false
  1293. local showhealthmanaandstunnumbers = false
  1294. local changebarcolorsifnotenoughmana = false
  1295. local disablejump = false
  1296. if hidemenu == true or allowmenutofunction == false then
  1297. for _,v in pairs(scrn:GetChildren()) do
  1298. if v.ClassName == "Frame" or v.ClassName == "TextLabel" then
  1299. v.Visible = false
  1300. v.BorderSizePixel = 0
  1301. end
  1302. end
  1303. end
  1304. do
  1305. Humanoid.Changed:connect(function(Jump)
  1306.  
  1307. if Jump == "Jump" and disablejump == true then
  1308. Humanoid.Jump = false
  1309. end
  1310. end
  1311. )
  1312. if allowmenutofunction == true then
  1313. for _,v in pairs(scrn:GetChildren()) do
  1314. if v.ClassName == "Frame" then
  1315. for _,b in pairs(v:GetChildren()) do
  1316. if b.ClassName == "TextLabel" then
  1317. coroutine.resume(coroutine.create(function(TheTextLabel)
  1318.  
  1319. wait(menuupdatespeed)
  1320. for i = 1, 0, -0.1 do
  1321. hbwait()
  1322. TheTextLabel.TextTransparency = i
  1323. TheTextLabel.TextStrokeTransparency = i
  1324. end
  1325. TheTextLabel.TextTransparency = 0
  1326. TheTextLabel.TextStrokeTransparency = 0
  1327. end
  1328. ), b)
  1329. if showstats == true then
  1330. coroutine.resume(coroutine.create(function(TheTextLabel)
  1331.  
  1332. wait(menuupdatespeed)
  1333. for i = 1, 0, -0.1 do
  1334. hbwait()
  1335. TheTextLabel.TextTransparency = i
  1336. TheTextLabel.TextStrokeTransparency = i
  1337. end
  1338. TheTextLabel.TextTransparency = 0
  1339. TheTextLabel.TextStrokeTransparency = 0
  1340. end
  1341. ), b)
  1342. end
  1343. if showstunbar == true then
  1344. coroutine.resume(coroutine.create(function(TheTextLabel)
  1345.  
  1346. wait(menuupdatespeed)
  1347. for i = 1, 0, -0.1 do
  1348. hbwait()
  1349. TheTextLabel.TextTransparency = i
  1350. TheTextLabel.TextStrokeTransparency = i
  1351. end
  1352. TheTextLabel.TextTransparency = 0
  1353. TheTextLabel.TextStrokeTransparency = 0
  1354. end
  1355. ), b)
  1356. end
  1357. if allowabilitiestofunction == true then
  1358. coroutine.resume(coroutine.create(function(TheTextLabel)
  1359.  
  1360. wait(menuupdatespeed)
  1361. for i = 1, 0, -0.1 do
  1362. hbwait()
  1363. TheTextLabel.TextTransparency = i
  1364. TheTextLabel.TextStrokeTransparency = i
  1365. end
  1366. TheTextLabel.TextTransparency = 0
  1367. TheTextLabel.TextStrokeTransparency = 0
  1368. end
  1369. ), b)
  1370. end
  1371. end
  1372. end
  1373. end
  1374. end
  1375. end
  1376. do
  1377. if allowhopperbin == true then
  1378. if script.Parent.className ~= "HopperBin" then
  1379. Tool = Instance.new("HopperBin")
  1380. Tool.Parent = Backpack
  1381. Tool.Name = WeaponName
  1382. script.Parent = Tool
  1383. end
  1384. Bin = script.Parent
  1385. end
  1386. if disablemovingarms == true then
  1387. RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1388. LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1389. RSH = nil
  1390. if usemotorsinsteadofwelds == true then
  1391. RW = Instance.new("Motor")
  1392. LW = Instance.new("Motor")
  1393. else
  1394. RW = Instance.new("Weld")
  1395. LW = Instance.new("Weld")
  1396. end
  1397. RW.Name = "Right Shoulder"
  1398. LW.Name = "Left Shoulder"
  1399. RSH = Torso["Right Shoulder"]
  1400. LSH = Torso["Left Shoulder"]
  1401. RSH.Parent = Torso
  1402. LSH.Parent = Torso
  1403. RW.Name = "Right Shoulder"
  1404. RW.Part0 = Torso
  1405. RW.C0 = cf(1.5, 0.5, 0)
  1406. RW.C1 = cf(0, 0.5, 0)
  1407. RW.Part1 = Character["Right Arm"]
  1408. RW.Parent = nil
  1409. LW.Name = "Left Shoulder"
  1410. LW.Part0 = Torso
  1411. LW.C0 = cf(-1.5, 0.5, 0)
  1412. LW.C1 = cf(0, 0.5, 0)
  1413. LW.Part1 = Character["Left Arm"]
  1414. LW.Parent = nil
  1415. else
  1416. RW = Torso["Right Shoulder"]
  1417. LW = Torso["Left Shoulder"]
  1418. RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  1419. LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  1420. end
  1421. equipanim = function()
  1422.  
  1423. attack = true
  1424. Movement.Value = Movement.Value - 0.1
  1425. Defense.Value = Defense.Value + 0.4
  1426. for i = 0, 1, 0.08 / animationspeed do
  1427. hbwait()
  1428. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1429. 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)
  1430. 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)
  1431. 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)
  1432. 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)
  1433. 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)
  1434. end
  1435. attack = false
  1436. end
  1437.  
  1438. unequipanim = function()
  1439.  
  1440. attack = true
  1441. for i = 0, 1, 0.08 / animationspeed do
  1442. hbwait()
  1443. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1444. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)), 0.3 / animationspeed)
  1445. 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)
  1446. 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)
  1447. if disablemovingarms == false then
  1448. RW.C1 = clerp(RW.C1, angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1449. LW.C1 = clerp(LW.C1, angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1450. end
  1451. 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)
  1452. 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)
  1453. RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1454. LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1455. end
  1456. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  1457. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  1458. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  1459. RW.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  1460. LW.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  1461. if disablemovingarms == false then
  1462. RW.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1463. LW.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1464. end
  1465. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1466. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1467. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1468. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1469. Movement.Value = Movement.Value + 0.1
  1470. Defense.Value = Defense.Value - 0.4
  1471. attack = false
  1472. end
  1473.  
  1474. if startequipped == true then
  1475. equipped = true
  1476. if disableanimate == true then
  1477. Animate.Disabled = true
  1478. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1479. idleanimation:Play()
  1480. end
  1481. if disableanimator == true then
  1482. Animator.Parent = nil
  1483. end
  1484. if disablemovingarms == true then
  1485. RW.Parent = Torso
  1486. LW.Parent = Torso
  1487. RSH.Parent = nil
  1488. LSH.Parent = nil
  1489. end
  1490. Movement.Value = Movement.Value - 0.1
  1491. Defense.Value = Defense.Value + 0.4
  1492. end
  1493. if startequippedwithequipanimation == true then
  1494. equipped = true
  1495. if disableanimate == true then
  1496. Animate.Disabled = true
  1497. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1498. idleanimation:Play()
  1499. end
  1500. if disableanimator == true then
  1501. Animator.Parent = nil
  1502. end
  1503. if disablemovingarms == true then
  1504. RW.Parent = Torso
  1505. LW.Parent = Torso
  1506. RSH.Parent = nil
  1507. LSH.Parent = nil
  1508. end
  1509. coroutine.resume(coroutine.create(function()
  1510.  
  1511. hbwait()
  1512. equipanim()
  1513. end
  1514. ))
  1515. end
  1516.  
  1517. StaggerHit = function()
  1518.  
  1519. attack = true
  1520. if Hitbox ~= nil then
  1521. for i = 1, math.random(2, 4) do
  1522. 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)
  1523. end
  1524. end
  1525. do
  1526. for i = 0, 1, 0.1 / animationspeed do
  1527. hbwait()
  1528. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed)
  1529. 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)
  1530. 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)
  1531. 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)
  1532. 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)
  1533. 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)
  1534. if StaggerAnim.Value ~= true then
  1535. do
  1536. if StunAnim.Value == true then
  1537. break
  1538. end
  1539. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1540.  
  1541. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT
  1542.  
  1543. end
  1544. end
  1545. end
  1546. attack = false
  1547. end
  1548. end
  1549.  
  1550. Stagger = function()
  1551.  
  1552. attack = true
  1553. disablejump = true
  1554. if Hitbox ~= nil then
  1555. for i = 1, math.random(2, 4) do
  1556. 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)
  1557. end
  1558. end
  1559. do
  1560. attacktype = 1
  1561. DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0))
  1562. local staggervelocity = Instance.new("BodyVelocity", Torso)
  1563. staggervelocity.P = 500
  1564. staggervelocity.maxForce = vt(math.huge, 0, math.huge)
  1565. if Rooted.Value == false then
  1566. staggervelocity.Velocity = RootPart.CFrame.lookVector * -25
  1567. end
  1568. for i = 0, 1, 0.35 / animationspeed do
  1569. hbwait()
  1570. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed)
  1571. 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)
  1572. 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)
  1573. 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)
  1574. 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)
  1575. 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)
  1576. end
  1577. for i = 0, 1, 0.2 / animationspeed do
  1578. hbwait()
  1579. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), 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, -0.9 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(30)), 0.3 / animationspeed)
  1585. end
  1586. staggervelocity:Destroy()
  1587. for i = 0, 1, 0.015 / animationspeed do
  1588. hbwait()
  1589. 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)
  1590. 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)
  1591. 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)
  1592. 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)
  1593. 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)
  1594. 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)
  1595. if StunAnim.Value == true then
  1596. break
  1597. end
  1598. end
  1599. do
  1600. attacktype = 1
  1601. disablejump = false
  1602. attack = false
  1603. end
  1604. end
  1605. end
  1606.  
  1607. Stun = function()
  1608.  
  1609. attack = true
  1610. disablejump = true
  1611. attacktype = 1
  1612. DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
  1613. for i = 0, 1, 0.4 / animationspeed do
  1614. hbwait()
  1615. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed)
  1616. 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)
  1617. 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)
  1618. 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)
  1619. 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)
  1620. 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)
  1621. end
  1622. for i = 0, 1, 0.4 / animationspeed do
  1623. hbwait()
  1624. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed)
  1625. 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)
  1626. 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)
  1627. 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)
  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(-40)), 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, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed)
  1634. 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)
  1635. 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)
  1636. 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)
  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(-30)), 0.3 / animationspeed)
  1639. end
  1640. Humanoid.AutoRotate = false
  1641. for i = 1, 70 * animationspeed do
  1642. hbwait()
  1643. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed)
  1644. 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)
  1645. 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)
  1646. 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)
  1647. 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)
  1648. 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)
  1649. end
  1650. for i = 0, 1, 0.15 / animationspeed do
  1651. hbwait()
  1652. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 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(-30)) * 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(-20), rad(0), rad(30)) * RWC0, 0.3 / animationspeed)
  1655. 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)
  1656. 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)
  1657. 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)
  1658. end
  1659. Humanoid.AutoRotate = true
  1660. attacktype = 1
  1661. disablejump = false
  1662. attack = false
  1663. end
  1664.  
  1665. EAbility = function()
  1666.  
  1667. attack = true
  1668. attack = false
  1669. end
  1670.  
  1671. Attack1 = function()
  1672.  
  1673. attack = true
  1674. attack = false
  1675. end
  1676.  
  1677. Attack2 = function()
  1678.  
  1679. attack = true
  1680. attack = false
  1681. end
  1682.  
  1683. Attack3 = function()
  1684.  
  1685. attack = true
  1686. attack = false
  1687. end
  1688.  
  1689. Attack4 = function()
  1690.  
  1691. attack = true
  1692. attack = false
  1693. end
  1694.  
  1695. Move1 = function()
  1696.  
  1697. attack = true
  1698. attack = false
  1699. end
  1700.  
  1701. Move2 = function()
  1702.  
  1703. attack = true
  1704. attack = false
  1705. end
  1706.  
  1707. Move3 = function()
  1708.  
  1709. attack = true
  1710. attack = false
  1711. end
  1712.  
  1713. Move4 = function()
  1714.  
  1715. attack = true
  1716. attack = false
  1717. end
  1718.  
  1719. hold = false
  1720. Mouse.Button1Down:connect(function()
  1721.  
  1722. if attack == true or equipped == false then
  1723. return
  1724. end
  1725. hold = true
  1726. if attacktype == 1 then
  1727. attacktype = 2
  1728. Attack1()
  1729. else
  1730. if attacktype == 2 then
  1731. attacktype = 3
  1732. Attack2()
  1733. else
  1734. if attacktype == 3 then
  1735. attacktype = 4
  1736. Attack3()
  1737. else
  1738. if attacktype == 4 then
  1739. attacktype = 1
  1740. Attack4()
  1741. end
  1742. end
  1743. end
  1744. end
  1745. coroutine.resume(coroutine.create(function()
  1746.  
  1747. for i = 1, 50 do
  1748. if attack == false then
  1749. hbwait()
  1750. end
  1751. end
  1752. if attack == false then
  1753. attacktype = 1
  1754. end
  1755. end
  1756. ))
  1757. end
  1758. )
  1759. if allowhopperbin == true then
  1760. ob1u = function(Mouse)
  1761.  
  1762. hold = false
  1763. end
  1764.  
  1765. end
  1766. Mouse.KeyDown:connect(function(key)
  1767.  
  1768. if key == "f" and canunequiporequip == true and attack == false then
  1769. if equipped == false then
  1770. equipped = true
  1771. if disableanimate == true then
  1772. Animate.Disabled = true
  1773. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1774. idleanimation:Play()
  1775. end
  1776. if disableanimator == true then
  1777. Animator.Parent = nil
  1778. end
  1779. if disablemovingarms == true then
  1780. RW.Parent = Torso
  1781. LW.Parent = Torso
  1782. RSH.Parent = nil
  1783. LSH.Parent = nil
  1784. end
  1785. equipanim()
  1786. elseif equipped == true then
  1787. equipped = false
  1788. unequipanim()
  1789. hbwait()
  1790. if disablemovingarms == true then
  1791. RW.Parent = nil
  1792. LW.Parent = nil
  1793. RSH.Parent = Torso
  1794. LSH.Parent = Torso
  1795. end
  1796. if disableanimator == true then
  1797. Animator.Parent = Humanoid
  1798. end
  1799. if disableanimate == true then
  1800. Animate.Disabled = false
  1801. end
  1802. end
  1803. end
  1804. if key == "e" and attack == false and equipped == true then
  1805. if animtype < 3 then
  1806. animtype = animtype + 1
  1807. elseif animtype >= 3 then
  1808. animtype = 1
  1809. end
  1810. end
  1811. if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then
  1812. subtractmana(skill1mana)
  1813. cooldown1 = 0
  1814. Move1()
  1815. end
  1816. if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then
  1817. subtractmana(skill2mana)
  1818. cooldown2 = 0
  1819. Move2()
  1820. end
  1821. if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then
  1822. subtractmana(skill3mana)
  1823. cooldown3 = 0
  1824. Move3()
  1825. end
  1826. if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then
  1827. subtractmana(skill4mana)
  1828. cooldown4 = 0
  1829. Move4()
  1830. end
  1831. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  1832. if key == "q" then
  1833. Mana.Value = 100
  1834. cooldown1 = co1
  1835. cooldown2 = co2
  1836. cooldown3 = co3
  1837. cooldown4 = co4
  1838. end
  1839. if key == "p" then
  1840. StaggerHitAnim.Value = true
  1841. end
  1842. if key == "[" then
  1843. StaggerAnim.Value = true
  1844. end
  1845. if key == "]" then
  1846. StunAnim.Value = true
  1847. end
  1848. end
  1849. end
  1850. )
  1851. Mouse.KeyUp:connect(function(key2)
  1852.  
  1853. end
  1854. )
  1855. if allowhopperbin == true then
  1856. s = function(Mouse)
  1857.  
  1858. Mouse.Button1Down:connect(function()
  1859.  
  1860. ob1d(Mouse)
  1861. end
  1862. )
  1863. Mouse.Button1Up:connect(function()
  1864.  
  1865. ob1u(Mouse)
  1866. end
  1867. )
  1868. Mouse.KeyDown:connect(key)
  1869. Mouse.KeyUp:connect(key2)
  1870. end
  1871.  
  1872. end
  1873. if allowhopperbin == true then
  1874. ds = function(Mouse)
  1875.  
  1876. end
  1877.  
  1878. end
  1879. if allowhopperbin == true then
  1880. Bin.Selected:connect(s)
  1881. Bin.Deselected:connect(ds)
  1882. end
  1883. updateskills = function()
  1884.  
  1885. if allowabilitiestofunction == true then
  1886. if cooldown1 <= co1 then
  1887. cooldown1 = cooldown1 + 0.033333333333333
  1888. if co1 <= cooldown1 then
  1889. cooldown1 = co1
  1890. end
  1891. end
  1892. if cooldown2 <= co2 then
  1893. cooldown2 = cooldown2 + 0.033333333333333
  1894. if co2 <= cooldown2 then
  1895. cooldown2 = co2
  1896. end
  1897. end
  1898. if cooldown3 <= co3 then
  1899. cooldown3 = cooldown3 + 0.033333333333333
  1900. if co3 <= cooldown3 then
  1901. cooldown3 = co3
  1902. end
  1903. end
  1904. if cooldown4 <= co4 then
  1905. cooldown4 = cooldown4 + 0.033333333333333
  1906. if co4 <= cooldown4 then
  1907. cooldown4 = co4
  1908. end
  1909. end
  1910. if changebarcolorsifnotenoughmana == true then
  1911. if Mana.Value <= skill1mana then
  1912. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1913. else
  1914. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1915. end
  1916. if Mana.Value <= skill2mana then
  1917. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1918. else
  1919. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1920. end
  1921. if Mana.Value <= skill3mana then
  1922. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1923. else
  1924. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1925. end
  1926. if Mana.Value <= skill4mana then
  1927. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1928. else
  1929. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1930. end
  1931. else
  1932. if changebarcolorsifnotenoughmana == false then
  1933. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1934. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1935. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1936. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1937. end
  1938. end
  1939. end
  1940. if alternatemanaregensystem == false then
  1941. if Mana.Value <= maxmana then
  1942. Mana.Value = Mana.Value + recovermana / 30
  1943. else
  1944. if maxmana <= Mana.Value then
  1945. Mana.Value = maxmana
  1946. end
  1947. end
  1948. else
  1949. if alternatemanaregensystem == true then
  1950. if maxmana <= Mana.Value then
  1951. Mana.Value = maxmana
  1952. else
  1953. if manadelay <= manawait then
  1954. manadelay = manadelay + 1
  1955. else
  1956. manadelay = 0
  1957. Mana.Value = Mana.Value + 1
  1958. end
  1959. end
  1960. end
  1961. end
  1962. if allowstunbar == true then
  1963. if StunValue.Value <= 0 then
  1964. StunValue.Value = 0
  1965. else
  1966. if stundelay <= stunwait then
  1967. stundelay = stundelay + 1
  1968. else
  1969. stundelay = 0
  1970. StunValue.Value = StunValue.Value - 1
  1971. end
  1972. end
  1973. else
  1974. if allowstunbar == false then
  1975. StunValue.Value = 0
  1976. end
  1977. end
  1978. end
  1979.  
  1980. if allowmenutofunction == true then
  1981. ArtificialHB.Event:connect(function()
  1982.  
  1983. updateskills()
  1984. if allowabilitiestofunction == true then
  1985. framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1986. framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1987. framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1988. framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1989. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1990. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1991. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1992. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1993. end
  1994. manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1995. manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1996. healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1997. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1998. if allowstunbar == true and showstunbar == true and stunframe ~= nil then
  1999. stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2000. stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2001. end
  2002. if showhealthmanaandstunnumbers == true then
  2003. manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]"
  2004. healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
  2005. if allowstunbar == true and showstunbar == true then
  2006. stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]"
  2007. end
  2008. end
  2009. if showstats == true then
  2010. defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2011. damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2012. movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2013. defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%"
  2014. damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%"
  2015. if Rooted.Value == false then
  2016. movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%"
  2017. else
  2018. if Rooted.Value == true or Movement.Value <= 0 then
  2019. movementtext.Text = "Movement: 0%"
  2020. end
  2021. end
  2022. end
  2023. end
  2024. )
  2025. end
  2026. while 1 do
  2027. hbwait()
  2028. if Hitbox ~= nil then
  2029. if attack == true then
  2030. Hitbox.Name = "Hitbox"
  2031. else
  2032. if attack == false then
  2033. Hitbox.Name = "NilHitbox"
  2034. end
  2035. end
  2036. end
  2037. if 0 < Humanoid.Health then
  2038. if walkspeeddependsonmovementvalue == true then
  2039. if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then
  2040. Humanoid.WalkSpeed = 0
  2041. else
  2042. Humanoid.WalkSpeed = 16 * Movement.Value
  2043. end
  2044. end
  2045. if maxstun <= StunValue.Value then
  2046. StunValue.Value = 0
  2047. StunAnim.Value = true
  2048. end
  2049. if StaggerAnim.Value == true and staggeranim == false then
  2050. coroutine.resume(coroutine.create(function()
  2051.  
  2052. staggeranim = true
  2053. while attack == true do
  2054. hbwait()
  2055. end
  2056. Stagger()
  2057. StaggerAnim.Value = false
  2058. staggeranim = false
  2059. end
  2060. ))
  2061. end
  2062. if StaggerHitAnim.Value == true and staggerhitanim == false then
  2063. coroutine.resume(coroutine.create(function()
  2064.  
  2065. staggerhitanim = true
  2066. while attack == true do
  2067. hbwait()
  2068. end
  2069. StaggerHit()
  2070. StaggerHitAnim.Value = false
  2071. staggerhitanim = false
  2072. end
  2073. ))
  2074. end
  2075. if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then
  2076. coroutine.resume(coroutine.create(function()
  2077.  
  2078. StunValue.Value = 0
  2079. stunanim = true
  2080. while attack == true do
  2081. hbwait()
  2082. end
  2083. Stun()
  2084. StunAnim.Value = false
  2085. stunanim = false
  2086. end
  2087. ))
  2088. end
  2089. sine = sine + change
  2090. local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude
  2091. local velderp = RootPart.Velocity.y
  2092. local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
  2093. hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character)
  2094. if 0.5 <= donum then
  2095. handidle = true
  2096. else
  2097. if donum <= 0 then
  2098. handidle = false
  2099. end
  2100. end
  2101. if handidle == false then
  2102. donum = donum + 0.003 / animationspeed
  2103. else
  2104. donum = donum - 0.003 / animationspeed
  2105. end
  2106. if equipped == true or equipped == false then
  2107. if attack == false then
  2108. idle = idle + 1
  2109. else
  2110. idle = 0
  2111. end
  2112. if leftarm == true then
  2113. if Anim == "Walk" and equipped == true and attack == false then
  2114. if alternatewalk == false then
  2115. if walkinganim == true then
  2116. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2117. else
  2118. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2119. end
  2120. else
  2121. if walkinganim == true then
  2122. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2123. else
  2124. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2125. end
  2126. end
  2127. else
  2128. -- DECOMPILER ERROR at PC2457: Unhandled construct in 'MakeBoolean' P3
  2129.  
  2130. if (Anim ~= "Walk" and equipped == true) or leftarm == false then
  2131. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2132. end
  2133. end
  2134. end
  2135. if rightarm == true then
  2136. if Anim == "Walk" and equipped == true and attack == false then
  2137. if alternatewalk == false then
  2138. if walkinganim == true then
  2139. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2140. else
  2141. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2142. end
  2143. else
  2144. if walkinganim == true then
  2145. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2146. else
  2147. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2148. end
  2149. end
  2150. else
  2151. -- DECOMPILER ERROR at PC2648: Unhandled construct in 'MakeBoolean' P3
  2152.  
  2153. if (Anim ~= "Walk" and equipped == true) or rightarm == false then
  2154. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2155. end
  2156. end
  2157. end
  2158. if allowwalking == true then
  2159. if Anim == "Walk" and equipped == true then
  2160. if alternatewalk == false then
  2161. if walkinganim == true then
  2162. 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)
  2163. 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)
  2164. else
  2165. 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)
  2166. 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)
  2167. end
  2168. else
  2169. if walkinganim == true then
  2170. 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)
  2171. 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)
  2172. else
  2173. 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)
  2174. 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)
  2175. end
  2176. end
  2177. else
  2178. if Anim ~= "Walk" and equipped == 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(0)), 0.2 / 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(0)), 0.2 / animationspeed)
  2181. end
  2182. end
  2183. end
  2184. Anim = "Idle"
  2185. if attack == false then
  2186. if equipped == true then
  2187. if animtype == 1 then
  2188. 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)
  2189. 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)
  2190. 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)
  2191. 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)
  2192. 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)
  2193. 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)
  2194. end
  2195. if animtype == 2 then
  2196. 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)
  2197. 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)
  2198. 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)
  2199. 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)
  2200. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 5 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2201. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 5 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2202. end
  2203. end
  2204. if animtype == 3 then
  2205. 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)
  2206. 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)
  2207. 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)
  2208. 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)
  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 + 10 * 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 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2211. end
  2212. end
  2213. end
  2214. end
  2215. end
  2216. end
  2217. endPlayer = game:GetService("Players").LocalPlayer
  2218. Character = Player.Character
  2219. PlayerGui = Player.PlayerGui
  2220. Backpack = Player.Backpack
  2221. Torso = Character.Torso
  2222. Head = Character.Head
  2223. Humanoid = Character.Humanoid
  2224. RootPart = Character.HumanoidRootPart
  2225. RootJoint = RootPart.RootJoint
  2226. LeftArm = Character["Left Arm"]
  2227. LeftLeg = Character["Left Leg"]
  2228. RightArm = Character["Right Arm"]
  2229. RightLeg = Character["Right Leg"]
  2230. LS = Torso["Left Shoulder"]
  2231. LH = Torso["Left Hip"]
  2232. RS = Torso["Right Shoulder"]
  2233. RH = Torso["Right Hip"]
  2234. Humanoid.MaxHealth = math.huge
  2235. wait()
  2236. Humanoid.Health = Humanoid.MaxHealth
  2237. local BC = Character["Body Colors"]
  2238. BC.HeadColor = BrickColor.new("Pastel brown")
  2239. BC.LeftArmColor = BrickColor.new("Pastel brown")
  2240. BC.LeftLegColor = BrickColor.new("Pastel brown")
  2241. BC.RightArmColor = BrickColor.new("Pastel brown")
  2242. BC.RightLegColor = BrickColor.new("Pastel brown")
  2243. BC.TorsoColor = BrickColor.new("Pastel brown")
  2244. for i,v in pairs(Character:children()) do
  2245. if v:IsA("Shirt") then
  2246. v:Destroy()
  2247. end
  2248. end
  2249. for i,v in pairs(Character:children()) do
  2250. if v:IsA("Pants") then
  2251. v:Destroy()
  2252. end
  2253. end
  2254. ------Face----------
  2255. Character.Head.face.Texture = "rbxassetid://840490876"
  2256. ------Remover-------
  2257.  
  2258. for i,v in pairs(Character:children()) do
  2259. if v:IsA("Hat") then
  2260. v:Destroy()
  2261. end
  2262. end
  2263. for i,v in pairs(Character:children()) do
  2264. if v:IsA("Accessory") then
  2265. v:Destroy()
  2266. end
  2267. end
  2268. for i,v in pairs(Character:children()) do
  2269. if v:IsA("Hair") then
  2270. v:Destroy()
  2271. end
  2272. end
  2273. ------Heavy---------
  2274. CV="Maroon"
  2275. Player = game.Players.LocalPlayer
  2276. char = Player.Character
  2277. local txt = Instance.new("BillboardGui", Character)
  2278. txt.Adornee = Character .Head
  2279. txt.Name = "_status"
  2280. txt.Size = UDim2.new(2, 0, 1.2, 0)
  2281. txt.StudsOffset = Vector3.new(-9, 8, 0)
  2282. local text = Instance.new("TextLabel", txt)
  2283. text.Size = UDim2.new(10, 0, 7, 0)
  2284. text.FontSize = "Size24"
  2285. text.TextScaled = true
  2286. text.TextTransparency = 0
  2287. text.BackgroundTransparency = 1
  2288. text.TextTransparency = 0
  2289. text.TextStrokeTransparency = 0
  2290. text.Font = "Bodoni"
  2291. text.TextStrokeColor3 = Color3.new(255,255,255)
  2292.  
  2293. v=Instance.new("Part")
  2294. v.Name = "ColorBrick"
  2295. v.Parent=Player.Character
  2296. v.FormFactor="Symmetric"
  2297. v.Anchored=true
  2298. v.CanCollide=false
  2299. v.BottomSurface="Smooth"
  2300. v.TopSurface="Smooth"
  2301. v.Size=Vector3.new(10,5,3)
  2302. v.Transparency=1
  2303. v.CFrame=Character.Torso.CFrame
  2304. v.BrickColor=BrickColor.new(CV)
  2305. v.Transparency=1
  2306. text.TextColor3 = Color3.new(255,0,0)
  2307. v.Shape="Block"
  2308. text.Text = "Heavy"
  2309. --------------------
  2310. shirt = Instance.new("Shirt", Character)
  2311. shirt.Name = "Shirt"
  2312. pants = Instance.new("Pants", Character)
  2313. pants.Name = "Pants"
  2314. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=69232183"
  2315. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=69232474"
  2316. sound = Instance.new("Sound", Character)
  2317. sound.SoundId = "rbxassetid://537549688"
  2318. sound.Volume = 100000000
  2319. sound.EmitterSize = 25
  2320. sound:Play()
  2321. sound.Looped = true
  2322. Face = Head.face
  2323. Neck = Torso.Neck
  2324. it = Instance.new
  2325. vt = Vector3.new
  2326. cf = CFrame.new
  2327. rad = math.rad
  2328. euler = CFrame.fromEulerAnglesXYZ
  2329. angles = CFrame.Angles
  2330. Mouse = Player:GetMouse()
  2331. coroutine.resume(coroutine.create(function()
  2332. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  2333. Text = "Fixed by PixelFir3 / Cortana#8155";
  2334. Color = Color3.new(0, 1, 1);
  2335. Font = Enum.Font.Code;
  2336. FontSize = Enum.FontSize.Size24;
  2337. })
  2338. end))
  2339. ArtificialHB = Instance.new("BindableEvent", script)
  2340. ArtificialHB.Name = "ArtificialHB"
  2341. script:WaitForChild("ArtificialHB")
  2342. frame = 0.016666666666667
  2343. tf = 0
  2344. allowframeloss = false
  2345. tossremainder = false
  2346. lastframe = tick()
  2347. script.ArtificialHB:Fire()
  2348. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2349.  
  2350. tf = tf + s
  2351. if frame <= tf then
  2352. if allowframeloss then
  2353. script.ArtificialHB:Fire()
  2354. lastframe = tick()
  2355. else
  2356. for i = 1, math.floor(tf / frame) do
  2357. script.ArtificialHB:Fire()
  2358. end
  2359. lastframe = tick()
  2360. end
  2361. if tossremainder then
  2362. tf = 0
  2363. else
  2364. tf = tf - frame * math.floor(tf / frame)
  2365. end
  2366. end
  2367. end
  2368. )
  2369. local animationspeed = 2
  2370. hbwait = function(number)
  2371.  
  2372. if number == 0 or number == nil then
  2373. ArtificialHB.Event:wait()
  2374. else
  2375. for i = 0, number do
  2376. ArtificialHB.Event:wait()
  2377. end
  2378. end
  2379. end
  2380.  
  2381. local Stats = Instance.new("Folder", Character)
  2382. Stats.Name = "Stats"
  2383. local Defense = Instance.new("NumberValue", Stats)
  2384. Defense.Name = "Defense"
  2385. Defense.Value = 0.1
  2386. local Movement = Instance.new("NumberValue", Stats)
  2387. Movement.Name = "Movement"
  2388. Movement.Value = 0.35
  2389. local Damage = Instance.new("NumberValue", Stats)
  2390. Damage.Name = "Damage"
  2391. Damage.Value = 0
  2392. local Mana = Instance.new("NumberValue", Stats)
  2393. Mana.Name = "Mana"
  2394. Mana.Value = 0
  2395. local Rooted = Instance.new("BoolValue", Stats)
  2396. Rooted.Name = "Rooted"
  2397. Rooted.Value = false
  2398. local BlockValue = Instance.new("BoolValue", Stats)
  2399. BlockValue.Name = "BlockValue"
  2400. BlockValue.Value = false
  2401. local StaggerHitAnim = Instance.new("BoolValue", Stats)
  2402. StaggerHitAnim.Name = "StaggerHitAnim"
  2403. StaggerHitAnim.Value = false
  2404. local StaggerAnim = Instance.new("BoolValue", Stats)
  2405. StaggerAnim.Name = "StaggerAnim"
  2406. StaggerAnim.Value = false
  2407. local StunAnim = Instance.new("BoolValue", Stats)
  2408. StunAnim.Name = "StunAnim"
  2409. StunAnim.Value = false
  2410. local StunValue = Instance.new("NumberValue", Stats)
  2411. StunValue.Name = "StunValue"
  2412. StunValue.Value = 0
  2413. local CanCrit = Instance.new("BoolValue", Stats)
  2414. CanCrit.Name = "CanCrit"
  2415. CanCrit.Value = false
  2416. local CritChance = Instance.new("NumberValue", Stats)
  2417. CritChance.Name = "CritChance"
  2418. CritChance.Value = 20
  2419. local CanPenetrateArmor = Instance.new("BoolValue", Stats)
  2420. CanPenetrateArmor.Name = "CanPenetrateArmor"
  2421. CanPenetrateArmor.Value = false
  2422. local AntiTeamKill = Instance.new("BoolValue", Stats)
  2423. AntiTeamKill.Name = "AntiTeamKill"
  2424. AntiTeamKill.Value = false
  2425. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2426. RootCF = angles(rad(-90), 0, rad(180))
  2427. local idle = 0
  2428. local Anim = "Idle"
  2429. local animtype = math.floor(math.random(1, 3))
  2430. local attacktype = 1
  2431. local attack = false
  2432. local equipped = false
  2433. local LastPoint = nil
  2434. local staggerhitanim = false
  2435. local staggeranim = false
  2436. local stunanim = false
  2437. local CritChanceNumber = 0
  2438. local idlen = 0
  2439. local donum = 0
  2440. local sine = 0
  2441. local change = 2 / animationspeed
  2442. local walkinganim = false
  2443. local handidle = false
  2444. local walk = 0
  2445. local stundelay = 0
  2446. local manadelay = 0
  2447. local robloxidleanimation = Instance.new("Animation", Torso)
  2448. robloxidleanimation.Name = "robloxidleanimation"
  2449. robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  2450. local Animator = Humanoid:FindFirstChild("Animator")
  2451. local Animate = Character:FindFirstChild("Animate")
  2452. local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297}
  2453. local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452}
  2454. local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119}
  2455. local HitBlockSounds = {199148933, 199148947}
  2456. local cooldown1 = 0
  2457. local cooldown2 = 0
  2458. local cooldown3 = 0
  2459. local cooldown4 = 0
  2460. local scrn = Instance.new("ScreenGui", PlayerGui)
  2461. local ud = UDim2.new
  2462. local c3 = Color3.new
  2463. local skillcolorscheme = c3(1, 1, 1)
  2464. subtractmana = function(k)
  2465.  
  2466. if k <= Mana.Value then
  2467. Mana.Value = Mana.Value - k
  2468. end
  2469. end
  2470.  
  2471. local co1 = 0
  2472. local co2 = 0
  2473. local co3 = 0
  2474. local co4 = 0
  2475. local maxmana = 0
  2476. local maxstun = 1
  2477. local recovermana = 0
  2478. local losestun = 0
  2479. local stunwait = 0
  2480. local manawait = 0
  2481. local skill1mana = 0
  2482. local skill2mana = 0
  2483. local skill3mana = 0
  2484. local skill4mana = 0
  2485. local menuupdatespeed = 0
  2486. local constantupdate = false
  2487. local showstats = false
  2488. local allowstunbar = false
  2489. local CustomColor = Torso.BrickColor
  2490. local Colorpart1 = CustomColor.r
  2491. local Colorpart2 = CustomColor.g
  2492. local Colorpart3 = CustomColor.b
  2493. local InverseColor = BrickColor.new(Color3.new(1 - Colorpart1, 1 - Colorpart2, 1 - Colorpart3))
  2494. makeframe = function(par, trans, pos, size, color, name)
  2495.  
  2496. local frame = Instance.new("Frame")
  2497. frame.Parent = par
  2498. frame.BackgroundTransparency = trans
  2499. frame.BorderSizePixel = 2
  2500. frame.Position = pos
  2501. frame.Size = size
  2502. frame.BackgroundColor3 = color
  2503. frame.Name = name
  2504. return frame
  2505. end
  2506.  
  2507. makelabel = function(par, text, trans, stroketrans, name)
  2508.  
  2509. local label = Instance.new("TextLabel")
  2510. label.Parent = par
  2511. label.BackgroundTransparency = 1
  2512. label.Size = ud(1, 0, 1, 0)
  2513. label.Position = ud(0, 0, 0, 0)
  2514. label.TextColor3 = c3(255, 255, 255)
  2515. label.TextStrokeTransparency = stroketrans
  2516. label.TextTransparency = trans
  2517. label.FontSize = Enum.FontSize.Size32
  2518. label.Font = Enum.Font.Legacy
  2519. label.BorderSizePixel = 0
  2520. label.TextScaled = true
  2521. label.Text = text
  2522. label.Name = name
  2523. return label
  2524. end
  2525.  
  2526. framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1")
  2527. framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2")
  2528. framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3")
  2529. framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4")
  2530. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1")
  2531. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2")
  2532. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3")
  2533. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4")
  2534. text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1")
  2535. text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2")
  2536. text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3")
  2537. text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4")
  2538. manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar")
  2539. manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover")
  2540. manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
  2541. 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")
  2542. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover")
  2543. healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
  2544. if allowstunbar == true then
  2545. 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")
  2546. stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar")
  2547. stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
  2548. end
  2549. if showstats == true then
  2550. 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")
  2551. 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")
  2552. 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")
  2553. defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text")
  2554. damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text")
  2555. movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text")
  2556. end
  2557. NoOutline = function(Part)
  2558.  
  2559. Part.TopSurface = 10
  2560. end
  2561.  
  2562. local weldBetween = function(a, b)
  2563.  
  2564. local weldd = Instance.new("ManualWeld")
  2565. weldd.Part0 = a
  2566. weldd.Part1 = b
  2567. weldd.C0 = CFrame.new()
  2568. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2569. weldd.Parent = a
  2570. return weldd
  2571. end
  2572.  
  2573. nooutline = function(part)
  2574.  
  2575. part.TopSurface = 10
  2576. end
  2577.  
  2578. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  2579.  
  2580. local fp = it("Part")
  2581. fp.formFactor = formfactor
  2582. fp.Parent = parent
  2583. fp.Reflectance = reflectance
  2584. fp.Transparency = transparency
  2585. fp.CanCollide = false
  2586. fp.Locked = true
  2587. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  2588. fp.Name = name
  2589. fp.Size = size
  2590. fp.Position = Character.Torso.Position
  2591. nooutline(fp)
  2592. fp.Material = material
  2593. fp:BreakJoints()
  2594. return fp
  2595. end
  2596.  
  2597. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  2598.  
  2599. local mesh = it(Mesh)
  2600. mesh.Parent = part
  2601. if Mesh == "SpecialMesh" then
  2602. mesh.MeshType = meshtype
  2603. mesh.MeshId = meshid
  2604. end
  2605. mesh.Offset = offset
  2606. mesh.Scale = scale
  2607. return mesh
  2608. end
  2609.  
  2610. weld = function(parent, part0, part1, c0, c1)
  2611.  
  2612. local weld = it("Motor")
  2613. weld.Parent = parent
  2614. weld.Part0 = part0
  2615. weld.Part1 = part1
  2616. weld.C0 = c0
  2617. weld.C1 = c1
  2618. return weld
  2619. end
  2620.  
  2621. local WeaponName = "Russian Kick"
  2622. local ClassName = "Russian Kick"
  2623. local PlayerSize = 1
  2624. local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  2625. local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  2626. if PlayerSize ~= 1 then
  2627. RootPart.Size = RootPart.Size * PlayerSize
  2628. Torso.Size = Torso.Size * PlayerSize
  2629. Head.Size = Head.Size * PlayerSize
  2630. RightArm.Size = RightArm.Size * PlayerSize
  2631. LeftArm.Size = LeftArm.Size * PlayerSize
  2632. RightLeg.Size = RightLeg.Size * PlayerSize
  2633. LeftLeg.Size = LeftLeg.Size * PlayerSize
  2634. RootJoint.Parent = RootPart
  2635. Neck.Parent = Torso
  2636. LS.Parent = Torso
  2637. RS.Parent = Torso
  2638. LH.Parent = Torso
  2639. RH.Parent = Torso
  2640. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  2641. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  2642. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  2643. RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  2644. LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  2645. RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  2646. LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  2647. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  2648. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  2649. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  2650. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  2651. for _,v in pairs(Character:GetChildren()) do
  2652. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  2653. v.Parent = nil
  2654. v.Parent = Character
  2655. v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize
  2656. for _,b in pairs(v.Handle:GetChildren()) do
  2657. if b.ClassName == "Weld" or b.ClassName == "Motor" then
  2658. local p1 = b.Part1
  2659. b.Part1 = nil
  2660. local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components()
  2661. local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components()
  2662. b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012)
  2663. b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112)
  2664. b.Part1 = p1
  2665. end
  2666. end
  2667. end
  2668. end
  2669. end
  2670. m = Instance.new("Model", Character)
  2671. m.Name = WeaponName
  2672. Effects = Instance.new("Folder", m)
  2673. Effects.Name = "Effects"
  2674. Humanoid.Died:connect(function()
  2675.  
  2676. attack = true
  2677. for _,v in pairs(Character:GetChildren()) do
  2678. if v.ClassName == "Model" then
  2679. v:Destroy()
  2680. end
  2681. end
  2682. end
  2683. )
  2684. for i,v in pairs(Character:GetChildren()) do
  2685. if v.ClassName == "Model" then
  2686. for _,c in pairs(v:GetChildren()) do
  2687. if c.ClassName == "Part" then
  2688. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  2689. end
  2690. end
  2691. end
  2692. end
  2693. print(ClassName .. " loaded.")
  2694. clerp = function(a, b, t)
  2695. return a:lerp(b, t)
  2696. end
  2697.  
  2698. positiveangle = function(number)
  2699.  
  2700. if number > 0 then
  2701. number = 0
  2702. end
  2703. return number
  2704. end
  2705.  
  2706. negativeangle = function(number)
  2707.  
  2708. if number < 0 then
  2709. number = 0
  2710. end
  2711. return number
  2712. end
  2713.  
  2714. so = function(id, par, vol, pit)
  2715.  
  2716. coroutine.resume(coroutine.create(function()
  2717.  
  2718. local sou = Instance.new("Sound", par or workspace)
  2719. sou.Volume = vol
  2720. sou.Pitch = pit or 1
  2721. sou.SoundId = "http://roblox.com/asset/?id=" .. id
  2722. hbwait()
  2723. sou:play()
  2724. game:GetService("Debris"):AddItem(sou, 10)
  2725. end
  2726. ))
  2727. end
  2728.  
  2729. GetDistance = function(Part1, Part2, magnitude)
  2730.  
  2731. local target = Part1.Position - Part2.Position
  2732. local mag = target.magnitude
  2733. if mag <= magnitude then
  2734. return true
  2735. else
  2736. return false
  2737. end
  2738. end
  2739.  
  2740. rayCast = function(Pos, Dir, Max, Ignore)
  2741.  
  2742. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2743. end
  2744.  
  2745. DamageStatLabel = function(labeltype, cframe, text, color)
  2746.  
  2747. local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
  2748. c.CFrame = cf(cframe.p + vt(0, 1.5, 0))
  2749. game:GetService("Debris"):AddItem(c, 5)
  2750. Instance.new("BodyGyro", c)
  2751. local f = Instance.new("BodyPosition", c)
  2752. f.P = 2000
  2753. f.D = 100
  2754. f.maxForce = vt(math.huge, math.huge, math.huge)
  2755. if labeltype == "Normal" then
  2756. f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2))
  2757. else
  2758. if labeltype == "Debuff" then
  2759. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  2760. else
  2761. if labeltype == "Interruption" then
  2762. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  2763. end
  2764. end
  2765. end
  2766. game:GetService("Debris"):AddItem(c, 5)
  2767. local bg = Instance.new("BillboardGui", c)
  2768. bg.Adornee = c
  2769. bg.Size = UDim2.new(2.5, 0, 2.5, 0)
  2770. bg.StudsOffset = vt(-2, 2, 0)
  2771. bg.AlwaysOnTop = false
  2772. local tl = Instance.new("TextLabel", bg)
  2773. tl.BackgroundTransparency = 1
  2774. tl.Size = UDim2.new(2.5, 0, 2.5, 0)
  2775. tl.Text = text
  2776. tl.Font = Enum.Font.SourceSans
  2777. tl.FontSize = Enum.FontSize.Size42
  2778. tl.TextColor3 = color
  2779. tl.TextScaled = false
  2780. tl.TextStrokeTransparency = 0
  2781. tl.TextScaled = true
  2782. tl.TextWrapped = true
  2783. f.Parent = c
  2784. coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel)
  2785.  
  2786. wait(0.25)
  2787. for i = 1, 5 do
  2788. wait()
  2789. BodyPosition.position = Part.Position - vt(0, 0.5, 0)
  2790. end
  2791. wait(1.25)
  2792. for i = 1, 5 do
  2793. wait()
  2794. TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2
  2795. TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2
  2796. BodyPosition.position = Part.Position + vt(0, 0.5, 0)
  2797. end
  2798. Part.Parent = nil
  2799. end
  2800. ), c, f, tl)
  2801. end
  2802.  
  2803. IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  2804.  
  2805. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  2806.  
  2807. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  2808.  
  2809. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  2810. Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount
  2811. if ShowTheStat == true then
  2812. if Stat == "Defense" then
  2813. DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1))
  2814. else
  2815. if Stat == "Damage" then
  2816. DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1))
  2817. else
  2818. if Stat == "Movement" then
  2819. DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1))
  2820. end
  2821. end
  2822. end
  2823. end
  2824. coroutine.resume(coroutine.create(function(CurrentDecrease)
  2825.  
  2826. wait(Duration)
  2827. CurrentDecrease.Value = CurrentDecrease.Value - Amount
  2828. end
  2829. ), Location.Stats[Stat])
  2830. end
  2831. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  2832. end
  2833.  
  2834. DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  2835.  
  2836. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  2837.  
  2838. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  2839.  
  2840. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  2841. Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount
  2842. if ShowTheStat == true then
  2843. if Stat == "Defense" then
  2844. DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1))
  2845. else
  2846. if Stat == "Damage" then
  2847. DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1))
  2848. else
  2849. if Stat == "Movement" then
  2850. DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1))
  2851. end
  2852. end
  2853. end
  2854. end
  2855. coroutine.resume(coroutine.create(function(CurrentDecrease)
  2856.  
  2857. wait(Duration)
  2858. CurrentDecrease.Value = CurrentDecrease.Value + Amount
  2859. end
  2860. ), Location.Stats[Stat])
  2861. end
  2862. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  2863. end
  2864.  
  2865. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  2866.  
  2867. if hit.Parent == nil then
  2868. return
  2869. end
  2870. h = hit.Parent:FindFirstChild("Humanoid")
  2871. for _,v in pairs(hit.Parent:GetChildren()) do
  2872. if v:IsA("Humanoid") then
  2873. h = v
  2874. end
  2875. end
  2876. if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then
  2877. StaggerHitAnim.Value = true
  2878. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1)
  2879. return
  2880. end
  2881. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  2882. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  2883. end
  2884. if hit.Parent.className == "Hat" then
  2885. hit = hit.Parent.Parent:FindFirstChild("Head")
  2886. end
  2887. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2888. if hit.Parent:FindFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2889. return
  2890. end
  2891. 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
  2892. return
  2893. end
  2894. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then
  2895. return
  2896. end
  2897. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  2898. hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun
  2899. end
  2900. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then
  2901. hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true
  2902. end
  2903. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then
  2904. if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then
  2905. DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  2906. local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats)
  2907. BlockDebounce.Name = "BlockDebounce"
  2908. BlockDebounce.Value = true
  2909. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  2910. end
  2911. do
  2912. if ranged ~= true then
  2913. do
  2914. if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then
  2915. local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats)
  2916. BlockDebounce2.Name = "BlockDebounce2"
  2917. BlockDebounce2.Value = true
  2918. game:GetService("Debris"):AddItem(BlockDebounce2, 0.1)
  2919. so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1)
  2920. end
  2921. hit.Parent.Stats:FindFirstChild("BlockValue").Value = false
  2922. StaggerAnim.Value = true
  2923. do return end
  2924. if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then
  2925. if DecreaseTheStat == "Defense" then
  2926. DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  2927. else
  2928. if DecreaseTheStat == "Damage" then
  2929. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  2930. else
  2931. if DecreaseTheStat == "Movement" then
  2932. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  2933. end
  2934. end
  2935. end
  2936. end
  2937. local D = math.random(minim, maxim) * Damage.Value
  2938. if hit.Parent:FindFirstChild("Stats") ~= nil then
  2939. if hit.Parent.Stats:FindFirstChild("Defense") then
  2940. if CanPenetrateArmor.Value == true then
  2941. D = D / hit.Parent.Stats:FindFirstChild("Defense").Value
  2942. -- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1
  2943.  
  2944. if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then
  2945. CritChanceNumber = math.random(1, CritChance.Value)
  2946. if CritChanceNumber == CritChance.Value then
  2947. D = D * 2
  2948. end
  2949. end
  2950. D = math.floor(D)
  2951. h.Health = h.Health - D
  2952. if D <= 3 and staggerhit == true then
  2953. if ranged ~= true then
  2954. StaggerHitAnim.Value = true
  2955. end
  2956. if ranged ~= true then
  2957. so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1)
  2958. end
  2959. else
  2960. if D > 3 and ranged ~= true then
  2961. so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1)
  2962. end
  2963. end
  2964. if D > 3 and D < 20 then
  2965. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  2966. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  2967. so("296102734", hit, 1, 1)
  2968. else
  2969. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0))
  2970. end
  2971. else
  2972. if D >= 20 then
  2973. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  2974. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  2975. so("296102734", hit, 1, 1)
  2976. else
  2977. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0))
  2978. end
  2979. else
  2980. if D <= 3 then
  2981. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  2982. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  2983. so("296102734", hit, 1, 1)
  2984. else
  2985. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647))
  2986. end
  2987. end
  2988. end
  2989. end
  2990. do
  2991. if Type == "Normal" then
  2992. local vp = Instance.new("BodyVelocity")
  2993. vp.P = 500
  2994. vp.maxForce = vt(math.huge, 0, math.huge)
  2995. if KnockbackType == 1 then
  2996. vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2997. else
  2998. if KnockbackType == 2 then
  2999. vp.Velocity = Property.CFrame.lookVector * knockback
  3000. end
  3001. end
  3002. if knockback > 0 then
  3003. vp.Parent = hit.Parent.Torso
  3004. end
  3005. game:GetService("Debris"):AddItem(vp, 0.5)
  3006. end
  3007. local DebounceHit = Instance.new("BoolValue", hit.Parent)
  3008. DebounceHit.Name = "DebounceHit"
  3009. DebounceHit.Value = true
  3010. game:GetService("Debris"):AddItem(DebounceHit, Delay)
  3011. end
  3012. end
  3013. end
  3014. end
  3015. end
  3016. end
  3017. end
  3018. end
  3019. end
  3020. end
  3021.  
  3022. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  3023.  
  3024. for _,c in pairs(workspace:GetChildren()) do
  3025. local hum = (c:FindFirstChild("Humanoid"))
  3026. local head = nil
  3027. if hum ~= nil then
  3028. head = c:FindFirstChild("Torso")
  3029. if head ~= nil then
  3030. local targ = head.Position - Part.Position
  3031. local mag = targ.magnitude
  3032. if mag <= magni and c.Name ~= Player.Name then
  3033. Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  3034. end
  3035. end
  3036. do
  3037. for _,d in pairs(c:GetChildren()) do
  3038. if d.ClassName == "Model" and ranged ~= true then
  3039. head = d:FindFirstChild("Hitbox")
  3040. if head ~= nil then
  3041. local targ = head.Position - Part.Position
  3042. local mag = targ.magnitude
  3043. if mag <= magni and c.Name ~= Player.Name then
  3044. local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  3045. hitrefpart.Anchored = true
  3046. hitrefpart.CFrame = cf(head.Position)
  3047. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1)
  3048. StaggerHitAnim.Value = true
  3049. end
  3050. end
  3051. end
  3052. end
  3053. do
  3054. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT
  3055.  
  3056. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT
  3057.  
  3058. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT
  3059.  
  3060. end
  3061. end
  3062. end
  3063. end
  3064. end
  3065.  
  3066. MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead)
  3067.  
  3068. if Player.Neutral == true then
  3069. if Type == "Buff" then
  3070. IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  3071. else
  3072. if Type == "Debuff" then
  3073. DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  3074. end
  3075. end
  3076. end
  3077. for _,c in pairs(workspace:GetChildren()) do
  3078. local hum = (c:FindFirstChild("Humanoid"))
  3079. local head = nil
  3080. if hum ~= nil then
  3081. head = c:FindFirstChild("Torso")
  3082. if head ~= nil then
  3083. local targ = head.Position - Part.Position
  3084. local mag = targ.magnitude
  3085. -- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1
  3086.  
  3087. 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
  3088. if Type == "Buff" then
  3089. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  3090. else
  3091. if Type == "Debuff" then
  3092. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  3093. end
  3094. end
  3095. end
  3096. end
  3097. end
  3098. 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
  3099. if Type == "Buff" then
  3100. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  3101. else
  3102. if Type == "Debuff" then
  3103. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  3104. end
  3105. end
  3106. end
  3107. end
  3108. end
  3109.  
  3110. Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last)
  3111.  
  3112. local magz = p0 - p1.magnitude
  3113. local curpos = p0
  3114. local trz = {-ofs, ofs}
  3115. for i = 1, tym do
  3116. local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym))
  3117. do
  3118. li.Anchored = true
  3119. local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  3120. local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz
  3121. if tym == i then
  3122. local magz2 = curpos - p1.magnitude
  3123. li.Size = vt(th, th, magz2)
  3124. li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2)
  3125. else
  3126. do
  3127. do
  3128. li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2)
  3129. curpos = li.CFrame * cf(0, 0, magz / tym / 2).p
  3130. game.Debris:AddItem(li, last)
  3131. coroutine.resume(coroutine.create(function()
  3132.  
  3133. while li.Transparency ~= 1 do
  3134. for i = 0, 1, last do
  3135. hbwait()
  3136. li.Transparency = li.Transparency + 0.1 / last
  3137. end
  3138. end
  3139. end
  3140. ))
  3141. end
  3142. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  3143.  
  3144. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT
  3145.  
  3146. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT
  3147.  
  3148. end
  3149. end
  3150. end
  3151. end
  3152. end
  3153.  
  3154. MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  3155.  
  3156. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3157. prt.Anchored = true
  3158. prt.CFrame = cframe
  3159. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  3160. game:GetService("Debris"):AddItem(prt, 10)
  3161. coroutine.resume(coroutine.create(function(Part, Mesh)
  3162.  
  3163. for i = 0, 1, delay do
  3164. hbwait()
  3165. Part.CFrame = Part.CFrame
  3166. Part.Transparency = i
  3167. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3168. end
  3169. Part.Parent = nil
  3170. end
  3171. ), prt, msh)
  3172. end
  3173.  
  3174. MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  3175.  
  3176. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3177. prt.Anchored = true
  3178. prt.CFrame = cframe
  3179. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1))
  3180. game:GetService("Debris"):AddItem(prt, 10)
  3181. coroutine.resume(coroutine.create(function(Part, Mesh)
  3182.  
  3183. for i = 0, 1, delay do
  3184. hbwait()
  3185. Part.CFrame = Part.CFrame
  3186. Part.Transparency = i
  3187. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3188. end
  3189. Part.Parent = nil
  3190. end
  3191. ), prt, msh)
  3192. end
  3193.  
  3194. MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  3195.  
  3196. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3197. prt.Anchored = true
  3198. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3199. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3200. game:GetService("Debris"):AddItem(prt, 10)
  3201. coroutine.resume(coroutine.create(function(Part, Mesh)
  3202.  
  3203. for i = 0, 1, delay do
  3204. hbwait()
  3205. if rotate == true then
  3206. Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3207. end
  3208. Part.Transparency = i
  3209. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3210. end
  3211. Part.Parent = nil
  3212. end
  3213. ), prt, msh)
  3214. end
  3215.  
  3216. MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  3217.  
  3218. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3219. prt.Anchored = true
  3220. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3221. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3222. game:GetService("Debris"):AddItem(prt, 10)
  3223. CF = prt.CFrame
  3224. num = math.random(5, 20)
  3225. coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num)
  3226.  
  3227. for i = 0, 1, delay do
  3228. hbwait()
  3229. if rotate == true then
  3230. Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3231. else
  3232. Part.CFrame = CF2 * cf(0, i * Num, 0)
  3233. end
  3234. Part.Transparency = i
  3235. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3236. end
  3237. Part.Parent = nil
  3238. end
  3239. ), prt, msh, CF, num)
  3240. end
  3241.  
  3242. MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  3243.  
  3244. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3245. prt.Anchored = true
  3246. prt.CFrame = cframe
  3247. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3248. game:GetService("Debris"):AddItem(prt, 10)
  3249. coroutine.resume(coroutine.create(function(Part, Mesh)
  3250.  
  3251. for i = 0, 1, delay do
  3252. hbwait()
  3253. Part.Transparency = i
  3254. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3255. end
  3256. Part.Parent = nil
  3257. end
  3258. ), prt, msh)
  3259. end
  3260.  
  3261. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  3262.  
  3263. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3264. prt.Anchored = true
  3265. prt.CFrame = cframe
  3266. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  3267. game:GetService("Debris"):AddItem(prt, 10)
  3268. coroutine.resume(coroutine.create(function(Part, Mesh)
  3269.  
  3270. for i = 0, 1, delay do
  3271. hbwait()
  3272. Part.Transparency = i
  3273. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3274. end
  3275. Part.Parent = nil
  3276. end
  3277. ), prt, msh)
  3278. end
  3279.  
  3280. MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  3281.  
  3282. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3283. prt.Anchored = true
  3284. prt.CFrame = cframe
  3285. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  3286. game:GetService("Debris"):AddItem(prt, 10)
  3287. coroutine.resume(coroutine.create(function(Part, Mesh)
  3288.  
  3289. for i = 0, 1, delay do
  3290. hbwait()
  3291. Part.Transparency = i
  3292. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3293. end
  3294. Part.Parent = nil
  3295. end
  3296. ), prt, msh)
  3297. end
  3298.  
  3299. BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay)
  3300.  
  3301. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3302. prt.Anchored = true
  3303. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3304. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  3305. game:GetService("Debris"):AddItem(prt, 10)
  3306. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  3307.  
  3308. CF = Part.CFrame
  3309. Numbb = 0
  3310. randnumb = math.random() - math.random()
  3311. for i = 0, 1, delay do
  3312. hbwait()
  3313. CF = CF * cf(0, 1, 0)
  3314. if rotate == true then
  3315. Part.CFrame = CF * angles(Numbb, 0, 0)
  3316. else
  3317. if rotate == false then
  3318. Part.CFrame = CF
  3319. end
  3320. end
  3321. Part.Transparency = i
  3322. Numbb = Numbb + (randnumb)
  3323. end
  3324. Part.Parent = nil
  3325. end
  3326. ), prt, CF, Numbb, randnumb)
  3327. end
  3328.  
  3329. ElecEffect = function(brickcolor, material, cf, x, y, z, delay)
  3330.  
  3331. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3332. prt.Anchored = true
  3333. prt.CFrame = cf
  3334. xval = math.random()
  3335. yval = math.random()
  3336. zval = math.random()
  3337. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z))
  3338. game:GetService("Debris"):AddItem(prt, 10)
  3339. coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal)
  3340.  
  3341. for i = 0, 1, delay do
  3342. hbwait()
  3343. Part.CFrame = Part.CFrame
  3344. xvaal = xvaal - 0.1 * (delay * 10)
  3345. yvaal = yvaal - 0.1 * (delay * 10)
  3346. zvaal = zvaal - 0.1 * (delay * 10)
  3347. Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal)
  3348. Part.Transparency = i
  3349. end
  3350. Part.Parent = nil
  3351. end
  3352. ), prt, msh, xval, yval, zval)
  3353. end
  3354.  
  3355. TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay)
  3356.  
  3357. local magnitudecframe = currentcf.p - oldcf.p.magnitude
  3358. if magnitudecframe > 0.01 then
  3359. local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1))
  3360. prt.Anchored = true
  3361. prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0)
  3362. local TheMeshType = "BlockMesh"
  3363. if meshtype == "Cylinder" then
  3364. TheMeshType = "CylinderMesh"
  3365. end
  3366. local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size))
  3367. game:GetService("Debris"):AddItem(prt, 10)
  3368. coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame)
  3369.  
  3370. for i = 0, 1, delay do
  3371. hbwait()
  3372. Part.Transparency = i
  3373. Mesh.Scale = Mesh.Scale + vt(x, y, z)
  3374. end
  3375. Part.Parent = nil
  3376. end
  3377. ), prt, msh, currentcf, oldcf)
  3378. end
  3379. end
  3380.  
  3381. ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay)
  3382.  
  3383. local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt())
  3384. prt.Anchored = true
  3385. prt.CFrame = cframe
  3386. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0))
  3387. game:GetService("Debris"):AddItem(prt, 10)
  3388. local TheLastPoint = cframe
  3389. coroutine.resume(coroutine.create(function(Part)
  3390.  
  3391. for i = 1, duration do
  3392. hbwait()
  3393. Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0)
  3394. TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay)
  3395. TheLastPoint = Part.CFrame
  3396. end
  3397. Part.Parent = nil
  3398. end
  3399. ), prt)
  3400. end
  3401.  
  3402. MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  3403.  
  3404. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3405. prt.Anchored = true
  3406. prt.CFrame = cframe
  3407. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1))
  3408. game:GetService("Debris"):AddItem(prt, 10)
  3409. coroutine.resume(coroutine.create(function(Part, Mesh)
  3410.  
  3411. for i = 0, 1, delay do
  3412. hbwait()
  3413. Part.Transparency = i
  3414. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3415. end
  3416. Part.Parent = nil
  3417. end
  3418. ), prt, msh)
  3419. end
  3420.  
  3421. MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  3422.  
  3423. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3424. prt.Anchored = true
  3425. prt.CFrame = cframe
  3426. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1))
  3427. game:GetService("Debris"):AddItem(prt, 10)
  3428. coroutine.resume(coroutine.create(function(Part, Mesh)
  3429.  
  3430. for i = 0, 1, delay do
  3431. hbwait()
  3432. Part.Transparency = i
  3433. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3434. end
  3435. Part.Parent = nil
  3436. end
  3437. ), prt, msh)
  3438. end
  3439.  
  3440. MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  3441.  
  3442. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3443. prt.Anchored = true
  3444. prt.CFrame = cframe
  3445. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1))
  3446. game:GetService("Debris"):AddItem(prt, 10)
  3447. coroutine.resume(coroutine.create(function(Part, Mesh)
  3448.  
  3449. for i = 0, 1, delay do
  3450. hbwait()
  3451. Part.Transparency = i
  3452. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3453. end
  3454. Part.Parent = nil
  3455. end
  3456. ), prt, msh)
  3457. end
  3458.  
  3459. MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  3460.  
  3461. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3462. prt.Anchored = true
  3463. prt.CFrame = cframe
  3464. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1))
  3465. game:GetService("Debris"):AddItem(prt, 10)
  3466. coroutine.resume(coroutine.create(function(Part, Mesh)
  3467.  
  3468. for i = 0, 1, delay do
  3469. hbwait()
  3470. Part.Transparency = i
  3471. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3472. end
  3473. Part.Parent = nil
  3474. end
  3475. ), prt, msh)
  3476. end
  3477.  
  3478. MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  3479.  
  3480. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  3481. prt.Anchored = true
  3482. prt.CFrame = cframe
  3483. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  3484. game:GetService("Debris"):AddItem(prt, 10)
  3485. coroutine.resume(coroutine.create(function(Part, Mesh)
  3486.  
  3487. for i = 0, 1, delay do
  3488. hbwait()
  3489. Part.Transparency = i
  3490. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3491. end
  3492. Part.Parent = nil
  3493. end
  3494. ), prt, msh)
  3495. end
  3496.  
  3497. local startequipped = true
  3498. local startequippedwithequipanimation = false
  3499. local disableanimator = true
  3500. local disableanimate = true
  3501. local alternatewalk = false
  3502. local hidemenu = false
  3503. local allowmenutofunction = false
  3504. local allowabilitiestofunction = false
  3505. local canunequiporequip = false
  3506. local allowwalking = false
  3507. local disablemovingarms = false
  3508. local usemotorsinsteadofwelds = false
  3509. local leftarm = false
  3510. local rightarm = false
  3511. local allowhopperbin = false
  3512. local showstunbar = false
  3513. local walkspeeddependsonmovementvalue = true
  3514. local alternatemanaregensystem = false
  3515. local showhealthmanaandstunnumbers = false
  3516. local changebarcolorsifnotenoughmana = false
  3517. local disablejump = false
  3518. if hidemenu == true or allowmenutofunction == false then
  3519. for _,v in pairs(scrn:GetChildren()) do
  3520. if v.ClassName == "Frame" or v.ClassName == "TextLabel" then
  3521. v.Visible = false
  3522. v.BorderSizePixel = 0
  3523. end
  3524. end
  3525. end
  3526. do
  3527. Humanoid.Changed:connect(function(Jump)
  3528.  
  3529. if Jump == "Jump" and disablejump == true then
  3530. Humanoid.Jump = false
  3531. end
  3532. end
  3533. )
  3534. if allowmenutofunction == true then
  3535. for _,v in pairs(scrn:GetChildren()) do
  3536. if v.ClassName == "Frame" then
  3537. for _,b in pairs(v:GetChildren()) do
  3538. if b.ClassName == "TextLabel" then
  3539. coroutine.resume(coroutine.create(function(TheTextLabel)
  3540.  
  3541. wait(menuupdatespeed)
  3542. for i = 1, 0, -0.1 do
  3543. hbwait()
  3544. TheTextLabel.TextTransparency = i
  3545. TheTextLabel.TextStrokeTransparency = i
  3546. end
  3547. TheTextLabel.TextTransparency = 0
  3548. TheTextLabel.TextStrokeTransparency = 0
  3549. end
  3550. ), b)
  3551. if showstats == true then
  3552. coroutine.resume(coroutine.create(function(TheTextLabel)
  3553.  
  3554. wait(menuupdatespeed)
  3555. for i = 1, 0, -0.1 do
  3556. hbwait()
  3557. TheTextLabel.TextTransparency = i
  3558. TheTextLabel.TextStrokeTransparency = i
  3559. end
  3560. TheTextLabel.TextTransparency = 0
  3561. TheTextLabel.TextStrokeTransparency = 0
  3562. end
  3563. ), b)
  3564. end
  3565. if showstunbar == true then
  3566. coroutine.resume(coroutine.create(function(TheTextLabel)
  3567.  
  3568. wait(menuupdatespeed)
  3569. for i = 1, 0, -0.1 do
  3570. hbwait()
  3571. TheTextLabel.TextTransparency = i
  3572. TheTextLabel.TextStrokeTransparency = i
  3573. end
  3574. TheTextLabel.TextTransparency = 0
  3575. TheTextLabel.TextStrokeTransparency = 0
  3576. end
  3577. ), b)
  3578. end
  3579. if allowabilitiestofunction == true then
  3580. coroutine.resume(coroutine.create(function(TheTextLabel)
  3581.  
  3582. wait(menuupdatespeed)
  3583. for i = 1, 0, -0.1 do
  3584. hbwait()
  3585. TheTextLabel.TextTransparency = i
  3586. TheTextLabel.TextStrokeTransparency = i
  3587. end
  3588. TheTextLabel.TextTransparency = 0
  3589. TheTextLabel.TextStrokeTransparency = 0
  3590. end
  3591. ), b)
  3592. end
  3593. end
  3594. end
  3595. end
  3596. end
  3597. end
  3598. do
  3599. if allowhopperbin == true then
  3600. if script.Parent.className ~= "HopperBin" then
  3601. Tool = Instance.new("HopperBin")
  3602. Tool.Parent = Backpack
  3603. Tool.Name = WeaponName
  3604. script.Parent = Tool
  3605. end
  3606. Bin = script.Parent
  3607. end
  3608. if disablemovingarms == true then
  3609. RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  3610. LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  3611. RSH = nil
  3612. if usemotorsinsteadofwelds == true then
  3613. RW = Instance.new("Motor")
  3614. LW = Instance.new("Motor")
  3615. else
  3616. RW = Instance.new("Weld")
  3617. LW = Instance.new("Weld")
  3618. end
  3619. RW.Name = "Right Shoulder"
  3620. LW.Name = "Left Shoulder"
  3621. RSH = Torso["Right Shoulder"]
  3622. LSH = Torso["Left Shoulder"]
  3623. RSH.Parent = Torso
  3624. LSH.Parent = Torso
  3625. RW.Name = "Right Shoulder"
  3626. RW.Part0 = Torso
  3627. RW.C0 = cf(1.5, 0.5, 0)
  3628. RW.C1 = cf(0, 0.5, 0)
  3629. RW.Part1 = Character["Right Arm"]
  3630. RW.Parent = nil
  3631. LW.Name = "Left Shoulder"
  3632. LW.Part0 = Torso
  3633. LW.C0 = cf(-1.5, 0.5, 0)
  3634. LW.C1 = cf(0, 0.5, 0)
  3635. LW.Part1 = Character["Left Arm"]
  3636. LW.Parent = nil
  3637. else
  3638. RW = Torso["Right Shoulder"]
  3639. LW = Torso["Left Shoulder"]
  3640. RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  3641. LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  3642. end
  3643. equipanim = function()
  3644.  
  3645. attack = true
  3646. Movement.Value = Movement.Value - 0.1
  3647. Defense.Value = Defense.Value + 0.4
  3648. for i = 0, 1, 0.08 / animationspeed do
  3649. hbwait()
  3650. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  3651. 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)
  3652. 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)
  3653. 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)
  3654. 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)
  3655. 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)
  3656. end
  3657. attack = false
  3658. end
  3659.  
  3660. unequipanim = function()
  3661.  
  3662. attack = true
  3663. for i = 0, 1, 0.08 / animationspeed do
  3664. hbwait()
  3665. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  3666. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)), 0.3 / animationspeed)
  3667. 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)
  3668. 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)
  3669. if disablemovingarms == false then
  3670. RW.C1 = clerp(RW.C1, angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  3671. LW.C1 = clerp(LW.C1, angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  3672. end
  3673. 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)
  3674. 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)
  3675. RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  3676. LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  3677. end
  3678. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  3679. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  3680. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  3681. RW.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  3682. LW.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  3683. if disablemovingarms == false then
  3684. RW.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  3685. LW.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  3686. end
  3687. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  3688. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  3689. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  3690. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  3691. Movement.Value = Movement.Value + 0.1
  3692. Defense.Value = Defense.Value - 0.4
  3693. attack = false
  3694. end
  3695.  
  3696. if startequipped == true then
  3697. equipped = true
  3698. if disableanimate == true then
  3699. Animate.Disabled = true
  3700. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  3701. idleanimation:Play()
  3702. end
  3703. if disableanimator == true then
  3704. Animator.Parent = nil
  3705. end
  3706. if disablemovingarms == true then
  3707. RW.Parent = Torso
  3708. LW.Parent = Torso
  3709. RSH.Parent = nil
  3710. LSH.Parent = nil
  3711. end
  3712. Movement.Value = Movement.Value - 0.1
  3713. Defense.Value = Defense.Value + 0.4
  3714. end
  3715. if startequippedwithequipanimation == true then
  3716. equipped = true
  3717. if disableanimate == true then
  3718. Animate.Disabled = true
  3719. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  3720. idleanimation:Play()
  3721. end
  3722. if disableanimator == true then
  3723. Animator.Parent = nil
  3724. end
  3725. if disablemovingarms == true then
  3726. RW.Parent = Torso
  3727. LW.Parent = Torso
  3728. RSH.Parent = nil
  3729. LSH.Parent = nil
  3730. end
  3731. coroutine.resume(coroutine.create(function()
  3732.  
  3733. hbwait()
  3734. equipanim()
  3735. end
  3736. ))
  3737. end
  3738.  
  3739. StaggerHit = function()
  3740.  
  3741. attack = true
  3742. if Hitbox ~= nil then
  3743. for i = 1, math.random(2, 4) do
  3744. 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)
  3745. end
  3746. end
  3747. do
  3748. for i = 0, 1, 0.1 / animationspeed do
  3749. hbwait()
  3750. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed)
  3751. 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)
  3752. 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)
  3753. 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)
  3754. 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)
  3755. 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)
  3756. if StaggerAnim.Value ~= true then
  3757. do
  3758. if StunAnim.Value == true then
  3759. break
  3760. end
  3761. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT
  3762.  
  3763. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT
  3764.  
  3765. end
  3766. end
  3767. end
  3768. attack = false
  3769. end
  3770. end
  3771.  
  3772. Stagger = function()
  3773.  
  3774. attack = true
  3775. disablejump = true
  3776. if Hitbox ~= nil then
  3777. for i = 1, math.random(2, 4) do
  3778. 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)
  3779. end
  3780. end
  3781. do
  3782. attacktype = 1
  3783. DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0))
  3784. local staggervelocity = Instance.new("BodyVelocity", Torso)
  3785. staggervelocity.P = 500
  3786. staggervelocity.maxForce = vt(math.huge, 0, math.huge)
  3787. if Rooted.Value == false then
  3788. staggervelocity.Velocity = RootPart.CFrame.lookVector * -25
  3789. end
  3790. for i = 0, 1, 0.35 / animationspeed do
  3791. hbwait()
  3792. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed)
  3793. 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)
  3794. 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)
  3795. 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)
  3796. 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)
  3797. 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)
  3798. end
  3799. for i = 0, 1, 0.2 / animationspeed do
  3800. hbwait()
  3801. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), rad(0), rad(-30)), 0.3 / animationspeed)
  3802. 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)
  3803. 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)
  3804. 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)
  3805. 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)
  3806. 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)
  3807. end
  3808. staggervelocity:Destroy()
  3809. for i = 0, 1, 0.015 / animationspeed do
  3810. hbwait()
  3811. 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)
  3812. 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)
  3813. 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)
  3814. 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)
  3815. 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)
  3816. 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)
  3817. if StunAnim.Value == true then
  3818. break
  3819. end
  3820. end
  3821. do
  3822. attacktype = 1
  3823. disablejump = false
  3824. attack = false
  3825. end
  3826. end
  3827. end
  3828.  
  3829. Stun = function()
  3830.  
  3831. attack = true
  3832. disablejump = true
  3833. attacktype = 1
  3834. DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
  3835. for i = 0, 1, 0.4 / animationspeed do
  3836. hbwait()
  3837. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed)
  3838. 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)
  3839. 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)
  3840. 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)
  3841. 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)
  3842. 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)
  3843. end
  3844. for i = 0, 1, 0.4 / animationspeed do
  3845. hbwait()
  3846. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed)
  3847. 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)
  3848. 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)
  3849. 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)
  3850. 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)
  3851. 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)
  3852. end
  3853. for i = 0, 1, 0.4 / animationspeed do
  3854. hbwait()
  3855. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed)
  3856. 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)
  3857. 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)
  3858. 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)
  3859. 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)
  3860. 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)
  3861. end
  3862. Humanoid.AutoRotate = false
  3863. for i = 1, 70 * animationspeed do
  3864. hbwait()
  3865. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed)
  3866. 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)
  3867. 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)
  3868. 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)
  3869. 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)
  3870. 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)
  3871. end
  3872. for i = 0, 1, 0.15 / animationspeed do
  3873. hbwait()
  3874. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 0.3 / animationspeed)
  3875. 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)
  3876. 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)
  3877. 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)
  3878. 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)
  3879. 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)
  3880. end
  3881. Humanoid.AutoRotate = true
  3882. attacktype = 1
  3883. disablejump = false
  3884. attack = false
  3885. end
  3886.  
  3887. EAbility = function()
  3888.  
  3889. attack = true
  3890. attack = false
  3891. end
  3892.  
  3893. Attack1 = function()
  3894.  
  3895. attack = true
  3896. attack = false
  3897. end
  3898.  
  3899. Attack2 = function()
  3900.  
  3901. attack = true
  3902. attack = false
  3903. end
  3904.  
  3905. Attack3 = function()
  3906.  
  3907. attack = true
  3908. attack = false
  3909. end
  3910.  
  3911. Attack4 = function()
  3912.  
  3913. attack = true
  3914. attack = false
  3915. end
  3916.  
  3917. Move1 = function()
  3918.  
  3919. attack = true
  3920. attack = false
  3921. end
  3922.  
  3923. Move2 = function()
  3924.  
  3925. attack = true
  3926. attack = false
  3927. end
  3928.  
  3929. Move3 = function()
  3930.  
  3931. attack = true
  3932. attack = false
  3933. end
  3934.  
  3935. Move4 = function()
  3936.  
  3937. attack = true
  3938. attack = false
  3939. end
  3940.  
  3941. hold = false
  3942. Mouse.Button1Down:connect(function()
  3943.  
  3944. if attack == true or equipped == false then
  3945. return
  3946. end
  3947. hold = true
  3948. if attacktype == 1 then
  3949. attacktype = 2
  3950. Attack1()
  3951. else
  3952. if attacktype == 2 then
  3953. attacktype = 3
  3954. Attack2()
  3955. else
  3956. if attacktype == 3 then
  3957. attacktype = 4
  3958. Attack3()
  3959. else
  3960. if attacktype == 4 then
  3961. attacktype = 1
  3962. Attack4()
  3963. end
  3964. end
  3965. end
  3966. end
  3967. coroutine.resume(coroutine.create(function()
  3968.  
  3969. for i = 1, 50 do
  3970. if attack == false then
  3971. hbwait()
  3972. end
  3973. end
  3974. if attack == false then
  3975. attacktype = 1
  3976. end
  3977. end
  3978. ))
  3979. end
  3980. )
  3981. if allowhopperbin == true then
  3982. ob1u = function(Mouse)
  3983.  
  3984. hold = false
  3985. end
  3986.  
  3987. end
  3988. Mouse.KeyDown:connect(function(key)
  3989.  
  3990. if key == "f" and canunequiporequip == true and attack == false then
  3991. if equipped == false then
  3992. equipped = true
  3993. if disableanimate == true then
  3994. Animate.Disabled = true
  3995. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  3996. idleanimation:Play()
  3997. end
  3998. if disableanimator == true then
  3999. Animator.Parent = nil
  4000. end
  4001. if disablemovingarms == true then
  4002. RW.Parent = Torso
  4003. LW.Parent = Torso
  4004. RSH.Parent = nil
  4005. LSH.Parent = nil
  4006. end
  4007. equipanim()
  4008. elseif equipped == true then
  4009. equipped = false
  4010. unequipanim()
  4011. hbwait()
  4012. if disablemovingarms == true then
  4013. RW.Parent = nil
  4014. LW.Parent = nil
  4015. RSH.Parent = Torso
  4016. LSH.Parent = Torso
  4017. end
  4018. if disableanimator == true then
  4019. Animator.Parent = Humanoid
  4020. end
  4021. if disableanimate == true then
  4022. Animate.Disabled = false
  4023. end
  4024. end
  4025. end
  4026. if key == "e" and attack == false and equipped == true then
  4027. if animtype < 3 then
  4028. animtype = animtype + 1
  4029. elseif animtype >= 3 then
  4030. animtype = 1
  4031. end
  4032. end
  4033. if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then
  4034. subtractmana(skill1mana)
  4035. cooldown1 = 0
  4036. Move1()
  4037. end
  4038. if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then
  4039. subtractmana(skill2mana)
  4040. cooldown2 = 0
  4041. Move2()
  4042. end
  4043. if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then
  4044. subtractmana(skill3mana)
  4045. cooldown3 = 0
  4046. Move3()
  4047. end
  4048. if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then
  4049. subtractmana(skill4mana)
  4050. cooldown4 = 0
  4051. Move4()
  4052. end
  4053. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  4054. if key == "q" then
  4055. Mana.Value = 100
  4056. cooldown1 = co1
  4057. cooldown2 = co2
  4058. cooldown3 = co3
  4059. cooldown4 = co4
  4060. end
  4061. if key == "p" then
  4062. StaggerHitAnim.Value = true
  4063. end
  4064. if key == "[" then
  4065. StaggerAnim.Value = true
  4066. end
  4067. if key == "]" then
  4068. StunAnim.Value = true
  4069. end
  4070. end
  4071. end
  4072. )
  4073. Mouse.KeyUp:connect(function(key2)
  4074.  
  4075. end
  4076. )
  4077. if allowhopperbin == true then
  4078. s = function(Mouse)
  4079.  
  4080. Mouse.Button1Down:connect(function()
  4081.  
  4082. ob1d(Mouse)
  4083. end
  4084. )
  4085. Mouse.Button1Up:connect(function()
  4086.  
  4087. ob1u(Mouse)
  4088. end
  4089. )
  4090. Mouse.KeyDown:connect(key)
  4091. Mouse.KeyUp:connect(key2)
  4092. end
  4093.  
  4094. end
  4095. if allowhopperbin == true then
  4096. ds = function(Mouse)
  4097.  
  4098. end
  4099.  
  4100. end
  4101. if allowhopperbin == true then
  4102. Bin.Selected:connect(s)
  4103. Bin.Deselected:connect(ds)
  4104. end
  4105. updateskills = function()
  4106.  
  4107. if allowabilitiestofunction == true then
  4108. if cooldown1 <= co1 then
  4109. cooldown1 = cooldown1 + 0.033333333333333
  4110. if co1 <= cooldown1 then
  4111. cooldown1 = co1
  4112. end
  4113. end
  4114. if cooldown2 <= co2 then
  4115. cooldown2 = cooldown2 + 0.033333333333333
  4116. if co2 <= cooldown2 then
  4117. cooldown2 = co2
  4118. end
  4119. end
  4120. if cooldown3 <= co3 then
  4121. cooldown3 = cooldown3 + 0.033333333333333
  4122. if co3 <= cooldown3 then
  4123. cooldown3 = co3
  4124. end
  4125. end
  4126. if cooldown4 <= co4 then
  4127. cooldown4 = cooldown4 + 0.033333333333333
  4128. if co4 <= cooldown4 then
  4129. cooldown4 = co4
  4130. end
  4131. end
  4132. if changebarcolorsifnotenoughmana == true then
  4133. if Mana.Value <= skill1mana then
  4134. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  4135. else
  4136. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  4137. end
  4138. if Mana.Value <= skill2mana then
  4139. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  4140. else
  4141. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  4142. end
  4143. if Mana.Value <= skill3mana then
  4144. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  4145. else
  4146. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  4147. end
  4148. if Mana.Value <= skill4mana then
  4149. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  4150. else
  4151. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  4152. end
  4153. else
  4154. if changebarcolorsifnotenoughmana == false then
  4155. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  4156. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  4157. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  4158. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  4159. end
  4160. end
  4161. end
  4162. if alternatemanaregensystem == false then
  4163. if Mana.Value <= maxmana then
  4164. Mana.Value = Mana.Value + recovermana / 30
  4165. else
  4166. if maxmana <= Mana.Value then
  4167. Mana.Value = maxmana
  4168. end
  4169. end
  4170. else
  4171. if alternatemanaregensystem == true then
  4172. if maxmana <= Mana.Value then
  4173. Mana.Value = maxmana
  4174. else
  4175. if manadelay <= manawait then
  4176. manadelay = manadelay + 1
  4177. else
  4178. manadelay = 0
  4179. Mana.Value = Mana.Value + 1
  4180. end
  4181. end
  4182. end
  4183. end
  4184. if allowstunbar == true then
  4185. if StunValue.Value <= 0 then
  4186. StunValue.Value = 0
  4187. else
  4188. if stundelay <= stunwait then
  4189. stundelay = stundelay + 1
  4190. else
  4191. stundelay = 0
  4192. StunValue.Value = StunValue.Value - 1
  4193. end
  4194. end
  4195. else
  4196. if allowstunbar == false then
  4197. StunValue.Value = 0
  4198. end
  4199. end
  4200. end
  4201.  
  4202. if allowmenutofunction == true then
  4203. ArtificialHB.Event:connect(function()
  4204.  
  4205. updateskills()
  4206. if allowabilitiestofunction == true then
  4207. framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4208. framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4209. framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4210. framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4211. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4212. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4213. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4214. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4215. end
  4216. manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4217. manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4218. healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4219. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4220. if allowstunbar == true and showstunbar == true and stunframe ~= nil then
  4221. stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4222. stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4223. end
  4224. if showhealthmanaandstunnumbers == true then
  4225. manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]"
  4226. healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
  4227. if allowstunbar == true and showstunbar == true then
  4228. stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]"
  4229. end
  4230. end
  4231. if showstats == true then
  4232. defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4233. damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4234. movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  4235. defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%"
  4236. damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%"
  4237. if Rooted.Value == false then
  4238. movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%"
  4239. else
  4240. if Rooted.Value == true or Movement.Value <= 0 then
  4241. movementtext.Text = "Movement: 0%"
  4242. end
  4243. end
  4244. end
  4245. end
  4246. )
  4247. end
  4248. while 1 do
  4249. hbwait()
  4250. if Hitbox ~= nil then
  4251. if attack == true then
  4252. Hitbox.Name = "Hitbox"
  4253. else
  4254. if attack == false then
  4255. Hitbox.Name = "NilHitbox"
  4256. end
  4257. end
  4258. end
  4259. if 0 < Humanoid.Health then
  4260. if walkspeeddependsonmovementvalue == true then
  4261. if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then
  4262. Humanoid.WalkSpeed = 0
  4263. else
  4264. Humanoid.WalkSpeed = 16 * Movement.Value
  4265. end
  4266. end
  4267. if maxstun <= StunValue.Value then
  4268. StunValue.Value = 0
  4269. StunAnim.Value = true
  4270. end
  4271. if StaggerAnim.Value == true and staggeranim == false then
  4272. coroutine.resume(coroutine.create(function()
  4273.  
  4274. staggeranim = true
  4275. while attack == true do
  4276. hbwait()
  4277. end
  4278. Stagger()
  4279. StaggerAnim.Value = false
  4280. staggeranim = false
  4281. end
  4282. ))
  4283. end
  4284. if StaggerHitAnim.Value == true and staggerhitanim == false then
  4285. coroutine.resume(coroutine.create(function()
  4286.  
  4287. staggerhitanim = true
  4288. while attack == true do
  4289. hbwait()
  4290. end
  4291. StaggerHit()
  4292. StaggerHitAnim.Value = false
  4293. staggerhitanim = false
  4294. end
  4295. ))
  4296. end
  4297. if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then
  4298. coroutine.resume(coroutine.create(function()
  4299.  
  4300. StunValue.Value = 0
  4301. stunanim = true
  4302. while attack == true do
  4303. hbwait()
  4304. end
  4305. Stun()
  4306. StunAnim.Value = false
  4307. stunanim = false
  4308. end
  4309. ))
  4310. end
  4311. sine = sine + change
  4312. local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude
  4313. local velderp = RootPart.Velocity.y
  4314. local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
  4315. hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character)
  4316. if 0.5 <= donum then
  4317. handidle = true
  4318. else
  4319. if donum <= 0 then
  4320. handidle = false
  4321. end
  4322. end
  4323. if handidle == false then
  4324. donum = donum + 0.003 / animationspeed
  4325. else
  4326. donum = donum - 0.003 / animationspeed
  4327. end
  4328. if equipped == true or equipped == false then
  4329. if attack == false then
  4330. idle = idle + 1
  4331. else
  4332. idle = 0
  4333. end
  4334. if leftarm == true then
  4335. if Anim == "Walk" and equipped == true and attack == false then
  4336. if alternatewalk == false then
  4337. if walkinganim == true then
  4338. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  4339. else
  4340. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  4341. end
  4342. else
  4343. if walkinganim == true then
  4344. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  4345. else
  4346. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  4347. end
  4348. end
  4349. else
  4350. -- DECOMPILER ERROR at PC2457: Unhandled construct in 'MakeBoolean' P3
  4351.  
  4352. if (Anim ~= "Walk" and equipped == true) or leftarm == false then
  4353. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  4354. end
  4355. end
  4356. end
  4357. if rightarm == true then
  4358. if Anim == "Walk" and equipped == true and attack == false then
  4359. if alternatewalk == false then
  4360. if walkinganim == true then
  4361. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  4362. else
  4363. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  4364. end
  4365. else
  4366. if walkinganim == true then
  4367. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  4368. else
  4369. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  4370. end
  4371. end
  4372. else
  4373. -- DECOMPILER ERROR at PC2648: Unhandled construct in 'MakeBoolean' P3
  4374.  
  4375. if (Anim ~= "Walk" and equipped == true) or rightarm == false then
  4376. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  4377. end
  4378. end
  4379. end
  4380. if allowwalking == true then
  4381. if Anim == "Walk" and equipped == true then
  4382. if alternatewalk == false then
  4383. if walkinganim == true then
  4384. 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)
  4385. 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)
  4386. else
  4387. 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)
  4388. 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)
  4389. end
  4390. else
  4391. if walkinganim == true then
  4392. 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)
  4393. 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)
  4394. else
  4395. 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)
  4396. 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)
  4397. end
  4398. end
  4399. else
  4400. if Anim ~= "Walk" and equipped == true then
  4401. 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)
  4402. 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)
  4403. end
  4404. end
  4405. end
  4406. Anim = "Idle"
  4407. if attack == false then
  4408. if equipped == true then
  4409. if animtype == 1 then
  4410. 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)
  4411. 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)
  4412. 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)
  4413. 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)
  4414. 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)
  4415. 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)
  4416. end
  4417. if animtype == 2 then
  4418. 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)
  4419. 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)
  4420. 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)
  4421. 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)
  4422. 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)
  4423. 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)
  4424. end
  4425. end
  4426. if animtype == 3 then
  4427. 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)
  4428. 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)
  4429. 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)
  4430. 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)
  4431. 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)
  4432. 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)
  4433. end
  4434. end
  4435. end
  4436. end
  4437. end
  4438. end
  4439. end
  4440. ------------------------------Nazi Armlet-----------------------------------------------
  4441. guigroup=Instance.new("BillboardGui")
  4442. guigroup.Parent=game.Players.LocalPlayer.Character.Head
  4443. guigroup.Adornee=game.Players.LocalPlayer.Character.Head
  4444. guigroup.Size = UDim2.new(1,0,1,0)
  4445. guigroup.StudsOffset=Vector3.new(0.5, 6, 0)
  4446. oooo1 = Instance.new("TextLabel")
  4447. Kills = Instance.new("IntValue")
  4448. Kills.Parent = game.Players.LocalPlayer.Character
  4449. Kills.Name = ""
  4450. oooo1.Text = ""
  4451. if
  4452. game.Players.LocalPlayer.Name == ""
  4453. then
  4454. oooo1.Text = ""
  4455. end
  4456. oooo1.Size = UDim2.new(0,200,0,200)
  4457. oooo1.BackgroundColor3 = Color3.new(1, 1, 1)
  4458. oooo1.BackgroundTransparency = 1
  4459. oooo1.Parent = guigroup
  4460. oooo1.AnchorPoint = Vector2.new(0.5, 0.9)
  4461. oooo1.Size = UDim2.new(3.5,0,3.5,0)
  4462. oooo1.TextScaled = true
  4463. ko1 = Instance.new("TextLabel")
  4464. ko1.Name = ""
  4465. ko1.Parent = guigroup
  4466. ko1.BackgroundColor3 = Color3.new(1, 1, 1)
  4467. ko1.BackgroundTransparency = 1
  4468. ko1.TextColor3 = Color3.new(1, 0, 0)
  4469. ko1.TextScaled = false
  4470. ko1.TextWrapped = false
  4471. ko1.AnchorPoint = Vector2.new(0.5, 0.3)
  4472. game.Players.LocalPlayer.Character.Humanoid.NameOcclusion = "NoOcclusion"
  4473. game.Players.LocalPlayer.Character.Humanoid.HealthDisplayType = "AlwaysOff"
  4474. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  4475. game.Players.LocalPlayer.Character.Humanoid.Health = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  4476. local runDummyScript = function(f,scri)
  4477. local oldenv = getfenv(f)
  4478. local newenv = setmetatable({}, {
  4479. __index = function(_, k)
  4480. if k:lower() == 'script' then
  4481. return scri
  4482. else
  4483. return oldenv[k]
  4484. end
  4485. end
  4486. })
  4487. setfenv(f, newenv)
  4488. ypcall(function() f() end)
  4489. end
  4490. cors = {}
  4491. mas = Instance.new("Model",game:GetService("Lighting"))
  4492. mas.Name = "CompiledModel"
  4493. o1 = Instance.new("Model")
  4494. o2 = Instance.new("Part")
  4495. o3 = Instance.new("BlockMesh")
  4496. o4 = Instance.new("Part")
  4497. o5 = Instance.new("BlockMesh")
  4498. o6 = Instance.new("CFrameValue")
  4499. o7 = Instance.new("Weld")
  4500. o8 = Instance.new("Part")
  4501. o9 = Instance.new("BlockMesh")
  4502. o10 = Instance.new("CFrameValue")
  4503. o11 = Instance.new("Weld")
  4504. o12 = Instance.new("Part")
  4505. o13 = Instance.new("BlockMesh")
  4506. o14 = Instance.new("CFrameValue")
  4507. o15 = Instance.new("Weld")
  4508. o16 = Instance.new("Part")
  4509. o17 = Instance.new("BlockMesh")
  4510. o18 = Instance.new("CFrameValue")
  4511. o19 = Instance.new("Weld")
  4512. o20 = Instance.new("Part")
  4513. o21 = Instance.new("BlockMesh")
  4514. o22 = Instance.new("CFrameValue")
  4515. o23 = Instance.new("Weld")
  4516. o24 = Instance.new("Part")
  4517. o25 = Instance.new("BlockMesh")
  4518. o26 = Instance.new("CFrameValue")
  4519. o27 = Instance.new("Weld")
  4520. o28 = Instance.new("Part")
  4521. o29 = Instance.new("CFrameValue")
  4522. o30 = Instance.new("Weld")
  4523. o31 = Instance.new("Part")
  4524. o32 = Instance.new("CFrameValue")
  4525. o33 = Instance.new("Weld")
  4526. o34 = Instance.new("Part")
  4527. o35 = Instance.new("SpecialMesh")
  4528. o36 = Instance.new("CFrameValue")
  4529. o37 = Instance.new("Weld")
  4530. weldtoarm = Instance.new("Weld")
  4531. o1.Name = "Armlet"
  4532. o1.Parent = mas
  4533. o2.Name = "svatic1"
  4534. o2.Parent = o1
  4535. o2.Material = Enum.Material.SmoothPlastic
  4536. o2.BrickColor = BrickColor.new("Really black")
  4537. o2.Position = Vector3.new(9.5394268, 1.15889382, -30.4923649)
  4538. o2.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  4539. o2.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  4540. o2.CFrame = CFrame.new(9.5394268, 1.15889382, -30.4923649, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  4541. o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4542. o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4543. o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4544. o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4545. o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4546. o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4547. o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4548. o2.Position = Vector3.new(9.5394268, 1.15889382, -30.4923649)
  4549. o2.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  4550. o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4551. o3.Parent = o2
  4552. o3.Scale = Vector3.new(0.999996185, 0.598279178, 0.0991418734)
  4553. o3.Scale = Vector3.new(0.999996185, 0.598279178, 0.0991418734)
  4554. o4.Name = "svatic2"
  4555. o4.Parent = o1
  4556. o4.Material = Enum.Material.SmoothPlastic
  4557. o4.BrickColor = BrickColor.new("Really black")
  4558. o4.Position = Vector3.new(9.51736546, 1.06919134, -30.4028416)
  4559. o4.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  4560. o4.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  4561. o4.CFrame = CFrame.new(9.51736546, 1.06919134, -30.4028416, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  4562. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4563. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4564. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4565. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4566. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4567. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4568. o4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4569. o4.Position = Vector3.new(9.51736546, 1.06919134, -30.4028416)
  4570. o4.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  4571. o4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4572. o5.Parent = o4
  4573. o5.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
  4574. o5.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
  4575. o6.Name = "qRelativeCFrameWeldValue"
  4576. o6.Parent = o4
  4577. o6.Value = CFrame.new(0, -0.0218372345, -0.105447769, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4578. o7.Name = "qCFrameWeldThingy"
  4579. o7.Parent = o4
  4580. o7.C1 = CFrame.new(0, -0.0260860808, -0.125964642, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4581. o7.Part0 = o2
  4582. o7.Part1 = o4
  4583. o8.Name = "svatic3"
  4584. o8.Parent = o1
  4585. o8.Material = Enum.Material.SmoothPlastic
  4586. o8.BrickColor = BrickColor.new("Really black")
  4587. o8.Position = Vector3.new(9.50574112, 1.21955931, -30.7833157)
  4588. o8.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  4589. o8.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  4590. o8.CFrame = CFrame.new(9.50574112, 1.21955931, -30.7833157, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  4591. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4592. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4593. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4594. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4595. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4596. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4597. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4598. o8.Position = Vector3.new(9.50574112, 1.21955931, -30.7833157)
  4599. o8.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  4600. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4601. o9.Parent = o8
  4602. o9.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
  4603. o9.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
  4604. o10.Name = "qRelativeCFrameWeldValue"
  4605. o10.Parent = o8
  4606. o10.Value = CFrame.new(0, -0.106843948, 0.226449966, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4607. o11.Name = "qCFrameWeldThingy"
  4608. o11.Parent = o8
  4609. o11.C1 = CFrame.new(0, -0.127632454, 0.270510107, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4610. o11.Part0 = o2
  4611. o11.Part1 = o8
  4612. o12.Name = "svatic4"
  4613. o12.Parent = o1
  4614. o12.Material = Enum.Material.SmoothPlastic
  4615. o12.BrickColor = BrickColor.new("Really black")
  4616. o12.Position = Vector3.new(9.40566349, 0.893889546, -30.553009)
  4617. o12.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  4618. o12.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  4619. o12.CFrame = CFrame.new(9.40566349, 0.893889546, -30.553009, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  4620. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4621. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4622. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4623. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4624. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4625. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4626. o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4627. o12.Position = Vector3.new(9.40566349, 0.893889546, -30.553009)
  4628. o12.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  4629. o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4630. o13.Parent = o12
  4631. o13.Scale = Vector3.new(0.999996185, 0.100022063, 0.364750892)
  4632. o13.Scale = Vector3.new(0.999996185, 0.100022063, 0.364750892)
  4633. o14.Name = "qRelativeCFrameWeldValue"
  4634. o14.Parent = o12
  4635. o14.Value = CFrame.new(0, -0.236118317, -0.0926094055, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4636. o15.Name = "qCFrameWeldThingy"
  4637. o15.Parent = o12
  4638. o15.C1 = CFrame.new(0, -0.28205961, -0.110628322, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4639. o15.Part0 = o2
  4640. o15.Part1 = o12
  4641. o16.Name = "svatic5"
  4642. o16.Parent = o1
  4643. o16.Material = Enum.Material.SmoothPlastic
  4644. o16.BrickColor = BrickColor.new("Really black")
  4645. o16.Position = Vector3.new(9.65675831, 1.39117944, -30.4388123)
  4646. o16.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  4647. o16.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  4648. o16.CFrame = CFrame.new(9.65675831, 1.39117944, -30.4388123, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  4649. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4650. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4651. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4652. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4653. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4654. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4655. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4656. o16.Position = Vector3.new(9.65675831, 1.39117944, -30.4388123)
  4657. o16.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  4658. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4659. o17.Parent = o16
  4660. o17.Scale = Vector3.new(0.999996185, 0.100022063, 0.336512148)
  4661. o17.Scale = Vector3.new(0.999996185, 0.100022063, 0.336512148)
  4662. o18.Name = "qRelativeCFrameWeldValue"
  4663. o18.Parent = o16
  4664. o18.Value = CFrame.new(0, 0.207174301, 0.080909729, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4665. o19.Name = "qCFrameWeldThingy"
  4666. o19.Parent = o16
  4667. o19.C1 = CFrame.new(0, 0.247483984, 0.096652247, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4668. o19.Part0 = o2
  4669. o19.Part1 = o16
  4670. o20.Name = "svatic6"
  4671. o20.Parent = o1
  4672. o20.Material = Enum.Material.SmoothPlastic
  4673. o20.BrickColor = BrickColor.new("Really black")
  4674. o20.Position = Vector3.new(9.54831028, 1.05523241, -30.2259464)
  4675. o20.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  4676. o20.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  4677. o20.CFrame = CFrame.new(9.54831028, 1.05523241, -30.2259464, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  4678. o20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4679. o20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4680. o20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4681. o20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4682. o20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4683. o20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4684. o20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4685. o20.Position = Vector3.new(9.54831028, 1.05523241, -30.2259464)
  4686. o20.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  4687. o20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4688. o21.Parent = o20
  4689. o21.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
  4690. o21.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
  4691. o22.Name = "qRelativeCFrameWeldValue"
  4692. o22.Parent = o20
  4693. o22.Value = CFrame.new(0, 0.0607795715, -0.231582642, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4694. o23.Name = "qCFrameWeldThingy"
  4695. o23.Parent = o20
  4696. o23.C1 = CFrame.new(0, 0.0726053864, -0.276641428, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4697. o23.Part0 = o2
  4698. o23.Part1 = o20
  4699. o24.Name = "svatic7"
  4700. o24.Parent = o1
  4701. o24.Material = Enum.Material.SmoothPlastic
  4702. o24.BrickColor = BrickColor.new("Really black")
  4703. o24.Position = Vector3.new(9.53892517, 1.21178222, -30.6091824)
  4704. o24.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  4705. o24.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  4706. o24.CFrame = CFrame.new(9.53892517, 1.21178222, -30.6091824, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  4707. o24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4708. o24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4709. o24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4710. o24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4711. o24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4712. o24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4713. o24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4714. o24.Position = Vector3.new(9.53892517, 1.21178222, -30.6091824)
  4715. o24.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  4716. o24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4717. o25.Parent = o24
  4718. o25.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
  4719. o25.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
  4720. o26.Name = "qRelativeCFrameWeldValue"
  4721. o26.Parent = o24
  4722. o26.Value = CFrame.new(0, -0.0209236145, 0.105287552, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4723. o27.Name = "qCFrameWeldThingy"
  4724. o27.Parent = o24
  4725. o27.C1 = CFrame.new(0, -0.0249946993, 0.125773236, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4726. o27.Part0 = o2
  4727. o27.Part1 = o24
  4728. o28.Name = "Right Arm"
  4729. o28.Parent = o1
  4730. o28.Material = Enum.Material.SmoothPlastic
  4731. o28.BrickColor = BrickColor.new("Really black")
  4732. o28.Transparency = 1
  4733. o28.Position = Vector3.new(9.33767605, 1.24664795, -30.4727879)
  4734. o28.Rotation = Vector3.new(114.800003, 63.2999992, -39.2599983)
  4735. o28.FormFactor = Enum.FormFactor.Symmetric
  4736. o28.Size = Vector3.new(2.09252977, 1.04626489, 1.04626489)
  4737. o28.CFrame = CFrame.new(9.33767605, 1.24664795, -30.4727879, 0.347877979, 0.284306079, 0.893393397, 0.893409908, 0.188386172, -0.407835245, -0.284253061, 0.940042913, -0.188466549)
  4738. o28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4739. o28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4740. o28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4741. o28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4742. o28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4743. o28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4744. o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4745. o28.Position = Vector3.new(9.33767605, 1.24664795, -30.4727879)
  4746. o28.Orientation = Vector3.new(24.0699997, 101.910004, 78.0899963)
  4747. o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4748. weldtoarm.Parent = o28
  4749. weldtoarm.Part0 = o28
  4750. weldtoarm.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  4751. weldtoarm.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(1.55, math.pi, 1.55)
  4752. o29.Name = "qRelativeCFrameWeldValue"
  4753. o29.Parent = o28
  4754. o29.Value = CFrame.new(-0.00221943855, 0.0187721252, 0.183933258, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
  4755. o30.Name = "qCFrameWeldThingy"
  4756. o30.Parent = o28
  4757. o30.C1 = CFrame.new(-0.00265127234, 0.0224245973, 0.21972096, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
  4758. o30.Part0 = o2
  4759. o30.Part1 = o28
  4760. o31.Name = "Armlet1"
  4761. o31.Parent = o1
  4762. o31.Material = Enum.Material.SmoothPlastic
  4763. o31.BrickColor = BrickColor.new("Bright red")
  4764. o31.Position = Vector3.new(9.33325005, 1.22114551, -30.4663391)
  4765. o31.Rotation = Vector3.new(114.800003, 63.2999992, -39.2599983)
  4766. o31.FormFactor = Enum.FormFactor.Symmetric
  4767. o31.Size = Vector3.new(1.01487708, 1.06719005, 1.0985781)
  4768. o31.CFrame = CFrame.new(9.33325005, 1.22114551, -30.4663391, 0.34788391, 0.284310907, 0.893393397, 0.893425107, 0.188389421, -0.407835245, -0.284257859, 0.940058947, -0.188466549)
  4769. o31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4770. o31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4771. o31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4772. o31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4773. o31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4774. o31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4775. o31.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4776. o31.Position = Vector3.new(9.33325005, 1.22114551, -30.4663391)
  4777. o31.Orientation = Vector3.new(24.0699997, 101.910004, 78.0899963)
  4778. o31.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4779. o32.Name = "qRelativeCFrameWeldValue"
  4780. o32.Parent = o31
  4781. o32.Value = CFrame.new(0.0196768045, 0.0187721252, 0.179553986, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
  4782. o33.Name = "qCFrameWeldThingy"
  4783. o33.Parent = o31
  4784. o33.C1 = CFrame.new(0.0235053003, 0.0224245973, 0.214489624, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
  4785. o33.Part0 = o2
  4786. o33.Part1 = o31
  4787. o34.Name = "Armlet2"
  4788. o34.Parent = o1
  4789. o34.Material = Enum.Material.SmoothPlastic
  4790. o34.BrickColor = BrickColor.new("Institutional white")
  4791. o34.Position = Vector3.new(9.74531078, 1.04955149, -30.5565758)
  4792. o34.Rotation = Vector3.new(-11.3299999, 16.5200005, 158.729996)
  4793. o34.Shape = Enum.PartType.Cylinder
  4794. o34.Size = Vector3.new(0.238913804, 1.0253396, 1.04626489)
  4795. o34.CFrame = CFrame.new(9.74531078, 1.04955149, -30.5565758, -0.893398523, -0.347870708, 0.284310907, 0.407822043, -0.893431127, 0.188389421, 0.188470751, 0.284255087, 0.940058947)
  4796. o34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4797. o34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4798. o34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4799. o34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4800. o34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4801. o34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4802. o34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  4803. o34.Position = Vector3.new(9.74531078, 1.04955149, -30.5565758)
  4804. o34.Orientation = Vector3.new(-10.8599997, 16.8299999, 155.460007)
  4805. o34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  4806. o35.Parent = o34
  4807. o35.Scale = Vector3.new(0.875851333, 1, 1)
  4808. o35.MeshType = Enum.MeshType.Cylinder
  4809. o35.Scale = Vector3.new(0.875851333, 1, 1)
  4810. o36.Name = "qRelativeCFrameWeldValue"
  4811. o36.Parent = o34
  4812. o36.Value = CFrame.new(0.201436996, -0.00654327869, 0.0187721252, 1, 0, 0, 0, 0.642790794, 0.766052902, 0, -0.766052902, 0.642790794)
  4813. o37.Name = "qCFrameWeldThingy"
  4814. o37.Parent = o34
  4815. o37.C1 = CFrame.new(0.240630388, -0.00781639758, 0.0224245973, 1, 0, 0, 0, 0.642790794, 0.766052902, 0, -0.766052902, 0.642790794)
  4816. o37.Part0 = o2
  4817. o37.Part1 = o34
  4818. mas.Parent = workspace
  4819. mas:MakeJoints()
  4820. local mas1 = mas:GetChildren()
  4821. for i=1,#mas1 do
  4822. mas1[i].Parent = game.Players.LocalPlayer.Character
  4823. ypcall(function() mas1[i]:MakeJoints() end)
  4824. end
  4825. mas:Destroy()
  4826. for i=1,#cors do
  4827. coroutine.resume(cors[i])
  4828. end
  4829. ------------------------------Nazi Armlet End-------------------------------------------
  4830. p = game.Players.LocalPlayer
  4831. char = p.Character
  4832. torso = char.Torso
  4833. hed = char.Head
  4834. neck = char.Torso.Neck
  4835. hum = char.Humanoid
  4836. hum.MaxHealth = math.huge
  4837. ypcall(function()
  4838. shirt = Instance.new("Shirt", char)
  4839. shirt.Name = "Shirt"
  4840. pants = Instance.new("Pants", char)
  4841. pants.Name = "Pants"
  4842. char.Shirt.ShirtTemplate = "rbxassetid://216674358"
  4843. char.Pants.PantsTemplate = "rbxassetid://216673391"
  4844. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement