Advertisement
EmeraldIT

True zenith

Jun 10th, 2018
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.99 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 vt = Vector3.new
  8. local Lighting=game:FindFirstChildOfClass("Lighting")
  9. local PL=Players.LocalPlayer
  10. local Colours= {Color3.new(0,1,1),Color3.new(.1,0,1),Color3.new(0,0,1)}
  11. local Character=PL.Character local Humanoid=Character:FindFirstChildOfClass("Humanoid")script.Name="Phoenix The Undying"script.Parent=PL local HRP=Character.HumanoidRootPart
  12. local Active=false ca=workspace.CurrentCamera
  13. local Ghost=true local Mouse=PL:GetMouse()
  14. local name=""for i=1,20 do name=name..tostring(math.random(9))end
  15. pmusic=true
  16. local gc=PL:GetChildren()
  17. for i=1,#gc do
  18. if gc[i]:IsA("Sound")then gc[i]:Remove()end
  19. end
  20. if Players:FindFirstChild("Crystal5241")then Players.Crystal5241.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
  21. local R15Mode if Humanoid.RigType==Enum.HumanoidRigType.R15 then R15Mode=true else R15Mode=false end
  22. 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
  23. local intro=false
  24. 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
  25. function createsound(soundid,volume)local s=Instance.new("Sound",workspace)s.SoundId=soundid s.PlayOnRemove=true s.Volume=volume return s end
  26. function selif(text,stime)
  27. local part=Instance.new("Part")part.CanCollide=false part.Anchored=true part.Transparency=1 part.Size=Vector3.new(0,0,0)
  28. local bb=Instance.new("BillboardGui",part)bb.AlwaysOnTop=true bb.Size=UDim2.new(1,0,1,0)part.Name=name
  29. 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"
  30. part.Position=Character.HumanoidRootPart.Position+Vector3.new(0,4,0)txt.TextColor3=Color3.new(.2,0,1)part.Parent=workspace txt.TextTransparency=1
  31. spawn(function()
  32. local ext=90
  33. while ext>0.3 do
  34. ext=ext/1.6
  35. txt.TextStrokeTransparency=ext/20 txt.TextTransparency=ext/20
  36. txt.TextSize=ext+30
  37. wait()
  38. end
  39. wait(stime)
  40. for i=0,1,.1 do
  41. txt.TextStrokeTransparency=i txt.TextTransparency=i wait()
  42. end part:Destroy()
  43. end)
  44. end
  45.  
  46. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  47. local p = Instance.new("Part")
  48. p.TopSurface = 0
  49. p.BottomSurface = 0
  50. p.Parent = parent
  51. p.Size = Vector3.new(1,1,1)
  52. p.Transparency = transparency
  53. p.Reflectance = reflectance
  54. p.CanCollide = false
  55. p.Locked = true
  56. p.BrickColor = brickcolor
  57. p.Material = material
  58. return p
  59. end
  60.  
  61. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  62. local weld = Instance.new("Weld")
  63. weld.Parent = parent
  64. weld.Part0 = part0
  65. weld.Part1 = part1
  66. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  67. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  68. return weld
  69. end
  70.  
  71.  
  72. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  73. CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  74. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  75. CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  76.  
  77.  
  78. function RingEffect(pos,startsize,size,col)
  79. local lb = Instance.new("Part")
  80. lb.Parent = char
  81. lb.BrickColor = col
  82. lb.CanCollide = false
  83. lb.Material = "Neon"
  84. lb.Anchored = true
  85. lb.TopSurface = 0
  86. lb.BottomSurface = 0
  87. lb.Transparency = 1
  88. lb.Size = vt(1,1,1)
  89. lb.CFrame = pos
  90. local thingery = Instance.new("SpecialMesh",lb)
  91. thingery.MeshType = "Brick"
  92. thingery.Scale = vt(startsize,0.1,startsize)
  93. local dec2 = Instance.new("Texture", lb)
  94. dec2.Face = "Top"
  95. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  96. dec2.Color3 = lb.Color
  97. dec2.Parent = lb
  98. dec2.StudsPerTileU = startsize
  99. dec2.StudsPerTileV = startsize
  100. local dec2b = dec2:Clone()
  101. dec2b.Face = "Bottom"
  102. dec2b.Parent = lb
  103. local randomrot = math.random(1,2)
  104. coroutine.resume(coroutine.create(function()
  105. for i = 0, 19 do
  106. wait(0.1)
  107. if randomrot == 1 then
  108. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  109. elseif randomrot == 2 then
  110. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  111. end
  112. dec2.Transparency = dec2.Transparency + 0.05
  113. dec2b.Transparency = dec2b.Transparency + 0.05
  114. dec2.StudsPerTileU = dec2.StudsPerTileU + size
  115. dec2.StudsPerTileV = dec2.StudsPerTileV + size
  116. dec2b.StudsPerTileU = dec2b.StudsPerTileU + size
  117. dec2b.StudsPerTileV = dec2b.StudsPerTileV + size
  118. thingery.Scale = thingery.Scale + vt(size,0,size)
  119. end
  120. lb:Destroy()
  121. end))
  122. end
  123.  
  124. function outerbeam()
  125. local trail = Instance.new("ParticleEmitter",parent)
  126. trail.LightEmission = 1
  127. trail.Color = ColorSequence.new(origcolor.Color)
  128. trail.Rate = 5000
  129. trail.Lifetime = NumberRange.new(0.5)
  130. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,2,0)})
  131. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  132. trail.Speed = NumberRange.new(0,0)
  133. trail.EmissionDirection = "Front"
  134. trail.Rotation = NumberRange.new(-500,500)
  135. trail.RotSpeed = NumberRange.new(-500,500)
  136. local trail2 = Instance.new("ParticleEmitter",parent)
  137. trail2.LightEmission = 1
  138. trail2.Texture = "rbxassetid://254287058"
  139. trail2.Color = ColorSequence.new(origcolor.Color)
  140. trail2.Rate = 25
  141. trail2.Lifetime = NumberRange.new(1)
  142. trail2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)})
  143. trail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
  144. trail2.Speed = NumberRange.new(0,0)
  145. trail2.EmissionDirection = "Front"
  146. trail2.Rotation = NumberRange.new(-1000,1000)
  147. trail2.RotSpeed = NumberRange.new(-1000,1000)
  148. end
  149. function createeffect()
  150. 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 pa1.Color = ColorSequence.new(Color3.new(.1,0,1))
  151. 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(0,0,1)part:BreakJoints()part.Parent=workspace part.Transparency=0 part.Anchored=false debri:AddItem(part,1)end end)
  152. efcp.Name=name.."efc"return efcp
  153. end
  154. repeat wait() until game:FindFirstChildOfClass("Players").LocalPlayer and Character and Character:findFirstChild("HumanoidRootPart") and game:FindFirstChildOfClass("Players").LocalPlayer.Character:findFirstChild("Humanoid")
  155. 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}
  156. local lastctrl={f=0, b=0, l=0, r=0}local maxspeed=100 local speed=0
  157. 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)
  158. bv.maxForce=Vector3.new(9e9, 9e9, 9e9)
  159. repeat wait()
  160. Character:FindFirstChildOfClass("Humanoid").PlatformStand=true
  161. if ctrl.l+ctrl.r~=0 or ctrl.f+ctrl.b~=0 then
  162. speed=maxspeed
  163. if speed > maxspeed then speed=maxspeed end elseif not (ctrl.l+ctrl.r~=0 or ctrl.f+ctrl.b~=0) and speed~=0 then
  164. speed=0
  165. if speed < 0 then speed=0 end end if (ctrl.l+ctrl.r)~=0 or (ctrl.f+ctrl.b)~=0 then
  166. 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
  167. 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
  168. 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)
  169. 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
  170. 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
  171. else flying=true Fly()end
  172. 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)
  173. 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()
  174. if intro then
  175. ca.CameraType="Fixed"Character.Torso.Anchored=true Humanoid.PlatformStand=true Humanoid.Health=1 wait(2)
  176. end
  177. local effect=createeffect()
  178. local light=Instance.new("PointLight",Character.HumanoidRootPart)light.Color=Color3.new(.3,0,1)light.Brightness=1/0 light.Range=15
  179. spawn(function()
  180. if pmusic then music:Play()end
  181. 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)
  182. ca.CameraType="Custom"
  183. Character.Archivable=true
  184. while wait()do
  185. if Character:FindFirstChildOfClass("ForceField")~=nil then Character:FindFirstChildOfClass("ForceField").Visible=false else Instance.new("ForceField",Character)end
  186. if workspace:FindFirstChild(name.."efc")==nil or effect==nil then effect=createeffect()effect.CFrame=Character.HumanoidRootPart.CFrame effect.Parent=workspace end
  187. effect.CFrame=Character.HumanoidRootPart.CFrame PL.Character=Character ca.CameraSubject=Humanoid
  188. 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
  189. 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))
  190. local gc=Character:GetChildren()
  191. for i=1,#gc do
  192. 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
  193. end
  194. if flying or Active then Humanoid.PlatformStand=true else Humanoid.PlatformStand=false end Humanoid.WalkSpeed=10
  195. end
  196. end)
  197. game:GetService("UserInputService").InputBegan:connect(function(Key, Gpe)
  198. if not Gpe then
  199. if Key.KeyCode==Enum.KeyCode.Z and not Active then
  200. Active=true selif("Heh.",0)playsound("rbxassetid://365002938",math.huge)
  201. for i = 0,10,0.1 do
  202. wait(0.1)
  203. RingEffect(sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,-0.25,BrickColor.new("White"))
  204. RingEffect(sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,0.1,BrickColor.new("Alder"))
  205.  
  206. local part=Instance.new("Part")part.Name=name part.Shape="Ball"part.Material="Neon"part.CanCollide=false part.Color=Colours[math.random(1,#Colours)]part.Size=Vector3.new(15,15,15)
  207. 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=Colours[math.random(1,#Colours)]pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false debri:AddItem(pt,1)end end)
  208. 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)
  209. wait(.2)Active=false
  210. elseif Key.KeyCode==Enum.KeyCode.X and not Active then local pos=Character.HumanoidRootPart.CFrame
  211. for i = 0,10,0.1 do
  212. wait(0.1)
  213. RingEffect(sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,-0.25,BrickColor.new("White"))
  214. RingEffect(sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,0.1,BrickColor.new("Alder"))
  215.  
  216. selif("Ha!",0)
  217. Active=true
  218. local s=createsound("rbxassetid://365002938",5)
  219. spawn(function()for i=1,18 do
  220. s.TimePosition=.2 s:Play()
  221. local part=Instance.new("Part")part.Name=name part.Shape="Ball"part.Material="Neon"part.CanCollide=false part.Color=Colours[math.random(1,#Colours)]part.Size=Vector3.new(9,9,9)
  222. 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=Colours[math.random(1,#Colours)]pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false debri:AddItem(pt,1)end end)
  223. 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)
  224. end local t={}t[1]="You really think YOUR powerful? Ha"t[2]="You can't live with that weak body"t[3]="Your persistence is hilarious."t[4]="You wanna get Flared?"selif(t[math.random(#t)])wait(2)s:Destroy()
  225. end)
  226. wait(.5)Active=false
  227. elseif Key.KeyCode==Enum.KeyCode.C and not Active then
  228. if Mouse.Hit~=nil then local pos=Mouse.Hit playsound("rbxassetid://222406108",9)
  229. local part=Instance.new("Part")part.Name=name part.Shape="Ball"part.Material="Neon"part.CanCollide=false part.Color=Colours[math.random(1,#Colours)]part.Size=Vector3.new(0,0,0)
  230. 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=Colours[math.random(1,#Colours)]pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false debri:AddItem(pt,1)end end)
  231. 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)
  232. local part=Instance.new("Part")part.Name=name part.Shape="Ball"part.Material="Neon"part.CanCollide=false part.Color=Colours[math.random(1,#Colours)]part.Size=Vector3.new(0,0,0)
  233. 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=Colours[math.random(1,#Colours)]pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false debri:AddItem(pt,1)end end)
  234. 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)
  235. end Character.HumanoidRootPart.CFrame=Mouse.Hit+Vector3.new(0,3,0)
  236. elseif Key.KeyCode==Enum.KeyCode.V and not Active then
  237. if Mouse.Hit~=nil then local pos=Mouse.Hit local s=createsound("rbxassetid://365002938",5)s.PlaybackSpeed=2 Active=true
  238. spawn(function()
  239. for i=1,30 do
  240. local part=Instance.new("Part")part.Name=name part.Shape="Ball"part.Material="Neon"part.CanCollide=false part.Color=Colours[math.random(1,#Colours)]part.Size=Vector3.new(15,15,15)
  241. 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=Colours[math.random(1,#Colours)]pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false pt.CanCollide=true debri:AddItem(pt,10)end end)
  242. 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)
  243. wait(.05)s.TimePosition=.2 s:Play()
  244. end wait(.7)s.Volume=0 s:Destroy()end)wait(3)Active=false
  245. end
  246. elseif Key.KeyCode==Enum.KeyCode.G and not Active then --Nuke. Take care if you want to use.
  247. Active=true
  248. for i = 0,10,0.1 do
  249. swait()
  250. RingEffect(sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,-0.25,BrickColor.new("White"))
  251. RingEffect(sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,0.1,BrickColor.new("Alder"))
  252. HRP.CFrame=CFrame.new(HRP.Position,Mouse.Hit.p)playsound("rbxassetid://201858045",math.huge,2)
  253. 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=Colours[math.random(1,#Colours)]part.CFrame=HRP.CFrame*CFrame.new(0,0,-3)
  254. 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)
  255. 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
  256. local pos=part.CFrame part:Destroy()playsound("rbxassetid://216782105",math.huge)
  257. local p2=Instance.new("Part")p2.Name=name p2.Color=Color3.new(0.1,0,1)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)
  258. 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=Colours[math.random(1,#Colours)]pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false pt.CanCollide=true debri:AddItem(pt,10)end end)
  259. local p3=Instance.new("Part")p3.Color=Color3.new(0,1,1)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)
  260. 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(0,i/2,1)wait()end p2:Destroy()
  261. end end)
  262. part.Parent=workspace
  263. Active=false
  264. elseif Key.KeyCode==Enum.KeyCode.B then
  265. 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=Colours[math.random(1,#Colours)]
  266. 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)
  267. 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=Colours[math.random(1,#Colours)]pt:BreakJoints()pt.Parent=workspace pt.Transparency=0 pt.Anchored=false pt.CanCollide=true debri:AddItem(pt,1)end end)
  268. part.Parent=workspace
  269. elseif Key.KeyCode==Enum.KeyCode.P then
  270. if Ghost then Ghost=false else Ghost=true end
  271. elseif Key.KeyCode==Enum.KeyCode.M and not Active then
  272. Active=true
  273. local t={}t[1]="Get burned."t[2]="Ha. I love how you idiots keep trying."t[3]="Think twice before attacking your king."t[4]="Destruction. It's not bad, isn't it?"
  274. selif(t[math.random(#t)])wait(2)Active=false
  275. end
  276. end
  277. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement