--[[Singularity, By KillerDarkness0105/Codex#6685.]]-- wait(0.13) Player = owner local MHIT=CFrame.new() local MTARGET=nil if Player.Character == nil then while Player.Character == nil do wait() end end Character = Player.Character PlayerGui = Player:WaitForChild("PlayerGui") Backpack = Player:WaitForChild("Backpack") Torso=Character.Torso Head=Character.Head Humanoid=Character.Humanoid LeftArm=Character["Left Arm"] LeftLeg=Character["Left Leg"] RightArm=Character["Right Arm"] RightLeg=Character["Right Leg"] LS=Torso["Left Shoulder"] LH=Torso["Left Hip"] RS=Torso["Right Shoulder"] RH=Torso["Right Hip"] Face = Head.face Neck=Torso.Neck it=Instance.new attacktype=1 attacktype2=1 vt=Vector3.new it=Instance.new cf=CFrame.new cn=CFrame.new euler=CFrame.fromEulerAnglesXYZ angles=CFrame.Angles combo = 0 necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) RootPart=Character.HumanoidRootPart RootJoint=RootPart.RootJoint RootCF=euler(-1.57,0,3.14) attack = false attackdebounce = false trispeed=.2 attackmode='none' local idle=0 local Anim="Idle" stance = false local ff = 2 noleg = false evadecooldown = false Humanoid.Animator.Parent = nil local equip = false local Effects = {} attackspeed = 0.14 df = false Swing = 1 local sine = 0 local change = 1 local val = 0 local speed = 0 local rs = game:GetService("RunService").RenderStepped cam = workspace.CurrentCamera function Create(ty) return function(data) local obj = Instance.new(ty) for k, v in pairs(data) do if type(k) == 'number' then v.Parent = obj else obj[k] = v end end return obj end end deb = game:GetService("Debris") Face:Destroy() move = "" canair = false pullused = false local lasthit hassword = false --game.Lighting.TimeOfDay = 210 Humanoid.MaxHealth = 380 Humanoid.Health = 380 local eye1 = Instance.new("Part") eye1.Parent = Character eye1.Size = Vector3.new(0.2,0.2,0.2) eye1.Archivable = true eye1.Transparency = 0 eye1.CanCollide = false eye1.Material = "Neon" eye1.Color = Color3.fromRGB(255,255,255) local eye1mesh = Instance.new("SpecialMesh",eye1) eye1mesh.MeshType = "Sphere" eye1mesh.Scale = Vector3.new(0.86,0.92,0.86) ko2 = eye1mesh.Scale local eye1weld = Instance.new("Weld") eye1weld.Parent = eye1 eye1weld.Part0 = Head eye1weld.Part1 = eye1 eye1weld.C0 = CFrame.new(.13,.19,-.55)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) eye1weld.Part0 = Head local eye2 = Instance.new("Part") eye2.Parent = Character eye2.Size = Vector3.new(0.2,0.2,0.2) eye2.Archivable = true eye2.Transparency = 0 eye2.CanCollide = false eye2.Material = "Neon" eye2.Color = Color3.fromRGB(255,255,255) local eye2mesh = Instance.new("SpecialMesh",eye2) eye2mesh.MeshType = "Sphere" eye2mesh.Scale = Vector3.new(0.86,0.92,0.86) local eye2weld = Instance.new("Weld") eye2weld.Parent = eye2 eye2weld.Part0 = Head eye2weld.Part1 = eye2 eye2weld.C0 = CFrame.new(-.13,.19,-.55)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) eye2weld.Part0 = Head music = Instance.new("Sound",PlayerGui) music.Volume = 0.25 music.TimePosition = 0 music.Pitch = 1 music.SoundId = "rbxassetid://1861761046" music.Looped = true music:Play() New = function(Object, Parent, Name, Data) local Object = Instance.new(Object) for Index, Value in pairs(Data or {}) do Object[Index] = Value end Object.Parent = Parent Object.Name = Name return Object end KSword = New("Model",Character,"KSword",{}) Handle = New("Part",KSword,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.130000055, 1.72000003, 0.560000002),CFrame = CFrame.new(-25.7299976, 1.86000395, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.190000042, 0.379999965, 0.600000024),CFrame = CFrame.new(-25.7299976, 1.00003493, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.85996902, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.170000061, 0.379999965, 0.600000024),CFrame = CFrame.new(-25.7399979, 2.84001899, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.0100002289, 0.980015039, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.290000081, 0.379999965, 1.39999986),CFrame = CFrame.new(-25.7299976, 3.01001787, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.15001392, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.230000064, 0.199999958, 0.879999995),CFrame = CFrame.new(-25.7299976, 3.25005126, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.39004731, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Blade = New("Part",KSword,"Blade",{BrickColor = BrickColor.new("White"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.37000000476837,Size = Vector3.new(0.110000052, 3.22000003, 0.720000029),CFrame = CFrame.new(-25.7299995, 4.82008553, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),}) mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C1 = CFrame.new(-1.90734863e-06, 2.96008158, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.190000042, 0.279999942, 0.540000021),CFrame = CFrame.new(-25.7299976, 2.23167872, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.371674776, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.190000042, 0.279999942, 0.540000021),CFrame = CFrame.new(-25.7299976, 1.920017, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.0600130558, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.190000042, 0.279999942, 0.540000021),CFrame = CFrame.new(-25.7299976, 2.54003048, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.680026531, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.190000042, 0.279999942, 0.540000021),CFrame = CFrame.new(-25.7299976, 1.63000727, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.229996681, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.190000042, 0.279999942, 0.540000021),CFrame = CFrame.new(-25.7299976, 1.32001591, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.539988041, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.25000006, 0.339999944, 0.360000044),CFrame = CFrame.new(-25.7299976, 1, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.860003948, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.410000026, 0.379999936, 0.139999986),CFrame = CFrame.new(-25.7299976, 3.01999998, 51.2450027, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.15999603, -0.119998932, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.410000026, 0.259999961, 0.119999997),CFrame = CFrame.new(-25.7299976, 3.1099999, 51.3676872, 1, 0, 0, 0, 0.5, -0.866025388, 0, 0.866025388, 0.5),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.5, 0.866025388, 0, -0.866025388, 0.5),C1 = CFrame.new(0, 1.24999595, 0.00268554688, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Part = New("Part",KSword,"Part",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.410000026, 0.279999971, 0.119999997),CFrame = CFrame.new(-25.7299976, 2.97000003, 51.3750076, 1, 0, 0, 0, -0.707106709, -0.707106829, 0, 0.707106829, -0.707106709),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.707106709, 0.707106829, 0, -0.707106829, -0.707106709),C1 = CFrame.new(0, 1.10999608, 0.0100059509, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Wedge = New("WedgePart",KSword,"Wedge",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.37000000476837,Size = Vector3.new(0.109999992, 1.59999979, 0.360000014),CFrame = CFrame.new(-25.7299995, 7.23000002, 51.1850052, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),}) mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C1 = CFrame.new(-1.90734863e-06, 5.36999607, -0.17999649, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Wedge = New("WedgePart",KSword,"Wedge",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.279999912, 0.379999995, 0.320000023),CFrame = CFrame.new(-25.7299995, 3.01001787, 50.5149956, -0.99999994, -1.77635684e-14, -2.68220901e-07, 0, -1, 8.74227766e-08, -2.68220901e-07, 8.74227766e-08, 0.99999994),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.99999994, 0, -2.68220901e-07, -1.77635684e-14, -1, 8.74227766e-08, -2.68220901e-07, 8.74227766e-08, 0.99999994),C1 = CFrame.new(-1.90734863e-06, 1.15001392, -0.850006104, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Wedge = New("WedgePart",KSword,"Wedge",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.37000000476837,Size = Vector3.new(0.109999992, 1.59999979, 0.360000014),CFrame = CFrame.new(-25.7299995, 7.23000002, 51.545002, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),}) mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1),C1 = CFrame.new(-1.90734863e-06, 5.36999607, 0.180000305, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Wedge = New("WedgePart",KSword,"Wedge",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.279999912, 0.379999995, 0.360000014),CFrame = CFrame.new(-25.7299995, 3.00999999, 52.2350082, 0.99999994, 1.77635684e-14, 2.68220901e-07, 0, -1, 8.74227766e-08, 2.68220901e-07, -8.74227766e-08, -0.99999994),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.99999994, 0, 2.68220901e-07, 1.77635684e-14, -1, -8.74227766e-08, 2.68220901e-07, 8.74227766e-08, -0.99999994),C1 = CFrame.new(-1.90734863e-06, 1.14999604, 0.870006561, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) Hitbox = New("Part",KSword,"Hitbox",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.550000072, 5.69999981, 1.20000005),CFrame = CFrame.new(-25.7299995, 6.15000057, 51.3650017, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),}) mot = New("Motor",Hitbox,"mot",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(-1.90734863e-06, 4.28999662, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) for _,v in pairs(KSword:GetChildren()) do v.Material = Enum.Material.Neon if v.Name ~= "Blade" then v.BrickColor = BrickColor.new("Institutional white") end v.Transparency = 1 end local NewInstance = function(instance,parent,properties) local inst = Instance.new(instance,parent) if(properties)then for i,v in next, properties do pcall(function() inst[i] = v end) end end return inst; end local HW = NewInstance('Weld',Character,{Part0=RightArm,Part1=Handle,C0 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))}) local trail = Instance.new("Trail", KSword) local a2 = Instance.new("Attachment", Hitbox) a2.Position = Vector3.new(0,2,0) local a3 = Instance.new("Attachment", Hitbox)a3.Position = Vector3.new(0,-3.3,0) trail.Texture = "rbxassetid://1010011027" trail.Attachment0 = a2 trail.Attachment1 = a3 trail.Lifetime = 0.2753 trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,1)}) trail.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(0, 0,0)) trail.LightEmission = 4.8 trail.Enabled = false 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 sou:play() game:GetService("Debris"):AddItem(sou,8) end)) end --save shoulders RSH, LSH=nil, nil --welds RW, LW=Instance.new("Weld"), Instance.new("Weld") RW.Name="Right Shoulder" LW.Name="Left Shoulder" LH=Torso["Left Hip"] RH=Torso["Right Hip"] TorsoColor=Torso.BrickColor function NoOutline(Part) Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 end player=Player ch=Character RSH=ch.Torso["Right Shoulder"] LSH=ch.Torso["Left Shoulder"] -- RSH.Parent=nil LSH.Parent=nil -- RW.Name="Right Shoulder" RW.Part0=ch.Torso RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) RW.C1=cf(0, 0.5, 0) RW.Part1=ch["Right Arm"] RW.Parent=ch.Torso -- LW.Name="Left Shoulder" LW.Part0=ch.Torso LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) LW.C1=cf(0, 0.5, 0) LW.Part1=ch["Left Arm"] LW.Parent=ch.Torso newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) local wld = Instance.new("Weld", wp1) wld.Part0 = wp0 wld.Part1 = wp1 wld.C0 = CFrame.new(wc0x, wc0y, wc0z) end local rs = game:GetService("RunService").RenderStepped newWeld(RootPart, Torso, 0, -1, 0) Torso.Weld.C1 = CFrame.new(0, -1, 0) newWeld(Torso, LeftLeg, -0.5, -1, 0) LeftLeg.Weld.C1 = CFrame.new(0, 1, 0) newWeld(Torso, RightLeg, 0.5, -1, 0) RightLeg.Weld.C1 = CFrame.new(0, 1, 0) Player=game:GetService("Players"):WaitForChild(script.PlayerName.Value) Character=Player.Character mouse=Player:GetMouse() m=Instance.new('Model',Character) local function weldBetween(a, b) local weldd = Instance.new("ManualWeld") weldd.Part0 = a weldd.Part1 = b weldd.C0 = CFrame.new() weldd.C1 = b.CFrame:inverse() * a.CFrame weldd.Parent = a return weldd end ArtificialHB = Instance.new("BindableEvent", script) ArtificialHB.Name = "Heartbeat" script:WaitForChild("Heartbeat") frame = 1 / 80 tf = 0 allowframeloss = false tossremainder = false lastframe = tick() script.Heartbeat:Fire() game:GetService("RunService").Heartbeat:connect(function(s, p) tf = tf + s if tf >= frame then if allowframeloss then script.Heartbeat:Fire() lastframe = tick() else for i = 1, math.floor(tf / frame) do script.Heartbeat:Fire() end lastframe = tick() end if tossremainder then tf = 0 else tf = tf - frame * math.floor(tf / frame) end end end) --[[] function swait(num) if num == 0 or num == nil then ArtificialHB.Event:wait() else for i = 0, num do ArtificialHB.Event:wait() end end end ]] function swait(num) if num == 0 or num == nil then game:service("RunService").Stepped:wait() else for i = 0, num do game:service("RunService").Stepped:wait() end end end function RemoveOutlines(part) part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 end part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size) local fp = it("Part") fp.formFactor = formfactor fp.Parent = parent fp.Reflectance = reflectance fp.Transparency = transparency fp.CanCollide = false fp.Locked = true fp.BrickColor = brickcolor fp.Name = name fp.Size = size fp.Position = Torso.Position NoOutline(fp) if fp.BrickColor == BrickColor.new("Dark indigo") then fp.Material = "Neon" else if fp.BrickColor == BrickColor.new("Really black") then fp.BrickColor = BrickColor.new("Really black") fp.Material = "Metal" else fp.Material = "Neon" end end fp:BreakJoints() return fp end mesh = function(Mesh, part, meshtype, meshid, offset, scale) local mesh = it(Mesh) mesh.Parent = part if Mesh == "SpecialMesh" then mesh.MeshType = meshtype if meshid ~= "nil" then mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid end end mesh.Offset = offset mesh.Scale = scale return mesh end weld = function(parent, part0, part1, c0) local weld = it("Weld") weld.Parent = parent weld.Part0 = part0 weld.Part1 = part1 weld.C0 = c0 return weld end F1 = Instance.new("Folder", Character) F1.Name = "Effects Folder" F2 = Instance.new("Folder", F1) F2.Name = "Effects" Triangle = function(a, b, c) end MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent) local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) prt.Anchored = true prt.CFrame = cframe msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) if Type == 1 or Type == nil then table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh}) else if Type == 2 then table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh}) else if Type == 3 then table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0}) end end end end MagicSkull = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe) local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) prt.Anchored = true prt.CFrame = cframe msh = mesh("SpecialMesh", prt, "FileMesh", "14028428", vt(0, 0, 0), vt(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Skull", delay, x3, y3, z3, msh, goe}) end MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) prt.Anchored = true prt.CFrame = cframe local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) prt.Anchored = true prt.CFrame = cframe * cf(x2, y2, z2) local msh = mesh("SpecialMesh", prt, "FileMesh", "3270017", vt(0, 0, 0), vt(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end MagicRing2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) prt.Anchored = true prt.CFrame = cframe * cf(x2, y2, z2) prt.Material = Enum.Material.Neon local msh = mesh("SpecialMesh", prt, "FileMesh", "559831844", vt(0, 0, 0), vt(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end MagicRing3 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) prt.Anchored = true prt.CFrame = cframe * cf(x2, y2, z2) prt.Material = Enum.Material.Neon local msh = mesh("SpecialMesh", prt, "FileMesh", "662586858", vt(0, 0, 0), vt(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push) local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) prt.Anchored = true prt.CFrame = cframe local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push}) end MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) prt.Anchored = true prt.CFrame = cframe local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end MagicCylinder2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe) local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) prt.Anchored = true prt.CFrame = cframe local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder2", delay, x3, y3, z3, msh, goe}) end MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) prt.Anchored = true prt.CFrame = cframe local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end ClangEffect = function(brickcolor, cframe, duration, decrease, size, power) local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt()) prt.Anchored = true prt.CFrame = cframe local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil}) end MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) prt.Anchored = true prt.CFrame = cframe local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end MagicFire = function(brickcolor, cframe, x1, y1, z1, delay) local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) prt.Anchored = true prt.CFrame = cframe msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Fire", delay, 1, 1, 1, msh}) end MagicFireWave = function(brickcolor, cframe, x1, y1, z1) local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt()) prt.Anchored = true prt.CFrame = cframe msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) d = Instance.new("Decal") d.Parent = prt d.Texture = "http://www.roblox.com/asset/?id=26356434" d.Face = "Top" d = Instance.new("Decal") d.Parent = prt d.Texture = "http://www.roblox.com/asset/?id=26356434" d.Face = "Bottom" game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "FireWave", 1, 30, math.random(400, 600) / 100, msh}) end ElecEffect = function(cff, x, y, z) local prt = part(3, workspace, 0, 0, BrickColor.new("White"), "Part", vt(1, 1, 1)) prt.Anchored = true prt.CFrame = cff * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z)) prt.CFrame = cf(prt.Position) game:GetService("Debris"):AddItem(prt, 10) xval = math.random() / 3 yval = math.random() / 3 zval = math.random() / 3 msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval)) Effects[#Effects + 1] = {prt, "Elec", 0.2, x, y, z, xval, yval, zval, msh} end function FindNearestTorso(Position, Distance, SinglePlayer) if SinglePlayer then return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance end local List = {} for i, v in pairs(workspace:GetChildren()) do if v:IsA("Model") then if v:findFirstChild("Torso") then if v ~= Character then if (v.Torso.Position - Position).magnitude <= Distance then table.insert(List, v) end end end end end return List end function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) local Part = Create("Part"){ 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 BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) if Type == 1 or Type == nil then table.insert(Effects, { prt, "Block1", delay, x3, y3, z3, msh }) elseif Type == 2 then table.insert(Effects, { prt, "Block2", delay, x3, y3, z3, msh }) end end function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Cylinder", delay, x3, y3, z3, msh }) end function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt=CreatePart(workspace,"Neon",0,0,brickcolor,"Effect",vt(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) prt.Anchored=true prt.CFrame=cframe msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=559831844",vt(0,0,0),vt(x1,y1,z1)) game:GetService("Debris"):AddItem(prt,2) coroutine.resume(coroutine.create(function(Part,Mesh,num) for **0,1,delay do swait() Part.Transparency=i Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) end Part.Parent=nil end),prt,msh,(math.random(0,1)+math.random())/5) end function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Cylinder", delay, x3, y3, z3, msh }) end function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Cylinder", delay, x3, y3, z3, msh }) end function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Cylinder", delay, x3, y3, z3, msh }) end function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Cylinder", delay, x3, y3, z3, msh }) end function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Cylinder", delay, x3, y3, z3, msh }) end function BreakEffect(brickcolor, cframe, x1, y1, z1) local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) prt.Anchored = true prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) local num = math.random(10, 50) / 1000 game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100 }) end function FindNearestHead(Position, Distance, SinglePlayer) if SinglePlayer then return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude end local List = {} for i, v in pairs(workspace:GetChildren()) do if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then table.insert(List, v) end end return List end function clerp(a,b,t) local qa = {QuaternionFromCFrame(a)} local qb = {QuaternionFromCFrame(b)} local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1-t return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) end print("Singularity, By KillerDarkness0105/Codex#5594") --print("Goodbye.") warn("Controls and Combos") print("-----------------------------------") print("Click: Standard Moves. (3 in total)") print("E: Final Cut.") print("F: Final Cut Finsher, Must be in a combo.") print("-----------------------------------") function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5/s return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00-m11-m22+1) local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip elseif i == 1 then local s = math.sqrt(m11-m22-m00+1) local recip = 0.5/s return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip elseif i == 2 then local s = math.sqrt(m22-m00-m11+1) local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip end end end local lerp = function(a, b, t) return a * (1 - t) + b * t end function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w*xs, w*ys, w*zs local xx = x*xs local xy = x*ys local xz = x*zs local yy = y*ys local yz = y*zs local zz = z*zs return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) end function QuaternionSlerp(a, b, t) local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = math.acos(cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((1-t)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = 1-t finishInterp = t end else if (1+cosTheta) > 0.0001 then local theta = math.acos(-cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((t-1)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = t-1 finishInterp = t end end return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp end function weld5(part0, part1, c0, c1) weeld=Instance.new("Weld", part0) weeld.Part0=part0 weeld.Part1=part1 weeld.C0=c0 weeld.C1=c1 return weeld end --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) end ------------------------------------------------------- --Start Combo Function-- ------------------------------------------------------- local comboing = false local combohits = 0 local combotime = 0 local maxtime = 46 local comboed = false function sandbox(var,func) local env = getfenv(func) local newenv = setmetatable({},{ __index = function(self,k) if k=="script" then return var else return env[k] end end, }) setfenv(func,newenv) return func end cors = {} mas = Instance.new("Model",game:GetService("Lighting")) comboframe = Instance.new("ScreenGui") Frame1 = Instance.new("Frame") Frame2 = Instance.new("Frame") TextLabel3 = Instance.new("TextLabel") comboframe.Name = "combinserter" comboframe.Parent = mas Frame1.Name = "combtimegui" Frame1.Parent = comboframe Frame1.Size = UDim2.new(0, 300, 0, 9) Frame1.Position = UDim2.new(0, 900, 0.629999971, 0) Frame1.BackgroundColor3 = Color3.new(0, 0, 0) Frame1.BorderColor3 = Color3.new(0.0313726, 0.0470588, 0.0627451) Frame1.BorderSizePixel = 5 Frame2.Name = "combtimeoverlay" Frame2.Parent = Frame1 Frame2.Size = UDim2.new(0, 0, 0, 9) Frame2.BackgroundColor3 = Color3.new(1, 1, 1) Frame2.ZIndex = 2 TextLabel3.Parent = Frame2 TextLabel3.Transparency = 0 TextLabel3.Size = UDim2.new(0, 300, 0, 50) TextLabel3.Text ="Hits: "..combohits TextLabel3.Position = UDim2.new(0, 0, -8.5999999, 0) TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel3.BackgroundTransparency = 1 TextLabel3.Font = Enum.Font.Bodoni TextLabel3.FontSize = Enum.FontSize.Size60 TextLabel3.TextColor3 = Color3.new(1, 1, 1) TextLabel3.TextStrokeTransparency = 0 gui = game:GetService("Players"):WaitForChild(script.PlayerName.Value).PlayerGui for i,v in pairs(mas:GetChildren()) do v.Parent = game:GetService("Players"):WaitForChild(script.PlayerName.Value).PlayerGui pcall(function() v:MakeJoints() end) end mas:Destroy() for i,v in pairs(cors) do spawn(function() pcall(v) end) end coroutine.resume(coroutine.create(function() while true do swait() if combotime>46 then combotime = 46 end if combotime>.1 and comboing == true then TextLabel3.Transparency = 0 TextLabel3.TextStrokeTransparency = 0 TextLabel3.BackgroundTransparency = 1 Frame1.Transparency = 0 Frame2.Transparency = 0 TextLabel3.Text ="Hits: "..combohits combotime = combotime - .155 Frame2.Size = Frame2.Size:lerp(UDim2.new(0, combotime/maxtime*300, 0, 9),0.25) end if combotime<.1 then pullused = false Frame2.Size = UDim2.new(0, 0, 0, 9) combotime = 0 comboing = false combohits = 0 end end end)) ------------------------------------------------------- --End Combo Function-- ------------------------------------------------------- kDamagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) if hit.Parent==nil then return end h=hit.Parent:FindFirstChild("Humanoid") for _,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.className=="Hat" then hit=hit.Parent.Parent:findFirstChild("Head") end if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then return end]] -- hs(hit,1.2) c=Instance.new("ObjectValue") c.Name="creator" c.Value=Player c.Parent=h game:GetService("Debris"):AddItem(c,.5) Damage=math.random(minim,maxim) -- h:TakeDamage(Damage) blocked=false block=hit.Parent:findFirstChild("Block") if block~=nil then print(block.className) if block.className=="NumberValue" then if block.Value>0 then blocked=true if decreaseblock==nil then block.Value=block.Value-1 end end end if block.className=="IntValue" then if block.Value>0 then blocked=true if decreaseblock~=nil then block.Value=block.Value-1 end end end end if blocked==false then -- h:TakeDamage(Damage) h.Health=h.Health-Damage -- kshowDamage(hit.Parent,Damage,.5,BrickColor.new("White")) else h.Health=h.Health-(Damage/2) --kshowDamage(hit.Parent,Damage/2,.5,BrickColor.new("White")) end if Type=="Knockdown" then hum=hit.Parent.Humanoid hum.PlatformStand=true coroutine.resume(coroutine.create(function(HHumanoid) swait(1) HHumanoid.PlatformStand=false end),hum) local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) local bodvol=Instance.new("BodyVelocity") bodvol.velocity=angle*knockback bodvol.P=5000 bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) bodvol.Parent=hit rl=Instance.new("BodyAngularVelocity") rl.P=3000 rl.maxTorque=Vector3.new(500,500,500) rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) rl.Parent=hit game:GetService("Debris"):AddItem(bodvol,.5) game:GetService("Debris"):AddItem(rl,.5) elseif Type=="Normal" then vp=Instance.new("BodyVelocity") vp.P=500 vp.maxForce=Vector3.new(math.huge,0,math.huge) -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback if KnockbackType==1 then vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 elseif KnockbackType==2 then vp.velocity=Property.CFrame.lookVector*knockback end if knockback>0 then vp.Parent=hit.Parent.Torso end game:GetService("Debris"):AddItem(vp,.5) elseif Type=="Up" then hit.Parent.Humanoid.PlatformStand = true local bodyVelocity=Instance.new("BodyVelocity") bodyVelocity.velocity=vt(0,15,0) bodyVelocity.P=5000 bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) bodyVelocity.Parent=hit game:GetService("Debris"):AddItem(bodyVelocity,0.4) rl=Instance.new("BodyAngularVelocity") rl.P=3000 rl.AngularVelocity = Vector3.new(2000,2000,2000) rl.MaxTorque = Vector3.new(40000,40000,40000) rl.Parent=hit hit.Parent.Humanoid.PlatformStand = false game:GetService("Debris"):AddItem(rl,.5) elseif Type=="Snare" then bp=Instance.new("BodyPosition") bp.P=2000 bp.D=100 bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) bp.position=hit.Parent.Torso.Position bp.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(bp,1) elseif Type=="Float" then hit.Parent.Humanoid.PlatformStand = true bp=Instance.new("BodyPosition") bp.P=2000 bp.D=400 bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) bp.position=hit.Parent.Torso.Position+vt(0,35,24) bp.Parent=hit.Parent.Torso local rl=Instance.new("BodyAngularVelocity",hit.Parent.Torso) rl.P=377705 rl.maxTorque=Vector3.new(1,1,1)*500 rl.angularvelocity=Vector3.new(math.random(-3,3),math.random(-6,6),math.random(-3,3)) local BF = Instance.new("BodyForce",hit.Parent.Torso) BF.force = Vector3.new(0, workspace.Gravity/1.10, 0) game:GetService("Debris"):AddItem(bp,5) game:GetService("Debris"):AddItem(BF,5) game:GetService("Debris"):AddItem(rl,5) elseif Type=="Target" then if Targetting==false then ZTarget=hit.Parent.Torso coroutine.resume(coroutine.create(function(Part) so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) swait(5) so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) end),ZTarget) TargHum=ZTarget.Parent:findFirstChild("Humanoid") targetgui=Instance.new("BillboardGui") targetgui.Parent=ZTarget targetgui.Size=UDim2.new(10,100,10,100) targ=Instance.new("ImageLabel") targ.Parent=targetgui targ.BackgroundTransparency=1 targ.Image="rbxassetid://4834067" targ.Size=UDim2.new(1,0,1,0) cam.CameraType="Scriptable" cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) Targetting=true RocketTarget=ZTarget for **1,Property do --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do if Humanoid.Health>0 and char.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then swait() end --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) end Targetting=false RocketTarget=nil targetgui.Parent=nil cam.CameraType="Custom" end end debounce=Instance.new("BoolValue") debounce.Name="DebounceHit" debounce.Parent=hit.Parent debounce.Value=true game:GetService("Debris"):AddItem(debounce,Delay) c=Instance.new("ObjectValue") c.Name="creator" c.Value=Player c.Parent=h game:GetService("Debris"):AddItem(c,.5) CRIT=false hitDeb=true AttackPos=6 comboing = true combohits = combohits+1 combotime = combotime+9.8 lasthit = hit.Parent if hitfloor == nil then local velo=Instance.new("BodyVelocity") velo.velocity=vt(0,15.5,0) velo.P=18000 velo.maxForce=Vector3.new(math.huge, math.huge, math.huge) velo.Parent=RootPart game:GetService("Debris"):AddItem(velo,0.2) local hitvelo=Instance.new("BodyVelocity") hitvelo.velocity=vt(0,15.5,0) hitvelo.P=18000 hitvelo.maxForce=Vector3.new(math.huge, math.huge, math.huge) hitvelo.Parent=hit game:GetService("Debris"):AddItem(hitvelo,0.2) if comboing == true and attack == true then coroutine.resume(coroutine.create(function() if comboed == false and hitfloor == nil and move ~= "back" and move ~= "divek" then for i = 0,1.7,0.08 do swait() hit.Parent.Head.CFrame = Torso.CFrame * CFrame.new(0,0,-1.4) end end end)) coroutine.resume(coroutine.create(function() if comboed == true and move ~= "back" and move ~= "divek" then repeat swait() hit.Parent.Head.CFrame = Torso.CFrame * CFrame.new(0,0,-1.4) until comboed == false or move == "back" or move ~= "divek" end end)) end end end end kshowDamage=function(Char,Dealt,du,Color) m=Instance.new("Model") m.Name=tostring(Dealt) h=Instance.new("Humanoid") h.Health=0 h.MaxHealth=0 h.Parent=m c=Instance.new("Part") c.Transparency=0 c.BrickColor=Color c.Name="Head" c.Material = "Neon" c.TopSurface=0 c.BottomSurface=0 c.formFactor="Plate" c.Size=Vector3.new(1,.4,1) ms=Instance.new("CylinderMesh") ms.Scale=Vector3.new(.8,.8,.8) if CRIT==true then ms.Scale=Vector3.new(1,1.25,1) end ms.Parent=c c.Reflectance=0 Instance.new("BodyGyro").Parent=c c.Parent=m if Char:findFirstChild("Head")~=nil then c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) elseif Char.Parent:findFirstChild("Head")~=nil then c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) end f=Instance.new("BodyPosition") f.P=2000 f.D=220 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(m,.5+du) c.CanCollide=false m.Parent=workspace c.CanCollide=false end function blink() coroutine.resume(coroutine.create(function() for i = 0,5.5,0.1 do swait() eye1mesh.Scale = eye1mesh.Scale:lerp(Vector3.new(1.2,0.01,0.8),0.04) eye2mesh.Scale = eye2mesh.Scale:lerp(Vector3.new(1.2,0.01,0.8),0.04) end wait(0.05) for i = 0,5.5,0.1 do swait() eye1mesh.Scale = eye1mesh.Scale:lerp(Vector3.new(0.86,0.92,0.86),0.04) eye2mesh.Scale = eye2mesh.Scale:lerp(Vector3.new(0.86,0.92,0.86),0.04) end end)) end --[[ attack reference Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)),.1) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) ]] Button1Down=function() if attack==false and hassword == false then if attacktype==1 then attack=true attacktype=2 attackone() move = "punch1" elseif attacktype==2 then attack=true attacktype=3 attacktwo() move = "punch2" elseif attacktype==3 then attack=true attacktype=1 attackthree() move = "kick1" elseif attacktype==4 then attack=true attacktype=1 attackfour() end end if attack == false and hassword == true then if attacktype==1 then attack=true attacktype=2 attackones() elseif attacktype==2 then attack=true attacktype=1 attacktwos() end end end local hitted = false function attackone() attack = true for i = 0,1.6,0.12 do swait() Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -0.95, 1.3+0.4*i) * CFrame.Angles(math.rad(6), math.rad(60), math.rad(0)), 0.15) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-64)),.15) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(32), math.rad(60)),.22) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(18), math.rad(12)),.22) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(-8)), 0.12) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.05,0) * CFrame.Angles(math.rad(-12), math.rad(-40), math.rad(5)), 0.12) end so("http://roblox.com/asset/?id=1022532343",LeftArm,1,1) local con5=Humanoid.Touched:connect(function(hit) if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then if attackdebounce == false then attackdebounce = true kDamagefunc(hit,9,17,math.random(0.2,1),"Normal",RootPart,0,1) so("http://roblox.com/asset/?id=542443306",LeftArm,2,(math.random(45,155)/150)+0.2) SphereEffect(BrickColor.new("White"),LeftArm.CFrame*CFrame.new(0,-1,0)*angles(0,0,0),9,9,9,12,12,12,0.17) coroutine.resume(coroutine.create(function() for i = 0,1,0.1 do swait() Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24) end end)) wait(0.18) attackdebounce = false end end end) for i = 0,1.1,0.11 do swait() Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -0.95, -0.3-0.45*i) * CFrame.Angles(math.rad(-2-4*i), math.rad(-40-32*i), math.rad(0)), 0.45) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(-2),math.rad(36+32*i)),.45) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, 0) * angles(math.rad(54-70*i), math.rad(2), math.rad(6)),.42) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.72) * angles(math.rad(90-30*i), math.rad(-18), math.rad(-30+42*i)),.42) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-1), math.rad(40), math.rad(-2)), 0.12) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.05,0) * CFrame.Angles(math.rad(-12), math.rad(0), math.rad(14)), 0.12) end attack = false con5:disconnect() end function attacktwo() attack = true for i = 0,2.6,0.12 do swait() Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -0.95, 1.6+0.2*i) * CFrame.Angles(math.rad(13), math.rad(-70-20*i), math.rad(0)), 0.15) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(74)),.15) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(83), math.rad(-23), math.rad(-32+28*i)),.22) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(12), math.rad(-72)),.22) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-11), math.rad(0), math.rad(-12)), 0.12) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.05,0) * CFrame.Angles(math.rad(3), math.rad(-65), math.rad(6)), 0.12) end so("http://roblox.com/asset/?id=169259383",RightArm,2,(math.random(45,155)/150)+0.2) local con5=Humanoid.Touched:connect(function(hit) if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then if attackdebounce == false then attackdebounce = true kDamagefunc(hit,11,19,math.random(0.2,2),"Normal",RootPart,.0,1) so("http://roblox.com/asset/?id=542443306",RightArm,2,(math.random(45,155)/100)+0.2) SphereEffect(BrickColor.new("White"),RightArm.CFrame*CFrame.new(0,-1,0)*angles(0,0,0),9,9,9,12,12,12,0.17) coroutine.resume(coroutine.create(function() for i = 0,1,0.1 do swait() Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24) end end)) wait(0.18) attackdebounce = false end end end) for i = 0,1.1,0.11 do swait() Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -0.95, -0.3-0.45*i) * CFrame.Angles(math.rad(-6), math.rad(50+70*i), math.rad(0)), 0.45) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-12),math.rad(-2),math.rad(-46-32*i)),.45) RW.C0 = clerp(RW.C0, CFrame.new(1.5-0.55*i, 0.6, 0-0.55*i) * angles(math.rad(94+30*i), math.rad(-2), math.rad(30-42*i)),.42) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.1) * angles(math.rad(-20-30*i), math.rad(-18), math.rad(-10-42*i)),.42) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-1), math.rad(40), math.rad(-2)), 0.22) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.05,0) * CFrame.Angles(math.rad(-12), math.rad(0), math.rad(14)), 0.22) end con5:disconnect() attack = false end function attackthree() noleg = true for i = 0,2.3,0.12 do swait() BlockEffect(BrickColor.new("White"), LeftLeg.CFrame*cf(0,-1,0), 16, 16, 16, -1.5, -1.5, -1.5, 0.05) BlockEffect(BrickColor.new("White"), RightLeg.CFrame*cf(0,-1,0), 16, 16, 16, -1.5, -1.5, -1.5, 0.05) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1.15, 2.5) * CFrame.Angles(math.rad(-27), math.rad(0-50*i), math.rad(0)), 0.2) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-24),math.rad(-8),math.rad(43)),.2) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-60), math.rad(0), math.rad(60)),.2) LW.C0 = clerp(LW.C0, CFrame.new(-0.9, 0.5, -0.3) * angles(math.rad(90), math.rad(0), math.rad(50)),.2) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.72, -0.4) * CFrame.Angles(math.rad(17), math.rad(0), math.rad(-16)), 0.2) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.34, -1.15, 0.3) * CFrame.Angles(math.rad(-77), math.rad(0), math.rad(0)), 0.2) end local con6=Humanoid.Touched:connect(function(hit) if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then if attackdebounce == false then attackdebounce = true kDamagefunc(hit,6,8,math.random(0.2,2),"Normal",RootPart,.0,1) so("http://roblox.com/asset/?id=542443306",RightLeg,2,(math.random(45,155)/150)+0.2) SphereEffect(BrickColor.new("White"),LeftLeg.CFrame*CFrame.new(math.random(-2,2),math.random(-4,4),math.random(-2,2))*angles(0,0,0),9,9,9,12,12,12,0.17) coroutine.resume(coroutine.create(function() for i = 0,1,0.1 do swait() Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24) end end)) wait(0.09) attackdebounce = false end end end) so("http://roblox.com/asset/?id=158475221",Torso,0.5,1) so("http://roblox.com/asset/?id=158475221",Torso,0.5,1) so("http://roblox.com/asset/?id=158475221",Torso,0.5,1) so("http://roblox.com/asset/?id=158475221",Torso,0.5,1) for i = 0,4.51,0.1 do swait() BlockEffect(BrickColor.new("White"), LeftLeg.CFrame*cf(0,-1,0), 16, 16, 16, -1.5, -1.5, -1.5, 0.05) BlockEffect(BrickColor.new("White"), RightLeg.CFrame*cf(0,-1,0), 16, 16, 16, -1.5, -1.5, -1.5, 0.05) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -.70+0.6*i, -0.9-0.1*i) * CFrame.Angles(math.rad(16+5.3*i), math.rad(0+141*i), math.rad(32+12*i)), 0.18) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(23),math.rad(0),math.rad(-10)),.16) RW.C0 = clerp(RW.C0, CFrame.new(.3, 0.35, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-70)),.16) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.2) * angles(math.rad(-70), math.rad(0), math.rad(-40)),.16) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.79, -.95, 0.34) * CFrame.Angles(math.rad(-52), math.rad(32), math.rad(-30)), 0.17) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.4, -.75, -0.43) * CFrame.Angles(math.rad(-22+22*i), math.rad(38), math.rad(22+2*i)), 0.17) end con6:disconnect() noleg = false attack = false end function FinalFinsh() attack = true noleg = true MagicCircle(BrickColor.new("White"), cf(LeftLeg.Position), 800, 10, 800, -42, 1000, -42, 0.05) lasthit.Head.CFrame = RootPart.CFrame*CFrame.new(0,1,-1) MagicCircle(BrickColor.new("Cyan"), cf(LeftLeg.Position), 800, 5, 800, 0, 0, 0, 0.05) cam.CameraType = "Scriptable" cam.CameraSubject = LeftLeg so("http://roblox.com/asset/?id=815842184",Head,2,1) so("http://roblox.com/asset/?id=453318785",LeftLeg,2,1) cam.FieldOfView = lerp(cam.FieldOfView, 30, 0.4) for i = 0,10.2,0.1 do swait() eye1.Color = eye1.Color:lerp(Color3.fromRGB(0,255,255),0.04) eye2.Color = eye2.Color:lerp(Color3.fromRGB(0,255,255),0.04) Head.Velocity = vt(0,3.6,0) cam.FieldOfView = lerp(cam.FieldOfView, 120, 0.276) cam.CFrame = cam.CFrame:lerp(Head.CFrame *CFrame.new(-7.2,1-0.5*i,-1.6) * angles(math.rad(-74-18*i)-0.2,math.rad(-82),math.rad(42)),0.152) lasthit.Head.CFrame = RootPart.CFrame*CFrame.new(0,1,-1) Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.65*1.8,0.65*1.8),math.random(-0.65*1.8,0.65*1.8),math.random(-0.65*1.8,0.65*1.8)),0.64) MagicRing3(BrickColor.new("Cyan"), RootPart.CFrame * cf(0,1.5,0) * euler(0, math.rad(0+180*i),math.rad(0)), 0.1/10,0.0002, 0.1/10, 0.53/30, 0, 0.53/30, 0.08) MagicRing3(BrickColor.new("Cyan"), RootPart.CFrame * cf(0,-1.5,0) * euler(0, math.rad(0-180*i),math.rad(0)), 0.1/10,0.0002, 0.1/10, 0.53/30, 0, 0.53/30, 0.08) BlockEffect(BrickColor.new("Cyan"), LeftLeg.CFrame*cf(0,-1,0), 6, 6, 6, 1.5, 1.5, 1.5, 0.05) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1+0.2*i, 0) * CFrame.Angles(math.rad(24), math.rad(0), math.rad(0)), 0.07) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(28),math.rad(0),math.rad(0)),.07) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*i, 0) * angles(math.rad(0), math.rad(0), math.rad(120)),.07) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*i, 0) * angles(math.rad(0), math.rad(0), math.rad(-120)),.07) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.03*i, 0) * CFrame.Angles(math.rad(133), math.rad(0), math.rad(0)), 0.07) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1,0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.07) end so("http://roblox.com/asset/?id=898005316",RightLeg,2,0.87) so("http://roblox.com/asset/?id=159882497",Head,4,1) cam.CameraType = "Custom" local con5=Humanoid.Touched:connect(function(hit) if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hitted == false then comboed = false hitted = true if attackdebounce == false then attackdebounce = true cam.CameraSubject = hit.Parent.Head kDamagefunc(hit,21,29,math.random(11.2,22),"Normal",RootPart,.0,1) so("http://roblox.com/asset/?id=542443306",LeftLeg,2,0.63) MagicRing2(BrickColor.new("Cyan"), cf(LeftLeg.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 0.4, 0.4, 0.4, 3,3, 0, 0.08) MagicRing2(BrickColor.new("Cyan"), cf(LeftLeg.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 0.7, 0.7, 0.7, 3, 3, 0, 0.08) MagicRing3(BrickColor.new("White"), cf(LeftLeg.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 0.4/10,0.0002, 0.4/10, 0.53/30, 0, 0.53/30, 0.08) MagicRing3(BrickColor.new("White"), cf(LeftLeg.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 0.4/10,0.0002, 0.4/10, 0.73/30, 0, 0.73/30, 0.08) RingEffect(BrickColor.new("Cyan"),LeftLeg.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06) RingEffect(BrickColor.new("Cyan"),LeftLeg.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06) SphereEffect(BrickColor.new("Cyan"),LeftLeg.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06) MagicCircle(BrickColor.new("White"), cf(LeftLeg.Position), 800, 5, 800, 0, 0, 0, 0.05) MagicCircle(BrickColor.new("Cyan"), cf(LeftLeg.Position), 800, 10, 800, -40, 0, -40, 0.025) MagicCircle(BrickColor.new("White"), cf(LeftLeg.Position), 800, 10, 800, -42, 1000, -42, 0.05) MagicCircle(BrickColor.new("Cyan"), cf(LeftLeg.Position), 1000, 10, 1000, -62, 1200, -62, 0.05) hit.Parent.Humanoid.PlatformStand = true coroutine.resume(coroutine.create(function() for i = 0,1,0.1 do swait() comboed = false Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.65*1.8,0.65*1.8),math.random(-0.65*1.8,0.65*1.8),math.random(-0.65*1.8,0.65*1.8)),0.64) end wait(3) hit.Parent.Humanoid.PlatformStand = false end)) local bodyVelocity=Instance.new("BodyVelocity") bodyVelocity.velocity=hit.Parent.Head.CFrame.lookVector * 334 + vt(0,-190,0) bodyVelocity.P=9999999 bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) bodyVelocity.Parent=hit deb:AddItem(bodyVelocity,0.4) rl=Instance.new("BodyAngularVelocity") rl.P=1200 rl.AngularVelocity = Vector3.new(200,200,200) rl.MaxTorque = Vector3.new(40000,40000,40000) rl.Parent=hit deb:AddItem(rl,4) wait(0.18) attackdebounce = false end end end) for i = 0,6,0.1 do swait() Head.Velocity = vt(0,.6,0) BlockEffect(BrickColor.new("Cyan"), LeftLeg.CFrame*cf(0,-1,0), 16, 16, 16, -1.5, -1.5, -1.5, 0.05) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-24), math.rad(0), math.rad(0)), 0.12) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(32),math.rad(0),math.rad(0)),.34) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)),.34) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)),.34) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(12), math.rad(0), math.rad(0)), 0.34) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1,0) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 0.34) end con5:disconnect() cam.CameraSubject = Humanoid attack = false hitted = false combotime = 0 noleg = false coroutine.resume(coroutine.create(function() for i = 0,4,0.1 do swait() eye1.Color = eye1.Color:lerp(Color3.fromRGB(255,255,255),0.1) eye2.Color = eye2.Color:lerp(Color3.fromRGB(255,255,255),0.1) end end)) end function FinalCut() cam.CameraType = "Scriptable" cam.CameraSubject = Head attack = true so("http://roblox.com/asset/?id=200633529",RightArm,1,0.84) for i = 0, 8, 0.1 do swait() cam.FieldOfView = lerp(cam.FieldOfView, 100, 0.076) cam.CFrame = cam.CFrame:lerp(Head.CFrame *CFrame.new(8,1.2,-3.6) * angles(math.rad(74)-0.2,math.rad(82),math.rad(-42)),0.2) cam.CoordinateFrame = cam.CoordinateFrame:lerp(cam.CFrame,0.2) BlockEffect(BrickColor.new("White"), RightArm.CFrame*cf(0,-1,0), 26, 26, 26, -1.5, -1.5, -1.5, 0.04) MagicRing(BrickColor.new("White"), cf(RightArm.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 3, 3, 1, -0.2, -0.2, 0, 0.09) MagicRing(BrickColor.new("White"), cf(RightArm.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 0.4, 0.4, 0.4, -0.02, -0.02, 0, 0.09) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(math.random(-23,-17)), math.rad(math.random(-6,6)+0.2), math.rad(0)), 0.2) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(12),math.rad(0),math.rad(math.random(-6,6))),.2) RW.C0 = clerp(RW.C0, CFrame.new(1.5, -0.1, 0.1) * angles(math.rad(math.random(74,178)+5), math.rad(math.random(-6,6)), math.rad(math.random(-34,45))),.14) LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.1, -0.8) * angles(math.rad(math.random(30,80)), math.rad(0), math.rad(math.random(70,100))),.2) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.94, 0.1) * CFrame.Angles(math.rad(-34), math.rad(-2), math.rad(math.random(-12,4))), 0.2) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -0.34,-0.4) * CFrame.Angles(math.rad(27), math.rad(-2), math.rad(math.random(-4,12))), 0.2) end cam.CameraType = "Custom" wait(0.22) local con5=Humanoid.Touched:connect(function(hit) if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then comboed = true if attackdebounce == false then attackdebounce = true kDamagefunc(hit,2,3,math.random(0.2,2),"Normal",RootPart,0,1) so("http://roblox.com/asset/?id=542443306",RightArm,2,(math.random(45,155)/100)+0.2) SphereEffect(BrickColor.new("White"),RightArm.CFrame*CFrame.new(0,-1,0)*angles(0,0,0), 66, 66, 66,15,15,15,0.09) MagicRing2(BrickColor.new("White"), cf(RightArm.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 0.4, 0.4, 0.4, 3,3, 0, 0.08) MagicRing2(BrickColor.new("White"), cf(RightArm.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 0.7, 0.7, 0.7, 3, 3, 0, 0.08) coroutine.resume(coroutine.create(function() for i = 0,4.5,0.1 do swait() Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24) end end)) coroutine.resume(coroutine.create(function() while comboed == true and move ~= back do wait() hit.Parent.Head.CFrame = RootPart.CFrame*CFrame.new(0,1,-1) end end)) wait(0.12) attackdebounce = false end end end) wait(0.45) Humanoid.Jump = true so("http://roblox.com/asset/?id=197161452",Torso,1,1) for i = 0,7,0.1 do swait() Head.Velocity = Vector3.new(0,70,0) BlockEffect(BrickColor.new("White"), RightArm.CFrame*cf(0,-1.5,0.2), 36, 36, 36, 4.5, 4.5, 4.5, 0.07) Humanoid.CameraOffset = Vector3.new(0,.7+1*i,0) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, .7+1*i, 0.2) * CFrame.Angles(math.rad(4), math.rad(0+90*i), math.rad(0)), 0.4) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-40),math.rad(0),math.rad(0)),.2) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.2) RW.C0 = clerp(RW.C0, CFrame.new(.9, 0.3, -0.6) * angles(math.rad(135), math.rad(0), math.rad(0)),.2) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-32), math.rad(0), math.rad(0)), 0.8) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -0.47, -0.5) * CFrame.Angles(math.rad(-35), math.rad(0), math.rad(0)), 0.8) end attack = false con5:disconnect() cam.CameraSubject = Humanoid coroutine.resume(coroutine.create(function() if comboed == true then local a = 0 repeat wait() a = a + 0.36 Head.Velocity = vt(0,2.6,0) if a > 11 then comboed = false end until comboed == false end end)) end function spinkick() attack = true local con5=Humanoid.Touched:connect(function(hit) if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then if attackdebounce == false then attackdebounce = true kDamagefunc(hit,3,6,math.random(0.2,2),"Normal",RootPart,.0,1) so("http://roblox.com/asset/?id=542443306",RightLeg,2,(math.random(45,155)/150)+0.2) SphereEffect(BrickColor.new("White"),RightLeg.CFrame*CFrame.new(math.random(-2,2),math.random(-4,4),math.random(-2,2))*angles(0,0,0),9,9,9,12,12,12,0.17) coroutine.resume(coroutine.create(function() for i = 0,1,0.1 do swait() hit.Parent.Head.CFrame = Torso.CFrame * CFrame.new(0,0,-1.4) Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24) end end)) wait(0.1) attackdebounce = false end end end) for i = 0,8,0.1 do swait() so("http://roblox.com/asset/?id=224994031",RightLeg,2,(math.random(45,155)/150)+0.2) Head.Velocity = RootPart.CFrame.lookVector*35 + vt(0,7,0) MagicRing3(BrickColor.new("White"), RightLeg.CFrame * cf(0,-1,-0.5) * angles(0, math.rad(math.random(-360, 360)),math.rad(70)), 0.1/20,0.0002, 0.1/20, 0.53/30, 0, 0.53/30, 0.076,2) MagicRing3(BrickColor.new("White"), RightLeg.CFrame * cf(0,-1,0.5) * angles(0, math.rad(math.random(-360, 360)),math.rad(-70)), 0.1/20,0.0002, 0.1/20, 0.53/30, 0, 0.53/30, 0.076) BlockEffect(BrickColor.new("White"), RightLeg.CFrame*cf(0,-1,0), 16, 16, 16, -1.5, -1.5, -1.5, 0.04) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0-360*i), math.rad(0)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(14),math.rad(0),math.rad(0)),.2) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(20)),.2) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)),.2) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.56, -0.6) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.2) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1,-0.7) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-9+1*i)), 0.2) end attack = false con5:disconnect() end function backflip() attack = true if hitfloor ~= nil then for i = 0,1,0.12 do swait() Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(40),math.rad(0),math.rad(0)),.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.7) * angles(math.rad(50), math.rad(-80), math.rad(-10)),.3) LW.C0 = clerp(LW.C0, CFrame.new(-.7, 0.3, -0.7) * angles(math.rad(50), math.rad(0), math.rad(90)),.3) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.2, -0.5) * CFrame.Angles(math.rad(20), math.rad(-3), math.rad(0)), 0.3) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0.3) * CFrame.Angles(math.rad(-32), math.rad(0), math.rad(4)), 0.3) end end so("http://roblox.com/asset/?id=224994031",RightLeg,2,(math.random(45,155)/150)+0.2) local kf = Instance.new("BodyVelocity") kf.velocity=vt(0,12.5,0) kf.P=18000 kf.maxForce=Vector3.new(math.huge, math.huge, math.huge) kf.Parent=RootPart game:GetService("Debris"):AddItem(kf,0.1) local con5=Humanoid.Touched:connect(function(hit) if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then if attackdebounce == false then attackdebounce = true kDamagefunc(hit,2,4,math.random(0.2,2),"Normal",RootPart,.0,1) so("http://roblox.com/asset/?id=542443306",RightLeg,2,(math.random(45,155)/150)+0.2) so("http://roblox.com/asset/?id=542443306",LeftLeg,2,(math.random(45,155)/150)+0.2) SphereEffect(BrickColor.new("White"),RightLeg.CFrame*CFrame.new(0,-1,0)*angles(0,0,0),9,9,9,12,12,12,0.1) SphereEffect(BrickColor.new("White"),LeftLeg.CFrame*CFrame.new(0,-1,0)*angles(0,0,0),9,9,9,12,12,12,0.1) if hitfloor ~= nil then local udh = Instance.new("BodyVelocity") udh.velocity=vt(0,32.5,0) udh.P=18000 udh.maxForce=Vector3.new(math.huge, math.huge, math.huge) udh.Parent=hit.Parent.Head game:GetService("Debris"):AddItem(udh,0.4) local rlh = it("BodyAngularVelocity") rlh.P=1000 rlh.AngularVelocity = Vector3.new(90,0,0) rlh.MaxTorque = Vector3.new(4000,4000,4000) rlh.Parent=hit.Parent.Head deb:AddItem(rlh,0.4) hit.Parent.Humanoid.PlatformStand = true end coroutine.resume(coroutine.create(function() for i = 0,1,0.1 do swait() Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24) end wait(2) hit.Parent.Humanoid.PlatformStand = false end)) wait(0.27) attackdebounce = false end end end) MagicRing3(BrickColor.new("White"), RightLeg.CFrame * cf(0,-1,-0.5) * angles(0, math.rad(0),math.rad(90)), 0.1/20,0.0002, 0.1/20, 0.53/30, 0, 0.53/30, 0.076) MagicRing3(BrickColor.new("White"), LeftLeg.CFrame * cf(0,-1,-0.5) * angles(0, math.rad(0),math.rad(90)), 0.1/20,0.0002, 0.1/20, 0.53/30, 0, 0.53/30, 0.076) for i = 0,2,0.1 do swait() BlockEffect(BrickColor.new("White"), LeftLeg.CFrame*cf(0,-1,0), 16, 16, 16, -1.5, -1.5, -1.5, 0.04) BlockEffect(BrickColor.new("White"), RightLeg.CFrame*cf(0,-1,0), 16, 16, 16, -1.5, -1.5, -1.5, 0.04) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0+0.6*i, 0) * CFrame.Angles(math.rad(0+180*i), math.rad(0), math.rad(0)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(14),math.rad(0),math.rad(0)),.2) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(20)),.2) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)),.2) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, -0.72) * CFrame.Angles(math.rad(0+60*i), math.rad(0), math.rad(0)), 0.2) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1,-0.72) * CFrame.Angles(math.rad(0+60*i), math.rad(0), math.rad(0)), 0.2) end attack = false con5:disconnect() end function pull() if lasthit ~= nil then attack = true pullused = true combotime = combotime + 8 move = "pulled" cam.CameraSubject = lasthit.Humanoid for i = 0,2,0.12 do swait() Head.Velocity = vt(0,3.6,0) combotime = combotime + .155 BlockEffect(BrickColor.new("White"), RightArm.CFrame*cf(0,-1,0), 16, 16, 16, -1, -1, -1, 0.04) BlockEffect(BrickColor.new("White"), lasthit.Torso.CFrame*cf(0,0,0), 16, 16, 16, 4, 4, 4, 0.04) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.16) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.16) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)),.16) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.16) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.73, -1.0, 0) * CFrame.Angles(math.rad(-25), math.rad(-66), math.rad(-25)), 0.16) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.6, -1.0, 0) * CFrame.Angles(math.rad(0), math.rad(-83), math.rad(0)), 0.16) end local bp = it("BodyPosition") bp.P = 23000 bp.D = 600 bp.maxForce = Vector3.new(30000, 30000, 30000) bp.Parent = lasthit.Head game:GetService("Debris"):AddItem(bp, 0.8) for i = 0,2,0.12 do swait() Head.Velocity = vt(0,3.6,0) bp.position = RootPart.CFrame * CFrame.new(0,0.2,-0.8).p combotime = combotime + .155 BlockEffect(BrickColor.new("White"), RightArm.CFrame*cf(0,-1,0), 16, 16, 16, -1, -1, -1, 0.04) BlockEffect(BrickColor.new("White"), lasthit.Torso.CFrame*cf(0,0,0), 16, 16, 16, 4, 4, 4, 0.04) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.22) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),.12) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.4) * angles(math.rad(64), math.rad(0), math.rad(20)),.2) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-30)),.2) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-.5, -.8, -0.2) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)), 0.2) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.7, -0.6) * CFrame.Angles(math.rad(-12), math.rad(0), math.rad(0)), 0.2) end cam.CameraSubject = Humanoid attack = false end end function divekick() attack = true noleg = true local iskicking = false for i = 0,0.6,0.1 do swait() iskicking = true Head.Velocity = vt(0,3.6,0) BlockEffect(BrickColor.new("White"), LeftLeg.CFrame*cf(0,-1,0), 16, 16, 16, -1.5, -1.5, -1.5, 0.04) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -0.7, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(-80)), 0.15) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(10)),.15) RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.2) * angles(math.rad(30), math.rad(0), math.rad(-20)),.15) LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.2) * angles(math.rad(50), math.rad(0), math.rad(35)),.15) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.15, -.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(6)), 0.15) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -0.2,-.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-6)), 0.15) end local con5=Humanoid.Touched:connect(function(hit) if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then if attackdebounce == false then attackdebounce = true iskicking = false local udh2 = Instance.new("BodyVelocity") udh2.velocity=vt(0,62.5,0) udh2.P=18000 udh2.maxForce=Vector3.new(math.huge, math.huge, math.huge) udh2.Parent=hit.Parent.Head game:GetService("Debris"):AddItem(udh2,0.32) kDamagefunc(hit,3,6,math.random(0,0),"Normal",RootPart,.0,1) so("http://roblox.com/asset/?id=542443306",LeftLeg,2,(math.random(45,155)/150)+0.2) SphereEffect(BrickColor.new("White"),LeftLeg.CFrame*CFrame.new(math.random(-2,2),math.random(-4,4),math.random(-2,2))*angles(0,0,0),9,9,9,12,12,12,0.17) local udh = Instance.new("BodyVelocity") udh.velocity=vt(0,62.5,0) udh.P=18000 udh.maxForce=Vector3.new(math.huge, math.huge, math.huge) udh.Parent=Head game:GetService("Debris"):AddItem(udh,0.2) coroutine.resume(coroutine.create(function() for i = 0,1,0.1 do swait() Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0+260*i), math.rad(0), math.rad(0)), 0.6) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(70),math.rad(0),math.rad(0)),.1) RW.C0 = clerp(RW.C0, CFrame.new(.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.1) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1) end end)) wait(0.1) attackdebounce = false end end end) while iskicking == true do swait() if hitfloor ~= nil and hitfloor.Name ~= "Effect" and hitfloor.Name ~= "Head" and hitfloor.Name ~= "RightArm" and hitfloor.Name ~= "Torso" and hitfloor.Name ~= "LeftArm" then iskicking = false end RootPart.Velocity = RootPart.CFrame.lookVector*125 + vt(0,-70,0) BlockEffect(BrickColor.new("White"), LeftLeg.CFrame*cf(0,-1,0), 16, 16, 16, -1.5, -1.5, -1.5, 0.04) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1.2, -0.8) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(-52)), 0.25) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(36),math.rad(0),math.rad(40)),.2) RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.2) * angles(math.rad(50), math.rad(0), math.rad(-40)),.2) LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.2) * angles(math.rad(10), math.rad(0), math.rad(-30)),.2) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1.07, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-6)), 0.2) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -0.1,-.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.2) end attack = false noleg = false con5:disconnect() end function attackones() attack = true for i = 0,1.6,0.1 do swait() HW.C0 = clerp(HW.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-70),math.rad(0),math.rad(0)), 0.1) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0.7) * CFrame.Angles(math.rad(4+4*i), math.rad(30+7*i), math.rad(0)), 0.15) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-6+7*i),math.rad(0),math.rad(0)),.2) RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.6) * angles(math.rad(80+12*i), math.rad(40+6*i), math.rad(-20-4*i)),.22) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.34) * angles(math.rad(-40+5), math.rad(10-3*i), math.rad(-50+6*i)),.16) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.86, 0.06) * CFrame.Angles(math.rad(-23), math.rad(6), math.rad(-14-3*i)), 0.13) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.6, -1, -0.4) * CFrame.Angles(math.rad(-4-4*i), math.rad(-3), math.rad(12+3*i)), 0.12) end so("http://roblox.com/asset/?id=161006212", Hitbox , 1.4, math.random(0.6,1)) con5=Hitbox.Touched:connect(function(hit) if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then if attackdebounce == false then attackdebounce = true kDamagefunc(hit,4,5,math.random(4,8),"Normal",RootPart,.2,1) so("http://roblox.com/asset/?id=896207771",Hitbox,2,1) MagicCircle(BrickColor.new("White"), cf(Hitbox.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 10, 10, 1, -1, -10, 0, 0.08) coroutine.resume(coroutine.create(function() for i = 0,1,0.1 do swait() Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24) end end)) wait(0.16) attackdebounce = false end end end) for i = 0,0.7,0.1 do swait() HW.C0 = clerp(HW.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-146),math.rad(0),math.rad(0)), 0.27) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1.4-0.06*i, -1.2) * CFrame.Angles(math.rad(-4), math.rad(-30-18*i), math.rad(4)), 0.37) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(9),math.rad(0),math.rad(30+18*i)),.33) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(60+12*i)),.26) LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.64) * angles(math.rad(63), math.rad(-10), math.rad(50)),.36) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.06*i, -0.4) * CFrame.Angles(math.rad(19+4*i), math.rad(-6), math.rad(-44)), 0.34) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.4, -1.24-0.06*i, 0.2) * CFrame.Angles(math.rad(-17-6*i), math.rad(-22), math.rad(6)), 0.31) end attack = false con5:Disconnect() end function attacktwos() for i = 0,1.3,0.1 do swait() Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0.7) * CFrame.Angles(math.rad(7), math.rad(-80), math.rad(0)), 0.2) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-14),math.rad(0),math.rad(80)),.1) RW.C0 = clerp(RW.C0, CFrame.new(.8, 0.7, -0.7) * angles(math.rad(120), math.rad(14), math.rad(-60)),.2) LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.7, -0.4) * angles(math.rad(106), math.rad(15), math.rad(30)),.2) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.4, -1.2, -0.2) * CFrame.Angles(math.rad(8), math.rad(-22), math.rad(-34)), 0.3) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.6, -1.2,0.2) * CFrame.Angles(math.rad(-16), math.rad(-6), math.rad(26)), 0.3) HW.C0 = clerp(HW.C0, CFrame.new(0,-1,-0)*CFrame.Angles(math.rad(-80),math.rad(0),math.rad(-60)),0.23) end so("http://roblox.com/asset/?id=161006212", Hitbox , 1.4, math.random(0.6,1)) con5=Hitbox.Touched:connect(function(hit) if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then if attackdebounce == false then attackdebounce = true kDamagefunc(hit,7,8,math.random(8,12),"Knockdown",RootPart,.2,1) so("http://roblox.com/asset/?id=896207771",Hitbox,2,1) SphereEffect(BrickColor.new("White"),Hitbox.CFrame*CFrame.new(0,0,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,-1.4,-34,-.4,0.07) coroutine.resume(coroutine.create(function() for i = 0,1,0.1 do swait() Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.45*1.8,0.45*1.8),math.random(-0.45*1.8,0.45*1.8),math.random(-0.45*1.8,0.45*1.8)),0.29) end end)) wait(0.16) attackdebounce = false end end end) for i = 0,1,0.1 do swait() Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1.3, -0.4) * CFrame.Angles(math.rad(-17), math.rad(20), math.rad(-8)), 0.35) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(24),math.rad(0),math.rad(10)),.25) RW.C0 = clerp(RW.C0, CFrame.new(.3, 0.4, -0.7) * angles(math.rad(30), math.rad(14), math.rad(-60)),.4) LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -0.2) * angles(math.rad(36), math.rad(15), math.rad(-14)),.4) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.7, -0.6) * CFrame.Angles(math.rad(19), math.rad(0), math.rad(0)), 0.45) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.4,0.2) * CFrame.Angles(math.rad(-37), math.rad(0), math.rad(36)), 0.45) HW.C0 = clerp(HW.C0, CFrame.new(0,-1,-0)*CFrame.Angles(math.rad(-124),math.rad(0),math.rad(-10)),0.45) end attack = false con5:Disconnect() end function swequip() attack = true so("http://roblox.com/asset/?id=200633529",Workspace,3,0.84) cam.CameraType = "Scriptable" cam.CameraSubject = Torso for i = 0,12.6,0.1 do swait() BlockEffect(BrickColor.new("White"), RightArm.CFrame*cf(0,-1,0), 26, 26, 26, -1.5, -1.5, -1.5, 0.04) SphereEffect(BrickColor.new("Cyan"),cf(RightArm.Position)*angles(math.random(-360, 360),math.random(-360, 360),math.random(-360, 360)),1,5,1,.05,4,.05,0.03) MagicRing(BrickColor.new("White"), cf(RightArm.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 3, 3, 1, -0.2, -0.2, 0, 0.07) MagicCircle(BrickColor.new("White"), cf(RightArm.Position), 0, 0, 0, 1.25, 1.25, 1.25, 0.05) MagicBlock(BrickColor.new("White"), RightArm.CFrame*cf(0,-1,0) * cf(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 1, 1, 1, 1, 1, 1, 0.1, 2) MagicWave(BrickColor.new("White"), RootPart.CFrame*CFrame.new(0,-1,0)*angles(0,math.rad(0-90*i),0) , 26, 8, 26, -2, -0.5, -2, 0.1) cam.CFrame = cam.CFrame:lerp(Torso.CFrame *CFrame.new(12,8.2,-8.2) * angles(math.rad(54),math.rad(142),math.rad(0)),0.2) Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.25*2.8,0.25*2.8),math.random(-0.25*2.8,0.25*2.8),math.random(-0.25*2.8,0.25*2.8)),0.16) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0.7) * CFrame.Angles(math.rad(0), math.rad(30+3.5*i), math.rad(0)), 0.15) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-6+3.5*i),math.rad(0),math.rad(0)),.2) RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.6) * angles(math.rad(80+12*i), math.rad(40+2*i), math.rad(-20-4*i)),.22) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.34) * angles(math.rad(-40+2.5), math.rad(10-1.5*i), math.rad(-50+3*i)),.16) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.86, 0.06) * CFrame.Angles(math.rad(-23), math.rad(6), math.rad(-14)), 0.13) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.6, -1, -0.4) * CFrame.Angles(math.rad(-4), math.rad(-3), math.rad(12)), 0.12) end so("http://roblox.com/asset/?id=197161452",Torso,7,1) cam.CameraSubject = Head local kthu = KSword:GetChildren() for i = 1, #kthu do if kthu[i] ~= Hitbox and kthu[i] ~= trail then kthu[i].Transparency = 0 end end trail.Enabled = true local particleemitter2 = Instance.new("ParticleEmitter",Hitbox) particleemitter2.VelocitySpread = 460 particleemitter2.Lifetime = NumberRange.new(3) particleemitter2.Texture = "http://roblox.com/asset/?id=284205403" particleemitter2.Speed = NumberRange.new(6) particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 0.3)}) particleemitter2.RotSpeed = NumberRange.new(-45, 45) particleemitter2.Rate = 420 particleemitter2.Rotation = NumberRange.new(-45, 45) particleemitter2.Acceleration = Vector3.new(0,-1,0) particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) particleemitter2.LightEmission = 0 particleemitter2.Color = ColorSequence.new(Color3.new(255, 255, 255), Color3.new(255,255,255)) MagicCircle(BrickColor.new("White"), cf(Handle.Position), 40, 40, 40, 1, 1, 1, 0.05) MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 800, 5, 800, 0, 0, 0, 0.05) MagicCircle(BrickColor.new("Cyan"), cf(RootPart.Position), 800, 10, 800, -40, 0, -40, 0.025) MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 800, 10, 800, -42, 1000, -42, 0.05) MagicCircle(BrickColor.new("Cyan"), cf(RootPart.Position), 1000, 10, 1000, -62, 1200, -62, 0.05) MagicBlock(BrickColor.new("White"), cf(RootPart.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1) MagicBlock(BrickColor.new("Cyan"), cf(RootPart.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1) MagicBlock(BrickColor.new("White"), cf(RootPart.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1) MagicCircle(BrickColor.new("Cyan"), cf(RootPart.Position), 800, 2, 800, 150, 2, 150, 0.05) MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 800, 2, 800, 100, 4, 100, 0.05) MagicCircle(BrickColor.new("Cyan"), cf(RootPart.Position), 800, 2, 800, 50, 6, 50, 0.05) MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 0, 0, 0, 100, 100, 100, 0.05) MagicCircle(BrickColor.new("Cyan"), cf(RootPart.Position), 0, 0, 0, 200, 200, 200, 0.05) MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 0, 0, 0, 300, 300, 300, 0.05) MagicCircle(BrickColor.new("Cyan"), cf(RootPart.Position), 0, 0, 0, 400, 400, 400, 0.05) MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 800, 2, 800, 4, 350, 4, 0.005) MagicCircle(BrickColor.new("Cyan"), cf(RootPart.Position), 600, 2, 600, 4, 300, 4, 0.005) MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 400, 2, 400, 4, 250, 4, 0.005) MagicRing3(BrickColor.new("White"), RootPart.CFrame * cf(0,0,0) * angles(0, math.rad(math.random(-360, 360)),math.rad(70)), 0.1/20,0.0002, 0.1/20, 0.53/30, 0, 0.53/30, 0.076,2) MagicRing3(BrickColor.new("White"), RootPart.CFrame * cf(0,0,0) * angles(0, math.rad(math.random(-360, 360)),math.rad(-70)), 0.1/20,0.0002, 0.1/20, 0.53/30, 0, 0.53/30, 0.076) MagicRing2(BrickColor.new("White"), RootPart.CFrame * cf(0,0,0) * euler(math.rad(90), 0,0), 0.4, 0.4, 0.5, 0.53,0.53, 0, 0.08) for i = 0,1.7,0.1 do swait() cam.CFrame = cam.CFrame:lerp(Head.CFrame *CFrame.new(0,32.2,35.2) * angles(math.rad(-54),math.rad(14),math.rad(0)),0.2) HW.C0 = clerp(HW.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-146),math.rad(0),math.rad(0)), 0.27) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1.4-0.06*i, -1.2) * CFrame.Angles(math.rad(-4), math.rad(-30-18*i), math.rad(4)), 0.37) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(9),math.rad(0),math.rad(30+18*i)),.33) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(60+12*i)),.26) LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.64) * angles(math.rad(63), math.rad(-10), math.rad(50)),.36) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.06*i, -0.4) * CFrame.Angles(math.rad(19+4*i), math.rad(-6), math.rad(-44)), 0.34) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.4, -1.24-0.06*i, 0.2) * CFrame.Angles(math.rad(-17-6*i), math.rad(-22), math.rad(6)), 0.31) end particleemitter2.Rate = 0 wait(1.6) particleemitter2.Enabled = false attack = false game:GetService("Debris"):AddItem(particleemmiter2,4.5) cam.CameraType = "Custom" cam.CFrame = cam.CFrame:lerp(Head.CFrame *CFrame.new(0,0,0) * angles(math.rad(0),math.rad(0),math.rad(0)),0.5) cam.CameraSubject = Humanoid end -- KeyDown=function(key) if key == 'e' and attack == false and hitfloor ~= nil and comboed == false then FinalCut() move = "fcut" end if key == 'r' and attack == false and hitfloor == nil then spinkick() move = "spin" end if key == 'f' and attack == false and comboed == true and hitfloor == nil and move ~= "ffinsh" then FinalFinsh() move = "ffinsh" end if key == 'q' and attack == false then backflip() move = "back" end if key == 'h' and attack == false and hitfloor == nil then divekick() move = "divek" end if key == 'g' and attack == false and pullused == false then pull() end if key == 'm' and attack == false then combotime = 0 combohits = 0 end if key == 'p' and attack == false and hassword == false then swequip() hassword = true end if key == 'l' and attack == false and hassword == true then local kthu = KSword:GetChildren() for i = 1, #kthu do if kthu[i] ~= Hitbox and kthu[i] ~= trail then kthu[i].Transparency = 1 end end MagicCircle(BrickColor.new("White"), RightArm.CFrame * cf(0,-1,0), 40, 40, 40, -2, -2, -2, 0.05) trail.Enabled = false hassword = false end end Humanoid.JumpPower = 65 local Doublejump = 1 KeyDown2=function(key) if string.byte(key) == 32 and hitfloor == nil and Doublejump == 1 and attack == false then Doublejump = 0 RootPart.Velocity = RootPart.CFrame.lookVector * 120 + vt(0,40,0) Head.Velocity = vt(0,95,0) + Head.Velocity so("http://roblox.com/asset/?id=1229807117",Torso,3,1) MagicRing2(BrickColor.new("White"), RootPart.CFrame * cf(0,-5,0) * euler(math.rad(90), 0,0), 0.4, 0.4, 0.5, 0.53,0.53, 0, 0.08) coroutine.resume(coroutine.create(function() attack = true for i = 0,4,0.08 do swait() Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0-85*i), math.rad(0+265*i), math.rad(0)), 0.32) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),.1) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-2), math.rad(-3)), 0.1) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1,0) * CFrame.Angles(math.rad(0), math.rad(-2), math.rad(3)), 0.1) end attack = false end)) end if string.byte(key) == 32 and hitfloor == nil and Doublejump == 0 and attack == false then attack = true so("http://roblox.com/asset/?id=336105519",Torso,3,1) MagicRing2(BrickColor.new("White"), RootPart.CFrame * cf(0,0,-8) * euler(0, 0,0), 0.4, 0.4, 0.5, 0.53,0.53, 0, 0.08) for i = 0,0.8,0.064 do swait() cam.FieldOfView = lerp(cam.FieldOfView, 90, 0.2) Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,6),0.24) RootPart.Velocity = RootPart.CFrame.lookVector * 75 SphereEffect(BrickColor.new("White"),RootPart.CFrame*angles(math.random(-450,450),math.random(-450,450),math.random(-450,450)),6,10,6,-2.2,-2,-2.2,0.03) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, -6) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.4) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(0)),.4) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)),.4) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.4) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, -0.4) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.8) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -0.7, -0.7) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.8) end attack = false end end coroutine.resume(coroutine.create(function() local remote = Instance.new 'RemoteFunction'; remote.Parent = Character; remote.OnServerInvoke = function (player, request, fati ,...) if (player ~= Player) then return error ('You cannot invoke this remote', 0); end; if (request == 1) then local k = fati; KeyDown(k) KeyDown2(k) end; if (request == 2) then local k = fati; --KeyUp(k) end; if (request == 3) then local k = fati; if k == "Down" then Button1Down(k) elseif k == "Up" then --MouseUp(k) end end; if (request == 4) then local k=fati; MTARGET=k end if (request == 5) then local k=fati; MHIT=k end --[ --]] end; remote.Name = 'ServerRemote'; local remote = NLS ([[ Player = nil Player = owner Character = Player.Character remote=Player.Character:WaitForChild 'ServerRemote'; local mouse = Player:GetMouse(); plr=Player local mouse = Player:GetMouse(); mouse.Move:connect(function() remote:InvokeServer (4, mouse.Target); remote:InvokeServer (5, mouse.hit); end) mouse.Button1Down:connect(function() remote:InvokeServer (3, "Down"); end) mouse.Button1Up:connect(function() remote:InvokeServer (3, "Up"); end) mouse.KeyDown:connect(function(k) k = k:lower() remote:InvokeServer (1, k); end) mouse.KeyUp:connect(function(k) k = k:lower() remote:InvokeServer (2, k); end) ]], Player.Character) end)) Humanoid.WalkSpeed = 35 local blinking = false while true do swait() sine = sine + change --speed = speed + music.PlaybackLoudness/90 local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude local velderp=RootPart.Velocity.y hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) local TiltVelocity = CFrame.new(RootPart.CFrame:vectorToObjectSpace(RootPart.Velocity)) if attack==true or attack==false then if attack==false then idle=idle+1 else idle=0 end if idle>=500 then if attack==false then end end if Doublejump == 0 and hitfloor ~= nil and hitfloor.Name ~= "Effect" then Doublejump = 1 end cam.FieldOfView = lerp(cam.FieldOfView, 70, 0.076) if math.sin(sine/80) < -0.5 and blinking == false then blink() blinking = true elseif math.sin(sine/80) > -0.5 then blinking = false end if hitfloor == nil and comboing == true then comboed = true end if hitfloor ~= nil and hitfloor.Name ~= "Effect" and hitfloor.Name ~= "Head" and hitfloor.Name ~= "RightArm" and hitfloor.Name ~= "Torso" and hitfloor.Name ~= "LeftArm" then comboed = false end if combotime < 9 then comboed = false end if combotime <0.2 and attack == false then lasthit = nil end if RootPart.Velocity.y > 1 and hitfloor==nil then Anim="Jump" if attack==false then change = 1 look = 0 Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(4), math.rad(0), math.rad(0)), 0.07) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10+2.05*math.cos(sine/5)),math.rad(0),math.rad(0)),0.07) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20+2.05*math.cos(sine/5)), math.rad(-10), math.rad(50-2.05*math.cos(sine/5))), 0.07) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20+2.05*math.cos(sine/5)), math.rad(-10), math.rad(-50+2.05*math.cos(sine/5))), 0.07) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, -0.6) * CFrame.Angles(math.rad(-25+3.05*math.cos(sine/5)), math.rad(-3), math.rad(0)), 0.1) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.47, -0.7) * CFrame.Angles(math.rad(-12+3.05*math.cos(sine/5)), math.rad(0), math.rad(0)), 0.1) end elseif RootPart.Velocity.y < -1 and hitfloor==nil then Anim="Fall" change = 1 if attack==false and hassword == false then Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(7+4*math.sin(sine/1.3)), math.rad(0), math.rad(0)),0.07) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(140+12*math.cos(sine/1.3))), 0.07) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(-140+12*math.cos(sine/1.3))), 0.07) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(40+7*math.sin(sine/1.3)),math.rad(0),math.rad(0)),0.07) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.17*math.cos(sine/1.3), -0.13) * CFrame.Angles(math.rad(18+7*math.cos(sine/1.3)), math.rad(3), math.rad(0)), 0.1) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.37+0.17*math.cos(sine/1.3), -0.2) * CFrame.Angles(math.rad(32+7*math.cos(sine/1.3)), math.rad(0), math.rad(0)), 0.1) else if attack==false and hassword == true then Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15) HW.C0 = clerp(HW.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)), 0.1) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(7+4*math.sin(sine/1.3)), math.rad(0), math.rad(0)),0.07) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(60+12*math.cos(sine/1.3))), 0.07) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(-140+12*math.cos(sine/1.3))), 0.07) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(40+7*math.sin(sine/1.3)),math.rad(0),math.rad(0)),0.07) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.17*math.cos(sine/1.3), -0.13) * CFrame.Angles(math.rad(18+7*math.cos(sine/1.3)), math.rad(3), math.rad(0)), 0.1) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.37+0.17*math.cos(sine/1.3), -0.2) * CFrame.Angles(math.rad(32+7*math.cos(sine/1.3)), math.rad(0), math.rad(0)), 0.1) end end elseif torvel<1 and hitfloor~=nil then Anim="Idle" change = 1 if attack==false and equip == false and hassword == false then Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0-0.03*math.cos(sine/40)+0.03, -1-0.04*math.sin(sine/10), -0) * CFrame.Angles(math.rad(0), math.rad(-46+2*math.cos(sine/40)), math.rad(0)), 0.15) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10+2.6*math.sin(sine/20)),math.rad(0),math.rad(46-4*math.cos(sine/40))),0.15) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.55+0.04*math.sin(sine/20), 0) * angles(math.rad(-22+1.3*math.cos(sine/20)), math.rad(0+4*math.sin(sine/20)), math.rad(22.3+2.2*math.cos(sine/20))),0.15) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.55+0.04*math.sin(sine/20), 0-0.04*math.cos(sine/20)) * angles(math.rad(8+1.3*math.cos(sine/40)), math.rad(0-4*math.sin(sine/20)), math.rad(-16.3-2.2*math.cos(sine/20))),0.15) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5+0.06*math.cos(sine/40), -1+0.04*math.sin(sine/10), 0) * CFrame.Angles(math.rad(0), math.rad(2-4*math.cos(sine/40)), math.rad(-3-1.5*math.cos(sine/40))),0.15) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5+0.06*math.cos(sine/40), -1+0.04*math.sin(sine/10), 0) * CFrame.Angles(math.rad(0*math.cos(sine/40)), math.rad(-2-4*math.cos(sine/40)), math.rad(3-1.5*math.cos(sine/40))),0.15) else if attack == false and equip == false and hassword == true then Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15) HW.C0 = clerp(HW.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)), 0.1) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0+0.07*math.cos(sine/60), -1-0.10*math.cos(sine/40), -0) * CFrame.Angles(math.rad(-7-3*math.cos(sine/40)), math.rad(-10), math.rad(0)), 0.1) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(4+3*math.sin(sine/40)),math.rad(0),math.rad(10)),0.1) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.63+0.07*math.sin(sine/40), 0.22) * angles(math.rad(-15+2*math.cos(sine/40)), math.rad(0+4*math.sin(sine/40)), math.rad(34-3.2*math.cos(sine/40))),0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.07*math.sin(sine/40), -0.2) * angles(math.rad(13+2*math.cos(sine/40)), math.rad(0-4*math.sin(sine/40)), math.rad(-10-3.2*math.cos(sine/40))),0.1) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.54-0.07*math.cos(sine/60), -1+0.10*math.cos(sine/40), -0.134) * CFrame.Angles(math.rad(6+3*math.cos(sine/40)), math.rad(7), math.rad(-6)), 0.1) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.53-0.07*math.cos(sine/60), -1.1+0.10*math.cos(sine/40), 0.06) * CFrame.Angles(math.rad(-17+3*math.cos(sine/40)), math.rad(13), math.rad(8)), 0.1) end end elseif torvel>=1.1 and hitfloor~=nil then Anim="Run" change = 0.84+ Character.Humanoid.WalkSpeed/112 if attack==false and equip == false and hassword == false then Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.42*math.cos(sine/2.5), -.8) * angles(math.rad(-26), math.rad(0), math.rad(0)+ RootPart.RotVelocity.Y / 26), .1) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-12+20*math.sin(sine/2.5)),math.rad(0),math.rad(0+5*math.sin(sine/5)) + RootPart.RotVelocity.Y / 13),.1) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0-0.34*math.cos(sine/5)) * angles(math.rad(10+57*math.cos(sine/5))+ RootPart.RotVelocity.Y / -34, math.rad(0+43*math.cos(sine/5)), math.rad(5)- RootPart.RotVelocity.Y / 34),.25) LW.C0=clerp(LW.C0,cf(-.6,0.82,-0.94-0.04*math.sin(sine/5))*angles(math.rad(70+3*math.sin(sine/5))+ RootPart.RotVelocity.Y / 34,math.rad(0),math.rad(85+5*math.sin(sine/5))+ RootPart.RotVelocity.Y / -34),.15) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.24*math.cos(sine/5), 0.+0.24*math.cos(sine/5)) * CFrame.Angles(math.rad(-5-75*math.sin(sine/5)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)+ RootPart.RotVelocity.Y / -54), 0.6) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.24*math.cos(sine/5),0.-0.24*math.cos(sine/5)) * CFrame.Angles(math.rad(-5+75*math.sin(sine/5)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)- RootPart.RotVelocity.Y / 54), 0.6) else if attack==false and equip == false and hassword == true then Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02) HW.C0 = clerp(HW.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-50)+ RootPart.RotVelocity.Y / 26,math.rad(0),math.rad(-60)+ RootPart.RotVelocity.Y / 26), 0.1) Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.5*math.cos(sine/2.5), -.8) * angles(math.rad(-26+4*math.cos(sine/5)), math.rad(0+16*math.sin(sine/5)), math.rad(0+4*math.cos(sine/5))+ RootPart.RotVelocity.Y / 26), .1) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-12+20*math.sin(sine/2.5)),math.rad(0),math.rad(0+5*math.sin(sine/5)) + RootPart.RotVelocity.Y / 13),.1) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0+0.04*math.sin(sine/5)) * angles(math.rad(-55-3*math.sin(sine/5))+ RootPart.RotVelocity.Y / -34, math.rad(0), math.rad(36+6*math.sin(sine/5))- RootPart.RotVelocity.Y / 34),.15) LW.C0=clerp(LW.C0,cf(-1.5,0.5,0+0.34*math.cos(sine/5))*angles(math.rad(10-57*math.cos(sine/5))+ RootPart.RotVelocity.Y / 34,math.rad(0+43*math.cos(sine/5)),math.rad(-13)+ RootPart.RotVelocity.Y / -34),.25) LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.64*math.cos(sine/5), 0-0.46*math.cos(sine/5)) * CFrame.Angles(math.rad(0+88*math.sin(sine/5)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)+ RootPart.RotVelocity.Y / -54), 0.3) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1-0.64*math.cos(sine/5),0+0.46*math.cos(sine/5)) * CFrame.Angles(math.rad(0-88*math.sin(sine/5)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)- RootPart.RotVelocity.Y / 54), 0.3) end end --[[ if attack==false then LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.4*math.cos(sine/5.5)/2, 0 *math.sin(sine/6.6)/2) * CFrame.Angles(math.rad(0) + -math.sin(sine/5.5)/1.2, math.rad(0), 0), .8) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.4*math.cos(sine/5.5)/2,0 *-math.sin(sine/6.6)/2) * CFrame.Angles(math.rad(0) + math.sin(sine/5.5)/1.2, math.rad(0), 0), .8) end ]] if attack==true and noleg == false then LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.24*math.cos(sine/5), 0.+0.24*math.cos(sine/5)) * CFrame.Angles(math.rad(0-74*math.sin(sine/5)), math.rad(0), math.rad(0)), 0.3) RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.24*math.cos(sine/5),0.-0.24*math.cos(sine/5)) * CFrame.Angles(math.rad(0+74*math.sin(sine/5)), math.rad(0), math.rad(0)), 0.3) end end end if 0 < #Effects then for e = 1, #Effects do if Effects[e] ~= nil then local Thing = Effects[e] if Thing ~= nil then local Part = Thing[1] local Mode = Thing[2] local Delay = Thing[3] local IncX = Thing[4] local IncY = Thing[5] local IncZ = Thing[6] if Thing[2] == "CylinderClang" then if Thing[3] <= 1 then Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) Thing[7] = Thing[1].CFrame effect("New Yeller", 0, Thing[8], Thing[7]) Thing[8] = Thing[7] Thing[3] = Thing[3] + Thing[4] else Part.Parent = nil table.remove(Effects, e) end end if Thing[2] == "showDamage" then if Thing[6] < Thing[5] then Thing[6] = Thing[6] + 1 else if Thing[6] < Thing[7] then Thing[4].position = Thing[4].position + vt(0, -0.2, 0) Thing[6] = Thing[6] + 1 else if Thing[6] < Thing[8] then Thing[6] = Thing[6] + 1 else if Thing[6] < Thing[9] then Thing[6] = Thing[6] + 1 Thing[4].position = Thing[4].position + vt(0, 0.2, 0) Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1 Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1 else Thing[1].Parent = nil table.remove(Effects, e) end end end end end if Thing[2] == "PartiEmi" then Thing[3] = Thing[3] - 1 if Thing[3] <= 0 then Thing[1].Enabled = false table.remove(Effects, e) end end if Thing[2] == "AdjuEff" then if 0 < Thing[3] then Thing[3] = Thing[3] - 1 Thing[1].Size = Thing[1].Size + UDim2.new(0.2, 0, 0.2, 0) Thing[1].StudsOffset = Thing[1].StudsOffset + vt(0, -0.2, 0) Thing[4].ImageTransparency = Thing[4].ImageTransparency + 0.1 else Thing[1].Parent = nil table.remove(Effects, e) end end if Thing[2] ~= "Shoot" and Thing[2] ~= "DecreaseStat" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" and Thing[2] ~= "showDamage" and Thing[2] ~= "PartiEmi" and Thing[2] ~= "AdjuEff" then if Thing[1].Transparency <= 1 then if Thing[2] == "Block1" then Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) Mesh = Thing[7] Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Block2" then Thing[1].CFrame = Thing[1].CFrame Mesh = Thing[7] Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Block3" then Thing[9] = Thing[9] + 0.5 Thing[1].CFrame = Thing[8] * cf(0, Thing[9], 0) Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) Mesh = Thing[7] Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Skull" then Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8] / 2, -Thing[8]) Mesh = Thing[7] Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Cylinder" then Mesh = Thing[7] Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Cylinder2" then Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0) Mesh = Thing[7] Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Blood" then Mesh = Thing[7] Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0) Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Elec" then Mesh = Thing[10] Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Disappear" then Thing[1].Transparency = Thing[1].Transparency + Thing[3] end end end end end end end end end else Part.Parent = nil table.remove(Effects, e) end end end end end end end