Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Script cant find something in PlayerGui even though I know it is there, why?

Asked by 6 years ago
Edited 6 years ago
elseif receiptInfo.ProductId == GoldID then
        player.PlayerGui.Money.backdrop.money.Value = player.PlayerGui.Money.backdrop.money.Value + 1000
    end

this is a snippet of the code used and it works in roblox studio test mode and it cant find the gui "Money" in PlayerGui this is really weird as I KNOW that the gui is in StarterGui and PlayerGui (when the game starts) so I just really dont understand why it cant find it.

Do I need to do this through a RemoteEvent or a RemoteFunction seen as the game is Filtering Enabled?

1 answer

Log in to vote
0
Answered by
Azuc 112
6 years ago

Answered right here:

https://scriptinghelpers.org/questions/27950/filtering-enabled-accessing-player-gui

0
Thank you, I feel so stupid right now! IwanCodes 8 — 6y
Ad

Answer this question