Sorry im a real noob at scripting, only started learning a few days ago, and I have been using the LTS Guide to scripting by sdfgw to learn so far. I was wondering if there was a list of functions somewhere, because in one of the guides it said that the function remove () obviously removes a block. The reason im asking this is because I want to make a script where if a block is touched, it spawns a humanoid.
Edit:
This is what I've got so far. I know it probably looks horrible to most people, but I basically just threw a bunch of things together and hoped it would work.
Soldier = workspace.Soldier1 if script.parent.part1.touched then Instance.new(Soldier, workspace.part1) end
I also tried this, but it is probably also completely wrong:
function newhuman () script.Parent: Instance.new(Soldier, workspace.part1) end
script.Parent.Touched:connect(newhuman)

6 comments
http://wiki.roblox.com/index.php?title=Special:RobloxLandingPage
First of all, ROBLOX wiki has all the events, second of all use :Destroy() instead of remove. Remove does remove the object but it doesn't fully delete the object. Meaning that all your objects that you remove actually still exist in the game.
Could I use instance.new to spawn another humanoid if the brick is touched?
@LordDragonZord
Destroy()will not fully delete an object either. It simply sets the Parent property to nil and locks it, whereasRemove()will only set it to nil; meaning aRemove()ed object could be "brought back to life" by reassigning its Parent property. You can still access aDestroy()ed object's properties, proving that it indeed still exists.@yemumoncrack Yes, that is how you would proceed.
@Link150 Thank you, and this is why i still use :Remove()