Help with a script part 2

hey everyone. just wanted to see if anyone could help me with this resource i’m using.

i’m using nanakon’s hander utility: [Open-source] Hander, a better hand-to utility

i inserted it into my game correctly, but im pretty sure theres no way to toggle it.

if anyone would be willing to take a look at the script and help me, that would be really appreciated!

thanks

edit: my output is not giving any errors either, and i dont have very much experience scripting if that changes anything.

just figured out what i need to do. i need to add a toggling mechanism into this script, so i can toggle the gui. if someone could help with that would be great!

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Common = ReplicatedStorage:WaitForChild("Common")
local Modules = {}
local _UI
local Bindable = Instance.new("BindableFunction")

local function Invoke(Type)
	if _UI then
		if Type == "Toggle" then
			_UI.Properties.Toggled = not _UI.Properties.Toggled
			_UI:Deploy()
		end
	end
end

local function Init()
	local Container = Instance.new("ScreenGui")
	_UI = Modules.Cook.new(Container)
	Container.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
	Bindable.Parent = script
	Container.Parent = Players.LocalPlayer.PlayerGui
	
	Bindable.OnInvoke = Invoke
	
	_UI:Deploy()
end

for _, v in pairs(Common:GetChildren()) do
	if v:IsA("ModuleScript") then
		Modules[v.Name] = require(v)
	end
end

Init()```