Wait() - You should avoid using this, I suggest changing it to something like RunService.Heartbeat:Wait() but that's your choice. If debounce then return end - Return if the event has already been fired.ĭebounce = false - If its 9 after midnight, debounce will be set to false for the next day. If currentTime = 8 then - Checks if it is 8 hours after midnight. Local currentTime = math.floor() - You can change this to GetMinutesBeforeMidnight if you want. Local debounce - Make sure this event doesn't fire several times Local intake = - This is the prisoner intake status Here is my fix to this: local intakeAlert = If the ingame time at runtime was 2, then the time variable would remain 2 until the script is stopped. Second, you setup your variable at runtime, meaning its value is static. local Time = math.floor (game.Lighting:GetMinutesAfterMidnight(480/60))įirst things first, GetMinutesAfterMidnight() doesn't take any parameters. The main reason is probably your time variable. also tried to reinstall Roblox Studio, Running it as an Administrator, Deleting it and Reinstalling it, and it still says the same thing. After reading your code, the reason I can say that the reason it is not running is because of this line of code: if Time = 8 then - Checks if it is 8 hours after midnight. Hello, some days ago i tried to open roblox studio, but instead of letting me login, this happens: the problem still happens as of right now, in the logs it even says that the user is banned while it's not.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |