Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --bgtl (better gui to lua) made by "Cozapierdolonychuj" on roblox
- local MainUIElements = {}
- MainUIElements["chatgui"] = Instance.new("ScreenGui")
- MainUIElements["chatbox"] = Instance.new("TextBox")
- MainUIElements["chatgui"].ResetOnSpawn = false
- MainUIElements["chatgui"].Archivable = true
- MainUIElements["chatgui"].Name = "chatgui"
- MainUIElements["chatgui"].ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainUIElements["chatbox"].Archivable = true
- MainUIElements["chatbox"].Name = "chatbox"
- MainUIElements["chatbox"].Parent = MainUIElements["chatgui"]
- MainUIElements["chatbox"].CursorPosition = -1
- MainUIElements["chatbox"].PlaceholderColor3 = Color3.fromRGB(178.49999696016312,178.49999696016312,178.49999696016312)
- MainUIElements["chatbox"].ZIndex = 1
- MainUIElements["chatbox"].BackgroundColor3 = Color3.fromRGB(170.0000050663948,0,255)
- MainUIElements["chatbox"].AutomaticSize = Enum.AutomaticSize.None
- MainUIElements["chatbox"].TextSize = 14
- MainUIElements["chatbox"].ClipsDescendants = false
- MainUIElements["chatbox"].BorderColor3 = Color3.fromRGB(27.000002190470695,42.000001296401024,53.000004440546036)
- MainUIElements["chatbox"].Text = "enter text here"
- MainUIElements["chatbox"].Font = Enum.Font.Cartoon
- MainUIElements["chatbox"].BackgroundTransparency = 0.5
- MainUIElements["chatbox"].Position = UDim2.new(0.669049263, 0,0.78592813, 0)
- MainUIElements["chatbox"].Size = UDim2.new(0, 200,0, 50)
- MainUIElements["chatgui"].Parent = owner:WaitForChild("PlayerGui")
- local function script_qesxshhkzg_handler()
- local script = Instance.new("Script",MainUIElements["chatgui"])
- MainUIElements["handler"] = script
- script.Name = "handler"
- script.Archivable = true
- script.Parent.chatbox:GetPropertyChangedSignal("Text"):Connect(function()
- game:GetService("Chat"):Chat(owner.Character, script.Parent.chatbox.Text)
- end)
- end
- coroutine.wrap(script_qesxshhkzg_handler)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement