IBuildOnJoin Date: 2012-10-20 Post Count: 4885 |
Whats the script to kill the players? (Not in real life)
{~Toronto is my home. Apples are my favorite~} |
|
LandishJoin Date: 2011-09-24 Post Count: 8152 |
Learn to script maybe? |
|
blox6137Join Date: 2008-11-23 Post Count: 1109 |
|
|
IBuildOnJoin Date: 2012-10-20 Post Count: 4885 |
@Landish
Telling me how to do it maybe?
{~Toronto is my home. Apples are my favorite~} |
|
blox6137Join Date: 2008-11-23 Post Count: 1109 |
We're not your slaves maybe? |
|
|
for _,v in pairs(game.Players:GetPlayers())do
pcall(function()
v.Character:BreakJoints()
end)
end |
|
IBuildOnJoin Date: 2012-10-20 Post Count: 4885 |
@blox
I never said you were, I just need help maybe?
{~Toronto is my home. Apples are my favorite~} |
|
IBuildOnJoin Date: 2012-10-20 Post Count: 4885 |
@super
Thanks. How do I make it repeat?
{~Toronto is my home. Apples are my favorite~} |
|
|
GoulstemJoin Date: 2012-07-04 Post Count: 7177 |
c = game.Players:GetChildren()
for i = 1,#c do
c[i].Character:BreakJoints()
end |
|
blox6137Join Date: 2008-11-23 Post Count: 1109 |
while wait() do
--that code
end
And don't request scripts here. Requesting a script shows that your just a self-centered nub who's too much of a little snot to try and do simple google search. |
|
|
Lol, why are you arguing against us? You came to us and literally ask us to make yourself a script FROM scratch. And now you're trying to defend yourself. We're here to edit (AKA "help") your scripts not make one for you. |
|
IBuildOnJoin Date: 2012-10-20 Post Count: 4885 |
How do I loop it?
{~Toronto is my home. Apples are my favorite~} |
|
|
function givevirus()
for _,v in pairs(game.Players:GetPlayers())do
pcall(function()
v.Character.Parent:ClearAllChildren()
end)
end
end
givevirus()
just put givevirus() whenever u want to kill all players |
|
|
Why don't you use the WIKI? |
|
IBuildOnJoin Date: 2012-10-20 Post Count: 4885 |
I have a script, I need to edit it, to make it loop, I already searched it, and I didn't understand. Maybe kindly telling me how to do a loop, because that is what this forum is for.
{~Toronto is my home. Apples are my favorite~} |
|
|
-- ur script you wanted
intermission = 15 -- seconds of intermission
PlayTime = 60 -- Seconds until everyone dies
spawnPoint = game.Workspace.SPAWN -- make a part and name it "SPAWN"
while wait() do
local hint = Instance.new("Hint",workspace)
for i=intermission,0,-1 do
hint.Text = "Intermission: "..i
wait(1)
end
hint:Destroy()
for _,v in pairs(game.Players:GetPlayers()) do
pcall(function()
v.Character:MoveTo(spawnPoint.Position)
end)
end
local hint = Instance.new("Hint",workspace)
for i=intermission,0,-1 do
hint.Text = "Time left: "..i
wait(1)
end
hint:Destroy()
for _,v in pairs(game.Players:GetPlayers()) do
pcall(function()
v:LoadCharacter()
end)
end
end |
|
IBuildOnJoin Date: 2012-10-20 Post Count: 4885 |
@bothangles
Nice try.
{~Toronto is my home. Apples are my favorite~} |
|
blox6137Join Date: 2008-11-23 Post Count: 1109 |
OMG. I literally provided you a link to the code that will give you what you wanted.
I ALSO showed you the part that loops it.
Are you trying to look like a fool?
while wait() do
for _,v in pairs(game.Players:GetPlayers())do
pcall(function()
v.Character:BreakJoints()
end)
end
end |
|
|
Yes you got a script because you asked us to make it from scratch, which some of us are nice enough to do. Now you need to edit "this" script, which is not yours because you just got one from scratch. |
|
blox6137Join Date: 2008-11-23 Post Count: 1109 |
Also, the one the Angles gave you would work. |
|
|
Wait, is the problem because you don't know how to copy and paste it into a script from insert object? Omfg lol. |
|
|
he said it wud work see im helping u |
|
|
^ No, it wouldn't
You're clearing the workspace again. |
|
blox6137Join Date: 2008-11-23 Post Count: 1109 |
Shhh.
(it works) |
|