01 | local DSService = game:GetService( 'DataStoreService' ):GetDataStore( 'DBSRClosedTestv9' ) |
02 | game.Players.PlayerAdded:connect( function (p) |
03 | wait(game.Lighting.TimeToLoad.Value) |
04 | -- Define variables |
05 | local stats = game.ServerStorage.PlayerData:Clone() |
06 | stats.Parent = p |
07 | stats.Level.Value = 1 |
08 | stats.StrengthValue.Value = 0 |
09 | stats.speedValue.Value = 1 |
10 | stats.maxKi.Value = 100 |
11 | stats.MaxStaminaValue.Value = 100 |
12 | stats.kiDamage.Value = 0 |
13 | stats.kiControl.Value = 0 |
14 | stats.kiValue.Value = 100 |
15 | stats.AgilityValue.Value = 0 |
You can create a Color3Value and just save the Value