I tried using the wait method on this event,so I can tell if this countdown is finished but I got an error.

wait is not a valid member of BindableEvent

Can you use the wait method on Bindable events,if you can how?

function Countdown (Start,End,Property)
	local event = script.CountdownFinished
	for i = Start,End do
		if Property == "None" then
			wait(1)
			print(i)
		else
			wait(1)
			Property = i
		end
		if i == End then
			event:Fire()
		end
	end
end

Countdown (1,10,"None")
script.CountdownFinished:wait()
print("Done")

1 comment

1

Apparently it can't. Looks like you'll have to have a local variable in this script to check for.