Okay so, the vehicle itself is in Server Storage, I am trying to make it spawn at one of the spawning pads once bought. It brings me with an error of saying CFrame is not a valid member of “Crown Victoria”, what is the problem here?
local enabled = false
local price = 100
local player = script.Parent.Parent.Parent.Parent.Parent
local cash = player.leaderstats.Cash
local Spawn_Plate = game.Workspace.Vehicle_Spawns:GetChildren()
script.Parent.MouseButton1Click:Connect(function(GetCar)
if enabled == false and cash.Value >= price then
enabled = true
local Mod = game.ServerStorage['Crown_Victoria']
local clone = Mod:Clone()
local VehicleSpawn = Spawn_Plate[math.random(#Spawn_Plate)]
clone.CFrame = VehicleSpawn.CFrame
clone.Parent = workspace
clone:MakeJoints()
cash.Value = cash.Value - price
wait(25)
enabled = false
end
end)