Advertisement
yamanohera155233

Untitled

Jun 18th, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and 6 and put your name where it says "xVitality"
  2.  
  3.  
  4. name = "Yamanohera15523"
  5.  
  6. me = game.Players.Yamanohera15523
  7.  
  8. screen = Instance.new("ScreenGui")
  9.  
  10. screen.Parent = me.PlayerGui
  11.  
  12. screen.Name = "Piano"
  13.  
  14.  
  15.  
  16. pos = 200
  17.  
  18.  
  19.  
  20. pos2 = 200
  21.  
  22.  
  23.  
  24. for i=0.4, 2, 0.1 do
  25.  
  26. pos = pos + 31
  27.  
  28. local p = Instance.new("TextButton")
  29.  
  30. p.Parent = screen
  31.  
  32. p.Size = UDim2.new(0, 30, 0, 85)
  33.  
  34. p.Position = UDim2.new(0,pos,0,300)
  35.  
  36. p.BackgroundColor3 = Color3.new(0.94,0.94,0.94)
  37.  
  38. p.Text = ""
  39.  
  40. local sound = Instance.new("Sound")
  41.  
  42. sound.Parent = game.Players
  43.  
  44. sound.Volume = 1
  45.  
  46. sound.Pitch = i
  47.  
  48. sound.SoundId = "rbxasset://sounds/uuhhh.wav"
  49.  
  50. p.MouseButton1Down:connect(function()
  51.  
  52. sound:play()
  53.  
  54. end)
  55.  
  56. end
  57.  
  58.  
  59.  
  60. for i=0.4, 2, 0.1 do
  61.  
  62. pos2 = pos2 + 31
  63.  
  64. local p = Instance.new("TextButton")
  65.  
  66. p.Parent = screen
  67.  
  68. p.Size = UDim2.new(0, 30, 0, 85)
  69.  
  70. p.Position = UDim2.new(0,pos2,0,405)
  71.  
  72. p.BackgroundColor3 = Color3.new(0.94,0.94,0.94)
  73.  
  74. p.Text = ""
  75.  
  76. local sound = Instance.new("Sound")
  77.  
  78. sound.Parent = game.Players
  79.  
  80. sound.Volume = 1
  81.  
  82. sound.Pitch = i
  83.  
  84. sound.SoundId = "rbxasset://sounds/uuhhh.wav"
  85.  
  86. p.MouseEnter:connect(function()
  87.  
  88. sound:play()
  89.  
  90. end)
  91.  
  92. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement