ServerScriptService.BikeData:12: invalid argument #3 (Color3 expected, got number)
local players = game:GetService("Players")
local datastore = game:GetService("DataStoreService")
local ColorOneDataStore = datastore:GetDataStore("ColorOneDataStore")
game.Players.PlayerAdded:connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "BikeData"
leaderstats.Parent = player
local ColorOne = Instance.new("Color3Value", leaderstats)
ColorOne.Name = "ColorOne"
ColorOne.Value = ColorOneDataStore:GetAsync(player.UserId) or 0
ColorOneDataStore:SetAsync(player.UserId, ColorOne.Value)
ColorOne.Changed:connect(function()
ColorOneDataStore:SetAsync(player.UserId, ColorOne.Value)
end)
end)