The tool spawns in workspace and gets picked up. I want to make it so whoever picks it up's team will be found, I've attempted it below.
local Blue = game.Teams.Blue
while true do
local p = game.Players:GetPlayerFromCharacter(script.Parent.Parent)
if p.Team == Blue then
print("Team Found")
wait(5)
end
end

2 comments
Kinda weird question can you give more detail?
Okay so the game has a ball and I want it so it will find the player's team that's holding the tool in their hand.