![]() ![]() Clean up the code that teleports the player outside when getting out of a seat and sets the “insideShip” property to true or false.(I’ve created the debounce variable for this but haven’t really utilized it yet) Created a debounce/cooldown for collision checks.When touching the teleport part from inside the ship, sometimes the player rapidly teleports outside then back in the ship.When getting out of the seat, sometimes the player is not teleported back outside.Sometimes countdown timer decreases in increments larger than 1.When touching teleport part, sometimes player teleports back and forth between seat and outside.I’ve listed some of the main issues below. ![]() This does sort of work some of the time, but I often run into a ton of bugs and glitches that need to be addressed. There are also some checks to teleport players back outside the ship when they exit their seats as well as stopping or resetting the countdown when players leave, but they don’t seem to be working much at all. Once it reaches zero all the players in the ship are sent to the main game via teleport service. Then, once there are enough players sitting in the ship, a countdown timer initiates. Currently, this is achieved by having players walk into a ship, collide with an invisible barrier part, and then get placed into a seat on the ship. We’re trying to create a system for a game’s lobby where players will join a queue to get into the main game. I was able to clean up some of the script to get it to at least kind of work, but there’s still a ton of bugs and I know this can be written better and I need some help. ![]() I’m currently helping a student work on their game’s lobby system where much of the scripting was done by another instructor. I work primarily on the art side of game dev, but I know my way around scripting in Roblox. Hi everyone! I work as a game dev instructor teaching kids how to make games in Roblox. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |