So I have some dev products that I want to sell on my tycoon and i'm a beginner at scripting and I can't figure out what i have got wrong with it.
http://hastebin.com/ijulixajul.lua - this is the script for the dev product
this is the file path for the money ServerStorage.PlayerMoney.Player1.value
the (PlayerMoney) file is created in game.
Sorry if I left out any important pieces of info that you would need, just let me know.

1 comment
Well, first, why didn't you use a code block on this site for your code? Second, you're missing two "end"s.