local txt =  game.Players.LocalPlayer.PlayerGui.text.Frame.text

I tried doing that but it says "text is not a valid member of PlayerGui"

local txt =  game.Players.LocalPlayer.PlayerGui:FindFirstChild("text").Frame.text

This one also doesnt work it'll say "Frame is not a valid member of text"

if you know how to fix this please put it in the comments?

2 comments

0

uh maybe ned wait for it to load :}

0

i added repeat "wait() until game.Players.LocalPlayer.PlayerGui" and it still doesnt work