kingkoolie

Untitled

Feb 17th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. script.Parent = workspace script.Name = "LordSpringyScript"
  2. local c = LoadLibrary("RbxUtility").Create
  3.  
  4. c'RemoteEvent'{Parent = script, Name = "PS"}
  5. c'RemoteEvent'{Parent = script, Name = "Msg"}
  6.  
  7. script.Changed:connect(function()
  8. script:FindFirstChild("PS").OnServerEvent:connect(function(plr)
  9. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  10. Text = "|Private Server| - Enabled"; --This is a required field, it will allow you to set the message to any string you want.
  11. Color = Color3.new(0,1,0); --This is optional, it will allow you to add a custom color to the chat, however will default to Color3.new(255/255, 255/255, 243/255) if not set.
  12. Font = Enum.Font.SourceSans; -- Optional, defaults to Enum.Font.SourceSansBold --This is optional, this field will allow you to change the font of the text to any of the current 7 fonts you want.
  13. FontSize = Enum.FontSize.Size24; -- Optional, defaults to Enum.FontSize.Size18 --This is once again optional, and you can change it to any of the existing sizes.
  14. })
  15. end)
  16. script:FindFirstChild("Msg").OnServerEvent:connect(function(plr)
  17. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  18. Text = "|Arcane E.Y.E Online|"; --This is a required field, it will allow you to set the message to any string you want.
  19. Font = Enum.Font.SourceSans; -- Optional, defaults to Enum.Font.SourceSansBold --This is optional, this field will allow you to change the font of the text to any of the current 7 fonts you want.
  20. FontSize = Enum.FontSize.Size24;
  21. Color = Color3.new(0,1,1);
  22. })
  23. end)
  24. end)
Advertisement
Add Comment
Please, Sign In to add comment