Roblox global shout?

  1. Made a shout that works in a single server, how do I make it work in every server?

Here are the 2 scripts I am using, what should I configure to make them global?

Script in ScreenGUI

game.ReplicatedStorage.ShoutEvent.OnServerEvent:Connect(function(player, text)
	print(text)
	
	script.Parent.Text = text
	
	if script.Parent.Text == text then
		script.Parent.Visible = true
		wait(10)
		script.Parent.Visible = false
	end
end)

Script in Shout Button

script.Parent.MouseButton1Click:Connect(function()
	local textbox = script.Parent.Parent.Text
	
	game.ReplicatedStorage.ShoutEvent:FireServer(textbox)
end)

What should I add to make it global?

1 Like

https://developer.roblox.com/en-us/api-reference/class/MessagingService

1 Like

I don’t know how, but why are you doing this anyway?
If anyone can shout to all servers you know someone is going to spam that to affect all your game servers.

Can just add a limit to the amount of shouts per miniute für example.

not all servers in every roblox game, all servers in my roblox game, most games have this and its an admin only thing.

1 Like