local Debounce = false script.Parent.MouseButton1Click:connect(function(GetCar) if Debounce == false then Debounce = true Mod = game.ServerStorage.RedCar clone = Mod:clone() clone.Parent = workspace clone:MakeJoints() wait(5) Debounce = false end end)
local Debounce = false
script.Parent.MouseButton1Click:connect(function(GetCar)
if Debounce == false then
Debounce = true
Mod = game.ServerStorage.RedCar
clone = Mod:clone()
clone.Parent = workspace
clone:MakeJoints()
wait(5)
Debounce = false
end
end)
found many script errors, your script is a bit messy (no offence), so I fixed it, hope it works
local Debounce = false script.Parent.MouseButton1Click:connect(function(GetCar) if Debounce == false then Debounce = true Mod = game.ServerStorage.RedCar:Clone() clone.Parent = workspace clone:MakeJoints() wait(5) Debounce = false end end)