Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to override a GUI tween?

So I'm making a game where if you hold 3 for a specific amount of time, the gui would tween from one side of the screen to the other.

uip.InputBegan:Connect(function(ip)
		if ip.KeyCode == Enum.KeyCode.E then
			high:TweenSize(UDim2.new(1,0,1,0),"In","Linear",1)
		end
	end)
		uip.InputEnded:Connect(function(ip)
			if ip.KeyCode == Enum.KeyCode.E then
				high:TweenSize(UDim2.new(0,0,1,0),"In","Linear",0.5)
				end
			end)

^ Doesn't work. The first tween just keeps playing. Is there a fix for this?

1 answer

Got this to work, just had to use tweenservice instead.

This discussion is preserved as it was. New answers, comments, and votes are closed.