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 to make a rising brick?

Previous Thread :: Next Thread 
FearfulAbyss is not online. FearfulAbyss
Joined: 17 Nov 2012
Total Posts: 831
21 Feb 2014 05:40 PM
I need a rising brick..

Also, how will I be able to make it go through other parts?
Report Abuse
FearfulAbyss is not online. FearfulAbyss
Joined: 17 Nov 2012
Total Posts: 831
21 Feb 2014 05:43 PM
B
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
21 Feb 2014 05:44 PM
x = --Put amount you want it to go up here

script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") ~= nil then
for i = 1, x do
script.Parent.CFrame = CFrame.new(script.Parent.Position+Vector3.new(0,i/10,0))
end end end)
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
21 Feb 2014 05:45 PM
part = game.Workspace.PartName
height = 300 --change
for i = 1, height, 1 do
part.CFrame = CFrame.new(part.Position.X, i, part.Position.Y)
wait()
end

#nerdsunited
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
21 Feb 2014 05:46 PM
ninja'd

#nerdsunited
Report Abuse
FearfulAbyss is not online. FearfulAbyss
Joined: 17 Nov 2012
Total Posts: 831
21 Feb 2014 05:59 PM
Thanks to you both.
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
21 Feb 2014 06:00 PM
Lol.
Report Abuse
islandmaker2012 is online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
21 Feb 2014 06:00 PM
Don't forget to anchor it tho
Also if u just want it to go up u could use bodyvelocity
And for going thru parts,yes cframing
Report Abuse
FearfulAbyss is not online. FearfulAbyss
Joined: 17 Nov 2012
Total Posts: 831
21 Feb 2014 06:01 PM
Okay, thanks.
Report Abuse
FearfulAbyss is not online. FearfulAbyss
Joined: 17 Nov 2012
Total Posts: 831
21 Feb 2014 06:27 PM
Is it possible to make it auto-regenerate after a certain time?
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
21 Feb 2014 06:34 PM
Tick method.
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