generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Will this help get rid of fire spread glitch?

Previous Thread :: Next Thread 
PinkPainter is not online. PinkPainter
Joined: 08 Nov 2010
Total Posts: 72
09 Nov 2010 05:13 PM
function Spread(part)
check = part:findFirstChild("Fire")
if check == nil then
script.Parent:Clone().Parent = part

elseif check ~= nil then
check.Size = check.Size - 1
check.Heat = check.Heat -1
end
end


script.Parent.Parent.Touched:connect(Spread)
Report Abuse
Emess is not online. Emess
Joined: 01 Apr 2010
Total Posts: 13331
09 Nov 2010 05:15 PM
Fire normally doesn't spread, unless if it's a virus script.
Report Abuse
nickcool9999 is not online. nickcool9999
Joined: 04 Dec 2007
Total Posts: 1528
09 Nov 2010 05:16 PM
Fire spread glitch? You got it all wrong, son! There's a script spreadin' the fires! Everybody runs!
Report Abuse
PinkPainter is not online. PinkPainter
Joined: 08 Nov 2010
Total Posts: 72
09 Nov 2010 05:16 PM
Its like a glitch. The script is supposed to decrese it.
Report Abuse
nickcool9999 is not online. nickcool9999
Joined: 04 Dec 2007
Total Posts: 1528
09 Nov 2010 05:20 PM
That puts the fires! Everybody still keep running! D:
Report Abuse
kogopopcorn is not online. kogopopcorn
Joined: 17 Jan 2010
Total Posts: 55
09 Nov 2010 05:23 PM
uhhhh yeah wat he said xD
Report Abuse
nickcool9999 is not online. nickcool9999
Joined: 04 Dec 2007
Total Posts: 1528
09 Nov 2010 05:26 PM
KOGO I SAID RUN THE FIRES GONA GETCHOO! *Fire gets me* RUNNNNNNNNNNNN D:::::::::
Report Abuse
kogopopcorn is not online. kogopopcorn
Joined: 17 Jan 2010
Total Posts: 55
10 Jan 2011 04:35 PM
well he's true it happend to me a bunch of times mabey not you but it will sometime so just take it i took it
Report Abuse
Robert00001 is not online. Robert00001
Joined: 15 May 2010
Total Posts: 7965
10 Jan 2011 04:43 PM
I hate the Spreading Fire Script, I Delete it
Report Abuse
nickcool9999 is not online. nickcool9999
Joined: 04 Dec 2007
Total Posts: 1528
01 Feb 2011 09:48 PM
*fire gets all of the people who posted* YOUR, TOO, SLOWWWWWW :O
Report Abuse
supman102 is not online. supman102
Joined: 17 Aug 2009
Total Posts: 47
01 Feb 2011 10:07 PM
PinkPainter it is NOT a glitch it is just a script.
The only reason that the fire keeps spreading is because well You have to many objects touching the fire and well..... thats why it will not stop.
Report Abuse
nickcool9999 is not online. nickcool9999
Joined: 04 Dec 2007
Total Posts: 1528
01 Feb 2011 10:12 PM
*fire gets supman* NOOOOOO OUR LAST DEFENCES!!!!!!!!!!1!!11
Report Abuse
CardCaddy is not online. CardCaddy
Joined: 02 Jan 2010
Total Posts: 1025
01 Feb 2011 10:16 PM
Here, this might 'douse' the fire :P:

function A(b)
for a, c in pairs(b:getChildren()) do
if c:IsA("Fire") then
c:remove()
end
else
A(c)
end
end

while true do
wait()
A(game.Workspace)
end
Report Abuse
nickcool9999 is not online. nickcool9999
Joined: 04 Dec 2007
Total Posts: 1528
01 Feb 2011 10:19 PM
this might clean the fire.

step one: Get the fire's name

step two: post it in this script in between the quotes.

name = "Fire"
-- step three: run this script and enjoy.
while workspace:findFirstChild(name, true) ~= nil do workspace:findFirstChild(name, true):remove() end
Report Abuse
bigbenbennett is not online. bigbenbennett
Joined: 06 Jun 2012
Total Posts: 28
11 Jul 2013 08:48 PM
:( I have it, and every time I try to remove it, IT COMES BACK!!1!
Report Abuse
Encryptix is not online. Encryptix
Joined: 04 Sep 2013
Total Posts: 291
28 Feb 2014 02:41 PM
This will get rid of anything that is annoying or virus like in the game /:




------------------------------------------------
Print_Scan_Results = true --Prints the results of each scan in the output window.
------------------------------------------------
Quarantine_Instead_of_Delete = false --Quarantines all malicious objects into the Lighting Directory for you to view, after making all hidden objects visable.
------------------------------------------------

q = Instance.new("Model")
q.Name = "Quarantine"
classes = {"Script","AutoJoint", "BackpackItem", "Feature", "Glue", "HtmlWindow", "JointInstance", "LocalBackpack", "LocalBackpackItem", "MotorFeature", "Mouse", "Rotate", "RotateP", "RotateV", "Snap", "StockSound", "VelocityMotor", "Weld", "Geometry", "Timer","ChangeHistoryService"}
names = {"Fire" , "Infected", "lordnathan" , "ROFL", "ViVRuS", "OH SNAP YOU GOT INFECTED XD XD XD" , "dåååååååååååååång.........you got owned..." , "Hello...I åm Your New Lord Lolz" , "Snap Reducer", "SnapReducer", "Snap-Reducer", "Anti-Lag", "Anti Lag", "AntiLag", "Wildfire", "AntiVirus", "Anti-Virus", "Anti Virus", "message" , "Message" , "4D Being", "No samurai plzzz", "OHAI", "VIRUS", "Guest_Talking_Script", "Guest Free Chat Script", "lol", "LOL", "bob", "BOB", "Snap Remover", "SnapRemover","Vaccine"}
hidden = Instance.new("StringValue")
file = {}

function Start()
workspace = game.Workspace:GetChildren()
qu = q:GetChildren()
index = {}
virus = 0

function Scan(object)
for i = 1,#object do
inside = object[i]:GetChildren()
if Malicious(object[i]) then
virus = virus+1
Name(object[i])
Quarantine(object[i])
else
if #inside > 0 then
Scan(inside)
end
end
end
end

function Malicious(class)
for x = 1, #classes do
if class.className == classes[x] and #(class:GetChildren()) > 0 then return true end
end
for x = 1, #names do
if string.lower(class.Name) == string.lower(names[x]) then return true end
end
return false
end

function Hidden(class)
for x = 1, #classes do
if class.className == classes[x] then return true end
end
return false
end

function Name(malware)
cur = malware
file[1] = "."..cur.Name
while cur.Parent.Name ~= "Workspace" do
cur = cur.Parent
file[#file+1] = "."..cur.Name
end
inde = "game.Workspace"
for j = 1, #file do
inde = inde..file[#file+1-j]
end
file = {}
inde = inde.." ("..malware.className.." Class)"
index[#index+1] = inde
malware.Parent = q
end

function Quarantine(malware)
if malware ~= nil then
contain = malware:GetChildren()
if Hidden(malware) then
h = hidden:clone()
h.Name = malware.Name
h.Value = "Original Class: "..malware.className
h.Parent = malware.Parent
for j = 1, #contain do
contain[j].Parent = h
end
malware:remove()
malware = h
end
contain = malware:GetChildren()
for j = 1, #contain do
Quarantine(contain[j])
end
end
end

Scan(workspace)

if virus > 0 and Quarantine_Instead_of_Delete then
q.Parent = game.Lighting
end

if virus > 0 and Print_Scan_Results then
print("--------------------")
print("Scan Results:")
print("Potentially malicious objects were found in the following locations:")
for i = 1, #index do
print(" -- "..index[i])
end
if Quarantine_Instead_of_Delete then
print("These objects have been quarantined to the Lighting Directory.")
else
print("These objects have been removed.")
end
print("--------------------")
Start()
wait()
Start()
end
end

Start()
game.Workspace.ChildAdded:connect(Start)
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
28 Feb 2014 02:47 PM
/\
Woah....

todel = {"Spread","Fire"}
while wait() do
if game:findFirstChild(todel[1],true) then
game:findFirstChild(todel[1],true):Destroy()
elseif game:findFirstChild(todel[2],true) then
game:findFirstChild(todel[2],true):Destroy()
end
end

--untested,I'm just getting into tables :)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image