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: What about this script makes it untrusted?

Previous Thread :: Next Thread 
Contemptus is not online. Contemptus
Joined: 27 Mar 2012
Total Posts: 368
23 Apr 2012 06:21 PM
script.Parent.Touched:connect(function(hit)
g = hit.Parent:findFirstChild("Humanoid")
if (g ~= nil) then
for i = 1,100 do
g.Health = g.Health-1
wait()
end

end
end)

I tried uploading a lava brick, several times...


http://www.roblox.com/User.aspx?ID=26076488

http://www.roblox.com/The-Tales-of-The-Lost-City-RPG-New-place?id=75940803
Report Abuse
nopepng is not online. nopepng
Joined: 23 Oct 2011
Total Posts: 2063
23 Apr 2012 06:25 PM
why would you do it that way,

if you're putting in a wait(), why not just make it auto kill the character.

unnecessarily inefficient.
Report Abuse
Contemptus is not online. Contemptus
Joined: 27 Mar 2012
Total Posts: 368
23 Apr 2012 06:25 PM
It slowly drains the health, wait() is one frame. For me it will drain the health in about 1-2 seconds.

http://www.roblox.com/The-Tales-of-The-Lost-City-RPG-New-place?id=75940803
Report Abuse
nopepng is not online. nopepng
Joined: 23 Oct 2011
Total Posts: 2063
23 Apr 2012 06:27 PM
still it's pretty unnecessary.

isn't wait() like .03 seconds?

but if you want to be fancy about it.
Report Abuse
Contemptus is not online. Contemptus
Joined: 27 Mar 2012
Total Posts: 368
23 Apr 2012 06:29 PM
'What about this script makes it untrusted?'

http://www.roblox.com/The-Tales-of-The-Lost-City-RPG-New-place?id=75940803
Report Abuse
nopepng is not online. nopepng
Joined: 23 Oct 2011
Total Posts: 2063
23 Apr 2012 06:31 PM
i didn't even know scripts could be "trusted" or not.

there's a billion free modeled lava scripts out there.
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