#How can I change the :m Command?

1 messages · Page 1 of 1 (latest)

sleek zinc
#

isnt that

#

:h

#

aka hint

#

?

granite lava
#

Nah but that shows up across the top, I'll send an image on what I'm on about tomorrow

#

When I am not half asleep lol

lament fulcrum
#

:h or :n

fading plume
#

Use :h or :n

#

Instead of :m as the command. You dont need 2 modify anything

granite lava
#

I am trying to do something like this:

#
-- Create a ScreenGui
    local screenGui = Instance.new("ScreenGui", player.PlayerGui)
    screenGui.Name = "MessageBox"

    -- Create a Frame for the message box (including header and message)
    local messageBox = Instance.new("Frame", screenGui)
    messageBox.Size = UDim2.new(0, 400, 0, 120) -- Set size of the box
    messageBox.Position = UDim2.new(0.5, -200, 0.01, 0) -- Center it horizontally
    messageBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0) -- Black background
    messageBox.BackgroundTransparency = 0.3 -- Semi-transparent background for the box
    messageBox.BorderSizePixel = 0 -- Remove border from the message box

    -- Create a Frame for the header
    local headerFrame = Instance.new("Frame", messageBox)
    headerFrame.Size = UDim2.new(1, 0, 0, 30) -- Full width, fixed height for header
    headerFrame.Position = UDim2.new(0, 0, 0, 0) -- Position it at the top of the box
    headerFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) -- Black background for header
    headerFrame.BackgroundTransparency = 0.5 -- Slightly transparent header
    headerFrame.BorderSizePixel = 0 -- No border for header

#
-- Create a TextLabel for the header
    local headerLabel = Instance.new("TextLabel", headerFrame)
    headerLabel.Size = UDim2.new(1, 0, 1, 0) -- Full size of header frame
    headerLabel.BackgroundTransparency = 1 -- Transparent background
    headerLabel.TextColor3 = Color3.fromRGB(255, 255, 255) -- White text
    headerLabel.Font = Enum.Font.SourceSansBold -- Bold font for header
    headerLabel.TextSize = 24 -- Larger text size for header
    headerLabel.Text = "ANNOUNCEMENT" -- Header text
    headerLabel.TextXAlignment = Enum.TextXAlignment.Center -- Center align text

    -- Create a Frame for the message content (with border)
    local messageContentFrame = Instance.new("Frame", messageBox)
    messageContentFrame.Size = UDim2.new(1, 0, 1, -30) -- Full width, height below header
    messageContentFrame.Position = UDim2.new(0, 0, 0, 30) -- Position it below the header
    messageContentFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) -- Solid black background for message content
    messageContentFrame.BackgroundTransparency = 0 -- Solid background
    messageContentFrame.BorderSizePixel = 1.8 -- Add a border around the message content
    messageContentFrame.BorderColor3 = Color3.fromRGB(22, 89, 162) -- White border for visibility

    -- Create a TextLabel for displaying the message
    local textLabel = Instance.new("TextLabel", messageContentFrame)
    textLabel.Size = UDim2.new(1, -10, 1, -10) -- Full size with some padding
    textLabel.Position = UDim2.new(0, 5, 0, 5) -- Padding from the edges
    textLabel.BackgroundTransparency = 1 -- Transparent background
    textLabel.TextColor3 = Color3.fromRGB(0, 0, 0) -- White text
    textLabel.Font = Enum.Font.SourceSans -- Font style
    textLabel.TextSize = 20 -- Fixed text size
    textLabel.TextWrapped = true -- Enable text wrapping
    textLabel.TextXAlignment = Enum.TextXAlignment.Left -- Left align text
    textLabel.TextYAlignment = Enum.TextYAlignment.Top -- Top align text