(URGENT) Why is my Cash scripts not working at all.? (UTGENT) [closed]
Asked by
6 years ago Edited 6 years ago
Please encode Lua code in the Lua block code tag (look for the Lua icon in the editor).
I made this script and it dosent work help
01 | game.Players.PlyerAdded:connect( function ( PLAYER ) |
02 | PLAYER:WaitForDataReady(). |
03 | local stats = Instance.new( "IntValue" ) |
04 | stats.Name = "leaderstats" |
05 | local cash = Instance.new( "IntValue" ) |
10 | if PLAYER:LoadNumber( "A" ) then |
11 | cash.Value = PLAYER:LoadNumber( "A" ) |
14 | game.Players.PlayerRemoving:connect( function ( PLYR ) |
15 | PLYR:SaveNumber( "A" , PLYR.leaderstats.Cash..Value), |
i fixed it the code now pls help
Closed as Too Broad by User#19524
This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.
Why was this question closed?