Universal Script 📌
38.8k Views
284 Executions

Smart AI Chatbot Script

Universal Script 📌
Zulrics
ZulricsFirst script
5 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Responds to what other people say in games automatically with an AI-generated response. Very smart, and very funny to use.

Updates

  1. Script edited: Create script

View Raw
local HttpService = game:GetService("HttpService")
local Players = game:GetService("Players")
 
_G.Owner = "YourUsernameHere"
 
function getChat(message,plrname)
 
   local Split = message:gsub(" ", "+") -- This takes spaces within the person's message and turns it into for ex: Hi+How+Are+You... to ensure that there are no errors and to also make the URL work
 
   local Response = game:HttpGet("https://api.affiliateplus.xyz/api/chatbot?message=" .. Split .. "&botname=" .. plrname .. "&ownername=" .. _G.Owner .. "&user=1")
   local Data = HttpService:JSONDecode(Response)
   wait(1)
   game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Data.message, "All")
end
 
Players.PlayerChatted:Connect(function(type, plr, message)
   if plr.Name ~= Players.LocalPlayer.Name then
       getChat(message, plr.Name)
   end
end)


Comments

6
Log in to join the conversation. Login
Zulrics's profile picture
ZulricsUploader5 years ago(edited)

âť—IMPORTANTâť— THIS SCRIPT WAS NOT MADE BY ME, HOWEVER, I DECIDED TO RE-POST IT, JUST IN CASE OTHER PEOPLE COULDN'T FIND IT, JUST TO SPREAD IT SO IT'S EASIER TO FIND. CREDITS GO TO: DARK ECCENTRIC âť—THAT IS WHO I FIRST SAW THIS SCRIPT FROM... GO CHECK HIM OUT, THIS SCRIPT IS AWESOMEâť—

4
aidenrymer13's profile picture
aidenrymer131 year ago

Does this work with KRNL?...

1
prtsamu7's profile picture
prtsamu72 years ago(edited)

it is patched?

1
S_team's profile picture
S_team2 years ago(edited)

does it auto mattically work?

1
Zulrics's profile picture
ZulricsUploader4 years ago(edited)

I don't think it is patched.

1
bakiradilovic's profile picture
bakiradilovic4 years ago(edited)

is it patched?

1

More universal scripts

See all
Script hub
4.1M
558.4k
Bumped 1 minute ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow #1 *OP*

Script hub
5.4k
28.8k
Bumped 55 minutes ago
Key System
Script hub
14.0k
28.4k
Bumped 2 hours ago
Universal Script 📌
339.0k
74.9k
Bumped 2 hours ago
Script hub
462.0k
989.7k
Bumped 2 hours ago
Key System

Script hub

Hall of Fame #5

Verified script badgeRonix Hub | 52 Supported Games + OP!

Universal Script 📌
65
6
Approved 3 hours ago