Heya there!
I am currently building a Roblox plugin, and I am having an issue where it persists stating that the property Enabled is not a valid member of CoreGui of the plugin… I have been trying to see if I could find any similar problems, yet I cannot find the answer to solve them.
local Test_Toolbar = plugin:CreateToolbar("Name Holder")
local OpenButton = NebulaCraft_Toolbar:CreateButton("Testing Creation", "Test.", "rbxassetid://12740941002")
local ScreenGui = script.Parent
ScreenGui.Parent = game.CoreGui
local WelcomeMessage = ScreenGui:FindFirstChild("WelcomeMessage")
OpenButton.Click:Connect(function()
ScreenGui.Enabled = true
if ScreenGui.Enabled == true then
local userId = game:GetService("StudioService"):GetUserId()
local username = game:GetService("Players"):GetNameFromUserIdAsync(userId)
if WelcomeMessage then
WelcomeMessage.Text = "Welcome " .. username .. "!"
end
end
end)
Can someone help me find the solution to this? It seems pretty odd and not entirely sure if may be a bug…
Thanks!