I'm making a mystery box so you can get power-ups like speed boost, health boost, and invincible boost. But when I touch the box it stops working. Here's the script.
for i=1,5 do
for key, image in pairs(powerups) do
end
gui.Icon.Image = image --When it stops working
wait(0.2)
end
giveBoost(player)
end
