print("Armytruck touched this")
while true do
local player = game.Workspace.NPC
player.Humanoid:MoveTo(Vector3.new(0,0,0),game.Workspace.End.Position)
wait()
end
The error from Roblox Studio: Unable to cast value to object
Why do i get this error. What does it mean?

2 comments
do you know what line it says it on?
This Line: player.Humanoid:MoveTo(Vector3.new(0,0,0),game.Workspace.End.Position)