local x,y,z = getElementPosition(player)
local Vehicle = createVehicle(getVehicleModelFromName(vehicleName),x,y,z)
local compX,compY,compZ = getVehicleComponentPosition(Vehicle, \"bump_front_dummy\")
outputChatBox(partName)
outputChatBox(compX)
outputChatBox(\"syncing\")
setElementCollisionsEnabled(Vehicle,false)
setElementData(player,\"part:carryVehicle\", Vehicle)
setElementData(Vehicle,\"part:DummyVehicle\",true)
setElementData(Vehicle,\"part:unhidePartName\",partName)
attachElements(Vehicle, player)