Im making a PickPocket system, but the proximity prompt only show for the "police" team and not the other teams. How can i fix this? It does however show that there is a proximity prompt on the explorer on the client side
TeamService = game:GetService("Teams")
TeamService.Police.PlayerAdded:Connect(function(Player)
print(Player)
Player.CharacterAdded:Connect(function(Player)
local Proximity = Instance.new("ProximityPrompt")
local Hum = Player:WaitForChild("HumanoidRootPart")
Proximity.Parent = Hum
Proximity.HoldDuration = 1
Proximity.Triggered:Connect(function(Player)
print(Player.Name)
end)
end)
end)
