So this script is supposed to move a part forward but an error message pops up that says this:
bad argument #1 to '?' (Vector3 expected, got userdata)
and I don't know what that means, here is the localscript:
plr = game.Players.LocalPlayer
mouse = plr:GetMouse()
function w(key)
if key:lower() == "w" then
script.Disabled = true
workspace.Char.Position = workspace.Char - Vector3.new(0,0,1)
script.Disabled = false
end
end
mouse.KeyDown:connect(w)

2 comments
Still says the same thing :/
I fixed it never mind. On line six i put 'workspace.Char.Position = workspace.Char.Position - Vector3.new(0,0,1)' and that seemed to fix it.