Hey there, I am working on a car spawner, but the one I currently have makes it so the car in Server Storage is right at the point where I want it. Therefore if I have multiple spawners, they all have to have cars with different names. This is the script:
script.Parent.MouseButton1Click:Connect(function(GetCar)
local Mod = game.ServerStorage.Cars.Camaro -- name of the car
local clone = Mod:Clone()
clone.Parent = workspace
clone:MakeJoints()
end)
That script is in a button which is on a GUI which opens when you click on a part. I would like to know if I could make it so the part would spawn a certain amount of studs away from the original part. I’ve tried doing research on the forum and online, but I can’t seem to find any results. Can anyone help?