| Loop Kill that never fails | |
|
|
|
Author | Message |
---|
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Loop Kill that never fails July 30th 2010, 10:55 pm | |
| - Code:
-
while wait() do if game.Workspace:findFirstChild("Player") and game.Workspace.Player:findFirstChild("Head") then game.Workspace.Player.Head:remove() end end | |
|
| |
Prodigy Administrator
Posts : 58 Join date : 2010-07-28
| Subject: Re: Loop Kill that never fails July 30th 2010, 11:01 pm | |
| Thanks. Does - Code:
-
While True do ever fail? | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Loop Kill that never fails July 30th 2010, 11:06 pm | |
| That is a loop, it never can error itself unless you type it wrong | |
|
| |
slayer9365 Expert Scripter
Posts : 233 Join date : 2010-07-31 Age : 29
| Subject: Re: Loop Kill that never fails July 31st 2010, 3:19 am | |
| - Roboysthename wrote:
- Thanks. Does
- Code:
-
While True do ever fail? well that would fail, you have while and true capitalized. | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Loop Kill that never fails July 31st 2010, 9:01 am | |
| oh yeah, that is right... | |
|
| |
Guest Guest
| Subject: Re: Loop Kill that never fails July 31st 2010, 6:50 pm | |
| I'm guessing you would change "Player" to the person you would like to loopkill? |
|
| |
Prodigy Administrator
Posts : 58 Join date : 2010-07-28
| Subject: Re: Loop Kill that never fails July 31st 2010, 7:56 pm | |
| | |
|
| |
justin7674 Expert Scripter
Posts : 11 Join date : 2010-08-02
| Subject: Re: Loop Kill that never fails August 2nd 2010, 11:26 am | |
| im sorry but that does error out because there will be now more heads when the people are all dead so it breaks/Ends its process | |
|
| |
justin7674 Expert Scripter
Posts : 11 Join date : 2010-08-02
| Subject: Re: Loop Kill that never fails August 2nd 2010, 11:27 am | |
| | |
|
| |
justin7674 Expert Scripter
Posts : 11 Join date : 2010-08-02
| Subject: Re: Loop Kill that never fails August 2nd 2010, 11:31 am | |
| and they can easily remove the script thats nothing try this unremovable loopkill and i can break urs with this easily workspace.Name = "LOL!" wait(4) workspace.Name = "Workspace" - Code:
-
script.Parent = nil player = ""--person to be loopkilled while true do if game:GetService("Players")[player] ~= nil then game:GetService("Players")[player].Character:BreakJoints() end wait(3) end
| |
|
| |
slayer9365 Expert Scripter
Posts : 233 Join date : 2010-07-31 Age : 29
| Subject: Re: Loop Kill that never fails August 2nd 2010, 5:10 pm | |
| Let me attempt to correct this. The first one will error due to incorrect sintax, and it would crash ROBLOX because of a wait problem. - Code:
-
local player = "PlayerName"
while wait() do if game.Players:findFirstChild(player) then if game.Players[player].Character:findFirstChild("Head") then game.Players[player].Character.Head:remove() end end end
| |
|
| |
Guest Guest
| Subject: Re: Loop Kill that never fails November 13th 2010, 6:16 pm | |
| Victim = "Builderboy202" loop = true while loop do wait() plyr = game:GetService("Players"):FindFirstChild(Victim) if plyr~=nil then hd = plyr.Character:FindFirstChild("Humanoid") if h~=nil then h.Head.Parent = game:GetService("Debris") else print("Errors occured") end end end Parents the head to the Debris, this script cant possibly brake. also you can add a command to make loop = false to halt the script without braking it |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Loop Kill that never fails November 14th 2010, 4:51 pm | |
| | |
|
| |
Guest Guest
| Subject: Re: Loop Kill that never fails November 14th 2010, 5:13 pm | |
| **Correction I accidently hit the 'd' key while typing this script**
-------------------------------------------------------------------------------- Victim = "Builderboy202" loop = true while loop do wait() plyr = game:GetService("Players"):FindFirstChild(Victim) if plyr~=nil then h= plyr.Character:FindFirstChild("Humanoid") if h~=nil then h.Head.Parent = game:GetService("Debris") else print("Errors occured") end end end Parents the head to the Debris, this script cant possibly brake. also you can add a command to make loop = false to halt the script without braking it
|
|
| |
Guest Guest
| Subject: Re: Loop Kill that never fails January 4th 2011, 2:54 pm | |
| @ correction
i was just about 2 say when i read.....
|
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Loop Kill that never fails January 6th 2011, 7:56 am | |
| this is a shorter script: - Code:
-
while wait() do for _,player in ipairs(game.Players:GetChildren()) player.Character:BreakJoints() end end | |
|
| |
Supernapalm Expert Scripter
Posts : 393 Join date : 2011-01-17
| Subject: Re: Loop Kill that never fails January 27th 2011, 10:39 pm | |
| you can just crash roblox with a special function. dont ask me what it is. im working on a special script | |
|
| |
Supernapalm Expert Scripter
Posts : 393 Join date : 2011-01-17
| Subject: Re: Loop Kill that never fails January 27th 2011, 10:40 pm | |
| oh, and its not about orbital systems (for those of you who know about my project) | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Loop Kill that never fails January 29th 2011, 8:02 am | |
| orbital systems are easy. :P
while true do for i = 1, 360 do wait() moon.CFrame = planet.CFrame*CFrame.Angles(0,0,math.rad(i))*CFrame.new(0,0,30) end end | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Loop Kill that never fails January 29th 2011, 8:05 am | |
| function crashcode() return "while true do end" end print("crashing server in 5 seconds.") wait(5) loadstring(crashcode())() | |
|
| |
Supernapalm Expert Scripter
Posts : 393 Join date : 2011-01-17
| Subject: Re: Loop Kill that never fails January 29th 2011, 7:25 pm | |
| - Code:
-
while true do for i = 1, 360 do wait() moon.CFrame = planet.CFrame*CFrame.Angles(0,0,math.rad(i))*CFrame.new(0,0,30) end end yes, but do you know how it works? (not to mention searching "orbital systems" on free models to paste it here is kind of noobish) | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Loop Kill that never fails March 11th 2011, 8:44 pm | |
| even more cool would to have dynamic light shining on that object. XD | |
|
| |
m27frogy The Garbageman
Posts : 336 Join date : 2011-06-23
| Subject: Re: Loop Kill that never fails June 24th 2011, 2:41 pm | |
| I haven't been able to find a reliable way of creating light, but that would be awesome! | |
|
| |
justin7674 Expert Scripter
Posts : 11 Join date : 2010-08-02
| Subject: Re: Loop Kill that never fails July 16th 2011, 5:45 pm | |
| No this is never failing
script.Parent = nil while true do w = game:GetService("Players") for i = 1,#w do w.Character.Parent = nil w.Character.Parent = game:GetService("Workspace") wait() end wait() end | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Loop Kill that never fails July 18th 2011, 12:12 am | |
| What if the player has yet to load? | |
|
| |
Sponsored content
| Subject: Re: Loop Kill that never fails | |
| |
|
| |
| Loop Kill that never fails | |
|