this script is suppose to god the health of players on touched and dis-appear when not touched
but i think there are some errors
-noviced scripter
script.Parent.Touched:connect(function(hit)
if hit.Parent:findFirstChild("Humanoid") == nil then return end
script.Parent.Character.Humanoid.MaxHealth = math.huge
script.Parent.Character.Humanoid.Health = math.huge
end)

3 comments
Yeah but 1 problem how to turn it back to normal if u aint touching it
Oh for that you would use TouchEnded. Also I suggest adding a debounce so it isn't constantly changing the humanoids health.
tried putting debounced still the same