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

Why doesn't this script work?

Asked by 10 years ago
01wait(2)
02if script.Parent.Parent.TeamColor == BrickColor.new("Black") then
03if workspace:FindFirstChild(script.Parent.Parent.Name):FindFirstChild("Shirt") == nil then
04if workspace:FindFirstChild(script.Parent.Parent.Name):FindFirstChild("Pants") ~= nil then
05workspace:FindFirstChild(script.Parent.Parent.Name).Pants:remove()
06a = Instance.new("Shirt")
08a.Parent = workspace:FindFirstChild(script.Parent.Parent.Name)
09b = Instance.new("Pants")
11b.Parent = workspace:FindFirstChild(script.Parent.Parent.Name)
12else
13a = Instance.new("Shirt")
15a.Parent = workspace:FindFirstChild(script.Parent.Parent.Name)
View all 40 lines...

It's putted in startergui, and It should work. WHy doesn't it?

0
Output please? bobafett3544 198 — 10y
0
16:25:15.899 - Use the new http api: no 16:25:19.370 - FileSystem temp directory: C:\Users\ROMANH~1\AppData\Local\Temp\Roblox Loading Cutscene Editor... 16:25:32.378 - DataModel Loading http://www.roblox.com/asset/?id=54118952 Cutscene Editor Loaded Ro-Defender has removed a total of 6829 viruses and junk items from your games! 16:25:40.835 - blocking http://www.robalox.com/asset/?id=16606141 16:2 coolguy1v1 0 — 10y

Answer this question