I have tried to solve this by publishing the model and then loading the published model into the game from a script, but then the bike stopped working?
I have a script the duplicates the model into the workspace, and that script is a server script. It goes from a local script getting the mouse click to sending a client to server event where the server clones the bike.
I have a feeling, it could be something related to the physics you are using. Would you be able to explain what physics you are using? (Like what constraints)
I’m using Quenty’s Weld script (The wheels used to fall of when it cloned so this stopped it from doing so), and my own body welder. Quenty’s weld script helps with the wheels and body not un-attaching. It works fine without being cloned. There all basic welds.
Is there any springs or something like that? Or is it all welds? Cause if there is a spring or something like that, sometimes that could be causing it to bug ot
It only contains welds, I dont really understand why the welds are going crazy. But it could be due to parts being pulled in different directions from the welds, and instead of stabilizing, it creates a chain reaction to every other part.
Right now I just made 5000 copy’s of the bike and put them into replicated storage so instead of cloning the bike, it can just teleport and set a new parent to the bike. I know this is a horrible solution but until I can figure out why its doing this I’m moving onto another part of my game.
I may know why. The different parts of your bike, have CanCollide on correct? Because since there are a lot of parts, with canCollide enabled the parts would be fighting with collisions plus the welds. Try turning off CanCollide, besides the wheels, and to ANCHOR the bike so it doesn’t turn to soup.
It turns out the bike only works and doesnt break is if the bike is cloned as soon as the player joins. So I didnt manually weld, but I made it so the bike regen would just teleport the bike that cloned as you joined.
So it turns out that the weld scripts that held the bike together were overlapping and glitching out. Manually welding using a plugin I have solved it. Thanks to everyone’s help! - Nervousmrmonkey24