#how do i make the textlabel text go from 0 to 1 and on and on?
42 messages · Page 1 of 1 (latest)
What?
i need help to make the text of a text label to go up by + 1
So what is the problem? The format is so bad for me because I am on phone
the problem is that the text label wont change but the anchored and other parts work
So you’re storing the value of the leaves in the text label?
no
** You are now Level 1! **
But you are though
You are taking the text of treesGui and converting it to a number then add one to it
?
like tostring before tonumber
Well you can’t add strings with numbers can you?
idk what strings really do
Oh
the anchor and cancollide stuff works fine
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
.
how do i do that
Do you know what parameters or arguments are?
no
Well you should probably learn that
Learn to program in Lua. Lua is a popular scripting language that is widely used by many apps and game engines including Roblox, Manticore, Solar 2D (formerly Corona SDK), Defold, Cocos2Dx, neovim, minetest, Amazon Lumberyard, WoW, Adobe Lightroom, and many other great tools.
In Part 17, we examine how to pass arguments to parameters in fun...
what do i need to change at the clickdetector
If you learned about parameters you will add the parameter for player
i dont understand
It will go in the parenthesis in the function you are connecting
Buddy you’re going to have to learn those parameters and arguments, so why not learn them right now?