Hi guys! So, I just edited the BubbleChat script that will make a player that owns a gamepass to custom design bubble chat. Here’s how to do it (Step by step):
You can skip to Step 4 if you already know how to copy theBubbleChatscript.
Step 1: Click Play at the Home tab in Roblox Studio.
Step 2: Copy the BubbleChat script inside the Chat folder (highlighted in the picture). Right click on it and then press Copy or just click it then press Ctrl + C.
Step 3: Click the Stop button and then paste the BubbleChat script to the Chat folder where you copied it from.
Script Editing part Step 4: Edit the script and then write the following codes below.
Line: 12-13
local MarketplaceService = game:GetService("MarketplaceService")
local VIPGamepassId = 0000000 --Gamepass ID
Line: 224
local localPlayer = PlayersService.LocalPlayer
Line: 234-236
if (MarketplaceService:UserOwnsGamePassAsync(LocalPlayer.UserId, VIPGamepassId)) then
chatBubbleMain.ImageColor3 = Color3.fromRGB(255, 255, 0)
end
Pretty cool, and seems useful for games with VIP or special little gamepasses. Do you think a feature where if you have a certain gamepass a UI shows up allowing you to customize the chat bubble color any time?
But overall seems like a good script, and would use for future games!