Need help with command

Hello, I need some assistance. I am currently working on a GUI, and I am trying to make is so that when you run the command “!EF” it enables the food ordering system,

Heres the local script,

home.LeftMenuBar.Frame.Food.MouseButton1Click:Connect(function()
	home:TweenPosition(UDim2.new(1,0,0,0))
	food:TweenPosition(UDim2.new(0,0,0,0))
	wait(1)
	home.Visible = false
	home:TweenPosition(UDim2.new(-1,0,0,0))
	food.TopBar:TweenPosition(UDim2.new(0,0,0,0))
	food.Status.Visible = true
	if game.ServerScriptService.Script.Value.Value == true then
		food.Mains:TweenPosition(UDim2.new(0.01,0,0.127,0))
		food.Status.Visible = false
	end
	wait(3)
	home.Visible = true
end)

and heres the main script in server script service.

local groupid = 6418380
local grouprank = 200


game.Players.PlayerAdded:Connect(function(plr)
	plr.Chatted:Connect(function(msgenable)
		if msgenable == "!EF" then
			if plr:GetRankInGroup(groupid) >=grouprank then
				script.Value.Value = true
				print("Message Ran")
			end
		end
	end)
end)

Your problem is that from the LocalScript, you are trying to access content in ServerScriptService, a singleton reserved only for the server to view and edit. ServerScriptService content, along with that of some other singletons such as ServerStorage, hide elements from the client for security purposes.

Solution: A good singleton to place values accessible from both the server and client is ReplicatedStorage. Try placing your elements there instead. If you still experience errors, reply and I’ll try to get back to you.

Thank you so much, but does anyone know how to retrieve a discarded script?