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

image label gui not tweening?

my gui tween code isnt working? it runs the code but the gui not moving? here is the code:

if fishsuccess == true then
	fishrate.Visible = true
	fisharrow.Visible = true
	fisharrow.AnchorPoint = Vector2.new(0.5, 0.5)
	local arrowgoal = {}
	arrowgoal.Position = UDim2.new(0.2, 0, 0.019, 0)
	local arrowtweeninfo = TweenInfo.new (6, Enum.EasingStyle.Sine )
	TweenService:Create(fisharrow, arrowtweeninfo, arrowgoal)
			
end

*fish rate is another gui part that needs to be visible when the value is true

1 comment

0

Just be like : yourimagegui:TweenPosition(UDim2.new(0.388, 0,0.161, 0)). It will tween automatically to a positiion. Not sure if that might help you. but their yah go...

1 answer

you didnt play the tween

if fishsuccess == true then
    fishrate.Visible = true
    fisharrow.Visible = true
    fisharrow.AnchorPoint = Vector2.new(0.5, 0.5)
    local arrowgoal = {}
    arrowgoal.Position = UDim2.new(0.2, 0, 0.019, 0)
    local arrowtweeninfo = TweenInfo.new (6, Enum.EasingStyle.Sine )
    TweenService:Create(fisharrow, arrowtweeninfo, arrowgoal):Play()
end

1 comment

0

can u answer my new question? im sstruggling with it

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