so basicly i want the health and max health to equal this int value i created, because i need it to save to my datastore, but for some reason the health and max health wont equal the intl value
local player = game.Players.LocalPlayer
game.Players.PlayerAdded:connect(function(player)
local char = player.CharacterAdded:wait()
local hum = char:WaitForChild('Humanoid')
local ldr = player:WaitForChild('ldr')
local h = ldr:WaitForChild('Health')
local m = ldr:WaitForChild('MaxHealth')
hum.MaxHealth = m.Value
hum.Health = h.value
end)
