PennyzJoin Date: 2008-05-04 Post Count: 6081 |
function onEntrance()
wait(180)
local zombies = game.Lighting.zombies
for i = 6 #zombies do
local copy = zombies[i]:clone()
copy.parent = game.Workspace
copy:MakeJoints()
end
end
|
|
|
Is that the whole script? |
|
PennyzJoin Date: 2008-05-04 Post Count: 6081 |
Um that's as far as I could go |
|
|
local zombies = game.Lighting.zombies
local i = 1
while true do
repeat
wait(180)
z = zombies[i]:clone()
z.Parent = game.Workspace
z:MakeJoints()
i = i + 1
until i = 7
end |
|
labtop653Join Date: 2008-05-04 Post Count: 390 |
lol HOLAAA |
|
|
idk if this will work or not.
function onEntrance()
wait(180)
local zombies = game.Lighting:GetChildren()
for i = 1, #zombies do
if zombies[i].Name = "zombies" then
local copy = zombies[i]:clone()
copy.parent = game.Workspace
copy:MakeJoints()
end
end
game.Players.PlayerAdded:connect(onEntrance) |
|
|
blizzard that should work, I am not sure exactly what he wanted to I just guessed. |
|
|
I don't know I think it was a zombie spawn 3 minutes after someone joins. |
|
|
What ever he has two scripts that should work. |
|
|
slayer, yours won't "until i = 7" :P |
|
yoyoguy20Join Date: 2008-09-20 Post Count: 1553 |
I dunno if it matters, but its 'Entered', not 'Entrance'
And you need something to end the function. |
|
|
yoyoguy, the function can be called anything, its a variable. And he did end it. <.< |
|
yoyoguy20Join Date: 2008-09-20 Post Count: 1553 |
Oh, I'm so sorry that I'm so crappy at LUA. |
|
yoyoguy20Join Date: 2008-09-20 Post Count: 1553 |
Oh, wait. I was looking at the top one you noob. You could of asked which one I was looking at. |
|
muhisJoin Date: 2009-03-01 Post Count: 459 |
function onEntrance()
wait(180)
local zombies = game.Lighting.zombies
for i = 6 #zombies do
local copy = zombies[i]:clone()
copy.parent = game.Workspace
copy:MakeJoints()
end
end
its works! |
|
|
Me noob? For your info, none of them had the problem you are talking about. :P |
|
yoyoguy20Join Date: 2008-09-20 Post Count: 1553 |
Ok, the script that needed fixing. Wheres the end of the 'function'? |
|
|
True, its missing... but not in the original one, just in the one where he added the if statement. |
|
yoyoguy20Join Date: 2008-09-20 Post Count: 1553 |
Yh. Sorry for calling ya a noob. You're a way better scripter than me.
1 = ElectricAxel
2 = Bunneh
3 = Cheese
4 = yoyoguy20
5 = BanHammer
6 = ElectricAxel-Pwns
7 - :3
if ElectricAxel == Cheese then
print("Orly?")
else
print("ElectricAxel doesn't like cheese.")
wait(0.01)
if Cheese + yoyoguy20 = :3 then
print("yoyoguy20 LOVES cheese.")
wait(0.01)
if ElectricAxel + Bunneh = Cheese then
print("Orly? ...Ya, rly.")
wait(0.01)
if ElectricAxel + BanHammer = ElectricAxel-Pwns then
print("ElectricAxel pwn teh narbs of ROBLOXIA!
end
I don't know if that will work, lol. |
|
yoyoguy20Join Date: 2008-09-20 Post Count: 1553 |
1 = ElectricAxel
2 = Bunneh
3 = Cheese
4 = yoyoguy20
5 = BanHammer
6 = ElectricAxel-Pwns
7 - :3
if ElectricAxel == Cheese then
print("Orly?")
else
print("ElectricAxel doesn't like cheese.")
wait(0.01)
if Cheese + yoyoguy20 = :3 then
print("yoyoguy20 LOVES cheese.")
wait(0.01)
if ElectricAxel + Bunneh = Cheese then
print("Orly? ...Ya, rly.")
wait(0.01)
if ElectricAxel + BanHammer = ElectricAxel-Pwns then
print("ElectricAxel pwn teh narbs of ROBLOXIA!") --Forgot The ") xD
end |
|
|
It will not, its missing many ends, it needs double equal sign. |
|
EvangonJoin Date: 2008-09-14 Post Count: 1887 |
funtion ReadTheOutPost()
load(Outpost.lua)
getRefference(WikiRoblox)
getText(Outpost)
Slayer(PleasrPostWhatOutputSaid)
Tuesday, June 29, 2010 -- Failed to obtain Output data.
Tuesday, June 29, 2010 -- Slayer is not posting Output. Please do. Failed to get script_Problem |
|
yoyoguy20Join Date: 2008-09-20 Post Count: 1553 |
Elect, whats wrong with it? |
|
yoyoguy20Join Date: 2008-09-20 Post Count: 1553 |
Does it need 8 ends? Cuz there are 4 if's, and 4 do's? |
|
yoyoguy20Join Date: 2008-09-20 Post Count: 1553 |
I meant 4 if's and 4 do's |
|