Run it
Copy the script and paste it into your executor.
local cloneref = cloneref or function(obj) return obj end
local replicatedStorage = cloneref(game:GetService('ReplicatedStorage'))
local MatchUI = replicatedStorage.Remotes.MatchUI
local SubmitWord = replicatedStorage.Remotes.SubmitWord
local BillboardUpdate = replicatedStorage.Remotes.BillboardUpdate
local Used, Prefix, CurrentLetter = {}, {},
Answered, Ready = ,
Round =
.(()
.kbbiwords
Ok, Res = (.HttpGet, , , )
Ok Res
.kbbiwords = Res
Word .(.kbbiwords, )
W = .(Word)
.(W, ) #W >= #W <=
Len = , .(, #W)
P = .(W, , Len)
Prefix[P] = Prefix[P] {}
.(Prefix[P], W)
Ready =
)
(Letter)
Pool = Prefix[Letter]
Pool
T = {}
_, W (Pool)
Used[W] T[#T+] = W
#T > T[.(#T)]
(Word, Already)
I = #Already + , #Word
BillboardUpdate:(.(Word, , I))
.(.(, ) / )
()
CurrentLetter
Words = (CurrentLetter)
Words
Used[W] =
.(.(, ) / )
(Words, CurrentLetter)
.(.(, ) / )
SubmitWord:(Words)
()
CurrentLetter Answered
Answered =
.(()
T =
Ready T <
.()
T +=
Ready ()
)
MatchUI.OnClientEvent:((Event, Data)
Event == (Data) ==
CurrentLetter = .(Data)
Answered =
Event ==
Round +=
Answered =
()
Event ==
Answered =
.()
()
Event ==
CurrentLetter =
Answered =
)auto answer pake KBBI (jangan nanya dpt dri mana) keyless opensourced. kasih credit kalo mau make.