Answered by
7 years ago Edited 7 years ago
Gold part is Line 23 to Line 28.
I see the errors on Line 27 and 28
1 | "xd.MaxValue = workspace:FindFirstChild(" GameSettings ").MaxGold.Value" |
and
xd is a local of Level is xd (See on Line 9) -
1 | local xd = Instance.new( "IntConstrainedValue" ) |
The local of Gold is ss (See on Line 23) -
1 | local ss = Instance.new( "IntConstrainedValue" ) |
You need to change the local value of Level to local value of Gold on Line 27 and 28
1 | xd.MaxValue = workspace:FindFirstChild( "GameSettings" ).MaxGold.Value |
To
1 | ss.MaxValue = workspace:FindFirstChild( "GameSettings" ).MaxGold.Value |
Don't forget upvote me :)