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

I cant define something in playergui with a local script?

Asked by 2 years ago
Edited 2 years ago
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?

0
uh maybe ned wait for it to load :} BulletproofVast 1033 — 2y
0
i added repeat "wait() until game.Players.LocalPlayer.PlayerGui" and it still doesnt work ArsenalAimb0ter 0 — 2y

Answer this question