|
| 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 |
|
|
| |
|
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 |
|
|
|
| 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 |
|
|
| |
|
| |
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
| |
|
|
| 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 |
|
|
| |
|
|
| 21 Feb 2014 06:27 PM |
| Is it possible to make it auto-regenerate after a certain time? |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
| |
|