Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would you convert strength to cash?

I'm making a lifting sim type game so how would you convert the strength to cash? How would you do the script? I'm sorry for asking I'm a newbie at scripting.

2 comments

0

This is more of a request. You should at least attempt the script yourself before asking here. I recommend the https://developer.roblox.com/en-us wiki.

0

Firstly you'd make the values and then whenever you go into a shop or GUI and click convert to cash, set the cash value to whatever the strength value is and then change the strength to 0.

1 answer

Since there's no special script her. I'll try to explain what you can do. Let's say 1 strenght = 5 cash. Then you can simply do money = strength * 5

This discussion is preserved as it was. New answers, comments, and votes are closed.