This script is in a Local Script and it works but I just want to know if there is a better way of writing it. Maybe in a module.. no clue
--|| Edit this ||
local ShowGui = false --Change to either 'true' or 'false'.
local RemoveGui = true
--|| Don't touch, mine! ||
if ShowGui then
script.Parent.Visible = true
elseif ShowGui == false then
script.Parent.Visible = false
end
if RemoveGui then
script.Parent:Remove()
elseif ShowGui == false then
end

1 comment
It will work, thanks.