local api = {} local plr = game.Players.LocalPlayer local rus = game:GetService("RunService") local list = game:HttpGet("https://raw.githubusercontent.com/Harrix/Russian-Nouns/refs/heads/main/dist/russian_nouns_without_filter.txt") local words = {} local nowwords = {} local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/deividcomsono/Obsidian/refs/heads/main/Library.lua"))() api.GetHum = function(target) if not target then return nil end local chr = target.Character if chr and chr:FindFirstChildOfClass("Humanoid") then return chr:FindFirstChildOfClass("Humanoid") end return nil end api.GetTable = function() local hum = api.GetHum(plr) if hum and hum.SeatPart then local seat = hum.SeatPart if seat and seat.Parent then return seat.Parent.Parent end end return nil end api.GetWord = function(maintable) if not maintable then return nil end local textt = maintable.Center.LiveWord.TableLabelCanvas.Canvas.WordTiles local accepted, word = textt:GetAttribute("Accepted"), textt:GetAttribute("Word") return accepted, word, textt end api.GetLetter = function(maintable) if not maintable then return nil end return maintable:GetAttribute("MatchLetter") or nil end api.GetTarget = function(maintable) if not maintable then return nil end return maintable:GetAttribute("MatchActor") or nil end api.GetYourPlace = function(maintable) if not maintable then return nil end local id = plr.UserId local capacity = maintable:GetAttribute("Capacity") local turn = 1 for i = 1, capacity do if maintable:GetAttribute("Player" .. tostring(i)) == id then turn = i break end end return turn end api.IsYouTarget = function(maintable) if not maintable then return nil end return api.GetTarget(maintable) == api.GetYourPlace(maintable) end api.IsRound = function(maintable) if not maintable then return nil end return maintable:GetAttribute("MatchPhase") == "playing" end api.GetInfo = function(maintable) if not maintable then return nil end local names = {TableId = "tableId", MatchRound = "round", MatchGeneration = "generation", MatchLetter = "letter"} local info = {} for i, v in next, names do info[v] = maintable:GetAttribute(i) end return info end local ReplicatedStorage = game:GetService("ReplicatedStorage") local Action = ReplicatedStorage:WaitForChild("WordGame"):WaitForChild("Action") local typer = plr.PlayerGui.WordGameUI.Canvas.Match.TypingCapture api.GetText = function(text) return typer.Text end api.Typing = function(text) typer.Text = text end api.Send = function(text) local maintable = api.GetTable() if not maintable then return end if not api.IsYouTarget(maintable) then return end local info = api.GetInfo(maintable) Action:FireServer("word", info.letter .. text, { requestId = math.random(1,150), tableId = info.tableId, round = info.round, generation = info.generation, corrected = false, }) end api.Sub = function(str, j, n) local len = utf8.len(str) if not len then return "" end if j < 0 then j = math.max(len + j + 1, 1) end if n < 0 then n = len + n + 1 end if j < 1 then j = 1 end if n > len then n = len end if j > n then return "" end local startByte = utf8.offset(str, j) local endByte = utf8.offset(str, n + 1) or (#str + 1) return str:sub(startByte, endByte - 1) end api.Pick = function(tbl, random) local tblwords = {} local value = nil if random == true then for i, v in next, tbl do if v ~= nil then table.insert(tblwords, v) end end value = tostring(tblwords[math.random(1,#tblwords)]) else for i, v in next, tbl do if v ~= nil then table.insert(tblwords, v) end end value = tblwords[1] end return value end api.Lower = function(text) local lowerMap = { ["А"]="а",["Б"]="б",["В"]="в",["Г"]="г",["Д"]="д",["Е"]="е",["Ё"]="ё", ["Ж"]="ж",["З"]="з",["И"]="и",["Й"]="й",["К"]="к",["Л"]="л",["М"]="м", ["Н"]="н",["О"]="о",["П"]="п",["Р"]="р",["С"]="с",["Т"]="т",["У"]="у", ["Ф"]="ф",["Х"]="х",["Ц"]="ц",["Ч"]="ч",["Ш"]="ш",["Щ"]="щ", ["Э"]="э",["Ю"]="ю",["Я"]="я", } local out = {} for first, last in utf8.graphemes(text) do local ch = string.sub(text, first, last) out[#out+1] = lowerMap[ch] or ch end return table.concat(out) end api.WPM = function(lts,t) return tonumber(math.round((lts/5/(t/60)))) end for w in list:gmatch("[^\s\r\n]+") do if not w:find("-") and utf8.len(w) > 2 then local category = api.Lower(api.Sub(w, 1, 1)) if not words[category] then words[category] = {} end local sec = words[category] sec[w] = w end end nowwords = words local isRound = false local autoword = true local sitting = false local part = 1 local tact = 0.1 local now = tick() local mode = "humanly" local Window = Library:CreateWindow({ Title = "Auto Word", Footer = "By java! Enjoy best auto word!", Transparent = true, Theme = "Dark", ToggleKeybind = Enum.KeyCode.M, CornerRadius = 20 }) local Tab = Window:AddTab("Main", "user") local LeftGroupBox = Tab:AddGroupbox({ Side = "Left", Name = "Auto Word", IconName = "wrench", }) local Toggle = LeftGroupBox:AddToggle("AutoWordEnabled", { Text = "auto word", Default = true, Callback = function(state) autoword = state end, }) local Settings = Toggle:AddSettings({ Width = 220, }) Settings:AddDropdown("AutoWordMode", { Text = "Mode", Values = {"invis", "fast", "paste", "humanly", "bot", "slow"}, Default = 4, Multi = false, Callback = function(option) mode = option end, }) rus.Stepped:Connect(function() if autoword then local hum = api.GetHum(plr) if not sitting then nowwords = words end sitting = hum.Sit local tab = api.GetTable() isRound = api.IsRound(tab) if isRound then local acc, wrd, txt = api.GetWord(tab) if api.IsYouTarget(tab) then local letter = api.GetLetter(tab) local sec = nowwords[letter] local random = (mode == "paste" or mode == "invis" or mode == "bot") and true or false local word = api.Pick(sec, random) if not word then now = tick() part = 1 warn("Word doesn't exist.", word) return end local len = utf8.len(word) local nl = api.Sub(word, 2, len) if mode == "paste" then if acc then sec[word] = nil tact = -1 now = tick() return end if api.GetText() ~= nl then if tick() > now + tact then tact = -1 for i = 1,utf8.len(nl) do api.Typing(string.rep("о", i)) end local notxtx = api.GetText() part = tonumber(utf8.len(notxtx)) + 1 local wortp = api.Sub(nl, 1, part) if api.GetText() ~= wortp then api.Typing(wortp) end now = tick() end elseif api.GetText() == nl then tact = 0.04 api.Send(nl) api.Typing("") end elseif mode == "invis" then if acc then sec[word] = nil tact = -2 now = tick() end if api.GetText() ~= nl then if tick() > now + tact then tact = 0 local notxtx = api.GetText() part = tonumber(utf8.len(notxtx)) + 1 local wortp = api.Sub(nl, 1, part) if api.GetText() ~= wortp then api.Typing(wortp) end for i = 1,20 do api.Typing(string.rep("о", i)) end now = tick() end elseif api.GetText() == nl then tact = 0.03 api.Send(nl) api.Typing("") end elseif mode == "fast" then if acc then sec[word] = nil tact = 0.04 now = tick() end if api.GetText() ~= nl then if tick() > now + tact then tact = 0.04 local notxtx = api.GetText() part = tonumber(utf8.len(notxtx)) + 1 local wortp = api.Sub(nl, 1, part) if api.GetText() ~= wortp then api.Typing(wortp) end now = tick() end elseif api.GetText() == nl then tact = 0.1 api.Send(nl) end elseif mode == "humanly" then if acc then sec[word] = nil tact = (math.random()/6) * (1/math.random()) now = tick() end if api.GetText() ~= nl then if tick() > now + tact then tact = (math.random()/6) * (1/math.random()) local notxtx = api.GetText() part = tonumber(utf8.len(notxtx)) + 1 local wortp = api.Sub(nl, 1, part) if api.GetText() ~= wortp then api.Typing(wortp) end now = tick() end elseif api.GetText() == nl then tact = 0.4 api.Send(nl) api.Typing("") end elseif mode == "bot" then if acc then sec[word] = nil tact = 0.1 now = tick() end if api.GetText() ~= nl then if tick() > now + tact then tact = 0.1 local notxtx = api.GetText() part = tonumber(utf8.len(notxtx)) + 1 local wortp = api.Sub(nl, 1, part) if api.GetText() ~= wortp then api.Typing(wortp) end now = tick() end elseif api.GetText() == nl then tact = 0.1 api.Send(nl) end elseif mode == "bot" then if acc then sec[word] = nil tact = 0.25 now = tick() end if api.GetText() ~= nl then if tick() > now + tact then tact = 0.25 local notxtx = api.GetText() part = tonumber(utf8.len(notxtx)) + 1 local wortp = api.Sub(nl, 1, part) if api.GetText() ~= wortp then api.Typing(wortp) end now = tick() end elseif api.GetText() == nl then tact = 0.25 api.Send(nl) end end local half = ((math.round(tonumber(utf8.len(nl)) / 2)) + 1) if (mode == "humanly" or mode == "fast") then half = ((math.round(tonumber(utf8.len(nl)) / 1.2))) end if utf8.len(api.GetText()) > half then api.Send(nl) api.Typing("") sec[word] = nil tact = 0.4 end else if acc then local letter = api.GetLetter(tab) local sec = nowwords[letter] sec[wrd] = nil tact = -1 now = tick() end end end end end)