The beam wont turn on when the player clicks a part, what am I doing wrong here?

script.Parent.ClickDetector.MouseClick:Connect(function) wait(3) script.Parent.Beam.Transparency = 0 end)

4 comments

0

try it - script.Parent.ClickDetector.MouseClick:Connect(function()

0

It still won't work, Idk whats wrong in the script

0

wait, ur are click on the part, right? maybe part is "beam"? if it is, then script.Parent it ur beam? sorry for mistakes, english is not my native

0

Theres a beam inside a part and the player needs to click the part and the beam turns on 3 seconds after clicking.