|
| 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 |
|
|
|
| 31 Oct 2015 06:15 PM |
| Bump or if this is wrong can you help me make a better one |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2015 06:19 PM |
| BUUUUUUUUUUUUUUUUUUUUUUMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMPPPPPPPPPPPPPIIIIIIIIIIIIITYYYYYYYYYYYYYYYY BUUUUUUUUUUUUUUUUMMMMMMMMMMMMMMPPPPPPPPP BUUMMMMMMMMMMMMMMMMPPPPPPPPP |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
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 |
|
|
|
| 01 Nov 2015 09:10 AM |
| You dont need to read the script and it should give you an idea |
|
|
| Report Abuse |
|
|