menu = script.Parent.Parent.Parent.Parent.ScreenGui6
The error says this:
ScreenGui6 is not a valid member of PlayerGui
I've checked and there is a ScreenGui named "ScreenGui6" and it's parent is PlayerGui
Help is needed.
Use WaitForChild like so:
menu = script.Parent.Parent.Parent.Parent:WaitForChild("ScreenGui6")
This will ensure that ScreenGui6 has cloned in.