Removing text from text label breaks things...?

hard to explain so i will just attach a video

could you send the rest of the code for your script?

function WeaponWheel.new()
	local self = setmetatable({}, WeaponWheel)
	
	self:Bind()
	self.Connection = nil
	self.UI = script.MouseAngle:Clone()
	self.UI.Parent = Player.PlayerGui
	self.slots = {
		[1] = false,
		[2] = false,
		[3] = false,
		[4] = false,
		[5] = false,
		[6] = false,
		[7] = false,
		[8] = false,
	}

	local degPerSegment = 360 / #self.slots
	wait(1) -- wait because i thought it was loading too fast or something
	for i, v in ipairs(self.slots) do
		self.UI.ImageLabel.Rotation = degPerSegment/2
		
		
		local angle = i * math.rad(degPerSegment)
		local imageX = 0.5 * math.cos(angle) -- Use the same radius for X and Y
		local imageY = 0.5 * -math.sin(angle) 
		local x = imageX
		local y = imageY
		local text = Instance.new("TextLabel")
		text.AnchorPoint = Vector2.new(0.5, 0.5)
		text.Position = UDim2.new(x + 0.5, 0, y+ 0.5, 0)
		text.Size = UDim2.new(0.158, 0,0.158, 0)
		text.Text = ""
		text.Rotation = -degPerSegment/2
		text.Parent = self.UI.ImageLabel
		text.TextColor3 = Color3.new(0,0,0)
		text.BackgroundTransparency = 1
		text.TextScaled = true
		
		local frame = Instance.new("ImageLabel")
		frame.Size = UDim2.new(1,0,1,0)
		frame.BackgroundTransparency = 1
		frame.Image = 'rbxassetid://8119252523'
		
		frame.Parent = text
	end
	
	return self
end

stop using self, problem fixed

whoops

energy was created for you to use, only for you to waste it on a meaningless, useless comment like “stop using self.” you had the chance to actually contribute something useful, but instead, you chose to send a pointless message that does nothing but take up space. if you’re going to expend energy, at least make it count. that response didn’t help me, didn’t offer any insight, and honestly, it was a complete waste of time for everyone involved.

Weird. Is there another part of the code that checks for the text? I wouldn’t see why that would be the case, but I can’t find any other explanation.

Honestly you could just set the text, but set TextTransparency to 1.

dude this thing is actually so weird… it keeps doing it when i add a tween animation (not playing btw just creating one)
when i change transparency
when i make it a imagelabel

and it happens randomly too… like a 40% chance it happens