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 » Scripters
Home Search
 

Re: Paying 50 Robux If anybody can help me fix this.

Previous Thread :: Next Thread 
llcoolj03 is not online. llcoolj03
Joined: 20 Nov 2011
Total Posts: 6135
06 Apr 2015 01:30 PM
So basically I am making a gear card war game. In the cards I already made the script and it's fine but there's a certain part that only works in Studio Test Mode and not in the real play mode. It is a very important part of my game; I seriously need it fixed.

So, when activated Tool is supposed to completely deleted from a Player's StarterGear, so it doesn't show up for them again.

--local script
else return end
print(root)
root.Parent = game.Players.LocalPlayer.Backpack
root.Parent = game.Players.LocalPlayer.StarterGear
local rc = root:Clone(root, workspace)
rc.Parent = game.Players.LocalPlayer.Backpack
game.StarterPack.BronzeMeleeCard:Destroy()
Tool:Destroy()
end

Please help me fix this I desperately need it fixed and I can't fix it. I'm paying 50 robux for whoever helps me.


vv He's a noob. vv
Report Abuse
llcoolj03 is not online. llcoolj03
Joined: 20 Nov 2011
Total Posts: 6135
06 Apr 2015 01:30 PM
Also this isn't the whole script, the rest works fine.


vv He's a noob. vv
Report Abuse
llcoolj03 is not online. llcoolj03
Joined: 20 Nov 2011
Total Posts: 6135
06 Apr 2015 01:36 PM
Bump.


vv He's a noob. vv
Report Abuse
Cheeso135 is not online. Cheeso135
Joined: 13 Apr 2013
Total Posts: 2016
06 Apr 2015 01:42 PM
You have to use :Remove() not :Destroy()
Report Abuse
Eternalfireeater is not online. Eternalfireeater
Joined: 01 May 2011
Total Posts: 10027
06 Apr 2015 01:44 PM
Get out, Cheeso.

I'm not sure what you're trying to do here. Once you use return, the code below it will not fire. Perhaps try this:

else
print(root)
root.Parent = game.Players.LocalPlayer.Backpack
root.Parent = game.Players.LocalPlayer.StarterGear
local rc = root:Clone(root, workspace)
rc.Parent = game.Players.LocalPlayer.Backpack
game.StarterPack.BronzeMeleeCard:Destroy()
Tool:Destroy()
return
end
Report Abuse
llcoolj03 is not online. llcoolj03
Joined: 20 Nov 2011
Total Posts: 6135
07 Apr 2015 10:14 AM
That doesn't work q.q

I'm trying to make it so when the player respawns Tool is not in their starterpack.


vv He's a noob. vv
Report Abuse
llcoolj03 is not online. llcoolj03
Joined: 20 Nov 2011
Total Posts: 6135
07 Apr 2015 10:27 AM
Bump.


vv He's a noob. vv
Report Abuse
llcoolj03 is not online. llcoolj03
Joined: 20 Nov 2011
Total Posts: 6135
07 Apr 2015 10:33 AM
Bump


vv He's a noob. vv
Report Abuse
llcoolj03 is not online. llcoolj03
Joined: 20 Nov 2011
Total Posts: 6135
07 Apr 2015 10:37 AM
buump


vv He's a noob. vv
Report Abuse
Cheeso135 is not online. Cheeso135
Joined: 13 Apr 2013
Total Posts: 2016
07 Apr 2015 10:55 AM
@Eternal I think it is StarterGear. @llcool try doing his script but change starter pack to gear.
Report Abuse
llcoolj03 is not online. llcoolj03
Joined: 20 Nov 2011
Total Posts: 6135
07 Apr 2015 10:59 AM
There is no StarterGear that's a child of Workspace, duh.


vv He's a noob. vv
Report Abuse
Cheeso135 is not online. Cheeso135
Joined: 13 Apr 2013
Total Posts: 2016
07 Apr 2015 11:00 AM
StarterGear is a child of game.:/
Report Abuse
Cheeso135 is not online. Cheeso135
Joined: 13 Apr 2013
Total Posts: 2016
07 Apr 2015 11:02 AM
game.Players.LocalPlayer.StarterGear.BronzeMeleeCard:Destroy()
game.Players.LocalPlayer.Backpack.BronzeMeleeCard:Destroy()
Report Abuse
llcoolj03 is not online. llcoolj03
Joined: 20 Nov 2011
Total Posts: 6135
07 Apr 2015 11:11 AM
game*


vv He's a noob. vv
Report Abuse
Cheeso135 is not online. Cheeso135
Joined: 13 Apr 2013
Total Posts: 2016
07 Apr 2015 11:12 AM
Give me the full code and i can help you. Your strange communication tactics are confusing me.
Report Abuse
fishguy100 is not online. fishguy100
Joined: 16 Feb 2013
Total Posts: 3679
07 Apr 2015 11:13 AM
PM me the whole script and I will fix it.
Report Abuse
Proxemics is not online. Proxemics
Joined: 30 Oct 2013
Total Posts: 2542
07 Apr 2015 11:21 AM
print(root)
root.Parent = game.Players.LocalPlayer.BackPack
root.Parent = game.Players.LocalPlayer.StarterGear
local rc = root:Clone(root, game.Workspace)
rc.Parent = game.Players.LocalPlayer.BackPack
wait()
game.StarterPack.BronzeMeeleCard:Destroy()
Tool:Destroy()
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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