Universal Script 📌
1.0k Views
96 Executions

message script NOT MINE READ DES

Universal Script 📌
RylanScriptHelper
RylanScriptHelperFirst script
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

NOT MINE ALL CREDITS GOTO @byprol I JUST EDITED THE SCRIPT!!

View Raw
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.ResetOnSpawn = 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)



Comments

1
Log in to join the conversation. Login
Y3ll0wk1ddz's profile picture
Y3ll0wk1ddz6 months ago

Is that ss script?

1

Tags

More universal scripts

See all
Universal Script 📌
58
1
Approved 1 hour ago
Script hub
11.3k
56.8k
Bumped 2 hours ago
Key System
Script hub
1.6M
2.1M
Bumped 3 hours ago
Key System

Script hub

#14 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Universal Script 📌
130
12
Approved 3 hours ago
Universal Script 📌
120
8
Approved 3 hours ago