'event' is not a child of 'part'

Its saying ‘event’ is not a child of ‘part’ but it obviously is…

Screen Shot 2021-02-14 at 1.53.22 PM

Screen Shot 2021-02-14 at 1.53.33 PM

Screen Shot 2021-02-14 at 1.56.53 PM

I Really don’t know what is causing this. Iv’e searched all over but can’t find the reason.

It’s treat it like it’s a bindeable event, instead do script.Parent[“Event”] or script.Parent:WaitForChild(“Event”) or script.Parent:FindFirstChild(“Event”)

As @BostonWhaler pointed out, the script thinks youre trying to get a BindableEvent’s property Event, you can just rename it to something else.

Yes, you’d have to rename it. It would be like naming the event ‘Transparency’ and then using Part.Transparency for example.

1 Like

Yes, or you could simply do script.Parent["Event"].

the event is using the same name so you can just rename it