local printThis = coroutine.wrap(function()
game.Workspace.BasePlate.BrickColor = BrickColor.new(Color3.new(1,0,0))
wait(1)
game.Workspace.BasePlate.BrickColor = BrickColor.new(Color3.new(0,1,0))
end)
return printThis
I had a problem whenever someone triggers a module script and dies, the module script will stop. Please help. I can only run this a single time.

2 comments
wrap that coroutine in another function and call that instead
^ It makes it stop on death. Please listen