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

how to fix Position is not a valid member of Model "_____"?

local Studs = 0
local ModelClone = game.Workspace.Stage:Clone()

while true do
	ModelClone.Parent = game.Workspace
	ModelClone.Position = Vector3.new(studs, 0, 0)
	studs = studs + 58
	wait(30)
end 

1 answer

you can't set the Position of a model. You can only set position for parts, unions, wedgeparts, cornerwedgeparts and meshparts. Ik it's annoying but you just can't position entire Models. You can however, set a PrimaryPart of a model and position the primary part instead

5 comments

0

or the alternative way: Add a WeldConstraint to the parts and weld them to the appropriate parts then position one of them. You can treat WeldConstraint as a glue for parts

0

yes this means the script has no issue, you just can't position models lol

0

also it should be a server script, not a local script since Filtering Enabled makes it so that local scripts cannot change the server

0

You forgot NegativePart, also a member of the BasePart family.

0

oh ok, that will be noted

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