Cola
Key Required

Cola

Brookhaven 🏡RPha0297946ha0297946 19.7K views 3.2K executesUpdated Feb 21, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•67 lines (2048 chars)
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/realredz/RedzLibV5/main/Source.lua"))()
-- Get Icon
-- For get icons, see lib/Icons.lua
Library:GetIcon("Home")

-- Set Theme
Library:SetTheme("Purple") -- See lib/Themes.lua

-- Set Window's Scale
Library:SetScale(1)
local Window = Library:MakeWindow({
    Title = "redz Library V5",
    SubTitle = "by : redz9999",
    SaveFolder = false -- Save Configs on Player's Device
})
local Section = Tab:AddSection({
    Title = "Section"
})
local function playCarMusic(musicId)
    if musicId and musicId ~= "" then
        local carArgs = {
            [1] = "PickingCarMusicText",
            [2] = musicId
        }
        game:GetService("ReplicatedStorage").RE:FindFirstChild("1Player1sCa1r"):FireServer(unpack(carArgs))
    else
        print("Por favor, insira um ID de música válido.")
    end
end

local function playScooterMusic(musicId)
    if musicId and musicId ~= "" then
        local scooterArgs = {
            [1] = "PickingScooterMusicText",
            [2] = musicId
        }
        game:GetService("ReplicatedStorage"):WaitForChild("RE"):WaitForChild("1NoMoto1rVehicle1s"):FireServer(unpack(scooterArgs))
    else
        print("Por favor, insira um ID de música válido.")
    end
end

-- Função para tocar música na casa
local function playHouseMusic(musicId)
    if musicId and musicId ~= "" then
        local houseArgs = {
            [1] = "PickHouseMusicText",
            [2] = musicId
        }
        game:GetService("ReplicatedStorage"):WaitForChild("RE"):WaitForChild("1Player1sHous1e"):FireServer(unpack(houseArgs))
    else
        print("Por favor, insira um ID de música válido.")
    end
end

TextBox = Tab:AddTextBox({
Title = "Music Id",
Desc = "Enter Id Music(GamePass Music Required) ", 
Default = "", 
PlaceholderText = "< Input >",
ClearText = false, -- Optional, Clear old Input on focus
Callback = function (value)
playCarMusic(value)
            playScooterMusic(value)
            playHouseMusic(value)
        end
    })

Features & Information

Script rare Script Reds

Community Comments (1)

FE_ScriptsFE_ScriptsFeb 21, 2025(edited)

Cola

More Scripts for Brookhaven 🏡RP