Tween not setting position correctly

This script is supposed to set the y position to .789 but it just sets it to 0 i have no idea why this doesn’t work

local label = script.Parent.Information
task.wait(2)
label.Visible = true
game:GetService("TweenService"):Create(label,TweenInfo.new(1),{Position = UDim2.new({0, 0},{0.789, 0})}):Play()

U don’t need to use curly brackets in the Udim2

Try this:

game:GetService("TweenService"):Create(label,TweenInfo.new(1),{Position = UDim2.new(0, 0,0.789, 0)}):Play()

It works perfectly! Thank you for helping.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.