Please tell me what scripts u need if that here is not enough.
-replicated storage -ball -click detector -script:
local c = script.Parent local b = c.Parent
function Destroy() b:Destroy() end
c.MouseClick:Connect(Destroy)
-,,Generator" (round part) -script:
local r = game.ReplicatedStorage local b = r:WaitForChild("Ball") local g = script.Parent
local n local s local c local x local y
function Generate()
n = b:Clone()
s=math.random(4,40)
n.Size = Vector3.new(s,s,s)
x = math.random(-10,10)
y = math.random(-10,10)
n.Position = g.Position + Vector3.new(x,0,y)
n.Parent = g
n.BrickColor = BrickColor.random()
wait (0.2)
end
while true do
c = 100
wait(10)
print("New Game!")
for i = 1, 40,1 do
Generate()
end
for i = 1, 100,1 do
Generate()
wait(1)
c = c - 1
print ("Pozosta?o"..c.."s")
end
print ("Time ended!")
g:ClearAllChildren()
end
