#Basic Tweening
14 messages · Page 1 of 1 (latest)
you should atleast try to make a tweening script and ask for help here if you're stuck
Wassa problem?
I just simplified it for him
you didn’t explain it and there’s no need to make a function for that
amount is also kinda misleading, that’s the speed
Yes but he didnt understand it
Less input = easier for people who dont understand
I cant make it Time
U know u can call a twee in a function
Like (tween:Tween)
I’ll do a example of that instead of doing a simple script
here is a example that i created and it worked```lua
local TextButton = script.Parent.TextButton
local TextLabel = script.Parent.TextLabel
local Tween = game:GetService('TweenService')
local function UpdateTween(text:TextLabel, tween:TweenService)
local NewLocation = UDim2.new(0.5, 0, 0.5, 0) -- set the new position to the center of the parent frame
local Tween = tween:Create(text, TweenInfo.new(1), {Position = NewLocation})
Tween:Play()
end
TextButton.MouseButton1Click:Connect(function()
UpdateTween(TextLabel, Tween)
end)```