creator = game.CreatorId
gamepassid=0
Tshirt=""
playersallowed={"them45"}
ID=0
function entered(player)
if player.userId == creator or game:GetService("GamePassService"):PlayerHasPass(player, gamepassid) or (check(player.Name)) or Player:IsInGroup(ID) or player.Character.Torso.roblox.Texture==texture then
print("A Vip has entered the server")
player.CharacterAdded:connect(respawned)
end
end
game.Players.PlayerAdded:connect(entered)
function respawned(char)
char.Torso.Anchored = true
wait()
char.Torso.CFrame = script.Parent.CFrame + Vector3.new(0, 2, 0)
wait()
char.Torso.Anchored = false
end
line 9 is the bit no working only the creator only work my friend to spawn there whne i have hime on the secrip

2 comments
For "Player:IsInGroup(ID)" it's supposed to be "player"
And I don't see you declaring "texture" anywhere