How to add a boolvalue to a player when he/she joins?

game.Players.PlayerAdded:Connect(function(p)
	local bool = Instance.new("BoolValue")
	bool.Name = "BoolValue"
    bool.Parent = p
end)
3 Likes