Help on making a notification script

yeah its a module i made, but the problem is the ui list layout’s positioning makes the tween not work, and i dont know how to get over this

try to set the ui list layout parent to nil and after the tween set it back to the ui element

i already tried that and that makes so the other notifications dont go up

could you please send a screenshot of the gui?

Just put a UIListLayout inside the plrgui.mainhud.notifs Frame

Heres a screenshot showing ui list layout properties, the notificaions and the list of instances, the notification have text but these are just clones of the template

well but then the animation wouldnt work

Then make a second frame inside the main notification frame and animate the second one. Make the main one transparent

try setting all the notifications position to a single position after setting the list ui parent’s to nil

wdym by that

30-characters-bruh

but then how would i make one go on top of each other?

zindex is a property that allows you to set the order the ui elements will be displaying.

if one frame’s zindex is equals to 2 then it will show up on top of every ui element with zindex inferior to 2

No i mean like, if one notification appear and theres more the other will go to a position above it so its like a list

I see the problem, the Ui list constraints the position of an ui element so you cannot move it

yeah thats the problem, an example is bedwars, the notifications are always on top of each other and theres the animation

Parent the frame you want to animate to the screengui and animate it from there

but then the other notifications wont move

so, you want every notification to be animated one by one?

wait i found out i can make an animation with sizes and its actually pretty cool the new animation, but thanks for all the help! :slight_smile:

1 Like

The way I deal with this is, I have a frame within a frame and meanwhile UiListLayout constraints the position of the first frame, I simply tween the position of its sub frame while keeping the first frame invisible.