NOT IN USE ANYMORE, SORRY.
Max characters
NOT IN USE ANYMORE, SORRY.
Max characters
Firstly, when you’re providing a function to connect you don’t need the () so it’ll be KillBrick.Touched:Connect(Kill)
Could you also provide a screenshot of workspace with relevant objects shown please?
DAMM I SENT THE WRONG CODE!
Max characters
That makes sense because the code you provided doesn’t seem to have any other erros and doesn’t really correspond with the error message.
yeah I apologies about that, I’m sorry.
I’ve used pairs > Folder & GetChildren() to contribute another way to grab both Kill Bricks.
Uh that’s not really helpful without code samples. Judging from the error you’ve sent, it seems like you’re not using Touched with a BasePart but with an object of a different class. Try adding print(KillBrick.ClassName) inside the for loop and see if it shows that the kill bricks are parts.
the statement didn’t print in the Output tab.
Add it before the .Touched line, make sure it’s the first line inside the for loop
I did exactly that and the statement still didn’t print.
Must be something wrong with your hierarchy then. Can you please send a screenshot of the entire workspace
I’m closing this post and starting again.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.