Expected Assignment or a Function Call

heres the script

script.Parent.Activated:Connect(function()
	script.Parent.Parent.Parent.Enabled = false
end)

im pretty sure all of my code is correct. w h a t ?

i need an explanation quick or my game will not be able to function.

what are you using it for?

is it like a ui button or something

yes

AAaaaaaAAAAAAAAAAAAAAA that was for character limit btw

oh then use MouseButton1Click instead of Activated then

1 Like

…oh. stupid mistake on my behalf, thanks!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.