Search
 
SCRIPT & CODE EXAMPLE
 

LUA

open gui script

local Button = script.Parent
local GUI = game.StarterGui.FRAME -- Put Frame Location Here

Button.MouseButton1Click:Connect(function()
	print("Running Show Shop Function")
	if 	GUI.Visible == false then 
		GUI.Visible = true
	elseif GUI.Visible == true then
		GUI.Visible = false
	end	
end)
Comment

PREVIOUS NEXT
Code Example
Lua :: Pass values to functions from Onclicks roblox 
Lua :: lua hello world 
Lua :: lua for loop 
Lua :: luau table.find 
Lua :: random brick colour in roblox studio 
Lua :: lua metatable assignment 
Lua :: roblox pairs 
Lua :: lua what is _ENV 
Lua :: return lua 
Lua :: roblox math.random 
Lua :: What is BreakJoints roblox? 
Lua :: roblox camera manipulation 
Lua :: how to make text different colors in LUA terminal 
Lua :: roblox studio pause physics 
Lua :: roblox get how many players in server 
Lua :: check if player is in group 
Lua :: init.lua set font 
Lua :: lagstep roblox 
Lua :: how to activate a command if someone wears a accessory in lua roblox 
Matlab :: matlab set fig zoom 
Matlab :: matlab if bigger than 
Basic :: how to send basic auth using fetch 
Basic :: visual basic how to determine if an array already contains an item 
Elixir :: elixir try catch 
Elixir :: elixir sleep 
Scala :: scala read lines from file 
Scala :: get last index of list scala 
Excel :: remove space from excel cell 
Perl :: perl regex 
Pascal :: pascal press any key to continue 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =