RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make the text more visible and make the text white as well"
-- local script game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local billboardGui = character:FindFirstChild("BillboardGui") if not billboardGui then billboardGui = Instance.new("BillboardGui") billboardGui.Parent = character:WaitForChild("Head") billboardGui.Size = UDim2.new(0, 100, 0, 50) billboardGui.StudsOffset = Vector3.new(0, 3, 0) local textLabel = Instance.new("TextLabel") textLabel.Parent = billboardGui textLabel.Size = UDim2.new(1, 0, 1, 0) textLabel.BackgroundTransparency = 1 textLabel.Text = "Level " .. player.leaderstats.Level.Value textLabel.TextScaled = true textLabel.TextColor3 = Color3.new(1, 1, 1) -- set text color to white textLabel.Font = Enum.Font.SourceSansBold -- set font to bold for visibility player.leaderstats.Level.Changed:Connect(function(newLevel) textLabel.Text = "Level " .. newLevel end) end end) end)