Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local CMouse = require(script.CMouse)
- while CMouse:GetPlayer() == nil do wait() end
- --[[TheNoobster312]]--
- --[[Project Name: Domminus Pitta the lord deleted]]--
- --[[bin]]--
- wait(.2)
- plr=CMouse:GetPlayer()
- chr=plr.Character
- Head=chr.Head
- Root=chr.HumanoidRootPart
- Torso=chr.Torso
- RArm=chr["Right Arm"]
- LArm=chr["Left Arm"]
- RLeg=chr["Right Leg"]
- LLeg=chr["Left Leg"]
- RJ=Root.RootJoint
- Neck=Torso.Neck
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- hum=chr:FindFirstChildOfClass("Humanoid")
- mouse=CMouse
- Pose="Idle"
- attack=false
- combo=1
- sin=0
- cha=1
- musicon=true
- souls=0
- energyz=0
- hum.WalkSpeed = 16
- create=LoadLibrary("RbxUtility").Create
- for i,v in pairs(chr:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- chr.Animate:Remove()
- hum.Animator:Remove()
- function clerp(a,b,t)
- return a:lerp(b,t)
- end
- local newMotor=function(name,p0,p1,c0,c1)
- local w=Instance.new('Motor',p0)
- w.Name=name
- w.Part0=p0
- w.Part1=p1
- w.C0=c0
- w.C1=c1
- return w
- end
- for _,c in pairs(Torso:children()) do
- if c:IsA("Motor") and c.Name~="Neck" then
- c:Remove()
- end
- end
- RJ.C0,RJ.C1=CFrame.new(0,0,0),CFrame.new(0,0,0)
- Neck.C0,Neck.C1=CFrame.new(0,1.5,0),CFrame.new(0,0,0)
- --[[RS.C0,RS.C1=CFrame.new(1.5,0,0),CFrame.new(0,0,0)
- LS.C0,LS.C1=CFrame.new(-1.5,0,0),CFrame.new(0,0,0)
- RH.C0,RH.C1=CFrame.new(.5,-2,0),CFrame.new(0,0,0)
- LH.C0,LH.C1=CFrame.new(-.5,-2,0),CFrame.new(0,0,0)]]
- local RS=newMotor("Right Shoulder",Torso, RArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LS=newMotor("Left Shoulder",Torso, LArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH=newMotor("Right Hip",Torso, RLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH=newMotor("Left Hip",Torso, LLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- fedora = Instance.new("Part",chr)
- fedora.Size = Vector3.new(2,2,2)
- fedora.CFrame = Head.CFrame
- fedora.CanCollide = false
- fedoraweld = Instance.new("Weld",fedora)
- fedoraweld.Part0 = fedora
- fedoraweld.Part1 = Head
- fedoraweld.C0 = fedora.CFrame:inverse() * Head.CFrame * CFrame.new(-.1,-0.1,0) * CFrame.Angles(math.rad(0),math.rad(-20),math.rad(-10))
- mfedora = Instance.new("SpecialMesh", fedora)
- mfedora.MeshType = "FileMesh"
- mfedora.Scale = Vector3.new(1.18, 1.18, 1.18)
- mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=382472519','http://www.roblox.com/asset/?id=382485019'
- LArm.BrickColor = BrickColor.new("Cool yellow")
- RArm.BrickColor = BrickColor.new("Really black")
- Head.BrickColor = BrickColor.new("Really black")
- Torso.BrickColor = BrickColor.new("Really black")
- LLeg.BrickColor = BrickColor.new("Really black")
- RLeg.BrickColor = BrickColor.new("Cool yellow")
- shirt = Instance.new("Shirt", chr)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", chr)
- pants.Name = "Pants"
- chr.Shirt.ShirtTemplate = "rbxassetid://0"----lol
- chr.Pants.PantsTemplate = "rbxassetid://0"
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface=10,10,10,10,10,10
- end
- function rayCast(Position,Direction,Range,Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position,Direction.unit*(Range or 999.999)),Ignore)
- end
- ArtificialHB=create("BindableEvent"){
- Parent=script,
- Name="Heartbeat"}
- script:WaitForChild("Heartbeat")
- frame=0.0166666666666666667
- tf=0
- allowframeloss=false
- tossremainder=false
- lastframe=tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s,p)
- tf=tf+s
- if tf >=frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe=tick()
- else
- for i=1,math.floor(tf/frame) do
- script.Heartbeat:Fire()
- end
- lastframe=tick()
- end
- if tossremainder then
- tf=0
- else
- tf=tf-frame*math.floor(tf/frame)
- end
- end
- end)
- function swait(num)
- if num==0 or num==nil then
- ArtificialHB.Event:wait()
- else
- for i=0,num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function parts(Par,name,size,color,mat,ref,tra)
- local part=create("Part"){
- Parent=Par,
- Name=name,
- Size=size,
- CanCollide=false,
- Anchored=false,
- BrickColor=BrickColor.new(color),
- Material=mat,
- Reflectance=ref,
- Transparency=tra}
- --Position=Torso.Position}
- NoOutline(part)
- part:BreakJoints()
- return part
- end
- function meshs(Par,name,scale,mtype,id)
- local mesh=create("SpecialMesh"){
- Parent=Par,
- Name=name,
- Scale=scale,
- MeshType=mtype}
- if id~="" then
- mesh.MeshId="rbxassetid://"..id
- end
- return meshs
- end
- function welds(Par,name,p0,p1,c0,c1)
- local weld=create("Weld"){
- Parent=Par,
- Name=name,
- Part0=p0,
- Part1=p1,
- C0=c0,
- C1=c1}
- return weld
- end
- function sounds(Par,id,vol,pit,emitter)
- local sound=create("Sound"){
- Parent=Par,
- SoundId="rbxassetid://"..id,
- Volume=vol,
- PlaybackSpeed=pit,
- MaxDistance=66666666}
- if emitter~=nil then
- sound.EmitterSize=emitter
- end
- sound:Play()
- game:GetService("Debris"):AddItem(sound,10)
- return sound
- end
- function particles(par,color,id,lemi,linf,direct,sizmin,sizmax,tramin,tramax,lifemin,lifemax,rotmin,rotmax,speed,velocity,lock,timelimit)
- local aaa=NumberSequence.new({NumberSequenceKeypoint.new(0, sizmin),NumberSequenceKeypoint.new(1, sizmax)})
- local bbb=NumberSequence.new({NumberSequenceKeypoint.new(0, tramin),NumberSequenceKeypoint.new(1, tramax)})
- local parti=create("ParticleEmitter"){
- Color=ColorSequence.new(BrickColor.new(color).Color),
- LightEmission=lemi,
- LightInfluence=linf,
- Texture="rbxassetid://"..id,
- Transparency=bbb,
- Size=aaa,
- ZOffset=.5,
- --Acceleration=Vector3.new(0, 2, 0),
- LockedToPart=lock,
- EmissionDirection=direct,
- Lifetime=NumberRange.new(lifemin,lifemax),
- Rate=2000,
- Rotation=NumberRange.new(-360, 360),
- RotSpeed=NumberRange.new(-rotmin, rotmax),
- Speed=NumberRange.new(speed),
- VelocitySpread=velocity,
- Enabled=true,
- Parent=par
- }
- if timelimit~=nil then
- coroutine.resume(coroutine.create(function(p)
- swait(timelimit)
- parti.Enabled=false
- end),parti)
- game:GetService("Debris"):AddItem(parti,10)
- end
- return parti
- end
- m=create("Model"){
- Parent=chr,
- Name="WModel"}
- e=create("Model"){
- Parent=chr,
- Name="Effect"}
- theme=create("Sound"){
- Parent=Root,
- SoundId="rbxassetid://1847595044",
- Volume=1,
- PlaybackSpeed=1,
- MaxDistance=66666666,
- Name="Theme",
- Looped=true}
- theme:Play()
- theme2=create("Sound"){
- Parent=Root,
- SoundId="rbxassetid://155068827",
- Volume=0,
- PlaybackSpeed=1,
- MaxDistance=66666666,
- Name="Theme2",
- Looped=true}
- theme2:Play()
- local timeposit=create("NumberValue"){
- Name="STP",
- Value=true,
- Parent=script}
- Torso2=Torso:Clone()
- Torso2.CFrame=Head.CFrame*CFrame.new(0,5,0)
- Torso2.Name="Useless"
- Torso2.Parent=Root
- Torso2.Material="Neon"
- Torso2.Size=Torso2.Size+Vector3.new(.01,.01,.01)
- NoOutline(Torso2)
- Torso2Weld=welds(Torso2,"Torso2Weld",Torso,Torso2,CFrame.new(0, 0, 0),CFrame.new(0, 0, 0))
- Torso2.Transparency=1
- RArm2=RArm:Clone()
- RArm2.CFrame=Head.CFrame*CFrame.new(0,5,0)
- RArm2.Name="Helpless"
- RArm2.Parent=Root
- RArm2.Material="Neon"
- RArm2.Size=RArm2.Size+Vector3.new(.01,.01,.01)
- NoOutline(RArm2)
- RArm2Weld=welds(RArm2,"RArm2Weld",RArm,RArm2,CFrame.new(0, 0, 0),CFrame.new(0, 0, 0))
- RArm2.Transparency=1
- LArm2=LArm:Clone()
- LArm2.CFrame=Head.CFrame*CFrame.new(0,5,0)
- LArm2.Name="Friendless"
- LArm2.Parent=Root
- LArm2.Material="Neon"
- LArm2.Size=LArm2.Size+Vector3.new(.01,.01,.01)
- NoOutline(LArm2)
- LArm2Weld=welds(LArm2,"LArm2Weld",LArm,LArm2,CFrame.new(0, 0, 0),CFrame.new(0, 0, 0))
- LArm2.Transparency=1
- Head2=Head:Clone()
- Head2.CFrame=Head.CFrame*CFrame.new(0,5,0)
- Head2.Name="Heartless"
- Head2.Parent=Root
- Head2.Material="Neon"
- Head2.Size=Head2.Size+Vector3.new(.01,.01,.01)
- NoOutline(Head2)
- Head2Weld=welds(Head2,"Head2Weld",Head,Head2,CFrame.new(0, 0, 0),CFrame.new(0, 0, 0))
- if Head2:findFirstChild("Mesh")~=nil then
- Head2:findFirstChild("Mesh"):Remove()
- end
- if Head2:findFirstChild("face")~=nil then
- Head2:findFirstChild("face"):Remove()
- end
- Head2.Transparency=1
- LLeg2=LLeg:Clone()
- LLeg2.CFrame=Head.CFrame*CFrame.new(0,5,0)
- LLeg2.Name="Baseless"
- LLeg2.Parent=Root
- LLeg2.Material="Neon"
- LLeg2.Size=LLeg2.Size+Vector3.new(.01,.01,.01)
- NoOutline(LLeg2)
- LLeg2Weld=welds(LLeg2,"LLeg2Weld",LLeg,LLeg2,CFrame.new(0, 0, 0),CFrame.new(0, 0, 0))
- LLeg2.Transparency=1
- RLeg2=RLeg:Clone()
- RLeg2.CFrame=Head.CFrame*CFrame.new(0,5,0)
- RLeg2.Name="Brainless"
- RLeg2.Parent=Root
- RLeg2.Material="Neon"
- RLeg2.Size=RLeg2.Size+Vector3.new(.01,.01,.01)
- NoOutline(RLeg2)
- RLeg2Weld=welds(RLeg2,"RLeg2Weld",RLeg,RLeg2,CFrame.new(0, 0, 0),CFrame.new(0, 0, 0))
- RLeg2.Transparency=1
- local SoulGui=create("ScreenGui"){
- Name="SoulGui",
- Parent=plr.PlayerGui}
- local f=create("Frame"){
- Name="f",
- Parent=SoulGui,
- AnchorPoint=Vector2.new(1, 0.5),
- BackgroundColor3=Color3.new(1, 1, 1),
- BackgroundTransparency=1,
- Position=UDim2.new(2, 0, 0.75, 0),
- Size=UDim2.new(0.300000012, 0, 0.200000003, 0)}
- f:TweenPosition(UDim2.new(1, 0, 0.750000012, 0), "Out", "Quart", 5,true)
- local Frame1=create("Frame"){
- Name="Frame1",
- Parent=f,
- AnchorPoint=Vector2.new(1, 0.5),
- BackgroundColor3=Color3.new(0, 0, 0),
- BorderSizePixel=0,
- Position=UDim2.new(1, 0, 0.5, 0),
- Size=UDim2.new(0.800000012, 0, 0.800000012, 0),
- ZIndex=2}
- local Frame2=create("Frame"){
- Name="Frame2",
- Parent=f,
- AnchorPoint=Vector2.new(1, 0.5),
- BackgroundColor3=Color3.new(1, 1, 1),
- BorderSizePixel=0,
- Position=UDim2.new(1, 0, 0.5, 0),
- Size=UDim2.new(0.800000012, 0, 1, 0)}
- local Frame22=create("ImageLabel"){
- Name="Frame22",
- Parent=f,
- AnchorPoint=Vector2.new(1, 0.5),
- BackgroundColor3=Color3.new(1, 1, 1),
- BackgroundTransparency=1,
- Position=UDim2.new(0.200000003, 0, 0.5, 0),
- Rotation=180,
- Size=UDim2.new(0.319999993, 0, 1, 0),
- Image="rbxassetid://146265848"}
- local Frame11=create("ImageLabel"){
- Name="Frame11",
- Parent=f,
- AnchorPoint=Vector2.new(1, 0.5),
- BackgroundColor3=Color3.new(1, 1, 1),
- BackgroundTransparency=1,
- Position=UDim2.new(0.200000003, 0, 0.5, 0),
- Rotation=180,
- Selectable=true,
- Size=UDim2.new(0.25, 0, 0.790000021, 0),
- ZIndex=2,
- Image="rbxassetid://146265848",
- ImageColor3=Color3.new(0, 0, 0)}
- local S=create("TextLabel"){
- Name="S",
- Parent=f,
- AnchorPoint=Vector2.new(0.5, 0.5),
- BackgroundColor3=Color3.new(1, 1, 1),
- BackgroundTransparency=1,
- Position=UDim2.new(0.5, 0, 0.5, 0),
- Size=UDim2.new(0.800000012, 0, 0.699999988, 0),
- ZIndex=3,
- Font=Enum.Font.SciFi,
- Text="???: 0",
- TextColor3=Color3.new(0, 0, 0),
- TextScaled=true,
- TextSize=14,
- TextStrokeColor3=Color3.new(1, 1, 1),
- TextStrokeTransparency=0,
- TextWrapped=true}
- local fa=create("Frame"){
- Name="fa",
- Parent=SoulGui,
- AnchorPoint=Vector2.new(1, 0.5),
- BackgroundColor3=Color3.new(1, 1, 1),
- BackgroundTransparency=1,
- Position=UDim2.new(2, 0, 0.95, 0),
- Size=UDim2.new(0.200000012, 0, 0.100000003, 0)}
- fa:TweenPosition(UDim2.new(1, 0, 0.900000012, 0), "Out", "Quart", 7,true)
- local Frame21=create("Frame"){
- Name="Frame21",
- Parent=fa,
- AnchorPoint=Vector2.new(1, 0.5),
- BackgroundColor3=Color3.new(0, 0, 0),
- BorderSizePixel=0,
- Position=UDim2.new(1, 0, 0.5, 0),
- Size=UDim2.new(0.800000012, 0, 0.800000012, 0),
- ZIndex=2}
- local Frame12=create("Frame"){
- Name="Frame12",
- Parent=fa,
- AnchorPoint=Vector2.new(1, 0.5),
- BackgroundColor3=Color3.new(1, 1, 1),
- BorderSizePixel=0,
- Position=UDim2.new(1, 0, 0.5, 0),
- Size=UDim2.new(0.800000012, 0, 1, 0)}
- local Frame222=create("ImageLabel"){
- Name="Frame222",
- Parent=fa,
- AnchorPoint=Vector2.new(1, 0.5),
- BackgroundColor3=Color3.new(1, 1, 1),
- BackgroundTransparency=1,
- Position=UDim2.new(0.200000003, 0, 0.5, 0),
- Rotation=180,
- Size=UDim2.new(0.319999993, 0, 1, 0),
- Image="rbxassetid://146265848"}
- local Frame111=create("ImageLabel"){
- Name="Frame111",
- Parent=fa,
- AnchorPoint=Vector2.new(1, 0.5),
- BackgroundColor3=Color3.new(1, 1, 1),
- BackgroundTransparency=1,
- Position=UDim2.new(0.200000003, 0, 0.5, 0),
- Rotation=180,
- Selectable=true,
- Size=UDim2.new(0.25, 0, 0.790000021, 0),
- ZIndex=2,
- Image="rbxassetid://146265848",
- ImageColor3=Color3.new(0, 0, 0)}
- local energy=create("Frame"){
- Name="energy",
- Parent=fa,
- AnchorPoint=Vector2.new(1, .5),
- BackgroundColor3=Color3.new(1, 1, 1),
- BorderSizePixel=0,
- ZIndex=3,
- Position=UDim2.new(1, 0, 0.5, 0),
- Size=UDim2.new(.8, 0, .5, 0)}
- function Damage(Type,Partzz,hit,dmg,delay,hs,hv,hp)
- if hit.Parent==nil then
- return
- end
- local h=hit.Parent:FindFirstChildOfClass("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid")then
- h=v
- end
- end
- if h~=nil and hit.Parent.Name~=chr.Name then
- if hit.Parent:findFirstChild("AHit")==nil then
- h.Health=h.Health-dmg
- if h.Health==math.huge then
- hit.Parent:BreakJoints()
- end
- end
- if hit.Parent:findFirstChild("AHit")==nil then
- local c=create("BoolValue"){
- Name="AHit",
- Value=true,
- Parent=hit.Parent}
- game:GetService("Debris"):AddItem(c,delay)
- if hs~=""and hit.Parent.Head.Parent~=nil then
- sounds(hit.Parent.Head,hs,hv,hp)
- end
- if Type=="Disappear"then
- Partzz.Parent=nil
- elseif Type=="None"then
- elseif Type=="Vanish"then
- --[[if h.Health>=.01 then
- return
- end]]
- for i=1,10 do
- Effect(e,"Really Black",hit.Parent:findFirstChild("Head").CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,12,0,0,0,.02,"Sphere",4,math.random(3,8)/10,"",130,180,100)
- Effect(e,"Cool yellow",hit.Parent:findFirstChild("Head").CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0,0,math.random(7,12),.03,"Sphere",6,0,"")
- end
- h:Remove()
- for _,sv in pairs(hit.Parent:children()) do
- if sv:IsA("BasePart") then
- asd(sv,hit.Parent)
- end
- end
- fresh_souls(hit.Parent:findFirstChild("Head"))
- end
- end
- end
- end
- function Mdamage(Type,Partzz,Magn,Dmg,delay,hs,hv,hp)
- for _,c in pairs(workspace:children()) do
- local hum=c:findFirstChildOfClass("Humanoid")
- if hum~=nil then
- local ddee=c:findFirstChild("Head")
- if ddee~=nil then
- local targ=ddee.Position-Partzz.Position
- local mag=targ.magnitude
- if mag<=Magn and c.Name~=plr.Name then
- Damage(Type,Partzz,ddee,Dmg,delay,hs,hv,hp)
- if hum.Health==math.huge then
- ddee:BreakJoints()
- end
- end
- end
- end
- end
- end
- --v efec
- function Effect(par,color,CF,x,y,z,x1,y1,z1,de,mtyp,typ,rad,id,posi)
- local ex=create("Part"){
- Size=Vector3.new(.2,.2,.2),
- BrickColor=BrickColor.new(color),
- CanCollide=false,
- Material="Neon",
- Anchored=true,
- Parent=par}
- NoOutline(ex)
- ex.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- if posi==2 then
- ex.Position=(CF).p
- ex.CFrame=ex.CFrame*CFrame.Angles(-math.rad(90),0,0)
- else
- ex.CFrame=CF
- end
- local exe=create("SpecialMesh"){
- Scale=Vector3.new(x,y,z),
- MeshType=mtyp,
- Parent=ex}
- if mtyp=="FileMesh"and id~=""then
- exe.MeshId="rbxassetid://"..id
- end
- game:GetService("Debris"):AddItem(ex,10)
- local ez=ex.CFrame
- local nu=0
- local no=math.random()-math.random()
- coroutine.resume(coroutine.create(function()
- for i=0,1.01,de do
- swait()
- if typ~=5 then
- ex.Transparency=i
- end
- ex.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- exe.Scale=exe.Scale+Vector3.new(x1,y1,z1)
- if typ==1 then
- ex.CFrame=ex.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
- elseif typ==2 then
- ex.CFrame=ex.CFrame*CFrame.Angles(0,math.rad(rad),0)
- elseif typ==3 then
- ex.CFrame=ex.CFrame*CFrame.new(0,0,rad)
- elseif typ==4 then
- nu=nu+no
- ez=ez*CFrame.new(0,rad,0)
- ex.CFrame=ez*CFrame.Angles(nu,0,0)
- --ex.CFrame=ex.CFrame
- end
- end
- ex:Remove()
- end))
- end
- function REffect(par,color,CF,x,y,z,x1,y1,z1,de,mtyp,typ,rad,id)
- local ex=create("Part"){
- Size=Vector3.new(.2,.2,.2),
- BrickColor=BrickColor.new(color),
- CanCollide=false,
- Material="Neon",
- Anchored=true,
- CFrame=CF,
- Parent=par,
- Transparency=1}
- NoOutline(ex)
- ex.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- local exe=create("SpecialMesh"){
- Scale=Vector3.new(x,y,z),
- MeshType=mtyp,
- Parent=ex}
- if mtyp=="FileMesh"and id~=""then
- exe.MeshId="rbxassetid://"..id
- end
- game:GetService("Debris"):AddItem(ex,10)
- local ez=ex.CFrame
- local nu=0
- local no=math.random()-math.random()
- coroutine.resume(coroutine.create(function()
- for i=1,-.01,-de do
- swait()
- if typ~=5 then
- ex.Transparency=i
- end
- ex.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- exe.Scale=exe.Scale+Vector3.new(x1,y1,z1)
- if typ==1 then
- ex.CFrame=ex.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
- elseif typ==2 then
- ex.CFrame=ex.CFrame*CFrame.Angles(0,math.rad(rad),0)
- elseif typ==3 then
- ex.CFrame=ex.CFrame*CFrame.new(0,0,rad)
- elseif typ==4 then
- nu=nu+no
- ez=ez*CFrame.new(0,rad,0)
- ex.CFrame=ez*CFrame.Angles(nu,0,0)
- --ex.CFrame=ex.CFrame
- end
- end
- ex:Remove()
- end))
- end
- function LockEffect(par,color,CF,locke,x,y,z,x1,y1,z1,de,mtyp,typ,rad,id)
- local ex=create("Part"){
- Size=Vector3.new(.2,.2,.2),
- BrickColor=BrickColor.new(color),
- CanCollide=false,
- Material="Neon",
- Anchored=true,
- CFrame=CF,
- Parent=par}
- NoOutline(ex)
- local exe=create("SpecialMesh"){
- Scale=Vector3.new(x,y,z),
- MeshType=mtyp,
- Parent=ex}
- ex.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- if mtyp=="FileMesh"and id~=""then
- exe.MeshId="rbxassetid://"..id
- end
- game:GetService("Debris"):AddItem(ex,10)
- local ez=ex.CFrame
- local nu=0
- local no=math.random()-math.random()
- coroutine.resume(coroutine.create(function()
- for i=0,1.01,de do
- swait()
- if typ~=5 then
- ex.Transparency=i
- end
- ex.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- exe.Scale=exe.Scale+Vector3.new(x1,y1,z1)
- if typ==1 then
- ex.CFrame=locke.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
- elseif typ==2 then
- ex.CFrame=locke.CFrame*CFrame.Angles(0,math.rad(rad),0)
- elseif typ==3 then
- ex.CFrame=locke.CFrame*CFrame.new(0,0,rad)
- elseif typ==4 then
- nu=nu+no
- locke=locke*CFrame.new(0,rad,0)
- ex.CFrame=locke*CFrame.Angles(nu,0,0)
- --ex.CFrame=ex.CFrame
- end
- end
- ex:Remove()
- end))
- end
- function RLockEffect(par,color,CF,locke,x,y,z,x1,y1,z1,de,mtyp,typ,rad,id)
- local ex=create("Part"){
- Size=Vector3.new(.2,.2,.2),
- BrickColor=BrickColor.new(color),
- CanCollide=false,
- Material="Neon",
- Anchored=true,
- CFrame=CF,
- Parent=par,
- Transparency=1}
- NoOutline(ex)
- ex.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- local exe=create("SpecialMesh"){
- Scale=Vector3.new(x,y,z),
- MeshType=mtyp,
- Parent=ex}
- if mtyp=="FileMesh"and id~=""then
- exe.MeshId="rbxassetid://"..id
- end
- game:GetService("Debris"):AddItem(ex,10)
- local ez=ex.CFrame
- local nu=0
- local no=math.random()-math.random()
- coroutine.resume(coroutine.create(function()
- for i=1,-.01,-de do
- swait()
- if typ~=5 then
- ex.Transparency=i
- end
- ex.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- exe.Scale=exe.Scale+Vector3.new(x1,y1,z1)
- if typ==1 then
- ex.CFrame=locke.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
- elseif typ==2 then
- ex.CFrame=locke.CFrame*CFrame.Angles(0,math.rad(rad),0)
- elseif typ==3 then
- ex.CFrame=locke.CFrame*CFrame.new(0,0,rad)
- elseif typ==4 then
- nu=nu+no
- locke=locke*CFrame.new(0,rad,0)
- ex.CFrame=locke*CFrame.Angles(nu,0,0)
- --ex.CFrame=ex.CFrame
- end
- end
- ex:Remove()
- end))
- end
- --v other
- function CameraShake(Intensity,par,mag,del)
- local magz=(par.Position-Root.Position).magnitude
- if magz<=mag then
- coroutine.resume(coroutine.create(function()
- local Focus=(workspace.CurrentCamera.CoordinateFrame.p-workspace.CurrentCamera.Focus.p).magnitude
- Focus=100/Intensity+Focus/150
- for i=math.random(150, 250)/100, 0, -del do
- hum.CameraOffset=Vector3.new(math.random(-30, 30)/20*(i*Focus), math.random(-30, 30)/20*(i*Focus), math.random(-30, 30)/20*(i*Focus))
- swait()
- end
- hum.CameraOffset=Vector3.new(0, 0, 0)
- end))
- end
- end
- function asd(Partz,hh)
- local la1=math.random(-40,40)/60
- local la2=math.random(-40,40)/60
- local la3=math.random(-40,40)/60
- coroutine.resume(coroutine.create(function(ss)
- local partzz=particles(ss,"Bright blue","262059101",1,1,"Top",3,0,0,0,1,1.3,515,55,0,0,false,20)
- ss.Material="Neon"
- ss.Anchored=true
- if ss.Parent:findFirstChildOfClass("Humanoid") then
- ss.Parent:findFirstChildOfClass("Humanoid"):Remove()
- end
- for si=0,1,math.random(1,4)/150 do
- swait()
- if partzz.Parent~=nil then
- partzz.Color=ColorSequence.new(Color3.new(math.random(0,0),math.random(0,0),math.random(0,0)))
- end
- ss.Transparency=si
- ss.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- ss.CFrame=CFrame.new(ss.Position+Vector3.new(la1,la2,la3))*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120))
- end
- swait(60)
- ss:Remove()
- if hh~=nil then
- hh:Remove()
- end
- end),Partz)
- end
- function fresh_souls(cf)
- local refsz=parts(e,"ref",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,0,1)
- refsz.Anchored=true
- refsz.CFrame=cf.CFrame
- sounds(refsz,"580727333",2,.8,70)
- meshs(refsz,"Mesh",Vector3.new(15,15,15),Enum.MeshType.Sphere,"")
- local partzz=particles(refsz,"Bright blue","262059101",1,1,"Top",1.4,0,0,0,.3,.4,55,55,0,0,true)
- local partzz2=particles(refsz,"Bright blue","262059101",1,1,"Top",1,.1,0,1,1,1,15,15,.8,10000,false)
- coroutine.resume(coroutine.create(function(ss)
- local wo=0
- local speed=0
- coroutine.resume(coroutine.create(function()
- swait(60)
- for i=1,200 do
- swait()
- speed=speed+.001
- ss.CFrame=clerp(ss.CFrame,Torso.CFrame,speed)
- local hit,pos=rayCast(ss.Position,ss.CFrame.lookVector,4,ss)
- if hit~=nil and (hit.Parent.Name==plr.Name or hit.Parent.Parent.Name==plr.Name) then
- break
- end
- end
- souls=souls+1
- LockEffect(e,"Bright blue",Root.CFrame,Root,4,4,4,3,3,3,.08,"Sphere",6,0,"")
- LockEffect(e,"Bright blue",Root.CFrame,Root,4,4,4,3,3,3,.08,"Brick",1,0,"")
- partzz.Enabled=false
- partzz2.Enabled=false
- --ss:Remove()
- game:GetService("Debris"):AddItem(ss,3)
- end))
- while ss.Parent~=nil do
- swait()
- ss.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- partzz.Color=ColorSequence.new(Color3.new(math.random(0,0),math.random(0,0),math.random(0,0)))
- partzz2.Color=ColorSequence.new(Color3.new(math.random(0,0),math.random(0,0),math.random(0,0)))
- --wo=wo+1
- --Effect(e,"Bright blue",ss.CFrame*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120)),2,2,2,-.08,-.08,-.08,.09,"Sphere",3,math.random(1,6)/10,"")
- --[[if wo>=4 then
- wo=0
- Effect(e,"Bright blue",ss.CFrame,8,8,8,-.4,-.4,-.4,.04,"Sphere",6,0,"")
- end]]
- end
- end),refsz)
- end
- local masd=false
- function random()
- masd=true
- local kasdk=math.random(1,7)/100
- for i=0,1,kasdk do
- swait()
- Frame2.Position=UDim2.new(math.random(0,100)/100, 0, math.random(0,100)/100, 0)
- Frame22.Position=UDim2.new(math.random(0,100)/100, 0, math.random(0,100)/100, 0)
- Frame222.Position=UDim2.new(math.random(0,100)/100, 0, math.random(0,100)/100, 0)
- Frame12.Position=UDim2.new(math.random(0,100)/100, 0, math.random(0,100)/100, 0)
- S.Position=UDim2.new(math.random(0,100)/100, 0, math.random(0,100)/100, 0)
- Frame1.BackgroundColor3=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- Frame11.ImageColor3=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- Frame111.ImageColor3=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- Frame21.BackgroundColor3=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- hum.CameraOffset=Vector3.new(math.random(-30,30)/10,math.random(-30,30)/10,math.random(-30,30)/10)
- local ka=math.random(-360,360)
- --[[local currentRoll=math.deg(workspace.CurrentCamera:GetRoll())
- if currentRoll~=ka then
- workspace.CurrentCamera:SetRoll(math.rad(ka))
- end]]
- theme.Volume=0
- theme2.Volume=2
- theme2.Pitch=math.random(20,600)/100
- for _,v in pairs(chr:children()) do
- if v:IsA("BasePart") then
- v.Material="Neon"
- if v.Name=="HumanoidRootPart" then
- for _,s in pairs(v:children()) do
- if s:IsA("BasePart") then
- s.Transparency=0
- s.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- end
- end
- end
- end
- end
- Neck.C0=clerp(Neck.C0,CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120)),1)
- RJ.C0=clerp(RJ.C0,CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120)),1)
- RS.C0=clerp(RS.C0,CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120)),1)
- LS.C0=clerp(LS.C0,CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120)),1)
- RH.C0=clerp(RH.C0,CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120)),1)
- LH.C0=clerp(LH.C0,CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120)),1)
- for _,v in pairs(m:children()) do
- if v:IsA("BasePart") then
- if v.Name=="Part1" then
- v.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- elseif v.Name=="Part2" or v.Name=="Part3" then
- v:findFirstChild("Mesh").Offset=Vector3.new(math.random(-800,800)/100,math.random(-800,800)/100,math.random(-800,800)/100)
- end
- end
- end
- end
- --[[local currentRoll=math.deg(workspace.CurrentCamera:GetRoll())
- if currentRoll~=0 then
- workspace.CurrentCamera:SetRoll(math.rad(0))
- end]]
- hum.CameraOffset=Vector3.new(0,0,0)
- if musicon==false then
- theme.Volume=0
- else
- theme.Volume=1
- end
- theme2.Volume=0
- for _,v in pairs(chr:children()) do
- if v:IsA("BasePart") then
- v.Material="SmoothPlastic"
- if v.Name=="HumanoidRootPart" then
- for _,s in pairs(v:children()) do
- if s:IsA("BasePart") then
- s.Transparency=1
- s.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- end
- end
- end
- end
- end
- for _,v in pairs(m:children()) do
- if v:IsA("BasePart") then
- if v.Name=="Part1" then
- v.Color=Color3.new(0,0,0)
- elseif v.Name=="Part2" or v.Name=="Part3" then
- v:findFirstChild("Mesh").Offset=Vector3.new(0,0,0)
- end
- end
- end
- Frame2.Position=UDim2.new(1, 0, 0.5, 0)
- Frame22.Position=UDim2.new(0.200000003, 0, 0.5, 0)
- Frame12.Position=UDim2.new(1, 0, 0.5, 0)
- Frame222.Position=UDim2.new(0.200000003, 0, 0.5, 0)
- S.Position=UDim2.new(0.5, 0, 0.5, 0)
- Frame1.BackgroundColor3=Color3.new(0,0,0)
- Frame11.ImageColor3=Color3.new(0,0,0)
- Frame111.ImageColor3=Color3.new(0,0,0)
- Frame21.BackgroundColor3=Color3.new(0, 0, 0)
- masd=false
- end
- --v atak
- function Attack()
- if energyz<5 then return end
- attack=true
- energyz=energyz-5
- if combo==1 then
- combo=2
- for i=0,1,0.085 do
- swait()
- RJ.C0=clerp(RJ.C0,CFrame.new(-2.01016665e-05, -0.106534414, -0.0588097498, 0.619677126, -4.24759747e-07, -0.784856915, 0.0923444033, 0.99305433, 0.0729092211, 0.779405415, -0.117657319, 0.615373075)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(0.0737081394, 1.48822594, 0.0581775904, 0.619180143, 0.0979481861, 0.779116273, 2.06278833e-06, 0.992189944, -0.124736816, -0.785249114, 0.0772361606, 0.61434412)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
- RS.C0=clerp(RS.C0,CFrame.new(1.97751212, 0.209522769, -0.176017657, 0.257501781, -0.945737004, 0.198177814, 0.965429902, 0.260397434, -0.0117693627, -0.0404742658, 0.194357395, 0.980095565)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-1.85566092, 0.0619044676, -0.250922889, 0.685387731, 0.664295137, -0.2982544, -0.706477642, 0.705873072, -0.0513091199, 0.176445395, 0.245876759, 0.953106344)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.500060499, -2.01745415, 0.126253471, 1, 4.32133675e-07, -2.11596489e-06, -1.14201555e-07, 0.988731682, 0.149699062, 2.20537186e-06, -0.149699062, 0.988731682)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.797607422, -1.89683807, -0.321515352, 0.733832657, 0.111183167, 0.670170128, 7.24037022e-07, 0.98651588, -0.163666621, -0.679330349, 0.12010441, 0.723937452)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- local refz=parts(e,"ref",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,1,1)
- refz.Anchored=true
- refz.CFrame=RArm.CFrame*CFrame.new(0,-8,0)
- game:GetService("Debris"):AddItem(refz,3)
- sounds(RArm,"200632136",1.2,1.3,27)
- for i=0,1,0.08 do
- swait()
- refz.CFrame=RArm.CFrame*CFrame.new(0,-8,0)
- local partzz=particles(refz,"Bright blue","262059101",1,1,"Top",2.4,.4,0,1,.45,.45,55,55,30,66666,false,5)
- partzz.Color=ColorSequence.new(Color3.new(math.random(0,0),math.random(0,0),math.random(0,0)))
- Mdamage("Vanish",refz,9,999999,0,"")
- RJ.C0=clerp(RJ.C0,CFrame.new(4.991889e-07, -0.078269273, -0.5599995926, 0.864838839, -5.15484189e-08, 0.502049685, 0.0602220334, 0.992779672, -0.103739351, -0.498424709, 0.119952261, 0.858594418)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(0.0509645939, 1.53985274, -0.0793573633, 0.830148458, 0.0324107297, -0.556599677, 0.045527488, 0.991034508, 0.125610426, 0.555680573, -0.129615903, 0.821230173)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
- RS.C0=clerp(RS.C0,CFrame.new(0.985548615, 0.222539827, -0.878940701, 0.0290286392, 0.486785769, 0.873039007, 0.946755767, 0.266779035, -0.180229396, -0.320641577, 0.831786513, -0.453123033)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2)
- LS.C0=clerp(LS.C0,CFrame.new(-1.69602501, 0.0128310937, -0.099891156, 0.547339559, 0.807421923, -0.220203042, -0.815277457, 0.573841095, 0.0776481032, 0.189056367, 0.137026682, 0.972358823)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.569592416, -1.95244455, -0.10536924, 0.834350884, 0.0868747681, -0.54434514, -9.41806491e-07, 0.987503171, 0.157599151, 0.551233947, -0.131492466, 0.823924243)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.769302368, -1.97128332, 0.134794801, 0.954241872, 0.201852053, -0.220631883, -0.135822654, 0.949874938, 0.28158474, 0.266411096, -0.238733143, 0.933826447)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- elseif combo==2 then
- combo=3
- for i=0,1,0.09 do
- swait()
- RJ.C0=clerp(RJ.C0,CFrame.new(5.40167093e-07, -0.102098159, 0.0744509473, 0.617569923, 2.41733323e-05, 0.786516011, 0.117130652, 0.988846004, -0.092001006, -0.777745366, 0.148942187, 0.610678613)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(0.0755731165, 1.4792552, -0.0732325315, 0.69585079, 0.139032453, -0.704600453, 1.3520912e-06, 0.981082737, 0.193589538, 0.718186378, -0.134710371, 0.682686925)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
- RS.C0=clerp(RS.C0,CFrame.new(1.61320484, 0.0110068284, 0.334783256, 0.959990144, -0.258865535, -0.106806606, 0.280033976, 0.887420833, 0.366149694, -1.04308128e-06, -0.381409496, 0.924406171)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-1.9707669, 0.631181121, 0.156097323, -0.105367057, 0.957599878, 0.268142581, -0.987527668, -0.132482514, 0.0850754231, 0.116992399, -0.255833983, 0.959615469)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.536274672, -1.98693001, -0.103639811, 0.747730851, 0.0228137486, -0.663610101, 2.43192153e-06, 0.999409676, 0.0343606807, 0.66400212, -0.0256941468, 0.747289181)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.679979146, -1.98277104, -0.118368745, 0.959225118, 0.0844953582, 0.26971814, -0.11982777, 0.985838711, 0.117318891, -0.255985558, -0.144854948, 0.955765843)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- local refz=parts(e,"ref",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,1,1)
- refz.Anchored=true
- refz.CFrame=LArm.CFrame*CFrame.new(0,-8,0)
- game:GetService("Debris"):AddItem(refz,3)
- sounds(LArm,"200632136",1.2,1.4,27)
- for i=0,1,0.08 do
- swait()
- refz.CFrame=LArm.CFrame*CFrame.new(0,-8,0)
- local partzz=particles(refz,"Bright blue","262059101",1,1,"Top",2.4,.4,0,1,.45,.45,55,55,30,66666,false,5)
- partzz.Color=ColorSequence.new(Color3.new(math.random(0,0),math.random(0,0),math.random(0,0)))
- Mdamage("Vanish",refz,9,999999,0,"")
- RJ.C0=clerp(RJ.C0,CFrame.new(-1.11162663e-05, -0.00153154507, -0.0390627757, 0.876884222, 5.22663477e-08, -0.480701804, 0.0375753827, 0.996940196, 0.0685441718, 0.479231, -0.0781678408, 0.874201119)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(-3.76050593e-07, 1.5000248, 6.19517159e-05, 0.862386405, -1.0725488e-06, 0.506250978, 1.17914408e-06, 1, 1.05843334e-07, -0.506250918, 4.98332383e-07, 0.862386346)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
- RS.C0=clerp(RS.C0,CFrame.new(1.7719605, 0.139470845, 0.312369764, 0.805424333, -0.581430912, -0.115021586, 0.567459226, 0.700437427, 0.432871222, -0.171119273, -0.413915038, 0.894087613)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-0.704714119, 0.287598789, -0.939021826, 0.0207561255, -0.696843743, -0.71692276, -0.964072704, 0.175991967, -0.198974416, 0.264826745, 0.695295572, -0.668155015)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2)
- RH.C0=clerp(RH.C0,CFrame.new(0.559966922, -1.9815526, 0.145628929, 0.996913731, 3.16649675e-06, -0.0785072148, 0.00989797618, 0.992015362, 0.12572825, 0.07788077, -0.126117274, 0.98895359)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.627690434, -1.98858523, -0.253861427, 0.803468466, 0.0158740077, 0.595135868, -0.00102428289, 0.999679804, -0.0252815336, -0.59534663, 0.019703323, 0.803227425)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- elseif combo==3 then
- combo=4
- for i=0,1,0.07 do
- swait()
- RJ.C0=clerp(RJ.C0,CFrame.new(-1.29581218e-17, 0.0131743401, 0.279632956, 1, -9.48799403e-16, 2.59278797e-16, -9.83588211e-16, 0.964630783, -0.263605028, 0, 0.263605028, 0.964630783)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
- Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.34507775, 0.235315204, 1, 0, 0, 0, 0.875560999, -0.483107865, 0, 0.483107865, 0.875560999)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
- RS.C0=clerp(RS.C0,CFrame.new(1.2660141, 1.28994656, -0.608176112, 0.97565347, 0.201926365, 0.0855934471, 0.20556283, -0.705906153, -0.677820504, -0.0764489025, 0.678912699, -0.730228245)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
- LS.C0=clerp(LS.C0,CFrame.new(-1.22347558, 1.45242834, -0.536070287, 0.980485737, -0.177340999, -0.0848406032, -0.194050014, -0.803898156, -0.562220931, 0.0315016173, 0.567712903, -0.82262373)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
- RH.C0=clerp(RH.C0,CFrame.new(0.500543118, -0.808753371, -0.860624552, 0.99648577, 0.00534988428, -0.0835919604, -0.035581369, 0.930480778, -0.364608794, 0.075830102, 0.366301775, 0.927401185)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
- LH.C0=clerp(LH.C0,CFrame.new(-0.591095746, -2.00692391, 0.258371234, 0.994938135, 0.100477375, 0.00158973632, -0.0964321643, 0.950192809, 0.296369046, 0.0282678287, -0.29502216, 0.955072284)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
- end
- CameraShake(100,Head,3,.07)
- local refz=parts(e,"ref",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,1,1)
- refz.Anchored=true
- refz.CFrame=Root.CFrame*CFrame.new(0,-2.5,0)
- coroutine.resume(coroutine.create(function(p)
- Effect(e,"Black",p.CFrame*CFrame.Angles(0,0,math.rad(90)),1,40,40,.1,15,15,.04,"Cylinder",6,0,"")
- Effect(e,"Black",p.CFrame*CFrame.Angles(0,0,math.rad(90)),1,20,20,.1,11,11,.02,"Cylinder",6,0,"")
- Effect(e,"Bright blue",p.CFrame,0.075,0.015,0.075,.02,0,.02,.06,"FileMesh",2,math.random(-65,65),"662585058")
- Effect(e,"Bright blue",p.CFrame,0.075,0.015,0.075,.02,0,.02,.06,"FileMesh",2,math.random(-65,65),"662585058")
- Mdamage("Vanish",p,29,999999,0,"")
- sounds(refz,"157878578",1.5,1.2,34)
- game:GetService("Debris"):AddItem(p,3)
- for i=0,1,.1 do
- swait()
- local partzz=particles(p,"Bright blue","262059101",1,1,"Front",4,.7,0,1,.7,.8,55,55,80,24,false,2)
- local partzz2=particles(p,"Bright blue","262059101",1,1,"Back",4,.7,0,1,.7,.8,55,55,-80,24,false,2)
- partzz.Color=ColorSequence.new(Color3.new(math.random(0,0),math.random(0,0),math.random(0,0)))
- partzz2.Color=ColorSequence.new(Color3.new(math.random(0,0),math.random(0,0),math.random(0,0)))
- p.CFrame=p.CFrame*CFrame.Angles(0,math.rad(57),0)
- end
- end),refz)
- for i=0,1,0.06 do
- swait()
- RJ.C0=clerp(RJ.C0,CFrame.new(2.36719292e-16, -0.240669101, -0.381603986, 1, -9.46179954e-16, -2.68680677e-16, -9.83588211e-16, 0.961967587, 0.273163795, 0, -0.273163795, 0.961967587)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
- Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.56548476, -0.22088775, 1, 0, 0, 0, 0.924595714, 0.380949914, 0, -0.380949914, 0.924595714)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
- RS.C0=clerp(RS.C0,CFrame.new(1.6762439, 0.295725465, 0.538420022, 0.913874984, -0.356916904, -0.193501696, 0.243725568, 0.101118773, 0.964558423, -0.324700564, -0.928647161, 0.179399684)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
- LS.C0=clerp(LS.C0,CFrame.new(-1.75823605, 0.282848716, 0.550241232, 0.897889137, 0.405918181, 0.170368776, -0.306606561, 0.298927486, 0.903678596, 0.315891653, -0.863639295, 0.392860949)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
- RH.C0=clerp(RH.C0,CFrame.new(0.402353287, -1.73234725, -0.665494204, 0.996485353, 0.0626681447, -0.0555851981, -0.0696674138, 0.988457918, -0.134527296, 0.0465130433, 0.137926936, 0.989349723)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.55)
- LH.C0=clerp(LH.C0,CFrame.new(-0.600888848, -2.0274117, 0.416704834, 0.994938612, 0.0933324769, 0.0372337215, -0.0971579626, 0.988078833, 0.11941728, -0.0256443415, -0.122430414, 0.992145717)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
- end
- elseif combo==4 then
- combo=1
- for i=0,1,0.09 do
- swait()
- RJ.C0=clerp(RJ.C0,CFrame.new(-7.23078847e-06, -0.0155180534, -0.123581037, 0.721748233, -6.45293454e-08, -0.692155719, 0.17112118, 0.968957067, 0.178437218, 0.670669138, -0.247229248, 0.699342966)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25)
- Neck.C0=clerp(Neck.C0,CFrame.new(3.56882811e-06, 1.50001681, 4.88832593e-05, 0.686090052, 0.0529828221, 0.725584865, 1.10901851e-06, 0.997344553, -0.0728279501, -0.72751677, 0.0499673411, 0.684267998)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.25)
- RS.C0=clerp(RS.C0,CFrame.new(1.73693168, 0.138870269, 0.434687018, 0.894114375, -0.394050002, -0.212800473, 0.447022408, 0.7566154, 0.47718364, -0.0270261765, -0.521783292, 0.852649927)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25)
- LS.C0=clerp(LS.C0,CFrame.new(-1.27095628, -0.0440954417, -0.657344341, 0.861742735, -0.292646438, -0.414436519, 0.0472120903, 0.859583437, -0.508809745, 0.505144, 0.418896616, 0.754556298)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25)
- RH.C0=clerp(RH.C0,CFrame.new(0.52640909, -2.02617192, 0.232897162, 0.992948115, 4.09781933e-07, 0.118550062, -0.0267111212, 0.974286795, 0.22372283, -0.115501732, -0.225311726, 0.967416167)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25)
- LH.C0=clerp(LH.C0,CFrame.new(-0.587496638, -1.95893586, -0.126892179, 0.82320714, 0.0438794941, 0.566043198, -3.61721021e-07, 0.997008979, -0.0772873238, -0.567741334, 0.0636232495, 0.820744812)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25)
- end
- for i=0,1,0.08 do
- swait()
- RJ.C0=clerp(RJ.C0,CFrame.new(-9.25183485e-06, -2.40065276e-07, -6.95194321e-05, 0.255439073, 1.5890766e-05, 0.966825247, -2.90047574e-05, 1, -8.77285765e-06, -0.966825247, -2.58015953e-05, 0.255439073)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
- Neck.C0=clerp(Neck.C0,CFrame.new(-0.000104257488, 1.50002503, 1.07819724e-05, 0.255439073, -2.90047574e-05, -0.966825247, 1.5890766e-05, 1, -2.58015953e-05, 0.966825247, -8.77285765e-06, 0.255439073)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
- RS.C0=clerp(RS.C0,CFrame.new(2.05393505, 0.505791008, -0.179735243, -0.0143408999, -0.95433712, 0.298388034, 0.999861538, -0.0111675467, 0.0123373335, -0.00844171084, 0.298523664, 0.954365134)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
- LS.C0=clerp(LS.C0,CFrame.new(-1.96934783, 0.233268037, -0.132325292, 0.219808042, 0.948024035, -0.230076239, -0.967168331, 0.242610544, 0.0756672472, 0.127553284, 0.205890179, 0.970226586)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
- RH.C0=clerp(RH.C0,CFrame.new(0.653760493, -1.99713922, -0.0407229327, 0.255875081, -0.114244871, -0.959935546, 1.58888706e-05, 0.992992818, -0.118174873, 0.966709912, 0.0302227549, 0.254083931)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
- LH.C0=clerp(LH.C0,CFrame.new(-0.624207318, -2.04739881, -0.0893550068, 0.976930499, 0.0680278465, -0.202433154, -0.0817797929, 0.99482137, -0.0603538752, 0.197279066, 0.0755164847, 0.977434635)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
- end
- Effect(e,"Black",RArm.CFrame*CFrame.new(0,-1.5,0),1,1,1,16,16,16,.09,"Sphere",6,0,"")
- for i=1,10 do
- Effect(e,"Black",RArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),math.random(16,32),math.random(16,32),math.random(16,32),-.6,-.6,-.6,.04,"Sphere",3,2,"")
- end
- coroutine.resume(coroutine.create(function()
- for si=-40,40,40 do
- local refz=parts(e,"ref",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,1,1)
- refz.Anchored=true
- refz.CFrame=Root.CFrame*CFrame.new(0,1,-2)*CFrame.Angles(0,math.rad(si),0)
- coroutine.resume(coroutine.create(function(p)
- game:GetService("Debris"):AddItem(p,2)
- for i=1,6 do
- swait(2)
- CameraShake(160,Head,3,.09)
- p.CFrame=p.CFrame*CFrame.new(0,0,-12)
- Mdamage("Vanish",p,10,999999,0,"")
- local partzz=particles(p,"Bright blue","262059101",1,1,"Top",2.4,.4,0,1,.45,.45,55,55,30,66666,false,8)
- partzz.Color=ColorSequence.new(Color3.new(math.random(0,0),math.random(0,0),math.random(0,0)))
- sounds(refz,"385470847",1,1.1,30)
- sounds(refz,"240799211",1,2.5,30)
- Effect(e,"Black",p.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,15,-.5,-.5,-.5,.05,"Sphere",3,3,"")
- end
- end),refz)
- end
- end))
- for i=0,1,0.07 do
- swait()
- Neck.C0=clerp(Neck.C0,CFrame.new(-0.000104257488, 1.50002503, 1.07819724e-05, 0.255439073, -2.90047574e-05, -0.966825247, 1.5890766e-05, 1, -2.58015953e-05, 0.966825247, -8.77285765e-06, 0.255439073)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
- RS.C0=clerp(RS.C0,CFrame.new(2.05297804, 0.811465621, -0.183392674, -0.291074336, -0.908977866, 0.298387796, 0.95345962, -0.301268458, 0.0123369489, 0.0786808282, 0.28809163, 0.954365194)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- end
- attack=false
- end
- function War()
- if energyz<24 then return end
- attack=true
- energyz=energyz-35
- local refbb=parts(e,"ref",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,1,0)
- refbb.Anchored=true
- refbb.CFrame=RArm.CFrame*CFrame.new(0,-2,0)
- meshs(refbb,"Mesh",Vector3.new(.2,.2,.2),Enum.MeshType.Sphere,"")
- sounds(refbb,"101153932",3,1.4,65)
- for i=0,1,0.01 do
- swait()
- if i<=.8 then
- refbb:findFirstChild("Mesh").Scale=refbb:findFirstChild("Mesh").Scale+Vector3.new(.2,.2,.2)
- Effect(e,"Bright blue",refbb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(0,0,-(i*20)),4,4,4,0,0,0,.05,"Sphere",3,math.random(i*2,i*5)/4,"")
- end
- refbb.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- refbb.CFrame=clerp(refbb.CFrame,RArm.CFrame*CFrame.new(0,-2,0),.2)
- RJ.C0=clerp(RJ.C0,CFrame.new(-3.7163496e-05, -0.202698171, -0.120598927, 0.476122051, -2.50084995e-05, -0.879379272, 0.212199628, 0.970452309, 0.114863597, 0.85339272, -0.241293013, 0.462059051)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(-1.70618296e-06, 1.50002503, 4.42564487e-06, 0.533477902, 0.0794436634, 0.842074931, -9.93383946e-06, 0.995579898, -0.0939194411, -0.845814168, 0.0500955842, 0.531120658)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.4)
- RS.C0=clerp(RS.C0,CFrame.new(1.59196198, 0.00843575597, -0.573072016, 0.428697109, -0.6761235, 0.599229395, 0.887527704, 0.43914333, -0.139454857, -0.168858841, 0.591616511, 0.788337946)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-1.67330158, 0.246987283, 0.0395268947, 0.906539261, 0.417447388, -0.0626441836, -0.394239515, 0.890325844, 0.227804855, 0.150870264, -0.181817234, 0.971689761)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.619020581, -2.02152801, -0.0244475901, 0.900815725, -0.0865114853, 0.425495893, 0.0721069351, 0.996148884, 0.0498789325, -0.42817241, -0.0142505355, 0.903584778)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-1.16356635, -1.70313525, -0.275265276, 0.407751381, 0.3452456, 0.845307291, -0.068666175, 0.934735179, -0.348647684, -0.91050756, 0.0841175616, 0.404846251)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- coroutine.resume(coroutine.create(function()
- local ha=refbb.Position
- local dec=CFrame.new(ha,mouse.Hit.p)
- --dec=dec*CFrame.Angles(math.rad(10), 0, 0)
- for i=1,100 do
- swait()
- local hit,pos=rayCast(ha,dec.LookVector,10,chr)
- refbb.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- refbb.CFrame=CFrame.new(ha,pos)
- Effect(e,"Bright blue",refbb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),11,11,11,-.1,-.1,-.1,.04,"Sphere",3,math.random(-20,20)/10,"")
- --dec=dec*CFrame.Angles(math.rad(-.7), 0, 0)
- ha=ha+(dec.LookVector*6)
- if hit~=nil then
- break
- end
- end
- local refz=parts(e,"ref",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,1,1)
- refz.Anchored=true
- refz.CFrame=CFrame.new(refbb.Position)
- refbb:Remove()
- game:GetService("Debris"):AddItem(refz,3)
- Effect(e,"Black",refz.CFrame,1,1,1,36,36,36,.025,"Sphere",6,0,"")
- Effect(e,"Black",refz.CFrame,1,1,1,46,46,46,.025,"Sphere",6,0,"")
- Effect(e,"Bright blue",refz.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),0.075,0.015,0.075,.07,0,.07,.04,"FileMesh",1,math.random(-95,95),"662585058")
- Effect(e,"Bright blue",refz.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),0.075,0.015,0.075,.09,0,.09,.04,"FileMesh",1,math.random(-95,95),"662585058")
- for i=1,math.random(3,5) do
- Effect(e,"Black",refz.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),91,91,91,0,0,91,.014,"Sphere",6,0,"")
- end
- for i=1,12 do
- Effect(e,"Bright blue",refz.CFrame*CFrame.Angles(math.rad(math.random(-40,40)),math.rad(math.random(-360,360)),0),21,21,80,0,0,12,.01,"Sphere",3,math.random(35,55)/10,"")
- end
- CameraShake(90,refz,63,.05)
- Mdamage("Vanish",refz,52,999999,0,"")
- sounds(refz,"1388740053",2,.9,45)
- sounds(refz,"875294942",2,.9,45)
- local partzz=particles(refz,"Bright blue","262059101",1,1,"Top",16,2,0,1,1,1.2,55,55,300,66666,false,40)
- local partzz2=particles(refz,"Bright blue","262059101",1,1,"Top",16,2,0,1,1,1.2,55,55,250,66666,false,40)
- for i=1,100 do
- swait()
- if partzz.Parent~=nil then
- partzz.Color=ColorSequence.new(Color3.new(math.random(0,0),math.random(0,0),math.random(0,0)))
- partzz2.Color=ColorSequence.new(Color3.new(math.random(0,0),math.random(0,0),math.random(0,0)))
- end
- --Effect(e,"Bright blue",refz.CFrame*CFrame.new(math.random(-300,300)/5,0,math.random(-300,300)/5)*CFrame.Angles(-math.rad(90+math.random(-40,40)),math.rad(math.random(-40,40)),math.rad(math.random(-40,40))),8,8,55,0,0,1,.03,"Sphere",3,math.random(35,65)/10,"")
- end
- end))
- for i=0,1,0.05 do
- swait()
- RJ.C0=clerp(RJ.C0,CFrame.new(-1.95503235e-05, -0.184516639, 0.0755751431, 0.409158915, 1.1862825e-05, 0.912463248, 0.171361074, 0.982206225, -0.0768530294, -0.896227896, 0.187805757, 0.40187639)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(-0.0811403394, 1.47124803, 0.0473540425, 0.503782034, -0.253011793, -0.825947285, 1.45132881e-05, 0.956147075, -0.292886972, 0.863830864, 0.147539213, 0.481693417)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.4)
- RS.C0=clerp(RS.C0,CFrame.new(1.89673471, 0.768960893, -0.644260168, -0.211089313, -0.780325234, 0.588671327, 0.965303957, -0.261129171, -6.63684659e-07, 0.153719783, 0.568246603, 0.808372617)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-1.89665282, 0.0732545182, -0.378371835, 0.46369949, 0.868536234, -0.175008118, -0.868346453, 0.40628323, -0.284444392, -0.175947368, 0.283864409, 0.942583561)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.865777135, -1.97089481, -0.0910184458, 0.24140805, -0.130704075, -0.961581409, 1.29360251e-06, 0.990888178, -0.134687304, 0.970423818, 0.0325133614, 0.239208534)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-1.34600055, -1.90825677, 0.347917199, 0.561693788, 0.586826801, -0.583210588, -0.136852533, 0.7611081, 0.634023726, 0.815948367, -0.276313335, 0.507818341)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- attack=false
- end
- function Famine()
- if energyz<14 then return end
- attack=true
- energyz=energyz-25
- hum.WalkSpeed=0
- hum.JumpPower=0
- REffect(e,"Black",Root.CFrame,75,75,75,-4,-4,-4,.05,"Sphere",6,0,"")
- for i=0,1,0.04 do
- swait()
- RJ.C0=clerp(RJ.C0,CFrame.new(5.47531889e-19, -0.0116900215, -0.107490495, 1, -4.57425816e-17, -1.00683018e-17, -4.68375339e-17, 0.976622343, 0.214962244, 0, -0.214962244, 0.976622343)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.15)
- Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.56237423, -0.086723417, 1, 0, 0, 0, 0.971226871, 0.23815611, 0, -0.23815611, 0.971226871)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.15)
- RS.C0=clerp(RS.C0,CFrame.new(1.88428092, -0.173849389, -0.418624818, 0.692854941, -0.67973274, 0.240656301, 0.704284489, 0.566311836, -0.428105354, 0.15471071, 0.466105402, 0.871097147)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.15)
- LS.C0=clerp(LS.C0,CFrame.new(-1.97053897, -0.159534499, -0.491235375, 0.604733109, 0.743175387, -0.286336035, -0.784372389, 0.493437171, -0.375871867, -0.138049871, 0.45189625, 0.881324053)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.15)
- RH.C0=clerp(RH.C0,CFrame.new(0.500011444, -2.03725243, 0.0374744162, 1, 0, 0, 0, 0.997029483, 0.0770203918, 0, -0.0770203918, 0.997029483)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.15)
- LH.C0=clerp(LH.C0,CFrame.new(-0.500021935, -1.93269253, -0.74860549, 1, 0, 0, 0, 0.995974183, -0.0896407068, 0, 0.0896407068, 0.995974183)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.15)
- end
- for i=0,1,0.06 do
- swait()
- RJ.C0=clerp(RJ.C0,CFrame.new(5.47564614e-19, -0.01169072, -0.107490346, 1, -4.57425816e-17, -1.00683018e-17, -4.68375339e-17, 0.976622343, 0.214962244, 0, -0.214962244, 0.976622343)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.52485073, -0.083214663, 1, 0, 0, 0, 0.995653033, 0.0931400061, 0, -0.0931400061, 0.995653033)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.4)
- RS.C0=clerp(RS.C0,CFrame.new(0.390455902, 0.177671582, -0.902054965, 0.166273043, 0.829798102, 0.532718003, 0.853010893, 0.149988592, -0.499875993, -0.49469769, 0.537530124, -0.682887673)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2)
- LS.C0=clerp(LS.C0,CFrame.new(-0.553784311, 0.0666972697, -0.872320831, -0.316455901, -0.855862737, -0.409090102, -0.899451911, 0.407742977, -0.157264099, 0.301400065, 0.31818974, -0.89884001)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2)
- RH.C0=clerp(RH.C0,CFrame.new(0.500011444, -2.0372529, 0.0374744609, 1, 0, 0, 0, 0.997029483, 0.0770203918, 0, -0.0770203918, 0.997029483)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.500021935, -1.93269229, -0.74860549, 1, 0, 0, 0, 0.995974183, -0.0896407068, 0, 0.0896407068, 0.995974183)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- sounds(Torso,"263609809",1.6,.8,42)
- local function bawlie(cf)
- local refsa=parts(e,"delet",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,1,0)
- refsa.Anchored=true
- refsa.CFrame=cf
- meshs(refsa,"Mesh",Vector3.new(8,8,8),Enum.MeshType.Sphere,"")
- local ready=create("StringValue"){
- Parent=refsa,
- Name="eaat"}
- local cf2=refsa.CFrame
- coroutine.resume(coroutine.create(function(p)
- while ready.Parent~=nil do
- swait()
- p.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- p.CFrame=clerp(p.CFrame,cf2*CFrame.new(0,-5,0),.1)
- end
- sounds(p,"1506796475",2,1.1,45)
- local ha=p.Position
- local dec=CFrame.new(ha,mouse.Hit.p)
- dec=dec*CFrame.Angles(math.rad(5), 0, 0)
- coroutine.resume(coroutine.create(function()
- for i=1,50 do
- swait()
- local hit,pos=rayCast(ha,dec.LookVector,20,chr)
- local ma=(ha-pos).magnitude
- Effect(e,"Black",CFrame.new((ha+pos)/2,pos),5,5,ma*10,0,0,0,.025,"Sphere",6,0,"")
- Effect(e,"Bright blue",CFrame.new(pos,ha)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),0.015,0.015,0.015,.006,0,.006,.06,"FileMesh",6,0,"662585058")
- ha=ha+(dec.LookVector*15)
- dec=dec*CFrame.Angles(math.rad(-1), 0, 0)
- p.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- p.CFrame=CFrame.new(pos)
- if hit~=nil then
- break
- end
- end
- p.Transparency=1
- sounds(p,"334325056",2,math.random(8,11)/10,42)
- Mdamage("Vanish",p,15,999999,0,"")
- CameraShake(130,p,23,.07)
- Effect(e,"Black",p.CFrame,1,1,1,11,11,11,.05,"Sphere",6,0,"")
- local partzz=particles(refsa,"Bright blue","262059101",1,1,"Top",4,1,0,1,.5,.7,55,55,40,66666,false,20)
- local partzz2=particles(refsa,"Bright blue","262059101",1,1,"Top",4,1,0,1,.5,.7,55,55,45,66666,false,20)
- game:GetService("Debris"):AddItem(refsa,2)
- for i=1,4 do
- Effect(e,"Black",p.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-.3,-.3,-.3,.08,"Sphere",3,3.5,"")
- end
- for i=1,100 do
- swait()
- if partzz.Parent~=nil and partzz2.Parent~=nil then
- partzz.Color=ColorSequence.new(Color3.new(math.random(0,0),math.random(0,0),math.random(0,0)))
- partzz2.Color=ColorSequence.new(Color3.new(math.random(0,0),math.random(0,0),math.random(0,0)))
- end
- end
- end))
- end),refsa)
- end
- for i=0,1,0.05 do
- swait()
- if i<=.5 then
- bawlie(RArm.CFrame*CFrame.new(0,-1,0))
- bawlie(LArm.CFrame*CFrame.new(0,-1,0))
- end
- RJ.C0=clerp(RJ.C0,CFrame.new(2.14226751e-18, -0.0457382612, 0.155009478, 1, -4.64484513e-17, 6.02462978e-18, -4.68375339e-17, 0.991692901, -0.128628239, 0, 0.128628239, 0.991692901)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.42127192, -0.00416697748, 1, 0, 0, 0, 0.999850392, 0.0172935128, 0, -0.0172935203, 0.999850392)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.4)
- RS.C0=clerp(RS.C0,CFrame.new(1.98163998, 0.873565435, 0.0201046318, -0.421836048, -0.905915558, -0.0370308086, 0.886343598, -0.40343374, -0.22723642, 0.190917552, -0.12867856, 0.973135293)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2)
- LS.C0=clerp(LS.C0,CFrame.new(-1.82025039, 0.79746002, 0.307797283, -0.378967047, 0.875456512, 0.299933344, -0.910569668, -0.410572767, 0.0478864312, 0.165066928, -0.254962742, 0.952757657)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2)
- RH.C0=clerp(RH.C0,CFrame.new(0.500011444, -1.92461085, 0.40810293, 1, 0, 0, 0, 0.931678057, 0.363285214, 0, -0.363285214, 0.931678057)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.500021935, -2.05486965, -0.21334517, 1, 0, 0, 0, 0.985862494, 0.167556643, 0, -0.167556643, 0.985862494)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- local la=true
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(e:children()) do
- if v:IsA("BasePart") then
- if v.Name=="delet" and v:findFirstChild("eaat")~=nil then
- swait(5)
- v:findFirstChild("eaat"):Remove()
- end
- end
- end
- la=false
- end))
- while la do
- swait()
- local aim = CFrame.new(Root.Position, mouse.Hit.p)
- local direction = aim.lookVector
- local headingA = math.atan2(direction.x, direction.z)
- local headingA = math.deg(headingA)
- Root.CFrame = clerp(Root.CFrame,CFrame.new(Root.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)), 0.2)
- RJ.C0=clerp(RJ.C0,CFrame.new(-4.76837158e-07, -0.176395267, -0.423569888, 1, -9.43278019e-16, -2.78697451e-16, -9.83588211e-16, 0.959017217, 0.283347696, 0, -0.283347696, 0.959017217)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.50002122, -1.93715096e-07, 1, 0, 0, 0, 0.987212658, -0.159408718, 0, 0.159408718, 0.987212658)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.4)
- RS.C0=clerp(RS.C0,CFrame.new(0.874555171, 0.559967935, -1.4063257, 0.117977969, 0.143937007, 0.982529044, 0.991095722, -0.0785759836, -0.107495487, 0.0617306083, 0.986462355, -0.151925579)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-0.897915959, 0.606119514, -1.31571245, -0.00645399885, -0.111725032, -0.993718207, -0.997459531, -0.0697810501, 0.0143238734, -0.0709430426, 0.991286099, -0.110990822)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.500013828, -2.07384253, 0.196068972, 1, 0, 0, 0, 0.978336275, 0.207022518, 0, -0.207022518, 0.978336275)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.500480175, -1.73441887, -0.742031574, 0.998609364, 0.0527210087, 2.99964114e-07, -0.0494385287, 0.936436534, -0.347336292, -0.0183122028, 0.346853256, 0.937740624)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- hum.WalkSpeed=80
- hum.JumpPower=50
- attack=false
- end
- function Pestilence()
- if energyz<39 then return end
- attack=true
- energyz=energyz-40
- hum.WalkSpeed=0
- hum.JumpPower=0
- for i=0,1,0.03 do
- swait()
- RJ.C0=clerp(RJ.C0,CFrame.new(-0.109999478, -0.0900001153, 3.34624201e-06, 0.995994866, -0.0894107893, 4.54813971e-06, 0.0891981795, 0.993623018, -0.0689720213, 0.00616232306, 0.0686961859, 0.997618675)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(0.035308253, 1.51175368, 0.0761132538, 0.995994866, 0.0874058902, -0.0188282058, -0.0894107893, 0.973671913, -0.209687769, 4.54813971e-06, 0.210531399, 0.977587163)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RS.C0=clerp(RS.C0,CFrame.new(1.30072892, 1.40437829, 0.165864289, 0.973257005, 0.0476608127, 0.224720687, 0.0312375426, -0.99661231, 0.0760819763, 0.227585509, -0.0670276135, -0.971448481)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-1.52046657, 0.175289735, 0.558666945, 0.86003536, 0.38282156, 0.337323308, -0.5070858, 0.714624286, 0.481846809, -0.0565980934, -0.585457087, 0.808725476)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.512844384, -2.00451875, -0.0856648982, 0.995108545, 0.0145350099, -0.0977129042, -0.0160327628, 0.999765515, -0.0145604368, 0.0974783525, 0.0160558317, 0.995108247)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.717156053, -1.94897401, 0.138636678, 0.980003297, 0.13050665, 0.150205761, -0.155333281, 0.973542154, 0.16759263, -0.124359712, -0.187573254, 0.974346459)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- hum.WalkSpeed=80
- hum.JumpPower=50
- attack=false
- end
- function Death()
- if energyz<79 then return end
- attack=true
- energyz=energyz-80
- hum.WalkSpeed=0
- hum.JumpPower=0
- local refsa=parts(e,"delet",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,1,0)
- refsa.Anchored=true
- refsa.CFrame=Root.CFrame
- sounds(Torso,"1208650519",1.6,2,152)
- sounds(Torso,"190119264",1.6,.7,122)
- local shr=0
- local spinny=0
- for i=0,1,0.005 do
- swait()
- spinny=spinny+(i*25)
- shr=shr+.005
- refsa.CFrame=Root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(0,math.rad(spinny),0)
- Effect(e,"Black",refsa.CFrame*CFrame.new(0,0,8)*CFrame.Angles(-math.rad(20),0,0),8-shr,8-shr,8-shr,1-shr,1-shr,11-shr,.04,"Sphere",6,0,"")
- Effect(e,"Black",refsa.CFrame*CFrame.new(0,0,-8)*CFrame.Angles(math.rad(20),0,0),8-shr,8-shr,8-shr,1-shr,1-shr,11-shr,.04,"Sphere",6,0,"")
- Effect(e,"Black",refsa.CFrame*CFrame.new(0,0,22-(shr*9)),8-shr/2,8-shr/2,8-shr/2,1-shr,1-shr,11-shr,.04,"Sphere",3,1,"")
- Effect(e,"Black",refsa.CFrame*CFrame.new(0,0,-22+(shr*9)),8-shr/2,8-shr/2,8-shr/2,1-shr,1-shr,11-shr,.04,"Sphere",3,-1,"")
- Effect(e,"Black",refsa.CFrame,54-shr,1,54-shr,-1-shr,0,-1-shr,.04,"Sphere",6,0,"")
- RJ.C0=clerp(RJ.C0,CFrame.new(1.32975565e-15, -1.35194337, -0.38501215, 1, -6.27497095e-16, -7.57425491e-16, -9.83588211e-16, 0.637967229, 0.770063579, 0, -0.770063579, 0.637967229)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.30313385, 0.292271882, 1, 0, 0, 0, 0.871767879, -0.489919543, 0, 0.489919484, 0.871767819)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RS.C0=clerp(RS.C0,CFrame.new(1.56415081, 0.33967191, 0.395667434, 0.960198104, -0.279319882, 2.99167255e-07, 0.11502257, 0.395405889, 0.911276102, -0.254537672, -0.875005603, 0.411796063)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-1.67341113, 0.364146352, 0.713355005, 0.90936023, 0.384824455, 0.158032432, -0.291513026, 0.318441451, 0.902006269, 0.296790034, -0.866317093, 0.401759297)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.500013351, -2.00006914, 3.33786056e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.565299869, -0.425221235, -0.844812989, 0.999221027, 0.0394639112, 7.38906124e-07, -0.038844347, 0.983537078, -0.176482677, -0.00696542114, 0.17634514, 0.984303951)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- sounds(chr,"144699494",1.9,.8,200)
- sounds(chr,"898343616",1.6,2.5,52)
- Effect(e,"Black",CFrame.new(Root.Position),2,2,2,28,28,28,.03,"Sphere",6,0,"")
- Effect(e,"Black",CFrame.new(Root.Position),2,2,2,24,24,24,.03,"Sphere",6,0,"")
- Effect(e,"Black",CFrame.new(refsa.Position),2,2,2,44,.1,44,.02,"Sphere",6,0,"")
- Effect(e,"Black",CFrame.new(refsa.Position),2,2,2,24,.1,24,.01,"Sphere",6,0,"")
- Mdamage("Vanish",refsa,105,999999,0,"")
- CameraShake(60,Head,23,.04)
- coroutine.resume(coroutine.create(function(p)
- for i=1,100 do
- swait()
- spinny=spinny+7
- shr=shr-.2
- p.CFrame=p.CFrame*CFrame.Angles(0,math.rad(spinny),0)
- Effect(e,"Black",p.CFrame*CFrame.new(0,0,22-(shr*9)),8,8,8,4,4,25,.03,"Sphere",3,2,"")
- Effect(e,"Black",p.CFrame*CFrame.new(0,0,-22+(shr*9)),8,8,8,4,4,25,.03,"Sphere",3,-2,"")
- Effect(e,"Black",p.CFrame*CFrame.new(0,0,22-(shr*4)),8,8,8,4-shr/4,4-shr/4,4-shr/4,.04,"Brick",1,0,"")
- Effect(e,"Black",p.CFrame*CFrame.new(0,0,-22+(shr*4)),8,8,8,4-shr/4,4-shr/4,4-shr/4,.04,"Brick",1,0,"")
- Effect(e,"Black",p.CFrame*CFrame.new(22-(shr*4),0,0),8,8,8,4-shr/4,4-shr/4,4-shr/4,.04,"Brick",1,0,"")
- Effect(e,"Black",p.CFrame*CFrame.new(-22+(shr*4),0,0),8,8,8,4-shr/4,4-shr/4,4-shr/4,.04,"Brick",1,0,"")
- end
- end),refsa)
- for i=1,5 do
- Effect(e,"Bright blue",CFrame.new(Root.Position)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.015,0.015,0.07,.032,0,.032,.01,"FileMesh",1,0,"662585058")
- end
- for i=1,10 do
- Effect(e,"Bright blue",CFrame.new(Root.Position)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,130,4,4,34,.022,"Sphere",3,math.random(35,55)/8,"")
- end
- hum.Jump=true
- Root.Velocity=Root.CFrame.upVector*600
- hum.WalkSpeed=80
- hum.JumpPower=50
- attack=false
- end
- local hold=false
- function Charge()
- attack=true
- hum.WalkSpeed=0
- local ch=create("Sound"){
- Parent=Root,
- SoundId="rbxassetid://325166405",
- Volume=1.2,
- PlaybackSpeed=.8,
- MaxDistance=66666666,
- Name="Charge",
- Looped=true}
- ch:Play()
- local laal=0
- local spin=0
- while hold==true do
- swait()
- if ch.Parent~=nil then
- if ch.PlaybackSpeed<1.4 then
- ch.PlaybackSpeed=ch.PlaybackSpeed+.004
- else
- ch.PlaybackSpeed=1.4
- end
- end
- if laal<61 then
- laal=laal+.3
- end
- spin=spin+12.5
- if energyz>80 then
- energyz=80
- else
- energyz=energyz+.4
- end
- local angle=math.random(-360,360)
- local cff=math.random(-laal,laal)
- Effect(e,"Cool yellow",CFrame.new(Root.Position-Vector3.new(0,3,0))*CFrame.Angles(0,math.rad(angle),0)*CFrame.new(0,0,cff),9,9,9,0,18,0,.06,"Sphere",6,0,"")
- Effect(e,"Black",CFrame.new(Root.Position-Vector3.new(0,3,0))*CFrame.Angles(0,math.rad(angle),0)*CFrame.new(0,0,cff),2,2,2,3,3,3,.06,"Sphere",6,0,"")
- Effect(e,"Cool yellow",CFrame.new(Root.Position-Vector3.new(0,3,0))*CFrame.Angles(0,math.rad(spin),0)*CFrame.new(0,0,laal/10),3,3,3,laal/50,laal/100,laal/15,.04,"Sphere",3,.4,"")
- Effect(e,"Black",CFrame.new(Root.Position-Vector3.new(0,3,0))*CFrame.Angles(0,math.rad(spin),0)*CFrame.new(0,0,-laal/10),3,3,3,laal/50,laal/100,laal/15,.04,"Sphere",3,-.4,"")
- Effect(e,"Cool Yellow",CFrame.new(Root.Position-Vector3.new(0,3,0))*CFrame.Angles(0,-math.rad(spin),0)*CFrame.new(0,0,laal/10),3,3,3,laal/50,laal/100,laal/15,.04,"Sphere",3,.4,"")
- Effect(e,"Black",CFrame.new(Root.Position-Vector3.new(0,3,0))*CFrame.Angles(0,-math.rad(spin),0)*CFrame.new(0,0,-laal/10),3,3,3,laal/50,laal/100,laal/15,.04,"Sphere",3,-.4,"")
- RJ.C0=clerp(RJ.C0,CFrame.new(1.02846984e-18, -0.0219582412, 0.198129654, 1, -4.65525106e-17, 5.15930457e-18, -4.68375339e-17, 0.993914604, -0.110153213, 0, 0.110153221, 0.993914604)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.35421717, 0.201451331, 1, 0, 0, 0, 0.972063422, -0.234718233, 0, 0.234718204, 0.972063422)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RS.C0=clerp(RS.C0,CFrame.new(0.764084756, 1.19799054, -0.580140829, 0.800798833, 0.551890612, 0.232675821, 0.539628327, -0.496289253, -0.680072248, -0.259850979, 0.670159519, -0.695243716)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-0.734686971, 1.30991876, -0.749253631, 0.81135416, -0.560689807, -0.165321931, -0.480844438, -0.479335338, -0.734184086, 0.332404852, 0.675177455, -0.658515334)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.563076019, -1.97056615, 0.123631656, 0.9994331, -0.0336673707, -1.64074564e-07, 0.0333049558, 0.988673985, 0.146337539, -0.00492663775, -0.146254584, 0.989234746)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.500081599, -1.99176419, -0.00353491306, 0.998675108, 0.0514064878, 0.00236813235, -0.051147677, 0.986472547, 0.155743524, 0.00567012979, -0.15565829, 0.987794697)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- ch:Remove()
- sounds(Torso,"898343616",1.6,3,52)
- Effect(e,"Black",CFrame.new(Root.Position),2,2,2,25,25,25,.07,"Sphere",6,0,"")
- for i=1,3 do
- Effect(e,"New yeller",CFrame.new(Root.Position)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.015,0.015,0.07,.04,0,.04,.05,"FileMesh",6,0,"662585058")
- end
- for i=1,10 do
- Effect(e,"Really black",CFrame.new(Root.Position)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),9,9,260,0,0,0,.052,"Sphere",3,math.random(35,55)/10,"")
- end
- for i=0,1,0.06 do
- swait()
- RJ.C0=clerp(RJ.C0,CFrame.new(2.77600511e-18, -0.0592688173, -0.00473004393, 1, -4.29276099e-17, -1.87343257e-17, -4.68375339e-17, 0.916521609, 0.399985343, 0, -0.399985313, 0.916521609)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.57418072, 0.158952206, 1, 0, 0, 0, 0.933294177, -0.359113127, 0, 0.359113157, 0.933294177)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RS.C0=clerp(RS.C0,CFrame.new(1.67623544, 0.0419005454, 0.343464345, -0.726539195, -0.667423725, -0.163360283, -0.284634739, 0.508719802, -0.812519193, 0.625399172, -0.543828964, -0.559576809)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-1.73758888, 0.122349441, 0.454648793, -0.679090202, 0.717438936, 0.155299544, 0.40184021, 0.540384471, -0.7392627, -0.61429733, -0.439620346, -0.65526557)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.561949134, -1.96267104, -0.0518858135, 0.9994331, -0.0330524556, 0.00642008334, 0.033308018, 0.99843514, -0.0449206233, -0.00492529757, 0.0451090336, 0.998969913)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.493179351, -1.91908073, -0.562925696, 0.998674989, 0.0514201745, 0.00208261749, -0.0511487946, 0.987317026, 0.150296479, 0.0056720674, -0.150203854, 0.988638878)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- hum.WalkSpeed=80
- attack=false
- end
- mouse.Button1Down:connect(function()
- if attack==false then
- Attack()
- end
- end)
- glitchy=true
- setting=false
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- if attack==false then
- if k=="z" then
- War()
- elseif k=="x" then
- Famine()
- elseif k=="c" then
- Pestilence()
- elseif k=="v" then
- Death()
- elseif k=="f" and hold==false then
- hold=true
- Charge()
- end
- end
- if k=="n" and glitchy==true then
- glitchy=false
- print'Glitchy disabled'
- elseif k=="n" and glitchy==false then
- glitchy=true
- print'Glitchy enabled'
- elseif k=="m" then
- if musicon==true and setting==false then
- setting=true
- for i=1,-.1,-.02 do
- swait()
- theme.Volume=i
- end
- theme.Volume=0
- musicon=false
- setting=false
- print'Muted theme'
- elseif musicon==false and setting==false then
- setting=true
- for i=0,1.1,.02 do
- swait()
- theme.Volume=i
- end
- theme.Volume=1
- musicon=true
- setting=false
- print'Unmuted theme'
- end
- end
- end)
- musicon=false
- theme.Volume=0
- mouse.KeyUp:connect(function(k)
- k=k:lower()
- if k=="f" then
- if attack==true and hold==true then
- hold=false
- end
- end
- end)
- hum.WalkSpeed=80
- randommesh={"Brick","Sphere","Cylinder","Wedge","Head","Torso","Prism","Pyramid","ParallelRamp","RightAngleRamp","CornerWedge"}
- --doe=0
- randome=0
- while chr.Humanoid.Health>=0 do
- swait()
- sin=sin+cha
- --doe=doe+1
- script.Parent=S
- timeposit.Value=theme.TimePosition
- if theme.Parent==nil then
- theme=create("Sound"){
- Parent=Root,
- SoundId="rbxassetid://1847595044",
- Volume=4,
- PlaybackSpeed=1,
- MaxDistance=66666666,
- Name="Theme",
- Looped=true}
- if musicon==false then
- theme.Volume=0
- else
- theme.Volume=1
- end
- theme:Play()
- theme.TimePosition=timeposit.Value
- end
- if theme2.Parent==nil then
- theme2=create("Sound"){
- Parent=Root,
- SoundId="rbxassetid://155068827",
- Volume=0,
- PlaybackSpeed=1,
- MaxDistance=66666666,
- Name="Theme2",
- Looped=true}
- theme2:Play()
- end
- for _,v in pairs(m:children()) do
- if v:IsA("BasePart") then
- if v.Name=="Part2" or v.Name=="Part3" then
- v.Color=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- end
- end
- end
- S.Text="???: "..souls
- S.TextStrokeColor3=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- Frame22.ImageColor3=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- Frame2.BackgroundColor3=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- Frame222.ImageColor3=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- Frame12.BackgroundColor3=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- energy:TweenSize(UDim2.new(energyz/100, 0, .5, 0), "Out", "Quart", .7,true)
- energy.BackgroundColor3=Color3.new(math.random(0,0),math.random(0,0),math.random(0,0))
- if glitchy==true then
- randome=math.random(0,200)
- coroutine.resume(coroutine.create(function()
- if masd==false and randome>=198 then
- random()
- end
- end))
- end
- Effect(e,"Black",RArm.CFrame*CFrame.new(math.random(-8,8)/10,-1,math.random(-8,8)/10)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),math.random(5,25)/10,math.random(5,25)/10,math.random(5,25)/10,0,0,0,.15,randommesh[math.random(1,#randommesh)],3,math.random(1,6)/10,"")
- Effect(e,"Black",LArm.CFrame*CFrame.new(math.random(-8,8)/10,-1,math.random(-8,8)/10)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),math.random(5,25)/10,math.random(5,25)/10,math.random(5,25)/10,0,0,0,.15,randommesh[math.random(1,#randommesh)],3,math.random(1,6)/10,"")
- Effect(e,"Black",RLeg.CFrame*CFrame.new(math.random(-8,8)/10,-1,math.random(-8,8)/10)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),math.random(5,25)/10,math.random(5,25)/10,math.random(5,25)/10,0,0,0,.15,randommesh[math.random(1,#randommesh)],3,math.random(1,6)/10,"")
- Effect(e,"Black",LLeg.CFrame*CFrame.new(math.random(-8,8)/10,-1,math.random(-8,8)/10)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),math.random(5,25)/10,math.random(5,25)/10,math.random(5,25)/10,0,0,0,.15,randommesh[math.random(1,#randommesh)],3,math.random(1,6)/10,"")
- local torvel=(Root.Velocity*Vector3.new(1,0,1)).magnitude
- local velderp=Root.Velocity.y
- hitfloor,posfloor=rayCast(Root.Position,(CFrame.new(Root.Position,Root.Position-Vector3.new(0,1,0))).lookVector,4,chr)
- if Root.Velocity.y>1 and hitfloor==nil then
- Pose="Jump"
- if attack==false then
- RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -1.96717642e-15, -3.23117427e-27, -1.96717642e-15, 1, 0, -3.23117427e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(-1.50811866e-15, 1.53328252, -0.105512708, 1, -9.65555515e-16, -1.87479268e-16, -9.83588211e-16, 0.981666386, 0.190607473, 0, -0.190607473, 0.981666386)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RS.C0=clerp(RS.C0,CFrame.new(1.96311927, 0.717598915, -2.15279651e-05, -0.243770033, -0.969833136, -2.95076489e-20, 0.969833136, -0.243770033, 2.99999992e-05, -2.90949938e-05, 7.31310092e-06, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-2.01365447, 0.733620882, -2.20086258e-05, -0.221251935, 0.975216746, -2.95076489e-20, -0.975216746, -0.221251935, 2.99999992e-05, 2.92565019e-05, 6.63755782e-06, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.517426074, -1.33767843, -0.260697335, 0.999005377, -0.0445917249, 3.07562715e-07, 0.0414935239, 0.929597616, 0.366233051, -0.0163312498, -0.365868717, 0.930523276)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.500023365, -2.02809262, 0.300079763, 0.999494612, 0.031791687, 1.84533278e-07, -0.0309177674, 0.972018003, 0.232862845, 0.00740292482, -0.232745156, 0.972509623)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- elseif Root.Velocity.y<-1 and hitfloor==nil then
- Pose="Fall"
- if attack==false then
- RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -1.96717642e-15, -3.23117427e-27, -1.96717642e-15, 1, 0, -3.23117427e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(-1.50811866e-15, 1.53328252, -0.105512708, 1, -9.65555515e-16, -1.87479268e-16, -9.83588211e-16, 0.981666386, 0.190607473, 0, -0.190607473, 0.981666386)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RS.C0=clerp(RS.C0,CFrame.new(1.96311927, 0.717598915, -2.15279651e-05, -0.243770033, -0.969833136, -2.95076489e-20, 0.969833136, -0.243770033, 2.99999992e-05, -2.90949938e-05, 7.31310092e-06, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-2.01365447, 0.733620882, -2.20086258e-05, -0.221251935, 0.975216746, -2.95076489e-20, -0.975216746, -0.221251935, 2.99999992e-05, 2.92565019e-05, 6.63755782e-06, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.517426074, -1.33767843, -0.260697335, 0.999005377, -0.0445917249, 3.07562715e-07, 0.0414935239, 0.929597616, 0.366233051, -0.0163312498, -0.365868717, 0.930523276)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.500023365, -2.02809262, 0.300079763, 0.999494612, 0.031791687, 1.84533278e-07, -0.0309177674, 0.972018003, 0.232862845, 0.00740292482, -0.232745156, 0.972509623)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- elseif torvel<1 and hitfloor~=nil then
- Pose="Idle"
- if attack==false then
- RJ.C0=clerp(RJ.C0,CFrame.new(1.22366623e-17, -0.211257648-.1*math.cos(sin/35), -0.714965487, 1, -3.15325518e-17, -3.46331159e-17, -4.68375339e-17, 0.673232555, 0.739430845, 0, -0.739430845, 0.673232555)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.50119293, -0.280852467, 1, 0, 0, 0, 0.855522394, 0.51776588, 0, -0.51776588, 0.855522394)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.4)
- RS.C0=clerp(RS.C0,CFrame.new(1.37693977, 0.0222359002, -0.796125531, 1, 0.00018232307, -1.57257364e-05, -0.000123205609, 0.607224524, -0.794530213, -0.000135312148, 0.794530213, 0.607224464)*CFrame.new(0-.06*math.sin(sin/35),0-.14*math.sin(sin/35),0)*CFrame.Angles(0,0,math.rad(7-5*math.cos(sin/35))),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-1.28087401, -0.0217858553, -0.846214592, 0.9998281, -0.0177210998, 0.0054559405, 0.0152720995, 0.620183647, -0.784308076, 0.0105151162, 0.784256518, 0.620347738)*CFrame.new(0+.06*math.sin(sin/35),0-.14*math.sin(sin/35),0)*CFrame.Angles(0,0,math.rad(-7+5*math.cos(sin/35))),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.525504112, -1.81655793+.1*math.cos(sin/35), -0.729731381+.09*math.cos(sin/35), 0.998553514, -0.0537679717, 1.39796668e-06, 0.0361995436, 0.672261596, -0.739428103, 0.0397566147, 0.738358617, 0.673235536)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.54162389, -1.81382347+.1*math.cos(sin/35), -0.770666122+.09*math.cos(sin/35), 0.997969985, 0.0636859983, -1.78320795e-06, -0.0428768992, 0.671867311, -0.739429474, -0.0470901057, 0.73792845, 0.673234046)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
- end
- elseif torvel>2 and hitfloor~=nil then
- Pose="Walk"
- if attack==false then
- RJ.C0=clerp(RJ.C0,CFrame.new(9.55787759e-18, -0.144064459-.1*math.sin(sin/4), -0.699066877, 1, -3.76832584e-17, -2.78159433e-17, -4.68375339e-17, 0.804552555, 0.593881428, 0, -0.593881428, 0.804552555)*CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0+10*math.sin(sin/8))+Root.RotVelocity.Y/15,0),.4)
- Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.4488467, -0.16078867, 1, 0, 0, 0, 0.982314944, 0.187236458, 0, -0.187236458, 0.982314944)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.4)
- RS.C0=clerp(RS.C0,CFrame.new(1.32598093, .356423348, -.525048184, 0.998401344, -0.0565235764, -1.15024905e-05, 0.0431791507, 0.762824059, -0.645162821, 0.0364756882, 0.644130886, 0.764045119)*CFrame.new(0,0+.2*math.cos(sin/4),0+.9*math.cos(sin/8))*CFrame.Angles(math.rad(0-110*math.cos(sin/8)),math.rad(0+10*math.sin(sin/8)),math.rad(0+20*math.cos(sin/8))),.4)
- LS.C0=clerp(LS.C0,CFrame.new(-1.24205198, .3005640209, -.5085406351, 0.998760343, 0.0497460999, 0.00175931142, -0.0369899273, 0.765375912, -0.642519653, -0.0333093777, 0.641658068, 0.76626724)*CFrame.new(0,0+.2*math.cos(sin/4),0-.9*math.cos(sin/8))*CFrame.Angles(math.rad(0+110*math.cos(sin/8)),math.rad(0-10*math.sin(sin/8)),math.rad(0+20*math.cos(sin/8))),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0.525502503, -1.70216308+.1*math.sin(sin/4), -0.498282552+.6*math.cos(sin/8), 0.998553514, -0.0537679717, 1.39796668e-06, 0.0432601199, 0.803391159, -0.59387815, 0.0319305025, 0.593019187, 0.804554939)*CFrame.new(0,.3+.1*math.sin(sin/4),0-.9*math.sin(sin/8))*CFrame.Angles(math.rad(-15+80*math.sin(sin/8)),math.rad(0-5*math.cos(sin/8)),0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(-0.541623056, -1.74669824+.1*math.sin(sin/4), -0.531160712-.6*math.cos(sin/8), 0.997969985, 0.0636859983, -1.78320795e-06, -0.0512398668, 0.802920461, -0.593879759, -0.0378203951, 0.592674255, 0.804553807)*CFrame.new(0,.3+.1*math.sin(sin/4),0+.9*math.sin(sin/8))*CFrame.Angles(math.rad(-15-80*math.sin(sin/8)),math.rad(0+5*math.cos(sin/8)),0),.4)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement