Because Roblox needs a constant network connection, it can lag when your internet speed suffers. Close down all programs that are using the internet, including streaming platforms and music apps. You can also try restarting your router to see if that fixes your issue.