Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to find Player Gui? Filtering enabled.

I have made a freeze ray which freezes people when it touches them. I want to put a Freezed Icon in their Player screen. But the problem is that how do I find it? Like I cannot do plr.PlayerGui. It says PlayerGui not a valid member. So what do I do?

1 answer

✓ Accepted answer

Client-side LocalScript:

local LocalPlayer = game.Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")

This discussion is preserved as it was. New answers, comments, and votes are closed.