Advertisement
OofNoob

WORKING! Miniix15 Music Player

Mar 29th, 2018
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. char = workspace:WaitForChild(plr.Name)
  3. head = char.Head
  4. neck = char.Torso.Neck
  5.  
  6. local masuci = Instance.new("ScreenGui")
  7. local masuicframe = Instance.new("Frame")
  8. local ids = Instance.new("TextBox")
  9. local play = Instance.new("TextButton")
  10. local music = Instance.new("Sound",char.Torso)
  11. music.SoundId = "rbxassetid://321034193"
  12. music.Volume = 3
  13.  
  14.  
  15. masuci.Name = "masuci"
  16. masuci.Parent = game.Players.LocalPlayer.PlayerGui
  17.  
  18. masuicframe.Name = "masuic frame"
  19. masuicframe.Parent = masuci
  20. masuicframe.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  21. masuicframe.Position = UDim2.new(0.0492227972, 0, 0.295681059, 0)
  22. masuicframe.Size = UDim2.new(0, 328, 0, 266)
  23.  
  24. ids.Name = "ids"
  25. ids.Parent = masuicframe
  26. ids.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  27. ids.Position = UDim2.new(0.190386087, 0, 0.210719123, 0)
  28. ids.Size = UDim2.new(0, 200, 0, 50)
  29. ids.Font = Enum.Font.SourceSans
  30. ids.Text = "ID HERE"
  31. ids.TextColor3 = Color3.new(0, 1, 1)
  32. ids.TextScaled = true
  33. ids.TextSize = 14
  34. ids.TextWrapped = true
  35.  
  36. play.Name = "play"
  37. play.Parent = masuicframe
  38. play.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  39. play.BorderSizePixel = 0
  40. play.Position = UDim2.new(0, 0, 0.488721818, 0)
  41. play.Size = UDim2.new(0, 168, 0, 50)
  42. play.Font = Enum.Font.SourceSans
  43. play.Text = "PLAY IT!"
  44. play.TextColor3 = Color3.new(0, 1, 0)
  45. play.TextScaled = true
  46. play.TextSize = 14
  47. play.TextWrapped = true
  48.  
  49. function PlaySound()
  50. music.SoundId = "rbxassetid://" .. ids.Text
  51. music:Play()
  52. music.Looped = true
  53. end
  54.  
  55.  
  56. play.MouseButton1Click:connect(PlaySound)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement