Advertisement
OofNoob

Phoenix (Fire Ghost or Burning Man)

Mar 20th, 2018
818
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.97 KB | None | 0 0
  1. local c=workspace.CurrentCamera:GetChildren()
  2. for i=1,#c do
  3. c[i]:Destroy()
  4. end
  5. local debri=game:GetService("Debris")
  6. local Players=game:FindFirstChildOfClass("Players")
  7. local Lighting=game:FindFirstChildOfClass("Lighting")
  8. local PL=Players.LocalPlayer
  9. local Character=PL.Character local Humanoid=Character:FindFirstChildOfClass("Humanoid")script.Name="Phoenix The Undying"script.Parent=PL local HRP=Character.HumanoidRootPart
  10. local Active=false ca=workspace.CurrentCamera
  11. local Ghost=true local Mouse=PL:GetMouse()
  12. local name=""for i=1,20 do name=name..tostring(math.random(9))end
  13. pmusic=true
  14. local gc=PL:GetChildren()
  15. for i=1,#gc do
  16. if gc[i]:IsA("Sound")then gc[i]:Remove()end
  17. end
  18. 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
  19. local R15Mode if Humanoid.RigType==Enum.HumanoidRigType.R15 then R15Mode=true else R15Mode=false end
  20. 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
  21. local intro=false
  22. 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
  23. function createsound(soundid,volume)local s=Instance.new("Sound",workspace)s.SoundId=soundid s.PlayOnRemove=true s.Volume=volume return s end
  24. function selif(text,stime)
  25. local part=Instance.new("Part")part.CanCollide=false part.Anchored=true part.Transparency=1 part.Size=Vector3.new(0,0,0)
  26. local bb=Instance.new("BillboardGui",part)bb.AlwaysOnTop=true bb.Size=UDim2.new(1,0,1,0)part.Name=name
  27. 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"
  28. part.Position=Character.HumanoidRootPart.Position+Vector3.new(0,4,0)txt.TextColor3=Color3.new(1,.5,0)part.Parent=workspace txt.TextTransparency=1
  29. spawn(function()
  30. local ext=90
  31. while ext>0.3 do
  32. ext=ext/1.6
  33. txt.TextStrokeTransparency=ext/20 txt.TextTransparency=ext/20
  34. txt.TextSize=ext+30
  35. wait()
  36. end
  37. wait(stime)
  38. for i=0,1,.1 do
  39. txt.TextStrokeTransparency=i txt.TextTransparency=i wait()
  40. end part:Destroy()
  41. end)
  42. end
  43. function createeffect()
  44. 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
  45. 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)
  46. efcp.Name=name.."efc"return efcp
  47. end
  48. repeat wait() until game:FindFirstChildOfClass("Players").LocalPlayer and Character and Character:findFirstChild("HumanoidRootPart") and game:FindFirstChildOfClass("Players").LocalPlayer.Character:findFirstChild("Humanoid")
  49. 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}
  50. local lastctrl={f=0, b=0, l=0, r=0}local maxspeed=100 local speed=0
  51. 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)
  52. bv.maxForce=Vector3.new(9e9, 9e9, 9e9)
  53. repeat wait()
  54. Character:FindFirstChildOfClass("Humanoid").PlatformStand=true
  55. if ctrl.l+ctrl.r~=0 or ctrl.f+ctrl.b~=0 then
  56. speed=maxspeed
  57. if speed > maxspeed then speed=maxspeed end elseif not (ctrl.l+ctrl.r~=0 or ctrl.f+ctrl.b~=0) and speed~=0 then
  58. speed=0
  59. if speed < 0 then speed=0 end end if (ctrl.l+ctrl.r)~=0 or (ctrl.f+ctrl.b)~=0 then
  60. 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
  61. 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
  62. 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)
  63. 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
  64. 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
  65. else flying=true Fly()end
  66. 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)
  67. 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()
  68. if intro then
  69. ca.CameraType="Fixed"Character.Torso.Anchored=true Humanoid.PlatformStand=true Humanoid.Health=1 wait(2)
  70. end
  71. local effect=createeffect()PL:ClearCharacterAppearance()
  72. local light=Instance.new("PointLight",Character.HumanoidRootPart)light.Color=Color3.new(1,.5,0)light.Brightness=1/0 light.Range=15
  73. spawn(function()
  74. if pmusic then music:Play()end
  75. 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)
  76. ca.CameraType="Custom"
  77. Character.Archivable=true
  78. while wait()do
  79. if Character:FindFirstChildOfClass("ForceField")~=nil then Character:FindFirstChildOfClass("ForceField").Visible=false else Instance.new("ForceField",Character)end
  80. if workspace:FindFirstChild(name.."efc")==nil or effect==nil then effect=createeffect()effect.CFrame=Character.HumanoidRootPart.CFrame effect.Parent=workspace end
  81. effect.CFrame=Character.HumanoidRootPart.CFrame PL.Character=Character ca.CameraSubject=Humanoid
  82. 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
  83. 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))
  84. local gc=Character:GetChildren()
  85. for i=1,#gc do
  86. 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
  87. end
  88. if flying or Active then Humanoid.PlatformStand=true else Humanoid.PlatformStand=false end Humanoid.WalkSpeed=10
  89. end
  90. end)
  91. game:GetService("UserInputService").InputBegan:connect(function(Key, Gpe)
  92. if not Gpe then
  93. if Key.KeyCode==Enum.KeyCode.Z and not Active then
  94. Active=true selif("Inferno!",0)playsound("rbxassetid://365002938",math.huge)
  95. 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)
  96. 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)
  97. 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)
  98. wait(.2)Active=false
  99. elseif Key.KeyCode==Enum.KeyCode.X and not Active then local pos=Character.HumanoidRootPart.CFrame
  100. selif("Infernal Cannon!",0)
  101. Active=true
  102. local s=createsound("rbxassetid://365002938",5)
  103. spawn(function()for i=1,18 do
  104. s.TimePosition=.2 s:Play()
  105. 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)
  106. 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)
  107. 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)
  108. 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()
  109. end)
  110. wait(.5)Active=false
  111. elseif Key.KeyCode==Enum.KeyCode.C and not Active then
  112. if Mouse.Hit~=nil then local pos=Mouse.Hit playsound("rbxassetid://222406108",9)
  113. 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)
  114. 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)
  115. 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)
  116. 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)
  117. 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)
  118. 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)
  119. end Character.HumanoidRootPart.CFrame=Mouse.Hit+Vector3.new(0,3,0)
  120. elseif Key.KeyCode==Enum.KeyCode.V and not Active then
  121. if Mouse.Hit~=nil then local pos=Mouse.Hit local s=createsound("rbxassetid://365002938",5)s.PlaybackSpeed=2 Active=true
  122. spawn(function()
  123. for i=1,30 do
  124. 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)
  125. 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)
  126. 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)
  127. wait(.05)s.TimePosition=.2 s:Play()
  128. end wait(.7)s.Volume=0 s:Destroy()end)wait(3)Active=false
  129. end
  130. elseif Key.KeyCode==Enum.KeyCode.G and not Active then --Nuke. Take care if you want to use.
  131. Active=true
  132. HRP.CFrame=CFrame.new(HRP.Position,Mouse.Hit.p)playsound("rbxassetid://201858045",math.huge,2)
  133. 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)
  134. 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)
  135. 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
  136. local pos=part.CFrame part:Destroy()playsound("rbxassetid://216782105",math.huge)
  137. 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)
  138. 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)
  139. 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)
  140. 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()
  141. end end)
  142. part.Parent=workspace
  143. Active=false
  144. elseif Key.KeyCode==Enum.KeyCode.B then
  145. 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)
  146. 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)
  147. 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)
  148. part.Parent=workspace
  149. elseif Key.KeyCode==Enum.KeyCode.P then
  150. if Ghost then Ghost=false else Ghost=true end
  151. elseif Key.KeyCode==Enum.KeyCode.M and not Active then
  152. Active=true
  153. 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?"
  154. selif(t[math.random(#t)])wait(1)Active=false
  155. end
  156. end
  157. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement