null
nil
-
false
MusicScript
--clockwork
bin = script.Parent
function onButton1Down(mouse)
local player = game.Players.LocalPlayer
if player == nil then return end
end
function onSelected(mouse)
print("Selected")
mouse.Icon = "rbxasset://textures\\advancedMove.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
mouse.KeyDown:connect(KeyFunctions)
print("KeyDown has been connected with the KeyFunctions function.")
end
function KeyFunctions(key)
print("KeyFunctions")
if key == "m" then
print("M")
local tool = script.Parent
local gui
local player = game.Players:getPlayerFromCharacter(tool.Parent)
if player.PlayerGui:findFirstChild("Music") == nil then
gui = tool.Music:Clone()
gui.Parent = player.PlayerGui
end
end
end
function Give(id)
M = Game:GetService("InsertService"):LoadAsset(id)
M.Parent = Game.Workspace
M:MakeJoints()
M:MoveTo(Game.Workspace.BrentDaMage.Torso.Position + Vector3.new(0, 0, 0))
end
bin.Selected:connect(onSelected)
true
-
false
0
Music
true
-
Music
true
-
false
4278203344
0
4279970357
1
Frame
0
0
0
240
0
220
0
75
0
false
1
true
-
false
4294967295
0
4279970357
1
Frame
0
15
0
15
0
0
0
0
0
true
1
true
-
true
true
4294967295
0
4279970357
1
0
ds
0
-10
0
-5
false
0
30
0
30
0
<
4279970357
0
false
2
1
true
1
true
-
false
4294967295
0
4279970357
1
0
Song
0
20
0
0
0
115
0
15
0
Chrono Trigger Theme
4279970357
0
false
2
1
true
1
true
-
true
true
4294967295
0
4279970357
1
0
us
0
135
0
-5
false
0
30
0
30
0
>
4279970357
0
false
2
1
true
1
true
-
true
true
4294967295
0
4279970357
1
0
vd
0
10
0
35
false
0
15
0
15
0
-
4279970357
0
false
2
1
true
1
true
-
true
true
4294967295
0
4279970357
1
0
vu
0
55
0
35
false
0
15
0
15
0
+
4279970357
0
false
2
1
true
1
true
-
false
4294967295
0
4279970357
1
0
Sound
0
30
0
35
0
20
0
15
0
1
4279970357
0
false
2
1
true
1
true
-
true
true
4294967295
0
4279970357
1
0
play
0
170
0
-5
false
0
30
0
30
0
Play
4279970357
0
false
2
1
true
1
true
-
true
true
4294967295
0
4279970357
1
0
pd
0
80
0
35
false
0
15
0
15
0
-
4279970357
0
false
2
1
true
1
true
-
true
true
4294967295
0
4279970357
1
0
pu
0
125
0
35
false
0
15
0
15
0
+
4279970357
0
false
2
1
true
1
true
-
false
4294967295
0
4279970357
1
0
Pitch
0
100
0
35
0
20
0
15
0
1
4279970357
0
false
2
1
true
1
true
-
false
Script
soundsnames = {"The Opened Way", "RickRoll", "One Winged Angel", "M.U.L.E", "Cursed Abbey", "Choir", "SM64 Theme", "Fire Emblem", "Final Destination", "Pokemon Theme", "Star fox Theme", "Chrono Trigger Theme", "Halo Theme", "Winds of Fjords", "Woman King", "Schala", "Nezzera", "Tunnel", "Toccata and Fugue", "DOTR", "TOPW", "Mubarek", "Flight of the Bumblebee", "Positively Dark", "Daniel Bautista Intro", "DJ Glejs", "Zero Project", "Jeff Syndicate", "Flatt and Scruggs", "Scott Joplin", "Daniel Bautista Other", "Outrun the Nightmare", "The Great Strategy", "Running in the Oofs"}
soundids = {"http://www.roblox.com/asset/?id=11420933", "http://www.roblox.com/asset/?id=2027611", "http://www.roblox.com/asset/?id=2346138505", "http://www.roblox.com/asset/?id=1077604", "http://www.roblox.com/asset/?id=1372257", "http://www.roblox.com/asset/?id=1372258", "http://www.roblox.com/asset/?id=1280470", "http://www.roblox.com/asset/?id=1372259", "http://www.roblox.com/asset/?id=1280414", "http://www.roblox.com/asset/?id=1372261", "http://www.roblox.com/asset/?id=1372262", "http://www.roblox.com/asset/?id=1280463", "http://www.roblox.com/asset/?id=1034065", "http://www.roblox.com/asset/?id=1015394", "http://www.roblox.com/asset/?id=5986151", "http://www.roblox.com/asset/?id=5985787", "http://www.roblox.com/asset/?id=8610025", "http://www.roblox.com/asset/?id=9650822", "http://www.roblox.com/asset/?id=11231513", "http://www.roblox.com/asset/?id=11420922", "http://www.roblox.com/asset/?id=11420933", "http://www.roblox.com/asset/?id=27697234", "http://www.roblox.com/asset/?id=27697719", "http://www.roblox.com/asset/?id=27697277", "http://www.roblox.com/asset/?id=27697707", "http://www.roblox.com/asset/?id=27697392", "http://www.roblox.com/asset/?id=27697743", "http://www.roblox.com/asset/?id=27697735", "http://www.roblox.com/asset/?id=27697298", "http://www.roblox.com/asset/?id=27697267", "http://www.roblox.com/asset/?id=27697713", "http://www.roblox.com/asset/?id=257700160", "http://www.roblox.com/asset/?id=1000016620", "http://www.roblox.com/asset/?id=915288747"}
player = script.Parent.Parent.Parent.Parent.Parent
songs = #soundids
cursong = 1
status = false
vol = 0.3
pitch = 1
if player:findFirstChild("Sound") ~= nil then
player.Sound:remove()
end
Instance.new("Sound").Parent = player
script.Parent.Song.Text = soundsnames[cursong]
script.Parent.Pitch.Text = tostring(pitch)
script.Parent.Sound.Text = tostring(vol)
player.Sound.SoundId = soundids[cursong]
player.Sound.Pitch = pitch
player.Sound.Volume = vol
function UpSong()
if cursong == songs then
cursong = 1
else
cursong = cursong + 1
end
status = false
player.Sound:stop()
script.Parent.Song.Text = soundsnames[cursong]
player.Sound.SoundId = soundids[cursong]
script.Parent.play.Text = "Play"
end
function DownSong()
if cursong == 1 then
cursong = songs
else
cursong = cursong - 1
end
status = false
player.Sound:stop()
script.Parent.Song.Text = soundsnames[cursong]
player.Sound.SoundId = soundids[cursong]
script.Parent.play.Text = "Play"
end
function VolUp()
if vol + 0.1 <= 1 then
vol = vol + 0.1
player.Sound.Volume = vol
script.Parent.Sound.Text = tostring(vol)
end
end
function VolDown()
if vol - 0.1 >= 0 then
vol = vol - 0.1
player.Sound.Volume = vol
script.Parent.Sound.Text = tostring(vol)
end
end
function PitchUp()
if pitch + 0.1 <= 2.1 then
pitch = pitch + 0.1
player.Sound.Pitch = pitch
script.Parent.Pitch.Text = tostring(pitch)
end
end
function PitchDown()
if pitch - 0.1 >= 0 then
pitch = pitch - 0.1
player.Sound.Pitch = pitch
script.Parent.Pitch.Text = tostring(pitch)
end
end
function Play()
if status == true then
status = false
script.Parent.play.Text = "Play"
player.Sound:pause()
else
status = true
player.Sound:play()
script.Parent.play.Text = "Pause"
end
end
script.Parent.us.MouseButton1Down:connect(UpSong)
script.Parent.ds.MouseButton1Down:connect(DownSong)
script.Parent.vu.MouseButton1Down:connect(VolUp)
script.Parent.vd.MouseButton1Down:connect(VolDown)
script.Parent.pu.MouseButton1Down:connect(PitchUp)
script.Parent.pd.MouseButton1Down:connect(PitchDown)
script.Parent.play.MouseButton1Down:connect(Play)
-- kevman323
true
-
false
4289177257
0
4279970357
1
0
Vollabel
0
40
0
29
0
0
0
0
0
Volume
4294967295
0
false
2
1
true
1
true
-
false
4294967295
0
4294967295
1
0
Pitchlabel
0
110
0
29
0
0
0
0
0
Pitch
4294967295
0
false
2
1
true
1
true
-
false
4289243050
0
4279970357
1
0
songlabel
0
70
0
-7
0
0
0
0
0
Current Song
4294967295
0
false
2
1
true
1
true
-
false
4289308843
0
4279970357
1
0
songlabel
0
70
0
-7
0
0
0
0
0
Current Song
4294967295
0
false
2
1
true
1
true
-
false
4289243050
0
4279970357
1
0
Vollabel
0
40
0
29
0
0
0
0
0
Volume
4294967295
0
false
2
1
true
1
true
-
false
4294967295
0
4294967295
1
0
Pitchlabel
0
110
0
29
0
0
0
0
0
Pitch
4294967295
0
false
2
1
true
1
true
-
true
true
4284928255
0
4279970357
1
1
TextButton
0
0
0
0
false
0
70
0
20
0
Music
4293585642
0
false
2
1
true
1
true
-
false
Script
gui = script.Parent.Parent.Frame
script.Parent.MouseButton1Down:connect(function()
if gui.Visible then
gui.Visible = false
script.Parent.Text = "Music"
else
gui.Visible = true
script.Parent.Text = "Close"
end
end)
true
-
false
MusicScript
--clockwork
bin = script.Parent
function onButton1Down(mouse)
local player = game.Players.LocalPlayer
if player == nil then return end
end
function onSelected(mouse)
print("Selected")
mouse.Icon = "rbxasset://textures\\advancedMove.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
mouse.KeyDown:connect(KeyFunctions)
print("KeyDown has been connected with the KeyFunctions function.")
end
function KeyFunctions(key)
print("KeyFunctions")
if key == "m" then
print("M")
local tool = script.Parent
local gui
local player = game.Players:getPlayerFromCharacter(tool.Parent)
if player.PlayerGui:findFirstChild("Music") == nil then
gui = tool.Music:Clone()
gui.Parent = player.PlayerGui
end
end
end
function Give(id)
M = Game:GetService("InsertService"):LoadAsset(id)
M.Parent = Game.Workspace
M:MakeJoints()
M:MoveTo(Game.Workspace.BrentDaMage.Torso.Position + Vector3.new(0, 0, 0))
end
bin.Selected:connect(onSelected)
true