local Players = game:GetService("Players") local StarterGui = game:GetService("StarterGui") -- Notification system local function notify(text) StarterGui:SetCore("SendNotification", { Title = "Player Update", Text = text, Duration = 5 }) end -- Create a BillboardGui saying STATUE local function addStatueBillboard(character) if not character:FindFirstChild("Head") then return end local existing = character:FindFirstChild("StatueBillboard") if existing then existing:Destroy() end local billboard = Instance.new("BillboardGui") billboard.Name = "StatueBillboard" billboard.Adornee = character.Head billboard.AlwaysOnTop = true billboard.Size = UDim2.new(0, 200, 0, 50) billboard.StudsOffset = Vector3.new(0, 2, 0) -- ⭐ 2 studs up local label = Instance.new("TextLabel") label.Size = UDim2.new(1, 0, 1, 0) label.BackgroundTransparency = 1 label.Text = "STATUE" label.TextColor3 = Color3.fromRGB(255, 0, 0) label.TextStrokeTransparency = 0 label.TextStrokeColor3 = Color3.new(0, 0, 0) label.TextScaled = true label.Font = Enum.Font.GothamBold -- ⭐ Bold + nice font label.Parent = billboard billboard.Parent = character end local function monitorPlayer(player) -- Wait for SelectedChar local selectedChar = player:WaitForChild("SelectedChar", 5) if selectedChar then notify(player.Name .. " is playing as " .. selectedChar.Value) selectedChar.Changed:Connect(function(new) notify(player.Name .. " changed to " .. new) end) end -- Stats + HasStatue local stats = player:WaitForChild("Stats", 5) if not stats then return end local hasStatue = stats:WaitForChild("HasStatue", 5) if not hasStatue then return end -- Initial statue check if hasStatue.Value == true then notify(selectedChar.Value .. " has the Statue!") if player.Character then addStatueBillboard(player.Character) end end -- When HasStatue changes hasStatue.Changed:Connect(function(val) if val == true then notify(selectedChar.Value .. " has the Statue!") if player.Character then addStatueBillboard(player.Character) end else notify(selectedChar.Value .. " no longer has the Statue.") -- Remove billboard if exists if player.Character and player.Character:FindFirstChild("StatueBillboard") then player.Character.StatueBillboard:Destroy() end end end) end -- Existing players for _, player in ipairs(Players:GetPlayers()) do if player ~= Players.LocalPlayer then monitorPlayer(player) end end -- New players Players.PlayerAdded:Connect(monitorPlayer)