Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Bruh chat for full server by Rufus14 (haha yes)
- plrs = game:GetService("Players")
- for i,v in pairs(plrs:GetChildren()) do
- if v.ClassName == "Player" then
- local chatalready = v:findFirstChild("HasBruh")
- if chatalready then
- chatalready:destroy()
- end
- end
- end
- while wait(0.5) do
- if not script:findFirstChild("BruhSoundEffect#2") then
- local bruhsound = Instance.new("Sound", script)
- bruhsound.SoundId = "rbxassetid://3154962208"
- bruhsound.Volume = 20
- bruhsound.Name = "BruhSoundEffect#2"
- bruhsound.PlayOnRemove = true
- end
- for i,v in pairs(plrs:GetChildren()) do
- if v.ClassName == "Player" then
- local chatalready = v:findFirstChild("HasBruh")
- if not chatalready then
- local chatyes = Instance.new("BoolValue", v)
- chatyes.Name = "HasBruh"
- local function dochat(message)
- if script:FindFirstChild("BruhSoundEffect#2") then
- if string.sub(message, 1,3) == "bru" then
- script:FindFirstChild("BruhSoundEffect#2").Volume = 4.5
- script:FindFirstChild("BruhSoundEffect#2").TimePosition = 0.4
- script:FindFirstChild("BruhSoundEffect#2"):Play()
- elseif string.sub(message, 1,3) == "BRU" then
- script:FindFirstChild("BruhSoundEffect#2").Volume = 10
- script:FindFirstChild("BruhSoundEffect#2").TimePosition = 0.4
- script:FindFirstChild("BruhSoundEffect#2"):Play()
- end
- end
- end
- v.Chatted:connect(dochat)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement