|
| 24 Dec 2012 08:41 AM |
Hio. So I have this Holo-Door script that I am making for my training place. (CE all the way. <3). However, I am trying to make it cframed when it is opened, but that isn't exactly something I am particularly GOOD at, so can you help me figure this out...?
Here is what I have, but it does not work. :/
admin = {"Paul13379001", "N0VACAINE"} game.Players.PlayerAdded:connect(function(nP) for _,v in pairs(admin) do if nP.Name == v then nP.Chatted:connect(function(msg) if msg == "?Regdoor activate" then local x = game.Workspace.RegTrainingDoor wait(.1) x.B5.CFrame=x.B5.CFrame*CFrame.new(0,0,0.05) wait(.1)
end end) end end end) |
|
|
| Report Abuse |
|
|
MrTechn0
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 1252 |
|
|
| 24 Dec 2012 09:14 AM |
| X.B5.CFrame=X.B5.CFrame+Vector3.new(0,0,.5) |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2012 09:39 AM |
| Okay.. How do I make them slide? |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2012 09:42 AM |
Would I put this before it?
for i=1, 81 do |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Dec 2012 10:45 AM |
| How do I make it slide quickly? |
|
|
| Report Abuse |
|
|