[ Suggestion ] - Make the connections like roblox style and add findFirstChild
#6
I finally realized what the problem is, you have to escape quotes in strings with backslashes, otherwise it gets confused.

Code:
sa.Source = "link(script.Parent.Collided, function(touch) if touch.Name ~= \"Ground\" and touch.Score ~= nil then script.Parent:remove(); end end)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)