I need a lava for my script test, and please give a good explanation, because I don't know much, and wouldn't understand.
✓ ANSWER ACCEPTED
How would I make a simple lava brick?
1 answer
✓ Accepted answer
You are suppose to already to not request a script but, give a script that has errors in to so that other people can figure out what is wrong with it, but since the script is so easy I will give it to you.
script.Parent.Touched:connect(function(part)
if part.Parent:FindFirstChild("Humanoid")then
part.Parent:BreakJoints()
end
end)
When the part is touched, it will try to find a humanoid, if there is a humanoid then it will break it's joints.
1 comment
0
Very helpful, thanks for the help.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
There is also an example on the Wiki, http://wiki.roblox.com/index.php?title=Lesson:Lesson2