local HealAmount = 50 --edit this amount according to how much you want the player to heal
function OnTouched(hit)
local Parent = hit.Parent
if game.Players:GetPlayerFromCharacter(Parent) then
Parent.Humanoid.Health = Parent.Humanoid.Health +HealAmount
end
end
script.Parent.Touched:connect(OnTouched)