#The Gui of the part isn't changing

1 messages · Page 1 of 1 (latest)

stuck saffron
#

so I create a client side part then chnage it's cash.Value when it touches the upgrader(which works) I also give the part a local scripts with that into (image1) but it won't change the text even when it's value change.

#

also thats the local script that creates the client part:

last urchin
#

maybe instead of .Changed use :GetPropertyChangedSignal instead?

#

wait

last urchin
#

and thats why its not working

#

its changed on the client but not on the server

stuck saffron
#

I want the part to be on the client

#

How do I change it on the server then?

stuck saffron
past notch
sharp wedge
#

If everything is client-side I don't see a reason to move anything over to the server.

#

Though, typically anything cash related SHOULD be handled server-side. You can't trust the client with stuff like that, because of exploiters.

#

The general rule of thumb is, state should be handled on the server. While anything visual, especially things where instant feedback is required, should be handled on the client.

stuck saffron
stuck saffron
stuck saffron
past notch
stuck saffron
#

In the dropper part

stuck saffron
past notch
#

That is the reason why your script isn't working

stuck saffron
#

And it didn't work either

#

Maybe bc it's a client side part?

past notch
stuck saffron
#

Nothing if I remember well

#

I will try again later once I'm at home but yeah that's weird

stuck saffron
past notch
#

send the server side script when your home again

past notch
stuck saffron
#

Yess

#

Thanks btw 🫡

past notch
stuck saffron
#

😁

stuck saffron
#

I'm back

stuck saffron
#

also when I do this it's not even printing :

stuck saffron
#

I fixed it