Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Teleporting Models Help?

Asked by
TrollD3 105
9 years ago

I want to make a gui that when they click a button, a car spans next to them Idk how to teleport models but I tried in the script below and of course is isn't working.

function OnClicked() 
for i, v in pairs(game.Workspace) do v.Car.CFrame = CFrame.new(Vector3.new(50, 50, 50)) -- Change numbers to whatever end

end
script.Parent.MouseButton1Down:connect(OnClicked)
0
When you tested it are there any outputs? Uroxus 350 — 9y
0
it says car get child is not a vaild member of workspace. TrollD3 105 — 9y

Answer this question