Probably not. He did not fire any other functions then the one supposed to add health to the character in question.
Maybe try:
function MyFunctions.ConsumeItem(this)
local Tool = this.Parent.Parent
local Player = game:GetService("Players")
print("loaded functions")
Tool.Equipped:Connect(function(mouse)
mouse.Button2Down:Connect(function()
workspace[Player.Name].Humanoid.Health = MaxHealth
print("gave health")
end)
end)
end
I’m assuming the red brick is meant to be lava/damaging; were sure that’s not firing multiple times after a player touches it? Because it does look like the apple is healing you, it just looks like you’re getting damaged again. When you touch the brick a second time, it even looks like the effect is stacking; you’re losing 4 hearts instead of 2 at once