The gui won't remove when it does everything it's meant to and I don't know why:
local i = script.Parent local map = workspace.Map1.sa function onButtonClicked() local plr = game.Players.LocalPlayer local character = plr.Character character:MoveTo(map.Position) for _, v in pairs(game.Lighting.tools:GetChildren()) do v:Clone().Parent = plr.Backpack end script.Parent.Parent.Parent:Remove() end i.MouseButton1Down:connect(onButtonClicked)
Thanks