Roblox Wiki

1. Zrób parta

2. Stwórz skrypt

3. Usuń print("Hello world!") i zamień je tym

script.Parent.Touched:Connect(function(p)
	if p.Parent:FindFirstChild("Humanoid") then
		p.Parent.Humanoid.Health += 10
		wait(.5) --Opóżnienie leczenia
	end
end)


i gotowe!