Talk:RBX.lua.Hint (Object): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
No edit summary
>JustinP231
m >_>
Line 3: Line 3:


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. ---[[User:Mr Doom Bringer|Mr Doom Bringer]] 16:53, 12 March 2008 (CDT)
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. ---[[User:Mr Doom Bringer|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

Revision as of 22:22, 12 March 2008

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