local Timer = game.Players.LocalPlayer.PlayerGui:WaitForChild("timer")
local CurrentTime = Timer:WaitForChild("timeLeft").Text
local AutoFarmEnabled = false
local WinPartPos = false
repeat wait(1)
until CurrentTime < (11..":"..58)
warn("Script Actiavted")
✓ ANSWER ACCEPTED
How to make something activated based on time with : in the time?
1 answer
✓ Accepted answer
11..":"..58 is not a value, do just do: until CurrentTime == ("11:58")
4 comments
0
Also still gives me an error
0
01:11:44.080 - Players.decrypod.PlayerGui.LocalScript:9: Malformed number
0
Edited, buddy.
0
also it wont work :) just keeps repeating time goes to 11:58
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Why not use == instead of < since < is comparing a string in this case.
Edited my answer.