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

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

Asked by 3 years ago
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

Log in to vote
0
Answered by
NGC4637 602 Moderation Voter
3 years ago

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

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 NGC4637 602 — 3y
0
yes this means the script has no issue, you just can't position models lol NGC4637 602 — 3y
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 NGC4637 602 — 3y
0
You forgot NegativePart, also a member of the BasePart family. DeceptiveCaster 3761 — 3y
0
oh ok, that will be noted NGC4637 602 — 3y
Ad

Answer this question