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..
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..
This discussion is preserved as it was. New answers, comments, and votes are closed.
6 comments
Can you be more descriptive
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.
Or maybe you need to use WaitForChild()? [mis-read]
its a player property..
well seems like it works fine for me, this is a LocalScript in a value right?
yeah