Using :moveto with player's speed at 0

heyY! im currently wondering how i can use :movetom with a player’s speed at 0.

It’s not possible. MoveTo is a humanoid function, so if the humanoid’s WalkSpeed is 0 it won’t do anything.

Curious, what are you trying to do here?

im trying to make a cooking system, where i disable the player’s speed, so the script does the whole cooking. do you know an alternative to making a player walk to a part with the speed at 0?

You could disable the player’s controls so they can’t move at all:

local player = game.Players.LocalPlayer
local playerControls = require(player:WaitForChild("PlayerScripts"):WaitForChild("PlayerModule")):GetControls()

local function setControlsEnabled(isEnabled)
if isEnabled then
playerControls:Enable()
else
playerControls:Disable()
end
end

1 Like

Ah, thank you so much!! I will try this.

1 Like