Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

BF Medkit Help?

am stuck a lil... help... I cant find the Thread were I posted my Script, and cant Remember how to do it, I want a Regenerate Script, not an Instant Heal Script, and Plus I want it to stay there... Help me with this guys, am not Reuesting, but I need some help...

2 comments

0

Gimme 5 mins and i'll answer

0

k, thnx

1 answer

function onClicked(player)
	player.Humanoid.Health = player.Humanoid.Health + 10 until player.Humanoid.Health >= 100
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)

Something like this

This script would be if you clicked it.

This is just to help you start, if you need more in-depth explanation I would check the wiki. Hope I helped!

1 comment

0

well, yes, I know this... I just forgot the Script I posted in the Forums and so am here... cos mine was Generating Health Slow, like in BF... btw, would u know by any Chance, if u throw the Medkit, wen it touches the Baseplate, does it count as Touched, cos am confused...

This discussion is preserved as it was. New answers, comments, and votes are closed.