rs = game:GetService("ReplicatedStorage") repeat wait() until rs:FindFirstChild("Map time") maptime = rs:FindFirstChild("Map time") while true do wait(.5) print(maptime.Value) script.Parent.Text = ("Time left: " .. (maptime.Value)) end
It prints the maptime but the text says "Time left: " and not "Time left: 200" or whatever the maptime is. Why is this?
Well, your problem is:
("Time left: " .. (maptime.Value))
So, try to use my script! It needs to work!
-- VARIABLES rs = game:GetService("ReplicatedStorage") maptime = rs:FindFirstChild("Map time") -- CODE repeat wait() until rs:FindFirstChild("Map time") while true do wait(.5) print(maptime.Value) script.Parent.Text = ("Time left: "..maptime.Value) -- You putted ("" .. (maptime.Value)) end