|
| 04 Sep 2013 02:12 PM |
| i want to make my base door slide up when i press a green button and it slide down when i press red plz help I am stuck |
|
|
| Report Abuse |
|
|
nise45
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 7002 |
|
| |
|
|
| 04 Sep 2013 02:16 PM |
| what are you saying exactly? |
|
|
| Report Abuse |
|
|
nise45
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 7002 |
|
|
| 04 Sep 2013 02:18 PM |
| No requests. It's scripting HELPERS, not requests. |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2013 02:19 PM |
| OK if anyone would like to help it would be most appreciated thx |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2013 02:21 PM |
| ill give you a hint it has to do with cframe |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2013 02:24 PM |
this is what i have so far from an old door that i made
local c = script.Parent.CFrame open = false opening = false
script.Parent.ClickDetector.MouseClick:connect(function() if open == false and opening == false then for i = 1, 16 do script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.18) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0) wait(0.01) end open = true opening = false elseif open == true and opening == false then for i = 1, 16 do script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0) * CFrame.new(0, 0, -0.18) wait(0.01) end open = false opening = false script.Parent.CFrame = c end end) game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) if msg == "mellon" then for i = 1, 16 do script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.18) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0) wait(0.01) end wait(5) script.Parent.CFrame = c end end) end) |
|
|
| Report Abuse |
|
|
nise45
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 7002 |
|
| |
|
| |
|
nise45
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 7002 |
|
| |
|
|
| 04 Sep 2013 02:27 PM |
| if its because if i can do that i should be able to do this but i cant its not working properly when i try the buttons |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2013 02:31 PM |
| the thing is it wont go up i want it to go up i forgot how to do this since i did script for 7 months i cant remember how |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2013 02:32 PM |
| 0,0,0 the middle 0 is the y axis, change the number to that spot, that is all i shall say because i do not believe you created the script you posted |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2013 02:39 PM |
| I get what you saying a bit but, well idk this is an old one and i have no idea what to do with the buttons it its driving me mad trying to work this out, i can make go left and right it wont go up and down witch is driving me crazy, its a click door i know that and i want it to stay like that from now on i was told by my friend he want a click door !! |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2013 02:43 PM |
| go look in free models because im not posting a script |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2013 02:44 PM |
| OK fine but thx for your help anyway |
|
|
| Report Abuse |
|
|