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: Is there a script for tycoons...

Previous Thread :: Next Thread 
Badawan is online. Badawan
Joined: 18 Feb 2011
Total Posts: 18646
06 Jan 2017 09:33 AM
That changes the mesh when it goes through one upgrade and then the next it gives it a texture? I have a real good tycoon idea but need those two scripts.
Report Abuse
Tunicus is online. Tunicus
Joined: 16 Feb 2013
Total Posts: 3165
06 Jan 2017 09:57 AM
local mesh = script.Mesh -- for mesh

script.Parent.Touched:connect(function(basepart)
if (not basepart:FindFirstChildOfClass("SpecialMesh")) then
mesh:clone().Parent = basepart
end

-- for texture

local texture = script.Texture

script.Parent.Touched:connect(function(basepart)
if (not basepart:FindFirstChildOfClass("Texture")) then
texture:clone().Parent = basepart
end

Put the top script into an upgrader that you want to apply meshes. Put the mesh inside the script and name it "Mesh"

Put the bottom script into an upgrader that you want to apply textures. Put the texture inside the script and name it "Texture"
Report Abuse
Badawan is online. Badawan
Joined: 18 Feb 2011
Total Posts: 18646
06 Jan 2017 10:21 AM
That works with zednov kit? And mind explaining a little bit more? Like where to put it.
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