``Please help! The text on my gui won't show up and need help if there's any please let me know down below.
local Clock = game:GetService("Lighting").ClockTime local Time = script.Parent.Time while true do wait(30) if Clock <= 14 then Time.Value = 6 script.Parent.Text = Time.Value .. ":" .. "00" .. "AM" end end
Aw, i think you should usePlayerGui
instead script.parent
So, it should be like this:
local Clock = game:GetService("Lighting").ClockTime local gui = game.Player.LocalPlayer:WaitForChild("PlayerGui") local Time = gui.frame.time --change this to your time object while true do wait(30) if Clock <= 14 then Time.Value = 6 script.Parent.Text = Time.Value .. ":" .. "00" .. "AM" end end
Hope i helped you!