---
title: "Smart AI Chatbot Script | Universal Roblox Script - ScriptBlox"
description: "Smart AI Chatbot Script for any Roblox game: Responds to what other people say in games automatically with an AI-generated response. Very smart, and very..."
canonical_url: "https://scriptblox.com/script/Universal-Script-Smart-AI-Chatbot-Script-1951"
meta:
  "og:description": "Smart AI Chatbot Script for any Roblox game: Responds to what other people say in games automatically with an AI-generated response. Very smart, and very..."
  "og:image": "https://scriptblox.com/images/script/2413889-1649960402404.jpg"
  "og:title": "Smart AI Chatbot Script | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Smart AI Chatbot Script for any Roblox game: Responds to what other people say in games automatically with an AI-generated response. Very smart, and very..."
  "twitter:image": "https://scriptblox.com/images/script/2413889-1649960402404.jpg"
  "twitter:title": "Smart AI Chatbot Script | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/2413889-1649960402404.jpg)

# **Smart AI Chatbot Script**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![Zulrics](https://scriptblox.com/images/photo/6250bce5a74ac44114fcf6a5-1660938703726.jpg) [Zulrics](https://scriptblox.com/u/Zulrics)First script**

5 years ago

[**Get an executor**](https://scriptblox.com/executors?kind=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. Mar 27, 2025

   ****Script edited:**** Create script

[View Raw](https://scriptblox.com/raw/Universal-Script-Smart-AI-Chatbot-Script-1951)

```
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 **](https://scriptblox.com/login?redirect=/script/Universal-Script-Smart-AI-Chatbot-Script-1951)

![Zulrics's profile picture](https://scriptblox.com/images/photo/6250bce5a74ac44114fcf6a5-1660938703726.jpg)

[**Zulrics**](https://scriptblox.com/u/Zulrics)**Uploader**5 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](https://scriptblox.com/images/user-default.webp)

[**aidenrymer13**](https://scriptblox.com/u/aidenrymer13)1 year ago

Does this work with KRNL?...

1

![prtsamu7's profile picture](https://scriptblox.com/images/user-default.webp)

[**prtsamu7**](https://scriptblox.com/u/prtsamu7)2 years ago(edited)

it is patched?

1

![S\_team's profile picture](https://scriptblox.com/images/photo/66869a4439d82eaabd0d6f44-1738743951655.jpg)

[**S\_team**](https://scriptblox.com/u/S_team)2 years ago(edited)

does it auto mattically work?

1

![Zulrics's profile picture](https://scriptblox.com/images/photo/6250bce5a74ac44114fcf6a5-1660938703726.jpg)

[**Zulrics**](https://scriptblox.com/u/Zulrics)**Uploader**4 years ago(edited)

I don't think it is patched.

1

![bakiradilovic's profile picture](https://scriptblox.com/images/user-default.png)

[**bakiradilovic**](https://scriptblox.com/u/bakiradilovic)4 years ago(edited)

is it patched?

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Smart-AI-Chatbot-Script-1951#script","url":"https://scriptblox.com/script/Universal-Script-Smart-AI-Chatbot-Script-1951","name":"Smart AI Chatbot Script","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"Zulrics","url":"https://scriptblox.com/u/Zulrics"},"datePublished":"2022-04-14T18:20:02.418Z","image":"https://scriptblox.com/images/script/2413889-1649960402404.jpg","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-Smart-AI-Chatbot-Script-1951#webpage","@type":"WebPage","description":"Smart AI Chatbot Script for any Roblox game: Responds to what other people say in games automatically with an AI-generated response. Very smart, and very...","name":"Smart AI Chatbot Script | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Smart-AI-Chatbot-Script-1951","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Smart-AI-Chatbot-Script-1951#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Smart-AI-Chatbot-Script-1951#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Smart-AI-Chatbot-Script-1951"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Smart-AI-Chatbot-Script-1951#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"Smart AI Chatbot Script","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
