When Roblox events come around, the threads about it tend to get out of hand. Our current header image is from this game here! But like above, I don’t see much lag from this even when spamming a ton of spells via an autoclicker every 50 milliseconds.Roblox is a game creation platform/game engine that allows users to design their own games and play a wide variety of different types of games created by other users. ![]() The positions for each attachment is constantly randomized every RunService.Stepped event via a script inside each spell part. The spell trail effect, which (outside of a few certain spells) have two trails connected to two attachments. But even when I spam dozens of these spells at once, there is only a slight increase in lag. The spells are done via CFrame and constant raycasting everytime the RunService.Stepped event fires (only one connection to this event that updates every spell in the game currently moving). ![]() The main script that controls the spells, which is over 3k lines (mostly functions for each spell). There is also a script that checks the position of every player every 5 seconds to see which safe zone they’re closest to, which loops through every player and every part representing a “safe zone” (there are about 10 of these parts). Various loops, such as the Day/Night script that waits every 2 seconds. Outside of the map itself, there are three possible scripting reasons that may be a reason why it's lagging, but I kind of doubt that I’m thinking it’s the map itself, but I wasn’t the one who built it. ![]() Recently we’ve been having a lot of reports of lag, and I’m not really sure what is causing it. I’m the lead developer (well, scripter) for a group place right now.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |