Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I've made a medkit script but its not working, any ideas?

Asked by 3 years ago

I have made a script inside a medkit, but the medkit script is not working, here is the script:

local tool = script.Parent

tool.Activated:Connect(function() local humanoid = tool.Parent:FindFirstChild("Humanoid") humanoid.Health = humanoid.Health + 100 end)

Any ideas how to fix?

1 answer

Log in to vote
0
Answered by 3 years ago

Woah you forgot to put which item gives health I think .

Ad

Answer this question