Created by haboi
Features:
- ROCK PAPER SCISSORS BOT
- just claim a booth and execute the script
- Works with anyone that says rock, paper or scissors
SCRIPT:
local args = {"Rock", "Paper", "Scissors"};
local FK = ":"
local DB = "Loss"
local FB = "Win"
local KG = "Tie"
local EventFolder = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
EventFolder.OnMessageDoneFiltering.OnClientEvent:Connect(function(messageObj)
if messageObj.FromSpeaker == v.Name then
if messageObj.Message == "Rock" or messageObj.Message == "rock" then
local a = args[math.random(1, 3)]
if a == "Rock" then
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = KG..FK..a,["ImageId"] = math.random(1, 100000000)})
wait(2)
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = "ROCK PAPER SCISSORS ",["ImageId"] = 0})
end
if a == "Scissors" then
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = FB..FK..a,["ImageId"] = math.random(1, 100000000)})
wait(2)
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = "ROCK PAPER SCISSORS ",["ImageId"] = 0})
end
if a == "Paper" then
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = DB..FK..a,["ImageId"] = math.random(1, 100000000)})
wait(2)
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = "ROCK PAPER SCISSORS ",["ImageId"] = 0})
end
end
end
end)
end
local EventFolder = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
EventFolder.OnMessageDoneFiltering.OnClientEvent:Connect(function(messageObj)
if messageObj.FromSpeaker == v.Name then
if messageObj.Message == "Paper" or messageObj.Message == "paper" then
local a = args[math.random(1, 3)]
if a == "Rock" then
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = FB..FK..a,["ImageId"] = math.random(1, 100000000)})
wait(2)
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = "ROCK PAPER SCISSORS ",["ImageId"] = 0})
end
if a == "Scissors" then
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = DB..FK..a,["ImageId"] = math.random(1, 100000000)})
wait(2)
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = "ROCK PAPER SCISSORS ",["ImageId"] = 0})
end
if a == "Paper" then
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = KG..FK..a,["ImageId"] = math.random(1, 100000000)})
wait(2)
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = "ROCK PAPER SCISSORS ",["ImageId"] = 0})
end
end
end
end)
end
local EventFolder = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
EventFolder.OnMessageDoneFiltering.OnClientEvent:Connect(function(messageObj)
if messageObj.FromSpeaker == v.Name then
if messageObj.Message == "Scissors" or messageObj.Message == "scissors" then
local a = args[math.random(1, 3)]
if a == "Rock" then
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = DB..FK..a,["ImageId"] = math.random(1, 100000000)})
wait(2)
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = "ROCK PAPER SCISSORS ",["ImageId"] = 0})
end
if a == "Scissors" then
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = KG..FK..a,["ImageId"] = math.random(1, 100000000)})
wait(2)
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = "ROCK PAPER SCISSORS ",["ImageId"] = 0})
end
if a == "Paper" then
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = FB..FK..a,["ImageId"] = math.random(1, 100000000)})
wait(2)
game:GetService("ReplicatedStorage").CustomiseBooth:FireServer("Update",{["DescriptionText"] = "ROCK PAPER SCISSORS ",["ImageId"] = 0})
end
end
end
end)
end