Gui Not Closing

… Dude that is legit awful. I am so sorry.

Tiny bit suspicious. Maybe just a little. Hopefully Roblox cracks down this and bans it.

It’s ok man, also on one note, make sure u chech ur output because some modules and backdoors liek this get caught

messages should ook like this

Unable to find module for asset id 4834963944.  Does the asset have a ModuleScript named "MainModule"?  -  Server - Debounce:290

and they usually try to say stuff like “we are roblox”

But anyways I still need help on my thing heres is my current version im using, and it still isnt working and yes its virus free now Give.rbxl (139.8 KB)

I don’t wanna click that lol
I’ll make a example GUI for you though.

Heres my scripts.

script.Parent.MouseButton1Click:Connect(function()
	game.Players.LocalPlayer.PlayerGui.TeamChooser.KidsSelection.Visible = true
	game.Players.LocalPlayer.PlayerGui.TeamChooser.TeensSelection.Visible = true
	game.Players.LocalPlayer.PlayerGui.TeamChooser.ParentsSelection.Visible = true
	game.Players.LocalPlayer.PlayerGui.TeamChooser.ChooseTeam.Visible = true
	game.Players.LocalPlayer.PlayerGui.TeamChooser.ChooseTeam.TextLabel.Visible = true
end)
local gui = script.Parent
local player = script.Parent.Parent.Parent


for _, child in pairs(script.Parent:GetChildren())do
	local index = child.Name:find("Selection")
	
	--if the child is a team selection button:
	if index then
		local teamName = child.Name:sub(1, index-1)
		print(teamName)
		child.MouseButton1Click:connect(function()
			player.Team = game:GetService("Teams"):FindFirstChild(teamName)
			gui.KidsSelection.Visible = false
			gui.TeensSelection.Visible = false
			gui.ParentsSelection.Visible = false
		    gui.ChooseTeam.Visible = false
			gui.ChooseTeam.TextLabel.Visible = false
		end)
	end
end

CloseGui.rbxm (5.2 KB)

This should work, I don’t know why if it doesn’t.

It won’t let me open it for some reason, it keeps asking me what I want to open it with? Usually it says .rblx your says .rbxm

If You could just send screenshots of what you made instead because it doesnt seem to wanna let me open it

image

Oh thats my bad, sorry about that…

Here is an example of an Open and close GUI script in a local script.

local Clicks = 0
local OpenShop = script.Parennt
local Shop = script.Parent.Shop

OpenShop.MouseButton1Click:Connect(function()
Clicks = Clicks + 1
if Clicks == 1 then
	Shop.Visible = true
else
	Shop.Visible = false
	Clicks = 0
end
end)

Yea I know how to do it, the current avatar size change and team change was made by somebody else so I dont understand it to well, im gonna just remake it myself, but thanks for all the help from everybody! Because none of these worked for me im going to mark mine as solution, sorry.