#need help sripting ui
1 messages · Page 1 of 1 (latest)
That probably takes at least 4 lines of code
you get the leaderstats for the player and then get the crown and then you make the text for the ui the same as it and you can use Changed if you want it to update whenever the player gets or lose crowns
I did it thank you tho im still learning xd
Fetch the intvalue in leaderstats of the crowns, apply a changed event connection to the value and set up a textlabel text to the value of the crowns intvalue
if that makes sense
thank you it didn't make sense to me but i got it working now got to add a shop and trails lol
You have the value of medals in player leaderstats
IntValue
Fetch that value, its a junbrr
Number*
Put that nunber in the gui textlabel
im now working on simple ui and trying to make it so when the button is clicked it mutes music watched so many tutorials
sorry I'm very new to this trying to learn coding and everything at once
Bruh it depends how ur game is layed out
U just do btn.activated
and then get the music u wanna stop
and do Music:Stop()
so i'm trying to make it so that when i press mute the music will turn off and when you press unmute i will turn back on
remove the if not and make it to if only and above that line make it: PlaylistActive = not PlaylistActive
is that right
** You are now Level 3! **
it don't work but i know im close
that shouldddd work
I havent used a sound group before but try using the music instead of sound grouo
wait ima try it with the music instead
ok
what about this
never mind it wont send
fixed it
woooooooooooooooo
been doing that for 8 hours
thank you
your welcome
now i need to add trails in my game but thank you soo much
ur welcome