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: Sliding door[CanCollide problem.]

Previous Thread :: Next Thread 
K1D4 is not online. K1D4
Joined: 13 Jun 2013
Total Posts: 10006
13 Aug 2013 12:51 AM
Admins = {"K1D4", "KidaOdelay"} -- Put the names of your admins here.

door1 = game.Workspace.Doors.Door1 -- Make sure not to ungroup model "Doors"!
door2 = game.Workspace.Doors.Door2 -- Or these variables will be messed up!

opened = false

function onChatted(msg)

if string.find(string.lower(msg), string.lower("OPEN")) and
string.find(string.lower(msg), string.lower("LOUNGE")) then

if not opened then

opened = true

for i = 1, 29 do
wait(.025)
door1.CFrame = CFrame.new(door1.CFrame * Vector3.new(.1,0,0))
door2.CFrame = CFrame.new(door2.CFrame * Vector3.new(-.1,0,0))
end
end
end

if string.find(string.lower(msg), string.lower("CLOSE")) and
string.find(string.lower(msg), string.lower("LOUGNGE")) then

if opened then

for i = 1, 29 do
wait(.025)
door1.CFrame = CFrame.new(door1.CFrame * Vector3.new(-.1,0,0))
door2.CFrame = CFrame.new(door2.CFrame * Vector3.new(.1,0,0))
end

opened = false

end
end
end

game.Players.PlayerAdded:connect(function (guy)
for i,v in pairs(Admins) do
if string.lower(guy.Name) == string.lower(v) then
guy.Chatted:connect(onChatted)
end
end
end)


So how do I make it , when I say the command, it could also slide through other blocks?
I think it has something to do with CanCollide.
[PS: They slide apart from each other when I say a command/open, and back towards each other when I say close.]

◙ℐᾔᾔ◎√α⊥℮◙
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
13 Aug 2013 01:00 AM
Where did you get the auto siggy?
Can I have a link>
Report Abuse
K1D4 is not online. K1D4
Joined: 13 Jun 2013
Total Posts: 10006
13 Aug 2013 01:06 AM
Google chrome extension in the chrome store.

◙ℐᾔᾔ◎√α⊥℮◙
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
13 Aug 2013 01:07 AM
I have the extension but it doesnt work?
Link?
Report Abuse
K1D4 is not online. K1D4
Joined: 13 Jun 2013
Total Posts: 10006
13 Aug 2013 01:10 AM
https://chrome[DOT]google[DOT}com/webstore/detail/roblox-auto-signature/hbkjblojhhiigcklodheehnlmmjpibak?hl=en

Remove all the [DOT]s

◙ℐᾔᾔ◎√α⊥℮◙
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
13 Aug 2013 01:15 AM
I have that one but it doesnt work?
Help?
Report Abuse
soaprocks2 is not online. soaprocks2
Joined: 22 Nov 2008
Total Posts: 237
13 Aug 2013 03:49 AM
Doors anchored?
Report Abuse
davisky2 is not online. davisky2
Joined: 04 Mar 2012
Total Posts: 4710
13 Aug 2013 04:50 AM
well from start you would say:

local opened = Door1.CanCollide
local opened2 = Door2.CanCollide

-- :P
Report Abuse
K1D4 is not online. K1D4
Joined: 13 Jun 2013
Total Posts: 10006
13 Aug 2013 12:03 PM
They're anchored,

also, you have to go to
Settings>Extensions>Scroll to Roblox Auto-Signature>Options
Then enter your siggy and save.

◙ℐᾔᾔ◎√α⊥℮◙
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
13 Aug 2013 12:14 PM
I saved it as:


Are you against new chat bar?
Join my primary or: http://www.roblox.com/My/Groups.aspx?gid=929432
It doesnt work..
Report Abuse
K1D4 is not online. K1D4
Joined: 13 Jun 2013
Total Posts: 10006
13 Aug 2013 12:47 PM
I'm not sure...Hm, are you using the one made by mustyoshi?
[The link I sent.]

And did you save it as a message or a forum sig?

◙ℐᾔᾔ◎√α⊥℮◙
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