hey everyone, so while i was working in a stud-rp game, i wanted to make it so that they can also choose a custom flag for their country, but the problem is that after they type in the id they want for the flag in the custom flag chooser, the flag is just gonna be a white background, and this has been a problem in one of my games for a pretty long time, so i need help to fix it
server script:
game.ReplicatedStorage.ChangeCustomFlag.OnServerEvent:Connect(function(player, text)
local char = player.Character
local billboardgui = char.Head.BillboardGui
billboardgui.ImageLabel.Image = "http://www.roblox.com/asset/?id="..text
end)
localscript:
script.Parent.MouseButton1Click:Connect(function()
local text = game.Players.LocalPlayer.PlayerGui.Settings.CustomFlag.TextBox.Text
game.ReplicatedStorage.ChangeCustomFlag:FireServer(text)
end)
i also tried to use “rbxassetid://” but this also didn’t work, any help would be appreciated