Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How to make it so when you touch a part, the time of day turns into night?

Asked by 5 years ago

How to make it so when you touch a part,the time of the day changes into night

1 answer

Log in to vote
0
Answered by
Derzett 51
5 years ago

Part.Touched:Connect(function() game:GetService("Lighting"):SetMinutesAfterMidnight(0) end)

Ad

Answer this question