(Appears on first join as well but then every 24 hrs) keep the wait 20 please!

wait (20)
script.Parent:TweenPosition(UDim2.new(.500,.200,.45,0),"In","Quad", 3)

while wait() do
if game.Workspace.YesOrNo.Value == 1 then
	wait (3)
script.Parent:TweenPosition(UDim2.new(.500,.200,-1,0),"Out","Quad", 3)
wait(0.5)
end
end

2 comments

0

You need to get lastTimeFired and currentTime then compare the two

0

How do i do that?