As you can see the filter is trying to filter out the player but it doesn't seem to work
1. You are creating a
Trace Structure, but you never use it to perform a trace.
Tip: Use a trace function like
util.TraceLine to perform the trace.
2. Your filter needs a little bit of tweaking. You don't need to filter a player, but a gamemode prop entity.
Usually, filtering the player entity would suffice, but not in this case. When you're a prop, you're looking directly at a gamemode prop entity, not at a player entity.
I don’t know which Prop Hunt version you are running. There are so many. It looks like most of them have some way to get the prop entity on the client-side. You will have to look at the gamemode source code to figure out how you can get the prop entity.
For example, in Wolvin's Prop Hunt: Enhanced, there's a
Player:GetPlayerPropEntity() function.