try this
if Raycast and Raycast.Instance:IsDescendantOf(v.Character) then
if DistanceCheck(TargetHRP, PlayerHrp, player, v) then
Create_ProximityPrompt(v)
end