This is a free script for anyone who needs a time schedule script. just put it in serverscriptservice!!
local L = game.Lighting.TimeOfDay
if L == "09:00:00" then
local msg = Instance.new("Hint")
while true do
msg.Text = "message here"
msg.Parent = game.Workspace
wait(5)
msg:Destroy()
end
end
you can loop the script. just not the “local L = game.Lighting.TimeOfDay” part. dont forget to not delete the "end"s!
Example of looping
if L == "09:00:00" then
local msg = Instance.new("Hint")
while true do
msg.Text = "message"
msg.Parent = game.Workspace
wait(5)
msg:Destroy()
end
end
if L == "09:00:00" then
local msg = Instance.new("Hint")
while true do
msg.Text = "message2"
msg.Parent = game.Workspace
wait(5)
msg:Destroy()
end
end