Hiya, I'm trying to trigger a remote event if the player does not press "q" within 5 seconds. I currently have this and I was wondering how I could make it so that if "Alert" doesn't stop playing before 5 seconds then it triggers the remove event. Thanks
repeat
wait()
until script.Parent.Alert.IsPlaying == false

1 comment
After 5 seconds it should fire a remote server. I know how to do remote servers and all that its just I don't know how to get the repeat to know when 5 seconds has passed