#TextButton not updating/refreshing (?)

10 messages · Page 1 of 1 (latest)

lost ivy
#

I am brand new to programming in Lua and would appreciate any help or advice.

I've made a simply script that counts down from a preset number. I want to make the countdown display on a TextButton. However, only the first number will show. What do I have to do to make the button say "3," "2," "1," "Shoot!" Thank you in advance for any help!

agile harness
#

define the player first

lost ivy
#

I moved the script into the TextButton, defined the player, and am now trying to reference the PlayerGui. However, it outputs an error that says "attempt to index nil with 'WaitForChild.' I don't understand why because PlayerGui and ScreenGui exist.

pastel portal
#

localplayer doesnt exist on a server script

lost ivy
formal pewter
#

When i started Scripting i had the same Problems and it would only show up in the server i was so confused

formal pewter