You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
it is not detect if the player has said there word or not - if word has not been said its not suppost to assign them a new word and do not have the word gui come up but those show up and happen anyways.
If the player has said there word it should assign them a new word after they have rejoined the game.
- I asked friends, looked on internet and asked chatgpt
I want it to detect if the player has said there word or not - if word has not been said do not assign them a new word and do not have the word gui come up.
If the player has said there word it should assign them a new word after they have rejoined the game.
Not looking for anyone to rewrite it i just want someone to help me fix the rest and make it work. I have also provided the game file for you to look at - please do not steal or claim as own.
Mintywork.rbxl (312.1 KB)
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local wordList = {"apple", "about", "after", "again", "below", "bring", "could", "every", "first", "found", "great", "house", "learn", "never", "other", "place", "plant", "point", "right", "small",
"sound", "still", "study", "their", "there", "these", "thing", "think", "three", "under", "water", "where", "which", "world", "would", "write", "along", "begin", "black", "blue",
"body", "book", "call", "come", "done", "door", "down", "eat", "end", "face", "fact", "fall", "far", "fast", "find", "five", "food", "foot", "form", "four", "free", "from",
"game", "girl", "give", "good", "got", "hand", "have", "head", "hear", "help", "here", "high", "home", "hour", "idea", "keep", "kind", "know", "land", "last", "left", "life",
"like", "live", "long", "look", "made", "make", "many", "mark", "may", "meet", "mind", "more", "most", "move", "much", "name", "need", "next", "night", "none", "open",
"part", "past", "pick", "play", "pull", "put", "read", "ride", "room", "said", "same", "say", "see", "send", "set", "show", "side", "sit", "six", "size", "sleep", "slow",
"some", "song", "soon", "stop", "take", "tell", "test", "that", "them", "then", "they", "thin", "this", "time", "told", "too", "town", "tree", "true", "turn", "two",
"upon", "use", "very", "wait", "walk", "wall", "want", "was", "way", "week", "well", "went", "were", "what", "when", "wind", "wish", "with", "work", "yard", "year", "you", "your",
"zone", "able", "acid", "age", "air", "arm", "art", "bag", "bat", "bed", "bee", "bit", "box", "boy", "bus", "car", "cat", "cow", "day", "dog", "dry", "egg", "eye", "fan", "fat",
"fig", "fly", "fun", "gap", "gas", "get", "gum", "gun", "hat", "hen", "hit", "ice", "ill", "ink", "jet", "job", "joy", "key", "kid", "leg", "log", "man", "map", "mat", "mom",
"mud", "net", "new", "nut", "oak", "oil", "old", "one", "pan", "pet", "pig", "pop", "rat", "red", "run", "sad", "sea", "she", "sky", "son", "sun", "tap", "tax", "ten", "tip",
"top", "toy", "try", "van", "war", "win", "won", "yes", "yet", "zip", "zoo", "bake", "ball", "band", "bank", "bath", "bear", "beat", "been", "bell", "belt", "bend", "best",
"bill", "bird", "bite", "blue", "boil", "bold", "bolt", "bomb", "bond", "bone", "boom", "born", "boss", "both", "bowl", "bulk", "bull", "bump", "burn", "bush", "busy", "buzz",
"cake", "call", "calm", "came", "camp", "card", "care", "case", "cash", "cast", "cell", "chat", "chip", "city", "club", "coal", "coat", "code", "cold", "cook", "cool", "cope",
"copy", "cord", "core", "cost", "crew", "crop", "dark", "date", "dawn", "days", "dead", "deal", "dear", "deep", "desk", "dial", "dice", "diet", "disk", "dose", "drag", "draw",
"drop", "drug", "duck", "duet", "dull", "dump", "dust", "duty", "earn", "ease", "east", "easy", "echo", "edge", "edit", "eggs", "else", "ends", "envy", "epic", "evil", "exit",
"face", "fade", "fail", "fair", "fame", "farm", "fate", "fear", "feed", "feel", "feet", "fell", "felt", "file", "fill", "film", "fine", "fire", "firm", "fish", "flat", "flow",
"fold", "fool", "fore", "fork", "fort", "frog", "fuel", "full", "fund", "gain", "gala", "gang", "gate", "gave", "gear", "gift", "glad", "goal", "goes", "gold", "golf", "gray",
"grey", "grid", "gulf", "guts", "hail", "hair", "half", "hall", "hang", "hard", "harm", "hate", "hawk", "heal", "heat", "held", "hell", "herb", "hero", "hers", "hide", "hill",
"hint", "hire", "hold", "hole", "holy", "hone", "hood", "hook", "hope", "horn", "host", "huge", "hung", "hunt", "hurt", "idle", "inch", "iron", "item", "jack", "jail", "jars",
"java", "jaws", "jazz", "jean", "joke", "jump", "jury", "just", "kept", "kick", "kill", "king", "knew", "lack", "lady", "laid", "lake", "lane", "late", "lead", "leaf", "lean",
"less", "lift", "line", "link", "list", "load", "loan", "lock", "logo", "lord", "lose", "loss", "lost", "love", "luck", "mail", "main", "male", "mass", "mate", "meal", "mean",
"meat", "melt", "menu", "mere", "mild", "mode", "mood", "moon", "must", "navy", "near", "neck", "news", "nice", "nine", "nose", "note", "okay", "oral", "over", "pace", "pack",
"page", "paid", "pain", "pair", "park", "pass", "path", "peak", "pile", "pink", "plan", "plot", "plug", "plus", "poll", "pool", "poor", "port", "pose", "post", "pure", "push",
"race", "rain", "rank", "rare", "rate", "real", "rear", "rest", "rice", "rich", "ring", "rise", "risk", "road", "rock", "role", "roll", "roof", "root", "rose", "rule", "rush",
"safe", "sail", "salt", "sand", "save", "seat", "seed", "seek", "seem", "self", "sell", "sent", "ship", "shop", "shot", "shut", "sick", "sign", "site", "skin", "snow", "soft",
"soil", "sold", "sole", "sort", "soul", "spot", "star", "stay", "step", "such", "sure", "tale", "talk", "tall", "tank", "task", "team", "tend", "term", "text", "than", "thin",
"thus", "tiny", "toll", "tone", "tool", "tour", "trip", "tune", "type", "unit", "used", "user", "vast", "view", "vote", "wake", "ward", "warm", "wash", "wave", "ways", "weak",
"wear", "west", "whom", "wide", "wife", "wild", "will", "wine", "wing", "wire", "wise", "wood", "wore", "yeah", "zero",
"ace", "act", "add", "age", "aim", "air", "all", "and", "ant", "any", "ape", "apt", "arc", "are", "arm", "art", "ash", "ask", "ate", "awe", "axe", "bad", "bag", "ban", "bar", "bat", "bed",
"bee", "beg", "bet", "bid", "bin", "bit", "bog", "bop", "bow", "box", "boy", "bud", "bug", "bun", "bus", "but", "buy", "cab", "cad", "cam", "can", "cap", "car", "cat", "cod", "cog", "cot",
"cow", "cox", "cry", "cub", "cud", "cue", "cup", "cut", "dab", "dad", "dam", "dan", "dash", "day", "den", "dew", "did", "die", "dig", "dim", "din", "dip", "doe", "dog", "don", "dot",
"dry", "dub", "dud", "due", "dug", "dye", "ear", "eat", "ebb", "eco", "egg", "ego", "elf", "elk", "elm", "emu", "end", "era", "eve", "eye", "fad", "fan", "far", "fat", "fax", "fed",
"fee", "fen", "few", "fib", "fig", "fin", "fir", "fit", "fix", "flu", "fly", "foe", "fog", "for", "fox", "fry", "fun", "fur", "gad", "gag", "gal", "gap", "gas", "gel", "gem", "get",
"gig", "gin", "got", "gut", "guy", "gym", "had", "ham", "has", "hat", "hay", "hem", "hen", "hes", "hid", "him", "hip", "his", "hit", "hog", "hop", "hot", "how", "hub", "hue", "hug",
"hum", "hut", "ice", "icy", "iff", "ill", "imp", "ink", "inn", "ion", "irk", "its", "ivy", "jab", "jag", "jam", "jar", "jaw", "jay", "jet", "jig", "job", "jog", "jot", "joy", "jug",
"jut", "ken", "key", "kid", "kin", "kit", "lab", "lac", "lad", "lag", "lam", "lap", "law", "lax", "lay", "lea", "led", "lee", "leg", "let", "lib", "lid", "lie", "lip", "lit", "lob",
"log", "lop", "lot", "low", "lug", "mad", "mag", "man", "map", "mat", "max", "may", "men", "met", "mid", "mix", "mob", "mod", "mom", "mop", "mud", "mug", "mum", "nab", "nag", "nap",
"nay", "net", "new", "nib", "nil", "nip", "nod", "nor", "not", "now", "nun", "nut", "oak", "oar", "odd", "off", "oft", "oil", "old", "one", "opt", "orb", "ore", "our", "out", "owe",
"owl", "own", "pad", "pal", "pan", "pap", "par", "pat", "paw", "pay", "pea", "peg", "pen", "pep", "per", "pet", "pew", "phi", "pie", "pig", "pin", "pip", "pit", "ply", "pod", "pop",
"pot", "pro", "pub", "pug", "pun", "pup", "put", " rag", "ram", "ran", "rap", "rat", "raw", "ray", "red", "rib", "rid", "rig", "rim", "rip", "rob", "rod", "roe", "rot", "row", "rub",
"rue", "rug", "rum", "run", "rye", "sad", "sap", "sat", "saw", "say", "sea", "see", "set", "sew", "she", "shy", "sic", "sin", "sip", "sir", "sis", "sit", "six", "ski", "sky", "sly",
"sob", "sod", "son", "sow", "soy", "spa", "spy", "sub", "sue", "sum", "sun", "sup", "tab", "tad", "tag", "tan", "tap", "tar", "tat", "tax", "tea", "ted", "tee", "ten", "the", "thy",
"tic", "tie", "tin", "tip", "toe", "ton", "top", "tor", "tot", "tow", "toy", "try", "tub", "tug", "two", "ugh", "ump", "uni", "van", "vet", "vow", "wag", "war", "was", "wax", "way",
"web", "wet", "who", "why", "wig", "win", "wit", "won", "woo", "wow", "wry", "yak", "yam", "yap", "yaw", "yay", "yen", "yes", "yet", "you", "zip", "zoo"} -- Add your words here
local function isWordInList(word)
for _, w in ipairs(wordList) do
if w == word then
return true
end
end
return false
end
local wordLabel = script.Parent:WaitForChild("NewWord")
local okButton = script.Parent:WaitForChild("Ok")
okButton.Visible = false
okButton.Active = false
local chosenWord = nil
-- Word shuffle animation
local function animateWordShuffle(duration, interval)
local elapsed = 0
local lastWord = ""
while elapsed < duration do
lastWord = wordList[math.random(1, #wordList)]
wordLabel.Text = lastWord
task.wait(interval)
elapsed += interval
end
chosenWord = lastWord
wordLabel.Text = chosenWord
okButton.Visible = true
okButton.Active = true
-- Send chosen word to server
ReplicatedStorage:WaitForChild("WordChosenEvent"):FireServer(chosenWord)
end
animateWordShuffle(2, 0.05)