Universal Script πŸ“Œ
16.1k Views
583 Executions

FE AI Chat

Universal Script πŸ“Œ
FreeRobloxScripts1
FreeRobloxScripts1Published 10
3 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

FE AI Chat

Updates

  1. Script edited: Create script

View Raw
local HttpService = game:GetService("HttpService")
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")

--I based this script on ChatBot, but with the SimSimi api, therefore it has more accurate and fun answers XD

--Modify these parameters as you want--

local idioma = "en" --Here is the language you want SimSImi to respond to, es for "EspaΓ±ol", en for "English"

local chatfuel = "True" --If you want me to censor the swearing "True" or "False"

--From here down I don't recommend moving him if you don't know Lua

local function mensajepro(mensaje, jugador) --In this function the magic happens
    local texto = mensaje
    local Responde = game:HttpGet("https://api.simsimi.net/v2/?text="..texto.."&lc="..idioma.."&cf="..chatfuel) --The SimSImi api is called
    local datos = HttpService:JSONDecode(Responde)
    
   wait()
   
   game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(jugador.." "..datos.success, "All") --A message is sent with the response of SimSImi
end


Players.PlayerChatted:Connect(function(type, plr, message) --When a player speaks
    for _,plrs in pairs(game.Players:GetPlayers()) do
 
 if (Players.LocalPlayer.Character.HumanoidRootPart.Position - plrs.Character.HumanoidRootPart.Position).magnitude <= 10 then --If the player is nearby, SimSimi will read their message.
  if plr.Name == plrs.Name then
      mensajepro(message, plr.Name) --The function is called
  end
 end
 
end
end)


Comments

3
Log in to join the conversation. Login
xpress045's profile picture
xpress0452 years ago

bro I searched everywhere for this thank you

1
Eduardoporcoddio's profile picture
Eduardoporcoddio3 years ago(edited)

Cool script

1
boomcarcus's profile picture
boomcarcus3 years ago(edited)

bot is retarded but this is cool

1

More universal scripts

See all
Script hub
21.9k
4.3k
Bumped 8 minutes ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
980
2.2k
Bumped 19 minutes ago
Universal Script πŸ“Œ
1.6k
5.9k
Bumped 25 minutes ago
Script hub
164.6k
563.6k
Bumped 4 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT

Script hub
3.0k
3.8k
Bumped 4 hours ago
Script hub
279
1.4k
14 hours ago
Key System

Script hub

#10 today

Verified script badgeBlendHub | Easy + Quick

Universal Script πŸ“Œ
180
103
Approved 7 hours ago