Can anyone help with this cash system?
Okay so using tostring to make a Value become 2.00 instead of 2. I have been trying for a while to make it go the was I wanted it to go and it wouldn't work, at first I used a for loop and the same thing is happening. So far, I haven't seen no error, it is just not coming out as 2.00 instead of 2 the way I wanted it.
01 | local Cash = script.Parent.Cash |
02 | local CashL = script.Parent.CashL |
03 | local Pay = script.Parent.Pay |
04 | local PayL = script.Parent.PayL |
05 | local Time = script.Parent.Time |
09 | "Uniondale Police Department" , |
10 | "Uniondale Department of Public Safety" , |
11 | "Uniondale Department of Transportation and Maintenance" , |
12 | "Uniondale Developers" , |
13 | "UnionDale Department of Justice" , |
15 | "Uniondale Department of Corrections" , |
16 | "Uniondale Department of Homeland Security" , |
17 | "Uniondale National Guard" , |
22 | local TeamsPayAmount = { |
40 | if game.Players.LocalPlayer.TeamColor = = BrickColor.new( "Smoky grey" ) then |
41 | Pay.Value = TeamsPayAmount [ 10 ] |
42 | PayL.Text = "Pay Amount: " ..Pay.Value |