#Trying to make my Overheadgui text change

46 messages · Page 1 of 1 (latest)

prisma forge
#

my overhead gui has a roleplay name im making a script so tat it changes the roleplay name to my gamer name like Asu here it is if game.Players.LocalPlayer.UserId == 3103801438 then game.ServerStorage.PName.TextLabel.Text = "Asu" end but its not wroking any fixes?

#

im trying to rename Niko Adams

#

to Asu

#

any help guys

#

?

#

this is where my text label is

#

for the niko adams text

icy trellis
#

uhhh

#

ok so

prisma forge
#

i really need some help

heady thunder
#

local player only works in local scripts

icy trellis
#

i got u

heady thunder
#

and server storage is only accessible by server scripts

icy trellis
#

aye fruck off perforate

heady thunder
#

alright

#

ill leave u to it

icy trellis
#

this all mine

prisma forge
#

ok

heady thunder
#

go cowboy

icy trellis
#

🥰

prisma forge
#

i just need a new code for it that will work

icy trellis
#

my first help lemme cook

prisma forge
#

ok

icy trellis
#

lemme make a new code

prisma forge
#

ok

icy trellis
#

server storage is not accessible from the client (LocalScript). If you want the gui to be updated, the gui element must be in a location accessible to the client, like playergui

#

you picking up what im putting down?

prisma forge
#

im not really a coder so

icy trellis
#

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

if player.UserId == 3103801438 then
gui.TextLabel.Text = "Asu"

#

try that

prisma forge
#

gui

#

now

#

?

#

@heady thunder

#

help me

#

he n ot good

#

he not cook

icy trellis
#

i didnt cook

#

💔

prisma forge
#

HELP

icy trellis
#

...

prisma forge
#

@heady thunder

bleak pollen
#

if you intend to name your character "asu" for the server, you can't use local player on a server script