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