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

How to tween Text label position?

Error: Players.eboy.PlayerGui.ScreenGui.Frame.TextLabel.LocalScript:17: Expected '(', '{' or when parsing function call, got   -  Studio  -  LocalScript:17

Im pretty new to scripting:

local TweenService = game:GetService("TweenService")
local part = script.Parent
local Info = TweenInfo.new(
	5,
	Enum.EasingStyle.Sine,
	Enum.EasingDirection.Out,
	0,
	false,
	0
)
local Goals = 
	{
		Position = Vector3.new(4.48, 0,2.22, 0);
		Transparency = 0.4
	}
local tween = TweenService:Create(part, Info, Goals)
tween:Play

1 answer

✓ Accepted answer

line 13: Use UDim2 , Vector3 is for 3D objects.

1 comment

0

Position = UDim.new(4.48, 0,2.22, 0) is maybe changed one. I guess you understand what is scale and why they will go bottom right side.

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