Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do i make a Part Appear at Night? But not Morning.

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!

1 comment

0

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

This discussion is preserved as it was. New answers, comments, and votes are closed.