Greetings! My name is DivScripts and I was trying to make a hosting UI.
So far, it’s running good but now I came to a problem which I wasn’t able to soluse and for this I may need your help.
My problem is, that the text is appearing in roblox studio:
but when I go in-game and try to test it, the text is easily not there and I just switch the visibilaty (<- idk how to spell it) of the frame so nothing with the textlabel:
https://gyazo.com/b9066eba0cf56f92334923b95c288131
If your needing my script:
startFrame = function()
game:GetService("TweenService"):Create(StartFrame.Start,TweenInfo.new(0.2,Enum.EasingStyle.Linear),{Size = UDim2.new(0.170, 0,0.045, 0)}):Play()
StartFrame.Start.Script.Disabled = true
transitionFrame(Frame.Main,Frame.StartFrame)
end
syncCommands = function()
for i,v in pairs(commands) do
local newButton = game.ReplicatedStorage.CommadButton:Clone()
newButton.Text = v.Name
newButton.Parent = MainFrame.Frame.ScrollingFrame
end
for i,v in pairs(MainFrame.Frame.ScrollingFrame:GetChildren()) do
print(v.Name)
if v.ClassName == "TextButton" then
print(v.Text)
v.MouseButton1Click:Connect(function()
print("Got")
if MainFrame:FindFirstChild(v.Text) then
for i,v2 in pairs(MainFrame:GetChildren()) do
if v.ClassName == "Frame" then
v.Visible = false
end
end
transitionFrame(MainFrame[v.Text],MainFrame.Basic)
end
end)
end
end
end
Furthermore, if I change the position of a text, to like -1 and then back to the original, it’s there.
I hope you can help me!
Best Regards and stay safe,
DivScripts