local characterMessages = { ["sonic"] = { "Gotta go fast!", "I like that!", "I am the fastest hedgehog alive!", "Watch out!", "The Egghead never learns.", "Did someone say Chili Dog?", "Oh no! Gotta blast outta here!", "Looks like Eggman's up to no good again...", "Where's Tails? Hope he's doing okay.", "This level reminds me of Green Hill Zone.", }, ["knuckles"] = { "You found the Master Emerald? Don't even think about it!", "Time to glide!", "My fists are itching for a good fight!", "i wish i could do the chaos control...", "Hm, the emeralds are lookin' a little light...", "I wonder if Rouge is looking for emeralds too?", "Eggman better not mess with Angel Island!", "The slopes are perfect for spin dashing!", "Flying Battery always brings back memories...", "Wish I had a hoverboard right now.", }, ["supersponge"] = { "I'm ready!", "This is the best day ever!", "Was that a giant talking Egg?!", "Let's go jellyfishing!", "I wonder if Patrick is here too...", "Sandy would love this level!", "Wait, how am I breathing?", "Krabby Patties are the best food ever!", "Rock Bottom is a little too scary for me...", "I love this!", }, ["tails"] = { "Just another successful mission!", "Is going to be incredible!", "Gotta keep out of trouble!", "Uh oh, looks like Robotnik's robots!", "time to go!", "I hope my flying skills can be useful.", "Is there anything I can do?", "Rings will come in handy later.", "Secret Zones always feels a little creepy...", "Maybe I can upgrade the Tornado with new features.", }, } local messageIndex = { ["sonic"] = 1, ["knuckles"] = 1, ["supersponge"] = 1, ["tails"] = 1, } addHook("ThinkFrame", function() for player in players.iterate do if player.cmd.buttons & BT_CUSTOM3 then local characterSkin = player.mo.skin if characterMessages[characterSkin] then print(characterMessages[characterSkin][messageIndex[characterSkin]]) -- Print message messageIndex[characterSkin] = messageIndex[characterSkin] % (#characterMessages[characterSkin]) + 1 end end end end)