Hello!
During my game developpement, I wanted to thank some special people, as of now I am trying to first: See their Id AKA identify them.
This is my first time trying something like this, so I might do a dumb error.
When trying the script (its parent is ServerScriptService), the error that came from the OutPut was this:
ServerScriptService.SpecialPeople:3: attempt to index nil with 'UserId'
local Player = game.Players.LocalPlayer
wait(1)
if Player.UserId == 74963446 or Player.UserId == 484327688 then
--The first Id is the person I'm trying to give something and the second Id is mine just to test
print("The Special Person joined!")
end
So I might be doing an error I might not be seeing, but please tell me and maybe link a DevHub Article.
Thanks for reading!