#Do roblox server scripts handle synchronously ?

1 messages · Page 1 of 1 (latest)

karmic canopy
#

Hello, I’m trying to understand how roblox server scripts handle multiple calls at the same time. Specifically, I want to know if server scripts execute synchronously meaning one call fully finishes before the next one starts or if there’s a chance that two calls can overlap and cause issues. For example, I have a system where the server checks some conditions, then “locks” a resource (like a microphone) so another player can’t use it at the same time. My question is : can a second player call the server in the tiny moment between the check and the lock, or does roblox handle this safely and always finish one execution before starting the next ?