Im making a car game and i want the cars to regen but when a player already took a car and someone regen it it disappears and de spawns meaning the player who was originally riding the car despawned i want to make it so the cars do not despawn.
✓ ANSWER ACCEPTED
How to make regen pad that can copy a car model and not remove the first one?
1 answer
✓ Accepted answer
Its better if you create your own car regen system, ill list some things that may help you
HAS TO BE A SCRIPT
Clickdetector -- detecting the click
tables -- so you can create a cooldown table with all the players
tick() or os.time--for the cooldown so the player doesnt abuse it
:Clone() --cloning the car
Here are the wiki links:
https://developer.roblox.com/en-us/api-reference/class/ClickDetector
https://developer.roblox.com/en-us/articles/Table
https://devforum.roblox.com/t/tick-how-do-i-use-it/422677
https://developer.roblox.com/en-us/api-reference/function/Instance/Clone
If you have any questions, just ask them.
This discussion is preserved as it was. New answers, comments, and votes are closed.
