Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Modules = {
- Colors = {
- ["Green"] = "0,255,0",
- ["Cyan"] = "33, 161, 163"
- }
- }
- Modules.ChangeColor = function()
- game:GetService("RunService").Heartbeat:Connect(function()
- if game:GetService("CoreGui"):FindFirstChild("DevConsoleMaster") then
- for _, v in pairs(game:GetService("CoreGui"):FindFirstChild("DevConsoleMaster"):GetDescendants()) do
- if v:IsA("TextLabel") then
- v.RichText = true
- end
- end
- end
- end)
- end
- Modules.print = function(color, text, size)
- if not Modules.Colors[color] then
- warn("Color was not found!")
- return
- end
- local Text = '<font color="rgb(' .. Modules.Colors[color] .. ')"'
- if size then
- Text = Text .. ' size="' .. tostring(size) .. '"'
- end
- Text = Text .. '>' .. tostring(text) .. '</font>'
- print(Text)
- end
- Modules.ChangeColor()
- Modules.print("Cyan", "Script Version: 4.0", 15)
Advertisement
Add Comment
Please, Sign In to add comment