Coder Social home page Coder Social logo

customprint's Introduction

So you may have wanted just to be able to print into console in different colors, fonts, sizes, etc. at some point maybe but yeah there is no function that lets you do it easily (atleast one that i know of, if there actualy exist something, please just kill me)

So the main features:

Custom Colors img

RAINBOW img

Remove the time in front of the text img

Custom Fonts img

Custom Text Size img

Custom Icon (uh idk how to get the image asset link, but you can surely get it to work)

you can of course combine them img

Script:

loadstring(game:HttpGet(('https://raw.githubusercontent.com/yafyz/customprint/master/main.lua'),true))().EasyInit("eP", true)

First parameter of EasyInit is the name to export the module as, second if you want to enable rainbow (of course you do, why do i even give you an option) Also its autoexec safe

Usage:

eP.print({
    --parameters
})

or

cprint({
    --parameters
})

Parameters:

Text (string)
TextSize (number)
Color (color3)
Font (string)
BeforeText (string)
KeepTime (bool)
IsWarn (bool)
Icon (string)

i hope i didnt miss anything

Examples:

eP.print({
    Text = "text",
    Color = Color3.fromRGB(255,0,255)
})
eP.print({Text = "this is so cool",
    Rainbow = true,
    KeepTime = false,
    BeforeText = "~ ",
    Font = "GothamBlack",
    TextSize = 20})

Small Q&A:

Q: Dont you think that your method is quite bad ?

A: Yes, shut up, i got reasons.

Q: I dont like to type all the options all the time, could you make more specific functions ?

A: NO, make a f'in wrapper.

Q: Are you really that shit at lua ?

A: yes

Known issues:

  1. When applying filters in console the text's id is changed untill you remove the filter again, so it wont apply cool stuff on it not anymore
  2. If there is being printed alot of stuff into the console, it will catch the wrong text id (pls gimmie ideas how to fix this one) nah, also fixed
  3. Maybe performance issues, mainly when the print function is called they are still there but not as bad
  4. If the the text is offscreen when it gets printed, it wont work naaah also fixed

If you have any problems, ideas, etc. please post em Also please rate my idea, i need to know how much did i waste my time on this

customprint's People

Contributors

yafyz avatar

Stargazers

TQKominikos avatar winterino hakerino avatar Matyáš Caras avatar

Watchers

 avatar

Forkers

nodomw

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.