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

How do I Make it so Only When I join the game Only I get a certain peice of gear?

Asked by 10 years ago

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

3 answers

Log in to vote
0
Answered by
Kozero 120
10 years ago

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)
Ad
Log in to vote
0
Answered by 10 years ago

Just go inworkspace and drag your geai in starter pack i think

Log in to vote
-2
Answered by
funzrey 58
10 years ago

?.. Just get a free model admin commands like kohls do :gear GEAR id

0
be sure to upvote and accept so we both get reputation funzrey 58 — 10y
0
Not acceptable. Kozero 120 — 10y
0
How do I get them? jaygriff9 0 — 10y

Answer this question