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

How do you add a 2x "currency" gamepass for a TYCOON?

Hello

I've been trying to work out how to Script a 2x Coins gamepass for my TYCOON. I've used a kit for my tycoon called "Zednovs Tycoon Kit" Right now this is all that I've tried has failed. Could someone please help me create this script.

2 comments

0

umm could you provide a script?

0

This is a request. You can request scripts on the developer forum, but you're welcome to come here anytime you want when you have errors with your code.

1 answer

You could give a player a attribute or a value that indicates how much you need to multiply your cash. Then all you have to do something is this:

player.leaderstats.Cash.Value += (Cash you want to give) * player:GetAttribute(“Your Attribute Name”)

And to create an attribute (if you need it)

player:SetAttribute(“Attribute Name”, Attribute  Value)

Hope this helps:) Tell me if this is not what you are looking for and I will help:)

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