#UI Updating

1 messages · Page 1 of 1 (latest)

fast hearth
#

Okay so, I want to have the display screen up at all times, is there any way to make it so that I don't have to reset every time if I want it to update? maybe like an automatic script or something that deletes and reshows it every time it is updated.

worthy glade
#

Disable resetonspawn

fast hearth
#

@limber kiln you got any idea how

worthy glade
#

Oh wait

#

I'm so stupid

#

@fast hearth can you show the script

fast hearth
#

Script for what-

#

I’m trying to figure out how to make it so it refreshes on the server side for everyone without having to reset

#

I don’t have anything for it yet

#

lol

worthy glade
#

😭

fast hearth
#

Uhh sure

#

Sorry

worthy glade
#

Omg

#

Not this one

fast hearth
#

girl then what

#

I don't know what else you could possibly be talking about diva

#

this is what adds the ui

worthy glade
#

The one just creates the order

#

I want the one that shows the gui

fast hearth
#

THIS IS IT

#

THIS IS WHAT MAKES IT APPEAR

#

there's this but this just triggers the event and has a lil data

worthy glade
#

That just creates it

fast hearth
#

you're confusing the shit outta me

#

AND GUESS WHAT SHOWS IT

#

THE SAME DAMN SCRIPTTT

#

okay let me exlpain it to you step by step okay

#

#1403214577570811914 messagethis script is when you go to checkout and you click the little arrow. it gets all the little information and sends it to the event

#

#1403214577570811914 message then this mofo gets a template that I have, takes all of that data, puts it in the template, and parents it to the ui

#

BATTA BOOM BATTA BAM

#

YOU RESET

#

AND YOU CAN SEE THE DAMN UI

#

I just have the ui templates in replicated storage

viscid sundialBOT
#

studio** You are now Level 7! **studio

fast hearth
#

and they get parented to the starter gui so it can be seen on the server

worthy glade
#

Make this line here useless with a comment and see what happends

fast hearth
#

k

#

nothing?

#

it just uhh

worthy glade
#

What

fast hearth
#

actually idk what it does

#

lmao

#

wait no

#

i actually don't know what it does

worthy glade
#

😔

#

Did you test it

fast hearth
#

yeah?

#

it doesn't do anything

#

bad at least

worthy glade
#

Ok

fast hearth
#

I think I put it there to make the order reset

#

yeah that's why

worthy glade
#

?

fast hearth
#

like so the stuff inside the cart would go away

#

instead of having to remove it other ways

worthy glade
#

😭 ??

fast hearth
#

girl

#

OKAY SO

#

WE'ERE GOING BACK TO BABY STEPS

#

This is the order okay

#

when you click the green button, it gets all of the data, and then deletes this ui

#

when you click back to menu

worthy glade
#

Okay

fast hearth
#

it gets put back in the ui again

#

if you don't know what's happening or how to fix my problem just say so

#

this is a waste of my time

#

😭

worthy glade
#

That you are bad at explaining

fast hearth
#

💀

#

you asked me for the script that made the ui appear

#

I showed you

#

MULTIPLE different things

#

and explained them

#

for WHAT. THEY. DO.

#

every other issue I have had, and asked others and EXPLAINED, they have understood. So, if you do not understand, just please say so. I do not need your help specifically and can try to get others support. Thank you for your time I appreciate it, but it is not being well spent.

#

hey seabolt 😭

worthy glade
#

Drooling face

limber kiln
# fast hearth

maybe clone display template in the for loop instead of once

limber kiln
#

like move that entire block with display template inside the forloop

fast hearth
#

I feel stupid to ask, what is the forloop?

limber kiln
#

wait you're trying to have a frame that has it like this?

food1, food2, food3?

fast hearth
#

well no

#

that was my second question lol

#

Do you understand what I'm asking?

#

Essentially the way I want to use it is to have one screen the order menu, the other screen to be the order display. I want the order display menu to somehow update without having to reset. On my original post I have a video of me having to reset for it to show up. I understand why I have to but I wanna figure out if there is a different way.

limber kiln
fast hearth
#

in here, it clones one of the templates and puts it into the order display

#

better picture, sorry.

limber kiln
#

you know you're parenting it to replicated storage right?

fast hearth
#

Yup!

worthy glade
#

Lol

fast hearth
#

cus if I parent it to the player, it's only gonna do the local one

#

so idk what else to do

#

which is why I'm here

fast hearth
fast hearth
#

cus I feel like if I parented it to the player gui, it would only be the person who has just triggered the event.

#

not everyone

limber kiln
#

I think that when you do that you're forced to reset because it still has the old starter gui not the new one

fast hearth
#

hmmm

#

is there a way to maybe make a table or something of all the player names in the server and assign it to them?

#

well theres a way for everything, but would it work

#

like a on join script or something

#

and when the player leaves

#

to take their name in and out of the table

limber kiln
#

idk im still confused on how taking all of the names of the items and parenting them to some template in replicated storage even updates the ui at all

fast hearth
#

huh?

#

BAHHAHA WHAT

#

where are you getting that from diva

#

the event script?

worthy glade
#

Water

#

Watermelon

limber kiln
# fast hearth

ok so order data has the name of the order, the total of the order, and a table within it with all of the names of the items

you then have a text string that adds on to itself all of the names of those items, separated by a comma and a space

and you set the text of the display template clone to be that text

but the thing is displaytemplateclone is parented to orderdisplay.background.layout which is in replicated storage, not the playergui

do you have another script or something where you take everything thats in replicated storage and set the new gui as those templates or something because i cant understand why you would parent it to replicated storage

fast hearth
#

damn, gotta pull out my reading glasses (i'm kidding)

fast hearth
#

but if I do that, then it's ONLY being put onto the person who just ordered

#

and others cannot see the orders

limber kiln
#

but parenting it to replicated storage lets no one see it

fast hearth
#

hmm that's fair

#

but where else would I put it

#

😭

#

so that everyone could see

limber kiln
#

can you send a copy of your game to me

fast hearth
#

hmmm

#

Im jk

#

yeah ofc

limber kiln
#

you just have to click file and then download a copy then upload it here if you arent sure

fast hearth
#

I found it