game.Lighting:SetMintuesAfterMidnight(5*60) wait(1)

game.Lighting:SetMintuesAfterMidnight(6*60) wait(1)

game.Lighting:SetMintuesAfterMidnight(7*60) wait(1)

game.Lighting:SetMintuesAfterMidnight(8*60) wait(1)

game.Lighting:SetMintuesAfterMidnight(9*60)

mintuesAfterMidnight = 0

while true do

mintuesAfterMidnight = mintuesAfterMidnight + 1

game.Lighting:SetMintuesAfterMidnight(mintuesAfterMidnight)

wait(.1)

end

-- I don't understand why this simple day and night change script doesn't' work . I made it from my brain and didn't depend too much on the wiki

-- Please help , Its a simple answer probably .

2 comments

0

It's best to try the wiki before seeking out help here. You should also learn how to use a code block.

0

How do I use a code block and I already tried the wiki