#not working

13 messages · Page 1 of 1 (latest)

runic rune
#

You can't get the ui from StarterGui

#

Only from PlayerGui which is located within the Player

twin heron
#

StarterGui puts it into PlayerGui once the player loads

#

You can use game:GetService("Players"):FindFirstChild("(PlayerName)").PlayerGui

#

And them whatever ui you want to access

#

Then*

runic rune
#

Oh mb

#

You can either put the script within StarterPlayerScripts and locate the gui from there

#

Or put them inside the ScreenGui

runic rune
runic rune
#

Nope

#

The game clones EVERYTHING within StarterGui and put's it in a custom folder called PlayerGui. This gives each player their own seperate ui

#
local Player = game:GetService("Players").LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui") --We use `WaitForChild` to stop the script and wait until it exists