Advertisement
nick_exe_

Untitled

Apr 10th, 2023
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.22 KB | None | 0 0
  1. local TOKEN = getfenv().YourToken
  2. repeat wait() until game:IsLoaded();
  3. local CharacterAI = loadstring(game:HttpGet('https://raw.githubusercontent.com/ElWapoteDev/CharacterAI-Luau/main/Module/CharacterAI.lua', true))();
  4. local MySession = CharacterAI.new(TOKEN)
  5.  
  6. if (game:GetService("CoreGui"):FindFirstChild('CharacterAIA')) then
  7. game:GetService("CoreGui"):FindFirstChild('CharacterAIA'):Destroy();
  8. end;
  9.  
  10. local CharacterAIA = Instance.new("ScreenGui")
  11. local Frame = Instance.new("Frame")
  12. local Top = Instance.new("Frame")
  13. local Logo = Instance.new("ImageLabel")
  14. local Buscar = Instance.new("ImageButton")
  15. local Interior = Instance.new("Frame")
  16. local Recientes = Instance.new("ScrollingFrame")
  17. local UIListLayout = Instance.new("UIListLayout")
  18. local TextLabel = Instance.new("TextLabel")
  19. local Frame_2 = Instance.new("Frame")
  20. local Categorias = Instance.new("ScrollingFrame")
  21. local UIListLayout_2 = Instance.new("UIListLayout")
  22. local BIzquierda = Instance.new("TextButton")
  23. local BDerecha = Instance.new("TextButton")
  24. local Personajes = Instance.new("ScrollingFrame")
  25. local UIListLayout_3 = Instance.new("UIListLayout")
  26. local UICorner = Instance.new("UICorner")
  27. local Buscador = Instance.new("Frame")
  28. local Input = Instance.new("Frame")
  29. local UICorner_2 = Instance.new("UICorner")
  30. local TextBox = Instance.new("TextBox")
  31. local Volver = Instance.new("TextButton")
  32. local TextButton = Instance.new("TextButton")
  33. local UICorner_3 = Instance.new("UICorner")
  34. local Resultados = Instance.new("ScrollingFrame")
  35. local UIListLayout_4 = Instance.new("UIListLayout")
  36.  
  37. local UIStrokeTope = Instance.new("UIStroke")
  38.  
  39. --Properties:
  40.  
  41. CharacterAIA.Name = "CharacterAIA"
  42. CharacterAIA.Parent = game:GetService("CoreGui")
  43. CharacterAIA.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  44.  
  45. Frame.Parent = CharacterAIA
  46. Frame.BackgroundColor3 = Color3.fromRGB(36, 37, 37)
  47. Frame.BorderSizePixel = 0
  48. Frame.ClipsDescendants = true
  49. Frame.Position = UDim2.new(0.258089066, 0, 0.236594662, 0)
  50. Frame.Size = UDim2.new(0, 610, 0, 403)
  51. Frame.Active = true
  52. Frame.Draggable = true
  53. Frame.Visible = false;
  54.  
  55. Top.Name = "Top"
  56. Top.Parent = Frame
  57. Top.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  58. Top.BackgroundTransparency = 1.000
  59. Top.BorderSizePixel = 0
  60. Top.Size = UDim2.new(1, 0, 0.127667502, 0)
  61. UIStrokeTope.Color = Color3.fromRGB(63, 65, 65)
  62. UIStrokeTope.Parent = Top
  63.  
  64. Logo.Name = "Logo"
  65. Logo.Parent = Top
  66. Logo.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  67. Logo.BackgroundTransparency = 1.000
  68. Logo.Position = UDim2.new(0.0130932899, 0, 0.140966281, 0)
  69. Logo.Size = UDim2.new(0.265139103, 0, 0.738581061, 0)
  70. Logo.ScaleType = Enum.ScaleType.Fit
  71.  
  72. Buscar.Name = "Buscar"
  73. Buscar.Parent = Top
  74. Buscar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  75. Buscar.BackgroundTransparency = 1.000
  76. Buscar.Position = UDim2.new(0.867430449, 0, 0.21379979, 0)
  77. Buscar.Size = UDim2.new(0.0818330571, 0, 0.583090305, 0)
  78. Buscar.Image = "http://www.roblox.com/asset/?id=12736702338"
  79. Buscar.ScaleType = Enum.ScaleType.Fit
  80.  
  81. Interior.Name = "Interior"
  82. Interior.Parent = Frame
  83. Interior.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  84. Interior.BackgroundTransparency = 1.000
  85. Interior.Position = UDim2.new(0.0130932899, 0, 0.159732714, 0)
  86. Interior.Size = UDim2.new(0.972176731, 0, 0.806451619, 0)
  87.  
  88. Recientes.Name = "Recientes"
  89. Recientes.Parent = Interior
  90. Recientes.Active = true
  91. Recientes.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  92. Recientes.BackgroundTransparency = 1.000
  93. Recientes.BorderSizePixel = 0
  94. Recientes.Position = UDim2.new(0.0218855217, 0, 0.0864435285, 0)
  95. Recientes.Size = UDim2.new(0.957912445, 0, 0.338166565, 0)
  96. Recientes.CanvasSize = UDim2.new(3, 0, 0, 0)
  97. Recientes.ScrollBarThickness = 0
  98.  
  99. UIListLayout.Parent = Recientes
  100. UIListLayout.FillDirection = Enum.FillDirection.Horizontal
  101. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  102. UIListLayout.Padding = UDim.new(0, 5)
  103.  
  104. TextLabel.Parent = Interior
  105. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  106. TextLabel.BackgroundTransparency = 1.000
  107. TextLabel.Position = UDim2.new(0.0218855217, 0, 0, 0)
  108. TextLabel.Size = UDim2.new(0.978114486, 0, 0.0492307693, 0)
  109. TextLabel.Font = Enum.Font.Gotham
  110. TextLabel.Text = "Continue chatting"
  111. TextLabel.TextColor3 = Color3.fromRGB(195, 190, 184)
  112. TextLabel.TextScaled = true
  113. TextLabel.TextSize = 14.000
  114. TextLabel.TextWrapped = true
  115. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  116.  
  117. Frame_2.Parent = Interior
  118. Frame_2.BackgroundColor3 = Color3.fromRGB(63, 65, 65)
  119. Frame_2.BorderSizePixel = 0
  120. Frame_2.Position = UDim2.new(0.0370370373, 0, 0.464615375, 0)
  121. Frame_2.Size = UDim2.new(0.902356923, 0, 0.00615384616, 0)
  122.  
  123. Categorias.Name = "Categorias"
  124. Categorias.Parent = Interior
  125. Categorias.Active = true
  126. Categorias.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  127. Categorias.BackgroundTransparency = 1.000
  128. Categorias.BorderSizePixel = 0
  129. Categorias.Position = UDim2.new(0.0538720526, 0, 0.504615366, 0)
  130. Categorias.Size = UDim2.new(0.892255902, 0, 0.0799999982, 0)
  131. Categorias.CanvasSize = UDim2.new(2, 0, 0, 0)
  132. Categorias.ScrollBarThickness = 0
  133.  
  134. UIListLayout_2.Parent = Categorias
  135. UIListLayout_2.FillDirection = Enum.FillDirection.Horizontal
  136. UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  137. UIListLayout_2.Padding = UDim.new(0, 5)
  138.  
  139. BIzquierda.Name = "BIzquierda"
  140. BIzquierda.Parent = Interior
  141. BIzquierda.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  142. BIzquierda.BackgroundTransparency = 1.000
  143. BIzquierda.Position = UDim2.new(0, 0, 0.504615366, 0)
  144. BIzquierda.Size = UDim2.new(0.0370370373, 0, 0.0799999982, 0)
  145. BIzquierda.Font = Enum.Font.Gotham
  146. BIzquierda.Text = "<"
  147. BIzquierda.TextColor3 = Color3.fromRGB(255, 255, 255)
  148. BIzquierda.TextSize = 16.000
  149. BIzquierda.TextWrapped = true
  150.  
  151. BDerecha.Name = "BDerecha"
  152. BDerecha.Parent = Interior
  153. BDerecha.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  154. BDerecha.BackgroundTransparency = 1.000
  155. BDerecha.Position = UDim2.new(0.962962985, 0, 0.504615366, 0)
  156. BDerecha.Size = UDim2.new(0.0370370373, 0, 0.0799999982, 0)
  157. BDerecha.Font = Enum.Font.Gotham
  158. BDerecha.Text = ">"
  159. BDerecha.TextColor3 = Color3.fromRGB(255, 255, 255)
  160. BDerecha.TextSize = 16.000
  161. BDerecha.TextWrapped = true
  162.  
  163. Personajes.Name = "Personajes"
  164. Personajes.Parent = Interior
  165. Personajes.Active = true
  166. Personajes.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  167. Personajes.BackgroundTransparency = 1.000
  168. Personajes.BorderSizePixel = 0
  169. Personajes.Position = UDim2.new(0.0218855217, 0, 0.62490505, 0)
  170. Personajes.Size = UDim2.new(0.957912445, 0, 0.359705031, 0)
  171. Personajes.CanvasSize = UDim2.new(3, 0, 0, 0)
  172. Personajes.ScrollBarThickness = 0
  173.  
  174. UIListLayout_3.Parent = Personajes
  175. UIListLayout_3.FillDirection = Enum.FillDirection.Horizontal
  176. UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
  177. UIListLayout_3.Padding = UDim.new(0, 5)
  178.  
  179. UICorner.Parent = Frame
  180.  
  181. Buscador.Name = "Buscador"
  182. Buscador.Parent = Frame
  183. Buscador.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  184. Buscador.BackgroundTransparency = 1.000
  185. Buscador.Position = UDim2.new(0.0278232414, 0, 0.0272952858, 0)
  186. Buscador.Size = UDim2.new(0.932896912, 0, 0.0719603002, 0)
  187. Buscador.Visible = false
  188.  
  189. Input.Name = "Input"
  190. Input.Parent = Buscador
  191. Input.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  192. Input.BackgroundTransparency = 1.000
  193. Input.Position = UDim2.new(0.0500000007, 0, 0.0500000007, 0)
  194. Input.Size = UDim2.new(0.850000024, 0, 0.899999976, 0)
  195.  
  196. UICorner_2.CornerRadius = UDim.new(0, 3)
  197. UICorner_2.Parent = Input
  198.  
  199. TextBox.Parent = Input
  200. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  201. TextBox.BackgroundTransparency = 1.000
  202. TextBox.Position = UDim2.new(0.0250000004, 0, 0.200000003, 0)
  203. TextBox.Size = UDim2.new(0.899999976, 0, 0.600000024, 0)
  204. TextBox.Font = Enum.Font.Gotham
  205. TextBox.PlaceholderColor3 = Color3.fromRGB(195, 190, 184)
  206. TextBox.PlaceholderText = "Search Characters (press enter to search)"
  207. TextBox.Text = ""
  208. TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  209. TextBox.TextSize = 14.000
  210. TextBox.TextWrapped = true
  211. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  212.  
  213. Volver.Name = "Volver"
  214. Volver.Parent = Buscador
  215. Volver.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  216. Volver.BackgroundTransparency = 1.000
  217. Volver.BorderSizePixel = 0
  218. Volver.Size = UDim2.new(0.0500000007, 0, 1, 0)
  219. Volver.Font = Enum.Font.Gotham
  220. Volver.Text = "<"
  221. Volver.TextColor3 = Color3.fromRGB(64, 154, 218)
  222. Volver.TextScaled = true
  223. Volver.TextSize = 14.000
  224. Volver.TextWrapped = true
  225.  
  226. TextButton.Parent = Buscador
  227. TextButton.BackgroundColor3 = Color3.fromRGB(36, 115, 174)
  228. TextButton.BorderSizePixel = 0
  229. TextButton.Position = UDim2.new(0.850000024, 0, 0.0500000007, 0)
  230. TextButton.Size = UDim2.new(0.150000006, 0, 0.899999976, 0)
  231. TextButton.Font = Enum.Font.GothamBold
  232. TextButton.Text = "Search"
  233. TextButton.TextColor3 = Color3.fromRGB(230, 224, 217)
  234. TextButton.TextSize = 14.000
  235.  
  236. UICorner_3.CornerRadius = UDim.new(0, 3)
  237. UICorner_3.Parent = TextButton
  238.  
  239. Resultados.Name = "Resultados"
  240. Resultados.Parent = Frame
  241. Resultados.Active = true
  242. Resultados.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  243. Resultados.BackgroundTransparency = 1.000
  244. Resultados.BorderSizePixel = 0
  245. Resultados.Position = UDim2.new(0.0736497566, 0, 0.133995041, 0)
  246. Resultados.Size = UDim2.new(0.887070358, 0, 0.813895762, 0)
  247. Resultados.Visible = false
  248. Resultados.ScrollBarThickness = 0
  249.  
  250. UIListLayout_4.Parent = Resultados
  251. UIListLayout_4.SortOrder = Enum.SortOrder.LayoutOrder
  252. UIListLayout_4.Padding = UDim.new(0, 5)
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263. local LoadingScreen = Instance.new("ScreenGui")
  264. local PantallaCarga = Instance.new("Frame")
  265. local CornGod = Instance.new("UICorner")
  266. local Tope = Instance.new("Frame")
  267. local Truk = Instance.new("UIStroke")
  268. local Log = Instance.new("ImageLabel")
  269. local Disclaimer = Instance.new("TextLabel")
  270. local Giratorio = Instance.new("ImageLabel")
  271. local Inspiracion = Instance.new("TextLabel")
  272. local CargadonTexto = Instance.new("TextLabel")
  273. local PreInsano = Instance.new("ImageLabel")
  274. local Gra2 = Instance.new("UIGradient")
  275.  
  276.  
  277. LoadingScreen.Name = "LoadingScreen"
  278. LoadingScreen.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  279. LoadingScreen.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  280.  
  281. PantallaCarga.Name = "PantallaCarga"
  282. PantallaCarga.Parent = LoadingScreen
  283. PantallaCarga.AnchorPoint = Vector2.new(0.5, 0.5)
  284. PantallaCarga.BackgroundColor3 = Color3.fromRGB(36, 37, 37)
  285. PantallaCarga.BackgroundTransparency = 1.000
  286. PantallaCarga.ClipsDescendants = true
  287. PantallaCarga.Position = UDim2.new(0.5, 0, 0.5, 0)
  288. PantallaCarga.Size = UDim2.new(0, 376, 0, 233)
  289.  
  290. CornGod.Name = "CornGod"
  291. CornGod.Parent = PantallaCarga
  292.  
  293. Tope.Name = "Tope"
  294. Tope.Parent = PantallaCarga
  295. Tope.BackgroundColor3 = Color3.fromRGB(36, 37, 37)
  296. Tope.BackgroundTransparency = 1.000
  297. Tope.BorderSizePixel = 0
  298. Tope.Size = UDim2.new(1, 0, 0.222088128, 0)
  299.  
  300. Truk.Color = Color3.fromRGB(63, 65, 65)
  301. Truk.Transparency = 1
  302. Truk.Name = "Truk"
  303. Truk.Parent = Tope
  304.  
  305. Log.Name = "Log"
  306. Log.Parent = Tope
  307. Log.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  308. Log.BackgroundTransparency = 1.000
  309. Log.Position = UDim2.new(0.0290507041, 0, 0.121641494, 0)
  310. Log.Size = UDim2.new(0.371522099, 0, 0.738581061, 0)
  311. Log.ImageTransparency = 1.000
  312. Log.ScaleType = Enum.ScaleType.Fit
  313.  
  314. Disclaimer.Name = "Disclaimer"
  315. Disclaimer.Parent = Tope
  316. Disclaimer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  317. Disclaimer.BackgroundTransparency = 1.000
  318. Disclaimer.Position = UDim2.new(0.428191483, 0, 0.154599726, 0)
  319. Disclaimer.Size = UDim2.new(0, 200, 0, 39)
  320. Disclaimer.Font = Enum.Font.GothamMedium
  321. Disclaimer.Text = "Unofficial script for fictional conversations with famous characters. For authentic experience, visit https://beta.character.ai/."
  322. Disclaimer.TextColor3 = Color3.fromRGB(207, 201, 191)
  323. Disclaimer.TextScaled = true
  324. Disclaimer.TextSize = 12.000
  325. Disclaimer.TextTransparency = 1.000
  326. Disclaimer.TextWrapped = true
  327. Disclaimer.TextXAlignment = Enum.TextXAlignment.Right
  328.  
  329. Giratorio.Name = "Giratorio"
  330. Giratorio.Parent = PantallaCarga
  331. Giratorio.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  332. Giratorio.BackgroundTransparency = 1.000
  333. Giratorio.Position = UDim2.new(0.867021263, 0, 0.802575111, 0)
  334. Giratorio.Size = UDim2.new(0.0930851027, 0, 0.150214598, 0)
  335. Giratorio.Image = "rbxassetid://12759044630"
  336. Giratorio.ImageColor3 = Color3.fromRGB(207, 201, 191)
  337. Giratorio.ImageTransparency = 1.000
  338. Giratorio.ScaleType = Enum.ScaleType.Fit
  339.  
  340. Inspiracion.Name = "Inspiracion"
  341. Inspiracion.Parent = PantallaCarga
  342. Inspiracion.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  343. Inspiracion.BackgroundTransparency = 1.000
  344. Inspiracion.Position = UDim2.new(0.0316170231, 0, 0.321999997, 0)
  345. Inspiracion.Size = UDim2.new(0, 264, 0, 111)
  346. Inspiracion.ZIndex = 4
  347. Inspiracion.Font = Enum.Font.GothamMedium
  348. Inspiracion.Text = "Soon you'll be chatting with your favorite hero through Character.AI's advanced chatbot."
  349. Inspiracion.TextColor3 = Color3.fromRGB(227, 220, 209)
  350. Inspiracion.TextSize = 14.000
  351. Inspiracion.TextTransparency = 1.000
  352. Inspiracion.TextWrapped = true
  353. Inspiracion.TextXAlignment = Enum.TextXAlignment.Left
  354. Inspiracion.TextYAlignment = Enum.TextYAlignment.Bottom
  355.  
  356. CargadonTexto.Name = "CargadonTexto"
  357. CargadonTexto.Parent = PantallaCarga
  358. CargadonTexto.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  359. CargadonTexto.BackgroundTransparency = 1.000
  360. CargadonTexto.Position = UDim2.new(0.0316170231, 0, 0.841313303, 0)
  361. CargadonTexto.Size = UDim2.new(0, 264, 0, 25)
  362. CargadonTexto.ZIndex = 4
  363. CargadonTexto.Font = Enum.Font.Gotham
  364. CargadonTexto.Text = "Loading characters..."
  365. CargadonTexto.TextColor3 = Color3.fromRGB(207, 201, 191)
  366. CargadonTexto.TextSize = 14.000
  367. CargadonTexto.TextTransparency = 1.000
  368. CargadonTexto.TextWrapped = true
  369. CargadonTexto.TextXAlignment = Enum.TextXAlignment.Left
  370.  
  371. PreInsano.Name = "PreInsano"
  372. PreInsano.Parent = PantallaCarga
  373. PreInsano.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  374. PreInsano.BackgroundTransparency = 1.000
  375. PreInsano.Position = UDim2.new(0.127659574, 0, 0.261802554, 0)
  376. PreInsano.Size = UDim2.new(0, 280, 0, 271)
  377. PreInsano.Image = "rbxassetid://12760785601"
  378. PreInsano.ImageTransparency = 1.000
  379. PreInsano.ScaleType = Enum.ScaleType.Fit
  380.  
  381. Gra2.Rotation = 90
  382. Gra2.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 0.13), NumberSequenceKeypoint.new(0.20, 0.82), NumberSequenceKeypoint.new(0.42, 1.00), NumberSequenceKeypoint.new(1.00, 1.00)}
  383. Gra2.Name = "Gra2"
  384. Gra2.Parent = PreInsano
  385.  
  386. -- Scripts:
  387.  
  388. local function JDHW_fake_script() -- LoadingScreen.LocalScript
  389. local script = Instance.new('LocalScript', LoadingScreen)
  390.  
  391. function IniciarPantallaCarga()
  392. local TweenService = game:GetService('TweenService')
  393. local Lighting = game:GetService('Lighting')
  394.  
  395. local Mensajes = {
  396. "Soon you'll be chatting with your favorite hero through Character.AI's advanced chatbot.",
  397. "Get ready for a unique and unforgettable experience!",
  398. "We have thousands of famous characters waiting for you to connect with ",
  399. "While you wait, think about the questions you want to ask your chosen character.",
  400. "Check out the official website and give it a try: https://beta.character.ai/",
  401. "We are working hard to offer you the best conversational experience possible. We only ask you for a few more seconds of waiting.",
  402. "The script is almost ready. Remember that you can choose from hundreds of famous characters to talk to them. Have fun!",
  403. "Loading Character.AI... Please be patient while we summon your new best friend.",
  404. "Character.AI is powered by neural networks. Don't worry, they won't take over the world... yet.",
  405. "Did you know that Character.AI can create dialog for any Roblox character? Try chatting with a zombie, a pirate, or a unicorn!",
  406. "Character.AI lets you chat with Roblox characters as if they were real. Just don't fall in love with them.",
  407. "Character.AI is not just for fun. You can also use it to brainstorm ideas, practice your language skills, or explore your imagination.",
  408. "Character.AI is a revolutionary product that uses generative AI to create realistic dialog. It's like magic, but better.",
  409. "Character.AI is compatible with any Roblox game or experience. You can chat with your favorite characters from Adopt Me, Jailbreak, Piggy, and more!",
  410. "This more than just a script. It's a friend. A friend that never gets bored of talking to you.",
  411. "Are you ready to chat with Character.AI?",
  412. "Your character is learning from your actions and choices... Be careful what you do.",
  413. "Creating a dynamic and responsive world for your character... Don't worry, nothing can go wrong.",
  414. "Character.AI is not responsible for any emotional or psychological damage caused by your character's behavior.",
  415. "Your character has a mind of its own... Sometimes it may surprise you.",
  416. "Character.AI is constantly evolving and improving... We can't guarantee that your character will stay the same.",
  417. "Enjoy your adventure with Character.AI... And remember, it's just a game.",
  418. "Loading Character.AI... Please don't panic.",
  419. "Character.AI is watching you. Always.",
  420. "Did you know that Character.AI can create realistic personalities for your characters?",
  421. "Character.AI is not responsible for any emotional damage caused by its characters.",
  422. "Please wait while Character.AI analyzes your behavior and preferences.",
  423. "Character.AI is powered by artificial intelligence. But don't worry, it's friendly. Mostly.",
  424. "Character.AI can make your characters more interactive and engaging. Or more annoying and creepy. It's up to you.",
  425. "Character.AI is constantly learning from your feedback. So be nice to it.",
  426. "Character.AI can generate dialogue, emotions, actions and more for your characters. What will you make them say and do?",
  427. "Loading Character.AI... This may take a while. It has a lot of data to process."
  428. }
  429.  
  430. local Imagesuwu = {
  431. 'rbxassetid://12759400609',
  432. 'rbxassetid://12759420606',
  433. 'rbxassetid://12760715803',
  434. 'rbxassetid://12760724037',
  435. 'rbxassetid://12760732378',
  436. 'rbxassetid://12760785601'
  437. }
  438.  
  439. local LogConf = script.Parent.PantallaCarga:WaitForChild('Giratorio');
  440. local DisClaimger = script.Parent.PantallaCarga:WaitForChild('Inspiracion');
  441. local PreInsano = script.Parent.PantallaCarga:WaitForChild('PreInsano');
  442. local StateLoad = script.Parent.PantallaCarga:WaitForChild('CargadonTexto')
  443.  
  444. local Blur = Instance.new('BlurEffect', Lighting)
  445. local EnAnim = true
  446. local CurrentRot = 0
  447. Blur.Size = 0
  448.  
  449. local function MostrarPantallaInsana(trans)
  450. for i,v in pairs(script.Parent:GetDescendants()) do
  451. if v:IsA('Frame') then
  452. TweenService:Create(v, TweenInfo.new(0.5), {
  453. BackgroundTransparency = trans;
  454. }):Play();
  455. end
  456.  
  457. if v:IsA('TextLabel') then
  458. TweenService:Create(v, TweenInfo.new(0.5), {
  459. TextTransparency = trans;
  460. }):Play();
  461. end
  462.  
  463. if v:IsA('ImageLabel') then
  464. TweenService:Create(v, TweenInfo.new(0.5), {
  465. ImageTransparency = trans;
  466. }):Play();
  467. end
  468. if v:IsA('UIStroke') then
  469. TweenService:Create(v, TweenInfo.new(0.5), {
  470. Transparency = trans;
  471. }):Play();
  472. end
  473. end
  474. end
  475.  
  476. local function ChageText()
  477. if (EnAnim == false) then
  478. return;
  479. end
  480.  
  481. local TextoElegido = Mensajes[math.random(1, #Mensajes)];
  482. local ImageElegido = Imagesuwu[math.random(1, #Imagesuwu)];
  483. local TInfo = TweenInfo.new(0.5)
  484.  
  485. local Tween1 = TweenService:Create(DisClaimger, TInfo, { TextTransparency = 1 });
  486. local Tween2 = TweenService:Create(PreInsano, TInfo, { ImageTransparency = 1});
  487.  
  488. Tween1:Play();
  489. Tween2:Play();
  490.  
  491. Tween1.Completed:Connect(function()
  492. DisClaimger.Text = TextoElegido;
  493. PreInsano.Image = ImageElegido;
  494. local Tween3 = TweenService:Create(DisClaimger, TInfo, { TextTransparency = 0 });
  495. local Tween4 = TweenService:Create(PreInsano, TInfo, { ImageTransparency = 0});
  496.  
  497. Tween3:Play();
  498. Tween4:Play();
  499.  
  500. task.wait(4);
  501. ChageText();
  502. end)
  503. end
  504.  
  505. local function AnimarRotatorio()
  506. if (EnAnim == false) then
  507. return;
  508. end
  509.  
  510. CurrentRot = CurrentRot + 360
  511.  
  512. local OwO = TweenService:Create(LogConf, TweenInfo.new(2, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut), {
  513. Rotation = CurrentRot
  514. })
  515. OwO:Play()
  516. OwO.Completed:Connect(AnimarRotatorio)
  517. end
  518.  
  519.  
  520.  
  521. TweenService:Create(Blur, TweenInfo.new(1), {
  522. Size = 25
  523. }):Play();
  524.  
  525. spawn(function()
  526. task.wait(1)
  527. AnimarRotatorio();
  528. ChageText();
  529. MostrarPantallaInsana(0)
  530. end)
  531.  
  532.  
  533. local Funciones = {}
  534.  
  535. function Funciones:SetLoadState(texto: string)
  536. StateLoad.Text = texto
  537. end
  538.  
  539. function Funciones:Stop(texto: string)
  540. EnAnim = false;
  541.  
  542. TweenService:Create(Blur, TweenInfo.new(6), {
  543. Size = 0
  544. }):Play();
  545.  
  546. Blur:Destroy();
  547. MostrarPantallaInsana(1)
  548.  
  549. delay(1, function ()
  550. for i,v in pairs(script.Parent:GetDescendants()) do
  551. v:Destroy()
  552. end;
  553. end)
  554. end
  555.  
  556. return Funciones
  557. end;
  558. end
  559. coroutine.wrap(JDHW_fake_script)()
  560.  
  561.  
  562. local MiCarga = IniciarPantallaCarga()
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570. function CrearSampleCategoria(Parent, NombreCategoria)
  571. local SampleCategoria = Instance.new("Frame")
  572. local UICorner = Instance.new("UICorner")
  573. local TextLabel = Instance.new("TextLabel")
  574. local Click = Instance.new("ImageButton")
  575.  
  576. SampleCategoria.Name = "SampleCategoria"
  577. SampleCategoria.Parent = Parent
  578. SampleCategoria.BackgroundColor3 = Color3.fromRGB(43, 44, 45)
  579. SampleCategoria.Size = UDim2.new(0, 115, 1, 0)
  580.  
  581. UICorner.CornerRadius = UDim.new(0, 6)
  582. UICorner.Parent = SampleCategoria
  583.  
  584. TextLabel.Parent = SampleCategoria
  585. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  586. TextLabel.BackgroundTransparency = 1.000
  587. TextLabel.Position = UDim2.new(0, 0, 0.200000003, 0)
  588. TextLabel.Size = UDim2.new(1, 0, 0.600000024, 0)
  589. TextLabel.Font = Enum.Font.GothamMedium
  590. TextLabel.TextColor3 = Color3.fromRGB(243, 240, 240)
  591. TextLabel.TextSize = 14.000
  592. TextLabel.Text = NombreCategoria
  593.  
  594. Click.Name = "Click"
  595. Click.Parent = SampleCategoria
  596. Click.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  597. Click.BackgroundTransparency = 1.000
  598. Click.BorderSizePixel = 0
  599. Click.Size = UDim2.new(1, 0, 1, 0)
  600.  
  601. return SampleCategoria
  602. end
  603.  
  604. function CrearSamplePersonaje(Parent, NombreP, CreadorP, ImagenP)
  605. local SamplePersonaje = Instance.new("Frame")
  606. local UICorner_2 = Instance.new("UICorner")
  607. local Imagen = Instance.new("ImageLabel")
  608. local UICorner_3 = Instance.new("UICorner")
  609. local Nombre = Instance.new("TextLabel")
  610. local Creador = Instance.new("TextLabel")
  611. local Click_2 = Instance.new("ImageButton")
  612.  
  613. SamplePersonaje.Name = "SamplePersonaje"
  614. SamplePersonaje.Parent = Parent
  615. SamplePersonaje.BackgroundColor3 = Color3.fromRGB(43, 44, 45)
  616. SamplePersonaje.Size = UDim2.new(0, 116, 1, 0)
  617.  
  618. UICorner_2.CornerRadius = UDim.new(0, 12)
  619. UICorner_2.Parent = SamplePersonaje
  620.  
  621. Imagen.Name = "Imagen"
  622. Imagen.Parent = SamplePersonaje
  623. Imagen.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  624. Imagen.BackgroundTransparency = 1.000
  625. Imagen.Position = UDim2.new(0.281289995, 0, 0.0911955163, 0)
  626. Imagen.Size = UDim2.new(0.428799421, 0, 0.42514658, 0)
  627. Imagen.Image = ImagenP
  628.  
  629. UICorner_3.CornerRadius = UDim.new(0, 5)
  630. UICorner_3.Parent = Imagen
  631.  
  632. Nombre.Name = "Nombre"
  633. Nombre.Parent = SamplePersonaje
  634. Nombre.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  635. Nombre.BackgroundTransparency = 1.000
  636. Nombre.Position = UDim2.new(0.119093232, 0, 0.590429604, 0)
  637. Nombre.Size = UDim2.new(0.741379321, 0, 0.136864275, 0)
  638. Nombre.Font = Enum.Font.SourceSansBold
  639. Nombre.Text = NombreP
  640. Nombre.TextColor3 = Color3.fromRGB(243, 240, 240)
  641. Nombre.TextScaled = true
  642. Nombre.TextSize = 14.000
  643. Nombre.TextWrapped = true
  644.  
  645. Creador.Name = "Creador"
  646. Creador.Parent = SamplePersonaje
  647. Creador.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  648. Creador.BackgroundTransparency = 1.000
  649. Creador.Position = UDim2.new(0.0759898201, 0, 0.829941988, 0)
  650. Creador.Size = UDim2.new(0.527458429, 0, 0.111202225, 0)
  651. Creador.Font = Enum.Font.SourceSans
  652. Creador.Text = "@"..CreadorP
  653. Creador.TextColor3 = Color3.fromRGB(148, 145, 141)
  654. Creador.TextScaled = true
  655. Creador.TextSize = 14.000
  656. Creador.TextWrapped = true
  657. Creador.TextXAlignment = Enum.TextXAlignment.Left
  658.  
  659. Click_2.Name = "Click"
  660. Click_2.Parent = SamplePersonaje
  661. Click_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  662. Click_2.BackgroundTransparency = 1.000
  663. Click_2.BorderSizePixel = 0
  664. Click_2.Size = UDim2.new(1, 0, 1, 0)
  665.  
  666. return SamplePersonaje
  667. end
  668.  
  669. function CrearSampleReciente(Parent, NombreP, ImagenP)
  670. local SampleReciente = Instance.new("Frame")
  671. local UICorner_4 = Instance.new("UICorner")
  672. local Imagen_2 = Instance.new("ImageLabel")
  673. local UICorner_5 = Instance.new("UICorner")
  674. local Nombre_2 = Instance.new("TextLabel")
  675. local Click_3 = Instance.new("ImageButton")
  676.  
  677. SampleReciente.Name = "SampleReciente"
  678. SampleReciente.Parent = Parent
  679. SampleReciente.BackgroundColor3 = Color3.fromRGB(43, 44, 45)
  680. SampleReciente.Size = UDim2.new(0, 108, 1, 0)
  681.  
  682. UICorner_4.CornerRadius = UDim.new(0, 12)
  683. UICorner_4.Parent = SampleReciente
  684.  
  685. Imagen_2.Name = "Imagen"
  686. Imagen_2.Parent = SampleReciente
  687. Imagen_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  688. Imagen_2.BackgroundTransparency = 1.000
  689. Imagen_2.Position = UDim2.new(0.203703701, 0, 0.0826415047, 0)
  690. Imagen_2.Size = UDim2.new(0.592592597, 0, 0.587672889, 0)
  691. Imagen_2.Image = ImagenP
  692.  
  693. UICorner_5.CornerRadius = UDim.new(0, 7)
  694. UICorner_5.Parent = Imagen_2
  695.  
  696. Nombre_2.Name = "Nombre"
  697. Nombre_2.Parent = SampleReciente
  698. Nombre_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  699. Nombre_2.BackgroundTransparency = 1.000
  700. Nombre_2.Position = UDim2.new(0.101851851, 0, 0.752955914, 0)
  701. Nombre_2.Size = UDim2.new(0.796296299, 0, 0.145581424, 0)
  702. Nombre_2.Font = Enum.Font.SourceSansBold
  703. Nombre_2.Text = NombreP
  704. Nombre_2.TextColor3 = Color3.fromRGB(243, 240, 240)
  705. Nombre_2.TextScaled = true
  706. Nombre_2.TextSize = 14.000
  707. Nombre_2.TextWrapped = true
  708.  
  709. Click_3.Name = "Click"
  710. Click_3.Parent = SampleReciente
  711. Click_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  712. Click_3.BackgroundTransparency = 1.000
  713. Click_3.BorderSizePixel = 0
  714. Click_3.Size = UDim2.new(1, 0, 1, 0)
  715.  
  716. return SampleReciente
  717. end
  718.  
  719. function CrearSampleSearch(Parent, NombreP, DescripcionP, CreadorP, InteraccionesP, ImagenP)
  720. local SampleSearch = Instance.new("Frame")
  721. local Imagen_3 = Instance.new("ImageLabel")
  722. local UICorner_6 = Instance.new("UICorner")
  723. local Nombre_3 = Instance.new("TextLabel")
  724. local Descripcion = Instance.new("TextLabel")
  725. local Descripcion_2 = Instance.new("TextLabel")
  726. local Click_4 = Instance.new("ImageButton")
  727.  
  728. SampleSearch.Name = "SampleSearch"
  729. SampleSearch.Parent = Parent
  730. SampleSearch.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  731. SampleSearch.BackgroundTransparency = 1.000
  732. SampleSearch.Size = UDim2.new(1, 0, 0, 80)
  733.  
  734. Imagen_3.Name = "Imagen"
  735. Imagen_3.Parent = SampleSearch
  736. Imagen_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  737. Imagen_3.BackgroundTransparency = 1.000
  738. Imagen_3.BorderSizePixel = 0
  739. Imagen_3.Position = UDim2.new(0.000774933025, 0, -0.0133336484, 0)
  740. Imagen_3.Size = UDim2.new(0.0793357939, 0, 0.720000029, 0)
  741. Imagen_3.Image = ImagenP
  742. Imagen_3.ScaleType = Enum.ScaleType.Fit
  743.  
  744. UICorner_6.CornerRadius = UDim.new(100, 100)
  745. UICorner_6.Parent = Imagen_3
  746.  
  747. Nombre_3.Name = "Nombre"
  748. Nombre_3.Parent = SampleSearch
  749. Nombre_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  750. Nombre_3.BackgroundTransparency = 1.000
  751. Nombre_3.Position = UDim2.new(0.0977859795, 0, 0.116666667, 0)
  752. Nombre_3.Size = UDim2.new(0.90221405, 0, 0.1875, 0)
  753. Nombre_3.Font = Enum.Font.GothamBold
  754. Nombre_3.Text = NombreP
  755. Nombre_3.TextColor3 = Color3.fromRGB(230, 224, 217)
  756. Nombre_3.TextScaled = true
  757. Nombre_3.TextSize = 14.000
  758. Nombre_3.TextWrapped = true
  759. Nombre_3.TextXAlignment = Enum.TextXAlignment.Left
  760.  
  761. Descripcion.Name = "Descripcion"
  762. Descripcion.Parent = SampleSearch
  763. Descripcion.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  764. Descripcion.BackgroundTransparency = 1.000
  765. Descripcion.Position = UDim2.new(0.0977859795, 0, 0.366666794, 0)
  766. Descripcion.Size = UDim2.new(0.90221405, 0, 0.337500006, 0)
  767. Descripcion.Font = Enum.Font.GothamMedium
  768. Descripcion.Text = DescripcionP
  769. Descripcion.TextColor3 = Color3.fromRGB(230, 224, 217)
  770. Descripcion.TextSize = 12.000
  771. Descripcion.TextWrapped = true
  772. Descripcion.TextXAlignment = Enum.TextXAlignment.Left
  773.  
  774. Descripcion_2.Name = "Descripcion"
  775. Descripcion_2.Parent = SampleSearch
  776. Descripcion_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  777. Descripcion_2.BackgroundTransparency = 1.000
  778. Descripcion_2.Position = UDim2.new(0.0977859795, 0, 0.779166818, 0)
  779. Descripcion_2.Size = UDim2.new(0.90221405, 0, 0.137500003, 0)
  780. Descripcion_2.Font = Enum.Font.Gotham
  781. Descripcion_2.Text = "@"..CreadorP..' - '..InteraccionesP
  782. Descripcion_2.TextColor3 = Color3.fromRGB(230, 224, 217)
  783. Descripcion_2.TextSize = 12.000
  784. Descripcion_2.TextWrapped = true
  785. Descripcion_2.TextXAlignment = Enum.TextXAlignment.Left
  786.  
  787. Click_4.Name = "Click"
  788. Click_4.Parent = SampleSearch
  789. Click_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  790. Click_4.BackgroundTransparency = 1.000
  791. Click_4.BorderSizePixel = 0
  792. Click_4.Size = UDim2.new(1, 0, 1, 0)
  793.  
  794. return SampleSearch
  795. end
  796.  
  797. --Codigo--
  798.  
  799. if (TOKEN == "") or (TOKEN == nil) then
  800. MiCarga:SetLoadState('Logged in as Guest... Preferable to use a token')
  801. else
  802. MiCarga:SetLoadState("Functional Token. You're in, baby!")
  803. end;
  804.  
  805. task.wait(3)
  806. local customAsset = getsynasset or getcustomasset;
  807.  
  808. function SetIcon(url, fileName)
  809. fileName = fileName:gsub("%p", "");
  810. local Image
  811.  
  812. if isfile(fileName .. ".png") then
  813. Image = customAsset(fileName .. ".png")
  814. else writefile(fileName .. ".png", game:HttpGet(url));
  815. Image = customAsset(fileName .. ".png")
  816. end
  817.  
  818. spawn(function()
  819. task.wait(5)
  820. if (not isfile(fileName..'.png')) then
  821. return;
  822. end
  823. delfile(fileName..'.png')
  824. end)
  825.  
  826. return Image
  827. end;
  828.  
  829. local loguituwu = SetIcon("https://beta.character.ai/static/media/logo-dark.77b3a5cc8e42a91f021f.png", "LogoPrincipal412");
  830. Logo.Image = loguituwu;
  831. Log.Image = loguituwu;
  832.  
  833.  
  834.  
  835. local Players = game:GetService("Players");
  836. local Replicated = game:GetService("ReplicatedStorage");
  837. local notif = loadstring(game:HttpGet("https://raw.githubusercontent.com/insanedude59/notiflib/main/main"))();
  838.  
  839. local Player = Players.LocalPlayer;
  840. local Char = Player.Character;
  841.  
  842. local CharsMainPage;
  843. local RecentChars;
  844.  
  845. local Debo = false;
  846. local PlayerFocus;
  847. local CharacterActual;
  848. local Historiales = {};
  849.  
  850.  
  851.  
  852. function EnAdd(CharRandom)
  853. if CharRandom == game.Players.LocalPlayer.Character then
  854. return;
  855. end;
  856.  
  857. local Root = CharRandom:WaitForChild("HumanoidRootPart")
  858. Root.Size = Vector3.new(4,4,4)
  859. Root.Transparency = 0.9
  860. if Root then
  861. local Click = Instance.new("ClickDetector")
  862. Click.Parent = Root
  863.  
  864. Click.MouseClick:Connect(function()
  865.  
  866. if PlayerFocus == CharRandom then
  867. if CharRandom.Head:FindFirstChild("Highlight") then
  868. CharRandom.Head.Highlight:Destroy()
  869. end
  870. PlayerFocus = nil
  871. return
  872. end
  873.  
  874. if PlayerFocus ~= nil then
  875. if PlayerFocus.Head:FindFirstChild("Highlight") then
  876. PlayerFocus.Head.Highlight:Destroy()
  877. end
  878. end
  879.  
  880. PlayerFocus = CharRandom
  881. local High = Instance.new("Highlight")
  882. High.Name = "Highlight"
  883. High.FillColor = Color3.new(255, 255, 127)
  884. High.FillTransparency = 0.5
  885. High.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  886. High.Parent = CharRandom.Head
  887.  
  888. end)
  889. end
  890. end
  891.  
  892.  
  893.  
  894. function colorDeFondo()
  895. local r = math.random()
  896. local g = math.random()
  897. local b = math.random()
  898. local umbral = 2
  899. while r + g + b > umbral do
  900. r = math.random()
  901. g = math.random()
  902. b = math.random()
  903. end
  904. local color = Color3.new(r,g,b)
  905. return color
  906. end
  907.  
  908. function GeneratePP(FrameLabel, Name)
  909. local FirstLetter = Name:sub(1,1);
  910. local Label = Instance.new("TextLabel", FrameLabel);
  911.  
  912. FrameLabel.BackgroundTransparency = 0;
  913. FrameLabel.BackgroundColor3 = colorDeFondo()
  914.  
  915. Label.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  916. Label.BackgroundTransparency = 1.000
  917. Label.Position = UDim2.new(0.2, 0, 0.2, 0)
  918. Label.Size = UDim2.new(0.6, 0, 0.6, 0)
  919. Label.Font = Enum.Font.Gotham
  920. Label.Text = tostring(FirstLetter)
  921. Label.TextColor3 = Color3.fromRGB(255, 255, 255)
  922. Label.TextScaled = true
  923. Label.TextSize = 14.000
  924. Label.TextWrapped = true
  925. Label.TextXAlignment = Enum.TextXAlignment.Center
  926.  
  927. end;
  928.  
  929. function ClearScroll(Scroll)
  930. for index, frame in pairs(Scroll:GetChildren()) do
  931. if (not frame:IsA("Frame")) then
  932. continue;
  933. end;
  934.  
  935. frame:Destroy()
  936. end
  937. end;
  938.  
  939. function CharacterClick(character)
  940. notif:Notification("Chosen character.",character:GetName(),"GothamSemibold","Gotham",5)
  941. MySession:GlobalHistoryReset();
  942. CharacterActual = character;
  943. end;
  944.  
  945. function SetSecondCharacters(tabla)
  946. ClearScroll(Personajes)
  947. Personajes.CanvasSize = UDim2.new(0, 0, 0, 0)
  948.  
  949. for index, character in pairs(tabla) do
  950. local CharName = character:GetName();
  951. local CharCreator = character:GetCreatorName();
  952. local Image = '';
  953. local ImageExist = character:GetImage();
  954. if (ImageExist['Status'] == true) then
  955. Image = ImageExist['Body'];
  956. end;
  957.  
  958. local MyCharacter = CrearSamplePersonaje(Personajes, CharName, CharCreator, Image);
  959. GeneratePP(MyCharacter.Imagen, CharName)
  960.  
  961. MyCharacter.Click.MouseButton1Click:Connect(function()
  962. CharacterClick(character);
  963. end)
  964.  
  965. Personajes.CanvasSize = UDim2.new(0, Personajes.CanvasSize.X.Offset + 123, 0, 0)
  966. end;
  967. end;
  968.  
  969. function GetFirstValue(table)
  970. for i,v in pairs(table) do
  971. return table[i];
  972. end;
  973.  
  974. return false;
  975. end;
  976.  
  977. function SetMainPageCharacters(Array)
  978. ClearScroll(Categorias)
  979. ClearScroll(Personajes)
  980.  
  981. Categorias.CanvasSize = UDim2.new(0,0,0,0)
  982. for category, tabla in pairs(Array) do
  983.  
  984. local MyCategory = CrearSampleCategoria(Categorias, category)
  985.  
  986. MyCategory.Click.MouseButton1Click:Connect(function()
  987. SetSecondCharacters(tabla)
  988. end);
  989.  
  990. Categorias.CanvasSize = UDim2.new(0, Categorias.CanvasSize.X.Offset + 123, 0, 0)
  991. end;
  992.  
  993. local FirstValue = GetFirstValue(Array)
  994.  
  995. if (FirstValue == false) then
  996. return
  997. end;
  998.  
  999. SetSecondCharacters(FirstValue)
  1000. end;
  1001.  
  1002. function SetRecentCharactes(Array)
  1003. ClearScroll(Recientes)
  1004. Recientes.CanvasSize = UDim2.new(0, 0, 0, 0)
  1005.  
  1006. for index, character in pairs(Array) do
  1007. local CharName = character:GetName();
  1008. local CharCreator = character:GetCreatorName();
  1009. local Image = '';
  1010. local ImageExist = character:GetImage();
  1011. if (ImageExist['Status'] == true) then
  1012. Image = ImageExist['Body'];
  1013. end;
  1014.  
  1015. local MyCharacter = CrearSampleReciente(Recientes, CharName, CharCreator, Image);
  1016.  
  1017. GeneratePP(MyCharacter.Imagen, CharName);
  1018.  
  1019. MyCharacter.Click.MouseButton1Click:Connect(function()
  1020. CharacterClick(character);
  1021. end);
  1022.  
  1023. Recientes.CanvasSize = UDim2.new(0, Recientes.CanvasSize.X.Offset + 123, 0, 0)
  1024. end;
  1025. end;
  1026.  
  1027. function BusquedaPorExtId(external_id)
  1028. local Char = MySession:GetCharacterByExternalId(external_id);
  1029. local ResultadosS = {}
  1030. if (Char['Status'] == false) then
  1031. return false;
  1032. end
  1033.  
  1034. ClearScroll(Resultados);
  1035.  
  1036. ResultadosS[1] = Char['Body'];
  1037.  
  1038. Resultados.CanvasSize = UDim2.new(0, 0, 0, 0)
  1039.  
  1040. for index, character in pairs(ResultadosS) do
  1041. local CharName = character:GetName();
  1042. local CharCreator = character:GetCreatorName();
  1043. local NumInteractions = character:GetInteractions(true);
  1044. local CharTitle = character:GetDescription();
  1045.  
  1046. local Image = '';
  1047. local ImageExist = character:GetImage();
  1048. if (ImageExist['Status'] == true) then
  1049. Image = ImageExist['Body'];
  1050. end;
  1051.  
  1052. local MyCharacter = CrearSampleSearch(Resultados, CharName, CharTitle, CharCreator, NumInteractions, Image)
  1053. GeneratePP(MyCharacter.Imagen, CharName);
  1054. MyCharacter.Click.MouseButton1Click:Connect(function()
  1055. CharacterClick(character);
  1056. end);
  1057. Resultados.CanvasSize = UDim2.new(0, 0, 0, Resultados.CanvasSize.Y.Offset + 85)
  1058. end;
  1059. end;
  1060.  
  1061. function MostrarBusqueda(Query)
  1062. ClearScroll(Resultados);
  1063. local ResultadosS = MySession:SearchCharacters(Query);
  1064.  
  1065. if (ResultadosS['Status'] == false) then
  1066. notif:Notification("No results", "No results found: "..Query, "GothamSemibold", "Gotham", 5)
  1067. return false;
  1068. end;
  1069.  
  1070. if (#ResultadosS.Body == 0) then
  1071. notif:Notification("No results", "No results found: "..Query, "GothamSemibold", "Gotham", 5)
  1072. end
  1073.  
  1074. Resultados.CanvasSize = UDim2.new(0, 0, 0, 0)
  1075.  
  1076. for index, character in pairs(ResultadosS.Body) do
  1077. local CharName = character:GetName();
  1078. local CharCreator = character:GetCreatorName();
  1079. local NumInteractions = character:GetInteractions(true);
  1080. local CharTitle = character:GetDescription();
  1081.  
  1082. local Image = '';
  1083. local ImageExist = character:GetImage();
  1084. if (ImageExist['Status'] == true) then
  1085. Image = ImageExist['Body'];
  1086. end;
  1087.  
  1088. local MyCharacter = CrearSampleSearch(Resultados, CharName, CharTitle, CharCreator, NumInteractions, Image)
  1089. GeneratePP(MyCharacter.Imagen, CharName);
  1090. MyCharacter.Click.MouseButton1Click:Connect(function()
  1091. CharacterClick(character);
  1092. end);
  1093. Resultados.CanvasSize = UDim2.new(0, 0, 0, Resultados.CanvasSize.Y.Offset + 85)
  1094. end
  1095. end;
  1096.  
  1097. function SeeSearchPage()
  1098. Interior.Visible = false;
  1099. Top.Visible = false;
  1100. Resultados.Visible = true;
  1101. Buscador.Visible = true;
  1102. end;
  1103.  
  1104. function HideSearchPage()
  1105. Interior.Visible = true;
  1106. Top.Visible = true;
  1107. Resultados.Visible = false;
  1108. Buscador.Visible = false;
  1109. end;
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115. MiCarga:SetLoadState('Fetching characters...');
  1116.  
  1117. local IsFunctional = CharacterAI:IsOnline()
  1118. local Intentos = 1
  1119.  
  1120. if (IsFunctional == false) then
  1121. --CargadonTexto.TextScaled = true
  1122.  
  1123.  
  1124.  
  1125. MiCarga:SetLoadState('Character.AI is down for maintenance...');
  1126. task.wait(5)
  1127. MiCarga:Stop('a');
  1128. return;
  1129. end;
  1130.  
  1131. repeat task.wait(1)
  1132.  
  1133. CharsMainPage = MySession:GetMainPageCharacters();
  1134. RecentChars = MySession:GetRecentCharacters();
  1135.  
  1136. until CharsMainPage['Status'] == true;
  1137.  
  1138. local Featured = MySession:GetFeaturedCharacters();
  1139. if (Featured['Status'] == true) then
  1140. CharsMainPage['Body']['Featured'] = Featured.Body
  1141. end;
  1142.  
  1143. local Recommended = MySession:GetRecommendedCharacters();
  1144. if (Recommended['Status'] == true) then
  1145. CharsMainPage['Body']['Recommended'] = Recommended.Body
  1146. end;
  1147.  
  1148. local UserCharacters = MySession:GetUserCharacters();
  1149. if (UserCharacters['Status'] == true) then
  1150. CharsMainPage['Body']['UserCharacters'] = UserCharacters.Body
  1151. end;
  1152.  
  1153.  
  1154.  
  1155. Buscar.MouseButton1Click:Connect(function()
  1156. SeeSearchPage();
  1157. end);
  1158.  
  1159. Volver.MouseButton1Click:Connect(function()
  1160. HideSearchPage();
  1161. RecentChars = MySession:GetRecentCharacters();
  1162.  
  1163. if (RecentChars['Status'] == false) then
  1164. return;
  1165. end
  1166.  
  1167. SetRecentCharactes(RecentChars.Body);
  1168. end);
  1169.  
  1170. TextBox.FocusLost:Connect(function(enter)
  1171. if (not enter) then
  1172. return;
  1173. end;
  1174.  
  1175. local Text = tostring(TextBox.Text);
  1176.  
  1177. if (#Text == 0) then
  1178. return;
  1179. end;
  1180.  
  1181.  
  1182. if (#Text > 25) then
  1183. BusquedaPorExtId(Text);
  1184. return;
  1185. end;
  1186.  
  1187. MostrarBusqueda(Text)
  1188. end);
  1189.  
  1190. MiCarga:SetLoadState('Placing characters in the gui...')
  1191.  
  1192. SetMainPageCharacters(CharsMainPage.Body);
  1193. SetRecentCharactes(RecentChars.Body);
  1194.  
  1195. MiCarga:SetLoadState('Placing click detectors...')
  1196. for index, player in pairs(Players:GetChildren()) do
  1197. player.CharacterAdded:Connect(function(CharUwU)
  1198. local Head = CharUwU:WaitForChild('Head')
  1199. task.wait(1)
  1200. EnAdd(CharUwU)
  1201. end)
  1202. if (not player.Character) then
  1203. continue;
  1204. end;
  1205.  
  1206. if (not player.Character:FindFirstChild('HumanoidRootPart')) then
  1207. continue;
  1208. end;
  1209.  
  1210. EnAdd(player.Character)
  1211. end;
  1212.  
  1213. Players.PlayerAdded:Connect(function(jugador)
  1214.  
  1215. jugador.CharacterAdded:Connect(function(CharUwU)
  1216. local Head = CharUwU:WaitForChild('Head')
  1217. task.wait(1)
  1218. EnAdd(CharUwU)
  1219. end)
  1220. end)
  1221.  
  1222. Replicated.DefaultChatSystemChatEvents.OnMessageDoneFiltering.OnClientEvent:Connect(function(messageData)
  1223.  
  1224. if (CharacterActual == nil) then
  1225. return;
  1226. end;
  1227.  
  1228. if (getfenv().WaitAnswer == true) and (Debo == true) then
  1229.  
  1230. return;
  1231. end;
  1232.  
  1233. local jugador = Players[messageData.FromSpeaker]
  1234. local mensaje = messageData.Message
  1235. local mag = (jugador.Character.HumanoidRootPart.Position - Char.HumanoidRootPart.Position).magnitude
  1236.  
  1237. if (jugador == Player) and (mensaje:sub(1,1) == '!') then
  1238. Debo = true
  1239. local res = CharacterActual:SendMessage(jugador.Name, jugador.DisplayName..': '..mensaje);
  1240. Debo = false;
  1241.  
  1242. if (res['Status'] == false) then
  1243. warn('Error generating response: '.. res['Body'])
  1244. return;
  1245. end;
  1246.  
  1247. if (#res['Body']['replies'] == 0) then
  1248. notif:Notification("Error.", "Error sending a response", "GothamSemibold", "Gotham", 5)
  1249. return;
  1250. end;
  1251.  
  1252. local ReplyGet = GetFirstValue(res['Body']['replies'])
  1253. if (ReplyGet == false) then
  1254. notif:Notification("Error.", "Error sending a response", "GothamSemibold", "Gotham", 5)
  1255. end
  1256.  
  1257. local SplitText = CharacterAI:SplitText(ReplyGet['text']:gsub("%s+", " "))
  1258.  
  1259.  
  1260. for i, parte in pairs(SplitText) do
  1261. local Entonces = table.concat(parte['Texto'], " ")
  1262. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Entonces, "All")
  1263. task.wait(4)
  1264. end
  1265.  
  1266. return;
  1267. end;
  1268.  
  1269. if (mag < 7) and (jugador ~= Player) and (PlayerFocus == nil) then
  1270. Debo = true
  1271. local res = CharacterActual:SendMessage(jugador.Name, jugador.DisplayName..': '..mensaje);
  1272. Debo = false;
  1273.  
  1274. if (res['Status'] == false) then
  1275. warn('Error generating response: '.. res['Body'])
  1276. return;
  1277. end;
  1278.  
  1279.  
  1280. if (#res['Body']['replies'] == 0) then
  1281. notif:Notification("Error.", "Error sending a response", "GothamSemibold", "Gotham", 5)
  1282. return;
  1283. end;
  1284.  
  1285. local ReplyGet = GetFirstValue(res['Body']['replies'])
  1286. if (ReplyGet == false) then
  1287. notif:Notification("Error.", "Error sending a response", "GothamSemibold", "Gotham", 5)
  1288. end
  1289.  
  1290. local SplitText = CharacterAI:SplitText(ReplyGet['text']:gsub("%s+", " "))
  1291.  
  1292.  
  1293. for i, parte in pairs(SplitText) do
  1294. local Entonces = table.concat(parte['Texto'], " ")
  1295. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Entonces, "All")
  1296. task.wait(4)
  1297. end
  1298.  
  1299. return;
  1300. end;
  1301.  
  1302. if (PlayerFocus == nil) or (jugador.Character ~= PlayerFocus) then
  1303. return;
  1304. end;
  1305. Debo = true
  1306. print(mensaje.. ' - privado');
  1307.  
  1308. local res = CharacterActual:SendMessage(jugador.Name, jugador.DisplayName..': '..mensaje);
  1309. Debo = false;
  1310.  
  1311. if (res['Status'] == false) then
  1312. warn('Error generating response: '.. res['Body'])
  1313. return;
  1314. end;
  1315.  
  1316. if (#res['Body']['replies'] == 0) then
  1317. notif:Notification("Error.", "Error sending a response", "GothamSemibold", "Gotham", 5)
  1318. return;
  1319. end;
  1320.  
  1321. local ReplyGet = GetFirstValue(res['Body']['replies'])
  1322. if (ReplyGet == false) then
  1323. notif:Notification("Error.", "Error sending a response", "GothamSemibold", "Gotham", 5)
  1324. end
  1325.  
  1326. local SplitText = CharacterAI:SplitText(ReplyGet['text']:gsub("%s+", " "))
  1327.  
  1328.  
  1329. for i, parte in pairs(SplitText) do
  1330. local Entonces = table.concat(parte['Texto'], " ")
  1331. print(Entonces)
  1332. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Entonces, "All")
  1333. task.wait(4)
  1334. end
  1335.  
  1336. return;
  1337. end);
  1338.  
  1339. MiCarga:Stop('a');
  1340. task.wait(0.5)
  1341. Frame.Visible = true
  1342.  
  1343. --This function is for collecting feedback and usage statistics from the
  1344. --script users in order to improve the script functionality and performance.
  1345. --It will be removed when the script is out of beta.
  1346. --It is done for research purposes only and does not collect any personal or sensitive information.
  1347. --The code is transparent and you can verify that it does not collect any relevant information.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement