I used a code that move model that i named 'ladder'
Part = script.Parent
Model = game.Workspace:WaitForChild("Ladder")
Part.ClickDetector.MouseClick:connect(function()
Ladder:MoveTo(Vector3.new(177.331, 22.626, 100.366))
end)
This is the code, but i get
Workspace.Part.Script:5: attempt to index global 'Ladder' (a nil value)
error, so what is the problem?

3 comments
Model -> Ladder
you never defined a Ladder variable, instead, you defined a "Model" variable
Thanks