880 lines
30 KiB
Plaintext
880 lines
30 KiB
Plaintext
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
|
<External>null</External>
|
|
<External>nil</External>
|
|
<Item class="Script" referent="RBX0">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">MusicScript</string>
|
|
<ProtectedString name="Source">--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)
|
|
|
|
</ProtectedString>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="HopperBin" referent="RBX1">
|
|
<Properties>
|
|
<bool name="Active">false</bool>
|
|
<token name="BinType">0</token>
|
|
<string name="Name">Music</string>
|
|
<Content name="TextureId"><null></null></Content>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
<Item class="ScreenGui" referent="RBX2">
|
|
<Properties>
|
|
<string name="Name">Music</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
<Item class="Frame" referent="RBX3">
|
|
<Properties>
|
|
<bool name="Active">false</bool>
|
|
<Color3 name="BackgroundColor3">4278203344</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<string name="Name">Frame</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>0</XO>
|
|
<YS>0</YS>
|
|
<YO>240</YO>
|
|
</UDim2>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>220</XO>
|
|
<YS>0</YS>
|
|
<YO>75</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<bool name="Visible">false</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
<Item class="Frame" referent="RBX4">
|
|
<Properties>
|
|
<bool name="Active">false</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<string name="Name">Frame</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>15</XO>
|
|
<YS>0</YS>
|
|
<YO>15</YO>
|
|
</UDim2>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>0</XO>
|
|
<YS>0</YS>
|
|
<YO>0</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
<Item class="TextButton" referent="RBX5">
|
|
<Properties>
|
|
<bool name="Active">true</bool>
|
|
<bool name="AutoButtonColor">true</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">ds</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>-10</XO>
|
|
<YS>0</YS>
|
|
<YO>-5</YO>
|
|
</UDim2>
|
|
<bool name="Selected">false</bool>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>30</XO>
|
|
<YS>0</YS>
|
|
<YO>30</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text"><</string>
|
|
<Color3 name="TextColor3">4279970357</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextLabel" referent="RBX6">
|
|
<Properties>
|
|
<bool name="Active">false</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">Song</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>20</XO>
|
|
<YS>0</YS>
|
|
<YO>0</YO>
|
|
</UDim2>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>115</XO>
|
|
<YS>0</YS>
|
|
<YO>15</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">Chrono Trigger Theme</string>
|
|
<Color3 name="TextColor3">4279970357</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextButton" referent="RBX7">
|
|
<Properties>
|
|
<bool name="Active">true</bool>
|
|
<bool name="AutoButtonColor">true</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">us</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>135</XO>
|
|
<YS>0</YS>
|
|
<YO>-5</YO>
|
|
</UDim2>
|
|
<bool name="Selected">false</bool>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>30</XO>
|
|
<YS>0</YS>
|
|
<YO>30</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">></string>
|
|
<Color3 name="TextColor3">4279970357</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextButton" referent="RBX8">
|
|
<Properties>
|
|
<bool name="Active">true</bool>
|
|
<bool name="AutoButtonColor">true</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">vd</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>10</XO>
|
|
<YS>0</YS>
|
|
<YO>35</YO>
|
|
</UDim2>
|
|
<bool name="Selected">false</bool>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>15</XO>
|
|
<YS>0</YS>
|
|
<YO>15</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">-</string>
|
|
<Color3 name="TextColor3">4279970357</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextButton" referent="RBX9">
|
|
<Properties>
|
|
<bool name="Active">true</bool>
|
|
<bool name="AutoButtonColor">true</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">vu</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>55</XO>
|
|
<YS>0</YS>
|
|
<YO>35</YO>
|
|
</UDim2>
|
|
<bool name="Selected">false</bool>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>15</XO>
|
|
<YS>0</YS>
|
|
<YO>15</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">+</string>
|
|
<Color3 name="TextColor3">4279970357</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextLabel" referent="RBX10">
|
|
<Properties>
|
|
<bool name="Active">false</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">Sound</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>30</XO>
|
|
<YS>0</YS>
|
|
<YO>35</YO>
|
|
</UDim2>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>20</XO>
|
|
<YS>0</YS>
|
|
<YO>15</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">1</string>
|
|
<Color3 name="TextColor3">4279970357</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextButton" referent="RBX11">
|
|
<Properties>
|
|
<bool name="Active">true</bool>
|
|
<bool name="AutoButtonColor">true</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">play</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>170</XO>
|
|
<YS>0</YS>
|
|
<YO>-5</YO>
|
|
</UDim2>
|
|
<bool name="Selected">false</bool>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>30</XO>
|
|
<YS>0</YS>
|
|
<YO>30</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">Play</string>
|
|
<Color3 name="TextColor3">4279970357</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextButton" referent="RBX12">
|
|
<Properties>
|
|
<bool name="Active">true</bool>
|
|
<bool name="AutoButtonColor">true</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">pd</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>80</XO>
|
|
<YS>0</YS>
|
|
<YO>35</YO>
|
|
</UDim2>
|
|
<bool name="Selected">false</bool>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>15</XO>
|
|
<YS>0</YS>
|
|
<YO>15</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">-</string>
|
|
<Color3 name="TextColor3">4279970357</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextButton" referent="RBX13">
|
|
<Properties>
|
|
<bool name="Active">true</bool>
|
|
<bool name="AutoButtonColor">true</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">pu</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>125</XO>
|
|
<YS>0</YS>
|
|
<YO>35</YO>
|
|
</UDim2>
|
|
<bool name="Selected">false</bool>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>15</XO>
|
|
<YS>0</YS>
|
|
<YO>15</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">+</string>
|
|
<Color3 name="TextColor3">4279970357</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextLabel" referent="RBX14">
|
|
<Properties>
|
|
<bool name="Active">false</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">Pitch</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>100</XO>
|
|
<YS>0</YS>
|
|
<YO>35</YO>
|
|
</UDim2>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>20</XO>
|
|
<YS>0</YS>
|
|
<YO>15</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">1</string>
|
|
<Color3 name="TextColor3">4279970357</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX15">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">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</ProtectedString>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextLabel" referent="RBX16">
|
|
<Properties>
|
|
<bool name="Active">false</bool>
|
|
<Color3 name="BackgroundColor3">4289177257</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">Vollabel</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>40</XO>
|
|
<YS>0</YS>
|
|
<YO>29</YO>
|
|
</UDim2>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>0</XO>
|
|
<YS>0</YS>
|
|
<YO>0</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">Volume</string>
|
|
<Color3 name="TextColor3">4294967295</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextLabel" referent="RBX17">
|
|
<Properties>
|
|
<bool name="Active">false</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4294967295</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">Pitchlabel</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>110</XO>
|
|
<YS>0</YS>
|
|
<YO>29</YO>
|
|
</UDim2>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>0</XO>
|
|
<YS>0</YS>
|
|
<YO>0</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">Pitch</string>
|
|
<Color3 name="TextColor3">4294967295</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextLabel" referent="RBX18">
|
|
<Properties>
|
|
<bool name="Active">false</bool>
|
|
<Color3 name="BackgroundColor3">4289243050</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">songlabel</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>70</XO>
|
|
<YS>0</YS>
|
|
<YO>-7</YO>
|
|
</UDim2>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>0</XO>
|
|
<YS>0</YS>
|
|
<YO>0</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">Current Song</string>
|
|
<Color3 name="TextColor3">4294967295</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextLabel" referent="RBX19">
|
|
<Properties>
|
|
<bool name="Active">false</bool>
|
|
<Color3 name="BackgroundColor3">4289308843</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">songlabel</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>70</XO>
|
|
<YS>0</YS>
|
|
<YO>-7</YO>
|
|
</UDim2>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>0</XO>
|
|
<YS>0</YS>
|
|
<YO>0</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">Current Song</string>
|
|
<Color3 name="TextColor3">4294967295</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextLabel" referent="RBX20">
|
|
<Properties>
|
|
<bool name="Active">false</bool>
|
|
<Color3 name="BackgroundColor3">4289243050</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">Vollabel</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>40</XO>
|
|
<YS>0</YS>
|
|
<YO>29</YO>
|
|
</UDim2>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>0</XO>
|
|
<YS>0</YS>
|
|
<YO>0</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">Volume</string>
|
|
<Color3 name="TextColor3">4294967295</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TextLabel" referent="RBX21">
|
|
<Properties>
|
|
<bool name="Active">false</bool>
|
|
<Color3 name="BackgroundColor3">4294967295</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4294967295</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">0</token>
|
|
<string name="Name">Pitchlabel</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>110</XO>
|
|
<YS>0</YS>
|
|
<YO>29</YO>
|
|
</UDim2>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>0</XO>
|
|
<YS>0</YS>
|
|
<YO>0</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">Pitch</string>
|
|
<Color3 name="TextColor3">4294967295</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
</Item>
|
|
<Item class="TextButton" referent="RBX22">
|
|
<Properties>
|
|
<bool name="Active">true</bool>
|
|
<bool name="AutoButtonColor">true</bool>
|
|
<Color3 name="BackgroundColor3">4284928255</Color3>
|
|
<float name="BackgroundTransparency">0</float>
|
|
<Color3 name="BorderColor3">4279970357</Color3>
|
|
<int name="BorderSizePixel">1</int>
|
|
<token name="FontSize">1</token>
|
|
<string name="Name">TextButton</string>
|
|
<UDim2 name="Position">
|
|
<XS>0</XS>
|
|
<XO>0</XO>
|
|
<YS>0</YS>
|
|
<YO>0</YO>
|
|
</UDim2>
|
|
<bool name="Selected">false</bool>
|
|
<UDim2 name="Size">
|
|
<XS>0</XS>
|
|
<XO>70</XO>
|
|
<YS>0</YS>
|
|
<YO>20</YO>
|
|
</UDim2>
|
|
<token name="SizeConstraint">0</token>
|
|
<string name="Text">Music</string>
|
|
<Color3 name="TextColor3">4293585642</Color3>
|
|
<float name="TextTransparency">0</float>
|
|
<bool name="TextWrap">false</bool>
|
|
<token name="TextXAlignment">2</token>
|
|
<token name="TextYAlignment">1</token>
|
|
<bool name="Visible">true</bool>
|
|
<int name="ZIndex">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX23">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">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)
|
|
</ProtectedString>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Script" referent="RBX0">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">MusicScript</string>
|
|
<ProtectedString name="Source">--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)
|
|
|
|
</ProtectedString>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
</roblox> |