It prints but doesnt rain. it also doesnt stop after 15 seconds.
local result=0
local function tacorain()
while result==1 do
taclone=game.Workspace.Taco:Clone()
print("hi")
taclone.Position=Vector3.new(math.random(-255,255),100,math.random(-255,255))
taclone.CanCollide=false
taclone.touched:Connect(function()
taclone:Destroy()
end)
wait()
end
end
game.Workspace.Taco.Transparency=0
script.Parent.ClickDetector.MouseClick:Connect(function() -- this function makes the button move
--result=math.random(1,10)
result=1
tacorain()
script.Parent.Size=Vector3.new(0.2, 4, 1.5)
delay(0.5, function()
script.Parent.Size=Vector3.new(0.5, 4, 1.5)
end)
delay(15,function()
result=0
end)
end)
