RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"replace the word huh with a random number from 1 to 1000 in a hint"
-- local script (StarterGUI) local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui", player.PlayerGui) local hint = Instance.new("Hint", screenGui) hint.Text = "huh" local function replaceHuh() local randomNumber = math.random(1, 1000) hint.Text = string.gsub(hint.Text, "huh", tostring(randomNumber)) end replaceHuh()