My idea is that a brick that you enter (invisible, noncollision) will give you, say, 1000 health. Then when you exit the brick it will bring you back to 100 health.
Here's what I have so far:
local Heal = game.Workspace.Healer Heal.Touched:connect(function(hit) local humanoid = script.Parent:FindFirstChild("Humanoid") if (humanoid ~= nil) then humanoid.Health = humanoid.MaxHealth ~= 1000 end end) Heal.TouchEnded:connect(function(leave) local humanoid = script.Parent:FindFirstChild("Humanoid") if (humanoid ~= nil) then humanoid.Health = humanoid.MaxHealth ~= 100 end end)
local Heal = game.Workspace.Healer Heal.Touched:Connect(function(hit) local humanoid = script.Parent:FindFirstChild("Humanoid") if (humanoid ~= nil) then humanoid.Health = humanoid.Health - 1 --SUBTRACTS HEALTH end end)