Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ Music player | v2
- > Made by bIue#2958
- > Key: 5859
- > May be client-sided!
- -- ]]
- -- Objects
- local musicPlayer = Instance.new("ScreenGui")
- local php = Instance.new("Frame")
- local smoothCorner = Instance.new("UICorner")
- local top = Instance.new("Frame")
- local smoothCorner_2 = Instance.new("UICorner")
- local TextLabel = Instance.new("TextLabel")
- local login = Instance.new("TextButton")
- local smoothCorner_3 = Instance.new("UICorner")
- local key = Instance.new("Frame")
- local smoothCorner_4 = Instance.new("UICorner")
- local enter = Instance.new("TextBox")
- local main = Instance.new("Frame")
- local smoothCorner_5 = Instance.new("UICorner")
- local top_2 = Instance.new("Frame")
- local smoothCorner_6 = Instance.new("UICorner")
- local TextLabel_2 = Instance.new("TextLabel")
- local play = Instance.new("TextButton")
- local smoothCorner_7 = Instance.new("UICorner")
- local id = Instance.new("Frame")
- local smoothCorner_8 = Instance.new("UICorner")
- local enter_2 = Instance.new("TextBox")
- local stop = Instance.new("TextButton")
- local smoothCorner_9 = Instance.new("UICorner")
- local audio = Instance.new("Sound")
- -- Properties
- audio.Parent = id
- audio.Name = "audio"
- musicPlayer.Name = "musicPlayer"
- musicPlayer.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- musicPlayer.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- php.Name = "php"
- php.Parent = musicPlayer
- php.BackgroundColor3 = Color3.fromRGB(42, 43, 50)
- php.Position = UDim2.new(0.254677773, 0, 0.348314613, 0)
- php.Size = UDim2.new(0, 473, 0, 72)
- smoothCorner.Name = "smoothCorner"
- smoothCorner.Parent = php
- top.Name = "top"
- top.Parent = php
- top.BackgroundColor3 = Color3.fromRGB(36, 37, 43)
- top.Position = UDim2.new(0, 0, -0.00415802002, 0)
- top.Size = UDim2.new(0, 472, 0, 27)
- smoothCorner_2.Name = "smoothCorner"
- smoothCorner_2.Parent = top
- TextLabel.Parent = top
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0, 7, 0, 3)
- TextLabel.Size = UDim2.new(0, 269, 0, 20)
- TextLabel.Text = "ANTILOG | V2"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 10.000
- TextLabel.TextWrapped = true
- TextLabel.TextXAlignment = Enum.TextXAlignment.Left
- login.Name = "login"
- login.Parent = php
- login.BackgroundColor3 = Color3.fromRGB(53, 54, 63)
- login.Position = UDim2.new(0.0147991534, 0, 0.456430733, 0)
- login.Size = UDim2.new(0, 109, 0, 29)
- login.Text = "Login"
- login.TextColor3 = Color3.fromRGB(255, 255, 255)
- login.TextSize = 10.000
- smoothCorner_3.CornerRadius = UDim.new(0, 5)
- smoothCorner_3.Name = "smoothCorner"
- smoothCorner_3.Parent = login
- key.Name = "key"
- key.Parent = php
- key.BackgroundColor3 = Color3.fromRGB(63, 64, 75)
- key.Position = UDim2.new(0.26004228, 0, 0.444333345, 0)
- key.Size = UDim2.new(0, 342, 0, 29)
- smoothCorner_4.Name = "smoothCorner"
- smoothCorner_4.Parent = key
- enter.Name = "enter"
- enter.Parent = key
- enter.BackgroundColor3 = Color3.fromRGB(53, 54, 63)
- enter.BackgroundTransparency = 1.000
- enter.BorderSizePixel = 0
- enter.Position = UDim2.new(0, 0, 0.0299999993, 1)
- enter.Size = UDim2.new(0, 342, 0, 28)
- enter.ClearTextOnFocus = false
- enter.PlaceholderText = "..."
- enter.Text = ""
- enter.TextColor3 = Color3.fromRGB(255, 255, 255)
- enter.TextSize = 12.000
- main.Name = "main"
- main.Parent = musicPlayer
- main.BackgroundColor3 = Color3.fromRGB(42, 43, 50)
- main.Position = UDim2.new(0.253638268, 0, 0.475120395, 0)
- main.Size = UDim2.new(0, 285, 0, 109)
- smoothCorner_5.Name = "smoothCorner"
- smoothCorner_5.Parent = main
- top_2.Name = "top"
- top_2.Parent = main
- top_2.BackgroundColor3 = Color3.fromRGB(36, 37, 43)
- top_2.Position = UDim2.new(0, 0, -0.00415802002, 0)
- top_2.Size = UDim2.new(0, 285, 0, 27)
- smoothCorner_6.Name = "smoothCorner"
- smoothCorner_6.Parent = top_2
- TextLabel_2.Parent = top_2
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0, 7, 0, 3)
- TextLabel_2.Size = UDim2.new(0, 89, 0, 20)
- TextLabel_2.Text = "Music player"
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextSize = 10.000
- TextLabel_2.TextWrapped = true
- TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
- play.Name = "play"
- play.Parent = main
- play.BackgroundColor3 = Color3.fromRGB(53, 54, 63)
- play.Position = UDim2.new(0.0926998034, 0, 0.631793857, 0)
- play.Size = UDim2.new(0, 109, 0, 29)
- play.Text = "Play"
- play.TextColor3 = Color3.fromRGB(255, 255, 255)
- play.TextSize = 10.000
- smoothCorner_7.CornerRadius = UDim.new(0, 5)
- smoothCorner_7.Name = "smoothCorner"
- smoothCorner_7.Parent = play
- id.Name = "id"
- id.Parent = main
- id.BackgroundColor3 = Color3.fromRGB(63, 64, 75)
- id.Position = UDim2.new(0.0511671603, 0, 0.30346939, 0)
- id.Size = UDim2.new(0, 254, 0, 29)
- smoothCorner_8.Name = "smoothCorner"
- smoothCorner_8.Parent = id
- enter_2.Name = "enter"
- enter_2.Parent = id
- enter_2.BackgroundColor3 = Color3.fromRGB(53, 54, 63)
- enter_2.BackgroundTransparency = 1.000
- enter_2.BorderSizePixel = 0
- enter_2.Position = UDim2.new(0, 0, 0.0300000943, 1)
- enter_2.Size = UDim2.new(0, 253, 0, 28)
- enter_2.ClearTextOnFocus = false
- enter_2.PlaceholderText = "..."
- enter_2.Text = ""
- enter_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- enter_2.TextSize = 12.000
- stop.Name = "stop"
- stop.Parent = main
- stop.BackgroundColor3 = Color3.fromRGB(53, 54, 63)
- stop.Position = UDim2.new(0.520770013, 0, 0.631793857, 0)
- stop.Size = UDim2.new(0, 109, 0, 29)
- stop.Text = "Stop"
- stop.TextColor3 = Color3.fromRGB(255, 255, 255)
- stop.TextSize = 10.000
- smoothCorner_9.CornerRadius = UDim.new(0, 5)
- smoothCorner_9.Name = "smoothCorner"
- smoothCorner_9.Parent = stop
- -- Scripts
- local function MYLI_fake_script() -- login
- local script = Instance.new('LocalScript', login)
- script.Parent.Parent.Parent.main.Visible = false
- script.Parent.Activated:Connect(function()
- if script.Parent.Text == "Login" then
- if script.Parent.Parent.key.enter.Text == "5859" then
- script.Parent.Text = "Success!"
- wait(1)
- script.Parent.Parent.Visible = false
- script.Parent.Parent.Parent.main.Visible = true
- else
- script.Parent.Text = "Incorrect!"
- wait(1)
- script.Parent.Text = "Login"
- end
- end
- end)
- end
- coroutine.wrap(MYLI_fake_script)()
- local function IXLTY_fake_script() -- php.drag
- local script = Instance.new('LocalScript', php)
- local UIS = game:GetService('UserInputService')
- local frame = script.Parent
- local dragToggle = nil
- local dragSpeed = 0.25
- local dragStart = nil
- local startPos = nil
- local function updateInput(input)
- local delta = input.Position - dragStart
- local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
- startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
- end
- frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragToggle = false
- end
- end)
- end
- end)
- UIS.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- if dragToggle then
- updateInput(input)
- end
- end
- end)
- end
- coroutine.wrap(IXLTY_fake_script)()
- local function LUYWXT_fake_script() -- play.scr
- local script = Instance.new('LocalScript', play)
- local play = script.Parent
- local id = script.Parent.Parent.id
- play.Activated:Connect(function()
- id.audio:Play()
- id.audio.SoundId = "http://www.roblox.com/asset/?id="..id.enter.Text
- end)
- end
- coroutine.wrap(LUYWXT_fake_script)()
- local function MKXW_fake_script() -- main.drag
- local script = Instance.new('LocalScript', main)
- local UIS = game:GetService('UserInputService')
- local frame = script.Parent
- local dragToggle = nil
- local dragSpeed = 0.25
- local dragStart = nil
- local startPos = nil
- local function updateInput(input)
- local delta = input.Position - dragStart
- local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
- startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
- end
- frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragToggle = false
- end
- end)
- end
- end)
- UIS.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- if dragToggle then
- updateInput(input)
- end
- end
- end)
- end
- coroutine.wrap(MKXW_fake_script)()
- local function WNVCT_fake_script() -- stop.scr
- local script = Instance.new('LocalScript', stop)
- local play = script.Parent
- local id = script.Parent.Parent.id
- play.Activated:Connect(function()
- id.audio:Stop()
- end)
- end
- coroutine.wrap(WNVCT_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement