How do i make a Part Appear at Night but, not morning.
COMMUNITY QUESTION
How do i make a Part Appear at Night? But not Morning.
1 answer
This a crazy guess and correct me if I'm wrong.
Throw this in a script somewhere and NOT a LocalScript .
Perhaps put this script in the part you want???
local Morning = game.Lighting.TimeofDay.--Right after that period, put the time of day you want here for morning.
local Night = game.Lighting.TimeofDay.--Right after that period, put the time of day you want here for Nighttime.
if Morning then
game.Workspace.WhateverPartYouWant.Transparency = 1
if Night then
game.Workspace.WhateverPartYouWant.Transparency = 0
Reply if this script works or not!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
but you didnt close the if statements and that only scans once