Offset a Raycast origin relative to players rotation

I’m trying to offset my Rayorigin to the left of the character model, below is the script I’ve used to try this however I’ve learnt this doesn’t factor in the players rotation. I’m not sure at all how I would go about firing the ray relative to rotation, I’ve looked at other posts and they don’t seem as applicable to mine as they do it slightly differently to mine. Any help would be appreciated, I’m sure I’m tackling this from the wrong direction but I’m not a very experienced scripter.

local rayOrigin = Player.Character.HumanoidRootPart.Position -, 0, 0)