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?
