Text randomiser not working correctly

Screenshot

Its suppose to randomize the text in the gui any idea why its not working correctly?

You are using the StarterGui which does not ā€œrunā€ on the client, it simply ā€œholdsā€ Gui Objects. When the game starts all Gui is replicated into the PlayerGui container so simply using the PlayerGui instead of the ā€˜StarterGui’ should fix your problem:

local player = game.Players.LocalPlayer
local PlayerGui  = player:FindFirstChild("PlayerGui") or player:WaitForChild("PlayerGui") -- Just using some a wait for  child to ensure that the playergui has "loaded" before its referenced  
announcement =  PlayerGui.ScreenGui.Frame.input

---rest of your code....

in other terms all ui from the startergui the client can see is actual under the PlayerGui container/folder

1 Like

The gui is moved to the player when the player starts.

announcement = script.Parent.Frame.input

Like this? So your saying its like this?

if you are asking if it should work then yes, as long as the spelling in announcement from where you defined it and from where it’s used is the same.