I am trying to make a part checker and it's not working
console = { log = function(string) {print(string)} } function ontouch(obj) { if (!(obj.Name == "Chicken")) { for (i=0;i<10;i++) { console.log("It's not chicken") } } }
You aren't connecting the event to the function, it's just causing a paralox in the stackoverflow.
console = { log = function(string) {print(string)} } function ontouch(obj) { if (!(obj.Name == "Chicken")) { for (i=0;i<10;i++) { console.log("It's not chicken") } } } <GetService(game, "Workspace").Part ontouch="ontouch()"></GetService(game, "Workspace").Part>
Locked by User#5978, LegitimatlyMe, and YellowoTide
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?