Tahatahaqeq

Untitled

Jul 25th, 2026
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.01 KB | None | 0 0
  1. local Players = game:GetService('Players')
  2. local UIS = game:GetService('UserInputService')
  3. local RunService = game:GetService('RunService')
  4. local LocalPlayer = Players.LocalPlayer
  5. local PlayerGui = LocalPlayer:WaitForChild('PlayerGui')
  6.  
  7. local C = {
  8. PANEL = Color3.fromRGB(15, 15, 22),
  9. CARD = Color3.fromRGB(25, 25, 35),
  10. ACCENT = Color3.fromRGB(200, 80, 255),
  11. TEXT = Color3.fromRGB(240, 240, 255),
  12. GREEN = Color3.fromRGB(50, 230, 90),
  13. YELLOW = Color3.fromRGB(255, 210, 40),
  14. RED = Color3.fromRGB(255, 60, 60),
  15. MUTED = Color3.fromRGB(130, 130, 150),
  16. WHITE = Color3.new(1, 1, 1),
  17. }
  18.  
  19. local petDB, dbReady = {}, false
  20. local activeSide = "ME"
  21. local myPets, myTotal = {}, 0
  22. local theirPets, theirTotal = {}, 0
  23. local lastAddedKey = ""
  24.  
  25. local function unescape(s)
  26. return (s:gsub('\\"','"'):gsub('\\/','/'):gsub('\\n','\n'):gsub('\\\\','\\'))
  27. end
  28.  
  29. local function getBestValue(obj, prefix)
  30. local np = tonumber(obj:match('"'..prefix..'value %- nopotion"%s*:%s*(%-?[%d%.]+)')) or tonumber(obj:match('"'..prefix..'value"%s*:%s*(%-?[%d%.]+)')) or 0
  31. local r = tonumber(obj:match('"'..prefix..'value %- ride"%s*:%s*(%-?[%d%.]+)')) or 0
  32. local f = tonumber(obj:match('"'..prefix..'value %- fly"%s*:%s*(%-?[%d%.]+)')) or 0
  33. local fr = tonumber(obj:match('"'..prefix..'value %- fly\\u0026ride"%s*:%s*(%-?[%d%.]+)'))
  34. or tonumber(obj:match('"'..prefix..'value %- fly&ride"%s*:%s*(%-?[%d%.]+)'))
  35. or tonumber(obj:match('"'..prefix..'value"%s*:%s*(%-?[%d%.]+)')) or 0
  36. return { np = np, r = r, f = f, fr = fr }
  37. end
  38.  
  39. local function smartFill(p)
  40. if not p then return end
  41. if p.np == 0 and p.fr > 0 then p.np = p.fr end
  42. if p.fr == 0 and p.np > 0 then p.fr = p.np end
  43. if p.np > 0 and p.fr > 0 then
  44. if p.r == 0 then p.r = math.floor((p.np + (p.fr - p.np) * 0.45) * 100) / 100 end
  45. if p.f == 0 then p.f = math.floor((p.np + (p.fr - p.np) * 0.55) * 100) / 100 end
  46. end
  47. end
  48.  
  49. -- Cargar Base de Datos
  50. local reqFn = (syn and syn.request) or (http and http.request) or request
  51. if reqFn then
  52. task.spawn(function()
  53. local res = reqFn({Url = "https://elvebredd.com/adopt-me-calculator", Method = "GET"})
  54. if res and res.Body then
  55. for obj in unescape(res.Body):gmatch("{(.-)}") do
  56. local petName, status = obj:match('"[nN]ame"%s*:%s*"(.-)"'), obj:match('"[sS]tatus"%s*:%s*"(.-)"')
  57. if petName and status == "Ready" then
  58. petName = petName:lower()
  59. petDB[petName] = {
  60. name = petName,
  61. r = getBestValue(obj, "r"),
  62. n = getBestValue(obj, "n"),
  63. m = getBestValue(obj, "m")
  64. }
  65. smartFill(petDB[petName].r); smartFill(petDB[petName].n); smartFill(petDB[petName].m)
  66. end
  67. end
  68. dbReady = true
  69. end
  70. end)
  71. end
  72.  
  73. -- Analizador de variantes
  74. local function parsePetVariant(rawName)
  75. local name = rawName:lower()
  76. local variant = "r"
  77.  
  78. if name:find("mega neon") or name:find("mfr") or name:match("%smr%s") or name:match("^mr%s") or name:match("%smf%s") or name:match("^mf%s") or name:find("mega") then
  79. variant = "m"
  80. elseif name:find("neon") or name:find("nfr") or name:match("%snr%s") or name:match("^nr%s") or name:match("%snf%s") or name:match("^nf%s") then
  81. variant = "n"
  82. end
  83.  
  84. -- Limpieza del string para dejar solo el nombre base
  85. name = name:gsub("mega neon", ""):gsub("neon", ""):gsub("mfr", ""):gsub("nfr", "")
  86. name = name:gsub("^mr%s+", ""):gsub("%s+mr$", ""):gsub("^mf%s+", ""):gsub("%s+mf$", "")
  87. name = name:gsub("^nr%s+", ""):gsub("%s+nr$", ""):gsub("^nf%s+", ""):gsub("%s+nf$", "")
  88. name = name:gsub("^m%s+", ""):gsub("^n%s+", ""):gsub("mega", "")
  89. name = name:gsub("^%s+", ""):gsub("%s+$", "")
  90.  
  91. return name, variant
  92. end
  93.  
  94. local function lookupPet(raw)
  95. local cName, detectedVar = parsePetVariant(raw)
  96. if petDB[cName] then return petDB[cName], detectedVar end
  97.  
  98. local best, bestLen = nil, 0
  99. for k, v in pairs(petDB) do
  100. if (cName == k or cName:find("^" .. k .. "$")) and #k > bestLen then
  101. bestLen = #k; best = v
  102. end
  103. end
  104.  
  105. if not best then
  106. for k, v in pairs(petDB) do
  107. if cName:find(k, 1, true) and #k > bestLen then
  108. bestLen = #k; best = v
  109. end
  110. end
  111. end
  112.  
  113. return best, detectedVar
  114. end
  115.  
  116. -- Limpieza de GUIs previas
  117. pcall(function()
  118. local containers = {game.CoreGui, PlayerGui}
  119. if gethui then table.insert(containers, gethui()) end
  120. for _, c in ipairs(containers) do
  121. for _, v in ipairs(c:GetChildren()) do
  122. if v:IsA("ScreenGui") and (v.Name:find("TradeChecker") or v.Name:find("Gigi")) then v:Destroy() end
  123. end
  124. end
  125. end)
  126.  
  127. -- ScreenGui Principal
  128. local screen = Instance.new('ScreenGui', game.CoreGui)
  129. screen.Name = 'Gigi_TradeChecker'
  130. screen.ResetOnSpawn = false
  131.  
  132. -- Panel Principal Centrado
  133. local frame = Instance.new('Frame', screen)
  134. frame.Size = UDim2.new(0, 360, 0, 260)
  135. frame.Position = UDim2.new(0.5, -180, 0.5, -130)
  136. frame.BackgroundColor3 = C.PANEL
  137. frame.BorderSizePixel = 0
  138.  
  139. Instance.new('UICorner', frame).CornerRadius = UDim.new(0, 10)
  140. local uiStroke = Instance.new('UIStroke', frame)
  141. uiStroke.Color, uiStroke.Thickness = C.ACCENT, 2
  142.  
  143. -- Encabezado del Panel
  144. local title = Instance.new('TextLabel', frame)
  145. title.Size = UDim2.new(1, -70, 0, 32)
  146. title.Position = UDim2.new(0, 10, 0, 0)
  147. title.BackgroundTransparency = 1
  148. title.Text = "✨ Gigi value"
  149. title.TextColor3, title.Font, title.TextSize = C.WHITE, Enum.Font.GothamBold, 14
  150. title.TextXAlignment = Enum.TextXAlignment.Left
  151.  
  152. -- Botón Reset (🔄)
  153. local resetBtn = Instance.new('TextButton', frame)
  154. resetBtn.Size, resetBtn.Position = UDim2.new(0, 28, 0, 28), UDim2.new(1, -60, 0, 2)
  155. resetBtn.BackgroundTransparency = 1
  156. resetBtn.Text, resetBtn.TextSize = "🔄", 14
  157.  
  158. -- Botón Cerrar (✕)
  159. local closeBtn = Instance.new('TextButton', frame)
  160. closeBtn.Size, closeBtn.Position = UDim2.new(0, 28, 0, 28), UDim2.new(1, -30, 0, 2)
  161. closeBtn.BackgroundTransparency = 1
  162. closeBtn.Text, closeBtn.TextColor3, closeBtn.Font, closeBtn.TextSize = "✕", C.WHITE, Enum.Font.GothamBold, 14
  163.  
  164. -- Logo Flotante (Draggeable)
  165. local openBtn = Instance.new('TextButton', screen)
  166. openBtn.Size, openBtn.Position = UDim2.new(0, 50, 0, 50), UDim2.new(0.05, 0, 0.5, -25)
  167. openBtn.BackgroundColor3, openBtn.Text, openBtn.TextSize, openBtn.Visible = C.PANEL, "✨", 22, false
  168. Instance.new('UICorner', openBtn).CornerRadius = UDim.new(1, 0)
  169. local openStroke = Instance.new('UIStroke', openBtn)
  170. openStroke.Color, openStroke.Thickness = C.ACCENT, 2
  171.  
  172. local function makeDraggable(guiObj)
  173. local dragging, dragStart, startPos
  174. guiObj.InputBegan:Connect(function(input)
  175. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  176. dragging = true; dragStart = input.Position; startPos = guiObj.Position
  177. end
  178. end)
  179. UIS.InputChanged:Connect(function(input)
  180. if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  181. local delta = input.Position - dragStart
  182. guiObj.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  183. end
  184. end)
  185. UIS.InputEnded:Connect(function(input)
  186. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end
  187. end)
  188. end
  189. makeDraggable(openBtn)
  190.  
  191. closeBtn.MouseButton1Click:Connect(function() frame.Visible = false; openBtn.Visible = true end)
  192. openBtn.MouseButton1Click:Connect(function() frame.Visible = true; openBtn.Visible = false end)
  193.  
  194. -- Botones Selector ME y THEM
  195. local meBtn = Instance.new('TextButton', frame)
  196. meBtn.Size, meBtn.Position = UDim2.new(0, 75, 0, 24), UDim2.new(0, 10, 0, 34)
  197. meBtn.BackgroundColor3 = C.GREEN
  198. meBtn.Text = "ME"
  199. meBtn.TextColor3, meBtn.Font, meBtn.TextSize = C.WHITE, Enum.Font.GothamBold, 12
  200. Instance.new('UICorner', meBtn).CornerRadius = UDim.new(0, 5)
  201.  
  202. local themBtn = Instance.new('TextButton', frame)
  203. themBtn.Size, themBtn.Position = UDim2.new(0, 75, 0, 24), UDim2.new(1, -85, 0, 34)
  204. themBtn.BackgroundColor3 = C.CARD
  205. themBtn.Text = "THEM"
  206. themBtn.TextColor3, themBtn.Font, themBtn.TextSize = C.WHITE, Enum.Font.GothamBold, 12
  207. Instance.new('UICorner', themBtn).CornerRadius = UDim.new(0, 5)
  208.  
  209. local statusLbl = Instance.new('TextLabel', frame)
  210. statusLbl.Size, statusLbl.Position = UDim2.new(1, -170, 0, 24), UDim2.new(0, 85, 0, 34)
  211. statusLbl.BackgroundTransparency = 1
  212. statusLbl.Text = "Añadiendo a: ME"
  213. statusLbl.TextColor3, statusLbl.Font, statusLbl.TextSize = C.YELLOW, Enum.Font.Gotham, 11
  214.  
  215. meBtn.MouseButton1Click:Connect(function()
  216. activeSide = "ME"
  217. meBtn.BackgroundColor3 = C.GREEN
  218. themBtn.BackgroundColor3 = C.CARD
  219. statusLbl.Text = "Añadiendo a: ME"
  220. end)
  221.  
  222. themBtn.MouseButton1Click:Connect(function()
  223. activeSide = "THEM"
  224. themBtn.BackgroundColor3 = C.GREEN
  225. meBtn.BackgroundColor3 = C.CARD
  226. statusLbl.Text = "Añadiendo a: THEM"
  227. end)
  228.  
  229. -- Listas
  230. local meScroll = Instance.new('ScrollingFrame', frame)
  231. meScroll.Size, meScroll.Position = UDim2.new(0.46, 0, 0, 135), UDim2.new(0, 10, 0, 65)
  232. meScroll.BackgroundColor3, meScroll.BorderSizePixel = C.CARD, 0
  233. meScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
  234. meScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y
  235. Instance.new('UICorner', meScroll).CornerRadius = UDim.new(0, 6)
  236. local meList = Instance.new('UIListLayout', meScroll); meList.Padding = UDim.new(0, 2)
  237.  
  238. local themScroll = Instance.new('ScrollingFrame', frame)
  239. themScroll.Size, themScroll.Position = UDim2.new(0.46, 0, 0, 135), UDim2.new(0.52, 0, 0, 65)
  240. themScroll.BackgroundColor3, themScroll.BorderSizePixel = C.CARD, 0
  241. themScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
  242. themScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y
  243. Instance.new('UICorner', themScroll).CornerRadius = UDim.new(0, 6)
  244. local themList = Instance.new('UIListLayout', themScroll); themList.Padding = UDim.new(0, 2)
  245.  
  246. -- Panel Inferior
  247. local resultFrame = Instance.new('Frame', frame)
  248. resultFrame.Size, resultFrame.Position = UDim2.new(1, -20, 0, 48), UDim2.new(0, 10, 1, -54)
  249. resultFrame.BackgroundColor3 = C.CARD
  250. Instance.new('UICorner', resultFrame).CornerRadius = UDim.new(0, 6)
  251.  
  252. local totalsLbl = Instance.new('TextLabel', resultFrame)
  253. totalsLbl.Size, totalsLbl.Position = UDim2.new(1, 0, 0, 22), UDim2.new(0, 0, 0, 2)
  254. totalsLbl.BackgroundTransparency = 1
  255. totalsLbl.Text = "Tú: 0 | Rival: 0"
  256. totalsLbl.TextColor3, totalsLbl.Font, totalsLbl.TextSize = C.WHITE, Enum.Font.GothamMedium, 12
  257. totalsLbl.RichText = true
  258.  
  259. local outcomeLbl = Instance.new('TextLabel', resultFrame)
  260. outcomeLbl.Size, outcomeLbl.Position = UDim2.new(1, 0, 0, 20), UDim2.new(0, 0, 0, 24)
  261. outcomeLbl.BackgroundTransparency = 1
  262. outcomeLbl.Text = "Esperando mascotas..."
  263. outcomeLbl.TextColor3, outcomeLbl.Font, outcomeLbl.TextSize = C.YELLOW, Enum.Font.GothamBold, 12
  264. outcomeLbl.RichText = true
  265.  
  266. local updateUI
  267.  
  268. updateUI = function()
  269. myTotal, theirTotal = 0, 0
  270.  
  271. for _, child in ipairs(meScroll:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end
  272. for _, child in ipairs(themScroll:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end
  273.  
  274. for index, pet in ipairs(myPets) do
  275. myTotal = myTotal + pet.val
  276. local btn = Instance.new('TextButton', meScroll)
  277. btn.Size = UDim2.new(1, 0, 0, 20)
  278. btn.BackgroundTransparency = 1
  279. btn.Text = string.format(" ✕ %s (<font color=\"#3CDD64\">%s</font>)", pet.name, tostring(pet.val))
  280. btn.TextColor3, btn.Font, btn.TextSize, btn.RichText, btn.TextXAlignment = C.TEXT, Enum.Font.Gotham, 10, true, Enum.TextXAlignment.Left
  281.  
  282. btn.MouseButton1Click:Connect(function()
  283. table.remove(myPets, index)
  284. updateUI()
  285. end)
  286. end
  287.  
  288. for index, pet in ipairs(theirPets) do
  289. theirTotal = theirTotal + pet.val
  290. local btn = Instance.new('TextButton', themScroll)
  291. btn.Size = UDim2.new(1, 0, 0, 20)
  292. btn.BackgroundTransparency = 1
  293. btn.Text = string.format(" ✕ %s (<font color=\"#FFD700\">%s</font>)", pet.name, tostring(pet.val))
  294. btn.TextColor3, btn.Font, btn.TextSize, btn.RichText, btn.TextXAlignment = C.TEXT, Enum.Font.Gotham, 10, true, Enum.TextXAlignment.Left
  295.  
  296. btn.MouseButton1Click:Connect(function()
  297. table.remove(theirPets, index)
  298. updateUI()
  299. end)
  300. end
  301.  
  302. myTotal = math.floor(myTotal * 100) / 100
  303. theirTotal = math.floor(theirTotal * 100) / 100
  304.  
  305. totalsLbl.Text = string.format('Tú (ME): <font color="#3CDD64">%s</font> | Rival (THEM): <font color="#FFD700">%s</font>', tostring(myTotal), tostring(theirTotal))
  306.  
  307. local diff = math.floor((theirTotal - myTotal) * 100) / 100
  308. if #myPets == 0 and #theirPets == 0 then
  309. outcomeLbl.Text = "Toca mascotas para registrarlas."
  310. elseif diff > 0.1 then
  311. outcomeLbl.Text = string.format('Resultado: <font color="#3CDD64">WIN (+%s)</font>', tostring(diff))
  312. elseif diff < -0.1 then
  313. outcomeLbl.Text = string.format('Resultado: <font color="#FF5050">LOSE (%s)</font>', tostring(diff))
  314. else
  315. outcomeLbl.Text = 'Resultado: <font color="#FFD700">FAIR (Justo)</font>'
  316. end
  317. end
  318.  
  319. resetBtn.MouseButton1Click:Connect(function()
  320. myPets, theirPets = {}, {}
  321. lastAddedKey = ""
  322. updateUI()
  323. end)
  324.  
  325. -- Detector de pociones (Fly / Ride)
  326. local function getHoveredPotionsFallback(tooltipObj)
  327. local mouse = UIS:GetMouseLocation()
  328. local mx, my = mouse.X, mouse.Y
  329. local isFly, isRide = false, false
  330.  
  331. if tooltipObj then
  332. for _, desc in ipairs(tooltipObj:GetDescendants()) do
  333. if desc:IsA("ImageLabel") or desc:IsA("ImageButton") then
  334. local n = desc.Name:lower()
  335. if (n == "flyable" or n == "fly") and desc.Visible and desc.ImageTransparency < 0.9 and desc.Image ~= "" then isFly = true end
  336. if (n == "rideable" or n == "ride") and desc.Visible and desc.ImageTransparency < 0.9 and desc.Image ~= "" then isRide = true end
  337. end
  338. end
  339. end
  340.  
  341. for _, appName in ipairs({"TradeApp", "InventoryApp"}) do
  342. local app = PlayerGui:FindFirstChild(appName)
  343. if app then
  344. for _, child in ipairs(app:GetDescendants()) do
  345. if child:IsA("ImageLabel") and (child.Name:lower() == "flyable" or child.Name:lower() == "rideable") then
  346. local slot = child.Parent
  347. local isHovered, depth = false, 0
  348. while slot and slot:IsA("GuiObject") and depth < 8 do
  349. local px, py = slot.AbsolutePosition.X, slot.AbsolutePosition.Y
  350. local pw, ph = slot.AbsoluteSize.X, slot.AbsoluteSize.Y
  351. if pw < 180 and ph < 180 then
  352. if (mx >= px and mx <= px + pw and my >= py and my <= py + ph) or
  353. (mx >= px and mx <= px + pw and (my - 36) >= py and (my - 36) <= py + ph) then
  354. isHovered = true; break
  355. end
  356. end
  357. slot = slot.Parent; depth = depth + 1
  358. end
  359. if isHovered then
  360. if child.Visible and child.ImageTransparency < 0.9 and child.Image ~= "" then
  361. if child.Name:lower() == "flyable" then isFly = true end
  362. if child.Name:lower() == "rideable" then isRide = true end
  363. end
  364. end
  365. end
  366. end
  367. end
  368. end
  369. return isFly, isRide
  370. end
  371.  
  372. RunService.RenderStepped:Connect(function()
  373. if not dbReady then return end
  374.  
  375. local tooltip = nil
  376. for _, appName in ipairs({'TradeApp', 'InventoryApp'}) do
  377. local app = PlayerGui:FindFirstChild(appName)
  378. if app then
  379. for _, c in ipairs(app:GetChildren()) do
  380. if c.Name == 'Tooltip' and c.Visible and c.AbsolutePosition.X > -4000 then tooltip = c; break end
  381. end
  382. end
  383. if tooltip then break end
  384. end
  385.  
  386. if tooltip then
  387. local variant, bestMatch, combinedText = "r", "", ""
  388.  
  389. -- Escaneo de todos los textos del tooltip
  390. for _, lbl in ipairs(tooltip:GetDescendants()) do
  391. if lbl:IsA("TextLabel") and lbl.Visible and lbl.Text ~= "" then
  392. local txt = lbl.Text:lower()
  393. combinedText = combinedText .. " " .. txt
  394.  
  395. local data, v = lookupPet(lbl.Text)
  396. if data then
  397. bestMatch = data.name
  398. if v == "m" then variant = "m" elseif v == "n" and variant ~= "m" then variant = "n" end
  399. end
  400. end
  401. end
  402.  
  403. -- Evaluación exhaustiva del texto acumulado
  404. if combinedText:find("mega neon") or combinedText:find("mega") or combinedText:find("mfr") then
  405. variant = "m"
  406. elseif (combinedText:find("neon") or combinedText:find("nfr")) and variant ~= "m" then
  407. variant = "n"
  408. end
  409.  
  410. -- Confirmación suplementaria por UIGradient
  411. for _, desc in ipairs(tooltip:GetDescendants()) do
  412. if desc:IsA("UIGradient") then
  413. if #desc.Color.Keypoints > 3 then
  414. variant = "m"
  415. elseif variant == "r" then
  416. variant = "n"
  417. end
  418. end
  419. end
  420.  
  421. if bestMatch ~= "" then
  422. local isFly, isRide = getHoveredPotionsFallback(tooltip)
  423. local currentKey = activeSide .. "_" .. bestMatch .. "_" .. variant .. "_" .. tostring(isFly) .. "_" .. tostring(isRide)
  424.  
  425. if currentKey ~= lastAddedKey then
  426. lastAddedKey = currentKey
  427. local data = petDB[bestMatch:lower()]
  428. if data then
  429. -- Asignación estricta de la tabla (m = Mega, n = Neón, r = Normal)
  430. local p = data[variant] or data.r
  431. local val = 0
  432.  
  433. if isFly and isRide then
  434. val = p.fr
  435. elseif isFly then
  436. val = p.f
  437. elseif isRide then
  438. val = p.r
  439. else
  440. val = p.np
  441. end
  442.  
  443. -- Fallbacks en caso de que un valor exacto falte en la BD
  444. if (not val or val == 0) then
  445. if isFly and isRide then
  446. val = (p.fr > 0 and p.fr) or p.np
  447. elseif isFly then
  448. val = (p.f > 0 and p.f) or (p.fr > 0 and p.fr) or p.np
  449. elseif isRide then
  450. val = (p.r > 0 and p.r) or (p.fr > 0 and p.fr) or p.np
  451. else
  452. val = (p.np > 0 and p.np) or p.fr
  453. end
  454. end
  455.  
  456. local pre = (variant == "m" and "M " or (variant == "n" and "N " or ""))
  457. local potStr = (isFly and isRide and " FR") or (isFly and " F") or (isRide and " R") or " No Pot"
  458. local fullName = pre .. bestMatch:sub(1,1):upper() .. bestMatch:sub(2) .. potStr
  459.  
  460. if activeSide == "ME" then
  461. table.insert(myPets, {name = fullName, val = val or 0})
  462. else
  463. table.insert(theirPets, {name = fullName, val = val or 0})
  464.  
Advertisement
Add Comment
Please, Sign In to add comment