Cloned text label is not visible

I wrote a script that every time you press a textbutton it would clone a text label.
The text label I wanted to clone is in repstorage.
The text label clones just fine, but its not visible, I’m not really sure what the deal is.
Even in the code I have it set to visible.
How can I fix this?

script.Parent.MouseButton1Down:Connect(function()
	local clone = game.ReplicatedStorage.TextLabelClone.TextLabel:Clone()
	clone.Parent = game.StarterGui.JumpClickerGui
	clone.Position = UDim2.new(0.267, 0, 0.408, 0)
	clone.Visible = true
	print("passed")
	wait(2)
	clone:Destroy()
end)

Should be

game.Players.LocalPlayer.PlayerGui.JumpClickerGui

or

local player =  -- your player variable
player.PlayerGui.JumpClickerGui

StarterGui is sort of like the game’s gui holder, similar to StarterPack, it holds the game’s tools. So accessing them wouldn’t do anything.

Thank you, I cant believe I missed that.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.