#im confused

28 messages · Page 1 of 1 (latest)

primal jay
#

@low fox that mean you are attempting to do a multiplication(mul) of smth that is equal to nil and another number, are you sure that rebirthsamount is a number and that it exists

#

what is the name of rebirthButton

#

yea its name is a string not a number

tardy plover
#

since rebirthbutton's name isn't a number,

#

you get that error

#

i think thats why

#

idk

#

it looked weird to me so i just wanted to point that out

primal jay
primal jay
#

yes indeed

#

not the best to do it like that with ui name but ok

#

thats fine

tardy plover
#

or you could do something like this

local rebirthsAmount = tonumber(1)
#

i think that's how it'l work

#

didi if im wrong, correct it please thanks

primal jay
#

thats fine but the tonumber() is not needd since 1 is already a number it would be used if it was "1"

tardy plover
#

you learn something new everyday

#

🤝

primal jay
primal jay
#

whats the red msg

#

here on top of this one

#

might be a syntaxe error

#

-_- yes thats a syntaxe error

#
local soultokenValue = player.leaderstats["Soul Tokens"].Value
#

its name is Soul Tokens not soultokens

amber pelicanBOT
#

studio** You are now Level 3! **studio

primal jay
#

thats fine