Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- math.randomseed(os.time())
- wait(1)
- --settings
- local whisper = false --Toggle this if you want whisper chat to appear globablly
- local gui = true --Toggle this if you want gui to appear
- local prefix = "!" --chat prefix for the commands
- --settings end
- ScreenGui0 = Instance.new("ScreenGui")
- ImageLabel1 = Instance.new("ImageLabel")
- TextButton2 = Instance.new("TextButton")
- ImageLabel3 = Instance.new("ImageLabel")
- ScrollingFrame4 = Instance.new("ScrollingFrame")
- TextButton5 = Instance.new("TextButton")
- UIListLayout6 = Instance.new("UIListLayout")
- TextLabel7 = Instance.new("TextLabel")
- ScreenGui0.Parent = game.Players.LocalPlayer.PlayerGui
- ScreenGui0.DisplayOrder = 999999998
- ScreenGui0.Enabled = gui
- ScreenGui0.ResetOnSpawn = false
- ImageLabel1.Name = "Frame"
- ImageLabel1.Parent = ScreenGui0
- ImageLabel1.Position = UDim2.new(1.00999999, 0, 0.5, 0)
- ImageLabel1.Size = UDim2.new(0.150000006, 0, 0.300000012, 0)
- ImageLabel1.AnchorPoint = Vector2.new(1, 0)
- ImageLabel1.BackgroundColor = BrickColor.new("Black")
- ImageLabel1.BackgroundColor3 = Color3.new(0.184314, 0.192157, 0.211765)
- ImageLabel1.BackgroundTransparency = 1
- ImageLabel1.Image = "rbxassetid://3570695787"
- ImageLabel1.ImageColor3 = Color3.new(0.184314, 0.192157, 0.211765)
- ImageLabel1.ScaleType = Enum.ScaleType.Slice
- ImageLabel1.SliceCenter = Rect.new(100, 100, 100, 100)
- ImageLabel1.SliceScale = 0.12
- TextButton2.Parent = ImageLabel1
- TextButton2.Position = UDim2.new(0.49000001, 0, 0.0700000003, 0)
- TextButton2.Size = UDim2.new(0.800000012, 0, 0, 50)
- TextButton2.AnchorPoint = Vector2.new(0.5, 0)
- TextButton2.BackgroundColor = BrickColor.new("Earth green")
- TextButton2.BackgroundColor3 = Color3.new(0.211765, 0.223529, 0.247059)
- TextButton2.BackgroundTransparency = 1
- TextButton2.BorderSizePixel = 0
- TextButton2.ZIndex = 3
- TextButton2.Font = Enum.Font.Gotham
- TextButton2.FontSize = Enum.FontSize.Size28
- TextButton2.Text = "Whisper: False"
- TextButton2.TextColor = BrickColor.new("Institutional white")
- TextButton2.TextColor3 = Color3.new(1, 1, 1)
- TextButton2.TextScaled = true
- TextButton2.TextSize = 28
- TextButton2.TextWrap = true
- TextButton2.TextWrapped = true
- ImageLabel3.Name = "TextButton_Roundify_4px"
- ImageLabel3.Parent = TextButton2
- ImageLabel3.Position = UDim2.new(0.5, 0, 0.5, 0)
- ImageLabel3.Size = UDim2.new(1, 0, 1, 0)
- ImageLabel3.Active = true
- ImageLabel3.AnchorPoint = Vector2.new(0.5, 0.5)
- ImageLabel3.BackgroundColor = BrickColor.new("Institutional white")
- ImageLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel3.BackgroundTransparency = 1
- ImageLabel3.Selectable = true
- ImageLabel3.ZIndex = 2
- ImageLabel3.Image = "rbxassetid://3570695787"
- ImageLabel3.ImageColor3 = Color3.new(0.211765, 0.223529, 0.247059)
- ImageLabel3.ScaleType = Enum.ScaleType.Slice
- ImageLabel3.SliceCenter = Rect.new(100, 100, 100, 100)
- ImageLabel3.SliceScale = 0.12
- ScrollingFrame4.Parent = ImageLabel1
- ScrollingFrame4.Position = UDim2.new(0.49000001, 0, 0.949999988, 0)
- ScrollingFrame4.Size = UDim2.new(0.800000012, 0, 0.550000012, 0)
- ScrollingFrame4.Active = true
- ScrollingFrame4.AnchorPoint = Vector2.new(0.5, 1)
- ScrollingFrame4.BackgroundColor = BrickColor.new("Earth green")
- ScrollingFrame4.BackgroundColor3 = Color3.new(0.211765, 0.223529, 0.247059)
- ScrollingFrame4.BorderSizePixel = 0
- ScrollingFrame4.CanvasSize = UDim2.new(0, 0, 0, 0)
- TextButton5.Parent = ScrollingFrame4
- TextButton5.Size = UDim2.new(1, 0, 0, 30)
- TextButton5.BackgroundColor = BrickColor.new("Black")
- TextButton5.BackgroundColor3 = Color3.new(0.184314, 0.192157, 0.211765)
- TextButton5.BorderColor = BrickColor.new("Institutional white")
- TextButton5.BorderColor3 = Color3.new(1, 1, 1)
- TextButton5.Font = Enum.Font.Garamond
- TextButton5.FontSize = Enum.FontSize.Size32
- TextButton5.TextColor = BrickColor.new("Tr. Flu. Blue")
- TextButton5.TextColor3 = Color3.new(0.870588, 0.909804, 1)
- TextButton5.TextScaled = true
- TextButton5.TextSize = 30
- TextButton5.TextWrap = true
- TextButton5.TextWrapped = true
- TextButton5.TextXAlignment = Enum.TextXAlignment.Left
- TextButton5.TextYAlignment = Enum.TextYAlignment.Top
- TextButton5.Visible = false
- UIListLayout6.Parent = ScrollingFrame4
- UIListLayout6.SortOrder = Enum.SortOrder.LayoutOrder
- TextLabel7.Parent = ImageLabel1
- TextLabel7.Position = UDim2.new(0.49000001, 0, 0.270000011, 0)
- TextLabel7.Size = UDim2.new(0.800000012, 0, 0.100000001, 0)
- TextLabel7.AnchorPoint = Vector2.new(0.5, 0)
- TextLabel7.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel7.BackgroundTransparency = 1
- TextLabel7.Font = Enum.Font.SourceSans
- TextLabel7.FontSize = Enum.FontSize.Size14
- TextLabel7.Text = "Tags:"
- TextLabel7.TextColor = BrickColor.new("Institutional white")
- TextLabel7.TextColor3 = Color3.new(1, 1, 1)
- TextLabel7.TextScaled = true
- TextLabel7.TextSize = 14
- TextLabel7.TextWrap = true
- TextLabel7.TextWrapped = true
- TextBox0 = Instance.new("TextBox")
- TextBox0.Parent = ScreenGui0
- TextBox0.Position = UDim2.new(0.850000024, 0, 0.75, 0)
- TextBox0.Size = UDim2.new(0.135000005, 0, 0.200000003, 0)
- TextBox0.AnchorPoint = Vector2.new(1, 1)
- TextBox0.BackgroundColor = BrickColor.new("Earth blue")
- TextBox0.BackgroundColor3 = Color3.new(0.211765, 0.223529, 0.247059)
- TextBox0.Font = Enum.Font.Gotham
- TextBox0.FontSize = Enum.FontSize.Size28
- TextBox0.Text = ""
- TextBox0.TextColor = BrickColor.new("Institutional white")
- TextBox0.TextColor3 = Color3.new(1, 1, 1)
- TextBox0.TextSize = 25
- TextBox0.TextWrap = true
- TextBox0.TextWrapped = true
- TextBox0.PlaceholderText = "Change Tag Description"
- TextBox0.Visible = false
- --gui end
- local countcommandamount= 0
- local count = 0
- local split = " "
- local function animation(id,speed)
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..id
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(speed)
- end
- local function splitString(str,delim)
- local broken = {}
- if delim == nil then delim = "," end
- for w in string.gmatch(str,"[^"..delim.."]+") do
- table.insert(broken,w)
- end
- return broken
- end
- local function addtag(name)
- local newtag = TextButton5:Clone()
- newtag.Name = name
- newtag.Text = name
- newtag.Visible = true
- ScrollingFrame4.CanvasSize = ScrollingFrame4.CanvasSize + UDim2.new(0,0,0.11,0)
- newtag.Parent = ScrollingFrame4
- newtag.MouseButton1Click:Connect(function()
- TextBox0.Visible = true
- TextBox0.Name = name
- end)
- end
- function shortName(t)
- local matches= {}
- for _, player in ipairs (game.Players:GetPlayers()) do
- if string.lower(player.Name):match(string.lower(t)) then
- table.insert(matches, player)
- end
- end
- if #matches == 1 then
- return matches[1]
- else
- return nil
- end
- end
- function onChatted(msg, recipient, speaker)
- if speaker.Name == game.Players.LocalPlayer.Name then count = count + 1 end
- local whotosendto = "All"
- -- if publicchat == false then whotosendto = speaker.Name end
- if count <= 5 then
- local args = splitString(msg, split)
- local source = string.lower(speaker.Name)
- msg = string.lower(msg)
- local didcommand = false
- local reply = ""
- if string.sub(msg, 1,5) == prefix.. "help" then
- didcommand = true
- if args[2] == nil then args[2] = "1" end
- if args[2] == "1" then reply = "prefix [" ..prefix.. "]: funfact, edgyfact, yomama, info, credits, dis, die, goto, count, dance, 8ball"
- elseif args[2] == "2" then reply = "createtag <name> <description>, tag <name>"
- else reply = "Unknown Page" end
- elseif string.sub(msg, 1,9) == prefix.. "edgyfact" then
- didcommand = true
- local possiblereplies = {"Gay people are more likely to have mental illness","Childhood abuse has been linked to becoming gay","Gay people suffer a lot more abuse then straight people.","People in LGBT have a higher chance of being depressed.","LGBT members have a higher chance of gaining disorders like eating disorders.","People in LGBT grow up more likely to live in poverty","Coronavirus wouldn't have spread this much if people took it seriously.","Everything you do on ROBLOX is being sold to private companies.","We are all going to die eventually.","We are just a floating rock in space of emptiness. We are the only living creatures."}
- local random = math.random(1,#possiblereplies)
- reply = tostring(possiblereplies[random])
- elseif string.sub(msg, 1,8) == prefix.. "funfact" then
- didcommand = true
- local possiblereplies = {"Glitter was accidentally invented by a New Jersey cattle rancher.","Hawaiian pizza was invented by a Greek man in Canada.","S. President Theodor Roosevelt had a pet hyena.","Walmart accepts fewer applicants than Harvard.","The world’s first cosmonaut was a dog.","Hitler’s nephew earned a Purple Heart fighting for the Allies in World War II.","More than half the world’s population is under 30.","A day is longer than a year on Venus.","The world’s oldest operational hotel was built in 705AD.","The Eiffel Tower is shorter in winter than in summer.","Russia was founded by Vikings.","Ketchup was invented in China.","Armadillos are bulletproof.","A Superman coin is legal tender in Canada.","Abraham Lincoln was a licensed bartender. ","All blue-eyed people have a common ancestor.","A toddler could fit inside a blue whale’s arteries.","There are more than 200 dead bodies on Mount Everest.","A UK researcher developed a chili pepper so hot it could kill you.","The tallest man in history was 8’11” tall.","There are 2,000 thunderstorms in progress at any given moment.","Workers are most productive on Mondays. ","May 5th is Cartoonist Day.","Did you know the inventor of the Frisbee was turned into one after his death?","Did you know carrots weren’t always orange?","Did you know the active ingredient in dynamite is used to treat heart attacks?","Did you know Oreos are vegan?","Did you know peanuts aren’t actually nuts?","The human eye can detect the light of a candle from over a mile away.","80% of taste is determined by aroma.","About 99.9% of human genes are identical.","You can tell if someone really likes you by looking at their feet while you talk.","The oldest “your mom” joke dates from ancient Babylonia. ","Penguin urine makes up about 3% of Antarctica’s glaciers. ","The sandwich was invented so a noble could gamble longer.","The name for the fear of long words is 36 letters long. ","There is a medical procedure to remove the sense of fear.","Every panda in a zoo around the world is on loan from China.","Sliced bread wasn’t invented until 1928.","Hippopotamuses kill more people each year than lions, sharks, and wolves combined.","Grapes are toxic to dogs.","The ancient Greeks may have used computers.","More than 3 billion people watched the 2014 FIFA World Cup.","A lion’s roar is louder than a lawnmower.","Only two countries use purple in their national flag","Wombats have cube-shaped poop.","Footprints left on the moon’s surface will last for a million years.","Some snakes can sense when an earthquake is coming.","Roundworms can survive over 30,000 frozen in ice.","There are over two dozen states of matter.","Killer whales aren’t really whales.","90% of the world’s fresh water is in Antarctica.","The largest natural cave is twice the size of Wembley Stadium.","The average human body is home to between 2 and 6 pounds of bacteria."}
- local random = math.random(1,#possiblereplies)
- reply = tostring(possiblereplies[random])
- elseif string.sub(msg, 1,10) == prefix.. "createtag" then
- didcommand = true
- local tag = Instance.new("StringValue",game.Players.LocalPlayer)
- tag.Name = args[2]
- local waitwhat = string.len(args[2]) + 12
- tag.Value = string.sub(msg,waitwhat)
- reply = "Created tag " ..args[2]
- addtag(args[2])
- elseif string.sub(msg, 1,4) == prefix.. "tag" then
- didcommand = true
- if game.Players.LocalPlayer:FindFirstChild(args[2]) then
- reply = game.Players.LocalPlayer[args[2]].Value
- end
- elseif string.sub(msg, 1,5) == prefix.. "info" then
- didcommand = true
- reply = "Hi! I am running a script that allows players to run commands. These commands can control my chat, character and more! " ..prefix.. "help to view commands."
- elseif string.sub(msg, 1,8) == prefix.. "credits" then
- didcommand = true
- reply = "This script was created by Kawakie (kawakie#.3999), inspiration comes from KonekoKitten"
- elseif string.sub(msg, 1,7) == prefix.. "yomama" then
- didcommand = true
- local possiblereplies = {"Yo mama's so fat, when she fell I didn't laugh, but the sidewalk cracked up.","Yo mama's so fat, when she skips a meal, the stock market drops.","Yo mama's so fat, it took me two buses and a train to get to her good side.","Yo mama's so fat, when she goes camping, the bears hide their food.","Yo mama's so fat, if she buys a fur coat, a whole species will become extinct.","Yo mama's so fat, I swerved to miss her in my car and ran out of gas.","Yo mama's so fat, when she wears high heels, she strikes oil.","Yo mama's so fat, she was overthrown by a small militia group, and now she's known as the Republic of Yo Mama.","Yo mama's so fat, when she sits around the house, she SITS AROUND the house.","Yo mama's so fat, she can't even jump to a conclusion.","Yo mama's so fat, if she was a Star Wars character, her name would be Admiral Snackbar.","Yo mama's so fat, she brought a spoon to the Super Bowl.","Yo mama's so stupid when they said it was chilly outside, she grabbed a bowl.","Yo mama's so stupid, she put lipstick on her forehead to make up her mind.","Yo mama's so stupid, when they said, 'Order in the court,' she asked for fries and a shake.","Yo mama's so stupid, she thought a quarterback was a refund.","Yo mama's so stupid, when I told her that she lost her mind, she went looking for it","Yo mama's so stupid when thieves broke into her house and stole the TV, she chased after them shouting 'Wait, you forgot the remote!'","Yo mama's so stupid, she went to the dentist to get a Bluetooth.","Yo mama's so stupid, she put airbags on her computer in case it crashed.","Yo mama's so ugly, she threw a boomerang and it refused to come back.","Yo mama's so old, her social security number is one.","Yo mama's so ugly, she made a blind kid cry.","Yo mama's so ugly, her portraits hang themselves.","Yo mama's so ugly, when she was little, she had to trick-or-treat by phone.","Yo mama's so ugly, she looked out the window and was arrested for mooning.","Yo mama's so poor, the ducks throw bread at her.","Yo mama's so poor, she chases the garbage truck with a grocery list.","Yo mama's so poor, she can't even afford to pay attention.","Yo mama so scary, the government moved Halloween to her birthday.","Yo mama's so nasty, they used to call them jumpolines 'til yo mama bounced on one.","Yo mama's so poor, Nigerian princes wire her money.","Yo mama so dumb, she went to the eye doctor to get an iPhone."}
- local random = math.random(1,#possiblereplies)
- reply = tostring(possiblereplies[random])
- elseif string.sub(msg, 1,6) == prefix.. "count" then
- didcommand = true
- countcommandamount = countcommandamount + 1
- reply = "This command has been used " .. tostring(countcommandamount) .. " times."
- elseif string.sub(msg, 1,4) == prefix.. "age" then
- didcommand = true
- if args[2] == nil then args[2] = speaker.Name end
- local playertodoitto = shortName(args[2])
- reply = playertodoitto.Name.. "'s account age is " ..playertodoitto.AccountAge
- elseif string.sub(msg, 1,4) == prefix.. "die" then
- didcommand = true
- reply = ""
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- elseif string.sub(msg,1,6) == prefix.. "dance" then
- didcommand = true
- animation(35654637,1)
- elseif string.sub(msg,1,6) == prefix.. "8ball" then
- didcommand = true
- local possiblereplies = {"All signs point to yes...", "Yes!", "My sources say nope.", "You may rely on it.", "Concentrate and ask again...", "Outlook not so good...", "It is decidedly so!", "Better not tell you.", "Very doubtful.", "Yes - Definitely!", "It is certain!", "Most likely.", "Ask again later.", "No!", "Outlook good.", "Don't count on it."}
- local random = math.random(1,#possiblereplies)
- reply = speaker.Name .. ", " .. tostring(possiblereplies[random])
- elseif string.sub(msg, 1,5) == prefix.. "goto" then
- didcommand = true
- reply = ""
- if args[2] == nil then args[2] = speaker.Name end
- local playertodoitto = shortName(args[2])
- game.Players.LocalPlayer.Character:MoveTo(playertodoitto.Character.Head.Position + Vector3.new(0,1,0))
- elseif string.sub(msg,1,2) == "/w" or string.sub(msg,1,7) == "/whisper" or string.sub(msg,1,5) == "/team" or string.sub(msg,1,2) == "/t" then
- if whisper then
- didcommand = true
- reply = "[from " ..speaker.Name.. "]: " ..string.sub(msg, 4)
- end
- end
- if didcommand and reply ~= "" then wait(0.1) game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(">Bot: " ..reply,whotosendto) end
- else
- if count == 6 then game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Please wait to prevent anti-chat spam from kicking in.",whotosendto) end
- end
- end
- TextButton2.MouseButton1Click:Connect(function()
- whisper = not whisper
- TextButton2.Text = "Whisper: " .. tostring(whisper)
- end)
- TextBox0.FocusLost:Connect(function(enterPressed, inputThatCausedFocusLost)
- if enterPressed then
- game.Players.LocalPlayer[TextBox0.Name].Value = TextBox0.Text
- TextBox0.Visible = false
- end
- end)
- for i, newPlayer in pairs(game.Players:GetPlayers()) do
- newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
- end
- function onPlayerEntered(newPlayer)
- newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(newPlayer.Name .. " has joined the server","All")
- count = count + 1
- end
- game.Players.ChildAdded:connect(onPlayerEntered)
- wait(2)
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("(V1.6) " ..game.Players.LocalPlayer.Name.. " has run Message Bot V1.5, use " ..prefix.. "help to view the commands!","All")
- while wait(4) do
- count = count - 1
- end
Add Comment
Please, Sign In to add comment