local player = game.Players.LocalPlayer local mouse = player:GetMouse() local TweenService = game:GetService("TweenService") local bricksFolder = workspace:WaitForChild("Bricks") local screenGui = Instance.new("ScreenGui") screenGui.Name = "OwnerNotifGui" screenGui.ResetOnSpawn = false screenGui.Parent = player:WaitForChild("PlayerGui") local function showOwnerNotification(ownerName) local old = screenGui:FindFirstChild("OwnerFrame") if old then old:Destroy() end local mainFrame = Instance.new("Frame") mainFrame.Name = "OwnerFrame" mainFrame.AnchorPoint = Vector2.new(1, 1) mainFrame.Position = UDim2.new(1, -20, 1, -20) mainFrame.Size = UDim2.new(0, 240, 0, 60) mainFrame.BackgroundTransparency = 1 mainFrame.Parent = screenGui local backdrop = Instance.new("Frame") backdrop.Name = "Backdrop" backdrop.Size = UDim2.new(1, 0, 1, 0) backdrop.BackgroundColor3 = Color3.fromRGB(20, 20, 20) backdrop.BackgroundTransparency = 0.35 backdrop.BorderSizePixel = 0 backdrop.Parent = mainFrame local titleBar = Instance.new("TextLabel") titleBar.Size = UDim2.new(1, 0, 0, 22) titleBar.BackgroundTransparency = 0.4 titleBar.BackgroundColor3 = Color3.fromRGB(25, 25, 25) titleBar.Text = "Brick Check" titleBar.TextColor3 = Color3.fromRGB(255, 100, 100) titleBar.TextSize = 14 titleBar.Font = Enum.Font.GothamBold titleBar.BorderSizePixel = 0 titleBar.Parent = mainFrame local titleStroke = Instance.new("UIStroke") titleStroke.Thickness = 1.2 titleStroke.Color = Color3.fromRGB(80, 80, 80) titleStroke.Parent = titleBar local label = Instance.new("TextLabel") label.Name = "OwnerLabel" label.BackgroundTransparency = 1 label.Size = UDim2.new(1, -10, 1, -22) label.Position = UDim2.new(0, 5, 0, 22) label.Font = Enum.Font.Gotham label.TextSize = 16 label.TextColor3 = Color3.fromRGB(100, 255, 120) label.TextWrapped = true label.Text = "Owner: " .. ownerName label.Parent = mainFrame task.delay(2, function() if not mainFrame.Parent then return end local fadeInfo = TweenInfo.new(3, Enum.EasingStyle.Sine) local backdropTween = TweenService:Create(backdrop, fadeInfo, { BackgroundTransparency = 1 }) local titleBarTween = TweenService:Create(titleBar, fadeInfo, { BackgroundTransparency = 1, TextTransparency = 1 }) local titleStrokeTween = TweenService:Create(titleStroke, fadeInfo, { Transparency = 1 }) local labelTween = TweenService:Create(label, fadeInfo, { TextTransparency = 1 }) backdropTween:Play() titleBarTween:Play() titleStrokeTween:Play() labelTween:Play() backdropTween.Completed:Connect(function() mainFrame:Destroy() end) end) end local function highlightBrick(part) local old = part:FindFirstChild("OwnerHighlight") if old then old:Destroy() end local highlight = Instance.new("Highlight") highlight.Name = "OwnerHighlight" highlight.FillColor = Color3.fromRGB(0, 120, 255) highlight.OutlineColor = Color3.fromRGB(0, 170, 255) highlight.FillTransparency = 0.5 highlight.OutlineTransparency = 0 highlight.Adornee = part highlight.Parent = part local tweenInfo = TweenInfo.new(5, Enum.EasingStyle.Sine) local fillTween = TweenService:Create(highlight, tweenInfo, { FillTransparency = 1 }) local outlineTween = TweenService:Create(highlight, tweenInfo, { OutlineTransparency = 1 }) fillTween:Play() outlineTween:Play() fillTween.Completed:Connect(function() highlight:Destroy() end) end local tool = Instance.new("Tool") tool.Name = "Brick Check" tool.RequiresHandle = false tool.Parent = player:WaitForChild("Backpack") tool.Activated:Connect(function() local target = mouse.Target if not target then return end if target.Name == "Brick" and target.Parent and target.Parent.Parent == bricksFolder then showOwnerNotification(target.Parent.Name) highlightBrick(target) end end)