What does this mean?

Hi Developers! I have this error while making a bobble head script?

Strafe blending disabled. No linear velocity information for “walk” and “run”.

What does this error mean?

Heres the code:

local char = script.Parent
local hum = char:WaitForChild(“Humanoid”)
local root = char:WaitForChild(“HumanoidRootPart”)

game:GetService(“RunService”).RenderStepped:Connect(function()
local Time = tick()
if hum.MoveDirection.Magnitude > 0 then
local speed = root.Velocity.Magnitude
local x = math.cos(Time * speed) / 2
local y = math.abs(math.sin(Time * speed)) / 2
local bobble = Vector3.new(x, y, 0)
hum.CameraOffset = hum.CameraOffset:Lerp(bobble, 0.1)
else
hum.CameraOffset = hum.CameraOffset * 1
end
end)

Thanks!

Ah, this is not an error is a WARN, is used to represent a level upper to a normal print and lower to an error, your code is good.

And the warn is because a new Roblox feature that is disabled in your game.

Good afternoon.

2 Likes

It does not have to do with your code, it’s just an error on Roblox’s part.

1 Like

Is there a way to get around the warn? Is there anything I should enable?

No, I think it only enables when a new place is created from that version. Anyways that is something that you don’t need to worry now, because it doesn’t affect your game in any.

1 Like