How to use tweenservice gui

how to make the bar right to left when a event fire server using 5 - 6 second

Right to left in what way? Like the bar itself moves right to left or have a sort of ‘shine’ moving right to left

like this

Read this:
TweenService (

I see.

Ok in this case, since I see you have a frame in which the bar is parented too. You can try this:

local TS,TI = game:GetService("TweenService"),,Enum.EasingStyle.Style,Enum.EasingDirection.Direction,Repeatnumber,ReverseBoolean,Delay) --Note the commas separating the variable's, I just do it for fun
local Bar = script.Parent --If parented to the bar
local Event = game.ReplicatedStorage.RemoteEvent --I'm assuming the event is in replicated Storage

local Animation = TS:Create(Bar,TI,{Position = Until Bar disappears in negative,0,0,0})

function AnimationPlay()


EDIT: Don’t forget to make ClipDescendants in the Frame true.

PS: Remember it is against the rules on the devforum to ask for full scripts, make sure you do your research before making a topic bro.