-----------------------------------


wait(10)
script.Parent.Anchored = false

local bp = Instance.new("BodyPosition")
bp.Position = Vector3.new(
	script.Parent.Position.X,
	script.Parent.Position.Y+50,
	script.Parent.Position.Z
)
bp.MaxForce = Vector3.new(100000000,100000000,100000000)
bp.Parent = script.Parent

script.Parent.effect.Disabled = true
script.Parent.ChargeSphere.Enabled = false
script.Parent.ChargeGlow.Enabled = false
script.Parent.ChargeCircle.Enabled = false
script.Parent.ChargeCircle2.Enabled = false
script.Parent.ring.Enabled = false
script.Parent.Activate2.Enabled = false
script.Parent.zap.Enabled = false
script.Parent.Attachment.Flare.Enabled = false

script.Parent.Rise:Play()
script.Parent.radialneedles3.Disabled = false
wait(.7)
script.Parent.radialneedles3.Disabled = true
wait(0.8)



wait(1)
script.Parent.Attachment.bigglow:Emit(1)
script.Parent.crack:Play()
wait(2)
script.Parent.Attachment.bigglow:Emit(5)
script.Parent.crack2:Play()
wait(1.5)
script.Parent.Attachment.bigglow:Emit(20)
script.Parent.crack3:Play()
wait(0.5)



wait(0)
bp:Destroy()
local bp2 = Instance.new("BodyPosition")
bp2.Position = Vector3.new(
	script.Parent.Position.X,
	script.Parent.Position.Y+175,
	script.Parent.Position.Z
)
bp2.Parent = script.Parent

script.Parent.speedneedles.Disabled = false
script.Parent.holy_explosion:Play()
puff = Instance.new("Part")
puff.CanCollide = false
puff.Anchored = true
puff.Name = "hi lol"
puff.Transparency = 0.2
puff.BrickColor = BrickColor.new("Lily white")
puff.formFactor = "Custom"
puff.TopSurface = 0
puff.BottomSurface = 0
puff.Size = Vector3.new(3,3,3)
puff.Material = Enum.Material.Neon
puff.CastShadow = false
script.Mesh:clone().Parent = puff
local erase = script.FadeEx:clone()
erase.Parent = puff
erase.Disabled = false
puff.Parent = game.Workspace
puff.Position = script.Parent.Position
puff.CastShadow = false
wait(0.7)

local exp = Instance.new("Explosion")
exp.Position = script.Parent.Position
exp.BlastPressure = 10000
exp.BlastRadius = 70
exp.Visible = false
exp.Parent = workspace
script.Parent.holy_explosion:Stop()
script.Parent.speedneedles.Disabled = true
script.Parent.radialneedles2.Disabled = false
script.Parent.Anchored = true
script.Parent.Transparency = 1
script.Parent.CanCollide = false
script.Parent.radialneedles.Disabled = false
script.Parent.effect2.Disabled = false
script.Parent.FarBlam:Play()
script.Parent.heavencrash:Play()
script.Parent.build_up:Play()
puff = Instance.new("Part")
puff.CanCollide = false
puff.Anchored = true
puff.Name = "hi lol"
puff.Transparency = 0
puff.BrickColor = BrickColor.new("Daisy orange")
puff.formFactor = "Custom"
puff.TopSurface = 0
puff.BottomSurface = 0
puff.Size = Vector3.new(100,100,100)
puff.Material = Enum.Material.Neon
puff.CastShadow = false
script.Mesh:clone().Parent = puff
local erase = script.tweener4:clone()
erase.Parent = puff
erase.Disabled = false
puff.Parent = game.Workspace
puff.Position = script.Parent.Position
puff.CastShadow = false

script.Parent.light.Disabled = false



script.Parent.BlamEffect:Emit(1000)



print("Phase 2 - White hole")

plyrs = game.Players:GetChildren()


for i = 1,#plyrs do
	local rp = Instance.new("RocketPropulsion")
	plyrs[i].Character.Humanoid.PlatformStand = true
	
	rp.MaxSpeed = 0
	rp.Parent = plyrs[i].Character.HumanoidRootPart
	rp.MaxThrust = 10000
	rp.Target = script.Parent
	rp.TargetRadius = 30
	rp.ThrustP = 1000
	rp.ThrustD = 20000
	rp.TargetOffset = Vector3.new(50,340,50)

	
	rp:Fire()
	

	
	local nomnomnom = script.yeeeeeeeeet:Clone()
	nomnomnom.Parent = rp
	nomnomnom.Disabled = false
	wait(0.1)
	plyrs[i].Character.HumanoidRootPart.Velocity = Vector3.new(
		(math.random(-250,250)),
		(math.random(100,250)),
		(math.random(-250,250))
	)
end
wait(10)
script.Parent.Attachment.Flare:Emit(70)
script.Parent.Attachment.Star.Enabled = true
script.Parent.effect2.Disabled = true
script.Parent.radialneedles2.Disabled = true
script.Parent.Anchored = false
bp2:Destroy()
local bp3 = Instance.new("BodyPosition")
bp3.Position = Vector3.new(
	script.Parent.Position.X,
	script.Parent.Position.Y+20,
	script.Parent.Position.Z
)
bp3.Parent = script.Parent
wait(2)
print("Phase 3 - TOTAL DESTRUCTION")


plyrs = game.Players:GetChildren()


for i = 1,#plyrs do
	plyrs[i].Character.Humanoid.Health = 0
end
local whitescreenat3am = script.tweener5:Clone()
whitescreenat3am.Parent = game.Workspace
whitescreenat3am.Disabled = false
script.Parent.light2.Disabled = false
local EXPLOSION_SPREAD = 400