Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

if player.userId "976963688" then Parent.REF.Visible=true not working?

game.Players.PlayerAdded:connect(function(player)
	if player.userId "976963688" 
then Parent.REF.Visible=true 
end 

1 comment

0

plr = script.Parent.Parent.Parent admins = {"SchwarzWalde,"} d = false for i = 1, #admins do if plr.Name == admins[i] then script.Parent.Frame.Visible=true isnt working either.

1 answer

Seems you newbie, you just needed to userId == "976963688" pls mark me as answered

game.Players.PlayerAdded:connect(function(player)
    if player.userId == "976963688" then
 script.Parent.REF.Visible=true 
end 

3 comments

0

Your code will be a compile-time error. You didn't close the function inside 'connect', and didn't close the parenthesis in 'connect' either. Don't asked to be answered newbie

0

Lmao, drama-starter kid. how rage are u little kid 1 age. Please go die.

0

"Please go die.", very mature. anyway, isn't UserId an int instead of a string?

This discussion is preserved as it was. New answers, comments, and votes are closed.