I'm trying to make a tool that allows you to insert models into a game. I want the GUI to enable/disable on equip or unequip instead of destroying it as it allows you to save the text you already typed into it.
local tool = script.Parent
tool.Equipped:Connect(function(plr)
print("equipped")
game.Players.LocalPlayer.PlayerGui:WaitForChild("ModelInsertingGui").Enabled = true
end)
tool.Unequipped:Connect(function(plr)
print("unequipped")
game.Players.LocalPlayer.PlayerGui:WaitForChild("ModelInsertingGui").Enabled = false
end)

2 comments
But people could still use it even though it’s invisible. But I first need to find a way to clone it first
oh