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 I make a part move up and down?

Previous Thread :: Next Thread 
talk2me2 is not online. talk2me2
Joined: 25 Mar 2011
Total Posts: 1051
24 Jul 2013 04:24 AM
Is it Vector3?

Could anyone give me an example, and tell me what I need to do. I want a part to go up and down.

Thanks :)
Report Abuse
Iterations is not online. Iterations
Joined: 22 Jul 2013
Total Posts: 751
24 Jul 2013 04:25 AM
local Part = script.Parent

while (true) do
for i = 1, 10, 0.1 do
Part.CFrame = Part.CFrame + Vector3.new(0, 0.1, 0)
wait(1/30)
end
for i = 1, 10, 0.1 do
Part.CFrame = Part.CFrame - Vector3.new(0, 0.1, 0)
wait(1/30)
end
end
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
24 Jul 2013 04:38 AM
Use cosine, it's alot smoother.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Jul 2013 04:46 AM
I think it's better to use CFrame then Vector for welded parts
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
24 Jul 2013 05:03 AM
Cosine? Pfft, sine ftw.
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
24 Jul 2013 05:05 AM
teach me how to do it in doz trig shtuff pls
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
24 Jul 2013 05:05 AM
Cosine is the real part of the unitary complex exponential wave function. Sine is imaginary.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Jul 2013 05:07 AM
maf nards
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
24 Jul 2013 05:08 AM
e^(i*x)=cos(x)+i*sin(x)
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
24 Jul 2013 05:11 AM
Exactly. Imaginary numbers are so much better than real ones.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Jul 2013 05:12 AM
^^win
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
24 Jul 2013 05:14 AM
Okay, you got me there :c
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
24 Jul 2013 05:15 AM
Real numbers are really boring.

With imaginary numbers you can let your imagination run wild.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Jul 2013 05:16 AM
() . ()
(*_*)
("))(")
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
24 Jul 2013 05:16 AM
You could also use i^x+i^-x
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
24 Jul 2013 05:18 AM
Why is math food?

pi*e=pie.

NomNomNom
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Jul 2013 05:19 AM
WUTS DA SINTACKS 4 MAF.FOOD!!?
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
24 Jul 2013 05:19 AM
What's e^(i*pi)+1?

...

ALOT OF WORK FOR NOTHING!
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Jul 2013 05:20 AM
math.food = function(Food)
if Food == math.pi * math.e then
return "SOMG PUMPKIN PIE"
elseif Food == "cntkillme" then
return "SOMG BACKON"
end
end
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
24 Jul 2013 05:20 AM
Euler's identity.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Jul 2013 05:22 AM
a^2 + b^2 = c^2

YAY I LOOK SMART!
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
24 Jul 2013 05:22 AM
Because zero is nothing, and e to the... yeah.
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
24 Jul 2013 05:24 AM
The Kerr vacuum exhibits many noteworthy features: the maximal analytic extension includes a sequence of asymptotically flat exterior regions, each associated with an ergosphere, stationary limit surfaces, event horizons, Cauchy horizons, closed timelike curves, and a ring-shaped curvature singularity. The geodesic equation can be solved exactly in closed form. In addition to two Killing vector fields (corresponding to time translation and axisymmetry), the Kerr vacuum admits a remarkable Killing tensor. There is a pair of principal null congruences (one ingoing and one outgoing). The Weyl tensor is algebraically special, in fact it has Petrov type D. The global structure is known. Topologically, the huomotopy type of the Kerr spacetime can be simply characterized as a line with circles attached at each integer point.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
24 Jul 2013 05:25 AM
I know, I know.

I don't like secant and cosecant :<
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Jul 2013 05:25 AM
omg I quit life
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