How do I make a crafting system where when the correct objects come in contact with each other (sorta like in stranded deep, if that makes sense) it makes the object I want it to make? This is all I have so far ( I don't know if this will even work though...):
if ing(1) == "Model Name Here" and ing(2) == "Model Name Here" then made = "New Tool Name Here" end
Lol, I assume you're relatively new to scripting. This won't work. I'll give u an example of something that would. Let's assume this script is inside a "knife" and we're trying to make a spear by touching "stick". Here:
script.Parent.Touched:connect(function(Part) if Part.Name=="Stick" then Part:remove() script.Parent:remove() Spear=Instance.new("Part", game.Workspace) --Adjust shape/color/size of spear here. end end)
This would take a stick when touched by a knife, and replace them with a spear. This is just an example of something that you might be able to work off of. If you have any questions, please leave a commet below. Hope I helped :P
(Sorry about lack of indents, i'm on my phone.)