I'm loading this Script in script builder, so I don't have to use "waitforchild" or anything like that. It supposed to create a billboard gui in my head whenever i chat, but it never appears. I've tried changing values such as Enabled, Active, Visible, but those didn't work. Here is the code:
local player = game.Players['iiBallistic']
local function create_gui()
local head= player.Character.Head
local bill = Instance.new("BillboardGui", head)
bill.Name = "Sans"
local frame = Instance.new("Frame",bill)
frame.BackgroundColor3 = Color3.new(0,0,0)
frame.Position = UDim2.new(0,50,0,-90)
end
player.Chatted:connect(function(message)
create_gui()
end)
help would be appreciated. Thanks.
