Emoji To Character

Summary
Changing text to an emoji character. For instance, :sob: to :sob:

Script:

-- Server
local toemoji = require(8581940575)
script.Parent.emojievent.OnServerInvoke = function(player,message)
	return toemoji(message)
end
-- Client
script.Parent.TextButton.MouseButton1Click:Connect(function()
	script.Parent.TextButton.Text = script.Parent.emojievent:InvokeServer (script.Parent.TextBox.Text)
end)

Paths
image

Read Me

:warning: Warning
Emoji names and characters were from discord! so some of the emojis does not exist in other players device. so it will just make it a box (□)

:scroll: Note
Im currently making the chat thingy but I’m having troubles replacing the chat. I’ll keep you updated when i figured it out!

The module id is in the require() in server script. so you can just install the module and change the prefix on what you wanted, like
Normal
:sob:
Edited
>sob<
If you want to edit the prefix then change require(8581940575) to require(-- path to module)

Quick Preview:

I know that this is just a simple script :man_shrugging: but i made this since i need it for my game and i tried searching before doing this and didn’t found any so why not share the script?

1826 emoji listed :wink: all emoji from discord (not actually all of it, i removed the emoji that were filtered by roblox such as :heart_eyes: or the angry emoji cursing)

:scroll: Copyright
Credit is optional, you can use it without crediting the creator!

18 Likes

I just read the source… did you actually do the tedious process of typing/pasting line by line for 1827 lines? Props to you for this, I don’t have the patience for that.

3 Likes

no, i didn’t type the emoji names 1by1 but i send a 10-30 emoji then send it, then go to discord chrome edit and copy then i got the emoji name. then i got the character by copying the emoji without edit. but i got smart when doing them 1 by 1 is by making this script

local emojitag = ':grinning: :smiley: :smile: :grin: :laughing: :sweat_smile: :joy: :rofl: :relaxed: :blush: :innocent: :slight_smile: :upside_down: :wink: :relieved: :smiling_face_with_tear: :smiling_face_with_3_hearts: :kissing: :kissing_smiling_eyes: :kissing_closed_eyes: :yum: :stuck_out_tongue: :stuck_out_tongue_closed_eyes: :stuck_out_tongue_winking_eye: :zany_face: :face_with_raised_eyebrow: :face_with_monocle: :nerd: :sunglasses: :star_struck: :partying_face: :smirk: :unamused: :disappointed: :pensive: :worried: :confused: :slight_frown: :frowning2: :persevere: :confounded: :tired_face: :weary: :pleading_face: :cry: :sob: :triumph: :face_exhaling: :angry: :rage: :exploding_head: :flushed: :face_in_clouds: :hot_face: :cold_face: :scream: :fearful: :cold_sweat: :disappointed_relieved: :sweat: :hugging: :thinking: :face_with_hand_over_mouth: :yawning_face: :shushing_face: :lying_face: :no_mouth: :neutral_face: :expressionless: :grimacing: :rolling_eyes: :hushed: :frowning: :anguished: :open_mouth: :astonished: :sleeping: :drooling_face: :sleepy: :dizzy_face: :face_with_spiral_eyes: :zipper_mouth: :woozy_face: :nauseated_face: :face_vomiting: :sneezing_face: :mask: :thermometer_face: :head_bandage: :money_mouth: :cowboy: :disguised_face: :smiling_imp: :imp: :japanese_ogre: :japanese_goblin: :clown: :poop: :ghost: :skull: :skull_crossbones: :alien: :space_invader: :robot: :jack_o_lantern: :smiley_cat: :smile_cat: :joy_cat: :heart_eyes_cat: :smirk_cat: :kissing_cat: :scream_cat: :crying_cat_face: :pouting_cat: :palms_up_together: :open_hands: :raised_hands: :clap: :handshake: :thumbsup: :thumbsdown: :punch: :fist: :left_facing_fist: :right_facing_fist: :fingers_crossed: :v: :love_you_gesture: :metal: :ok_hand: :pinching_hand: :pinched_fingers: :point_left: :point_right: :point_up_2: :point_down: :point_up: :raised_hand: :raised_back_of_hand: :hand_splayed: :vulcan: :wave: :call_me: :muscle: :mechanical_arm: :writing_hand: :pray: :foot: :leg: :mechanical_leg: :lipstick: :kiss: :lips: :tooth: :tongue: :ear: :ear_with_hearing_aid: :nose: :footprints: :eye: :eyes: :brain: :anatomical_heart: :lungs: :bone: :speaking_head: :bust_in_silhouette: :busts_in_silhouette: :people_hugging: :baby: :girl: :child: :boy: :woman: :adult: :man: :person_curly_hair: :woman_curly_haired: :man_curly_haired: :person_red_hair: :woman_red_haired: :man_red_haired: :blond_haired_woman: :blond_haired_person: :blond_haired_man: :person_white_hair: :woman_white_haired: :man_white_haired: :person_bald: :woman_bald: :man_bald: :bearded_person: :man_beard: :woman_beard: :older_woman: :older_adult: :older_man: :man_with_chinese_cap: :person_wearing_turban: :woman_wearing_turban: :man_wearing_turban: :woman_with_headscarf: :police_officer: :woman_police_officer: :man_police_officer: :construction_worker: :woman_construction_worker: :man_construction_worker: :guard: :woman_guard: :man_guard: :detective: :woman_detective: :man_detective: :health_worker: :woman_health_worker: :man_health_worker: :farmer: :woman_farmer: :man_farmer: :cook: :woman_cook: :man_cook: :student: :woman_student: :man_student: :singer: :woman_singer: :man_singer: :teacher: :woman_teacher: :man_teacher: :factory_worker: :woman_factory_worker: :man_factory_worker: :technologist: :woman_technologist: :man_technologist: :office_worker: :woman_office_worker: :man_office_worker: :mechanic: :woman_mechanic: :man_mechanic: :scientist: :woman_scientist: :man_scientist: :artist: :woman_artist: :man_artist: :firefighter: :woman_firefighter: :man_firefighter: :pilot: :woman_pilot: :man_pilot: :astronaut: :woman_astronaut: :man_astronaut: :judge: :woman_judge: :man_judge: :person_with_veil: :woman_with_veil: :man_with_veil: :person_in_tuxedo: :woman_in_tuxedo: :man_in_tuxedo: :princess: :prince: :superhero: :woman_superhero: :man_superhero: :supervillain: :woman_supervillain: :man_supervillain: :ninja: :mx_claus: :mrs_claus: :santa: :mage: :woman_mage: :man_mage: :elf: :woman_elf: :man_elf: :vampire: :woman_vampire: :man_vampire: :zombie: :woman_zombie: :man_zombie: :genie: :woman_genie: :man_genie: :merperson: :mermaid: :merman: :fairy: :woman_fairy: :man_fairy: :angel: :pregnant_woman: :breast_feeding: :person_feeding_baby: :woman_feeding_baby: :man_feeding_baby: :person_bowing: :woman_bowing: :man_bowing: :person_tipping_hand: :woman_tipping_hand: :man_tipping_hand: :person_gesturing_no: :woman_gesturing_no: :man_gesturing_no: :person_gesturing_ok: :woman_gesturing_ok: :man_gesturing_ok: :person_raising_hand: :woman_raising_hand: :man_raising_hand: :deaf_person: :deaf_woman: :deaf_man: :person_facepalming: :woman_facepalming: :man_facepalming: :person_shrugging: :woman_shrugging: :man_shrugging: :person_pouting: :woman_pouting: :man_pouting: :person_frowning: :woman_frowning: :man_frowning: :person_getting_haircut: :woman_getting_haircut: :man_getting_haircut: :person_getting_massage: :woman_getting_face_massage: :man_getting_face_massage: :person_in_steamy_room: :woman_in_steamy_room: :man_in_steamy_room: :nail_care: :selfie: :dancer: :man_dancing: :people_with_bunny_ears_partying: :women_with_bunny_ears_partying: :men_with_bunny_ears_partying: :levitate: :person_in_manual_wheelchair: :woman_in_manual_wheelchair: :man_in_manual_wheelchair: :person_in_motorized_wheelchair: :woman_in_motorized_wheelchair: :man_in_motorized_wheelchair: :person_walking: :woman_walking: :man_walking: :person_with_probing_cane: :woman_with_probing_cane: :man_with_probing_cane: :person_kneeling: :woman_kneeling: :man_kneeling: :person_running: :woman_running: :man_running: :person_standing: :woman_standing: :man_standing: :people_holding_hands: :couple: :two_women_holding_hands: :two_men_holding_hands: :family: :family_man_woman_boy: :family_mwg: :family_mwgb: :family_mwbb: :family_mwgg: :family_wwb: :family_wwg: :family_wwgb: :family_wwbb: :family_wwgg: :family_mmb: :family_mmg: :family_mmgb: :family_mmbb: :family_mmgg: :family_woman_boy: :family_woman_girl: :family_woman_girl_boy: :family_woman_boy_boy: :family_woman_girl_girl: :family_man_boy: :family_man_girl: :family_man_girl_boy: :family_man_boy_boy: :family_man_girl_girl: :yarn: :thread: :coat: :lab_coat: :safety_vest: :womans_clothes: :shirt: :jeans: :briefs: :shorts: :necktie: :dress: :bikini: :one_piece_swimsuit: :kimono: :sari: :womans_flat_shoe: :high_heel: :sandal: :boot: :mans_shoe: :athletic_shoe: :hiking_boot: :thong_sandal: :socks: :gloves: :scarf: :tophat: :billed_cap: :womans_hat: :mortar_board: :helmet_with_cross: :military_helmet: :crown: :ring: :pouch: :purse: :handbag: :briefcase: :school_satchel: :luggage: :eyeglasses: :dark_sunglasses: :goggles: :closed_umbrella: :dog: :cat: :mouse: :hamster: :rabbit: :fox: :bear: :panda_face: :polar_bear: :koala: :tiger: :lion_face: :cow: :pig: :pig_nose: :frog: :monkey_face: :see_no_evil: :hear_no_evil: :speak_no_evil: :monkey: :chicken: :penguin: :bird: :baby_chick: :hatching_chick: :hatched_chick: :duck: :dodo: :eagle: :owl: :bat: :wolf: :boar: :horse: :unicorn: :bee: :bug: :butterfly: :snail: :worm: :lady_beetle: :ant: :fly: :mosquito: :cockroach: :beetle: :cricket: :spider: :spider_web: :scorpion: :turtle: :snake: :lizard: :t_rex: :sauropod: :octopus: :squid: :shrimp: :lobster: :crab: :blowfish: :tropical_fish: :fish: :seal: :dolphin: :whale: :whale2: :shark: :crocodile: :tiger2: :leopard: :zebra: :gorilla: :orangutan: :elephant: :mammoth: :bison: :hippopotamus: :rhino: :dromedary_camel: :camel: :giraffe: :kangaroo:'
local emojiunicode = '😀 😃 😄 😁 😆 😅 😂 🤣 ☺️ 😊 😇 🙂 🙃 😉 😌 🥲 🥰 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😤 😮‍💨 😠 😡 🤯 😳 😶‍🌫️ 🥵 🥶 😱 😨 😰 😥 😓 🤗 🤔 🤭 🥱 🤫 🤥 😶 😐 😑 😬 🙄 😯 😦 😧 😮 😲 😴 🤤 😪 😵 😵‍💫 🤐 🥴 🤢 🤮 🤧 😷 🤒 🤕 🤑 🤠 🥸 😈 👿 👹 👺 🤡 💩 👻 💀 ☠️ 👽 👾 🤖 🎃 😺 😸 😹 😻 😼 😽 🙀 😿 😾 🤲 👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤟 🤘 👌 🤏 🤌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐️ 🖖 👋 🤙 💪 🦾 ✍️ 🙏 🦶 🦵 🦿 💄 💋 👄 🦷 👅 👂 🦻 👃 👣 👁️ 👀 🧠 🫀 🫁 🦴 🗣️ 👤 👥 🫂 👶 👧 🧒 👦 👩 🧑 👨 🧑‍🦱 👩‍🦱 👨‍🦱 🧑‍🦰 👩‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 🧑‍🦳 👩‍🦳 👨‍🦳 🧑‍🦲 👩‍🦲 👨‍🦲 🧔 🧔‍♂️ 🧔‍♀️ 👵 🧓 👴 👲 👳 👳‍♀️ 👳‍♂️ 🧕 👮 👮‍♀️ 👮‍♂️ 👷 👷‍♀️ 👷‍♂️ 💂 💂‍♀️ 💂‍♂️ 🕵️ 🕵️‍♀️ 🕵️‍♂️ 🧑‍⚕️ 👩‍⚕️ 👨‍⚕️ 🧑‍🌾 👩‍🌾 👨‍🌾 🧑‍🍳 👩‍🍳 👨‍🍳 🧑‍🎓 👩‍🎓 👨‍🎓 🧑‍🎤 👩‍🎤 👨‍🎤 🧑‍🏫 👩‍🏫 👨‍🏫 🧑‍🏭 👩‍🏭 👨‍🏭 🧑‍💻 👩‍💻 👨‍💻 🧑‍💼 👩‍💼 👨‍💼 🧑‍🔧 👩‍🔧 👨‍🔧 🧑‍🔬 👩‍🔬 👨‍🔬 🧑‍🎨 👩‍🎨 👨‍🎨 🧑‍🚒 👩‍🚒 👨‍🚒 🧑‍✈️ 👩‍✈️ 👨‍✈️ 🧑‍🚀 👩‍🚀 👨‍🚀 🧑‍⚖️ 👩‍⚖️ 👨‍⚖️ 👰 👰‍♀️ 👰‍♂️ 🤵 🤵‍♀️ 🤵‍♂️ 👸 🤴 🦸 🦸‍♀️ 🦸‍♂️ 🦹 🦹‍♀️ 🦹‍♂️ 🥷 🧑‍🎄 🤶 🎅 🧙 🧙‍♀️ 🧙‍♂️ 🧝 🧝‍♀️ 🧝‍♂️ 🧛 🧛‍♀️ 🧛‍♂️ 🧟 🧟‍♀️ 🧟‍♂️ 🧞 🧞‍♀️ 🧞‍♂️ 🧜 🧜‍♀️ 🧜‍♂️ 🧚 🧚‍♀️ 🧚‍♂️ 👼 🤰 🤱 🧑‍🍼 👩‍🍼 👨‍🍼 🙇 🙇‍♀️ 🙇‍♂️ 💁 💁‍♀️ 💁‍♂️ 🙅 🙅‍♀️ 🙅‍♂️ 🙆 🙆‍♀️ 🙆‍♂️ 🙋 🙋‍♀️ 🙋‍♂️ 🧏 🧏‍♀️ 🧏‍♂️ 🤦 🤦‍♀️ 🤦‍♂️ 🤷 🤷‍♀️ 🤷‍♂️ 🙎 🙎‍♀️ 🙎‍♂️ 🙍 🙍‍♀️ 🙍‍♂️ 💇 💇‍♀️ 💇‍♂️ 💆 💆‍♀️ 💆‍♂️ 🧖 🧖‍♀️ 🧖‍♂️ 💅 🤳 💃 🕺 👯 👯‍♀️ 👯‍♂️ 🕴️ 🧑‍🦽 👩‍🦽 👨‍🦽 🧑‍🦼 👩‍🦼 👨‍🦼 🚶 🚶‍♀️ 🚶‍♂️ 🧑‍🦯 👩‍🦯 👨‍🦯 🧎 🧎‍♀️ 🧎‍♂️ 🏃 🏃‍♀️ 🏃‍♂️ 🧍 🧍‍♀️ 🧍‍♂️ 🧑‍🤝‍🧑 👫 👭 👬 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👦 👩‍👧 👩‍👧‍👦 👩‍👦‍👦 👩‍👧‍👧 👨‍👦 👨‍👧 👨‍👧‍👦 👨‍👦‍👦 👨‍👧‍👧 🧶 🧵 🧥 🥼 🦺 👚 👕 👖 🩲 🩳 👔 👗 👙 🩱 👘 🥻 🥿 👠 👡 👢 👞 👟 🥾 🩴 🧦 🧤 🧣 🎩 🧢 👒 🎓 ⛑️ 🪖 👑 💍 👝 👛 👜 💼 🎒 🧳 👓 🕶️ 🥽 🌂 🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦤 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🐛 🦋 🐌 🪱 🐞 🐜 🪰 🦟 🪳 🪲 🦗 🕷️ 🕸️ 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🐡 🐠 🐟 🦭 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🐘 🦣 🦬 🦛 🦏 🐪 🐫 🦒 🦘'
local tagtable = ''
emojitag = emojitag:gsub(':','')
local unicodesplit = emojiunicode:split(' ')
local tagsplit = emojitag:split(' ')
for tag = 1, #tagsplit do
	tagtable = tagtable..[[

["]]..tagsplit[tag]..[["] = ']]..unicodesplit[tag]..[[';]]
end 
print(tagtable)

the print(tagtable) prints the table of it.

3 Likes

Wow! This is incredible. I can’t wait to try this out for myself.

2 Likes

That’s exactly what I would have done :stuck_out_tongue:

2 Likes

It may be simple, but this is amazing! I’ll definitely be playing around with this later. I’m also looking forward to that chat implementation, which will certainly be an improvement to in-game chat.

2 Likes

I made a lua table list of majority of your emoji - this sort of list is easier to hand-edit. I removed some more emoji that were filtered by Roblox:

local emoji = {
	["grinning"] = "😀",
	["smiley"] = "😃",
	["smile"] = "😄",
	["grin"] = "😁",
	["laughing"] = "😆",
	["sweat_smile"] = "😅",
	["joy"] = "😂",
	["rofl"] = "🤣",
	["relaxed"] = "☺️",
	["blush"] = "😊",
	["innocent"] = "😇",
	["slight_smile"] = "🙂",
	["upside_down"] = "🙃",
	["wink"] = "😉",
	["relieved"] = "😌",
	["yum"] = "😋",
	["stuck_out_tongue"] = "😛",
	["stuck_out_tongue_closed_eyes"] = "😝",
	["stuck_out_tongue_winking_eye"] = "😜",
	["zany_face"] = "🤪",
	["face_with_raised_eyebrow"] = "🤨",
	["face_with_monocle"] = "🧐",
	["nerd"] = "🤓",
	["sunglasses"] = "😎",
	["star_struck"] = "🤩",
	["partying_face"] = "🥳",
	["smirk"] = "😏",
	["unamused"] = "😒",
	["disappointed"] = "😞",
	["pensive"] = "😔",
	["worried"] = "😟",
	["confused"] = "😕",
	["slight_frown"] = "🙁",
	["frowning2"] = "☹️",
	["persevere"] = "😣",
	["confounded"] = "😖",
	["tired_face"] = "😫",
	["weary"] = "😩",
	["pleading_face"] = "🥺",
	["cry"] = "😢",
	["sob"] = "😭",
	["triumph"] = "😤",
	["face_exhaling"] = "😮‍💨",
	["angry"] = "😠",
	["rage"] = "😡",
	["exploding_head"] = "🤯",
	["flushed"] = "😳",
	["hot_face"] = "🥵",
	["cold_face"] = "🥶",
	["scream"] = "😱",
	["fearful"] = "😨",
	["cold_sweat"] = "😰",
	["disappointed_relieved"] = "😥",
	["sweat"] = "😓",
	["hugging"] = "🤗",
	["thinking"] = "🤔",
	["face_with_hand_over_mouth"] = "🤭",
	["yawning_face"] = "🥱",
	["shushing_face"] = "🤫",
	["lying_face"] = "🤥",
	["no_mouth"] = "😶",
	["neutral_face"] = "😐",
	["expressionless"] = "😑",
	["grimacing"] = "😬",
	["rolling_eyes"] = "🙄",
	["hushed"] = "😯",
	["frowning"] = "😦",
	["anguished"] = "😧",
	["open_mouth"] = "😮",
	["astonished"] = "😲",
	["sleeping"] = "😴",
	["drooling_face"] = "🤤",
	["sleepy"] = "😪",
	["dizzy_face"] = "😵",
	["face_with_spiral_eyes"] = "😵‍💫",
	["zipper_mouth"] = "🤐",
	["nauseated_face"] = "🤢",
	["face_vomiting"] = "🤮",
	["sneezing_face"] = "🤧",
	["mask"] = "😷",
	["thermometer_face"] = "🤒",
	["head_bandage"] = "🤕",
	["money_mouth"] = "🤑",
	["cowboy"] = "🤠",
	["smiling_imp"] = "😈",
	["imp"] = "👿",
	["japanese_ogre"] = "👹",
	["japanese_goblin"] = "👺",
	["clown"] = "🤡",
	["poop"] = "💩",
	["ghost"] = "👻",
	["skull"] = "💀",
	["skull_crossbones"] = "☠️",
	["alien"] = "👽",
	["space_invader"] = "👾",
	["robot"] = "🤖",
	["jack_o_lantern"] = "🎃",
	["smiley_cat"] = "😺",
	["smile_cat"] = "😸",
	["joy_cat"] = "😹",
	["smirk_cat"] = "😼",
	["scream_cat"] = "🙀",
	["crying_cat_face"] = "😿",
	["pouting_cat"] = "😾",
	["palms_up_together"] = "🤲",
	["open_hands"] = "👐",
	["raised_hands"] = "🙌",
	["clap"] = "👏",
	["handshake"] = "🤝",
	["thumbsup"] = "👍",
	["thumbsdown"] = "👎",
	["punch"] = "👊",
	["fist"] = "✊",
	["left_facing_fist"] = "🤛",
	["right_facing_fist"] = "🤜",
	["fingers_crossed"] = "🤞",
	["v"] = "✌️",
	["love_you_gesture"] = "🤟",
	["metal"] = "🤘",
	["ok_hand"] = "👌",
	["pinching_hand"] = "🤏",
	["point_left"] = "👈",
	["point_right"] = "👉",
	["point_up_2"] = "👆",
	["point_down"] = "👇",
	["point_up"] = "☝️",
	["raised_hand"] = "✋",
	["raised_back_of_hand"] = "🤚",
	["hand_splayed"] = "🖐️",
	["vulcan"] = "🖖",
	["wave"] = "👋",
	["call_me"] = "🤙",
	["muscle"] = "💪",
	["mechanical_arm"] = "🦾",
	["writing_hand"] = "✍️",
	["pray"] = "🙏",
	["foot"] = "🦶",
	["leg"] = "🦵",
	["mechanical_leg"] = "🦿",
	["lipstick"] = "💄",
	["tooth"] = "🦷",
	["ear"] = "👂",
	["ear_with_hearing_aid"] = "🦻",
	["nose"] = "👃",
	["footprints"] = "👣",
	["eye"] = "👁️",
	["eyes"] = "👀",
	["brain"] = "🧠",
	["bone"] = "🦴",
	["speaking_head"] = "🗣️",
	["bust_in_silhouette"] = "👤",
	["busts_in_silhouette"] = "👥",
	["baby"] = "👶",
	["girl"] = "👧",
	["child"] = "🧒",
	["boy"] = "👦",
	["woman"] = "👩",
	["adult"] = "🧑",
	["man"] = "👨",
	["person_curly_hair"] = "🧑‍🦱",
	["woman_curly_haired"] = "👩‍🦱",
	["man_curly_haired"] = "👨‍🦱",
	["person_red_hair"] = "🧑‍🦰",
	["woman_red_haired"] = "👩‍🦰",
	["man_red_haired"] = "👨‍🦰",
	["blond_haired_woman"] = "👱‍♀️",
	["blond_haired_person"] = "👱",
	["blond_haired_man"] = "👱‍♂️",
	["person_white_hair"] = "🧑‍🦳",
	["woman_white_haired"] = "👩‍🦳",
	["man_white_haired"] = "👨‍🦳",
	["person_bald"] = "🧑‍🦲",
	["woman_bald"] = "👩‍🦲",
	["man_bald"] = "👨‍🦲",
	["bearded_person"] = "🧔",
	["older_woman"] = "👵",
	["older_adult"] = "🧓",
	["older_man"] = "👴",
	["man_with_chinese_cap"] = "👲",
	["person_wearing_turban"] = "👳",
	["woman_wearing_turban"] = "👳‍♀️",
	["man_wearing_turban"] = "👳‍♂️",
	["woman_with_headscarf"] = "🧕",
	["police_officer"] = "👮",
	["woman_police_officer"] = "👮‍♀️",
	["man_police_officer"] = "👮‍♂️",
	["construction_worker"] = "👷",
	["woman_construction_worker"] = "👷‍♀️",
	["man_construction_worker"] = "👷‍♂️",
	["guard"] = "💂",
	["woman_guard"] = "💂‍♀️",
	["man_guard"] = "💂‍♂️",
	["detective"] = "🕵️",
	["woman_detective"] = "🕵️‍♀️",
	["man_detective"] = "🕵️‍♂️",
	["health_worker"] = "🧑‍⚕️",
	["woman_health_worker"] = "👩‍⚕️",
	["man_health_worker"] = "👨‍⚕️",
	["farmer"] = "🧑‍🌾",
	["woman_farmer"] = "👩‍🌾",
	["man_farmer"] = "👨‍🌾",
	["cook"] = "🧑‍🍳",
	["woman_cook"] = "👩‍🍳",
	["man_cook"] = "👨‍🍳",
	["student"] = "🧑‍🎓",
	["woman_student"] = "👩‍🎓",
	["man_student"] = "👨‍🎓",
	["singer"] = "🧑‍🎤",
	["woman_singer"] = "👩‍🎤",
	["man_singer"] = "👨‍🎤",
	["teacher"] = "🧑‍🏫",
	["woman_teacher"] = "👩‍🏫",
	["man_teacher"] = "👨‍🏫",
	["factory_worker"] = "🧑‍🏭",
	["woman_factory_worker"] = "👩‍🏭",
	["man_factory_worker"] = "👨‍🏭",
	["technologist"] = "🧑‍💻",
	["woman_technologist"] = "👩‍💻",
	["man_technologist"] = "👨‍💻",
	["office_worker"] = "🧑‍💼",
	["woman_office_worker"] = "👩‍💼",
	["man_office_worker"] = "👨‍💼",
	["mechanic"] = "🧑‍🔧",
	["woman_mechanic"] = "👩‍🔧",
	["man_mechanic"] = "👨‍🔧",
	["scientist"] = "🧑‍🔬",
	["woman_scientist"] = "👩‍🔬",
	["man_scientist"] = "👨‍🔬",
	["artist"] = "🧑‍🎨",
	["woman_artist"] = "👩‍🎨",
	["man_artist"] = "👨‍🎨",
	["firefighter"] = "🧑‍🚒",
	["woman_firefighter"] = "👩‍🚒",
	["man_firefighter"] = "👨‍🚒",
	["pilot"] = "🧑‍✈️",
	["woman_pilot"] = "👩‍✈️",
	["man_pilot"] = "👨‍✈️",
	["astronaut"] = "🧑‍🚀",
	["woman_astronaut"] = "👩‍🚀",
	["man_astronaut"] = "👨‍🚀",
	["judge"] = "🧑‍⚖️",
	["woman_judge"] = "👩‍⚖️",
	["man_judge"] = "👨‍⚖️",
	["person_with_veil"] = "👰",
	["woman_with_veil"] = "👰‍♀️",
	["man_with_veil"] = "👰‍♂️",
	["person_in_tuxedo"] = "🤵",
	["woman_in_tuxedo"] = "🤵‍♀️",
	["man_in_tuxedo"] = "🤵‍♂️",
	["princess"] = "👸",
	["prince"] = "🤴",
	["superhero"] = "🦸",
	["woman_superhero"] = "🦸‍♀️",
	["man_superhero"] = "🦸‍♂️",
	["supervillain"] = "🦹",
	["woman_supervillain"] = "🦹‍♀️",
	["man_supervillain"] = "🦹‍♂️",
	["mx_claus"] = "🧑‍🎄",
	["mrs_claus"] = "🤶",
	["santa"] = "🎅",
	["mage"] = "🧙",
	["woman_mage"] = "🧙‍♀️",
	["man_mage"] = "🧙‍♂️",
	["elf"] = "🧝",
	["woman_elf"] = "🧝‍♀️",
	["man_elf"] = "🧝‍♂️",
	["vampire"] = "🧛",
	["woman_vampire"] = "🧛‍♀️",
	["man_vampire"] = "🧛‍♂️",
	["zombie"] = "🧟",
	["woman_zombie"] = "🧟‍♀️",
	["man_zombie"] = "🧟‍♂️",
	["genie"] = "🧞",
	["woman_genie"] = "🧞‍♀️",
	["man_genie"] = "🧞‍♂️",
	["merperson"] = "🧜",
	["mermaid"] = "🧜‍♀️",
	["merman"] = "🧜‍♂️",
	["fairy"] = "🧚",
	["woman_fairy"] = "🧚‍♀️",
	["man_fairy"] = "🧚‍♂️",
	["angel"] = "👼",
	["person_bowing"] = "🙇",
	["woman_bowing"] = "🙇‍♀️",
	["man_bowing"] = "🙇‍♂️",
	["person_tipping_hand"] = "💁",
	["woman_tipping_hand"] = "💁‍♀️",
	["man_tipping_hand"] = "💁‍♂️",
	["person_gesturing_no"] = "🙅",
	["woman_gesturing_no"] = "🙅‍♀️",
	["man_gesturing_no"] = "🙅‍♂️",
	["person_gesturing_ok"] = "🙆",
	["woman_gesturing_ok"] = "🙆‍♀️",
	["man_gesturing_ok"] = "🙆‍♂️",
	["person_raising_hand"] = "🙋",
	["woman_raising_hand"] = "🙋‍♀️",
	["man_raising_hand"] = "🙋‍♂️",
	["deaf_person"] = "🧏",
	["deaf_woman"] = "🧏‍♀️",
	["deaf_man"] = "🧏‍♂️",
	["person_facepalming"] = "🤦",
	["woman_facepalming"] = "🤦‍♀️",
	["man_facepalming"] = "🤦‍♂️",
	["person_shrugging"] = "🤷",
	["woman_shrugging"] = "🤷‍♀️",
	["man_shrugging"] = "🤷‍♂️",
	["person_pouting"] = "🙎",
	["woman_pouting"] = "🙎‍♀️",
	["man_pouting"] = "🙎‍♂️",
	["person_frowning"] = "🙍",
	["woman_frowning"] = "🙍‍♀️",
	["man_frowning"] = "🙍‍♂️",
	["person_getting_haircut"] = "💇",
	["woman_getting_haircut"] = "💇‍♀️",
	["man_getting_haircut"] = "💇‍♂️",
	["person_getting_massage"] = "💆",
	["woman_getting_face_massage"] = "💆‍♀️",
	["man_getting_face_massage"] = "💆‍♂️",
	["person_in_steamy_room"] = "🧖",
	["woman_in_steamy_room"] = "🧖‍♀️",
	["man_in_steamy_room"] = "🧖‍♂️",
	["nail_care"] = "💅",
	["selfie"] = "🤳",
	["dancer"] = "💃",
	["man_dancing"] = "🕺",
	["people_with_bunny_ears_partying"] = "👯",
	["women_with_bunny_ears_partying"] = "👯‍♀️",
	["men_with_bunny_ears_partying"] = "👯‍♂️",
	["levitate"] = "🕴️",
	["person_in_manual_wheelchair"] = "🧑‍🦽",
	["woman_in_manual_wheelchair"] = "👩‍🦽",
	["man_in_manual_wheelchair"] = "👨‍🦽",
	["person_in_motorized_wheelchair"] = "🧑‍🦼",
	["woman_in_motorized_wheelchair"] = "👩‍🦼",
	["man_in_motorized_wheelchair"] = "👨‍🦼",
	["person_walking"] = "🚶",
	["woman_walking"] = "🚶‍♀️",
	["man_walking"] = "🚶‍♂️",
	["person_with_probing_cane"] = "🧑‍🦯",
	["woman_with_probing_cane"] = "👩‍🦯",
	["man_with_probing_cane"] = "👨‍🦯",
	["person_kneeling"] = "🧎",
	["woman_kneeling"] = "🧎‍♀️",
	["man_kneeling"] = "🧎‍♂️",
	["person_running"] = "🏃",
	["woman_running"] = "🏃‍♀️",
	["man_running"] = "🏃‍♂️",
	["person_standing"] = "🧍",
	["woman_standing"] = "🧍‍♀️",
	["man_standing"] = "🧍‍♂️",
	["family"] = "👪",
	["family_man_woman_boy"] = "👨‍👩‍👦",
	["family_mwg"] = "👨‍👩‍👧",
	["family_mwgb"] = "👨‍👩‍👧‍👦",
	["family_mwbb"] = "👨‍👩‍👦‍👦",
	["family_mwgg"] = "👨‍👩‍👧‍👧",
	["family_wwb"] = "👩‍👩‍👦",
	["family_wwg"] = "👩‍👩‍👧",
	["family_wwgb"] = "👩‍👩‍👧‍👦",
	["family_wwbb"] = "👩‍👩‍👦‍👦",
	["family_wwgg"] = "👩‍👩‍👧‍👧",
	["family_mmb"] = "👨‍👨‍👦",
	["family_mmg"] = "👨‍👨‍👧",
	["family_mmgb"] = "👨‍👨‍👧‍👦",
	["family_mmbb"] = "👨‍👨‍👦‍👦",
	["family_mmgg"] = "👨‍👨‍👧‍👧",
	["family_woman_boy"] = "👩‍👦",
	["family_woman_girl"] = "👩‍👧",
	["family_woman_girl_boy"] = "👩‍👧‍👦",
	["family_woman_boy_boy"] = "👩‍👦‍👦",
	["family_woman_girl_girl"] = "👩‍👧‍👧",
	["family_man_boy"] = "👨‍👦",
	["family_man_girl"] = "👨‍👧",
	["family_man_girl_boy"] = "👨‍👧‍👦",
	["family_man_boy_boy"] = "👨‍👦‍👦",
	["family_man_girl_girl"] = "👨‍👧‍👧",
	["yarn"] = "🧶",
	["thread"] = "🧵",
	["coat"] = "🧥",
	["lab_coat"] = "🥼",
	["safety_vest"] = "🦺",
	["womans_clothes"] = "👚",
	["shirt"] = "👕",
	["jeans"] = "👖",
	["shorts"] = "🩳",
	["necktie"] = "👔",
	["dress"] = "👗",
	["one_piece_swimsuit"] = "🩱",
	["kimono"] = "👘",
	["sari"] = "🥻",
	["womans_flat_shoe"] = "🥿",
	["high_heel"] = "👠",
	["sandal"] = "👡",
	["boot"] = "👢",
	["mans_shoe"] = "👞",
	["athletic_shoe"] = "👟",
	["hiking_boot"] = "🥾",
	["socks"] = "🧦",
	["gloves"] = "🧤",
	["scarf"] = "🧣",
	["tophat"] = "🎩",
	["billed_cap"] = "🧢",
	["womans_hat"] = "👒",
	["mortar_board"] = "🎓",
	["helmet_with_cross"] = "⛑️",
	["crown"] = "👑",
	["pouch"] = "👝",
	["purse"] = "👛",
	["handbag"] = "👜",
	["briefcase"] = "💼",
	["school_satchel"] = "🎒",
	["luggage"] = "🧳",
	["eyeglasses"] = "👓",
	["dark_sunglasses"] = "🕶️",
	["goggles"] = "🥽",
	["closed_umbrella"] = "🌂",
	["dog"] = "🐶",
	["cat"] = "🐱",
	["mouse"] = "🐭",
	["hamster"] = "🐹",
	["rabbit"] = "🐰",
	["fox"] = "🦊",
	["bear"] = "🐻",
	["panda_face"] = "🐼",
	["koala"] = "🐨",
	["tiger"] = "🐯",
	["lion_face"] = "🦁",
	["cow"] = "🐮",
	["pig"] = "🐷",
	["pig_nose"] = "🐽",
	["frog"] = "🐸",
	["monkey_face"] = "🐵",
	["see_no_evil"] = "🙈",
	["hear_no_evil"] = "🙉",
	["speak_no_evil"] = "🙊",
	["monkey"] = "🐒",
	["chicken"] = "🐔",
	["penguin"] = "🐧",
	["bird"] = "🐦",
	["baby_chick"] = "🐤",
	["hatching_chick"] = "🐣",
	["hatched_chick"] = "🐥",
	["duck"] = "🦆",
	["eagle"] = "🦅",
	["owl"] = "🦉",
	["bat"] = "🦇",
	["wolf"] = "🐺",
	["boar"] = "🐗",
	["horse"] = "🐴",
	["unicorn"] = "🦄",
	["bee"] = "🐝",
	["bug"] = "🐛",
	["butterfly"] = "🦋",
	["snail"] = "🐌",
	["lady_beetle"] = "🐞",
	["ant"] = "🐜",
	["mosquito"] = "🦟",
	["cricket"] = "🦗",
	["spider"] = "🕷️",
	["spider_web"] = "🕸️",
	["scorpion"] = "🦂",
	["turtle"] = "🐢",
	["snake"] = "🐍",
	["lizard"] = "🦎",
	["t_rex"] = "🦖",
	["sauropod"] = "🦕",
	["octopus"] = "🐙",
	["squid"] = "🦑",
	["shrimp"] = "🦐",
	["lobster"] = "🦞",
	["crab"] = "🦀",
	["blowfish"] = "🐡",
	["tropical_fish"] = "🐠",
	["fish"] = "🐟",
	["dolphin"] = "🐬",
	["whale"] = "🐳",
	["whale2"] = "🐋",
	["shark"] = "🦈",
	["crocodile"] = "🐊",
	["tiger2"] = "🐅",
	["leopard"] = "🐆",
	["zebra"] = "🦓",
	["gorilla"] = "🦍",
	["orangutan"] = "🦧",
	["elephant"] = "🐘",
	["hippopotamus"] = "🦛",
	["rhino"] = "🦏",
	["dromedary_camel"] = "🐪",
	["camel"] = "🐫",
	["giraffe"] = "🦒",
	["kangaroo"] = "🦘",
}

And here’s a conversion filter:

local EmojiLookup -- Table of [keyword] = emoji, ...

local message = "" -- Set to desired string
local message_lower = message:lower()

local init = 1
local fractions = {}
local keywords = {}

while true do

	local a, b = string.find(message_lower, ":.+:", init)

	if a == nil then
		if #fractions > 0 then
			table.insert(fractions, string.sub(message, init))	
		end
		break
	end

	table.insert(fractions, string.sub(message, init, a - 1))
	table.insert(keywords, string.sub(message, a, b))
	init = b + 1

end

local build_message = ""

if #fractions > 0 then

	for i = 1, #fractions do
		build_message ..= fractions[i]
		local keyword = keywords[i]
		if keyword ~= nil then
			local emoji = EmojiLookup[keywords[i]:sub(2, keyword:len() - 1)]
			if emoji ~= nil then
				build_message ..= emoji
			else
				build_message ..= keyword
			end
		end
	end

else

	build_message = message

end

print(build_message)
8 Likes

i don’t really need a filter things because sometimes when i typed a emoji it just make it to ####, so i just removed the things that we’re not allowed from roblox. but thank you so much!

This is great for custom chat systems. Nice contribution!

2 Likes

Could someone make a chat script with this. I’m too lazy to do that right now. thanks

1 Like

Hello everyone!
i finally figure out how to do the chat of emoji to character. Special thanks to @ExcessEnergy for helping me with a script from here How Would I Edit a Players Message? - #6 by ExcessEnergy.

To do the chat thing, you have to do the following,

  1. You have to create a module script at Chat > ChatModules.
  2. Write the source/script at the module script.
  3. You’re done!

Module Script

local toemoji = require(8581940575)

local functionId = "editText"

local function doFilter(speaker, messageObject, channelName)

messageObject.Message = toemoji(messageObject.Message)

end

local function runChatModule(ChatService)

ChatService:RegisterFilterMessageFunction(functionId, doFilter)

end

return runChatModule

To get the chat modules

  1. Press Play/ Test game button
  2. Select all the children of game.Chat
  3. Press Copy at Home
  4. Press Paste at Home
  5. Move all the the things you paste to the game.Chat
  6. You now have the module!
1 Like

Chat Preview:

2 Likes