Car GUI script slow

It doesn’t spawn that far from the player. Pretty close, I posted a clip above if you want to take a look.

That’s just how A-Chassis works. I couldn’t tell you exactly how, but any car spawner I’ve ever seen (ER:LC, ERR, etc.) always has a second of delay, I presume it has something to do with loading all the meshparts when the car is spawned. Though it is odd it takes so long, in mu experiences it takes no longer than 1-1.5 seconds.

1 Like

Really? Is there a workaround or different chassis I should be using? Basically we had a different chassis and you spawned inside the car and drove immediately. However, it didn’t work on mobile so we changed the chassis and now this is happening.

Hm. I don’t know of any other decent chassis that offer any of the same level of customization as A-Chassis, lemme contact my car guy and get back to you if there’s any sort of fix/workaround.

1 Like

thanks, really appreciate it.

/////////

Instead of trying anything else, you could just make a timer UI appear whenever the player clicks the button. Example:

“Spawning…”
(countdown)

1 Like

This is a good idea but was hoping to use it as a last resort. This is my first game, is this lag acceptable gameplay? I don’t think I have seen it in any games I have been in before.

What do you mean “lag?” I don’t think this will cause that much lag, it’s a simple UI with a countdown.

Well, in most games it seems you can spawn and drive a car immediately. Is have a 2 second countdown acceptable gameplay or will it turn users off?

2 seconds isn’t that much time in my opinion, users probably won’t even notice it. The UI will make sure they are aware that they have to wait a second or two, I also suggest adding the amount of time they have to wait somewhere in the UI.

Example:

“Please wait while we spawn the vehicle.”
(countdown)

2 Likes

If this solves your problem, make sure to close the thread!

It’s definitely 1 solution. I would still like to understand a little more of why this is happening, maybe it’s a new thread now that we have narrowed down the issue

1 Like