I am creating one of those clicker games and I want to display the amount of gold above someones head. I have found a way to do it with a local script which only shows the billboard for the player but not other players. Here is what I have.
bill = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head) bill.Size = UDim2.new(4, 0, 4.5, 0) bill.AlwaysOnTop = true label = Instance.new("TextLabel", bill) label.Size = UDim2.new(2, 0, 1, 0) label.Position = UDim2.new(-0.5, 0, -0.5, 0) label.BackgroundTransparency = 1 label.FontSize = "Size12" while true do label.TextColor3 = Color3.new(255,255,255) wait(.09) label.TextStrokeTransparency = 0 label.Text = "Gold: "..game.Players.LocalPlayer.leaderstats.Gold.Value.."" end
Is there a way to make it work server side so everyone has one above there heads and everyone can see each others?
Also filtering is enabled.