Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make regen pad that can copy a car model and not remove the first one? [closed]

Asked by 4 years ago

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.

Closed as Not Constructive by JesseSong

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 4 years ago

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.

Ad