View difference between Paste ID: MRvJxxL2 and Dm2Wv5YW
SHOW: | | - or go back to the newest paste.
1
--MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and 6 and put your name where it says "YOUR NAME HERE"
2
3
4-
name = "szymon79"
4+
name = "NegativeAttention"
5
6-
me = game.Players.szymon79
6+
me = game.Players.NegativeAttention
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