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: How do you make a script that upgrades conveyor speed?

Previous Thread :: Next Thread 
BobbyisLOLZ is not online. BobbyisLOLZ
Joined: 17 Aug 2010
Total Posts: 8045
16 May 2012 07:51 PM
:\... I only found a script in-game, but I think it's broken.
Report Abuse
BobbyisLOLZ is not online. BobbyisLOLZ
Joined: 17 Aug 2010
Total Posts: 8045
16 May 2012 07:55 PM
:P bmp
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
16 May 2012 07:57 PM
Congratulations, sir, that is the clearest question I have ever seen.

And what, may I ask, is a script that upgrades conveyor speed? :P
Report Abuse
BobbyisLOLZ is not online. BobbyisLOLZ
Joined: 17 Aug 2010
Total Posts: 8045
16 May 2012 09:49 PM
Sorry, it's a kids game, I don't spend all day on this flaming kids about their grammar. I am asking a simple question
Report Abuse
MadDog7736 is not online. MadDog7736
Joined: 01 Nov 2008
Total Posts: 8614
16 May 2012 10:30 PM
I don't think he was trying to be mean? :o

And this should help:

game.Workspace.Part.Velocity = Vector3.new(0,5,0)


Implementing in a script would look like:


function onClicked()

game.Workspace.Part.Velocity = Vector3.new(0,5,0)

script.Parent.ClickDetector.MouseClick:connect(onClicked)

Report Abuse
BobbyisLOLZ is not online. BobbyisLOLZ
Joined: 17 Aug 2010
Total Posts: 8045
16 May 2012 10:36 PM
Idk.. I have alot of people who say that sarcasticaly :P
Btw.. I have a problem again with the bricks.. Idk if I am doing this right.


function onTouched(hit)
if hit.Name == "UpgradedTycoonBrick" then
hit.Name = "SuperTycoonBrick"
hit.TopSurface = Studs
hit.FrontSurface = Studs
hit.LeftSurface = Studs
hit.RightSurface = Studs
hit.BackSurface = Studs
end
end

script.Parent.Touched:connect(onTouched)

How do you make the brick get studs when the brick touches the upgrader?
Sorry if you were really meaning that :\
Report Abuse
MadDog7736 is not online. MadDog7736
Joined: 01 Nov 2008
Total Posts: 8614
16 May 2012 10:40 PM
function onTouched(hit)
if hit.Name == "UpgradedTycoonBrick" then
hit.Name = "SuperTycoonBrick"
hit.TopSurface = "Studs"
hit.FrontSurface = "Studs"
hit.LeftSurface = "Studs"
hit.RightSurface = "Studs"
hit.BackSurface = "Studs"
end
end

script.Parent.Touched:connect(onTouched)



You need the quotations.
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
17 May 2012 04:15 PM
Yes, MadDog was correct, I was not being hostile in any manner. Anyway, I did not criticize your grammar, I criticized your clarity, as shown by my second sentence (or, more properly, question). What is conveyor speed?
Report Abuse
BobbyisLOLZ is not online. BobbyisLOLZ
Joined: 17 Aug 2010
Total Posts: 8045
17 May 2012 04:17 PM
Like, the conveyor has a certain speed. Is there a script that when you buy it, it multiplys the cash that you bought it for.
Example, to upgrade the speed, you buy it for 5 cash, to upgrade it again, you need to buy for 10, and so on.

So it's like the conveyor speed is 1. You step on the upgrade pad, and it upgrades to 2 speed. How?
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
17 May 2012 04:38 PM
Oh, this is for a tycoon...

Well, sadly, this is a request, as there is not a specific way to do this, so you expect us to write the code for you. Learn to script at http://wiki.roblox.com/
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