So basically like someone from the 'Really black' team color brick touches this brick and because he is apart of the 'Really black' brick color team the gui sets off for everyone, and if someone from the 'Really red' team touches it nothing happens. Also when the player from the 'Really black' team walks off the brick the gui is removed for everyone.
ty for any possible help
local guipopup = script.Parent local gui = guipopup.NOTICE local v = guipopup.CFrame:vectorToWorldSpace(Vector3.new(guipopup.Size.X/2,guipopup.Size.Y/2,guipopup.Size.Z/2)) guipopup.Touched:connect(function(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player and not player.PlayerGui:FindFirstChild("NOTICE") then local clone = gui:Clone() clone.Parent = player.PlayerGui while wait(1) do not(player.Character.Torso.Position.x <= guipopup.Position.x + v.x and player.Character.Torso.Position.x >= guipopup.Position.x - v.x and player.Character.Torso.Position.y <= guipopup.Position.y + v.y + 18.5 and player.Character.Torso.Position.y >= guipopup.Position.y - v.y and player.Character.Torso.Position.z <= guipopup.Position.z + v.z and player.Character.Torso.Position.z >= guipopup.Position.z - v.z) then clone:Destroy() end end end end)