Talk:RBX.lua.Hint (Object)

From Legacy Roblox Wiki
Revision as of 22:22, 12 March 2008 by >JustinP231
Jump to navigationJump to search

changing text: how do i make hints that change every few seconds? its been bugging me on how and im woundering if its a script. is it? please help. user:artha14

That would be a script. Seeing as how this isn't a scripting page, you'd be better looking for a script that changes something every few seconds, then just changing the something into a hint. ---Mr Doom Bringer 16:53, 12 March 2008 (CDT)

>_>

I'll go ahead and tell you. When you define a hint, like a message, you define the Parent and Text. To make the hint change, simply change the text. Ex:

    local hint = Instance.new("Hint")
    hint.Parent = game.Workspace
    while true do
    hint.Text = "TEXT"
    wait(2)
    hint.Text = "TEXT2"
    wait(2)
    hint.Text = "TEXT3"
    wait(2)
    end

--JustinP231 17:22, 12 March 2008 (CDT)