#need help with animation
13 messages · Page 1 of 1 (latest)
so i have a button, which is visible after the player clicked on play button
all works, but i want to make it animated
and when i enables, i enable a boolvalue also, and when the boolvalue is true, the animation should go, but nothing happens, what can i do?
No, nothing
local feltetel = script.Praent.ifxd
local function animation()
print("enabled")
script.Parent:TweenPosition(UDim2.new(1,0,0,0), "InOut", "Quint", 1.5)
end
feltetel.Changed:Connect(function(Value)
if Value == true then
print("feltetel")
animation()
end
end)
thats not how if statements works buddy
this should work