Just a quick question. Normally when tweening I set the tween to a position. However, is there a way to tween a gui to its current position plus a value. Basically, I want a gui to just move right a little bit repeatedly as part of a leaderboard system I'm working on.
Just set the goal's position to the current position plus an offset.
local TweenService = game:GetService("TweenService") local part = script.Parent local goal = {} goal.Position = part.Position + Vector3.new(2, 2, 2) -- how much you want to add local tweenInfo = TweenInfo.new(1) -- your tween info local tween = TweenService:Create(part, tweenInfo, goal) tween:Play()
Hope this helps! :)