Jump to content

RedSus

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by RedSus

  1. On 11/23/2020 at 12:54 PM, CoolProgrammer said:

    Hey, I know this is general forum, but you can do this with Skript!

    https://forums.skunity.com/threads/colorutils-1-16.12134/

    All you gotta do is copy paste that function, and then make a simple on chat event:

    
    on chat:
        set {_msg} to gradient(message, (r, g, b), (r, g, b)) # Make sure you replace r b g with actual color values!
        set message to "&7%player% &8» &r%{_msg}%"

    You can use this website to pick up r, g, b values for your choice of colors:

    https://www.w3schools.com/colors/colors_picker.asp

    It gives a error:

     Functions cannot be used here (or there is a problem with your arguments). (line 42: set {_msg} to gradient(message, (255, 0, 0), (51, 102, 255))

×
×
  • Create New...