game:GetService("UserInputService").InputBegan:connect(function(inputobject,gameProcessedEvent)
--case
if inputobject.KeyCode == Enum.KeyCode.Q then
local file = Instance.new("ScreenGui")
file.Parent = game.StarterGui
local paper = Instance.new("Frame")
paper.Size = UDim2.new(0,100,0,100)
paper.Visible = true
paper.Parent = file
end
end)
it did create a screen gui and a frame but the frame is invisible. how to make the frame visible?

2 comments
.-. you used startergui instead of playergui
Yeah.