✓ Accepted answer
In my opinion, the best way to identify two word models is with FindFirstChild, because the child you are identifying is always in quotation marks. Using this technique, you can identify models with as many words as you want, though I would try to keep it reasonable. Another option would be to use brackets, which you can also put quotation marks into. Again, you can use this with as many words as you want. Both of these methods will work the same way. It is up to you to decide which one is best for your game. Good luck! Here is your example, modified both ways:
Option 1:
script.Parent.Touched:connect(function(Hit)
script.Parent.Parent.Parent["Multiple Word Model"].Head.Transparency = 0
end)
Option 2:
script.Parent.Touched:connect(function(Hit)
script.Parent.Parent.Parent:FindFirstChild("Multiple Word Model").Head.Transparency = 0
end)
2 comments
Oh, I didn't know that. Thank you so much!
Be sure to accept an answer if it helped you. I would really appreciate it. :)