Answers for "roblox script chat message"

2

roblox chat tag

local ServerScriptService = game:GetService("ServerScriptService")
local ChatService = require(ServerScriptService:WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))
local Players = game:GetService("Players")

local Admins = {'MrMuppetTheMan'}

ChatService.SpeakerAdded:Connect(function(PlrName)
	local Speaker = ChatService:GetSpeaker(PlrName)
	for _, v in pairs(Admins) do
		if Players[PlrName].Name == v then
			Speaker:SetExtraData('Tags', {{TagText = "Muppet/Cool", TagColor = Color3.fromRGB(141, 141, 141)}}) 
		end
	end
end)
-- Put into workspace or ServerScriptService
-- Anymore help message me Muppet#6931
Posted by: Guest on February-26-2021
0

chat alert roblox

bc = BrickColor.new("White") -- Change white to the colour you want.
bc2 = BrickColor.new("White") -- Change white to the colour you want.
while true do
	game.StarterGui:SetCore("ChatMakeSystemMessage", {
		Text = "MuppetIsEpic!"; -- Change "MuppetIsEpic!" to the alert you want.
		Font = Enum.Font.Cartoon;
		Color = bc.Color;
		FontSize = Enum.FontSize.Size96
	})
	wait(300)
end
-- This goes in StarterGUI as a local script
-- Message me on disocrd for anymore help Muppet#6931
Posted by: Guest on February-26-2021

Browse Popular Code Answers by Language