Advertisement
jhoncena10026

Heavy russian kick fe

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