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

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

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

if game.Players.LocalPlayer.UserId == "111111", "22222222", "33333333", "44444" then
	Script.Parent.CanCollide = false

If it doesn't work show me the error.

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