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

Why does it not change the value to the players UserId?

Asked by 3 years ago
local Player = game.Players.LocalPlayer
local UserId = Player.UserId
local UserIdValue = script.Parent

UserIdValue.Value = UserId

I thought it'd be simple but i'm having trouble..

0
Can you be more descriptive Optikk 499 — 3y
0
The output error said the value was nil, apparently values don't work right now since I saw a post saying why does my value not change? Over my 9 years of coding I am sure this is correctio and I just think studio is down right now, thanks for trying to help but I think I discovered why it wont work, number value by the way. DayLighter_1995 8 — 3y
0
Or maybe you need to use WaitForChild()? [mis-read] AntoninFearless 622 — 3y
0
its a player property.. DayLighter_1995 8 — 3y
View all comments (2 more)
0
well seems like it works fine for me, this is a LocalScript in a value right? AntoninFearless 622 — 3y
0
yeah DayLighter_1995 8 — 3y

Answer this question