Humanoid:MoveTo() is still not working properly

Hello! So I’ve made a previous post about this, Tornado :MoveTo() script not performing properly - #10 by ReturnedTrue, where I used a strategy of :GetChildren(). I wanted to modify this.

Here’s my new script:

local minX = -253.99
local maxX = 253.99
local minZ = -254.97
local maxZ = 254.97
local X = math.random(minX, maxX)
local Z = math.random(minZ, maxZ)
local Y = 82.793
while true do
	wait(.3)
	script.Parent.Humanoid:MoveTo(Vector3.new(X,Y,Z))
	script.Parent.Humanoid.MoveToFinished:Wait()
end

What it does is:

The funnel cloud moves to a location, then stops.

Thanks! :smiley:

4 posts were merged into an existing topic: Tornado :MoveTo() script not performing properly