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: Is There a Problem in This?

Previous Thread :: Next Thread 
iChack is not online. iChack
Joined: 27 Apr 2010
Total Posts: 122
04 May 2010 08:35 PM
function HabaShaba(o)
h = o.Parent:findFirstCHild("Humanoid")
if o ~= nil then
g = game.Workspace
g.Base.Parent = nil
g:findFirstChild("Part")
for i = 1,#g do
g[i].Parent = nil
p = Instance.new("Part")
p.Parent = Workspace
p.Name = "Part(LAG)"
p.Size = Vector3.new(1000,1000,1000)
f = g:findFirstChild("Model")
for v = 1,#f do
f[v].Parent = nil
h = Instance.new("Model")
h.Name = "You have used an Infection Script"
h.Parent = Workspace
j = Instance.new("Part")
j.Parent = h
j.Name = "Head"
j.Position = Vector3.new(1,1,1)
u = Instance.new("Humanoid")
u.Parent = h
u.MaxHealth = 0
t = g:findFirstChild("Model")
r = t:findFirstChild("Humanoid")
if r.MaxHealth == 100 then
for d = 1,#r do
r[d].Parent.Parent = nil
end
end
end
end
end
end

script.Parent.Touched:connect(HabaShaba)



Anything wrong?
Report Abuse
iChack is not online. iChack
Joined: 27 Apr 2010
Total Posts: 122
04 May 2010 09:16 PM
Bump.
Report Abuse
iChack is not online. iChack
Joined: 27 Apr 2010
Total Posts: 122
04 May 2010 09:41 PM
Eh...
Report Abuse
Aerideyn is not online. Aerideyn
Joined: 16 Jan 2010
Total Posts: 1882
04 May 2010 10:17 PM
whydont you paste it in to roblox studio and find out.
Report Abuse
TheEndOfDays is not online. TheEndOfDays
Joined: 24 Nov 2009
Total Posts: 2614
04 May 2010 10:21 PM
you never set g:findFirstChild("Part") to a variable.
Report Abuse
iChack is not online. iChack
Joined: 27 Apr 2010
Total Posts: 122
04 May 2010 10:30 PM
Whoops... And I can't paste it into ROBLOX Studio cause I have Linux so I use a Lua Programming Editor thing.
Report Abuse
iChack is not online. iChack
Joined: 27 Apr 2010
Total Posts: 122
05 May 2010 10:10 AM
Bump. Anything else?
Report Abuse
Megamatrixdude is not online. Megamatrixdude
Joined: 06 Dec 2009
Total Posts: 10939
05 May 2010 11:40 AM
Can't you download roblox onto Lynux then?
Report Abuse
iChack is not online. iChack
Joined: 27 Apr 2010
Total Posts: 122
06 May 2010 07:12 PM
No. I cannot find out how.
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
06 May 2010 07:13 PM
ROBLOX is only compatible with Windows, anyway, why are you scripting this if you won't even be able to use it?
Report Abuse
iChack is not online. iChack
Joined: 27 Apr 2010
Total Posts: 122
07 May 2010 10:06 AM
There is a way to get ROBLOX on Linux(Ubuntu) from a program called Wine. I just can't find it out. And, I am going to be using this because it's not like I'll never use Windows again.(At friends house)
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
07 May 2010 02:21 PM
No, the edition of the .exe for Wine was breaking some copyright rule (though they didn't edit anything directly, just made a second executable, for what I read), so you can't play ROBLOX on Linux (trust me, I tried...).
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