for local script u can try this, if u have any errors with this script u can reply it
local function showEditor(pluginui)
if owns then
pluginui.MainUI.Loading.Visible = true
wait(2)
pluginui.MainUI.Editor.Visible = true
else
pluginui.MainUI.PurchaseScreen.Visible = true
end
end
showEditor(pluginui)