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: need to make a sliding door

Previous Thread :: Next Thread 
TAUPILOT117 is not online. TAUPILOT117
Joined: 18 Jun 2011
Total Posts: 27
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 is not online. nise45
Joined: 17 Nov 2008
Total Posts: 7002
04 Sep 2013 02:13 PM
>clan
>no thx
Report Abuse
TAUPILOT117 is not online. TAUPILOT117
Joined: 18 Jun 2011
Total Posts: 27
04 Sep 2013 02:16 PM
what are you saying exactly?
Report Abuse
nise45 is not online. nise45
Joined: 17 Nov 2008
Total Posts: 7002
04 Sep 2013 02:18 PM
No requests. It's scripting HELPERS, not requests.
Report Abuse
TAUPILOT117 is not online. TAUPILOT117
Joined: 18 Jun 2011
Total Posts: 27
04 Sep 2013 02:19 PM
OK if anyone would like to help it would be most appreciated thx
Report Abuse
ScripterOfTheYear is not online. ScripterOfTheYear
Joined: 31 Aug 2013
Total Posts: 17
04 Sep 2013 02:21 PM
ill give you a hint it has to do with cframe
Report Abuse
TAUPILOT117 is not online. TAUPILOT117
Joined: 18 Jun 2011
Total Posts: 27
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 is not online. nise45
Joined: 17 Nov 2008
Total Posts: 7002
04 Sep 2013 02:25 PM
You didn't make this.
Report Abuse
TAUPILOT117 is not online. TAUPILOT117
Joined: 18 Jun 2011
Total Posts: 27
04 Sep 2013 02:26 PM
??
Report Abuse
nise45 is not online. nise45
Joined: 17 Nov 2008
Total Posts: 7002
04 Sep 2013 02:26 PM
?????
Report Abuse
TAUPILOT117 is not online. TAUPILOT117
Joined: 18 Jun 2011
Total Posts: 27
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
TAUPILOT117 is not online. TAUPILOT117
Joined: 18 Jun 2011
Total Posts: 27
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
ScripterOfTheYear is not online. ScripterOfTheYear
Joined: 31 Aug 2013
Total Posts: 17
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
TAUPILOT117 is not online. TAUPILOT117
Joined: 18 Jun 2011
Total Posts: 27
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
ScripterOfTheYear is not online. ScripterOfTheYear
Joined: 31 Aug 2013
Total Posts: 17
04 Sep 2013 02:43 PM
go look in free models because im not posting a script
Report Abuse
TAUPILOT117 is not online. TAUPILOT117
Joined: 18 Jun 2011
Total Posts: 27
04 Sep 2013 02:44 PM
OK fine but thx for your help anyway
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