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

I need help!? [closed]

Asked by 10 years ago

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.

Closed as Not Constructive by evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
-3
Answered by 10 years ago
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.

0
Now, who -1 my answer?! That is really dump. kudorey619 138 — 10y
0
my answer is 100% working, i tested it.. WHY THE HELL DOES IT HAVE -2 POINTS? DUMB PEOPLE kudorey619 138 — 10y
Ad
Log in to vote
1
Answered by 10 years ago

The purpose of this website is to help people FIX scripts, not make it for them.

0
Oh, i thought it was to help people with scripts not just to fix 'em Mumluvsu2 0 — 10y