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

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

Asked by 4 years ago
game.Players.PlayerAdded:connect(function(player)
    if player.userId "976963688" 
then Parent.REF.Visible=true 
end 
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. SchwarzWalde -12 — 4y

1 answer

Log in to vote
0
Answered by
Makz69 0
4 years ago

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 
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 pidgey 548 — 4y
0
Lmao, drama-starter kid. how rage are u little kid 1 age. Please go die. Makz69 0 — 4y
0
"Please go die.", very mature. anyway, isn't UserId an int instead of a string? YaBoiToasterLord 80 — 4y
Ad

Answer this question