#how to make currency value not go below zero
1 messages · Page 1 of 1 (latest)
wheres the buying script
just check if the money value is greater or equal to 7
...
if player.moola.Value > (cost - 1) then
player.moola.Value -= 7
end
its that simple
np
i just dont get it
how did u make a leaderstats script from scratch
and not have basic knowledge of ifs
oh i didnt make it off of scratch i kinda just
followed a youtube video lol
i usually just try to understand how they use certain statements and classes and try to freehand some code but it always ends up with me asking for help in here
oh ok
also uh
** You are now Level 3! **
i recommend you learn the fundamentals first
IF statements
LOOPS
Variables
there are some good series where they work you up until you can stand on your own feet
do you know any series that you can recommend i watch?
Alot of people start with TheDevKing on youtube he made a really popular series
https://youtube.com/playlist?list=PLhieaQmOk7nIfMZ1UmvKGPrwuwQVwAvFa&si=mF__XZDw4x8CIJX3
Good luck on your journey
Do little projects to keep yourself learning