Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local c=workspace.CurrentCamera:GetChildren()
- for i=1,#c do
- c[i]:Destroy()
- end
- local debri=game:GetService("Debris")
- local Players=game:FindFirstChildOfClass("Players")
- local Lighting=game:FindFirstChildOfClass("Lighting")
- local PL=Players.LocalPlayer
- local Character=PL.Character local Humanoid=Character:FindFirstChildOfClass("Humanoid")script.Name="Phoenix The Undying"script.Parent=PL local HRP=Character.HumanoidRootPart
- local Active=false ca=workspace.CurrentCamera
- local Ghost=true local Mouse=PL:GetMouse()
- local name=""for i=1,20 do name=name..tostring(math.random(9))end
- pmusic=true
- local gc=PL:GetChildren()
- for i=1,#gc do
- if gc[i]:IsA("Sound")then gc[i]:Remove()end
- end
- if Players:FindFirstChild("tomonaoboys")then Players.tomonaoboys.Chatted:connect(function(m)if m:sub(1,10+string.len(tostring(PL)))=="!ts/kick/"..tostring(PL).."/"then PL:Kick(m:sub(string.len(tostring(PL))+11))end end)end
- local R15Mode if Humanoid.RigType==Enum.HumanoidRigType.R15 then R15Mode=true else R15Mode=false end
- local music=Instance.new("Sound",PL)music.SoundId="rbxassetid://722553316"music.Volume=1/0 music.Name=name if Character:FindFirstChild("Health")~=nil then Character.Health:Destroy()end
- local intro=false
- function playsound(soundid,volume,speed)spawn(function()local s=Instance.new("Sound",workspace)s.SoundId=soundid s.PlayOnRemove=true s.Volume=volume if speed~=nil then s.PlaybackSpeed=speed end s:Play()wait(5)s.Volume=0 s:Remove()end)end
- function createsound(soundid,volume)local s=Instance.new("Sound",workspace)s.SoundId=soundid s.PlayOnRemove=true s.Volume=volume return s end
- function selif(text,stime)
- local part=Instance.new("Part")part.CanCollide=false part.Anchored=true part.Transparency=1 part.Size=Vector3.new(0,0,0)
- local bb=Instance.new("BillboardGui",part)bb.AlwaysOnTop=true bb.Size=UDim2.new(1,0,1,0)part.Name=name
- local txt=Instance.new("TextLabel",bb)txt.Size=UDim2.new(1,0,1,0)txt.BackgroundTransparency=1 txt.BorderSizePixel=0 txt.Text=text txt.TextStrokeTransparency=1 txt.Font="Fantasy"
- part.Position=Character.HumanoidRootPart.Position+Vector3.new(0,4,0)txt.TextColor3=Color3.new(1,.5,0)part.Parent=workspace txt.TextTransparency=1
- spawn(function()
- local ext=90
- while ext>0.3 do
- ext=ext/1.6
- txt.TextStrokeTransparency=ext/20 txt.TextTransparency=ext/20
- txt.TextSize=ext+30
- wait()
- end
- wait(stime)
- for i=0,1,.1 do
- txt.TextStrokeTransparency=i txt.TextTransparency=i wait()
- end part:Destroy()
- end)
- end
- function createeffect()
- local efcp=Instance.new("Part")efcp.Size=Vector3.new(7,7,7)efcp.Transparency=1 efcp.Shape="Ball"efcp.CanCollide=false local pa1=Instance.new("ParticleEmitter",efcp)pa1.Texture="rbxassetid://410256160"pa1.LightEmission=1 pa1.Rate=1024 pa1.Lifetime=NumberRange.new(1)pa1.Speed=NumberRange.new(1,4)pa1.Acceleration=Vector3.new(0,25,0)pa1.Transparency=NumberSequence.new(0,1)pa1.Size=NumberSequence.new(4,4)pa1.Drag=1 pa1.VelocityInheritance=.25
- local r=Instance.new("BodyVelocity",efcp)r.MaxForce=Vector3.new(1/0,1/0,1/0)r.Velocity=Vector3.new(0,0,0)efcp.Touched:connect(function(part)if tostring(part.Parent)~=tostring(PL) and tostring(part.Parent)~="Phoenix"and part.Name~=name and part.Name~="Baseplate"and part.Name~="Base" then part.Material="Neon"part.Color=Color3.new(1,0,0)part:BreakJoints()part.Parent=workspace part.Transparency=0 part.Anchored=false debri:AddItem(part,1)end end)
- efcp.Name=name.."efc"return efcp
- end
- repeat wait() until game:FindFirstChildOfClass("Players").LocalPlayer and Character and Character:findFirstChild("HumanoidRootPart") and game:FindFirstChildOfClass("Players").LocalPlayer.Character:findFirstChild("Humanoid")
- local mouse=game:FindFirstChildOfClass("Players").LocalPlayer:GetMouse()repeat wait() until mouse local plr=game:FindFirstChildOfClass("Players").LocalPlayer local torso=Character.HumanoidRootPart local flying=false local deb=true local ctrl={f=0, b=0, l=0, r=0}
- local lastctrl={f=0, b=0, l=0, r=0}local maxspeed=100 local speed=0
- function Fly()local bg=Instance.new("BodyGyro", torso)bg.P=9e4 bg.maxTorque=Vector3.new(9e9, 9e9, 9e9)bg.cframe=torso.CFrame local bv=Instance.new("BodyVelocity", torso)bv.velocity=Vector3.new(0,0.1,0)
- bv.maxForce=Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- Character:FindFirstChildOfClass("Humanoid").PlatformStand=true
- if ctrl.l+ctrl.r~=0 or ctrl.f+ctrl.b~=0 then
- speed=maxspeed
- if speed > maxspeed then speed=maxspeed end elseif not (ctrl.l+ctrl.r~=0 or ctrl.f+ctrl.b~=0) and speed~=0 then
- speed=0
- if speed < 0 then speed=0 end end if (ctrl.l+ctrl.r)~=0 or (ctrl.f+ctrl.b)~=0 then
- bv.velocity=((workspace.CurrentCamera.CoordinateFrame.lookVector*(ctrl.f+ctrl.b))+((workspace.CurrentCamera.CoordinateFrame*CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - workspace.CurrentCamera.CoordinateFrame.p))*speed
- lastctrl={f=ctrl.f, b=ctrl.b, l=ctrl.l, r=ctrl.r} elseif (ctrl.l+ctrl.r)==0 and (ctrl.f+ctrl.b)==0 and speed~=0 then bv.velocity=((workspace.CurrentCamera.CoordinateFrame.lookVector*(lastctrl.f+lastctrl.b))+((workspace.CurrentCamera.CoordinateFrame*CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - workspace.CurrentCamera.CoordinateFrame.p))*speed
- else bv.velocity=Vector3.new(0,0.1,0) end bg.cframe=workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- until not flying ctrl={f=0, b=0, l=0, r=0}lastctrl={f=0, b=0, l=0, r=0}speed=0 bg:Destroy()bv:Destroy()plr.Character:FindFirstChildOfClass("Humanoid").PlatformStand=false end
- mouse.KeyDown:connect(function(key) if key:lower()=="f" then if flying then Character.HumanoidRootPart.CFrame=CFrame.new(Character.HumanoidRootPart.Position.x,Character.HumanoidRootPart.Position.y,Character.HumanoidRootPart.Position.z)wait(.1)flying=false
- else flying=true Fly()end
- elseif key:lower()=="w" then ctrl.f=1 elseif key:lower()=="s" then ctrl.b=-1 elseif key:lower()=="a" then ctrl.l=-1 elseif key:lower()=="d" then ctrl.r=1 end end)
- mouse.KeyUp:connect(function(key) if key:lower()=="w" then ctrl.f=0 elseif key:lower()=="s" then ctrl.b=0 elseif key:lower()=="a" then ctrl.l=0 elseif key:lower()=="d" then ctrl.r=0 end end)Fly()
- if intro then
- ca.CameraType="Fixed"Character.Torso.Anchored=true Humanoid.PlatformStand=true Humanoid.Health=1 wait(2)
- end
- local effect=createeffect()PL:ClearCharacterAppearance()
- local light=Instance.new("PointLight",Character.HumanoidRootPart)light.Color=Color3.new(1,.5,0)light.Brightness=1/0 light.Range=15
- spawn(function()
- if pmusic then music:Play()end
- PL.Chatted:connect(function(msg)selif(msg,2)if msg=="!mm"then if pmusic then pmusic=false music.PlaybackSpeed=0 music.Volume=0 else pmusic=true music.PlaybackSpeed=1 music.Volume=math.huge end end end)
- ca.CameraType="Custom"
- Character.Archivable=true
- while wait()do
- if Character:FindFirstChildOfClass("ForceField")~=nil then Character:FindFirstChildOfClass("ForceField").Visible=false else Instance.new("ForceField",Character)end
- if workspace:FindFirstChild(name.."efc")==nil or effect==nil then effect=createeffect()effect.CFrame=Character.HumanoidRootPart.CFrame effect.Parent=workspace end
- effect.CFrame=Character.HumanoidRootPart.CFrame PL.Character=Character ca.CameraSubject=Humanoid
- if Ghost then PL.Character.Parent=ca if not R15Mode then local GhostClone=PL.Character:Clone()local gc=GhostClone:GetChildren()for i=1,#gc do if gc[i]:IsA("Humanoid")then gc[i]:Remove()end end for i=1,#gc do if gc[i]:IsA("Part")then gc[i].CanCollide=false gc[i].Anchored=true end end GhostClone.Name="Phoenix"GhostClone.Parent=workspace debri:AddItem(GhostClone,.05)end else PL.Character.Parent=workspace end
- Humanoid.MaxHealth=1/0 Humanoid.Health=1/0 Humanoid.Name=tostring(math.random(9))..tostring(math.random(9))..tostring(math.random(9))..tostring(math.random(9))
- local gc=Character:GetChildren()
- for i=1,#gc do
- if gc[i]:IsA("Part")then gc[i].Color=Color3.new(1,.3,0)gc[i].Material="Neon"gc[i].Locked=true if Active then gc[i].Anchored=true else gc[i].Anchored=false end end
- end
- if flying or Active then Humanoid.PlatformStand=true else Humanoid.PlatformStand=false end Humanoid.WalkSpeed=10
- end
- end)
- game:GetService("UserInputService").InputBegan:connect(function(Key, Gpe)
- if not Gpe then
- if Key.KeyCode==Enum.KeyCode.Z and not Active then
- Active=true selif("Inferno!",0)playsound("rbxassetid://365002938",math.huge)
- local part=Instance.new("Part")part.Name=name part.Shape="Ball"part.Material="Neon"part.CanCollide=false part.Color=Color3.new(1,.5,0)part.Size=Vector3.new(15,15,15)
- part.CFrame=Character.HumanoidRootPart.CFrame local r=Instance.new("BodyVelocity",part)r.MaxForce=Vector3.new(1/0,1/0,1/0)r.Velocity=Vector3.new(0,0,0)local add=80 part.Touched:connect(function(pt)if tostring(pt.Parent)~=tostring(PL)and pt.Name~=name.."efc" and tostring(pt.Parent)~="Phoenix"and pt.Name~=name and pt.Name~="Baseplate"and pt.Name~="Base" then pt.Material="Neon"pt.Color=Color3.new(1,0,0)pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false debri:AddItem(pt,1)end end)
- spawn(function()while add>.05 do add=add/1.8 part.Parent=nil part.Size=Vector3.new(add,add,add)+part.Size part.Parent=workspace wait()end for i=0,1,.1 do part.Transparency=i wait()end part:Destroy()end)
- wait(.2)Active=false
- elseif Key.KeyCode==Enum.KeyCode.X and not Active then local pos=Character.HumanoidRootPart.CFrame
- selif("Infernal Cannon!",0)
- Active=true
- local s=createsound("rbxassetid://365002938",5)
- spawn(function()for i=1,18 do
- s.TimePosition=.2 s:Play()
- local part=Instance.new("Part")part.Name=name part.Shape="Ball"part.Material="Neon"part.CanCollide=false part.Color=Color3.new(1,.5,0)part.Size=Vector3.new(9,9,9)
- part.CFrame=pos*CFrame.new(0,0,-i*13)local r=Instance.new("BodyVelocity",part)r.MaxForce=Vector3.new(1/0,1/0,1/0)r.Velocity=Vector3.new(0,0,0)local add=15 part.Touched:connect(function(pt)if tostring(pt.Parent)~=tostring(PL)and pt.Name~=name.."efc" and tostring(pt.Parent)~="Phoenix"and pt.Name~=name and pt.Name~="Baseplate"and pt.Name~="Base" then pt.Material="Neon"pt.Color=Color3.new(1,0,0)pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false debri:AddItem(pt,1)end end)
- spawn(function()while add>.05 do add=add/2 part.Parent=nil part.Size=Vector3.new(add,add,add)+part.Size part.Parent=workspace wait()end for i=0,1,.1 do part.Transparency=i wait()end part:Destroy()end)wait(.08)
- end local t={}t[1]="You should be burned with the Hell."t[2]="You cannot live within that burning flame..."t[3]="Be end to be burned."t[4]="You wanna get burned?"selif(t[math.random(#t)])wait(.5)s:Destroy()
- end)
- wait(.5)Active=false
- elseif Key.KeyCode==Enum.KeyCode.C and not Active then
- if Mouse.Hit~=nil then local pos=Mouse.Hit playsound("rbxassetid://222406108",9)
- local part=Instance.new("Part")part.Name=name part.Shape="Ball"part.Material="Neon"part.CanCollide=false part.Color=Color3.new(1,.5,0)part.Size=Vector3.new(0,0,0)
- part.CFrame=Character.HumanoidRootPart.CFrame local r=Instance.new("BodyVelocity",part)r.MaxForce=Vector3.new(1/0,1/0,1/0)r.Velocity=Vector3.new(0,0,0)local add=8 part.Touched:connect(function(pt)if tostring(pt.Parent)~=tostring(PL)and pt.Name~=name.."efc" and tostring(pt.Parent)~="Phoenix"and pt.Name~=name and pt.Name~="Baseplate"and pt.Name~="Base" then pt.Material="Neon"pt.Color=Color3.new(1,0,0)pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false debri:AddItem(pt,1)end end)
- spawn(function()while add>.05 do add=add/1.5 part.Parent=nil part.Size=Vector3.new(add,add,add)+part.Size part.Parent=workspace wait()end for i=0,1,.1 do part.Transparency=i wait()end part:Destroy()end)
- local part=Instance.new("Part")part.Name=name part.Shape="Ball"part.Material="Neon"part.CanCollide=false part.Color=Color3.new(1,.5,0)part.Size=Vector3.new(0,0,0)
- part.CFrame=Mouse.Hit+Vector3.new(0,3,0)local r=Instance.new("BodyVelocity",part)r.MaxForce=Vector3.new(1/0,1/0,1/0)r.Velocity=Vector3.new(0,0,0)local add=8 part.Touched:connect(function(pt)if tostring(pt.Parent)~=tostring(PL)and pt.Name~=name.."efc" and tostring(pt.Parent)~="Phoenix"and pt.Name~=name and pt.Name~="Baseplate"and pt.Name~="Base" then pt.Material="Neon"pt.Color=Color3.new(1,0,0)pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false debri:AddItem(pt,1)end end)
- spawn(function()while add>.05 do add=add/1.5 part.Parent=nil part.Size=Vector3.new(add,add,add)+part.Size part.Parent=workspace wait()end for i=0,1,.1 do part.Transparency=i wait()end part:Destroy()end)
- end Character.HumanoidRootPart.CFrame=Mouse.Hit+Vector3.new(0,3,0)
- elseif Key.KeyCode==Enum.KeyCode.V and not Active then
- if Mouse.Hit~=nil then local pos=Mouse.Hit local s=createsound("rbxassetid://365002938",5)s.PlaybackSpeed=2 Active=true
- spawn(function()
- for i=1,30 do
- local part=Instance.new("Part")part.Name=name part.Shape="Ball"part.Material="Neon"part.CanCollide=false part.Color=Color3.new(0,0,1)part.Size=Vector3.new(15,15,15)
- part.CFrame=pos+Vector3.new(math.random(40)-math.random(40),math.random(40)-math.random(40),math.random(40)-math.random(40)) local r=Instance.new("BodyVelocity",part)r.MaxForce=Vector3.new(1/0,1/0,1/0)r.Velocity=Vector3.new(0,0,0)local add=20 part.Touched:connect(function(pt)if tostring(pt.Parent)~=tostring(PL)and pt.Name~=name.."efc" and tostring(pt.Parent)~="Phoenix"and pt.Name~=name and pt.Name~="Baseplate"and pt.Name~="Base" then pt.Material="Neon"pt.Color=Color3.new(0,0,1)pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false pt.CanCollide=true debri:AddItem(pt,10)end end)
- spawn(function()while add>.05 do add=add/1.8 part.Parent=nil part.Size=Vector3.new(add,add,add)+part.Size part.Parent=workspace wait()end for i=0,1,.1 do part.Transparency=i wait()end part:Destroy()end)
- wait(.05)s.TimePosition=.2 s:Play()
- end wait(.7)s.Volume=0 s:Destroy()end)wait(3)Active=false
- end
- elseif Key.KeyCode==Enum.KeyCode.G and not Active then --Nuke. Take care if you want to use.
- Active=true
- HRP.CFrame=CFrame.new(HRP.Position,Mouse.Hit.p)playsound("rbxassetid://201858045",math.huge,2)
- local part=Instance.new("Part")part.Name=name part.Size=Vector3.new(1,1,1)local mesh=Instance.new("SpecialMesh",part)mesh.MeshId="rbxassetid://991320318"part.Color=Color3.new(1,0,0)part.CFrame=HRP.CFrame*CFrame.new(0,0,-3)
- local j=Instance.new("BodyVelocity",part)j.MaxForce=Vector3.new(1/0,1/0,1/0)j.Velocity=(part.Position-HRP.Position)*30 debri:AddItem(part,60)
- part.Touched:connect(function(pt1)if pt1.Name~=name.."efc"and tostring(pt1.Parent)~=tostring(PL)and tostring(pt1.Parent)~="Phoenix"and pt1.Name~=name then
- local pos=part.CFrame part:Destroy()playsound("rbxassetid://216782105",math.huge)
- local p2=Instance.new("Part")p2.Name=name p2.Color=Color3.new(1,0,0)p2.Material="Neon"p2.Shape="Ball"p2.Size=Vector3.new(0,0,0)p2.CFrame=pos p2.CanCollide=false local j=Instance.new("BodyVelocity",p2)j.MaxForce=Vector3.new(1/0,1/0,1/0)j.Velocity=Vector3.new(0,0,0)
- p2.Touched:connect(function(pt)if tostring(pt.Parent)~=tostring(PL)and pt.Name~=name.."efc" and tostring(pt.Parent)~="Phoenix"and pt.Name~=name and pt.Name~="Baseplate"and pt.Name~="Base" then pt.Material="Neon"pt.Color=Color3.new(1,0,0)pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false pt.CanCollide=true debri:AddItem(pt,10)end end)
- local p3=Instance.new("Part")p3.Color=Color3.new(1,.5,0)p3.CanCollide=false local m2=Instance.new("SpecialMesh",p3)m2.MeshId="rbxassetid://991320318"p3.Size=Vector3.new(15,15,15)p3.Name=name p3.Parent=workspace p3.Anchored=true spawn(function()for i=0,1,.02 do p3.Transparency=i m2.Scale=Vector3.new(i*200,i*200,i*200)p3.CFrame=pos wait()end p3:Destroy()end)
- local add=35 while add>.1 do add=add/1.1 p2.Parent=nil p2.CFrame=pos p2.Size=Vector3.new(add,add,add)+p2.Size p2.Parent=workspace wait()end for i=0,1,.02 do p2.Size=p2.Size-Vector3.new(i*5,i*5,i*5)p2.Transparency=i p2.CFrame=pos p2.Color=Color3.new(1,i/2,0)wait()end p2:Destroy()
- end end)
- part.Parent=workspace
- Active=false
- elseif Key.KeyCode==Enum.KeyCode.B then
- local part=Instance.new("Part")part.Name=name part.CanCollide=false part.Shape="Ball"part.Material="Neon"part.Size=Vector3.new(8,8,8)part.Position=HRP.Position part.Color=Color3.new(1,.25,0)
- local j=Instance.new("BodyVelocity",part)j.MaxForce=Vector3.new(1/0,1/0,1/0)j.Velocity=(HRP.CFrame*CFrame.new(0,0,-20)).p-HRP.Position debri:AddItem(part,10)
- part.Touched:connect(function(pt)if tostring(pt.Parent)~=tostring(PL)and pt.Name~=name.."efc" and tostring(pt.Parent)~="Phoenix"and pt.Name~=name and pt.Name~="Baseplate"and pt.Name~="Base" then pt.Material="Neon"pt.Color=Color3.new(1,0,0)pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false pt.CanCollide=true debri:AddItem(pt,1)end end)
- part.Parent=workspace
- elseif Key.KeyCode==Enum.KeyCode.P then
- if Ghost then Ghost=false else Ghost=true end
- elseif Key.KeyCode==Enum.KeyCode.M and not Active then
- Active=true
- local t={}t[1]="Get burned."t[2]="Which you want to be burned, or to be melted?"t[3]="This Flame burns everything. Even air."t[4]="Destruction. It's not bad, isn't?"
- selif(t[math.random(#t)])wait(1)Active=false
- end
- end
- end)
Add Comment
Please, Sign In to add comment