So my code is a remote function that returns values that work fine but when i try to change the text labels in screenGuis some code works but one does here is my code:
working:
1 | Players:WaitForChild(player.Name).PlayerGui:WaitForChild( "MoneyGuis" ).moneyLabel.Text = "$: " .. money |
NOT WORKING:
1 | Players:WaitForChild(player.Name).PlayerGui:WaitForChild( "aGui" ):WaitForChild( "data" ).killsTextLabel.Text = money |
please and ty i have no clue on why this doesnt work
Optional, works best for me
If you're making a script where you adjust something from the ScreenGUI then i'd recommend inserting a 'Local Script', in the ScreenGUI.
Apologies for lack of elaborate answer.
If the script is a normal script change it to a local. It seems pretty good. If it helped please upvote me it would be much appreciated^