A Roblox Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

A Roblox Community

A community of Robloxians who want to learn to script and build on Roblox Studio.
 
HomeLatest imagesRegisterLog in
If you're a experienced coder make some tutorials! It would really help the site grow.
Make sure you read the rules(Which can be found by clicking here)
If you're a beginner at coding, try some tutorials.
We have many Moderators/Admins watching this site. Contact them with Questions.
Let us know what your favorite sport is. By clicking here to vote (Click here)
This site is becoming inactive. Lets make it active.
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Top posters
blueymaddog
Loop Kill that never fails Vote_lcapLoop Kill that never fails Voting_barLoop Kill that never fails Vote_rcap 
naknak
Loop Kill that never fails Vote_lcapLoop Kill that never fails Voting_barLoop Kill that never fails Vote_rcap 
Supernapalm
Loop Kill that never fails Vote_lcapLoop Kill that never fails Voting_barLoop Kill that never fails Vote_rcap 
m27frogy
Loop Kill that never fails Vote_lcapLoop Kill that never fails Voting_barLoop Kill that never fails Vote_rcap 
slayer9365
Loop Kill that never fails Vote_lcapLoop Kill that never fails Voting_barLoop Kill that never fails Vote_rcap 
myrco919
Loop Kill that never fails Vote_lcapLoop Kill that never fails Voting_barLoop Kill that never fails Vote_rcap 
branefreez
Loop Kill that never fails Vote_lcapLoop Kill that never fails Voting_barLoop Kill that never fails Vote_rcap 
ninga95
Loop Kill that never fails Vote_lcapLoop Kill that never fails Voting_barLoop Kill that never fails Vote_rcap 
CloneTrooper787
Loop Kill that never fails Vote_lcapLoop Kill that never fails Voting_barLoop Kill that never fails Vote_rcap 
raboy117
Loop Kill that never fails Vote_lcapLoop Kill that never fails Voting_barLoop Kill that never fails Vote_rcap 
Top posting users this month
No user
Latest topics
» Where to go from here.
Loop Kill that never fails EmptySeptember 14th 2020, 1:20 pm by MrNicNac

» Send me an Email
Loop Kill that never fails EmptySeptember 14th 2020, 1:16 pm by MrNicNac

» [v1.6.0.0] Lua Script Obfuscator [No Bytecode]
Loop Kill that never fails EmptyJuly 6th 2015, 7:38 pm by m27frogy

» New Site Possibly
Loop Kill that never fails EmptyJuly 6th 2015, 4:16 pm by m27frogy

» Ambassador!
Loop Kill that never fails EmptyApril 15th 2015, 11:40 pm by naknak

» Boop - Tag
Loop Kill that never fails EmptyApril 13th 2015, 9:46 pm by naknak

» Vip Class Script
Loop Kill that never fails EmptyApril 13th 2015, 4:54 pm by naknak

» Who's active?!
Loop Kill that never fails EmptyApril 13th 2015, 4:52 pm by naknak

» Genesis Point
Loop Kill that never fails EmptyJuly 17th 2014, 7:04 pm by branefreez

» Reward System
Loop Kill that never fails EmptyJuly 17th 2014, 5:41 am by m27frogy

» Script Request
Loop Kill that never fails EmptyJuly 10th 2014, 11:43 am by naknak

» local scripts?
Loop Kill that never fails EmptyJuly 10th 2014, 11:39 am by naknak

» Project: Reconstruction [Died]
Loop Kill that never fails EmptyJuly 10th 2014, 11:36 am by naknak

» Hi. I am new here
Loop Kill that never fails EmptyApril 26th 2014, 4:01 pm by altshiftkey

» What's your favorite sport?
Loop Kill that never fails EmptyJanuary 1st 2014, 2:13 pm by m27frogy

» FlashLight Script
Loop Kill that never fails EmptyJanuary 1st 2014, 2:11 pm by m27frogy

» Gun Making! [READ DESC]
Loop Kill that never fails EmptyJanuary 1st 2014, 2:10 pm by m27frogy

» Hi, I am new here!
Loop Kill that never fails EmptyNovember 26th 2013, 3:33 pm by Keanu73

» Improve Coding
Loop Kill that never fails EmptyOctober 26th 2013, 1:12 pm by pook03

» Simple Button
Loop Kill that never fails EmptySeptember 1st 2013, 6:19 pm by branefreez


 

 Loop Kill that never fails

Go down 
+3
slayer9365
Prodigy
naknak
7 posters
Go to page : 1, 2  Next
AuthorMessage
naknak
Administrator
Administrator
naknak


Posts : 878
Join date : 2010-07-30

Loop Kill that never fails Empty
PostSubject: Loop Kill that never fails   Loop Kill that never fails EmptyJuly 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
Back to top Go down
Prodigy
Administrator
Administrator
avatar


Posts : 58
Join date : 2010-07-28

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJuly 30th 2010, 11:01 pm

Thanks. Does
Code:
While True do
ever fail?
Back to top Go down
http://roblox.forumclan.com
naknak
Administrator
Administrator
naknak


Posts : 878
Join date : 2010-07-30

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJuly 30th 2010, 11:06 pm

That is a loop, it never can error itself unless you type it wrong
Back to top Go down
slayer9365
Expert Scripter
Expert Scripter
slayer9365


Posts : 233
Join date : 2010-07-31
Age : 29

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJuly 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.
Back to top Go down
naknak
Administrator
Administrator
naknak


Posts : 878
Join date : 2010-07-30

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJuly 31st 2010, 9:01 am

oh yeah, that is right...
Back to top Go down
Guest
Guest
avatar



Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJuly 31st 2010, 6:50 pm

I'm guessing you would change "Player" to the person you would like to loopkill?
Back to top Go down
Prodigy
Administrator
Administrator
avatar


Posts : 58
Join date : 2010-07-28

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJuly 31st 2010, 7:56 pm

That's correct LegoDude
Back to top Go down
http://roblox.forumclan.com
justin7674
Expert Scripter
Expert Scripter
avatar


Posts : 11
Join date : 2010-08-02

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyAugust 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
Back to top Go down
http://ProjectArcher.com
justin7674
Expert Scripter
Expert Scripter
avatar


Posts : 11
Join date : 2010-08-02

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyAugust 2nd 2010, 11:27 am

i mean no heads xD
Back to top Go down
http://ProjectArcher.com
justin7674
Expert Scripter
Expert Scripter
avatar


Posts : 11
Join date : 2010-08-02

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyAugust 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
Back to top Go down
http://ProjectArcher.com
slayer9365
Expert Scripter
Expert Scripter
slayer9365


Posts : 233
Join date : 2010-07-31
Age : 29

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyAugust 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
Back to top Go down
Guest
Guest
avatar



Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyNovember 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
Back to top Go down
naknak
Administrator
Administrator
naknak


Posts : 878
Join date : 2010-07-30

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyNovember 14th 2010, 4:51 pm

Cool
Back to top Go down
Guest
Guest
avatar



Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyNovember 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
Back to top Go down
Guest
Guest
avatar



Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJanuary 4th 2011, 2:54 pm

@ correction

i was just about 2 say when i read.....
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 26

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJanuary 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
Back to top Go down
Supernapalm
Expert Scripter
Expert Scripter
avatar


Posts : 393
Join date : 2011-01-17

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJanuary 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
Back to top Go down
http://hackthissite.org
Supernapalm
Expert Scripter
Expert Scripter
avatar


Posts : 393
Join date : 2011-01-17

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJanuary 27th 2011, 10:40 pm

oh, and its not about orbital systems (for those of you who know about my project)
Back to top Go down
http://hackthissite.org
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 26

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJanuary 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
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 26

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJanuary 29th 2011, 8:05 am

function crashcode()
return "while true do end"
end
print("crashing server in 5 seconds.")
wait(5)
loadstring(crashcode())()
Back to top Go down
Supernapalm
Expert Scripter
Expert Scripter
avatar


Posts : 393
Join date : 2011-01-17

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJanuary 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)
Back to top Go down
http://hackthissite.org
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 26

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyMarch 11th 2011, 8:44 pm

even more cool would to have dynamic light shining on that object. XD
Back to top Go down
m27frogy
The Garbageman
m27frogy


Posts : 336
Join date : 2011-06-23

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJune 24th 2011, 2:41 pm

I haven't been able to find a reliable way of creating light, but that would be awesome!
Back to top Go down
justin7674
Expert Scripter
Expert Scripter
avatar


Posts : 11
Join date : 2010-08-02

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJuly 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
Back to top Go down
http://ProjectArcher.com
naknak
Administrator
Administrator
naknak


Posts : 878
Join date : 2010-07-30

Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails EmptyJuly 18th 2011, 12:12 am

What if the player has yet to load?
Back to top Go down
Sponsored content





Loop Kill that never fails Empty
PostSubject: Re: Loop Kill that never fails   Loop Kill that never fails Empty

Back to top Go down
 
Loop Kill that never fails
Back to top 
Page 1 of 2Go to page : 1, 2  Next
 Similar topics
-
» How to loop regen creations.
» while true do (loop script)

Permissions in this forum:You cannot reply to topics in this forum
A Roblox Community :: Tutorials and Resources :: Free Scripts-
Jump to: