Run it
Copy the script and paste it into your executor.
-- Create a ScreenGui to hold our GUI elements
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
-- Function to create a message and handle its removal after 5 seconds
local function createMessage(text)
local message = Instance.()
message.Size = .(, , , )
message.Position = .(, -, , -)
message.Text = text
message.Parent = frame
()
message:()
frame = .()
frame.Size = .(, , , )
frame.Position = .(, , , )
frame.BackgroundColor3 = .(, , )
frame.Parent = screenGui
nameLabel = .()
nameLabel.Size = .(, , , )
nameLabel.Position = .(, , , )
nameLabel.Text =
nameLabel.TextColor3 = .(, , )
nameLabel.TextSize =
nameLabel.Parent = frame
imageLabel = .()
imageLabel.Size = .(, , , )
imageLabel.Position = .(, -, , )
imageLabel.Image =
imageLabel.Parent = frame
textBox = .()
textBox.Size = .(, , , )
textBox.Position = .(, -, , -)
textBox.PlaceholderText =
textBox.Parent = frame
textBox.FocusLost:((enterPressed)
enterPressed
textBox.Text:() ==
()
textBox.Text:() ==
()
textBox.Text:() ==
()
textBox.Text:() ==
()
()
)