Hi! I’m currently making a game with a really big map and I have different towns which are in different Roblox games. I’m really wanting to make it so you can just teleport to the game while still being in the vehicle, but not sure if that’s possible or not. The vehicle has multiple values inside of it which could completely break the Chassis if not teleported correctly. It’s mostly emergency vehicles put in the game. So if lighting systems were on, I would want it so that you would teleport to the game in the same car, while still having your lights on. I’m not asking for a script, but I’m just wondering how this might be possible. I’ve seen things about DataStores to transfer things between games but I can’t find out if DataStores hold Models and if it would let the player auto sit in the car on teleport, or if it would keep the Chassis working during the transport. I use A-Chassis just so you know. I found a few things related to what I was searching for, but since I’m not really a big scripter, I honestly just got very confused at what I was looking at. Thanks!
Datastores don’t have to hold models, they can just hold values.
You can spawn the chassis from the data saved in the datastore, and apply all similar values that were in the chassis into the spawned one.
I would just have a it send over the vehicle’s name, and in the other place get the vehicle and teleport the players into it.
I’ll try this, it might take me a while since I’m not a great scripter, but thanks!
No worries! I hope this works out.
Just wondering, are DataStores able to actually hold models, or would it probably just break the entire chassis on the teleport. If they could, and I don’t know why I think this, it just seems a little bit easier. I’m still working on learning about DataStores for the other idea.
Datastores can’t store models. However, you can just store the name of the car and any relevant properties like fuel. Then, on the other game when they teleport, the car gets generated using the datastore.
Ok, I think I’m starting to understand it a little bit better now. Thanks!