Hi. im using zednov's tycoon kit and i would want to get rid of the "Collect Cash" button and get money when the drops get collected.
✓ ANSWER ACCEPTED
Tycoon - how do i remove the money collecting button and get money straight?
1 answer
✓ Accepted answer
OK so their is a part inside of each tycoons purchase handler where it says "Money.Value = Money.Value + Part.Cash.Value" You would change this to change the players money value inside of the server storage under "game.ServerStorage.PlayerName.Value" so it would go to game.ServerStorage.PlayerMoney[script.Parent.Owner.Value.Name].Value = game.ServerStorage.PlayerMoney[script.Parent.Owner.Value.Name].Value + Part.Cash.Value
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
Sorry, i didnt understand anything at all. well i think i didnt understand anything. but if i understood right then i create a script to server storage and then in that script i put game.ServerStorage.PlayerMoney[script.Parent.Owner.Value.Name].Value = game.ServerStorage.PlayerMoney[script.Parent.Owner.Value.Name].Value + Part.Cash.Value?
Not exactly. Inside of each tycoon their is a script called "PurchaseHandler". At 34 lines down is a line with Money.Value = Money.Value + Part.Cash.Value you change this to affect the players cash stat in server storage which I just realised can be easily done if you change the locam money at line 8 to local Money = game.ServerStorage.PlayerMoney[script.Parent.Owner.Value.Name]
If that doesn't get it I would better explain it on discord as stack edit don't work for me on pc. So if you can't get it working add me on ?Ikel The Umbreon?#6217 if you have discord
alright
it works! thanks!
Np man