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

(I FIXED IT MYSELF)?

Asked by 3 years ago
Edited 3 years ago

Hello! I'm trying to set a int value in a player gui to the player's userid but it isn't working P.S this is in a local script

script.Parent.Value.Value = script.Parent.Parent.UserId
0
what is script.Parent.Parent here? where is this script located in the explorer? FirewolfYT_751 223 — 3y
0
The script is located in playergui so script.parent.parent should be the player User#39520 0 — 3y
1
You should just use game.Players.LocalPlayer.UserId instead of script.Parent.Parent.UserId appxritixn 2235 — 3y
0
It still doesn't work.... User#39520 0 — 3y
0
Maybe because it's an int value, Use a string value MattVSNNL 620 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

I fixed it

Ad

Answer this question