[HELP] Attach Model to players eye Bone?

So i’m trying to add a horse mask to my server and I can’t seem to figure out how to use these

Not saying I need someone to code the entire thing for me but I need a nudge in the right direction.

Entity:SetParent

Entity:LookupAttachment

The attachment name is “eyes.” Parent your model to the player using the “eyes” attachment ID, and it’ll function as you’d expect. You’ll need to follow up using

Entity:SetMoveType

Everything you need is in the wiki.

Use this function to make the entity follow the player.
ent:FollowBone( LocalPlayer(), 1 )

Consider using ent:LookupBone to find the proper BoneID rather than hardcoding it.