Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

00:42:26.400 - parent is not a valid member of Model how does this work?

local car = game.ServerStorage.car
local botton = game.Workspace.bottonCar

local function createCarCopy ()
	clonedCar = car:Clone()
	clonedCar.parent = game.Players
end

while botton.Touched do
	createCarCopy()
	wait(3)
end

car = a model
botton = a part

1 answer

Instead of using the lowercase parent, use a capital

clonedCar.Parent = game.Players

the lowercase parent is looking for the model's parent rather than modifying it.

Also, remember to use codeblock when asking questions :)

This discussion is preserved as it was. New answers, comments, and votes are closed.