I keep getting the error code "Menu is not a valid member of ScreenGui." Also the donating thing doesn't work. I believe it could be because of the Menu thing, but I am not sure. Here is the explorer: http://prntscr.com/7zzw9z The Gui is in StarterGui, also.
local menu = script.Parent.Menu local menub = script.Parent.Menu local donateb = menu.Donate local adminb = menu.Admin local helpb = menu.Teams local updateb = menu.Updatel local player = script.Parent.Parent.Parent local adminmenu = script.Parent.AdminMenu local TeamMenu = script.Parent.TeamMenu local updatelog = script.Parent.UpdateLog function donatebc() --donate button Game:GetService("MarketplaceService"):PromptPurchase(player, 275739274)--id end function teambc() --team button TeamMenu.Visible = true menu.Visible = false end function updatebc() --update log updatelog.Visible = true menu.Visible = false end script.Parent.Menu.Updatel.MouseButton1Click:connect(updatebc) --update button script.Parent.Menu.Teams.MouseButton1Click:connect(teambc) --team button script.Parent.Menu.Donate.MouseButton1Click:connect(donatebc) --donate button