How can I make the ProximityPrompt invisible to each other only to certain teams?

I’m working on a handcuff system right now. So far I’ve created a basic handcuff system. The working principle of the handcuff system is a direct press-and-hold system by adding ProximityPrompt to the player character Torso. I made it up there and now I want to make it invisible to certain teams or invisible to certain teams, but I don’t know what to do. Even with Event I couldn’t find a solution. I need help now.

-- Local Script
if game.Players.LocalPlayer.Team.Name ~= "Police" then
ArrestProximityPrompt.Enabled = false
2 Likes