print("Character Info script version 3.00 loaded")
function onPlayerEntered(newPlayer)
local stats = Instance.new("IntValue") stats.Name = "CharacterInfo" local Skin = Instance.new("Color3Value") Skin.Name = "Skin" Skin.Value = 255,255,255 stats.Parent = newPlayer Skin.Parent = stats
while true do if newPlayer.Character ~= nil then break end wait(5) end stats.Parent = newPlayer
end game.Players.ChildAdded:connect(onPlayerEntered)
In ROBLOX, to make the game identify the stats you're trying to give the player is known as leaderstats
Leaderstats is the main name for player stats and if the game doesn't see that name in any value, it won't count as a player stat.
It has to be exactly named leaderstats for it to work properly. So what you need to do is change CharacterInfo to leaderstats