|
| 17 Mar 2015 05:58 PM |
HELP?!?! this error is driving me completely NUTS!!
Here is part of the script so you can study it and fix it:
--Scripted By PurpleTerror. If you copy this game with a hacking tool, you are illegaly obtaining the code for my game.
status = game.ServerScriptService.Status local sfx = {} local type = {} leaderboard = nil local w = game.Workspace:getChildren() for i=1,#w do if w[i].Name == "leaderboard" and w[i]:findFirstChild("running") ~= nil and w[i]:findFirstChild("points") ~= nil then leaderboard = w[i] end end
for i,game in pairs (game.ServerStorage:FindFirstChild("enemies"):GetChildren()) do table.insert(type,#type+1,type.Name) end
--for i,game in pairs (game.ServerStorage:FindFirstChild("Maps"):GetChildren()) do --table.insert(map,#map+1,game.Name) --end
for i,game in pairs (game.ServerStorage:FindFirstChild("SoundTrack"):GetChildren()) do table.insert(sfx,#sfx+1,game.Name) end
while true do print(#type) typeName = type[math.random(1, #type)] typeName = game.ServerStorage.Maps:FindFirstChild(typeName) typeClone = typeName:Clone() sfxClone.Parent = game.Workspace game.Workspace.Lobby:Play() for i = 15, 1, -1 do status.Value = "Intermission: "..i wait(1) end |
|
|
| Report Abuse |
|
| |