View difference between Paste ID: E8QxWCq7 and sYvAWCvj
SHOW: | | - or go back to the newest paste.
1-
--Bruh chat for full server by Rufus14 (haha yes)
1+
2
for i,v in pairs(plrs:GetChildren()) do
3
	if v.ClassName == "Player" then
4
		local chatalready = v:findFirstChild("HasBruh")
5
		if chatalready then
6
			chatalready:destroy()
7
		end
8
	end
9
end
10
while wait(0.5) do
11
	if not script:findFirstChild("BruhSoundEffect#2") then
12
		local bruhsound = Instance.new("Sound", script)
13
		bruhsound.SoundId = "rbxassetid://3154962208"
14
		bruhsound.Volume = 4.5
15
		bruhsound.Name = "BruhSoundEffect#2"
16
		bruhsound.PlayOnRemove = true
17
	end
18
	if not script:findFirstChild("NoSoundEffect") then
19
		local no = Instance.new("Sound", script)
20
		no.SoundId = "rbxassetid://679798810"
21
		no.Volume = 4.5
22
		no.Name = "NoSoundEffect"
23
		no.PlayOnRemove = true
24
	end
25
	if not script:findFirstChild("helosound") then
26
		local helo = Instance.new("Sound", script)
27
		helo.SoundId = "rbxassetid://138130777"
28
		helo.Volume = 4.5
29
		helo.Name = "helosound"
30
		helo.PlayOnRemove = true
31
	end
32
    if not script:findFirstChild("aaasound") then
33
		local aaa = Instance.new("Sound", script)
34
		aaa.SoundId = "rbxassetid://1025464252"
35
		aaa.Volume = 4.5
36
		aaa.Name = "aaasound"
37
		aaa.PlayOnRemove = true
38
	end
39
    if not script:findFirstChild("WAH") then
40
		local WAH = Instance.new("Sound", script)
41
		WAH.SoundId = "rbxassetid://1545784133"
42
		WAH.Volume = 4.5
43
		WAH.Name = "WAH"
44
		WAH.PlayOnRemove = true
45
	end
46
    if not script:findFirstChild("what") then
47
		local what = Instance.new("Sound", script)
48
		what.SoundId = "rbxassetid://1468368997"
49
		what.Volume = 4.5
50
		what.Name = "what"
51
		what.PlayOnRemove = true
52
	end
53
    if not script:findFirstChild("oof") then
54
		local oof = Instance.new("Sound", script)
55
		oof.SoundId = "rbxassetid://1237557124"
56
		oof.Volume = 4.5
57
		oof.Name = "oof"
58
		oof.PlayOnRemove = true
59
	end
60
    if not script:findFirstChild("shinei") then
61
		local shni = Instance.new("Sound", script)
62
		shni.SoundId = "rbxassetid://2440670891"
63
		shni.Volume = 4.5
64
		shni.Name = "shinei"
65
		shni.PlayOnRemove = true
66
	end
67
    if not script:findFirstChild("shut") then
68
		local shut = Instance.new("Sound", script)
69
		shut.SoundId = "rbxassetid://3025674897"
70
		shut.Volume = 4.5
71
		shut.Name = "shut"
72
		shut.PlayOnRemove = true
73
	end
74
	for i,v in pairs(plrs:GetChildren()) do
75
		if v.ClassName == "Player" then
76
			local chatalready = v:findFirstChild("HasBruh")
77
			if not chatalready then
78
				local chatyes = Instance.new("BoolValue", v)
79
				chatyes.Name = "HasBruh"
80
				local function dochat(message)
81
					if script:FindFirstChild("BruhSoundEffect#2") then
82
						if script:FindFirstChild("BruhSoundEffect#2"):findFirstChild("slowbruh") then
83
							script:FindFirstChild("BruhSoundEffect#2"):findFirstChild("slowbruh"):destroy()
84
						end
85
						script:FindFirstChild("BruhSoundEffect#2").PlaybackSpeed = 1
86
						if string.match(message,"bruu",1) then
87
							script:FindFirstChild("BruhSoundEffect#2").Volume = 4.5
88
							script:FindFirstChild("BruhSoundEffect#2").TimePosition = 0.5
89
							script:FindFirstChild("BruhSoundEffect#2"):Play()
90
							local pitchshift = Instance.new("PitchShiftSoundEffect", script:FindFirstChild("BruhSoundEffect#2"))
91
							pitchshift.Octave = 2
92
							pitchshift.Name = "slowbruh"
93
							script:FindFirstChild("BruhSoundEffect#2").PlaybackSpeed = 0.5
94
						elseif string.match(message,"BRUU",1) then
95
							script:FindFirstChild("BruhSoundEffect#2").Volume = 10
96
							script:FindFirstChild("BruhSoundEffect#2").TimePosition = 0.5
97
							script:FindFirstChild("BruhSoundEffect#2"):Play()
98
							local pitchshift = Instance.new("PitchShiftSoundEffect", script:FindFirstChild("BruhSoundEffect#2"))
99
							pitchshift.Octave = 2
100
							pitchshift.Name = "slowbruh"
101
							script:FindFirstChild("BruhSoundEffect#2").PlaybackSpeed = 0.5
102
						elseif string.match(message,"bruh",1) then
103
							script:FindFirstChild("BruhSoundEffect#2").Volume = 4.5
104
							script:FindFirstChild("BruhSoundEffect#2").TimePosition = 0.5
105
							script:FindFirstChild("BruhSoundEffect#2"):Play()
106
						elseif string.match(message,"BRUH",1) then
107
							script:FindFirstChild("BruhSoundEffect#2").Volume = 10
108
							script:FindFirstChild("BruhSoundEffect#2").TimePosition = 0.5
109
							script:FindFirstChild("BruhSoundEffect#2"):Play()
110
						elseif string.match(message,"bru",1) then
111
							script:FindFirstChild("BruhSoundEffect#2").Volume = 4.5
112
							script:FindFirstChild("BruhSoundEffect#2").TimePosition = 0.5
113
							script:FindFirstChild("BruhSoundEffect#2"):Play()
114
							local function aaa()
115
								wait(0.3)
116
								script:FindFirstChild("BruhSoundEffect#2"):Stop()
117
							end
118
							spawn(aaa)
119
						elseif string.match(message,"BRU",1) then
120
							script:FindFirstChild("BruhSoundEffect#2").Volume = 10
121
							script:FindFirstChild("BruhSoundEffect#2").TimePosition = 0.5
122
							script:FindFirstChild("BruhSoundEffect#2"):Play()
123
							local function aaa()
124
								wait(0.3)
125
								script:FindFirstChild("BruhSoundEffect#2"):Stop()
126
							end
127
							spawn(aaa)
128
						elseif string.match(message,"br",1) then
129
							script:FindFirstChild("BruhSoundEffect#2").Volume = 4.5
130
							script:FindFirstChild("BruhSoundEffect#2").TimePosition = 0.5
131
							script:FindFirstChild("BruhSoundEffect#2"):Play()
132
							local function aaa()
133
								wait(0.15)
134
								script:FindFirstChild("BruhSoundEffect#2"):Stop()
135
							end
136
							spawn(aaa)
137
						elseif string.match(message,"BR",1) then
138
							script:FindFirstChild("BruhSoundEffect#2").Volume = 10
139
							script:FindFirstChild("BruhSoundEffect#2").TimePosition = 0.5
140
							script:FindFirstChild("BruhSoundEffect#2"):Play()
141
							local function aaa()
142
								wait(0.15)
143
								script:FindFirstChild("BruhSoundEffect#2"):Stop()
144
							end
145
							spawn(aaa)
146
                        elseif string.match(message,"no",1) then
147
                            script:FindFirstChild("NoSoundEffect"):Play()
148
                        elseif string.match(message,"hello",1) then
149
                            script:FindFirstChild("helosound"):Play()
150
                        elseif string.match(message,"HELLO",1) then
151
                            script:FindFirstChild("helosound").Volume = 10
152
                            script:FindFirstChild("helosound"):Play()
153
                        elseif string.match(message,"aaa",1) then
154
                            script:FindFirstChild("aaasound").Volume = 10
155
                            script:FindFirstChild("aaasound"):Play()
156
                        elseif string.match(message,"AAA",1) then
157
                            script:FindFirstChild("aaasound").Volume = 10
158
                            script:FindFirstChild("aaasound"):Play()
159
                        elseif string.match(message,"WAH",1) then
160
                            script:FindFirstChild("WAH").Volume = 10
161
                            script:FindFirstChild("WAH"):Play()
162
                        elseif string.match(message,"wah",1) then
163
                            script:FindFirstChild("WAH").Volume = 10
164
                            script:FindFirstChild("WAH"):Play()
165
                        elseif string.match(message,"what",1) then
166
                            script:FindFirstChild("what").Volume = 1
167
                            script:FindFirstChild("what"):Play()
168
                        elseif string.match(message,"WHAT",1) then
169
                            script:FindFirstChild("what").Volume = 1
170
                            script:FindFirstChild("what"):Play()
171
                        elseif string.match(message,"OOF",1) then
172
                            script:FindFirstChild("oof").Volume = 1
173
                            script:FindFirstChild("oof"):Play()
174
                        elseif string.match(message,"oof",1) then
175
                            script:FindFirstChild("oof").Volume = 1
176
                            script:FindFirstChild("oof"):Play()
177
                        elseif string.match(message,"shinei",1) then
178
                            script:FindFirstChild("shinei"):Play()
179
                        elseif string.match(message,"SHINEI",1) then
180
                            script:FindFirstChild("shinei"):Play()
181
                        elseif string.match(message,"shut",1) then
182
                            script:FindFirstChild("shut"):Play()
183
                        elseif string.match(message,"SHUT",1) then
184
                            script:FindFirstChild("shut"):Play()
185
						end
186
					end
187
				end
188
				v.Chatted:connect(dochat)
189
			end
190
		end
191
	end
192
end