Hi, im not very good at scripting, i was woundering if someone would help me with something. I would really like to make a game where people spawn in sertain clothes like in the game "The Stalker." But i have no idea how.
✓ ANSWER ACCEPTED
I need help!?
2 answers
✓ Accepted answer
wait(2)
if script.Parent.Parent.TeamColor == BrickColor.new("COLOR HERE") then
if workspace:FindFirstChild(script.Parent.Parent.Name):FindFirstChild("Shirt") == nil then
if workspace:FindFirstChild(script.Parent.Parent.Name):FindFirstChild("Pants") ~= nil then
workspace:FindFirstChild(script.Parent.Parent.Name).Pants:remove()
a = Instance.new("Shirt")
a.ShirtTemplate = ("http://www.roblox.com/asset/?id=ID HERE")
a.Parent = workspace:FindFirstChild(script.Parent.Parent.Name)
b = Instance.new("Pants")
b.PantsTemplate = ("http://www.roblox.com/asset/?id=ID HERE")
b.Parent = workspace:FindFirstChild(script.Parent.Parent.Name)
else
a = Instance.new("Shirt")
a.ShirtTemplate = ("http://www.roblox.com/asset/?id=ID HERE")
a.Parent = workspace:FindFirstChild(script.Parent.Parent.Name)
b = Instance.new("Pants")
b.PantsTemplate = ("http://www.roblox.com/asset/?id=ID HERE")
b.Parent = workspace:FindFirstChild(script.Parent.Parent.Name)
end
else
if workspace:FindFirstChild(script.Parent.Parent.Name):FindFirstChild("Pants") ~= nil then
workspace:FindFirstChild(script.Parent.Parent.Name).Shirt:remove()
workspace:FindFirstChild(script.Parent.Parent.Name).Pants:remove()
a = Instance.new("Shirt")
a.ShirtTemplate = ("http://www.roblox.com/asset/?id=ID HERE")
a.Parent = workspace:FindFirstChild(script.Parent.Parent.Name)
b = Instance.new("Pants")
b.PantsTemplate = ("http://www.roblox.com/asset/?id=ID HERE")
b.Parent = workspace:FindFirstChild(script.Parent.Parent.Name)
else
workspace:FindFirstChild(script.Parent.Parent.Name).Shirt:remove()
a = Instance.new("Shirt")
a.ShirtTemplate = ("http://www.roblox.com/asset/?id=ID HERE")
a.Parent = workspace:FindFirstChild(script.Parent.Parent.Name)
b = Instance.new("Pants")
b.PantsTemplate = ("http://www.roblox.com/asset/?id=ID HERE")
b.Parent = workspace:FindFirstChild(script.Parent.Parent.Name)
end
end
end
First, add a team to "Teams" in explorer and choose any color for it. Now, insert this script in StarterGui, then change "COLOR HERE" to the color of the team you made and change "ID HERE" to the ID of the clothes you want.
NOTE: You can thank me by accept this answer and +1 it.
The purpose of this website is to help people FIX scripts, not make it for them.
1 comment
0
Oh, i thought it was to help people with scripts not just to fix 'em
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Now, who -1 my answer?! That is really dump.
my answer is 100% working, i tested it.. WHY THE HELL DOES IT HAVE -2 POINTS? DUMB PEOPLE