Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Regen Problems with vehicles?

I have trouble regening vehicles like when I get on a vehicle and drive it then someone steps on the regen button it disappears and then I have to walk back. Also how would I make it disappear when you get out of the vehicle or delete it in five seconds

1 answer

✓ Accepted answer

Try something like this.

local car = script.Parent.Car
local c = car:Clone()

script.Parent.Regen:connect(function()
	c:Clone().Parent = Workspace
end)

5 comments

0

do i put it in the regen button or model?

0

Let me modify it so it goes inside the model. Also, name the car "Car", and the button "Regen"

0

ok

0

It is kind of old

This discussion is preserved as it was. New answers, comments, and votes are closed.