local U=16 local v=require("\064\115\104\097\114\101\100\047\102\114\097\109\101")local r=require("\064\115\104\097\114\101\100\047\099\111\109\112\111\110\101\110\116\115")local L=require("\064\115\104\097\114\101\100\047\119\111\114\108\100")return v.on("\112\104\121\115\105\099\115",function()for v,r,L in(L:query(r.SimulatedRig,r.Input)):iter()do local I=r.root.CFrame:VectorToWorldSpace(L.move_vector)r.movement.VectorVelocity=I*U end end)
local WALKSPEED = 16

local frame = require("@shared/frame")
local components = require("@shared/components")
local world = require("@shared/world")

return frame.on("physics", function()
	for _, LocalHumanoid, HumanoidInput in world:query(components.SimulatedRig, components.Input):iter() do
		local world_move_vector = LocalHumanoid.root.CFrame:VectorToWorldSpace(HumanoidInput.move_vector)

		LocalHumanoid.movement.VectorVelocity = world_move_vector * WALKSPEED
	end
end)
