I created a basic script that is like a murder game, but It is not running. It even prints "waited sixty"
local copshirt = ("http://www.roblox.com/asset/?id=278814175")
local coppants = ("http://www.roblox.com/asset/?id=55489457")
local cophat = game.Lighting.CopHat
local cophair = game.Lighting.CopHair
wait(60)
print("waited sixty!!!")
players = game.Players:GetPlayers()
local a = workspace.PlrSpawn.Position
local as = Vector3.new(a.X,a.Y + 4,a.Z)
local b = workspace.KillSpawn.Position
local bs = Vector3.new(b.X,b.Y + 4,b.Z)
local c = workspace.CopSpawn.Position
local cs = Vector3.new(c.X,c.Y + 4,c.Z)
position = as --spawns
killer_pos = bs --spawns
cop_pos = cs -- spawns
repeat --repeat until cops and killers aren't same.
kill = players[math.random(1, #players)] --get random killer
killer = kill.Name
cop1 = players[math.random(1, #players)] --get random cop1
copper1 = cop1.Name
cop2 = players[math.random(1, #players)] --get random cop2
copper2 = cop1.Name
until killer ~= copper1 and killer ~= copper2 and copper1 ~= copper2
kill.Character.Torso.CFrame = CFrame.new(killer_pos) --tp the killer
cop1.Character.Torso.CFrame = CFrame.new(cop_pos) --tp the cops
cop2.Character.Torso.CFrame = CFrame.new(cop_pos)
cop2.Shirt.ShirtTemplate = (copshirt)
cop1.Shirt.ShirtTemplate = (copshirt)
local leftleg = ("Left Leg")
local rightleg = ("Right Leg")
cop1.leftleg.Color = BrickColor.new("Black")
cop1.rightleg.Color = BrickColor.new("Black")
cop1.leftleg.Color = BrickColor.new("Black")
cop1.rightleg.Color = BrickColor.new("Black")
local hat = cophat:Clone()
local hair = cophair:Clone()
local hair2 = cophair:Clone()
local hat2 = cophat:Clone()
hair.Parent = cop1
hair2.Parent = cop2
hat.Parent = cop1
hat2.Parent = cop2
cop1.TeamColor = BrickColor.new("Bright blue")
cop2.TeamColor = BrickColor.new("Bright blue")
kill.TeamColor = BrickColor.new("Really red")
for i=1,#players do --tp rest of people
if players[i] ~= kill and players[i] ~= cop1 and players[i] ~= cop2 then
char = players[i].Character
if char ~= nil and char:findFirstChild("Torso") ~= nil then
char.Torso.CFrame = CFrame.new(position)
players[i].TeamColor = BrickColor.new("Black")
end
end
end

4 comments
You did not give the error
The First Id is invalid. (278814175) this goes to the shirt itself, not the template. subtract 1 from that and you should get the template (278814174)
@ADeadly It doesn't even give an error, it just prints ("waited sixty"), then does nothing. and @minikitkat, thanks, I'm trying that. should work.
still does nothing after the print.