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: Disappearing on Buy

Previous Thread :: Next Thread 
goldenkings11 is not online. goldenkings11
Joined: 29 Sep 2014
Total Posts: 40
22 Jul 2016 01:29 PM

I am Updating a Clash of Clans Tycoon made by me and the tycoon kit by Zednov!

Now if you a familiar with Clash of clans, whenever you upgrade a item it always changes it's designs... when the player Upgrades it I want it to change what was already bought into the new form!

Example:

If they buy a Barracks Level 8 and then upgrade it to Level 9, Level 8 disappears and Level 9 forms right where Level 8 was...

I do not know if you need to script for this but if you do please tell me the script in the comments, if you do not need to script and just build please walk it out for me!

-Goldenkings11
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
22 Jul 2016 01:32 PM
ew.

Anyways, check out the roblox wiki to learn how to script:
wiki.roblox.com

Here's an idea of what you should do
When they click on upgrade (if it's a gui button use MouseButton1Down event), destroy the old item (Destroy method) and clone the new model (Clone method) from server storage.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
22 Jul 2016 01:33 PM
datastores?


Report Abuse
goldenkings11 is not online. goldenkings11
Joined: 29 Sep 2014
Total Posts: 40
22 Jul 2016 01:40 PM
how do I do that?
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