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 a 1k+ Lined script...

Previous Thread :: Next Thread 
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
17 Feb 2013 08:39 PM
...in a tool kill the person who uses it?
Report Abuse
BlueTaslem is not online. BlueTaslem
Joined: 11 May 2008
Total Posts: 11060
17 Feb 2013 08:50 PM
Not just because it's over a thousand lines, no, that's not very consequential.
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
18 Feb 2013 11:36 AM
bump
Report Abuse
benningtonguy is not online. benningtonguy
Joined: 21 Dec 2008
Total Posts: 18166
18 Feb 2013 12:21 PM
what is your reasoning behind this?
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
18 Feb 2013 12:26 PM
I have a gun that has a 1k+ main script named Launcher that randomly kills you when you pull it out.
I found no kill script in it, but the problem still exists.
Do you want me to post the link to it? I think it has to be re-written.
Report Abuse
benningtonguy is not online. benningtonguy
Joined: 21 Dec 2008
Total Posts: 18166
18 Feb 2013 12:28 PM
Sure, but search for any BreakJoints() in the script or humanoid changes first
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
18 Feb 2013 12:29 PM
I've never found a BreakJoints() in it (Yet!), and the only thing that would change humanoid health is the part where it does damage to someone you meleed/shot
Script: http://www.roblox.com/For-SH-item?id=106975897
Report Abuse
benningtonguy is not online. benningtonguy
Joined: 21 Dec 2008
Total Posts: 18166
18 Feb 2013 12:31 PM
The gun script may be killing the character because the damage does not ignore the person using it.
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
18 Feb 2013 12:32 PM
It could also be ROBLOX not being able to load it, since the script is so lengthy.
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
18 Feb 2013 12:33 PM
It's never killed me while I was shooting, only while I was taking it out.
Where are the lines where I should make the damage ignore the one using it?
Report Abuse
benningtonguy is not online. benningtonguy
Joined: 21 Dec 2008
Total Posts: 18166
18 Feb 2013 12:37 PM
Id have to look at the script myself, but I can't do it right now.


I own many scripts greater than 1000 lines, trust me Roblox can handle it. Scripts are executed in less than a second, or even less than 0.5 seconds, depending on the length.
Report Abuse
pokemon771 is not online. pokemon771
Joined: 28 Oct 2008
Total Posts: 8671
18 Feb 2013 12:49 PM
:It could also be ROBLOX not being able to load it, since the script is so lengthy."


why the hell would it kill the player?


Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
18 Feb 2013 12:59 PM
@bennington
If you get the chance, can you? Thanks.
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
18 Feb 2013 01:12 PM
I don't know why it randomly kills.
Report Abuse
cart6157 is not online. cart6157
Joined: 28 Feb 2009
Total Posts: 2194
18 Feb 2013 01:29 PM
Dumb question. Depends on the script.
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
18 Feb 2013 02:48 PM
Argh, it keeps killing me and I looked through the script a million times and I see nothing that would kill me!
Report Abuse
Azarth is not online. Azarth
Joined: 17 Aug 2012
Total Posts: 2760
18 Feb 2013 02:54 PM
A faulty weld is probably causing it.
Report Abuse
qwertyhat is not online. qwertyhat
Joined: 06 Aug 2009
Total Posts: 116
18 Feb 2013 02:57 PM
The gun might have multiple scripts, check them all, also use ctrl+f to search for key words in a script.
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
18 Feb 2013 02:58 PM
Only has 4 scripts, check them all
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
18 Feb 2013 03:13 PM
There's this game with 5K line scrips (until i helped the owner shorten it to 200 lines)
So it's not the length.
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
18 Feb 2013 03:14 PM
Then it's something inside it.
Here's the script: http://www.roblox.com/For-SH-item?id=106975897
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
18 Feb 2013 03:44 PM
bump
Report Abuse
pokemon771 is not online. pokemon771
Joined: 28 Oct 2008
Total Posts: 8671
18 Feb 2013 04:08 PM
if you made the script then you would know?
Report Abuse
Boomboy45 is not online. Boomboy45
Joined: 12 Oct 2008
Total Posts: 3720
18 Feb 2013 04:13 PM
-Open script

-Ctrl + F

-Search for BreakJoints(), Humanoid.Health = 0, and other things of that nature.

wow
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
18 Feb 2013 04:16 PM
The damage script is killing your Player, because the Scripts active when You pull out the Tool.
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