this script is supposed to keep both humanoids health the same but for some reason it isn't working. There are no errors or anything. Does anyone have any idea's.
one,two = game.Players:FindFirstChild(script.one.Value),game.Players:FindFirstChild(script.two.Value)
if not one or not two then
script:Destroy()
end
one.Character.Humanoid.Changed:Connect(function()
two.Character.Humanoid.Health = one.Character.Humanoid.Health
end)
two.Character.Humanoid.Changed:Connect(function()
one.Character.Humanoid.Health = two.Character.Humanoid.Health
end)

1 comment
2 things. 1) Thing do not load instantly; they need time. 2) idea's is not owning an item, please remove the apostrophe. If you bother punctuating, do it right.