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 rise

Previous Thread :: Next Thread 
djboy is not online. djboy
Joined: 16 Mar 2008
Total Posts: 794
02 Apr 2014 02:49 PM
Im trying to make this block thats welded Rise up and its not working. and i do not know why. Im doing something wrong on line 4. Please help me

wait(0.1)
me = script.Parent.Parent
for i = 1, 20 do
me.RiseWeld.C1 = me.RiseWeld.C1 + (script.Parent.CFrame.new(0, 1, 0))
wait(0.1)
print("YOLO")
end
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
02 Apr 2014 02:50 PM
script.Parent.CFrame.new(0, 1, 0)

should just be reduced to

CFrame.new(0,1,0)
Report Abuse
djboy is not online. djboy
Joined: 16 Mar 2008
Total Posts: 794
02 Apr 2014 02:53 PM
it didnt work ????
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
02 Apr 2014 02:54 PM
me.RiseWeld.C1 = me.RiseWeld.C1 + CFrame.New(0,1,0)

That doesn't work?
Report Abuse
djboy is not online. djboy
Joined: 16 Mar 2008
Total Posts: 794
02 Apr 2014 02:55 PM
naw
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
02 Apr 2014 02:57 PM
wait(0.1)
me = script.Parent.Parent
for i = 1, 20, .1 do
me.RiseWeld.C1 = CFrame.new(me.RiseWeld.C1.CFrame+CFrame.new(0,i,0))
wait(0.1)
print("YOLO")
end
Report Abuse
djboy is not online. djboy
Joined: 16 Mar 2008
Total Posts: 794
02 Apr 2014 03:03 PM
wont work. il ltry again later
Report Abuse
robotmega is not online. robotmega
Joined: 16 May 2009
Total Posts: 14084
02 Apr 2014 03:23 PM
wait(0.1)
me = script.Parent.Parent
for i = 1, 20, .1 do
me.RiseWeld.C1 = CFrame.new(0,i,0)
wait(0.1)
print("YOLO")
end
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