I have a gun and when the gun shoots it takes away 1 health (which it does and its 21 health) however, when I try to make it where once it becomes 20, it shows the prompt, I have an NPC in the NPCS folder named Max, and I put a SERVER script inside it so prox prompt would enable, however it didnt. heres the script
local Max = game.Workspace.NPCs.Max
local Humanoid = Max.Humanoid
local Prompt = Max.PourLiquid
local player = game.Players.LocalPlayer
if Humanoid.Health <= 20 then
Prompt.Enabled = true
end
Lol yeah, I did notice you didn’t connect it or whatever but the code I sent in another post is probably better because the event will only fire if it’s the health that changes and not everything.