UI vanishing mid tween

One of my GUIs vanishes every now and then mid tween which in turn messes up the rest of the gui

You can see it happen in the end of the this clip with the killstreak menu on the right:
https://gyazo.com/caa9e1de0e151190eb931d72ffb2308c

To try and fix this issue I made it so you cant click a button to start another tween until after the killstreak menu is finished tweening but this doesn’t solve the issue, ive also enabled overriding tweens but that doesnt help either.

Any help is appreciated

I would post your script… i think when you return to the Streak button your mouse is already there and the event triggers when the ui drops down to where your mouse is? Are you using Mouse Enter and Mouse Leave events?

No its purely done on clicks, the mouse hovering there does nothing until you click (which you cant do until enough time has passed for the tween to complete first)

Heres the script for it:
Clicking the streak button:

sbutton.MouseButton1Click:Connect(function()
	if sbutton.Active == true then
	print("clicked 2")
	
	script.Parent.Killstreak.Visible = true 
	
	script.Parent.Deploy:TweenPosition(
		UDim2.new(0.747, 0,0.82, 0), -- end pos
		"Out",-- easing direction
		"Quad", -- style
		1, -- time in seconds
		false, -- override tweens
		nil
	)

	script.Parent.adfr:TweenPosition(
		UDim2.new(0.747, 0,0, -195), -- end pos
		"Out",-- easing direction
		"Quad", -- style
		1, -- time in seconds
		false, -- override tweens
		nil
	)
	
	wait(0.2)
	
	script.Parent.Killstreak:TweenPosition( --{1.155, 0},{0.229, 0}
		UDim2.new(0.747, 0,0.229, 0), -- end pos 
		"Out",-- easing direction
		"Quad", -- style
		1.2, -- time in seconds
		false, -- override tweens
		nil
	)
	
		framed(2)
	else
		
	end	
	
end)

	elseif val == 2 then --sbutton
		print("clicked 2 confirmed")
		sframe.Visible = true
		script.Parent.weaponsb.weaponsb1.TextButton.Active = false
		script.Parent.caseb.caseb1.TextButton.Active = false
		
		script.Parent.streaksb.streaksb2:TweenPosition(
			UDim2.new(0.027, 0,0.233, 0), -- end pos
			"Out",-- easing direction
			"Quad", -- style
			0.7, -- time in seconds
			false, -- override tweens
			nil
		)
		
		script.Parent.streaksb.streaksb1:TweenPosition(
			UDim2.new(0.027, 0,-1.033, 0), -- end pos
			"Out",-- easing direction
			"Quad", -- style
			0.7, -- time in seconds
			false, -- override tweens
			nil
		)
		
		
		script.Parent.weaponsb.weaponsb2:TweenPosition(
			UDim2.new(0.027, 0,1.193, 0), -- end pos
			"Out",-- easing direction
			"Quad", -- style
			0.7, -- time in seconds
			false, -- override tweens
			nil
		)
		
		script.Parent.weaponsb.weaponsb1:TweenPosition(
			UDim2.new(0.027, 0,0.233, 0), -- end pos
			"Out",-- easing direction
			"Quad", -- style
			0.7, -- time in seconds
			false, -- override tweens
			nil
		)

		wait(1)
		
		cframe.Visible = false
		wframe.Visible = false
		wait(0.6)
		script.Parent.weaponsb.weaponsb1.TextButton.Active = true
		script.Parent.caseb.caseb1.TextButton.Active = true