script.Parent.AssemblyAngularVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
script.Parent.Size = Vector3.new(script.Parent.Size.x*2,script.Parent.Size.y*2,script.Parent.Size.z*2)
script.Parent.Position = Vector3.new(script.Parent.Position.x,script.Parent.Position.y+10,script.Parent.Position.z)
script.Parent.Name = "t3"
a = 0
local aa=game.ReplicatedStorage.ex1:Clone()
local bb=game.ReplicatedStorage.ex2:Clone()
local cc=game.ReplicatedStorage.ex4:Clone()
aa.Parent = script.Parent
bb.Parent = script.Parent
cc.Parent = script.Parent
while wait(0.1) do
	a = a+0.09
	script.Parent.Touched:Connect(function(hit)
		if hit.Name == "t1" or hit.Name == "t2" then
			cc:Play()
			script.Parent.Size = Vector3.new(script.Parent.Size.x/2,script.Parent.Size.x/2,script.Parent.Size.x/2)
			script.Parent.Size = Vector3.new(hit.Size.x+script.Parent.Size.x,hit.Size.x+script.Parent.Size.x,hit.Size.x+script.Parent.Size.x)
			for i,x in pairs(game.ReplicatedStorage:GetChildren()) do
				repeat
					if x.Name == "Texture" then
						local xx = x:Clone()
						xx.Parent =script.Parent
					end
				until i
			end
			for i,x in pairs(script.Parent:GetChildren()) do
				repeat
					if x.Name == "tt" then
						x:Destroy()
					end
				until i
			end
			local s = game.ReplicatedStorage.s2:Clone()
			s.Parent = script.Parent
			hit:Destroy()
			wait(.7)
			cc:Stop()
			script:Destroy()
		else
			if hit.Name == "t3" then
				local i = script.Parent.Size.X
				repeat
					local a = Instance.new("Part",workspace)
					a.Shape = Enum.PartType.Ball
					a.Size = Vector3.new(1,1,1)
					a.Name = "t1"
					local b = game.ReplicatedStorage.s1:Clone()
					b.Parent = a
					local expo = game.ReplicatedStorage.pe:Clone()
					expo.Parent = script.Parent
					wait(0.1)
					script.Parent:Destroy()
				until i
				hit:Destroy()
			end
		end
	end)
	if a == script.Parent.Size.X then
		local i = script.Parent.Size.X
		repeat
			local a = Instance.new("Part",workspace)
			a.Shape = Enum.PartType.Ball
			a.Size = Vector3.new(1,1,1)
			a.Name = "t1"
			a.Position = Vector3.new(script.Parent.Position.x,script.Parent.Position.y+math.random(10,25),script.Parent.Position.z)
			local b = game.ReplicatedStorage.s1:Clone()
			b.Parent = a
			local expo = game.ReplicatedStorage.pe:Clone()
			expo.Parent = script.Parent
			wait(0.1)
		until i
		script.Parent:Destroy()
	end
end


function explode()
	local i = script.Parent.Size.X
	repeat
		local a = Instance.new("Part",workspace)
		a.Shape = Enum.PartType.Ball
		a.Size = Vector3.new(1,1,1)
		a.Position = Vector3.new(script.Parent.Position.x,script.Parent.Position.y+math.random(10,25),script.Parent.Position.z)
		a.Name = "t1"
		local b = game.ReplicatedStorage.s1:Clone()
		b.Parent = a
		local expo = game.ReplicatedStorage.pe:Clone()
		expo.Parent = script.Parent
		wait(0.1)
	until i
	script.Parent:Destroy()
end

at line 42-54 is where it is, this is a t3 script, and when I collided t3s together bcuz I was bored when it wasn't exploding after a while, then it summoned a crap ton of t2s which lagged the studio and the t2s were more than the t3 size.

t2s are supposed to bounce off t2s and t1s but get sucked up by t3s. t1s are supposed to merge with other t1s and get sucked up by t3s. t3s are black holes but they explode when they crash into each other.

I'm making a simulation.

1 comment

0

the t3 sizes were like 30+ and the other one is smaller but still 30+