Hey,
I am beginning to despair... as I am getting nowhere. I have a car spawner but players can spawn an infinite number of cars at once and when players leave the game the car remains there. and i can't manage to make a delete button for the cars .-.
now my question:
how do I make it so that player can spawn only 1 car, but if it then deletes the car it can spawn 1 again?
how do I make it that the car automatically despawns when the player leavs from the game?
How do I make a delete button for the current car he owns?
sry for the many questions but I've been trying for 1 month to do this.
Here is my car spawner script:
local rep = game:GetService("ReplicatedStorage")
local event = rep:FindFirstChild("VWPassat")
script.Parent.MouseButton1Click:Connect(function()
local plr = game.Players.LocalPlayer
event:FireServer(plr)
end)
if you need more, ask :)
With kind regards
VeoBlack (ExperienceHP)
