Why does this chat message script not work in a server but works in studio mode?
Asked by
8 years ago Edited 8 years ago
This is my script, it works in studio but doesn't work in studio. Please help.
03 | game.StarterGui:SetCore( "ChatMakeSystemMessage" , { |
04 | Text = "[SERVER] :: " ..plr.Name.. " Joined the server!" ; |
05 | Color = Color 3. fromRGB( 220 , 180 , 58 ); |
06 | Font = Enum.Font.ArialBold; |
07 | FontSize = Enum.FontSize.Size 18 ; |
10 | game.Players.PlayerAdded:connect(Join) |
13 | game.StarterGui:SetCore( "ChatMakeSystemMessage" , { |
14 | Text = "[SERVER] :: " ..plr.Name.. " Left the server!" ; |
15 | Color = Color 3. fromRGB( 220 , 180 , 58 ); |
16 | Font = Enum.Font.ArialBold; |
17 | FontSize = Enum.FontSize.Size 18 ; |
20 | game.Players.PlayerRemoving:connect(Leave) |