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: Cframe Movement not working!

Previous Thread :: Next Thread 
xXLiLxJXx is not online. xXLiLxJXx
Joined: 15 Mar 2012
Total Posts: 687
28 Apr 2014 07:19 PM
x = script.Parent.Slide1
z = script.Parent.Slide2
wait(1)
function slide()
wait(.5)
for i = 1, 10 , 0.5 do
wait(.5)
x.CFrame = CFrame.new(268,-78.2, -977.5 + i)
end
end
slide()
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
28 Apr 2014 07:24 PM
You're just playing the function immediately after creating it.. No Events or specifications to activate it? :P

x = script.Parent.Slide1
z = script.Parent.Slide2
wait(1)
function slide()
wait(.5)
for i = 1,10,.5 do
x.CFrame = CFrame.new(x.Position+Vector3.new(0,0,i))
end end
slide()
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
28 Apr 2014 07:34 PM
How does the variable 'z' play into this script? If you are using it, why is it not referenced?
Report Abuse
xXLiLxJXx is not online. xXLiLxJXx
Joined: 15 Mar 2012
Total Posts: 687
28 Apr 2014 11:31 PM
If it wasnt used I know that wasnt the problem. I had to be used later on until I figured out the problem. -I figured like a minute after I posted the forum.. So it kinda wasted my time making the forum.
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