Help with time.os()

So, I’ve been experimenting with scripting, and I saw a video about time.os().
The script didn’t work and I do not know why. If you can help it would be great.

local tts = os.time(1654033469)

function t ()
	script.Parent.CFrame.new(134.854, 264.363, 4.868)
end

if tts >= os.time() then
	print("Ct"..os.time()-tts)
end
if tts >= os.time() then
	script.Parent.CFrame.new(134.854, 264.363, 4.868)
end

If you could find the error that would be great.

Maybe try looking at How To Use os.time()?

1 Like

Okay I will try to look for an answer there

local tts = 1654033469
-- errorwaz here

function t()
	script.Parent.CFrame.new(134.854, 264.363, 4.868)
end

if tts >= os.time() then
	print("Ct"..os.time()-tts)
end
if tts >= os.time() then
	script.Parent.CFrame.new(134.854, 264.363, 4.868)
end
``` trythat