Im making a zombie game and I want it so when I join I get a super OP gear but with the people playing having the same gear what They had before
This will check if your name is in the table and if it is the tool will be cloned to your backpack otherwise if your name isn't in the table then you won't get the tool.
SuperOpItemsForSpecialPeople={"Kozero","jaygriff9","Notyou"}--Make sure you write the names between the quotations for the people to get the tool function AreyouSuperOp(Plyr) local Tool=ReplicatedStorage.NameOftool--Make sure you change "NameOftool" to the name of your tool. for i,v in pairs (SuperOpItemsForSpecialPeople) do if Plyr.Name==v then Tool:Clone().Parent=Plyr.Backpack end end end Players.PlayerAdded:connect(AreyouSuperOp)
Just go inworkspace and drag your geai in starter pack i think