Me = game.Players.LocalPlayer player = Me char = Me.Character chara = char larm = char["Left Arm"] rarm = char["Right Arm"] lleg = char["Left Leg"] rleg = char["Right Leg"] torso = char.Torso hed = char.Head mouse = player:GetMouse() lght = game.Lighting lichtact = false moosicact = false gotsagofest = true chara.Humanoid.WalkSpeed = 10 chara.Humanoid.JumpPower = 40 local naeeym = Instance.new("BillboardGui",chara) naeeym.Size = UDim2.new(0,100,0,40) naeeym.StudsOffset = Vector3.new(0,2,0) naeeym.Adornee = chara.Torso local tecks = Instance.new("TextLabel",naeeym) tecks.BackgroundTransparency = 1 tecks.BorderSizePixel = 0 tecks.Text = "Little Dailu" tecks.Font = "Cartoon" tecks.FontSize = "Size36" tecks.TextStrokeTransparency = 0.5 tecks.TextColor3 = Color3.new(0,0,0) rrer = BrickColor.new("Really red") tecks.TextStrokeColor3 = rrer.Color tecks.Size = UDim2.new(1,0,0.5,0) local licht = Instance.new("PointLight",chara.Torso) licht.Color = tecks.TextStrokeColor3 Meshes = { Blast = '20329976', Crown = '1323306', Ring = '3270017', Claw = '10681506', Crystal = '9756362', Coil = '9753878', Cloud = '1095708', } clangsounds = { '199149119', '199149109', '199149072', '199149025', '199148971' } hitsounds = { '199149137', '199149186', '199149221', '199149235', '199149269', '199149297' } blocksounds = { '199148933', '199148947' } armorsounds = { '199149321', '199149338', '199149367', '199149409', '199149452' } woosh = { Heavy1 = '320557353', Heavy2 = '320557382', Heavy3 = '320557453', Heavy4 = '199144226', Heavy5 = '203691447', Heavy6 = '203691467', Heavy7 = '203691492', Light1 = '320557413', Light2 = '320557487', Light3 = '199145095', Light4 = '199145146', Light5 = '199145887', Light6 = '199145913', Light7 = '199145841', Medium1 = '320557518', Medium2 = '320557537', Medium3 = '320557563', Medium4 = '199145204' } music = {--i like music a lot Breaking = '179281636', FinalReckoning = '357375770', NotDeadYet = '346175829', Intense = '151514610', JumpP1 = '160536628', JumpP2 = '60536666', SonsOfWar = '158929777', WrathOfSea = '165520893', ProtecTorsofEarth = '160542922', SkyTitans = '179282324', ArchAngel = '144043274', Anticipation = '168614529', TheMartyred = '186849544', AwakeP1 = '335631255', AwakeP2 = '335631297', ReadyAimFireP1 = '342455387', ReadyAimFireP2 = '342455399', DarkLordP1 = '209567483', DarkLordP2 = '209567529', BloodDrainP1 = '162914123', BloodDrainP2 = '162914203', DanceOfSwords = '320473062', Opal = '286415112', Calamity = '190454307', Hypnotica = '155968128', Nemisis = '160453802', Breathe = '276963903', GateToTheRift = '270655227', InfernalBeserking = '244143404', Trust = '246184492', AwakeningTheProject = '245121821', BloodPain = '242545577', Chaos = '247241693', NightmareFictionHighStake = '248062278', TheWhiteWeapon = '247236446', Gale = '256851659', ImperialCode = '256848383', Blitzkrieg = '306431437', RhapsodyRage = '348690251', TheGodFist = '348541501', BattleForSoul = '321185592', TheDarkColossus = '305976780', EmpireOfAngels = '302580452', Kronos = '302205297', Exorcist = '299796054', CrimsonFlames = '297799220', UltimatePower = '295753229', DrivingInTheDark = '295753229', AscendToPower = '293860654', GodOfTheSun = '293612495', DarkRider = '293861765', Vengeance = '293375555', SoundOfWar = '293376196', HellsCrusaders = '293012202', Legend = '293011823', RisingSouls = '290524959' } misc = { GroundSlam = '199145477', LaserSlash = '199145497', RailGunFire = '199145534', Charge1 = '199145659', Charge2 = '169380469', Charge3 = '169380479', EmptyGun = '203691822', GunShoot = '203691837', Stomp1 = '200632875', Stomp2 = '200632561', TelsaCannonCharge = '169445572', TelsaCannonShoot = '169445602', AncientHymm = '245313442' } wait(1 / 60) local Player = game.Players.localPlayer local Character = Player.Character local Humanoid = Character.Humanoid local mouse = Player:GetMouse() local m = Instance.new('Model', Character) m.Name = "WeaponModel" local LeftArm = Character["Left Arm"] local RightArm = Character["Right Arm"] local LeftLeg = Character["Left Leg"] local RightLeg = Character["Right Leg"] local Head = Character.Head local Torso = Character.Torso local cam = game.Workspace.CurrentCamera local RootPart = Character.HumanoidRootPart local RootJoint = RootPart.RootJoint --cam.CameraSubject = Head local equipped = false local attack = false local Anim = 'Idle' local idle = 0 local sprint = false local battlestance = false local attacktype = 1 local state = 'none' local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude local velocity = RootPart.Velocity.y local sine = 0 local change = 1 local on = false local grabbed = false local skill1 = false local skill2 = false local skill3 = false local skill4 = false local cooldown1 = 0 local cooldown2 = 0 local cooldown3 = 0 local cooldown4 = 0 local co1 = 10--how long it will take for skill to cooldown local co2 = 15 local co3 = 15 local co4 = 25 local inputserv = game:GetService('UserInputService') local typing = false local crit = false local critchance = 2--critical chance percentage local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage local critdamageaddmax = 7--maximum amount local maxstamina = 100--max amount of stamina local stamina = 0--stamina you start out with local skill1stam = 10--how much stamina is needed for a skill local skill2stam = 10 local skill3stam = 20 local skill4stam = 30 local recovermana = 3--how much mana per second local defensevalue = 1--how much defense this character has local speedvalue = 1--how much speed this character has --speed is 16*speedvalue local mindamage = 5--self explanatory local maxdamage = 7--self explanatory local damagevalue = 1--how much damage this character has --damage is math.random(mindamage,maxdamage)*damagevalue --damage(hit, mindamage, maxdamage, 1, 1, RootPart) --asd local cn = CFrame.new-- make things easier :) local mr = math.rad local angles = CFrame.Angles local ud = UDim2.new local c3 = Color3.new local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol --asd local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) Humanoid.Animator:Destroy() --Angles For RootJoint `~` local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) --Save Shoulders/Hips RSH, LSH = nil, nil RHS, LHS = nil, nil --Shoulders RW = Instance.new("Weld") LW = Instance.new("Weld") --Hips RH = Instance.new("Weld") LH = Instance.new("Weld") -- Player = Player ch = Character LHS = Torso["Left Hip"] RHS = Torso["Right Hip"] RSH = ch.Torso["Right Shoulder"] LSH = ch.Torso["Left Shoulder"] -- RSH.Parent = nil LSH.Parent = nil -- LHS.Parent = nil RHS.Parent = nil -- RW.Name = "RW" RW.Part0 = ch.Torso RW.C0 = cn(1.5, 0.5, 0) RW.C1 = cn(0, 0.5, 0) RW.Part1 = ch["Right Arm"] RW.Parent = ch.Torso -- LW.Name = "LW" LW.Part0 = ch.Torso LW.C0 = cn(-1.5, 0.5, 0) LW.C1 = cn(0, 0.5, 0) LW.Part1 = ch["Left Arm"] LW.Parent = ch.Torso -- LH.Name = "LH" LH.Part0 = ch.Torso LH.C0 = cn(-0.5, -2, 0) LH.Part1 = ch["Left Leg"] LH.Parent = ch.Torso -- RH.Name = "RH" RH.Part0 = ch.Torso RH.C0 = cn(0.5, -2, 0) RH.Part1 = ch["Right Leg"] RH.Parent = ch.Torso local Flying = false game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump) if Flying == true then if jump == "Jump" then Humanoid.Jump = false end end end) Humanoid.CameraOffset = Vector3.new(0, -2, 0) Torso.Transparency = 1 Head.Transparency = 1 LeftLeg.Transparency = 1 RightLeg.Transparency = 1 LeftArm.Transparency = 1 RightArm.Transparency = 1 for i,v in pairs (Character:GetChildren()) do if v.ClassName == "Hat" then v:Destroy() end end for i,v in pairs (Character.Head:GetChildren()) do if v.ClassName == "Decal" then v:Destroy() end end Character.Animate:Destroy() local scrn = Instance.new('ScreenGui') scrn.Parent = nil function makeframe(par, trans, pos, size, color) local frame = Instance.new('Frame', par) frame.BackgroundTransparency = trans frame.BorderSizePixel = 0 frame.Position = pos frame.Size = size frame.BackgroundColor3 = color return frame end function makelabel(par, text) local label = Instance.new('TextLabel', par) label.BackgroundTransparency = 1 label.Size = ud(1, 0, 1, 0) label.Position = ud(0, 0, 0, 0) label.TextColor3 = c3(255, 255, 255) label.TextStrokeTransparency = 0 label.FontSize = Enum.FontSize.Size32 label.Font = Enum.Font.SourceSansBold label.BorderSizePixel = 0 label.TextScaled = true label.Text = text end framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) text1 = makelabel(framesk1, '[3] Skill3') text2 = makelabel(framesk2, '[4] Skill4') text3 = makelabel(framesk3, "[2] Skill2") text4 = makelabel(framesk4, '[1] Skill1') staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1)) staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1)) staminatext = makelabel(staminabar, 'Mana') healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0)) healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255)) healthtext = makelabel(healthbar, 'Health') local stats = Instance.new('Folder', Character) stats.Name = 'Stats' local block = Instance.new('BoolValue', stats) block.Name = 'Block' block.Value = false local stun = Instance.new('BoolValue', stats) stun.Name = 'Stun' stun.Value = false local defense = Instance.new('NumberValue', stats) defense.Name = 'Defence' defense.Value = defensevalue local speed = Instance.new('NumberValue', stats) speed.Name = 'Speed' speed.Value = speedvalue local damagea = Instance.new('NumberValue', stats) damagea.Name = 'Damage' damagea.Value = damagevalue function atktype(s, e) coroutine.resume(coroutine.create(function() attacktype = e wait(1.5) attacktype = s end)) end function turncrit() coroutine.resume(coroutine.create(function() print'CRITICAL!' crit = true wait(.25) crit = false end)) end function subtractstamina(k) if stamina >= k then stamina = stamina - k end end function clerp(a, b, t) return a:lerp(b, t) end function randomizer(percent) local randomized = math.random(0, 100) if randomized <= percent then return true elseif randomized >= percent then return false end end local RbxUtility = LoadLibrary("RbxUtility") local Create = RbxUtility.Create function RemoveOutlines(part) part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 end function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) local Part = Create("Part"){ formFactor = FormFactor, Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material, } RemoveOutlines(Part) return Part end function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) local Msh = Create(Mesh){ Parent = Part, Offset = OffSet, Scale = Scale, } if Mesh == "SpecialMesh" then Msh.MeshType = MeshType Msh.MeshId = MeshId end return Msh end function CreateWeld(Parent, Part0, Part1, C0, C1) local Weld = Create("Weld"){ Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1, } return Weld end function rayCast(pos, dir, maxl, ignore) return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore) end musicOn = true local z = Instance.new("Sound",char) z.Looped = true z.SoundId = "rbxassetid://858944086" z.Volume = 1 if musicOn then z:Play() end --Effects function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type) local p = Instance.new('Part', par or workspace) p.CFrame = pos1 p.Anchored = true p.Material = 'SmoothPlastic' p.CanCollide = false p.TopSurface = 0 p.Size = Vector3.new(1, 1, 1) p.BottomSurface = 0 p.Transparency = trans p.FormFactor = 'Custom' RemoveOutlines(p) local mesh = Instance.new('SpecialMesh', p) mesh.Scale = size if id ~= nil and type == nil then mesh.MeshId = 'rbxassetid://'..id elseif id == nil and type ~= nil then mesh.MeshType = type elseif id == nil and type == nil then mesh.MeshType = 'Brick' end coroutine.wrap(function() for i = 0, delay1, .1 do wait(1 / 60) p.CFrame = p.CFrame mesh.Scale = mesh.Scale + howmuch p.Transparency = p.Transparency + trans1 end p:Destroy() end)() return p end function clangy(cframe) wait(1 / 60) local clang = {} local dis = 0 local part = Instance.new('Part', nil) part.CFrame = cframe part.Anchored = true part.CanCollide = false part.BrickColor = BrickColor.new('Really red') part.FormFactor = 'Custom' part.Name = 'clanger' part.Size = Vector3.new(.2, .2, .2) part.TopSurface = 10 part.BottomSurface = 10 part.RightSurface = 10 part.LeftSurface = 10 part.BackSurface = 10 part.FrontSurface = 10 --part.Material='Neon' part:BreakJoints() local mesh = Instance.new('BlockMesh', part) coroutine.wrap(function() for i = 1, 7 do wait(1 / 60) dis = dis + .2 local partc = part:clone() partc.Parent = workspace partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) table.insert(clang, partc) end for i, v in pairs(clang) do coroutine.wrap(function() for i = 1, 10 do wait(.01) v.Transparency = v.Transparency + .1 end v:destroy() end)() end end)() end --damage effects function circle(color, pos1) local p = Instance.new('Part', m) p.BrickColor = BrickColor.new(color) p.CFrame = pos1 p.Anchored = true p.Material = 'Plastic' p.CanCollide = false p.TopSurface = 0 p.Size = Vector3.new(1, 1, 1) p.BottomSurface = 0 p.Transparency = 0.35 p.FormFactor = 'Custom' local mesh = Instance.new('CylinderMesh', p) mesh.Scale = Vector3.new(0, 0, 0) coroutine.wrap(function() for i = 0, 5, .1 do wait(1 / 60) p.CFrame = p.CFrame mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5) p.Transparency = p.Transparency + .025 end p:Destroy() end)() end function firespaz1(color, pos1) local p = Instance.new('Part', m) p.BrickColor = BrickColor.new(color) p.CFrame = pos1 p.Anchored = true p.Material = 'Plastic' p.CanCollide = false p.TopSurface = 0 p.Size = Vector3.new(1, 1, 1) p.BottomSurface = 0 p.Transparency = 0.5 p.FormFactor = 'Custom' local mesh = Instance.new('BlockMesh', p) mesh.Scale = Vector3.new(1, 1, 1) coroutine.wrap(function() for i = 0, 15, .1 do wait(1 / 30) p.CFrame = p.CFrame * CFrame.new(0, .1, 0) mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1) p.Transparency = p.Transparency + .025 end p:Destroy() end)() end function pickrandom(tablesa) local randomized = tablesa[math.random(1, #tablesa)] return randomized end function sound(id, pitch, volume, par, last) local s = Instance.new('Sound', par or Torso) s.SoundId = 'rbxassetid://'..id s.Pitch = pitch or 1 s.Volume = volume or 1 wait() s:play() game.Debris:AddItem(s, last or 120) end function clangy(cframe) wait(1 / 60) local clang = {} local dis = 0 local part = Instance.new('Part', nil) part.CFrame = cframe part.Anchored = true part.CanCollide = false part.BrickColor = BrickColor.new('Really red') part.FormFactor = 'Custom' part.Name = 'clanger' part.Size = Vector3.new(.2, .2, .2) part.TopSurface = 10 part.BottomSurface = 10 part.RightSurface = 10 part.LeftSurface = 10 part.BackSurface = 10 part.FrontSurface = 10 --part.Material='Neon' part:BreakJoints() local mesh = Instance.new('BlockMesh', part) coroutine.wrap(function() for i = 1, 7 do wait(1 / 60) dis = dis + .2 local partc = part:clone() partc.Parent = workspace partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) table.insert(clang, partc) end for i, v in pairs(clang) do coroutine.wrap(function() for i = 1, 10 do wait(.01) v.Transparency = v.Transparency + .1 end v:destroy() end)() end end)() end --damage effects --Effects so = function(id, par, vol, pit) coroutine.resume(coroutine.create(function() local sou = Instance.new("Sound", par or workspace) sou.Volume = vol sou.Pitch = pit or 1 sou.SoundId = id wait() sou:play() game:GetService("Debris"):AddItem(sou, 6) end)) end local function getclosest(obj, distance) local last, lastx = distance + 1 for i, v in pairs(workspace:GetChildren()) do if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then local t = v.Torso local dist = (t.Position - obj.Position).magnitude if dist <= distance then if dist < last then last = dist lastx = v end end end end return lastx end function makegui(cframe, text) local a = math.random(-10, 10) / 100 local c = Instance.new("Part") c.Transparency = 1 Instance.new("BodyGyro").Parent = c c.Parent = m c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0)) local f = Instance.new("BodyPosition") f.P = 2000 f.D = 100 f.maxForce = Vector3.new(math.huge, math.huge, math.huge) f.position = c.Position + Vector3.new(0, 3, 0) f.Parent = c game:GetService("Debris"):AddItem(c, .5 + 6) c.CanCollide = false m.Parent = workspace c.CanCollide = false local bg = Instance.new('BillboardGui', m) bg.Adornee = c bg.Size = UDim2.new(1, 0, 1, 0) bg.StudsOffset = Vector3.new(0, 0, 0) bg.AlwaysOnTop = false local tl = Instance.new('TextLabel', bg) tl.BackgroundTransparency = 1 tl.Size = UDim2.new(1, 0, 1, 0) tl.Text = text tl.Font = 'SourceSansBold' tl.FontSize = 'Size42' if crit == true then tl.TextColor3 = Color3.new(180 / 255, 0, 0) else tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255) end tl.TextStrokeTransparency = 0 tl.TextScaled = true tl.TextWrapped = true coroutine.wrap(function() wait(2) for i = 1, 10 do wait() tl.TextTransparency = tl.TextTransparency + .1 end end)() end function tag(hum, Player) local creator = Instance.new('ObjectValue', hum) creator.Value = Player creator.Name = 'creator' end function untag(hum) if hum ~= nil then local tag = hum:findFirstChild("creator") if tag ~= nil then tag.Parent = nil end end end function tagPlayer(h) coroutine.wrap(function() tag(h, Player) wait(1) untag(h) end)() end function damage(hit, mind, maxd, knock, type, prop) --[[ to apply it to a Player directly, make the first arg go to the Players Torso 1 - normal type(damage and knockback) 2 - drain type(damage no knockback) 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed 4 - heal(heals target) 5 - subtracts enemies defense 6 - subtracts enemies speed 7 - ]] if hit.Name:lower() == 'Hitbox' then local pos = CFrame.new(0, 1, -1) sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6) coroutine.wrap(function() for i = 1, 4 do clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0)) end end)() end if hit.Parent == nil then return end local h = hit.Parent:FindFirstChild("Humanoid") for i, v in pairs(hit.Parent:children()) do if v:IsA("Humanoid") then h = v end end if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then h = hit.Parent.Parent:FindFirstChild('Humanoid') end if hit.Parent:IsA('Hat') then hit = hit.Parent.Parent:findFirstChild('Head') end local D = math.random(mind, maxd) * damagea.Value if h.Parent:FindFirstChild('Stats') then D = D / h.Parent:FindFirstChild('Stats').Defence.Value elseif not h.Parent:FindFirstChild('Stats') then D = D end if h then makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5))) end if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then if type == 1 then tagPlayer(h) local asd = randomizer(critchance) if asd == true then turncrit() end if crit == false then h.Health = h.Health - D else h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) end so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100) local vp = Instance.new('BodyVelocity') vp.P = 500 vp.maxForce = Vector3.new(math.huge, 0, math.huge) vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05 if knock > 0 then vp.Parent = hit.Parent.Torso end game:GetService("Debris"):AddItem(vp, .5) elseif type == 2 then so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100) local asd = randomizer(critchance) if asd == true then turncrit() end if crit == false then h.Health = h.Health - D else h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) end tagPlayer(h) elseif type == 3 then tagPlayer(h) local asd = randomizer(critchance) if asd == true then turncrit() end if crit == false then h.Health = h.Health - D else h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) end Character.Humanoid.Health = Character.Humanoid.Health + D / 2 so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5) for i = 1, 10 do firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))) end elseif type == 4 then h.Health = h.Health + D so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1) circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0)) end end end function subtrackstamina(k) if stamina >= k then stamina = stamina - k end end Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(2.39999986, 1.20000005, 1.39999998)) Handleweld=CreateWeld(m,Torso,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.200019836, 2.05684233, -1.52587891e-005, -3.33786011e-006, 5.10364771e-007, -1.00000072, 7.4505806e-007, 0.999990106, 5.23030758e-006, 0.999992847, 1.10268593e-006, -2.98023224e-006)) CreateMesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) LLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) LLeg1Connectorweld=CreateWeld(m,Handle,LLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.271961212, 0.323261261, 0.554561615, 0.953878522, 0.237942964, 0.183013678, -0.270872086, 0.945040286, 0.183021933, -0.12940976, -0.224147677, 0.965908945)) CreateMesh("SpecialMesh",LLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) LLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) LLeg2Connectorweld=CreateWeld(m,Handle,LLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.286304474, 0.549964905, 0.383785248, 0.87001282, -0.368683487, -0.327339649, 0.475172013, 0.804078519, 0.357260257, 0.131499231, -0.466358542, 0.874748588)) CreateMesh("SpecialMesh",LLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) NeckHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","NeckHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994)) NeckHandleConnectorweld=CreateWeld(m,Handle,NeckHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800014496, 2.2649765e-006, -1.52587891e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) CreateMesh("SpecialMesh",NeckHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) RLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) RLeg2Connectorweld=CreateWeld(m,Handle,RLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.284488678, 0.502339363, -0.511051178, 0.866028607, -0.433008194, 0.249994621, 0.482959986, 0.853833973, -0.194110557, -0.12941049, 0.288845479, 0.948575199)) CreateMesh("SpecialMesh",RLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) RLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) RLeg1Connectorweld=CreateWeld(m,Handle,RLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.434127808, 0.261667252, -0.51184082, 0.953878462, 0.277202159, 0.115192153, -0.270872086, 0.960207343, -0.0678096935, -0.129410967, 0.0334844999, 0.991011441)) CreateMesh("SpecialMesh",RLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) TailHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","TailHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994)) TailHandleConnectorweld=CreateWeld(m,Handle,TailHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.800014496, -4.17232513e-006, -1.14440918e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) CreateMesh("SpecialMesh",TailHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Wings=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wings",Vector3.new(1.38, 0.600000024, 0.400000006)) Wingsweld=CreateWeld(m,Handle,Wings,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00999832153, -1.35054588, -0.870742798, -3.57603994e-007, 1.84772534e-006, 0.999992847, 0.707109332, 0.707094491, -2.27373675e-013, -0.707105219, 0.707105219, 0)) CreateMesh("SpecialMesh",Wings,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=188700920 ",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.928000093)) HeadHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HeadHandleConnector",Vector3.new(0.799999774, 0.800000012, 1.19999993)) HeadHandleConnectorweld=CreateWeld(m, NeckHandleConnector, HeadHandleConnector, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.13883209, -1.22878647, -4.95910645e-005, 0.965921879, -0.258816749, -8.3394184e-007, 0.258814901, 0.965910494, 1.70232727e-006, 7.33734851e-009, -1.24428539e-008, 0.999992847)) CreateMesh("SpecialMesh",HeadHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) HeadHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HeadHandle",Vector3.new(0.799999774, 0.800000012, 1.19999993)) HeadHandleweld=CreateWeld(m,HeadHandleConnector,HeadHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(.5,.3,0)) CreateMesh("SpecialMesh",HeadHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) BlinkPartL=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BlinkPartL",Vector3.new(0.430000007, 0.349999994, 0.209999993)) BlinkPartLweld=CreateWeld(m,HeadHandle,BlinkPartL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.627552032, -0.15424633, 0.675392151, 0.965920627, 3.52720974e-007, 0.258818448, -3.27823614e-007, 0.999994576, -4.27638327e-007, -0.258816987, 3.32397349e-007, 0.965925992)) CreateMesh("SpecialMesh",BlinkPartL,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) BlinkPartR=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BlinkPartR",Vector3.new(0.430000007, 0.349999994, 0.209999919)) BlinkPartRweld=CreateWeld(m,HeadHandle,BlinkPartR,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668586731, 0.0254650116, 0.6536026, 0.963257611, 0.166627169, -0.210616693, 0.170450777, -0.985360563, 7.06354513e-007, -0.207533255, -0.035900455, -0.977568686)) CreateMesh("SpecialMesh",BlinkPartR,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Head=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Head",Vector3.new(1.59999979, 1, 1.19999993)) Headweld=CreateWeld(m,HeadHandle,Head,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399993896, -0.100018501, -3.81469727e-006, 0.999994338, -7.45053441e-008, 0, 4.59620352e-013, 0.999994516, 5.40012479e-013, -6.82121026e-013, -1.62003744e-012, 1)) CreateMesh("SpecialMesh",Head,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003)) Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268547058, 0.0147666931, 0.492343903, 0.266456544, 0.961500287, -0.0669870079, -0.937416613, 0.24235782, -0.249999925, -0.22414504, 0.129409671, 0.965918422)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006)) Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.35981369, -0.0811252594, -0.392364502, 0.499998569, 0.866011322, 1.38495011e-007, -0.836511791, 0.482955486, 0.258817196, 0.224141717, -0.129405871, 0.965918958)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006)) Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.359809875, -0.0811347961, 0.392364502, 0.500002265, 0.866017759, 4.3843329e-009, -0.836509109, 0.48296532, -0.25881812, -0.224141061, 0.129409656, 0.965926051)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003)) Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268550873, 0.0147647858, -0.492359161, 0.266456187, 0.961500764, 0.066986382, -0.937418401, 0.242359444, 0.249994203, 0.224138066, -0.129404321, 0.965920031)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917)) Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148231506, -0.399997711, 0.999991596, -8.94065053e-008, -6.82121026e-013, -4.47030253e-008, 0.999991894, -1.00897068e-012, -4.54747351e-013, -1.05160325e-012, 1)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917)) Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148216248, 0.399990082, 0.999985158, -5.96041865e-008, -1.13686838e-012, -8.94065053e-008, 0.999985576, -1.15107923e-012, -6.82121026e-013, -1.44950718e-012, 1)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) LLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) LLeg1Handleweld=CreateWeld(m,LLeg1Connector,LLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0365982056, 0.0366020203, 0.193164825, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503)) CreateMesh("SpecialMesh",LLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) Partweld=CreateWeld(m,LLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.299993515, 7.62939453e-006, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) LLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) LLeg2Handleweld=CreateWeld(m,LLeg2Connector,LLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0654640198, 0.0714416504, 0.174942017, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668)) CreateMesh("SpecialMesh",LLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) Partweld=CreateWeld(m,LLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.300003052, 0, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) RLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) RLeg1Handleweld=CreateWeld(m,RLeg1Connector,RLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874)) CreateMesh("SpecialMesh",RLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) Partweld=CreateWeld(m,RLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, 0.299995422, 7.62939453e-006, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) RLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) RLeg2Handleweld=CreateWeld(m,RLeg2Connector,RLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0499954224, 0.038819313, -0.189697266, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768)) CreateMesh("SpecialMesh",RLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) Partweld=CreateWeld(m,RLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.299996376, -7.62939453e-006, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) NeckHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","NeckHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994)) NeckHandleweld=CreateWeld(m,NeckHandleConnector,NeckHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) CreateMesh("SpecialMesh",NeckHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.5999999, 0.800000012, 0.99999994)) Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.673364639, 0.315284729, 1.14440918e-005, 0.499996573, 0.866005898, 1.41687553e-006, -0.866028965, 0.499994099, 1.24860276e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.5999999, 1, 1.39999998)) Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.456003189, -0.000812530518, 1.52587891e-005, 0.707109332, 0.707094491, 1.05421987e-006, -0.707105219, 0.707105219, 1.56317299e-006, 2.27782948e-009, -3.0485694e-009, 0.999992847)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) TailHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","TailHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994)) TailHandleweld=CreateWeld(m,TailHandleConnector,TailHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.90734863e-006, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) CreateMesh("SpecialMesh",TailHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999974, 0.800000012, 0.99999994)) Partweld=CreateWeld(m,TailHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299999237, 3.57627869e-007, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Tail2HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail2HandleConnector",Vector3.new(0.599999726, 0.800000012, 0.799999952)) Tail2HandleConnectorweld=CreateWeld(m,TailHandle,Tail2HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.674129486, -0.0147686005, -0.00961303711, 0.999255121, 0.0334871411, -0.0192402583, -0.0341572762, 0.998781741, -0.0350642987, 0.0180421956, 0.0356986672, 0.999185622)) CreateMesh("SpecialMesh",Tail2HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Tail2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail2Handle",Vector3.new(0.599999726, 0.800000012, 0.799999952)) Tail2Handleweld=CreateWeld(m,Tail2HandleConnector,Tail2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993)) CreateMesh("SpecialMesh",Tail2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999974, 0.800000012, 0.799999952)) Partweld=CreateWeld(m,Tail2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399993896, -2.86102295e-006, 3.81469727e-006, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Tail3HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail3HandleConnector",Vector3.new(0.599999845, 0.800000012, 0.799999952)) Tail3HandleConnectorweld=CreateWeld(m,Tail2Handle,Tail3HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.933692932, 0.152185202, 0.0128250122, 0.989802122, -0.139427915, 0.0292246509, 0.138289496, 0.989660025, 0.0377997532, -0.0341934189, -0.0333709307, 0.998850942)) CreateMesh("SpecialMesh",Tail3HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Tail3Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail3Handle",Vector3.new(0.599999845, 0.800000012, 0.799999952)) Tail3Handleweld=CreateWeld(m,Tail3HandleConnector,Tail3Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012)) CreateMesh("SpecialMesh",Tail3Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.79999983, 0.800000012, 0.200000003)) Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04519272, 0.064440012, -0.0208930969, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003)) Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.11207199, 0.0611591339, 0.00499725342, 0.965926647, -0.258816153, -5.12227416e-008, 0.258816123, 0.965926647, -1.83936208e-007, 9.68575478e-008, 1.64000085e-007, 1)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003)) Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.07800674, 0.0849123001, -0.020816803, 0.965926468, 0.258816481, 2.40281224e-007, -0.258821636, 0.965915978, -1.06403604e-006, -1.3038516e-006, 2.83645932e-006, 0.999992907)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999986, 0.800000012, 0.799999952)) Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400001526, -2.14576721e-006, -3.81469727e-006, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012)) CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) mouse.Button1Down:connect(function() end) mouse.KeyDown:connect(function(k) k = k:lower() if k == "f" and attack == false and Flying == false then Humanoid.CameraOffset = Vector3.new(0, -1, 0) Humanoid.WalkSpeed = 25 Flying = true elseif k == "f" and attack == false and Flying == true then Humanoid.CameraOffset = Vector3.new(0, -2, 0) Humanoid.WalkSpeed = 16 Flying = false end end) inputserv.InputBegan:connect(function(k) if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then end end) inputserv.InputBegan:connect(function(k) if k.KeyCode == Enum.KeyCode.Slash then local fin = nil typing = true fin = inputserv.InputBegan:connect(function(k) if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then typing = false fin:disconnect() end end) end end) function updateskills() if cooldown1 <= co1 then cooldown1 = cooldown1 + 1 / 30 end if cooldown2 <= co2 then cooldown2 = cooldown2 + 1 / 30 end if cooldown3 <= co3 then cooldown3 = cooldown3 + 1 / 30 end if cooldown4 <= co4 then cooldown4 = cooldown4 + 1 / 30 end if stamina <= maxstamina then stamina = stamina + recovermana / 30 end end coroutine.resume(coroutine.create(function(Part,Weld) while Part.Parent~=nil do wait(5) for i=0,1,0.2 do wait() BlinkPartR.Mesh.Scale = Vector3.new(.7-1*i,1,1) end for i=0,1,0.2 do wait() BlinkPartR.Mesh.Scale = Vector3.new(.7+.3*i,1,1) end end end),BlinkPartR,BlinkPartRweld) coroutine.resume(coroutine.create(function(Part,Weld) while Part.Parent~=nil do wait(5) for i=0,1,0.2 do wait() BlinkPartL.Mesh.Scale = Vector3.new(.7-1*i,1,1) end for i=0,1,0.2 do wait() BlinkPartL.Mesh.Scale = Vector3.new(.7+.3*i,1,1) end end end),BlinkPartL,BlinkPartLweld) game:GetService'RunService'.Heartbeat:connect(function() updateskills() Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude velocity = RootPart.Velocity.y sine = sine + change local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) if equipped == true or equipped == false then if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then Anim = "Jump" if attack == false then Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 2) * angles(math.rad(50), math.rad(0), math.rad(0)), .3) NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) end elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then Anim = "Fall" if attack == false then Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 1) * angles(math.rad(20), math.rad(0), math.rad(0)), .3) NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3) HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3) LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) end elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then Anim = "Idle" if attack == false and Flying == false then change = 1 Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+1.5*math.cos(sine/10))), .3) HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-5+1.5*math.cos(sine/10))), .3) LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3) LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3) RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3) RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3) TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(15*math.cos(sine/15)), math.rad(5*math.cos(sine/25))), .3) Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(-15*math.cos(sine/15)), math.rad(20*math.cos(sine/15)), math.rad(2*math.cos(sine/15))), .3) Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(15*math.cos(sine/15)), math.rad(10*math.cos(sine/15)), math.rad(0)), .3) elseif attack == false and Flying == true then Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 2) * angles(math.rad(40+2*math.cos(sine/10)), math.rad(0), math.rad(0)), .3) NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+3*math.cos(sine/10))), .3) HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20-3*math.cos(sine/10))), .3) LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3) LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3) RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3) RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3) TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20-3*math.cos(sine/10))), .3) Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+2*math.cos(sine/10))), .3) Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15-1.5*math.cos(sine/10))), .3) end elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then Anim = "Walk" if attack == false and Flying == false then change = 1 Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(1.5+1*math.cos(sine/10)), math.rad(0), math.rad(0)), .3) NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3) HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+1.5*math.cos(sine/10))), .3) LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3) LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3) RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3) RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3) TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3) Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2*math.cos(sine/15))), .3) Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3) elseif attack == false and Flying == true then change = 1 Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 1) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+1*math.cos(sine/10))), .3) HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20+1*math.cos(sine/10))), .3) LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3) LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3) RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3) RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3) TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10-3*math.cos(sine/10))), .3) Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3) Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3-1.5*math.cos(sine/10))), .3) end end end end)