Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------
- --/ \--
- -- Script By: 123jl123 --
- --\ /--
- ---------------------------
- local lastid= "http://www.roblox.com/asset/?id=1525123663"
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- Player = game:GetService("Players").LocalPlayer
- local MHIT=Vector3.new()
- local MTARGET=nil
- local CamCoord = Vector3.new()
- 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
- Cam = workspace.CurrentCamera
- Shadow = false
- Humanoid = Character.Humanoid
- CanDoubleJump = false
- Jumped=false
- Canholdtime = 5
- LostGrip = false
- for _,v in pairs(Character:children()) do
- if v:IsA("BasePart") then
- v.Material = "Fabric"
- end
- end
- local mouse = Player:GetMouse()
- Combo = 0
- ComboDur = 0
- local effectmodel = Instance.new("Model",Character)
- effectmodel.Name = "Effects"
- torvel = 0
- local CurId = 1
- function makeGiant(Character, S)
- local HR = Character:findFirstChild("HumanoidRootPart")
- local welds, hats = {}, {}
- local torso = Character:findFirstChild("Torso")
- local pos = torso.Position
- local ssss = torso.Size.Y
- for _,v in pairs(HR:children()) do
- if v:IsA("Motor6D") or v:IsA("Weld") or v:IsA("Motor") then
- table.insert(welds, {v, v.Part0, v.Part1})
- end
- end
- for _,v in pairs(torso:children()) do
- if v:IsA("Motor6D") or v:IsA("Weld") or v:IsA("Motor") then
- table.insert(welds, {v, v.Part0, v.Part1})
- end
- end
- for _, v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- --v.AttachmentPos = v.AttachmentPos*S
- --v.Handle.Mesh.Scale = v.Handle.Mesh.Scale*S
- v:Destroy()
- elseif v:IsA("BasePart") then
- v.formFactor = "Custom"
- v.Size = v.Size*S
- --v.Transparency = 1
- end
- end
- local anim = Character.Animate
- local animc = anim:clone()
- anim:remove()
- for _,v in pairs(welds) do
- local c1 = v[1].C1
- local c0 = v[1].C0
- local a1, a2, a3 = c1:toEulerAnglesXYZ()
- local b1, b2, b3 = c0:toEulerAnglesXYZ()
- c1 = CFrame.new(c1.p * S) * CFrame.Angles(a1, a2, a3)
- c0 = CFrame.new(c0.p * S) * CFrame.Angles(b1, b2, b3)
- local clon = v[1]:clone()
- v[1]:remove()
- clon.C1 = c1
- clon.C0 = c0
- clon.Part1 = v[3]
- clon.Part0 = v[2]
- clon.Parent = Character.Torso
- if clon.Name == "RootJoint" then
- clon.Parent = Character.HumanoidRootPart
- end
- end
- animc.Parent = Character
- Character:MoveTo(pos+Vector3.new(0,S*(ssss/2),0))
- wait(0.1)
- end
- makeGiant(Player.Character, .7)
- SkinParts = {}
- MaskParts = {}
- SwordParts = {}
- CapeParts = {}
- ShadowParticle = {}
- Healing = false
- CanDash = true
- HClip = true
- LeftArm = Character["Left Arm"]
- LeftLeg = Character["Left Leg"]
- RightArm = Character["Right Arm"]
- RightLeg = Character["Right Leg"]
- ch = Character
- RootPart = Character.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- local Anim="Idle"
- local inAir = false
- local inAir2 = false
- local attack = false
- it=Instance.new
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- local cn = CFrame.new
- mr=math.rad
- local sprintmode=false
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local Anim="Idle"
- local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint")
- local Neck = Character.Torso:FindFirstChild("Neck")
- function weld(parent,part0,part1,c0)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- return weld
- end
- local s2=Instance.new("Sound",Torso)
- local Tuanting = false
- local HClip = true
- s2.EmitterSize = 40
- local s2c=s2:Clone()
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- local sine = 0
- local change = 1
- local LCape = Instance.new("Part")
- LCape.Parent = Character
- LCape.Size = Vector3.new(0.05, 0.05, 0.05)
- LCape.Transparency = 1
- LCape.BrickColor = BrickColor.new("Really black")
- LCape.Material = "SmoothPlastic"
- LCape.CanCollide = false
- LCape.Archivable = false
- local RCape = Instance.new("Part")
- RCape.Parent = Character
- RCape.Size = Vector3.new(0.05, 0.05, 0.05)
- RCape.Transparency = 1
- RCape.BrickColor = BrickColor.new("Really black")
- RCape.Material = "SmoothPlastic"
- RCape.CanCollide = false
- RCape.Archivable = false
- function stopAnimations()
- coroutine.resume(coroutine.create(function()
- Character.Animate:Destroy()
- end))
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(Humanoid:GetPlayingAnimationTracks()) do
- v:Stop()
- end
- end))
- end
- stopAnimations()
- function Acthing(Part00,Mid,MScale,MBC,MMT,WCF,MCL,Par,mode)
- local RoHead = Instance.new("Part")
- RoHead:BreakJoints()
- RoHead.Size = Vector3.new(0.05, 0.05, 0.05)
- RoHead.Transparency = 0
- RoHead.Shape = "Ball"
- RoHead.BrickColor = MBC
- RoHead.Material = MMT
- RoHead.CanCollide = false
- RoHead.CFrame = Part00.CFrame
- RoHead:BreakJoints()
- if Par ~= nil then
- RoHead.Parent = Par
- else
- RoHead.Parent = Character
- end
- local mesh = Instance.new("SpecialMesh",RoHead)
- mesh.MeshId = "rbxassetid://"..Mid
- mesh.Scale = MScale
- local weld2en = Instance.new("Motor6D")
- weld2en.Parent = Part00
- if mode == nil or mode == 1 then
- weld2en.Part0 = Part00
- weld2en.Part1 = RoHead
- elseif mode == 2 then
- weld2en.Part0 = RoHead
- weld2en.Part1 = Part00
- end
- weld2en.C1 = WCF
- if MCL ~= nil then
- RoHead.Color = MCL
- if MCL == Color3.new(1, 1, 1) and Par == nil then
- table.insert(MaskParts,RoHead)
- elseif MCL == Color3.new(27/255, 42/255, 53/255) then
- table.insert(CapeParts,RoHead)
- end
- end
- RoHead.Archivable = false
- end
- coroutine.resume(coroutine.create(function()
- wait(.5)
- Head.face:Destroy()
- end))
- local BC = Character:WaitForChild("Body Colors")
- BC:Destroy()
- wait()
- table.insert(SkinParts,Head)
- table.insert(SkinParts,LeftArm)
- table.insert(SkinParts,LeftLeg)
- table.insert(SkinParts,RightArm)
- table.insert(SkinParts,RightLeg)
- table.insert(SkinParts,Torso)
- --[[
- Acthing(Head,"1174600651",Vector3.new(.04,.04,.04),BrickColor.new("Really black"),"Fabric",cn(0,0,-.02)*angles(math.rad(90), math.rad(0), math.rad(-180)),Color3.new(1, 1, 1))
- Acthing(Head,"1174600651",Vector3.new(.04,.04,.01),BrickColor.new("Really black"),"Fabric",cn(0,0,.08)*angles(math.rad(90), math.rad(180), math.rad(0)),Color3.new(1, 1, 1))
- --]]
- Acthing(Head,"1698327723",Vector3.new(1.01,1.02,1.01),BrickColor.new("Really black"),"SmoothPlastic",cn(0,-.0325,0)*angles(math.rad(0), math.rad(180), math.rad(0)),Color3.new(1, 1, 1))
- Acthing(Head,"15934744",Vector3.new(1.11,2.12,1.01),BrickColor.new("Really black"),"SmoothPlastic",cn(0,-0.6325,.1)*angles(math.rad(0), math.rad(0), math.rad(0)),Color3.new(1, 1, 1))
- -----------------
- Acthing(Torso,"0",Vector3.new(0.78,1.12,0.26),BrickColor.new("Really black"),"Fabric",cn(0,-0.1,-.43)*angles(math.rad(0), math.rad(0), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
- Acthing(Torso,"0",Vector3.new(0.7/2.6,1.0,0.21),BrickColor.new("Really black"),"Fabric",cn(-.2,-0.1,-.43*1.5)*angles(math.rad(-10), math.rad(90), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
- Acthing(Torso,"0",Vector3.new(0.7/2.6,1.0,0.21),BrickColor.new("Really black"),"Fabric",cn(.2,-0.1,-.43*1.5)*angles(math.rad(-10), math.rad(-90), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
- -----------------
- -- RCape
- -- LCape
- Acthing(RCape,"0",Vector3.new(0.7/2,0.9,0.51),BrickColor.new("Really black"),"Fabric",cn(0,-0.0,-.40*.5)*angles(math.rad(-15), math.rad(45), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
- Acthing(RCape,"0",Vector3.new(0.7/2.5,0.9,0.25),BrickColor.new("Really black"),"Fabric",cn(.15,-0.0,-.43*.9)*angles(math.rad(-15), math.rad(135), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
- Acthing(RCape,"0",Vector3.new(0.7/2,0.5,0.31),BrickColor.new("Really black"),"Fabric",cn(.1,0.5,-.40*.4)*angles(math.rad(-15), math.rad(90), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
- Acthing(RCape,"0",Vector3.new(0.7/1.5,0.9,0.15),BrickColor.new("Really black"),"Fabric",cn(.35,-0.05,-.43*.8)*angles(math.rad(-15), math.rad(135), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
- -----------------
- Acthing(LCape,"0",Vector3.new(0.7/2,0.9,0.51),BrickColor.new("Really black"),"Fabric",cn(0,-0.0,-.40*.5)*angles(math.rad(-15), math.rad(-45), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
- Acthing(LCape,"0",Vector3.new(0.7/2.5,0.9,0.25),BrickColor.new("Really black"),"Fabric",cn(-.15,-0.0,-.43*.9)*angles(math.rad(-15), math.rad(-135), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
- Acthing(LCape,"0",Vector3.new(0.7/2,0.5,0.31),BrickColor.new("Really black"),"Fabric",cn(-.1,0.5,-.40*.4)*angles(math.rad(-15), math.rad(-90), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
- Acthing(LCape,"0",Vector3.new(0.7/1.5,0.9,0.15),BrickColor.new("Really black"),"Fabric",cn(-.35,-0.05,-.43*.8)*angles(math.rad(-15), math.rad(-135), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
- -----------------
- --so("135436302", Handle,3, .9)
- local Eyes = Instance.new("Part")
- Eyes.Size = Vector3.new(0.1, 0.1, 0.1)
- Eyes.Transparency = 0
- Eyes.Shape = "Ball"
- Eyes.Material = "Neon"
- Eyes.CanCollide = false
- Eyes.Name = "Neon"
- Eyes.CFrame = Head.CFrame
- Eyes:BreakJoints()
- Eyes.Parent = Character
- local mesh = Instance.new("SpecialMesh",Eyes)
- mesh.MeshType = "Sphere"
- mesh.Scale = Vector3.new(10.4,10,5.2)*.9
- local weld2en = Instance.new("Weld")
- weld2en.Parent = Character.Head
- weld2en.Part0 = Character.Head
- weld2en.Part1 = Eyes
- weld2en.C1 = cn(0,-.0325,.35)
- Eyes.Color = Color3.new(0, 0, 0)
- Eyes.Archivable = false
- local Handle = Instance.new("Part")
- Handle.Size = Vector3.new(0.1, 0.1, 0.1)
- Handle.Transparency = 0
- Handle.Shape = "Ball"
- Handle.Material = "SmoothPlastic"
- Handle.CanCollide = false
- Handle.Name = "Handle"
- Handle.CFrame = Torso.CFrame
- Handle:BreakJoints()
- Handle.Parent = Character
- local Hmesh = Instance.new("SpecialMesh",Handle)
- Hmesh.MeshType = "Sphere"
- Hmesh.Scale = Vector3.new(2,8,2)
- Handle.Color = Color3.new(.5, .5, .5)
- Handle.Archivable = false
- local HW=weld(Torso,Torso,Handle,cf(.8,.8,.45)*angles(math.rad(0),math.rad(0),math.rad(135)))
- local HandleBlade = Instance.new("Part")
- HandleBlade.Size = Vector3.new(0.1, 0.1, 0.1)
- HandleBlade.Transparency = 0
- HandleBlade.Shape = "Ball"
- HandleBlade.Material = "SmoothPlastic"
- HandleBlade.CanCollide = false
- HandleBlade.Name = "Blade"
- HandleBlade.CFrame = Handle.CFrame
- HandleBlade:BreakJoints()
- HandleBlade.Parent = Character
- local HBmesh = Instance.new("SpecialMesh",HandleBlade)
- HBmesh.MeshType = "Sphere"
- HBmesh.Scale = Vector3.new(.01,.05,.01)
- HBmesh.MeshId = "rbxassetid://703458158"
- HandleBlade.Color = Color3.new(.5, .5, .5)
- HandleBlade.Archivable = false
- local HBW=weld(Handle,Handle,HandleBlade,cf(0,1.5,0))
- table.insert(SwordParts,Handle)
- table.insert(SwordParts,HandleBlade)
- local LimbMesh1 = Create("SpecialMesh"){
- Parent = nil,
- --TextureId = "http://www.roblox.com/asset/?id=1374149",
- --MeshId = "http://www.roblox.com/asset/?id=430080097",
- MeshType = "Sphere",
- Scale = vt(.7,.7*1.5,.7),
- Offset = vt(0,.04,0)
- }
- local LimbMesh1_2 = Create("SpecialMesh"){
- Parent = nil,
- --TextureId = "http://www.roblox.com/asset/?id=1374149",
- MeshId = "http://www.roblox.com/asset/?id=430080097",
- MeshType = "Sphere",
- Scale = vt(.35,.7,.35),
- Offset = vt(-.1,.0,-.1)
- }
- local LimbMesh1_3 = Create("SpecialMesh"){
- Parent = nil,
- --TextureId = "http://www.roblox.com/asset/?id=1374149",
- MeshId = "http://www.roblox.com/asset/?id=430080097",
- MeshType = "Sphere",
- Scale = vt(.35,.7,.35),
- Offset = vt(.1,.0,-.1)
- }
- local LimbMesh2 = Create("SpecialMesh"){
- Parent = nil,
- --TextureId = "http://www.roblox.com/asset/?id=1374149",
- MeshId = "http://www.roblox.com/asset/?id=430080097",
- MeshType = "Sphere",
- Scale = vt(.5,.7,.5),
- Offset = vt(0,.04,0)
- }
- local TorsoMesh = Create("SpecialMesh"){
- Parent = Torso,
- --TextureId = "http://www.roblox.com/asset/?id=1374149",
- MeshId = "http://www.roblox.com/asset/?id=430080097",
- Scale = vt(1,.7,.7),
- Offset = vt(0,.13,0)
- }
- LimbMesh1_2:Clone().Parent = RightArm
- LimbMesh1_3:Clone().Parent = LeftArm
- LimbMesh2:Clone().Parent = RightLeg
- LimbMesh2:Clone().Parent = LeftLeg
- RightArm.Material = "SmoothPlastic"
- LeftArm.Material = "SmoothPlastic"
- for i,clothes in pairs(Character:GetChildren()) do
- if clothes.ClassName == "Shirt" or clothes.ClassName == "Pants" or clothes.ClassName == "Accessory" or clothes.ClassName == "Hat" then
- clothes:Destroy()
- end
- end
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- local Ang=Instance.new("Model")
- Ang.Name="Angles"
- Ang.Parent=Character
- local rrx=Instance.new("NumberValue")
- rrx.Name="X"
- rrx.Parent=Ang
- rrx.Value=0
- local rry=Instance.new("NumberValue")
- rry.Name="Y"
- rry.Parent=Ang
- rry.Value=0
- local rrz=Instance.new("NumberValue")
- rrz.Name="Z"
- rrz.Parent=Ang
- rrz.Value=0
- function Glitch1(StartPart,VF1,VF2,VF3,Mode)
- if Mode == nil or Mode == "M1" then
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(StartPart:GetChildren()) do
- if v:isA("BasePart") then
- local GlitchPart = Instance.new("Part",nil)
- GlitchPart.Transparency = v.Transparency +.0
- if v.Name == "Center" or v.Name == "Neon" then
- GlitchPart.Transparency = 1
- end
- local OldTrans = GlitchPart.Transparency
- local CF1 = v.CFrame
- RemoveOutlines(GlitchPart)
- GlitchPart.CanCollide = false
- GlitchPart.Anchored = true
- GlitchPart:BreakJoints()
- GlitchPart.CFrame = v.CFrame
- GlitchPart:BreakJoints()
- GlitchPart.Size = v.Size
- GlitchPart:BreakJoints()
- GlitchPart.Color = Color3.new(0, 0, 0)
- RemoveOutlines(GlitchPart)
- --GlitchPart.Material = v.Material
- GlitchPart.Material = "Neon"
- for _,v2 in pairs(v:GetChildren()) do
- if v2:isA("SpecialMesh") then
- v2:Clone().Parent=GlitchPart
- end
- end
- local LifeTime = math.random(300,300)
- LifeTime=LifeTime/100
- coroutine.resume(coroutine.create(function()
- for T = OldTrans,2,.01 do swait()
- GlitchPart.Transparency = OldTrans +T
- end
- end))
- coroutine.resume(coroutine.create(function()
- local loopnum1 = 0
- local loopnum2 = VF2
- local loopnum3 = VF3
- wait()
- GlitchPart.Parent = workspace
- while GlitchPart.Parent ~= nil do swait()
- -- loopnum2
- -- loopnum3
- -- coroutine.resume(coroutine.create(function()
- GlitchPart.CFrame = GlitchPart.CFrame+Vector3.new(VF1*loopnum1,VF2*loopnum1,VF3*loopnum1)
- loopnum1 = loopnum1 + .01
- --end))
- end
- end))
- game:GetService("Debris"):AddItem(GlitchPart, LifeTime)
- end
- Glitch1(v,VF1,VF2,VF3)
- end
- end))
- elseif Mode == "M2" then
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(StartPart:GetChildren()) do
- if v:isA("BasePart") then
- local GlitchPart = Instance.new("Part",nil)
- GlitchPart.Transparency = 0
- if v.Name == "Center" or v.Name == "Neon" or v.Name == "HumanoidRootPart" then
- GlitchPart.Transparency = 1
- end
- local OldTrans = GlitchPart.Transparency
- local CF1 = v.CFrame
- RemoveOutlines(GlitchPart)
- GlitchPart.CanCollide = false
- GlitchPart.Anchored = true
- GlitchPart:BreakJoints()
- GlitchPart.CFrame = v.CFrame
- GlitchPart:BreakJoints()
- GlitchPart.Size = v.Size
- GlitchPart:BreakJoints()
- GlitchPart.Color = Color3.new(0, 0, 0)
- RemoveOutlines(GlitchPart)
- --GlitchPart.Material = v.Material
- GlitchPart.Material = "Neon"
- for _,v2 in pairs(v:GetChildren()) do
- if v2:isA("SpecialMesh") then
- v2:Clone().Parent=GlitchPart
- end
- end
- local LifeTime = math.random(300,300)
- LifeTime=LifeTime/100
- coroutine.resume(coroutine.create(function()
- for T = OldTrans,2,.01 do swait()
- GlitchPart.Transparency = OldTrans +T
- end
- end))
- coroutine.resume(coroutine.create(function()
- local loopnum1 = 0
- local loopnum2 = VF2
- local loopnum3 = VF3
- wait()
- GlitchPart.Parent = workspace
- while GlitchPart.Parent ~= nil do swait()
- -- loopnum2
- -- loopnum3
- -- coroutine.resume(coroutine.create(function()
- GlitchPart.CFrame = GlitchPart.CFrame+Vector3.new(VF1*loopnum1,VF2*loopnum1,VF3*loopnum1)
- loopnum1 = loopnum1 + .01
- --end))
- end
- end))
- game:GetService("Debris"):AddItem(GlitchPart, LifeTime)
- end
- Glitch1(v,VF1,VF2,VF3,Mode)
- end
- 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
- RemoveOutlines(RightArm)
- RemoveOutlines(LeftArm)
- RemoveOutlines(RightLeg)
- RemoveOutlines(LeftLeg)
- CFuncs = {
- Part = {Create = function(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
- }
- ,
- Mesh = {Create = function(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
- }
- ,
- Mesh = {Create = function(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
- }
- ,
- Weld = {Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
- return Weld
- end
- }
- ,
- Sound = {Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace})
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 6)
- end
- ))
- end
- }
- ,
- ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
- return fp
- end
- }
- }
- local Particle1 = Create("ParticleEmitter"){
- Color = ColorSequence.new(Color3.new (0,0,0), Color3.new (.5, .5, .5)),
- Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.8),NumberSequenceKeypoint.new(.5,.8),NumberSequenceKeypoint.new(1,1)}),
- Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,2)}),
- Texture = "rbxassetid://688705835",
- Lifetime = NumberRange.new(.8),
- Rate = 0,
- VelocitySpread = 50,
- ZOffset = .9,
- Rotation = NumberRange.new(0),
- RotSpeed = NumberRange.new(-200,200),
- Speed = NumberRange.new(5.0),
- LightEmission = 0,
- LockedToPart = false,
- Acceleration = Vector3.new(0, -10, 0),
- EmissionDirection = "Top",
- Drag = 2,
- Enabled = false
- }
- local Particle1_2 = Create("ParticleEmitter"){
- Color = ColorSequence.new(Color3.new (0,0,0), Color3.new (.5, .5, .5)),
- Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.8),NumberSequenceKeypoint.new(.5,.8),NumberSequenceKeypoint.new(1,1)}),
- Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,2)}),
- Texture = "rbxassetid://688705835",
- Lifetime = NumberRange.new(.8),
- Rate = 0,
- VelocitySpread = 50,
- ZOffset = .9,
- Rotation = NumberRange.new(0),
- RotSpeed = NumberRange.new(-200,200),
- Speed = NumberRange.new(2.0),
- LightEmission = 0,
- LockedToPart = false,
- Acceleration = Vector3.new(0, -10, 0),
- EmissionDirection = "Bottom",
- Drag = 2,
- Enabled = false
- }
- local Particle2 = Create("ParticleEmitter"){
- Color = ColorSequence.new(Color3.new (0,0,0), Color3.new (0,0,0)),
- Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(.3,0),NumberSequenceKeypoint.new(1,0)}),
- Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.5,.5),NumberSequenceKeypoint.new(1,0)}),
- Texture = "rbxassetid://596872069",
- Lifetime = NumberRange.new(0.3,1.2),
- Rate = 100,
- VelocitySpread = 180,
- ZOffset = -.9,
- Rotation = NumberRange.new(0),
- RotSpeed = NumberRange.new(-200,200),
- Speed = NumberRange.new(3.0),
- LightEmission = 0,
- LockedToPart = false,
- Acceleration = Vector3.new(0, 0, 0),
- EmissionDirection = "Top",
- Drag = 3,
- Enabled = false
- }
- local Particle2_2 = Create("ParticleEmitter"){
- Color = ColorSequence.new(Color3.new (0,0,0), Color3.new (0,0,0)),
- Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(.3,0),NumberSequenceKeypoint.new(1,0)}),
- Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,2),NumberSequenceKeypoint.new(1,0)}),
- Texture = "rbxassetid://596872069",
- Lifetime = NumberRange.new(0.3,1.2),
- Rate = 100,
- VelocitySpread = 180,
- ZOffset = .9,
- Rotation = NumberRange.new(0),
- RotSpeed = NumberRange.new(-200,200),
- Speed = NumberRange.new(3.0),
- LightEmission = 0,
- LockedToPart = false,
- Acceleration = Vector3.new(0, 0, 0),
- EmissionDirection = "Top",
- Drag = 3,
- Enabled = false
- }
- local Particle2_3 = Create("ParticleEmitter"){
- Color = ColorSequence.new(Color3.new (0,0,0), Color3.new (0,0,0)),
- Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(.3,0),NumberSequenceKeypoint.new(1,0)}),
- Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.4),NumberSequenceKeypoint.new(.25,2),NumberSequenceKeypoint.new(1,0)}),
- Texture = "rbxassetid://596872069",
- Lifetime = NumberRange.new(0.1,0.2),
- Rate = 100,
- VelocitySpread = 45,
- ZOffset = .9,
- Rotation = NumberRange.new(0),
- RotSpeed = NumberRange.new(-200,200),
- Speed = NumberRange.new(8.0),
- LightEmission = 0,
- LockedToPart = false,
- Acceleration = Vector3.new(0, 0, 0),
- EmissionDirection = "Front",
- Drag = 0,
- Enabled = false
- }
- local Particle3 = Create("ParticleEmitter"){
- Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (1, 1, 1)),
- Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.5,0),NumberSequenceKeypoint.new(1,1)}),
- Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(.5,.5),NumberSequenceKeypoint.new(1,0)}),
- Texture = "rbxassetid://321556991",
- Lifetime = NumberRange.new(.4),
- Rate = 100,
- VelocitySpread = 2,
- ZOffset = 0,
- Rotation = NumberRange.new(0),
- RotSpeed = NumberRange.new(-600,600),
- Speed = NumberRange.new(20.0),
- LightEmission = 1,
- LockedToPart = true,
- Acceleration = Vector3.new(-10, 50, -2),
- EmissionDirection = "Left",
- Drag = 0,
- Enabled = true
- }
- local Particle3_2 = Create("ParticleEmitter"){
- Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (1, 1, 1)),
- Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.5,0),NumberSequenceKeypoint.new(1,1)}),
- Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(.5,.5),NumberSequenceKeypoint.new(1,0)}),
- Texture = "rbxassetid://321556991",
- Lifetime = NumberRange.new(.4),
- Rate = 100,
- VelocitySpread = 2,
- ZOffset = 0,
- Rotation = NumberRange.new(0),
- RotSpeed = NumberRange.new(-600,600),
- Speed = NumberRange.new(20.0),
- LightEmission = 1,
- LockedToPart = true,
- Acceleration = Vector3.new(10, 50, -2),
- EmissionDirection = "Right",
- Drag = 0,
- Enabled = true
- }
- local Particle3_3 = Create("ParticleEmitter"){
- Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (1, 1, 1)),
- Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.5,0),NumberSequenceKeypoint.new(1,1)}),
- Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(.5,.5),NumberSequenceKeypoint.new(1,0)}),
- Texture = "rbxassetid://337301645",
- Lifetime = NumberRange.new(.1,1),
- Rate = 100,
- VelocitySpread = 90,
- ZOffset = 10,
- Rotation = NumberRange.new(0),
- RotSpeed = NumberRange.new(-600,600),
- Speed = NumberRange.new(25.0),
- LightEmission = 1,
- LockedToPart = false,
- Acceleration = Vector3.new(-0, -15, -0),
- EmissionDirection = "Bottom",
- Drag = 4,
- Enabled = false
- }
- so = function(id, par, vol, pit)
- CFuncs.Sound.Create(id, par, vol, pit)
- end
- function ShadowForm()
- Shadow = true
- HClip = false
- for _,v in pairs(Character:children()) do
- if v:IsA("BasePart") then
- v.Color = Color3.new(0, 0, 0)
- end
- end
- for i,v in pairs(SkinParts) do
- coroutine.resume(coroutine.create(function()
- local NewParticle = Particle2:Clone()
- NewParticle.Parent = v
- NewParticle.Enabled = true
- NewParticle.Acceleration = Vector3.new(math.random(-8,8), math.random(-8,8), math.random(-8,8))
- table.insert(ShadowParticle,NewParticle)
- end))
- end
- for i,v in pairs(MaskParts) do
- v.Color = Color3.new(0,0,0)
- end
- for i,v in pairs(SwordParts) do
- v.Color = Color3.new(0,0,0)
- end
- for i,v in pairs(CapeParts) do
- v.Color = Color3.new(0,0,0)
- end
- Eyes.Color = Color3.new(1, 1, 1)
- end
- function NormalForm()
- Shadow = false
- HClip = true
- for _,v in pairs(Character:children()) do
- if v:IsA("BasePart") then
- v.Color = Color3.new(0, 0, 0)
- end
- end
- for i,v in pairs(ShadowParticle ) do
- v.Rate = 0
- game:GetService("Debris"):AddItem(v, 3)
- end
- for i,v in pairs(MaskParts) do
- v.Color = Color3.new(1,1,1)
- end
- for i,v in pairs(SwordParts) do
- v.Color = Color3.new(.5,.5,.5)
- end
- for i,v in pairs(CapeParts) do
- v.Color = Color3.new(27/255, 42/255, 53/255)
- end
- Eyes.Color = Color3.new(0, 0, 0)
- Head.Color = Color3.new(0, 0, 0)
- LeftArm.Color = Color3.new(0, 0, 0)
- LeftLeg.Color= Color3.new(0, 0, 0)
- RightArm.Color = Color3.new(0, 0, 0)
- RightLeg.Color = Color3.new(0, 0, 0)
- Torso.Color = Color3.new(0, 0, 0)
- end
- rayCast = function(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function swait(num)
- if num==0 or num==nil then
- --if Stagger.Value==false or Stun.Value<=100 then
- --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
- script.Heartbeat.Event:wait()
- --end
- else
- for i=0,num do
- --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
- script.Heartbeat.Event:wait()
- --[[if Stagger.Value==true or Stun.Value>=StunT.Value then
- break
- end]]
- end
- end
- end
- script:WaitForChild("Heartbeat")
- frame = 1/60
- tf = 0
- allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame2 or greater.
- tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
- lastframe = tick()
- script.Heartbeat:Fire() --ayy lmao
- game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe=tick()
- else
- ----print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame(math.floor(t/frame))))
- 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 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
- 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
- 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 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
- Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- --local FoundTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
- if h ~= nil and hit.Parent ~= Character and hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({Name = "creator", Value = Player, Parent = h})
- game:GetService("Debris"):AddItem(c, 0.5)
- if HitSound ~= nil and HitPitch ~= nil then
- so(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- else
- h.Health = h.Health - Damage / 2
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- end
- if Type == "Knockdown" then
- local hum = h
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(.2)
- HHumanoid.PlatformStand = false
- end
- ), hum)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 50, maxForce = Vector3.new(80000, 80000, 80000), Parent = hit})
- local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
- game:GetService("Debris"):AddItem(bodvol, 0.2)
- game:GetService("Debris"):AddItem(rl, 0.2)
- elseif Type == "Knockdown2" then
- local hum = h
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- ComboDur = 55
- Combo = 1 swait(.2)
- HHumanoid.PlatformStand = false
- end
- ), hum)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 50, maxForce = Vector3.new(80000, 80000, 80000), Parent = hit})
- local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
- game:GetService("Debris"):AddItem(bodvol, 0.2)
- game:GetService("Debris"):AddItem(rl, 0.2)
- CanDoubleJump=true
- local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
- game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback})
- if knockback > 0 then
- local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
- vp.Parent = HTorso
- end
- game:GetService("Debris"):AddItem(vp, 0.25)
- elseif Type == "Normal2" then
- local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback})
- if knockback > 0 then
- local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
- vp.Parent = HTorso
- coroutine.resume(coroutine.create(function()
- end))
- local SValue = 1.5
- local randomcf = cn(math.random(-1, 1)/7,math.random(-1, 1)/7,0)
- end
- game:GetService("Debris"):AddItem(vp, 0.5)
- elseif Type == "Impale" then
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2)
- hit.Parent.Humanoid.PlatformStand = true
- swait(1)
- hit.Parent.Humanoid.PlatformStand = false
- elseif Type == "Stone" then
- local hashum=false
- local HitModel = nil
- HitModel = hit.Parent
- if hit.Parent:isA("Accessory") or hit.Parent:isA("Hat") then
- HitModel = hit.Parent.Parent
- end
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(HitModel:GetChildren()) do
- if v:isA("Humanoid") then
- hashum=true
- local FoundTorso = HitModel:FindFirstChild("Torso") or HitModel:FindFirstChild("UpperTorso")
- --RootPart.Anchored = true
- so("331666014 ",Handle,.5,1.2)
- so("588706798 ",Handle,1,0.8)
- local ST = Create("Model"){
- Parent = workspace,
- Name = "Statue of "..HitModel.Name
- }
- for _,v2 in pairs(HitModel:GetChildren()) do
- if v2:isA("BasePart") and v2.Name == "HumanoidRootPart" then
- -- v2.Anchored = true
- end
- --v.Parent:BreakJoints()
- if v2:isA("BasePart") and v2.Name ~= "HumanoidRootPart" then
- --w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
- local StonePart = Create("Part"){
- Parent = ST,
- Material = "Concrete",
- Reflectance = 0,
- Transparency = 0,
- Name = v2.Name,
- Size = v2.Size,
- Locked = true,
- CanCollide = true,
- CFrame = v2.CFrame,
- Anchored = true
- }
- for _,v3 in pairs(v2:GetChildren()) do
- if v3:isA("SpecialMesh") then
- v3:Clone().Parent=StonePart
- end
- end
- end
- if v2:isA("Accessory") then
- for _,v4 in pairs(v2:GetChildren()) do
- if v4:isA("BasePart") then
- local StonePart = Create("Part"){
- Parent = ST,
- Material = "Concrete",
- Reflectance = 0,
- Transparency = 0,
- Name = v4.Name,
- Size = v4.Size,
- Locked = true,
- CanCollide = true,
- CFrame = v4.CFrame,
- Anchored = true
- }
- for _,v3 in pairs(v4:GetChildren()) do
- if v3:isA("SpecialMesh") then
- coroutine.resume(coroutine.create(function()
- v3.TextureId = "http://www.roblox.com/asset/?id=1693385655"
- v3.VertexColor = Vector3.new(163/255, 162/255, 165/255)
- end))
- v3:Clone().Parent=StonePart
- end
- end
- end
- end
- end
- end
- local STFoundTorso = ST:FindFirstChild("Torso") or ST:FindFirstChild("UpperTorso")
- for _,v3 in pairs(ST:GetChildren()) do
- local STW=weld(v3,v3,STFoundTorso,STFoundTorso.CFrame:toObjectSpace(v3.CFrame):inverse() )
- v3.Anchored = false
- end
- v.Parent:BreakJoints()
- v.Parent.Parent = nil
- for _,v2 in pairs(game:GetService("Players"):GetChildren()) do
- if v2:isA("Player") then
- if v2.Character == HitModel then
- end
- end
- end
- wait(1)
- end
- end
- end))
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
- local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- game:GetService("Debris"):AddItem(bodyVelocity, .1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze2" then
- local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
- local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end
- ), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, 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, 0.5)
- end
- end
- ShowDamage = function(Pos, Text, Time, Color)
- local Rate = 0.033333333333333
- if not Pos then
- local Pos = Vector3.new(0, 0, 0)
- end
- local Text = Text or ""
- local Time = Time or 2
- if not Color then
- local Color = Color3.new(1, 0, 1)
- end
- local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
- local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
- game.Debris:AddItem(EffectPart, Time + 0.1)
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = Time / Rate
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = Frame / Frames
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end
- )
- end
- MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
- for _,c in pairs(workspace:children()) do
- local hum = c:FindFirstChild("Humanoid")
- for _,v in pairs(c:children()) do
- if v:IsA("Humanoid") then
- hum = v
- end
- end
- if hum ~= nil then
- local head = c:findFirstChild("Head")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "851453784", 1.2)
- end
- end
- end
- end
- end
- local RCW=weld(Torso,Torso,RCape,cf(0,0,0))
- local LCW=weld(Torso,Torso,LCape,cf(0,0,0))
- RCW.C1 = cn(.3, 0.5, 0)
- LCW.C1 = cn(-.3, 0.5, 0)
- -- RCape
- -- LCape
- local RW=weld(Torso,Torso,RightArm,cf(0,0,0))
- local LW=weld(Torso,Torso,LeftArm,cf(0,0,0))
- local RH=weld(Torso,Torso,RightLeg,cf(0,0,0))
- local LH=weld(Torso,Torso,LeftLeg,cf(0,0,0))
- RW.C1 = cn(.3, 0.5, 0)
- LW.C1 = cn(-.3, 0.5, 0)
- RH.C1 = cn(0, .7, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
- LH.C1 = cn(0, .7, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
- s2.SoundId = lastid
- s2:play()
- HitboxFunction = function(Pose,lifetime,siz1,siz2,siz3,Radie,Min,Max,kb,atype)
- local Hitboxpart = Instance.new("Part",effectmodel)
- RemoveOutlines(Hitboxpart)
- Hitboxpart.Size = Vector3.new(siz1,siz2,siz3)
- Hitboxpart.CanCollide = false
- Hitboxpart.Transparency = 1
- Hitboxpart.Anchored = true
- Hitboxpart.CFrame = Pose
- game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
- MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
- end
- function JumpAfterEffect()
- if attack == false then
- attack = true
- if sprintmode == true then
- Humanoid.WalkSpeed= 10
- else
- Humanoid.WalkSpeed= 3
- end
- Humanoid.JumpPower= 0
- coroutine.resume(coroutine.create(function()
- local NewParticle = Particle1:Clone()
- local EffectFloor,PosFloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- local EffectHolder = Instance.new("Part")
- EffectHolder.Parent = Character
- EffectHolder.Size = Vector3.new(0.05, 0.05, 0.05)
- EffectHolder.Transparency = 0
- EffectHolder.Material = "Neon"
- EffectHolder.CanCollide = false
- EffectHolder.CFrame = cn(PosFloor)
- NewParticle.Parent = EffectHolder
- NewParticle:Emit(30)
- so("1161221108", EffectHolder,1, math.random(130,150)/100)
- game:GetService("Debris"):AddItem(EffectHolder, 3)
- end))
- for i = 1,2.4,.1 do
- swait()
- Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15-3 * math.cos(sine / 15)),math.rad(0),math.rad(0)),.1)
- RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .3, -0.3 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.2)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(10 + .5 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.35+ .05 * math.cos(sine / 15), -.1) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.35+ .05 * math.cos(sine / 15), -.1) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2)
- -- RH.C0 = RH.C0:lerp(CFrame.new(.25, 0.45- .02 * math.cos(sine / 8), -.2) * CFrame.Angles(math.rad(22.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(5.5- 0.0 * math.cos(sine / 8))),.1)
- -- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -.45- .02 * math.cos(sine / 8), -.2) * CFrame.Angles(math.rad(-70.5- 0 * math.cos(sine / 8)),math.rad(0),math.rad(-5.5- 0.0 * math.cos(sine / 8))),.15)
- RCW.C0 = clerp(RCW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(-7 + .5 * math.cos(sine / 8))), 0.08)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(7 - .5 * math.cos(sine / 8))), 0.08)
- end
- attack = false
- end
- end
- --------------------------------------------------------------------------------------------------------------------------------------------
- shoottraildd = function(mouse, partt, SpreadAmount,ShootPart)
- local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount/10, SpreadAmount/10), math.random(-SpreadAmount, SpreadAmount))
- local MainPos = partt.Position
- local MainPos2 = mouse + SpreadVectors
- local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
- local speed = 2
- local num = 100
- ShootPart.CFrame=CFrame.new(MainPos)
- local ShootPartVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 0, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = ShootPart})
- coroutine.resume(coroutine.create(function()
- repeat
- ShootPart.Anchored = true
- swait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
- local mag = (MainPos - pos).magnitude
- -- Laser(BrickColor.new("White"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.4, 0, -0.4, .4)
- ShootPart.CFrame=clerp(ShootPart.CFrame,CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0)*angles(math.rad(-90), math.rad(0), math.rad(0)), 1, mag * (speed / (speed / 2)),.4)
- MainPos = MainPos + MouseLook.lookVector * speed
- num = num - 1
- MouseLook = MouseLook * angles(math.rad(-0), 0, 0)
- if hit ~= nil then
- num = 0
- local refpart = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- game:GetService("Debris"):AddItem(refpart, 2)
- end
- do
- if num <= 0 then
- local refpart = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- if hit ~= nil then
- -- MagniDamage(refpart, 10, 30, 45, 0, "Normal")
- -- so("233856079", refpart,1.5, 1.0)
- end
- game:GetService("Debris"):AddItem(refpart, 4)
- coroutine.resume(coroutine.create(function()
- local NParticH = CreatePart(workspace, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- NParticH.Anchored = true
- NParticH.CFrame = ShootPart.CFrame
- game:GetService("Debris"):AddItem(NParticH, 4)
- MagniDamage(refpart, 10, 30, 45, 0, "Normal")
- so("228343349", refpart,1.5, 1.0)
- local NPartic = ShootPart.ParticleEmitter
- NPartic.Speed = NumberRange.new(13.0)
- NPartic.Enabled = false
- NPartic.VelocitySpread = 180
- NPartic.Lifetime = NumberRange.new(0.6,1.2)
- NPartic.Drag = 3
- NPartic.Enabled = false
- ShootPart.ParticleEmitter:Emit(60)
- NPartic.Parent=NParticH
- game:GetService("Debris"):AddItem(ShootPart, 0)
- game:GetService("Debris"):AddItem(NParticH, 4)
- end))
- end
- end
- until num <= 0
- end
- ))
- end
- --------------------------------------------------------------------------------------------------------------------------------------------
- function AT0()
- attack = true
- HW.Part0 = RightArm
- HW.C0 = cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0))
- for i = 0,10,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(10 + .5 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
- end
- HW.Part0 = Torso
- HW.C0 = cf(.8,.8,.45)*angles(math.rad(0),math.rad(0),math.rad(135))
- attack = false
- end
- function AT1()
- attack = true
- HW.Part0 = RightArm
- --HW.C0 = cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0))
- for i = 0,1.0,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(140 - .5 * math.cos(sine / 8)), math.rad(-27), math.rad(40 + .5 * math.cos(sine / 8))), 0.25)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- if Anim == "Walk" then
- RH.C0 = RH.C0:lerp( cf(.25, -0.505 - 0.325 * math.cos(sine / 7) / 2,-0.1+ 0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 - 55 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
- LH.C0 = LH.C0:lerp( cf(-.25, -0.505 + 0.325 * math.cos(sine / 7) / 2,-0.1+ -0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 + 55 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.5, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
- HW.C0 = clerp(HW.C0, cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0)),.2)
- end
- HitboxFunction(RootPart.CFrame * cn(0,0,-2),.1,0.1,.1,.1,4.5,5,10,2,"Normal")
- so("234365573", Handle,2, math.random(10,15)/10)
- for i = 0,1,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(50)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-50)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.5, -.5) * angles(math.rad(20 - .5 * math.cos(sine / 8)), math.rad(30), math.rad(-20 + .5 * math.cos(sine / 8))), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- if Anim == "Walk" then
- RH.C0 = RH.C0:lerp( cf(.25, -0.505 - 0.325 * math.cos(sine / 7) / 2,-0.1+ 0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 - 55 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
- LH.C0 = LH.C0:lerp( cf(-.25, -0.505 + 0.325 * math.cos(sine / 7) / 2,-0.1+ -0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 + 55 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.5, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
- HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(-135),math.rad(0),math.rad(0)),.2)
- end
- ComboDur = 15
- Combo = 1
- ComboDur = 15
- --HW.C0 = cf(.8,.8,.45)*angles(math.rad(0),math.rad(0),math.rad(135))
- attack = false
- end
- function AT2()
- attack = true
- HW.Part0 = RightArm
- --HW.C0 = cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0))
- for i = 0,1.5,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(70)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-70)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.7 , 0.9, -.2) * angles(math.rad(90 - .5 * math.cos(sine / 8)), math.rad(90), math.rad(-40 + .5 * math.cos(sine / 8))), 0.25)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- if Anim == "Walk" then
- RH.C0 = RH.C0:lerp( cf(.25, -0.505 - 0.325 * math.cos(sine / 7) / 2,-0.1+ 0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 - 55 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
- LH.C0 = LH.C0:lerp( cf(-.25, -0.505 + 0.325 * math.cos(sine / 7) / 2,-0.1+ -0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 + 55 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.5, .5) * angles(math.rad(25 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
- HW.C0 = clerp(HW.C0,cf(-.2,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0)),.15)
- end
- HitboxFunction(RootPart.CFrame * cn(0,0,-2),.1,0.1,.1,.1,4.5,8,18,4,"Normal")
- so("234365573", Handle,2, math.random(10,15)/10)
- for i = 0,1,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .2)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.7 , 0.7, .3) * angles(math.rad(80 - .5 * math.cos(sine / 8)), math.rad(-10), math.rad(90 + .5 * math.cos(sine / 8))), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- if Anim == "Walk" then
- RH.C0 = RH.C0:lerp( cf(.25, -0.505 - 0.325 * math.cos(sine / 7) / 2,-0.1+ 0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 - 55 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
- LH.C0 = LH.C0:lerp( cf(-.25, -0.505 + 0.325 * math.cos(sine / 7) / 2,-0.1+ -0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 + 55 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.5, .5) * angles(math.rad(5 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.3)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
- HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(180),math.rad(0),math.rad(0)),.2)
- end
- for i = 0,0.5,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .2)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, .0) * angles(math.rad(0 - .5 * math.cos(sine / 8)), math.rad(-0), math.rad(0 + .5 * math.cos(sine / 8))), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- if Anim == "Walk" then
- RH.C0 = RH.C0:lerp( cf(.25, -0.505 - 0.325 * math.cos(sine / 7) / 2,-0.1+ 0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 - 55 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
- LH.C0 = LH.C0:lerp( cf(-.25, -0.505 + 0.325 * math.cos(sine / 7) / 2,-0.1+ -0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 + 55 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.5, .5) * angles(math.rad(5 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.3)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
- HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(0),math.rad(0),math.rad(135)),.2)
- end
- Combo = 2
- ComboDur = 10
- --HW.Part0 = Torso
- --HW.C0 = cf(.8,.8,.45)*angles(math.rad(0),math.rad(0),math.rad(135))
- attack = false
- end
- function DownAT()
- attack = true
- HW.Part0 = RightArm
- --HW.C0 = cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0))
- local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, -9, 0), P = 5000, maxForce = Vector3.new(0, 8000, 0), Parent = RootPart})
- game:GetService("Debris"):AddItem(bodyVelocity2, 0.25)
- for i = 0,.8,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 16
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(40 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(50)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-50)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(140 - .5 * math.cos(sine / 8)), math.rad(-27), math.rad(40 + .5 * math.cos(sine / 8))), 0.25)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.4, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
- HW.C0 = clerp(HW.C0, cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0)),.2)
- end
- for i = 0,0.8,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 16
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(40 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(50)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-50)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.5, .1) * angles(math.rad(10 - .5 * math.cos(sine / 8)), math.rad(-27), math.rad(-40 + .5 * math.cos(sine / 8))), 0.25)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.4, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(7 - .5 * math.cos(sine / 8))), 0.08)
- HW.C0 = clerp(HW.C0, cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(90)),.2)
- end
- HitboxFunction(RootPart.CFrame * cn(0,-2,-.5),.1,0.1,.1,.1,5,15,25,0,"Knockdown2")
- so("233856146", Handle,2, math.random(7,9)/10)
- for i = 0,0.5,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 16
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(30 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.8, -.2) * angles(math.rad(-20 - .5 * math.cos(sine / 8)), math.rad(30), math.rad(40 + .5 * math.cos(sine / 8))), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.4, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(7 - .5 * math.cos(sine / 8))), 0.08)
- HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(-140),math.rad(0),math.rad(-30)),.2)
- end
- -- local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
- -- game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
- for i = 0,1,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 16
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(30 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.8, -.2) * angles(math.rad(-20 - .5 * math.cos(sine / 8)), math.rad(30), math.rad(40 + .5 * math.cos(sine / 8))), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.4, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(7 - .5 * math.cos(sine / 8))), 0.08)
- HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(-140),math.rad(0),math.rad(-30)),.2)
- end
- if Combo == 0 then
- ComboDur = 15
- Combo = 1
- else
- for i = 0,0.5,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 16
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(30 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.8, -.2) * angles(math.rad(-20 - .5 * math.cos(sine / 8)), math.rad(30), math.rad(40 + .5 * math.cos(sine / 8))), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.4, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(7 - .5 * math.cos(sine / 8))), 0.08)
- HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(-140),math.rad(0),math.rad(-30)),.2)
- end
- for i = 0,1,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 16
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(30 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.8, -.2) * angles(math.rad(30 - .5 * math.cos(sine / 8)), math.rad(30), math.rad(40 + .5 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.4, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(7 - .5 * math.cos(sine / 8))), 0.08)
- HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(-0)),.1)
- end
- end
- --HW.C0 = cf(.8,.8,.45)*angles(math.rad(0),math.rad(0),math.rad(135))
- attack = false
- end
- function ClickCombo()
- if Anim == "Fall" or Anim == "Jump" then
- if Combo == 0 then
- DownAT()
- end
- else
- if Combo == 0 then
- AT1()
- elseif Combo == 1 then
- AT2()
- elseif Combo == 2 then
- AT1()
- end
- end
- end
- Button1Down=function()
- if attack==false then
- ClickCombo()
- end
- end
- --------------------------------------------------------------------------------------------------------------------------------------------
- function DoubleJump()
- attack = true
- CanDoubleJump=false
- for WNR = -1,1,1 do
- coroutine.resume(coroutine.create(function()
- local Wing = CreatePart(Torso, "SmoothPlastic", 0, 1, BrickColor.new("White"), "Effect", Vector3.new(0.1, 0.1, .1))
- game:GetService("Debris"):AddItem(Wing, 2)
- local NewParticle = Particle3:Clone()
- NewParticle.Parent = Wing
- NewParticle.Enabled = true
- local WingW=weld(Wing,Wing,Torso,cf(0,0,0)*angles(math.rad(0),0,math.rad(0)))
- WingW.C0 = cf(2.25,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))
- for i = 0,1,.1 do swait()
- WingW.C0 = clerp(WingW.C0, cf(1.25,-1,-2)*angles(math.rad(0),math.rad(-0),math.rad(45+WNR*20)),.25)
- end
- for i = 0,10,1 do swait()
- WingW.C0 = clerp(WingW.C0, cf(2.25+WNR*1,0,-2+WNR)*angles(math.rad(0),math.rad(25),math.rad(-25+WNR*10)),.25)
- end
- for i = 0,1,.1 do swait()
- NewParticle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.5,i),NumberSequenceKeypoint.new(1,1)})
- end
- end))
- end
- for WNR = 1,-1,-1 do
- coroutine.resume(coroutine.create(function()
- local Wing = CreatePart(Torso, "SmoothPlastic", 0, 1, BrickColor.new("White"), "Effect", Vector3.new(0.1, 0.1, .1))
- game:GetService("Debris"):AddItem(Wing, 2)
- local NewParticle = Particle3_2:Clone()
- NewParticle.Parent = Wing
- NewParticle.Enabled = true
- local WingW=weld(Wing,Wing,Torso,cf(0,0,0)*angles(math.rad(0),0,math.rad(0)))
- WingW.C0 = cf(-2.25,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))
- for i = 0,1,.1 do swait()
- WingW.C0 = clerp(WingW.C0, cf(-1.25,-1,-2)*angles(math.rad(0),math.rad(-0),math.rad(-45+WNR*20)),.25)
- end
- for i = 0,10,1 do swait()
- WingW.C0 = clerp(WingW.C0, cf(-2.25+WNR*1,0,-2-WNR)*angles(math.rad(0),math.rad(-25),math.rad(25+WNR*10)),.25)
- end
- for i = 0,1,.1 do swait()
- NewParticle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.5,i),NumberSequenceKeypoint.new(1,1)})
- end
- end))
- end
- local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 0, 0), P = 5000, maxForce = Vector3.new(8000, 2000, 8000), Parent = RootPart})
- game:GetService("Debris"):AddItem(bodyVelocity2, .1) so("588717600", Torso,1.5, math.random(195,200)/100)
- for i = 0,1,.1 do swait()
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -2.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(25.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(36.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
- RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.75, .20) * angles(math.rad(5 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(35 + 0 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75, .20) * angles(math.rad(5 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-35 - 2 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.05+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.35+ .05 * math.cos(sine / 15), -.3) * CFrame.Angles(math.rad(20 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
- end
- local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 100, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
- game:GetService("Debris"):AddItem(bodyVelocity2, .05)
- so("231917772", Torso,1.5, math.random(95,100)/100)
- local NewParticle = Particle3_3:Clone()
- NewParticle.Parent = RootPart
- NewParticle:Emit(50)
- game:GetService("Debris"):AddItem(NewParticle, 2)
- for i = 0,1,.1 do swait()
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(20.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .20)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .08)
- RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
- end
- attack = false
- end
- function Walljump()
- attack = true
- for i = 0,.5,.1 do swait()
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -2.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(25.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(36.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
- RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.75, .20) * angles(math.rad(5 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(35 + 0 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75, .20) * angles(math.rad(5 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-35 - 2 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.05+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.35+ .05 * math.cos(sine / 15), -.3) * CFrame.Angles(math.rad(20 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
- end
- so("233856140", Torso,1.5,2)
- Torso.Velocity = Vector3.new(0,80,0) + RootPart.CFrame.lookVector*-35
- -- local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0,80,0) + RootPart.CFrame.lookVector*-35, P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
- -- game:GetService("Debris"):AddItem(bodyVelocity2, .05)
- for i = 0,1,.1 do swait()
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(20.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .20)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .08)
- RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
- end
- attack = false
- end
- function Dash()
- if Shadow == false then
- attack = true
- CanDash = false
- RootPart.Anchored = true
- ShadowForm()
- so("233091205", Torso,1.5, math.random(185,190)/100)
- for i,v in pairs(SkinParts) do
- coroutine.resume(coroutine.create(function()
- local NewParticle = Particle2_2:Clone()
- NewParticle.Parent = v
- NewParticle.Acceleration = Vector3.new(math.random(-8,8), math.random(-8,8), math.random(-8,8))
- NewParticle:Emit(10)
- game:GetService("Debris"):AddItem(NewParticle, 2)
- end))
- end
- wait()
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 0
- for i = 0,1,0.1 do
- local Lookray,Lookpos = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 3, Character)
- if Lookray ~= nil and Lookray.CanCollide == true and not Lookray.Parent:FindFirstChildOfClass("Humanoid") and Lookray ~= workspace and not Lookray.Parent.Parent:FindFirstChildOfClass("Humanoid") then
- else
- swait()
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(82 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .3)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-82.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.2)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.2)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.2)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.2)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.2)
- local HMD = RootPart.CFrame.lookVector*10
- local Orsave = RootPart.Orientation
- RootPart.CFrame=clerp(RootPart.CFrame,cn(RootPart.Position ,Vector3.new(CamCoord.p.x,RootPart.Position.y,CamCoord.p.z)) * CFrame.Angles(0,math.rad(180),0)+HMD,.3)
- RootPart.Velocity = Vector3.new(0,0,0)
- end
- end
- local dashhitwall = false
- local Lookray,Lookpos = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 3, Character)
- if Lookray ~= nil and Lookray.CanCollide == true and not Lookray.Parent:FindFirstChildOfClass("Humanoid") and Lookray ~= workspace and not Lookray.Parent.Parent:FindFirstChildOfClass("Humanoid") then
- RootPart.Anchored = false
- RootPart.Velocity = RootPart.CFrame.lookVector*-50
- dashhitwall = true
- else
- RootPart.Anchored = false
- RootPart.Velocity = RootPart.CFrame.lookVector*60
- end
- coroutine.resume(coroutine.create(function()
- if dashhitwall == false then
- wait(.5)
- else
- wait(.25)
- end
- so("231917772", Torso,1.0, 1.0)
- NormalForm()
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- for i,v in pairs(SkinParts) do
- coroutine.resume(coroutine.create(function()
- local NewParticle = Particle2_2:Clone()
- NewParticle.Parent = v
- NewParticle.Acceleration = Vector3.new(math.random(-8,8), math.random(-8,8), math.random(-8,8))
- NewParticle:Emit(15)
- game:GetService("Debris"):AddItem(NewParticle, 5)
- end))
- end
- wait(1)
- CanDash = true
- end))
- end
- attack = false
- end
- function Shade_Soul()
- if Shadow == false then
- attack = true
- RootPart.Anchored = true
- ShadowForm()
- so("228343444", Torso,1.5, math.random(080,090)/100)
- for i,v in pairs(SkinParts) do
- coroutine.resume(coroutine.create(function()
- local NewParticle = Particle2_2:Clone()
- NewParticle.Parent = v
- NewParticle:Emit(5)
- game:GetService("Debris"):AddItem(NewParticle, 2)
- while NewParticle.Parent ~= nil do
- NewParticle.Acceleration = RootPart.CFrame.lookVector*-40
- swait()
- end
- end))
- end
- wait()
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 0
- for i = 0,1,0.1 do
- swait()
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(0)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(90 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(-20 + .5 * math.cos(sine / 8))), 0.15)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(90 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(20 - .5 * math.cos(sine / 8))), 0.15)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
- local HMD = RootPart.CFrame.lookVector*-0
- local Orsave = RootPart.Orientation
- RootPart.CFrame=clerp(RootPart.CFrame,cn(RootPart.Position ,Vector3.new(CamCoord.p.x,RootPart.Position.y,CamCoord.p.z)) * CFrame.Angles(0,math.rad(180),0)+HMD,.5)
- RootPart.Velocity = Vector3.new(0,0,0)
- end
- local NewParticle = Particle2_2:Clone()
- NewParticle.Parent = Torso
- NewParticle.VelocitySpread = 180
- NewParticle.Speed = NumberRange.new(0.0)
- NewParticle:Emit(4)
- NewParticle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.5,0),NumberSequenceKeypoint.new(1,1)})
- NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4),NumberSequenceKeypoint.new(.5,6.5),NumberSequenceKeypoint.new(1,5)})
- NewParticle.Lifetime = NumberRange.new(.6)
- NewParticle.Texture = "rbxassetid://321556991"
- game:GetService("Debris"):AddItem(NewParticle, 2)
- local GhostHolder = Instance.new("Part")
- GhostHolder.Parent = effectmodel
- GhostHolder.Size = Vector3.new(.1, .1, .1)
- GhostHolder.Transparency = 0
- GhostHolder.Material = "Neon"
- GhostHolder.CanCollide = true
- --GhostHolder:BreakJoints()
- GhostHolder.Anchored = true
- Acthing(GhostHolder,"1698327723",Vector3.new(1.41,1.42,1.41),BrickColor.new("Really black"),"Fabric",cn(0,.0325,0)*angles(math.rad(0), math.rad(180), math.rad(0)),Color3.new(0, 0, 0),GhostHolder,2)
- Acthing(GhostHolder,"15934744",Vector3.new(0,0,0),BrickColor.new("Really black"),"Fabric",cn(0,-0.6325,.1)*angles(math.rad(0), math.rad(0), math.rad(0)),Color3.new(0, 0, 0),GhostHolder,1)
- local GhostMesh1 = Create("SpecialMesh"){
- Parent = GhostHolder,
- MeshType = "Sphere",
- Scale = vt(14.4,14,9.2),
- Offset = vt(0,0,0)
- }
- local HBW=weld(Handle,Handle,HandleBlade,cf(0,1.5,0))
- local NewParticle2 = Particle2_3:Clone()
- NewParticle2.Parent = GhostHolder
- NewParticle2.Enabled = true
- NewParticle2.Acceleration = Vector3.new(math.random(-0,0), math.random(-0,0), math.random(-0,0))
- NewParticle2.Rate = 100
- NewParticle2.ZOffset = -1
- shoottraildd(RootPart.Position+RootPart.CFrame.lookVector*10, RootPart, 0,GhostHolder)
- for i = 0,2,0.1 do
- swait()
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, .5, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(-15 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(0)), .25)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(70 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(20 + .5 * math.cos(sine / 8))), 0.25)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(70 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-20 - .5 * math.cos(sine / 8))), 0.25)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(-14.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.25)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(-14.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.25)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
- RootPart.Velocity = Vector3.new(0,0,0)
- end
- RootPart.Anchored = false
- RootPart.Velocity = RootPart.CFrame.lookVector*-0
- coroutine.resume(coroutine.create(function()
- wait(.5)
- so("588718542", Torso,1.0, 1.0)
- NormalForm()
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- for i,v in pairs(SkinParts) do
- coroutine.resume(coroutine.create(function()
- local NewParticle = Particle2_2:Clone()
- NewParticle.Parent = v
- NewParticle.Acceleration = Vector3.new(math.random(-8,8), math.random(-8,8), math.random(-8,8))
- NewParticle:Emit(5)
- game:GetService("Debris"):AddItem(NewParticle, 5)
- while NewParticle.Parent ~= nil do
- --NewParticle.Acceleration = RootPart.CFrame.lookVector*-40
- swait()
- end
- end))
- end
- end))
- attack = false
- end
- end
- --------------------------------------------------------------------------------------------------------------------------------------------
- wallhit = false
- KeyDown=function(key)
- if key == "0" and attack == false and CanDash == true then
- Dash()
- end
- if hitfloor == nil and key == " " and attack == false then
- if wallhit == true then
- Walljump()
- LostGrip = true
- else
- if CanDoubleJump == true then
- DoubleJump()
- end
- end
- end
- if key == "z" and attack == false then
- Shade_Soul()
- end
- if key == "r" and attack == false then
- attack = true
- for i = 0,2,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(0)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(10 + .5 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- RCW.C0 = clerp(RCW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(-6 + .5 * math.cos(sine / 8))), 0.1)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
- end
- while hitfloor ~= nil and torvel < 2 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.30 + 0.0 * math.cos(sine / 8)) * angles(math.rad(-15 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(0)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(-20 - .0 * math.cos(sine / 8)), math.rad(7), math.rad(10 + .5 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(-20 - .0 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -.35- .0 * math.cos(sine / 8), -.0) * CFrame.Angles(math.rad(65.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(5.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -.35- .0 * math.cos(sine / 8), -.0) * CFrame.Angles(math.rad(65.5- 0 * math.cos(sine / 8)),math.rad(0),math.rad(-5.5- 0.0 * math.cos(sine / 8))),.15)
- RCW.C0 = clerp(RCW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(-6 + .5 * math.cos(sine / 8))), 0.1)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
- end
- attack = false
- end
- if key == "m" then
- --[
- if CurId == 6 then
- lastid= "http://www.roblox.com/asset/?id=1525123663"
- s2:play()
- CurId = 1
- elseif CurId == 1 then
- lastid= "http://www.roblox.com/asset/?id=711197488"
- s2:play()
- CurId = 2
- elseif CurId == 2 then
- lastid= "http://www.roblox.com/asset/?id=1056053576"
- s2:play()
- CurId = 3
- elseif CurId == 3 then
- lastid= "http://www.roblox.com/asset/?id=416923620"
- s2:Stop()
- CurId = 4
- elseif CurId == 4 then
- lastid= "http://www.roblox.com/asset/?id=537332038"
- s2:play()
- CurId = 5
- elseif CurId == 5 then
- lastid= "http://www.roblox.com/asset/?id=667496334"
- s2:play()
- CurId = 6
- end
- lastsongpos = 0
- s2.TimePosition = lastsongpos
- --]]
- end
- end
- NoClipCons = {}
- coroutine.resume(coroutine.create(function()
- if #NoClipCons == 0 then
- local con = game:service("RunService").Stepped:connect(function()
- if HClip == false then
- pcall(function() Torso.CanCollide = false end)
- pcall(function() Head.CanCollide = false end)
- end
- end)
- table.insert(NoClipCons, con)
- else
- for i, v in pairs(NoClipCons) do
- v:disconnect()
- table.remove(NoClipCons, i)
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- while Humanoid.Health>0 do
- Head.Color = Color3.new(0, 0, 0)
- LeftArm.Color = Color3.new(0, 0, 0)
- LeftLeg.Color = Color3.new(0, 0, 0)
- RightArm.Color = Color3.new(0, 0, 0)
- RightLeg.Color = Color3.new(0, 0, 0)
- Torso.Color = Color3.new(0, 0, 0)
- if ComboDur > 0 and Combo > 0 then
- ComboDur = ComboDur - 1
- end
- if ComboDur == 0 and Combo > 0 then
- coroutine.resume(coroutine.create(function()
- if attack == false then
- Combo = 0
- attack = true
- for i = 0,1,0.1 do
- swait()
- change = 0.5
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(140 - .5 * math.cos(sine / 8)), math.rad(-27), math.rad(40 + .5 * math.cos(sine / 8))), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.5, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.3)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
- HW.C0 = clerp(HW.C0, cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0)),.2)
- end
- attack = false
- HW.C0 = cf(.8,.8,.45)*angles(math.rad(0),math.rad(0),math.rad(135))
- HW.Part0 = Torso
- else
- ComboDur = 5
- Combo = 1
- end
- end))
- end
- sine = sine + change
- hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- if s2.Parent == nil or s2 == nil then
- s2 = s2c:Clone()
- s2.Parent = Torso
- s2.Name = "BGMusic"
- -- s2.SoundId = lastid
- s2.Pitch = 1
- s2.Volume = 2
- s2.Looped = true
- s2.archivable = false
- s2.TimePosition = lastsongpos
- s2:play()
- else
- lastsongpos=s2.TimePosition
- s2.Pitch = 1
- s2.Volume = 2
- s2.Looped = true
- s2.SoundId = lastid
- s2.EmitterSize = 40
- end
- local wallhit2 = wallhit
- local Lookray,Lookpos = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 2, Character)
- if hitfloor == nil and LostGrip == false and attack == false and Lookray ~= nil and Lookray.CanCollide == true and not Lookray.Parent:FindFirstChildOfClass("Humanoid") and Lookray ~= workspace and not Lookray.Parent.Parent:FindFirstChildOfClass("Humanoid") then
- wallhit = true
- if wallhit2==false and wallhit == true then
- local NewParticle = Particle1_2:Clone()
- local EffectHolder = Instance.new("Part")
- EffectHolder.Parent = Character
- EffectHolder.Size = Vector3.new(0.05, 0.05, 0.05)
- EffectHolder.Transparency = 0
- EffectHolder.Anchored=true
- EffectHolder.Material = "Neon"
- EffectHolder.CanCollide = false
- EffectHolder.CFrame = cn(Lookpos)
- NewParticle.Parent = EffectHolder
- NewParticle:Emit(30)
- so("268933974", EffectHolder,1.5, math.random(230,250)/100)
- game:GetService("Debris"):AddItem(EffectHolder, 3)
- end
- --local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 0, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
- --game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
- Torso.Velocity = Vector3.new(Torso.Velocity.X,0,Torso.Velocity.Z) --+ RootPart.CFrame.lookVector*-35
- if Canholdtime > .1 then
- Canholdtime = Canholdtime - 1
- else
- LostGrip = true
- end
- else
- if Canholdtime < 19.5 and LostGrip == true then
- Canholdtime = Canholdtime + 1
- elseif Canholdtime > 19.5 and LostGrip == true then
- LostGrip = false
- elseif Canholdtime < 19.5 and LostGrip == false then
- Canholdtime = 20
- end
- wallhit = false
- end
- if hitfloor ~= nil then
- inAir = true
- else
- inAir = false
- end
- if inAir == true then
- if inAir2 == false then
- JumpAfterEffect()
- if CanDoubleJump == false then
- CanDoubleJump= true
- end
- end
- end
- if hitfloor ~= nil then
- inAir2 = true
- else
- inAir2 = false
- end
- torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velderp = RootPart.Velocity.y
- coroutine.resume(coroutine.create(function()
- for i,v in pairs(SkinParts) do
- v.Color = Color3.new(0,0,0)
- end
- Head.Transparency = 1
- end))
- if RootPart.Velocity.y > 1 and hitfloor == nil then
- Anim = "Jump"
- elseif RootPart.Velocity.y < -1 and hitfloor == nil then
- Anim = "Fall"
- elseif Humanoid.Sit == true then
- Anim = "Sit"
- elseif torvel < 1 and hitfloor ~= nil then
- Anim = "Idle"
- elseif torvel > 2 and hitfloor ~= nil then
- if sprintmode == true then
- Anim = "Run"
- else
- Anim = "Walk"
- end
- elseif wallhit == true then
- Anim = "WallHit"
- else
- Anim = ""
- end
- if wallhit == true then
- Anim = "WallHit"
- end
- if attack == false then
- if Anim == "Jump" then
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(-2.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .08)
- RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
- elseif Anim == "Fall" then
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(25.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(36.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
- RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.75, .20) * angles(math.rad(5 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(35 + 0 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75, .20) * angles(math.rad(5 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-35 - 2 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.05+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.35+ .05 * math.cos(sine / 15), -.3) * CFrame.Angles(math.rad(20 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
- elseif Anim == "Idle" then
- change = 0.5
- LostGrip = true
- Canholdtime = 10
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(10 + .5 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- RCW.C0 = clerp(RCW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(1 - 2.5 * math.cos(sine / 8)), math.rad(7), math.rad(-6 + .5 * math.cos(sine / 8))), 0.1)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - 2.5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
- elseif Anim == "Walk" then
- LostGrip = true
- Canholdtime = 10
- change = 1.8
- Humanoid.WalkSpeed = 20
- Humanoid.JumpPower = 70
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0 - 0.05 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7, -0.205 + 0.25 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(18 - 3 * math.cos(sine / 3.5)), math.rad(0) + RootPart.RotVelocity.Y / 50, math.rad(8 * math.cos(sine / 7))), 0.2)
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(-14 + 2.5 * math.cos(sine / 3.5)), math.rad(0 - 0 * math.cos(sine / 3.5)), math.rad(-8 * math.cos(sine / 7)) + RootPart.RotVelocity.Y / 16), 0.2)
- RW.C0 = clerp(RW.C0, CFrame.new(0.95, 0.6, .1) * angles(math.rad(5+10 * math.cos(sine / 7)), math.rad(0), math.rad(10)), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-0.95, 0.6, .1) * angles(math.rad(5-10 * math.cos(sine / 7)), math.rad(0), math.rad(-10)), 0.2)
- RH.C0 = RH.C0:lerp( cf(.25, -0.505 - 0.325 * math.cos(sine / 7) / 2,-0.1+ 0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 - 75 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
- LH.C0 = LH.C0:lerp( cf(-.25, -0.505 + 0.325 * math.cos(sine / 7) / 2,-0.1+ -0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 + 75 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .2) * angles(math.rad(-10 - 15.5 * math.cos(sine / 3.5)), math.rad(-17), math.rad(10 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .2) * angles(math.rad(-10 - 15.5 * math.cos(sine / 3.5)), math.rad(17), math.rad(-10 - .5 * math.cos(sine / 8))), 0.15)
- elseif Anim == "WallHit" then
- change = 0.5
- Humanoid.WalkSpeed = 17
- Humanoid.JumpPower = 70
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -.5, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(-15 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-40)), .08)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(20)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(-20 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(20 + .5 * math.cos(sine / 8))), 0.08)
- LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(140 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-40 - .5 * math.cos(sine / 8))), 0.25)
- RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), -.2) * CFrame.Angles(math.rad(-20.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.08)
- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(24.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.25)
- RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
- LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
- end
- end
- swait()
- end
- local TPN1 = math.random(-10,10)/300
- local TPN2 = math.random(-10,10)/300
- Glitch1(Character,TPN1,.01,TPN2)
- so("588694789", Torso,2.5, .8)
- local LHead = Instance.new("Part")
- LHead.Parent = workspace
- LHead.Size = Vector3.new(.5, 1, 1)
- LHead.Transparency = 0
- LHead.Color = Color3.new(1, 1, 1)
- LHead.Material = "SmoothPlastic"
- LHead.CanCollide = true
- LHead.Archivable = false
- LHead.Anchored = true
- local HeadMeshL = Create("SpecialMesh"){
- Parent = LHead,
- --TextureId = "http://www.roblox.com/asset/?id=1374149",
- MeshId = "http://www.roblox.com/asset/?id=1707536480",
- MeshType = "Sphere",
- Scale = vt(1,1,1),
- Offset = vt(0.44, -0.605, 0.965)
- }
- LHead.CFrame = Head.CFrame*cn(-.2,0,0)*angles(math.rad(0), math.rad(180), math.rad(0))
- local RHead = Instance.new("Part")
- RHead.Parent = workspace
- RHead.Size = Vector3.new(.5, 1, 1)
- RHead.Transparency = 0
- RHead.Color = Color3.new(1, 1, 1)
- RHead.Material = "SmoothPlastic"
- RHead.CanCollide = true
- RHead.Archivable = false
- RHead.Anchored = true
- local HeadMeshL = Create("SpecialMesh"){
- Parent = RHead,
- --TextureId = "http://www.roblox.com/asset/?id=1374149",
- MeshId = "http://www.roblox.com/asset/?id=1707521666",
- MeshType = "Sphere",
- Scale = vt(1,1,1),
- Offset = vt(0,0,0)
- }
- RHead.CFrame = Head.CFrame*cn(.2,0,0)*angles(math.rad(0), math.rad(180), math.rad(0))
- Head.Parent = nil
- for _,v in pairs(Character:GetChildren()) do
- if v:isA("BasePart") then
- v.Anchored = true
- v.Size = Vector3.new(0, 0, 0)
- v.Transparency = 1
- end
- end
- wait(.1)
- LHead.Anchored = false
- RHead.Anchored = false
- for i = s2.Volume,0,-.1 do wait()
- s2.Volume = i
- end
- end))
- remote = Instance.new 'RemoteFunction';
- remote.Parent = Character;
- remote.OnServerInvoke = function (player, request, ...)
- if (player ~= Player) then
- return error ('You cannot invoke this remote', 0);
- end;
- if (request == 1) then
- local k = ...;
- KeyDown(k)
- end;
- if (request == 2) then
- local k = ...;
- --KeyUp(k)
- end;
- if (request == 3) then
- local k = ...;
- if k == "Down" then
- Button1Down(k)
- elseif k == "Up" then
- --MouseUp(k)
- end
- end;
- if (request == 4) then
- local k=...;
- MTARGET=k
- end
- if (request == 5) then
- local k=...;
- MHIT=k
- end
- if (request == 6) then
- local k=...;
- CamCoord=k
- end
- end;
- remote.Name = 'ServerRemote';
- --local remote = NLS ([=[
- localscript = script.Keys
- localscript.Name = Player.Name
- localscript.Parent = Character
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement