The parent is a image button, and everytime you press the image button it toggles a frame active or not active, I do not see anything wrong!
`script.Parent.MouseButton1Click:Connect(function() if(script.toggle.Value==false)then script.toggle.Value=true elseif(script.toggle.Value==true)then script.toggle.Value=false end if(script.toggle==true)then print("ACTIVE") script.Parent.Activated=true elseif(script.toggle==false)then script.Parent.Activated=false end end)
script.Parent.TouchTap:Connect(function() if(script.toggle.Value==false)then script.toggle.Value=true elseif(script.toggle.Value==true)then script.toggle.Value=false end if(script.toggle==true)then print("ACTIVE") script.Parent.Activated=true elseif(script.toggle==false)then script.Parent.Activated=false end end) `