ControlC
· Pastebin
Login
Register
ControlC
/
Create paste
Paste content
Up to 100 KB of text. BBCode formatting is supported.
Title
- optional
Content
B
I
U
S
</>
Colors ↓
Sizes ↓
Size 1
Size 2
Size 3
Size 4
Size 5
Size 6
Size 7
local HttpService = game:GetService(\"HttpService\")\r\nlocal Players = game:GetService(\"Players\")\r\nlocal UserInputService = game:GetService(\"UserInputService\")\r\n\r\n--I based this script on ChatBot, but with the SimSimi api, therefore it has more accurate and fun answers XD\r\n\r\n--Modify these parameters as you want--\r\n\r\nlocal idioma = \"en\" --Here is the language you want SimSImi to respond to, es for \"EspaƱol\", en for \"English\"\r\n\r\nlocal chatfuel = \"True\" --If you want me to censor the swearing \"True\" or \"False\"\r\n\r\n--From here down I don't recommend moving him if you don't know Lua\r\n\r\nlocal function mensajepro(mensaje, jugador) --In this function the magic happens\r\n local texto = mensaje\r\n local Responde = game:HttpGet(\"https://api.simsimi.net/v2/?text=\"..texto..\"&lc=\"..idioma..\"&cf=\"..chatfuel) --The SimSImi api is called\r\n local datos = HttpService:JSONDecode(Responde)\r\n \r\n wait()\r\n \r\n game:GetService(\"ReplicatedStorage\").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(jugador..\" \"..datos.success, \"All\") --A message is sent with the response of SimSImi\r\nend\r\n\r\n\r\nPlayers.PlayerChatted:Connect(function(type, plr, message) --When a player speaks\r\n for _,plrs in pairs(game.Players:GetPlayers()) do\r\n \r\n if (Players.LocalPlayer.Character.HumanoidRootPart.Position - plrs.Character.HumanoidRootPart.Position).magnitude <= 10 then --If the player is nearby, SimSimi will read their message.\r\n if plr.Name == plrs.Name then\r\n mensajepro(message, plr.Name) --The function is called\r\n end\r\n end\r\n \r\nend\r\nend)
Password
Anyone with the link will still need this password to view.
Expires
1 hour
3 hours
6 hours
12 hours
24 hours
48 hours
72 hours
Sign in to enable "Never expires".
Create paste
Please verify you are human
Cancel