For some reason my script breaks, nothing in it works, and the new bool value i added to the player stops working, when there is a table with a value that is = to the instance.new that inserted the boolvalue into the player.
Here is what i did
game.Players.PlayerAdded:Connect(function(players)
local save_values = {
["haschar"] = players:WaitForChild("Has_Char")
}
song:Play()
song.Looped = true
local has_char = Instance.new("BoolValue", players)
has_char.Name = "Has_Char"
players.CharacterAdded:Connect(function(character)
end)
end)
I dont understand why this wont work? it looks like it should to me. Any help would be appreciated. Thanks

3 comments
'Players' was never defined, and you'd need to target the local player too.
Side Note: The 'CharacterAdded' method is redundant according to it having an empty scope.
Thats what it does, players is the local player, and is also = to game.Players.LocalPlayer basically but on server