ScriptBlox is undergoing maintenance, so downtime is possible. Sorry for the inconvenience!
Universal Script 📌
2.3k Views

Message Script

Universal Script 📌Uploaded by
8 months ago
Please login to perform these actions:

Description

Message can be serversided or clientsided

View Raw
Edited By: byprol Download


Comments
6
User profile picture
RylanScriptHelper 8 months ago - Edited
HI There, i was using your script nd the messages would not go away after. So i fixed that and made a new GUI for it and fixed a lot of stuff for it. So do you mind if i post it on my account? and i will give credits. and here is the script. local Players = game:GetService("Players") -- Function to create and show the message GUI for a player local function showMessage(player) local screenGui = Instance.new("ScreenGui") screenGui.Name = "GlobalMessageGui" screenGui.ResetOnS* = false screenGui.Parent = player:WaitForChild("PlayerGui") local textLabel = Instance.new("TextLabel") textLabel.Size = UDim2.new(1, 0, 0, 50) textLabel.Position = UDim2.new(0, 0, 0, 0) textLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0) textLabel.BackgroundTransparency = 0.3 textLabel.TextColor3 = Color3.fromRGB(255, 255, 255) textLabel.TextScaled = true textLabel.Font = Enum.Font.SourceSansBold textLabel.Text = "Hello everyone! This message will disappear in 5 seconds." textLabel.Parent = screenGui -- Remove GUI after 5 seconds task.delay(5, function() if screenGui then screenGui:Destroy() end end) end -- Show message to all current players for _, player in ipairs(Players:GetPlayers()) do showMessage(player) end -- Also show it to players who join late Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Wait() -- Optional: wait for their character to load showMessage(player) end) --i will be glad to help in the future for other scripts! just message me and i will help!
RylanScriptHelper's profile pictureRylanScriptHelperHI There, i was using your script nd the messages ...
User profile picture
byprol 8 months ago
local x = Instance.new("Message", Workspace) x.Text = "Skibidi Toilet" - type smth in here. task.delay(5, function() x:Destroy() end)
RylanScriptHelper's profile pictureRylanScriptHelperHI There, i was using your script nd the messages ...
User profile picture
byprol 8 months ago
@RylanScriptHelper also ty for helping people!
byprol's profile picturebyprol@RylanScriptHelper also ty for helping people!
User profile picture
RylanScriptHelper 8 months ago
@byprol your welcome. I help out others because i will always get something back in the future maybe!
byprol's profile picturebyprol@RylanScriptHelper also ty for helping people!
User profile picture
RylanScriptHelper 8 months ago
@byprol Hey bro. i posted the script on my scripting page to and forgot to ask but can it stay there? and i be a co owner bc i did make most of that script.
RylanScriptHelper's profile pictureRylanScriptHelper@byprol Hey bro. i posted the script on my scripti...
User profile picture
byprol 8 months ago
@RylanScriptHelper yes.
Please Login to add a comment.