Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and 6 and put your name where it says "YOUR NAME HERE"
- name = "worm2464"
- me = game.Players.worm2464
- screen = Instance.new("ScreenGui")
- screen.Parent = me.PlayerGui
- screen.Name = "Piano"
- pos = 200
- pos2 = 200
- for i=0.4, 2, 0.1 do
- pos = pos + 31
- local p = Instance.new("TextButton")
- p.Parent = screen
- p.Size = UDim2.new(0, 30, 0, 85)
- p.Position = UDim2.new(0,pos,0,300)
- p.BackgroundColor3 = Color3.new(0.94,0.94,0.94)
- p.Text = ""
- local sound = Instance.new("Sound")
- sound.Parent = game.Players
- sound.Volume = 1
- sound.Pitch = i
- sound.SoundId = "rbxasset://sounds/uuhhh.wav"
- p.MouseButton1Down:connect(function()
- sound:play()
- end)
- end
- for i=0.4, 2, 0.1 do
- pos2 = pos2 + 31
- local p = Instance.new("TextButton")
- p.Parent = screen
- p.Size = UDim2.new(0, 30, 0, 85)
- p.Position = UDim2.new(0,pos2,0,405)
- p.BackgroundColor3 = Color3.new(0.94,0.94,0.94)
- p.Text = ""
- local sound = Instance.new("Sound")
- sound.Parent = game.Players
- sound.Volume = 1
- sound.Pitch = i
- sound.SoundId = "rbxasset://sounds/uuhhh.wav"
- p.MouseEnter:connect(function()
- sound:play()
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement