I'm looking for a way to make a few parts appear after using a custom command, then disappear after using the command again. I'm relatively new to lua and roblox game development so any sort of advice would help. Thanks.
Here's what I have for the command part, not sure on what to put after the 'then'.
function onChatted(msg, speaker)
local source = string.lower(speaker.Name)
msg = string.lower(msg)
if msg == "!show" then
end
end
