Universal Script 📌
341 Views
72 Executions

wont stop us song

Universal Script 📌
Team_APEX_X
Team_APEX_X10K executions
7 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

wont stop us song free

View Raw
local coreGui = game:GetService("CoreGui")
local players = game:GetService("Players")
local lp = players.LocalPlayer

-- clear old to play new
if coreGui:FindFirstChild("RobloxMusicPlayer") then
    coreGui.RobloxMusicPlayer:Destroy()
end

local sg = Instance.new("ScreenGui", coreGui)
sg.Name = "RobloxMusicPlayer"

-- [ 1. Setup Audio ] --
local music = Instance.new("Sound", sg)
music.SoundId = "rbxassetid://1847661783" --
music.Volume = 5
music.Looped = true
music:Play()

-- [ 2. Mini Controller (Epic Face) ] --
-- maybe ts can helo bla bla bla
local controlBtn = Instance.new("ImageButton", sg)
controlBtn.Size = UDim2.new(0, 50, 0, 50)
controlBtn.Position = UDim2.new(0, 10, 1, -60) -- jajajaj
controlBtn.BackgroundTransparency = 1
controlBtn.Image = "rbxassetid://152281861" -- Epic Face

local isPlaying = true
controlBtn.MouseButton1Click:Connect(function()
    if isPlaying then
        music:Pause()
        controlBtn.ImageTransparency = 0.5 -- จางลงเมื่อหยุดเพลง
    else
        music:Resume()
        controlBtn.ImageTransparency = 0
    end
    isPlaying = not isPlaying
end)

--  idk Output


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
2.0k
15.1k
Bumped 4 hours ago
Script hub
7.4k
23.3k
Bumped 6 hours ago
Script hub
38.2k
166.2k
Bumped 6 hours ago

Script hub

Sp3arParvus

Script hub
113
5
Bumped 7 hours ago
Key System

Script hub

Zhonya Hub

Script hub
31.7k
7.5k
Bumped 9 hours ago
Key System
Paid