The script does make my car spawn, but it doesn't spawn at the character's location. I get an error saying: "Position is not a valid member of Model 13:10:43.961 - Script 'Players.Player.PlayerGui.ScreenGui.Frame.TextButton.Script', Line 7 13:10:43.962 - Stack End" How can I get around this? The model is this: http://www.roblox.com/1983-Toyota-Sprinter-Trueno-GT-APEX-SS3-57-item?id=293696178
And here's the script:
function onClick()
local ae = game.Lighting.ae
local name = game.Players.LocalPlayer.Name
local char = game.Workspace:FindFirstChild(name)
local c = game.Lighting.ae:Clone()
c.Parent = game.Workspace
c.Position = Vector3.new(char.Torso)
end
script.Parent.MouseButton1Click:connect(onClick)
Thank you.

1 comment
Thanks! It works great!