How do I make a sound stop playing at night, and start at day time? I'm trying to make birds sing at day, but not at night. It seems simple, but I can't find a solution.
To do this, I am guessing you have a day / night cycle script using ClockTime in the game. Try this:
local sound = [Locate your sound here] if game.Lighting.ClockTime >= 18 then sound:Stop() else if game.Lighting.ClockTime >= 7 and game.Lighting.Clockdown <= 17 then sound:Play() end end
[I did this from what I think, should work. So pls let me know if it wont work. {Try removing <= 17}. Also, if the time goes above 24 this will allways work as night]