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 » Scripters
Home Search
 

Door open and close script help improve

Previous Thread :: Next Thread 
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
31 Oct 2015 06:07 PM
Please just help me improve it its to make a door swing open when its clicked and swing backed closed when its clicked again and also I dont want the position to move when it swing open like I dont want one end of the brick moving like its hinged

door = game.Workspace.coolb
speed = 4
open = door.open
oc = 1

function MouseClick()

if oc == 1 and open.value == true then
for i=1,(90/speed) do
door.CFrame = door.CFrame * CFrame.Angles(0,0.29/speed,0);
wait(0.01)
end
end

else

for i=1,(90/speed) do
door.CFrame = door.CFrame * CFrame.Angles(0,-0.29/speed,0);
wait(0.01)
end
end
end
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
31 Oct 2015 06:15 PM
Bump or if this is wrong can you help me make a better one
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
31 Oct 2015 06:19 PM
BUUUUUUUUUUUUUUUUUUUUUUMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMPPPPPPPPPPPPPIIIIIIIIIIIIITYYYYYYYYYYYYYYYY BUUUUUUUUUUUUUUUUMMMMMMMMMMMMMMPPPPPPPPP BUUMMMMMMMMMMMMMMMMPPPPPPPPP
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
31 Oct 2015 06:38 PM
BUMPERSSSSSS
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
31 Oct 2015 07:02 PM
Bippity bumpity booo
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
31 Oct 2015 07:34 PM
Bummmmmpssss
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
31 Oct 2015 07:59 PM
Bumps
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
31 Oct 2015 08:09 PM
Shabump
Report Abuse
Aexura is not online. Aexura
Joined: 06 Aug 2015
Total Posts: 265
31 Oct 2015 08:11 PM
We cant "improve" because we cannot see what happens visually. Make a GIF?

~ "Everything can change using just a keyboard." - Aexura ~
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
01 Nov 2015 09:10 AM
You dont need to read the script and it should give you an idea
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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