#can sombody help me with this script

16 messages · Page 1 of 1 (latest)

meager ivy
#

i have this gui so when i swing my sword it goes up like 10

#

but i want it to do when it hits 300

#

gives me another sword like this

#

every time you get a new sword when you reach the requirements it upgrades your sword to a diff one

#

but i wanna implant that into this

#

but as 0/300

#

and when it hits 300

#

it upgrades your sword

#

can anyone help me with this?

loud delta
#

just make an if statement

if swordprogression == 300 or swordprogression > 300 then
    sword.parent = player --example of just adding it to the player
end
#

i assume you already made the meter or have a variable for the progression of the sword

meager ivy
#

yeah

#

can you show me pls

#

this is the code rn