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

Model.Position=Vector3.new is not working, but clone does?

it clones the taco but it isnt set int he position i tried to set it in Error: Position is not a valid member of tool

script.Parent.ClickDetector.MouseClick:Connect(function()
    script.Parent.Size=Vector3.new(2, 0.20, 2)
    delay(0.5,function() script.Parent.Size=Vector3.new(2, 0.49, 2)
    end)
    
    local tacoh = game.Workspace.Taco:Clone()
    tacoh.Parent=game.Workspace
    tacoh.Position=Vector3.new(math.random(-100,100),100,math.random(-100,100))
    
end)

2 comments

0

Model doesnt have a Position property, if you want to move a model either weld everything to a part and move that part, everything other then that part must be unachored or move each part inside that model indiviually

0

Models don't have a position property. Use :SetPrimaryPartCFrame() instead.

1 answer

Models don't have a position property. Use :SetPrimaryPartCFrame() instead.

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