So, I’ve watched this YouTube tutorial on how to create a Spill System, whilst the actual spill system works I’ve added multiple spills in a folder, everything works, it adds a point when a spill mops up, everything works apart from the spawning the mop. I put a spawn script for the spills to spawn everytime a spill is mopped and it won’t work, whenever I join the game all the spills are just there.
This is the script:
local spills = game.Workspace.Spills:GetChildren()
while true do
local randomSpill = spills[math.random(1, #spills)]
randomSpill.Transparency = 0