None of these are working for me. I wonder what I am doing wrong.
Can you send a ccreenshot of your Explorer? Must show the Script and the ScreenGui’ parents.
Also make sure you’re using a LocalScript
and not a Script
.
Yep --------------------------------
Put your script in StarterPlayerScripts.
OH i am dumb… Sorry about that
Works now. Thanks so much. ----------
That makes sense now. You’re not refering well to the ScreenGui, see:
local Players = game:GetService("Players")
local LOCAL_PLAYER = Players.LocalPlayer
local ScreenGui = LOCAL_PLAYER.PlayerGui:WaitForChild("ScreenGui")
--> Make sure you're doing this
And yeah, do what he said:
Please mark’s @Streeteenk’s code as correct since his code is more efficient than mine. (From post 37)
1 Like