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

how do you script for specific people to spawn with items?

and how do you make lots of commands for more than just me ?

1 answer

Note This is Not a Request Site even tho I am helping you.

local tool = game.ReplicatedStorage.DerpGun

game.Players.PlayerAdded:connect(function(plr)
	plr.CharacterAdded:connect(function(char)
		if plr.Name == "Cheekaboo" or plr.Name == "speedgrind" or plr.Name == "sporkyz" then
			local t = tool:Clone()
			t.Parent = char.Backpack
		end
	end)
end)

Put this on a regular serverside script (in the workspace).

3 comments

0

Regular scripts, with filtering enabled on, can't access Replicated Storage. You should always make your answer Filtering Enabled compatable. This would also have problems on servers because you don't use WaitForChild. But you answered such a broad question so I congratulate you.

0

You also didn't explain your answer that much but whatever. Great job. That sounds sarcastic but... It's not... Trust me.

0

Regular scripts -can- access ReplicatedStorage. Please please do not give this kind of misinformation again.

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