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: Moving Bricks

Previous Thread :: Next Thread 
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
16 Mar 2014 11:53 AM
Hey, i have a project for a WipeOut Game and i need a script that makes the Giant Red Balls Move, i thought of something like:


while true do
for num=12-1 do
Brick1.Position = Vector3.new(num)
wait(0.2)
end



I DON'T SCRIPT OKAY? SINCE LUALEARNERS.ORG CLOSED I DIDNT LEARN ANYTHING NEW D:


or it could be like this

while true do
Brick1.Position = Vector3.new(12, 12, 12)
wait(0.25)
Brick1.Position = Vector3.new(11.5, 11.5, 11,5)
end




They told me the ugliest thing to see in a script is make something over and over again but i dont script so i gotta do it harder.
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
16 Mar 2014 11:58 AM
brick1 = workspace.NAMEOFBRICKHERE

for i = 1,10 --change 10 to whatever you want. You'll see what it does if you change it.
brick1.CFrame = brick1.CFrame * CFrame.new(0,-1,0) --the middle number is the y axis. You can change -1 to a decimal to make it more smooth.
wait(.1) --If you change it to 'wait(),' it will be a lot smoother.
end
Report Abuse
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
16 Mar 2014 12:01 PM
Thanks, dude. I will test it. Your scripting looks good. If you don't mind, join FME Studio we are recruiting as much scripters as possible
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