UPDATE: I FIGURED IT OUT ABOUT 3 MINUTES AFTER POSTING THIS.
How to get what the touched event fired from?
Like
for i,v in pairs(Workspace:getChildren()) do
v.Touched:connect(function (Object)
print(Object.Name.." hit "..THENAMEOFTHEBRICK!
end)
end
eh?
I'll be trying some stuff out.
How to get what the touched event fired from?
Like
for i,v in pairs(Workspace:getChildren()) do
v.Touched:connect(function (Object)
print(Object.Name.." hit "..THENAMEOFTHEBRICK!
end)
end
eh?
I'll be trying some stuff out.