Advertisement
anonymous321313

Untitled

Mar 26th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.59 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by Artkiller_exe")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87.  
  88. local c=workspace.CurrentCamera:GetChildren()
  89. for i=1,#c do
  90. c[i]:Destroy()
  91. end
  92. local debri=game:GetService("Debris")
  93. local Players=game:FindFirstChildOfClass("Players")
  94. local Lighting=game:FindFirstChildOfClass("Lighting")
  95. local PL=owner
  96. local Character=PL.Character local Humanoid=Character:FindFirstChildOfClass("Humanoid")script.Name="Phoenix The Undying"script.Parent=PL local HRP=Character.HumanoidRootPart
  97. local Active=false ca=workspace.CurrentCamera
  98. local name=""for i=1,20 do name=name..tostring(math.random(9))end
  99. pmusic=true
  100. local gc=PL:GetChildren()
  101. for i=1,#gc do
  102. if gc[i]:IsA("Sound")then gc[i]:Remove()end
  103. end
  104. 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
  105. local R15Mode if Humanoid.RigType==Enum.HumanoidRigType.R15 then R15Mode=true else R15Mode=false end
  106. 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
  107. local intro=false
  108. 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
  109. function createsound(soundid,volume)local s=Instance.new("Sound",workspace)s.SoundId=soundid s.PlayOnRemove=true s.Volume=volume return s end
  110. function selif(text,stime)
  111. local part=Instance.new("Part")part.CanCollide=false part.Anchored=true part.Transparency=1 part.Size=Vector3.new(0,0,0)
  112. local bb=Instance.new("BillboardGui",part)bb.AlwaysOnTop=true bb.Size=UDim2.new(1,0,1,0)part.Name=name
  113. 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"
  114. part.Position=Character.HumanoidRootPart.Position+Vector3.new(0,4,0)txt.TextColor3=Color3.new(1,.5,0)part.Parent=workspace txt.TextTransparency=1
  115. spawn(function()
  116. local ext=90
  117. while ext>0.3 do
  118. ext=ext/1.6
  119. txt.TextStrokeTransparency=ext/20 txt.TextTransparency=ext/20
  120. txt.TextSize=ext+30
  121. wait()
  122. end
  123. wait(stime)
  124. for i=0,1,.1 do
  125. txt.TextStrokeTransparency=i txt.TextTransparency=i wait()
  126. end part:Destroy()
  127. end)
  128. end
  129. function createeffect()
  130. 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
  131. 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)
  132. efcp.Name=name.."efc"return efcp
  133. end
  134. repeat wait() until game:owner and game:onwner plr=game:owner torso=Character.HumanoidRootPart local flying=false local deb=true local ctrl={f=0, b=0, l=0, r=0}
  135. local lastctrl={f=0, b=0, l=0, r=0}local maxspeed=100 local speed=0
  136. 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)
  137. bv.maxForce=Vector3.new(9e9, 9e9, 9e9)
  138. repeat wait()
  139. Character:FindFirstChildOfClass("Humanoid").PlatformStand=true
  140. if ctrl.l+ctrl.r~=0 or ctrl.f+ctrl.b~=0 then
  141. speed=maxspeed
  142. if speed > maxspeed then speed=maxspeed end elseif not (ctrl.l+ctrl.r~=0 or ctrl.f+ctrl.b~=0) and speed~=0 then
  143. speed=0
  144. if speed < 0 then speed=0 end end if (ctrl.l+ctrl.r)~=0 or (ctrl.f+ctrl.b)~=0 then
  145. 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
  146. 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
  147. 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)
  148. 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
  149. 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
  150. else flying=true Fly()end
  151. 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)
  152. 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()
  153. if intro then
  154. ca.CameraType="Fixed"Character.Torso.Anchored=true Humanoid.PlatformStand=true Humanoid.Health=1 wait(2)
  155. end
  156. local effect=createeffect()PL:ClearCharacterAppearance()
  157. local light=Instance.new("PointLight",Character.HumanoidRootPart)light.Color=Color3.new(1,.5,0)light.Brightness=1/0 light.Range=15
  158. spawn(function()
  159. if pmusic then music:Play()end
  160. 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)
  161. ca.CameraType="Custom"
  162. Character.Archivable=true
  163. while wait()do
  164. if Character:FindFirstChildOfClass("ForceField")~=nil then Character:FindFirstChildOfClass("ForceField").Visible=false else Instance.new("ForceField",Character)end
  165. if workspace:FindFirstChild(name.."efc")==nil or effect==nil then effect=createeffect()effect.CFrame=Character.HumanoidRootPart.CFrame effect.Parent=workspace end
  166. effect.CFrame=Character.HumanoidRootPart.CFrame PL.Character=Character ca.CameraSubject=Humanoid
  167. 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
  168. 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))
  169. local gc=Character:GetChildren()
  170. for i=1,#gc do
  171. 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
  172. end
  173. if flying or Active then Humanoid.PlatformStand=true else Humanoid.PlatformStand=false end Humanoid.WalkSpeed=10
  174. end
  175. end)
  176. game:GetService("UserInputService").InputBegan:connect(function(Key, Gpe)
  177. if not Gpe then
  178. if Key.KeyCode==Enum.KeyCode.Z and not Active then
  179. Active=true selif("Inferno!",0)playsound("rbxassetid://365002938",math.huge)
  180. 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)
  181. 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)
  182. 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)
  183. wait(.2)Active=false
  184. elseif Key.KeyCode==Enum.KeyCode.X and not Active then local pos=Character.HumanoidRootPart.CFrame
  185. selif("Infernal Cannon!",0)
  186. Active=true
  187. local s=createsound("rbxassetid://365002938",5)
  188. spawn(function()for i=1,18 do
  189. s.TimePosition=.2 s:Play()
  190. 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)
  191. 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)
  192. 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)
  193. 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()
  194. end)
  195. wait(.5)Active=false
  196. elseif Key.KeyCode==Enum.KeyCode.C and not Active then
  197. if Mouse.Hit~=nil then local pos=Mouse.Hit playsound("rbxassetid://222406108",9)
  198. 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)
  199. 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)
  200. 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)
  201. 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)
  202. 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)
  203. 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)
  204. end Character.HumanoidRootPart.CFrame=Mouse.Hit+Vector3.new(0,3,0)
  205. elseif Key.KeyCode==Enum.KeyCode.V and not Active then
  206. if Mouse.Hit~=nil then local pos=Mouse.Hit local s=createsound("rbxassetid://365002938",5)s.PlaybackSpeed=2 Active=true
  207. spawn(function()
  208. for i=1,30 do
  209. 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)
  210. 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)
  211. 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)
  212. wait(.05)s.TimePosition=.2 s:Play()
  213. end wait(.7)s.Volume=0 s:Destroy()end)wait(3)Active=false
  214. end
  215. elseif Key.KeyCode==Enum.KeyCode.G and not Active then --Nuke. Take care if you want to use.
  216. Active=true
  217. HRP.CFrame=CFrame.new(HRP.Position,Mouse.Hit.p)playsound("rbxassetid://201858045",math.huge,2)
  218. 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)
  219. 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)
  220. 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
  221. local pos=part.CFrame part:Destroy()playsound("rbxassetid://216782105",math.huge)
  222. 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)
  223. 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)
  224. 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)
  225. 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()
  226. end end)
  227. part.Parent=workspace
  228. Active=false
  229. elseif Key.KeyCode==Enum.KeyCode.B then
  230. 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)
  231. 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)
  232. 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)
  233. part.Parent=workspace
  234. elseif Key.KeyCode==Enum.KeyCode.P then
  235. if Ghost then Ghost=false else Ghost=true end
  236. elseif Key.KeyCode==Enum.KeyCode.M and not Active then
  237. Active=true
  238. 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?"
  239. selif(t[math.random(#t)])wait(1)Active=false
  240. end
  241. end
  242. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement