=PROBLEM=

My ImageLabel isn't tweening. There are no errors.

=My Code=

local plr = game.Players.LocalPlayer
local Continue = plr:WaitForChild("Stats").Continue
local NB = script.Parent
local i = 1
local TextTable = {
	"First, let's take a look at the Income bar! The Income bar show's how much Coins you get per the amount of time. You can upgrade the time stat in the shop. Upgrading it will just decrease the time.",
	"Hey, why don't we play an obby? We might win some rare rewards! LOADING..."
}
NB.MouseButton1Down:Connect(function()
	print("Clicked")
	if Continue.Value == true then
		local WTS = script.Parent.Parent:WaitForChild("TextBubble").WhatToSay
		local Arrow = script.Parent.Parent.Parent:WaitForChild("MainFrame").Arrow
		--Animating the Arrow
		Arrow:TweenPosition(UDim2.new(0, 130,0, 160),'In','Sine',3)
		print("Arrow Animated")
		local Text = TextTable[i]
		WTS.Value = Text
		i = i + 1
	end
end)

"Clicked" was printed but "Arrow Animated" wasn't, there were no errors, what did I do wrong and how would I fix this? Any help is appreciated.

4 comments

0

Is the conditional statement evaluating to true?

0

Yea

0

I believe he means the Continue.Value == true. If that evaluates to true, and there aren't errors, "Arrow Animated" should print. Are you entirely sure it's true?

0

Moved "print("Clicked") to inside the conditional statement and see if it prints then.