Does Humanoid:Move speed is different than Humanoid.WalkSpeed?
afaik humanoid:move moves in a direction you provide and does use walkspeed.
So, if i want to create something like swimming vertically downward, is it good to make it like this?
RunService.PreRender:Connect(function()
Humanoid:Move(Vector3.new(0, -1, 0), false)
end)
Try it, I’m generally not sure what the outcome will be but in my head that won’t do anything
It does work, but idk if it’s just me or not but the speed looks different, btw I’m using WalkSpeed 200 when swimming
This is the video, Imgur: The magic of the Internet
I need to upload the video on imgur since it’s more than 10mb
i pretty sure there isnt any difference in speed but could be different due to it be computed using a script that makes it look more like a npc.
So i guess it’s just my eyes then? LOL
its not you only i can tell a difference as well.
Do you have any better way for Auto Swim down?
Cant you get os.clock upon holding down W and see how long it takes to reach the goal, then do same but start time on the line after hum:Move?
Do you mean changing the startTime every after the hum:Move?
No like do basically a race between moving there with normal walkspeed and moving there with hum:move and see how long each takes with os.clock. That way you can find out if the speed is the same or if there is some difference between the two
Can you give me example of how to do it accurately?
Userinputservice to capture keydown and check if it’s W, if so store os.clock()
in a variable like start
. Also have a function reacting when the goal is reached, like part.Touched or check hrp position on heartbeat, then that function running when the hrp gets to the goal should tell you os.clock() - start
Then do the same but instead of keydown you just store os.clock in a variable like start or such right after the hum:Move