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: I need a script that makes you keep your tools after death.

Previous Thread :: Next Thread 
friedchicken009 is not online. friedchicken009
Joined: 04 Mar 2011
Total Posts: 12502
12 Oct 2011 10:22 AM
For my game Rocket Fight Mega.

I'm done with the V.I.P., and there's a bomb giver, but whenever I die, I lose the bomb.
Report Abuse
eJorge is not online. eJorge
Joined: 09 Jun 2011
Total Posts: 5966
12 Oct 2011 10:25 AM
StarterGear/StarterPack
Report Abuse
Sapidum is not online. Sapidum
Joined: 27 Aug 2011
Total Posts: 735
12 Oct 2011 10:27 AM
Script it.
Report Abuse
thejoker1997 is not online. thejoker1997
Joined: 19 Aug 2009
Total Posts: 155
12 Oct 2011 12:19 PM
Just make the giver put it in their startergear.
Report Abuse
einsteinK is not online. einsteinK
Joined: 22 May 2011
Total Posts: 1015
12 Oct 2011 12:26 PM
In the script o the giver change this part:
..tool.Parent = player.Backpack
INTO:
..tool.Parent = player.StarterGear -- put weapon in startergear
..tool:clone().Parent = player.Backpack -- gives copy in backpack

I added that second line so you don't need to die first to get the bomb -.-
Report Abuse
thejoker1997 is not online. thejoker1997
Joined: 19 Aug 2009
Total Posts: 155
12 Oct 2011 01:56 PM
Just make the giver put it in their startergear.
Report Abuse
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
12 Oct 2011 01:57 PM
lol i like letterally just made this for my game 5 mins ago.. when they get their weapon clone it into startergear.
Report Abuse
Lightmaster9 is not online. Lightmaster9
Joined: 14 May 2009
Total Posts: 8659
12 Oct 2011 03:09 PM
STARTERPACK.
Report Abuse
newnoahdain is not online. newnoahdain
Joined: 07 Jan 2010
Total Posts: 217
12 Oct 2011 03:20 PM
v = script.Parent.Parent
t = script.Parent

function loadsave()
m = t:Clone()
Wait (4)
m.Parent = game.Players:findFirstChild(v.Name)
end

while true do
if game.Workspace:findFirstChild(v.Name) == nil then
loadsave()
end
Wait()
end

Probably wont work, I didn't put much effort into it.
Report Abuse
BobGeorgenworn909 is not online. BobGeorgenworn909
Joined: 03 Apr 2008
Total Posts: 1161
12 Oct 2011 03:36 PM
@above *while wait() do
:D
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