--This must be in StarterGui or it will not work
--Just a Special Comment if we Join the game??? Lol--
local player = game.Players.LocalPlayer
-- Trever365 --
if player.Name == 'Trever365' then
	game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", { 
   Text = "[Server] The Creator has joined the Game!!";
   Color = Color3.new(255,0,0);
    Font = Enum.Font.SourceSansBold;
   FontSize = Enum.FontSize.Size60;
	})
end
-- TjTorin --
if player.Name == 'tjtorin' then
	game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", { 
   Text = "[Server] tjtorin(Developer) Has Joined the Game!";
   Color = Color3.new(0,100,255);
    Font = Enum.Font.SourceSansBold;
   FontSize = Enum.FontSize.Size60;
})
end

So I am trying to make there be a message if a certain player joins the game but it only shows for the player in the script?

4 comments

0

http://wiki.roblox.com/index.php?title=API:Class/LocalScript, You are trying to have a local script do server sided things.

0

Are you using a local script? If so, use a normal script.

0

Funny thing is... i just made that script and i just put a script in StarterPlayerScripts and put a RemoteEvent in ReplicatedStorage and used a global script to fire that event which then sent that data to a localscript.

0

If this helps you.... I have created a model for you... I hope this helps you out :) https://www.roblox.com/library/944051558/System-Message-Script