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

Lava Script Help?

Can someone give me a lava script? I have no idea of how to script.

1 answer

function onTouch(part)
	p = part.Parent:FindFirstChild("Humanoid")
	if(p ~= nil) then
		p.Health = 0
	end
end

script.Parent.Touched:connect(onTouch)

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