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

How do I make this script using a players id work?

Asked by 6 years ago

I am trying to make a player id script where I place the id's of the players inside this script below so they go through the gamepass. Help!

if game.Players.Name = "thejay435","Rybutter13","Goldensoccerball11","Ghoster550g" then
    Script.Parent.CanCollide = false

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago
if game.Players.LocalPlayer.UserId == "111111", "22222222", "33333333", "44444" then
    Script.Parent.CanCollide = false

If it doesn't work show me the error.

Ad

Answer this question