#how do i make the textlabel text go from 0 to 1 and on and on?

42 messages · Page 1 of 1 (latest)

south lynx
#

ignore the local stuff and click detector

summer granite
#

What?

south lynx
#

i need help to make the text of a text label to go up by + 1

summer granite
#

So what is the problem? The format is so bad for me because I am on phone

south lynx
#

the problem is that the text label wont change but the anchored and other parts work

summer granite
#

So you’re storing the value of the leaves in the text label?

south lynx
#

no

arctic templeBOT
#

studio** You are now Level 1! **studio

summer granite
#

But you are though

#

You are taking the text of treesGui and converting it to a number then add one to it

south lynx
#

yes

#

should i have but to string first

summer granite
#

?

south lynx
#

like tostring before tonumber

summer granite
#

Well you can’t add strings with numbers can you?

south lynx
#

idk what strings really do

summer granite
#

Oh

south lynx
#

the anchor and cancollide stuff works fine

summer granite
#

The problem is you are getting the starterGui you need to get plrGui you do this by defining the first parameter in the click detector

south lynx
#

what if i separate the script

#

like the anchor part alone

#

and the textlabel

summer granite
#

No

#

Just do what I told you

south lynx
#

how do i do that

summer granite
#

Do you know what parameters or arguments are?

south lynx
#

no

summer granite
#

Well you should probably learn that

south lynx
#

ok i will

#

ill be back

summer granite
south lynx
#

what do i need to change at the clickdetector

summer granite
#

If you learned about parameters you will add the parameter for player

south lynx
#

i dont understand

summer granite
#

It will go in the parenthesis in the function you are connecting

south lynx
#

just leave it alone

#

ill get rid of the part

summer granite
#

Buddy you’re going to have to learn those parameters and arguments, so why not learn them right now?

south lynx
#

i am watching visd

#

vids

#

of learning