Sliding Door Roblox Studio Tutorial

  Рет қаралды 100,487

CyberCreator

CyberCreator

Күн бұрын

Пікірлер: 474
@CyberCreator
@CyberCreator 3 жыл бұрын
Like the video if it helped you out! Comment your questions below or ask in the discord discord.gg/X3zdqHy
@youtuberpapope6534
@youtuberpapope6534 3 жыл бұрын
the code is not visible, because it is small. enlarge please!
@youtuberpapope6534
@youtuberpapope6534 3 жыл бұрын
make videos truer, edited with zoom and so on. the sound is good but the video is not good
@youtuberpapope6534
@youtuberpapope6534 3 жыл бұрын
ctrl+scroll zoom
@boygamerplayz3027
@boygamerplayz3027 3 жыл бұрын
Sorry if I missed it, but is it possible to change the speed, I mean. if course it is, but cna I edit the same script or do I have to go through a lot of other stuff.
@ZBoyIncOfficial
@ZBoyIncOfficial 3 жыл бұрын
@@boygamerplayz3027 Set TweenInfo.New(Speed) In seconds.
@bats_n
@bats_n 3 жыл бұрын
Still the best tutorial channel :D
@CyberCreator
@CyberCreator 3 жыл бұрын
Glad you think so!
@usee3
@usee3 3 жыл бұрын
Yes
@tryserama9823
@tryserama9823 2 жыл бұрын
I agree
@Aviation_sweden
@Aviation_sweden Жыл бұрын
​@@CyberCreatorthe right door doesn't close
@WagstaffDontStarve
@WagstaffDontStarve 2 жыл бұрын
you can move grouped parts by creating a union by selecting all the parts you want and going to model>union also make sure you have the part that you linked to the attachment's name instead of "Top" (unless it is Top) as shown in the video, hope this helps someone, took a day or two of head scratching
@tonypepporoni1271
@tonypepporoni1271 Жыл бұрын
You mean like the door, oh jesus christ...
@voxjmc
@voxjmc Жыл бұрын
I can't make it double materialed then
@kingderpygoat
@kingderpygoat 2 жыл бұрын
Saved me so much future time, Had no idea the replace tool existed! Tysm for this amazing tutorial too! I converted it into a duel lever system for a puzzle
@Z4ckStudios
@Z4ckStudios 2 жыл бұрын
yknow, what's hilarious about sliding doors is, I used to think the mat they placed in front of the automatic doors at stores were the things that activated the doors lol
@dorkydork4338
@dorkydork4338 Жыл бұрын
Thank you so much! This helped me a lot! :D For future people who was stuck on the same problem as me: If your doors are not opening in the X direction just move over the "leftDoor.Size." to whatever direction you are going into.
@Marco-yn6wj
@Marco-yn6wj Жыл бұрын
i didnt understand
@heyemilioo.
@heyemilioo. 8 ай бұрын
@@Marco-yn6wjsame
@cheese7309
@cheese7309 Жыл бұрын
if you want to have the door open and close with 1 press you can replace the function with this: prompt.Triggered:Connect(function(player) leftTweenOpen:Play() rightTweenOpen:Play() prompt.Enabled = false wait(2) -- how long you want the door to be open for leftTweenClose:Play() rightTweenClose:Play() wait(1) prompt.Enabled = true prompt.ActionText = "Open" end)
@Marco-yn6wj
@Marco-yn6wj Жыл бұрын
It seems like ur a good scripter, so can u help me? When i open my door it goes in a vertical way, not horizontal. What I do?
@Marco-yn6wj
@Marco-yn6wj Жыл бұрын
@@legoguy2511 How do I try this?
@H3speria.
@H3speria. 11 ай бұрын
it doesnt work.
@titifazeli2578
@titifazeli2578 4 ай бұрын
Wow! This works thank you so much!
@eodlwl
@eodlwl 2 жыл бұрын
Thank you! It took me a while but it turned out awesome. I removed the left doors script as I wanted it to be more of a Korean sliding door
@vii3081
@vii3081 3 жыл бұрын
Hi CyberCreator! I just subscribed just now I really liked your tutorials. If you don't mind I have a question. Can you make a proximity prompt Sliding/Normal Door with a key to open it?
@CyberCreator
@CyberCreator 3 жыл бұрын
Thanks for the idea! A decent number of people have suggested that so definitely! Join the discord to get help sooner discord.gg/X3zdqHy
@TheCycloneMirage
@TheCycloneMirage 3 жыл бұрын
Remember when I used to watch you daily, think it’s time to get back to doing it.
@CyberCreator
@CyberCreator 3 жыл бұрын
Sweet! I'll be posting even more now!
@LucaXtagVtag
@LucaXtagVtag 3 ай бұрын
Thank you for the tutorial, I followed the script and when I tested my game, tried to click or left click it Tweens so smoothly & perfect and it does indeed work in my game. :) 👍
@ERROR-MODE
@ERROR-MODE 3 жыл бұрын
This really helped me with my Military Base. Because I wanted it to take longer to break into it so with an E Prompt, I can make it as long as I want.
@anstupidguy_bread8884
@anstupidguy_bread8884 2 жыл бұрын
nice ;D
@Wuggahlol-new
@Wuggahlol-new 11 ай бұрын
here is the script if you didn't want to type it in : local TweenService = game:GetService("TweenService") local model = script.Parent local leftDoor = model.LeftDoor local rightDoor = model.RightDoor local prompt = model.Top.Attachment.ProximityPrompt local tweenInfo = TweenInfo.new(1) local leftGoalOpen = {} local leftGoalClose = {} leftGoalOpen.CFrame = leftDoor.CFrame * CFrame.new(leftDoor.Size.X, 0, 0) leftGoalClose.CFrame = leftDoor.CFrame local leftTweenOpen = TweenService:Create(leftDoor, tweenInfo, leftGoalOpen) local leftTweenClose = TweenService:Create(leftDoor, tweenInfo, leftGoalClose) local rightGoalOpen = {} local rightGoalClose = {} rightGoalOpen.CFrame = rightDoor.CFrame * CFrame.new(-rightDoor.Size.X, 0, 0) rightGoalClose.CFrame = rightDoor.CFrame local rightTweenOpen = TweenService:Create(rightDoor, tweenInfo, rightGoalOpen) local rightTweenClose = TweenService:Create(rightDoor, tweenInfo, rightGoalClose) prompt.Triggered:Connect(function(player) if prompt.ActionText == "Close" then leftTweenClose:Play() rightTweenClose:Play() prompt.ActionText = "Open" else leftTweenOpen:Play() rightTweenOpen:Play() prompt.ActionText = "Close" end end) EDIT : i fixed the error
@jarslay549
@jarslay549 11 ай бұрын
Thanks
@Wuggahlol-new
@Wuggahlol-new 11 ай бұрын
@@jarslay549 yw
@DaLegendOfPopCats
@DaLegendOfPopCats 2 ай бұрын
Your my goat you saved me so much time ong 🔥🔥🔥🔥
@acquiresanity
@acquiresanity 2 жыл бұрын
This was super helpful and really detailed, thanks for the help!
@novuss834
@novuss834 3 жыл бұрын
Holy shit, this video really helped me understand how Proximity Prompt's work. Thank you so much.
@frypan2746
@frypan2746 3 жыл бұрын
nice video!!! I like watching your videos a lot
@frypan2746
@frypan2746 3 жыл бұрын
If you need a video suggestion: “how to think of a great Roblox game idea” I think this will help a lot of people (especially me lol)
@CyberCreator
@CyberCreator 3 жыл бұрын
Glad you like them! Your video suggestion is in my list!
@betrayedpickle291
@betrayedpickle291 3 жыл бұрын
i actually needed this lol hope one day my vids will be good as yours btw it’s p1ckL from discord
@CyberCreator
@CyberCreator 3 жыл бұрын
Sweet! I'll check out your videos! Nothing beats practice!
@General_JJ
@General_JJ 3 жыл бұрын
You literally solved the problem I've been having for 2 days thank you so much!
@CyberCreator
@CyberCreator 3 жыл бұрын
Awesome!
@yannieqt2438
@yannieqt2438 3 жыл бұрын
Why is ur video is the best i cant believe it your the best ytber ever!
@CyberCreator
@CyberCreator 3 жыл бұрын
Thanks!
@yannieqt2438
@yannieqt2438 3 жыл бұрын
@@CyberCreator wc!
@nixonburns9300
@nixonburns9300 3 жыл бұрын
Hey I'm just wondering I copied it down and for some reason my doors open on the z axis rather than the x axis.
@cloudyyt6487
@cloudyyt6487 2 жыл бұрын
this actually helped because im making a fnaf game and u need opening and closing doors
@Oklahoma_was_taken
@Oklahoma_was_taken 9 ай бұрын
Thank you so much the code actually worked and I'm a starter at game creation and scripting thank you bro
@robloxianbo
@robloxianbo 3 жыл бұрын
Wow! Nice video!
@CyberCreator
@CyberCreator 3 жыл бұрын
Thank you!
@Neptuneofficialyt
@Neptuneofficialyt 3 жыл бұрын
New subscriber :D
@CyberCreator
@CyberCreator 3 жыл бұрын
Thanks for subbing!
@thatlittlefroge
@thatlittlefroge 3 ай бұрын
how do you make it slower lets say for a bigger door, thanks in advance
@MrFudgeYT
@MrFudgeYT 3 жыл бұрын
I can say that you are doing very good job
@CyberCreator
@CyberCreator 3 жыл бұрын
Thanks!
@simpler1563
@simpler1563 3 жыл бұрын
If you fail this is the script! :local TweenService = game:GetService("TweenService") local model = script.Parent local leftDoor = model.LeftDoor local rightDoor = model.RightDoor local prompt = model.Top.Attachment.ProximityPrompt local tweenInfo = TweenInfo.new(1) local leftGoalOpen = {} local leftGoalClose= {} leftGoalOpen.CFrame = leftDoor.CFrame * CFrame.new(leftDoor.Size.X, 0, 0) leftGoalClose.CFrame = leftDoor.CFrame local leftTweenOpen = TweenService:Create(leftDoor, tweenInfo, leftGoalOpen) local leftTweenClose = TweenService:Create(leftDoor, tweenInfo, leftGoalClose) local rightGoalOpen = {} local rightGoalClose= {} rightGoalOpen.CFrame = rightDoor.CFrame * CFrame.new(-rightDoor.Size.X, 0, 0) rightGoalClose.CFrame = rightDoor.CFrame local rightTweenOpen = TweenService:Create(rightDoor, tweenInfo, rightGoalOpen) local rightTweenClose = TweenService:Create(rightDoor, tweenInfo, rightGoalClose) prompt.Triggered:Connect(function() if prompt.ActionText == "Close" then leftTweenClose:Play() rightTweenClose:Play() prompt.ActionText = "Open" else leftTweenOpen:Play() rightTweenOpen:Play() prompt.ActionText = "Close" end leftTweenOpen:Play() rightTweenOpen:Play() end)
@piecrust8622
@piecrust8622 2 жыл бұрын
Thank you so much!
@capevelvet2700
@capevelvet2700 2 жыл бұрын
i love you
@simpler1563
@simpler1563 2 жыл бұрын
@@capevelvet2700 dad?
@nik56mh6
@nik56mh6 2 жыл бұрын
I have a problem with CFrame :(
@simpler1563
@simpler1563 2 жыл бұрын
@@nik56mh6 What happended
@Flex1b0b-_-
@Flex1b0b-_- Жыл бұрын
thansk for this tutorial its the first youtube tutorial that actually works lol
@tiko3267
@tiko3267 3 жыл бұрын
you helped me out to make a military gate thank you
@CyberCreator
@CyberCreator 3 жыл бұрын
Nice! Glad I could help with that!
@aziel.212
@aziel.212 3 жыл бұрын
Im doing this rn and the door wont move for some reason. does being a model affect it in any way?
@--------_
@--------_ 3 жыл бұрын
I don't really know, maybe you should go in the discord to be in contact with him.
@BestJelq
@BestJelq 3 жыл бұрын
It only moves the 2 door parts, if you want it to move more parts either make a union and make it to the correct name. Or you can add an additional script line into the script for it.
@thevalencian
@thevalencian 3 жыл бұрын
​@@BestJelqAnd what script line would you have to put to do that; for the model/group of parts, to be able to be used as a door like the other doors?
@allstartruckcatches1400
@allstartruckcatches1400 3 жыл бұрын
Instantly subbed, great help.
@CyberCreator
@CyberCreator 3 жыл бұрын
Thanks!
@thegamingkids2239
@thegamingkids2239 8 ай бұрын
what are these brackets? are they: {} because i cant see them
@Huss.1
@Huss.1 2 жыл бұрын
« إِنَّ اللَّهَ وَمَلَائِكَتَهُ يُصَلُّونَ عَلَى النَّبِيِّ ۚ يَا أَيُّهَا الَّذِينَ آمَنُوا صَلُّوا عَلَيْهِ وَسَلِّمُوا تَسْلِيمًا »
@randomfset
@randomfset 2 жыл бұрын
Quick question. How do you make click detector buttons do the job? Could you maybe make a tutorial on how to make some green and red buttons that open and close the doors?
@misaelheredia
@misaelheredia Жыл бұрын
are you planning a fnaf game or something?
@Nomjeeb_b
@Nomjeeb_b 3 жыл бұрын
idea : make a proximity prompt when you press e money lost (leaderstats) and get a tool , clone to workspace (both)
@CyberCreator
@CyberCreator 3 жыл бұрын
I will definitely do some videos like this soon. I plan on showing how to make all of the fundamentals of a game that work together. Like a data store + leaderstats + inventory + shop etc.
@teodos3881
@teodos3881 3 жыл бұрын
I don't know why it never works. I've re-watched this 3 times already typing the script correctly doing it step by step and it still doesnt work.
@patojaja9724
@patojaja9724 3 жыл бұрын
Yo creo que si quieres hacer una puerta que funcione tanto en el eje X como en el eje Z es una buena idea hacer la puerta con prismáticos! (Es un poquito más práctico a largo plazo)
@wiskers9331
@wiskers9331 3 жыл бұрын
for the people who said "why is it not working" you might messed up the script or something else rewatch the whole video
@CyberCreator
@CyberCreator 3 жыл бұрын
Thanks! It still works, but people can easily make small mistakes that cause issues!
@duckywashere684
@duckywashere684 3 жыл бұрын
thank god You just saved my life So good video
@kfed8324
@kfed8324 Жыл бұрын
So useful, thanks bro it helped alot
@НосатыйЧел
@НосатыйЧел 3 жыл бұрын
Cool sliding doors!
@CyberCreator
@CyberCreator 3 жыл бұрын
Thanks!
@kotomalas
@kotomalas 2 жыл бұрын
Thanks! This help me alot for my prison game: D
@Wertyhappy27
@Wertyhappy27 3 жыл бұрын
Still a good channel to go to for script help
@CyberCreator
@CyberCreator 3 жыл бұрын
Thank you!
@theemperoranimations3797
@theemperoranimations3797 2 жыл бұрын
For anyone who doesn't want the edges of the doors to be visible upon opening (because it looks all glitchy) here's a fix: leftGoalOpen.CFrame = leftDoor.CFrame * CFrame.new(leftDoor.Size.X + 0.1, 0, 0) -- on line 12 rightGoalOpen.CFrame = rightDoor.CFrame * CFrame.new(rightDoor.Size.X - 0.1, 0, 0) -- on line 18
@mr.crispymemes8857
@mr.crispymemes8857 2 жыл бұрын
It doesnt work
@theemperoranimations3797
@theemperoranimations3797 2 жыл бұрын
@@mr.crispymemes8857 did you do the + and - signs right
@theemperoranimations3797
@theemperoranimations3797 Жыл бұрын
@@legoguy2511 np bro 👍
@SilentR1der
@SilentR1der Жыл бұрын
i dont think it works
@colb8986
@colb8986 Ай бұрын
Even though I did this with the click service it was pretty easy to translate it over
@FLAMETHERAGER
@FLAMETHERAGER 3 жыл бұрын
This helped me a lot, Thank you.
@ghostreaperlord5944
@ghostreaperlord5944 3 жыл бұрын
ayo bro those tags at the bottom genius
@belgaelr2380
@belgaelr2380 3 жыл бұрын
Will you ever make a tutorial for teleporting player ? the "Player.char.Vector3.new.position = (~,~,~)" does not work at all btw nice video
@CyberCreator
@CyberCreator 3 жыл бұрын
I talk about it briefly toward the end of my video on TeleportService. Try setting the CFrame instead. I will make a video dedicated to that soon though
@belgaelr2380
@belgaelr2380 3 жыл бұрын
@@CyberCreator Oh alright thank you so much
@zxfeared
@zxfeared 3 жыл бұрын
@@CyberCreator Can't you just use sender.CFrame = reciever.CFrame
@Blue-Transport
@Blue-Transport 2 жыл бұрын
Hi, I scripted and built the door like you did, but none of the doors opened when I did the test
@neromh
@neromh 4 ай бұрын
Same
@blueymia7859
@blueymia7859 3 жыл бұрын
I have a question can u make a video about like making a game like from A to Z even if it is simple all the scripts and all and ur channel is so underrated new subbie
@CyberCreator
@CyberCreator 3 жыл бұрын
Yes. I am planning on that now. I won't to make a tutorial on how to make all of the fundamentals separately as well so anyone can easily have a game with data stores, points, inventories, shops, menus, etc.
@blueymia7859
@blueymia7859 3 жыл бұрын
@@CyberCreator tysm
@Jetblck
@Jetblck 3 жыл бұрын
love you so much, thanks for the tutorial!
@25000Sand
@25000Sand 2 жыл бұрын
THANK YOU SO MUCH! If i could i would've gave you a kiss on the cheek for how much you helped me and how much i learned from you! Thank you so much!
@25000Sand
@25000Sand 2 жыл бұрын
Also is there a way to change the speed of the movement?
@pressedin
@pressedin 2 жыл бұрын
@@25000Sand 4:05 Lol
@25000Sand
@25000Sand 2 жыл бұрын
@@pressedin yeah i managed to figure that out myself
@pressedin
@pressedin 2 жыл бұрын
@@25000Sand gotcha
@threasto
@threasto Жыл бұрын
I know I'm a year late, but you can make if statements to check if each part of the door is open or not and then change the goals in there. This will half the amount of tweens you'd need to accomplish this.
@lemurhotel0
@lemurhotel0 Жыл бұрын
omg me to lol
@lemurhotel0
@lemurhotel0 Жыл бұрын
whay
@lemurhotel0
@lemurhotel0 Жыл бұрын
what
@lemurhotel0
@lemurhotel0 Жыл бұрын
why can you reply to every message? EVER.
@PinkLasers
@PinkLasers 3 жыл бұрын
Omg thank you so much! this is the 4th video I've tried to make my door work and it finally works! Do you know how to make it so you use an animation to open the door? Or sound?
@rodrigocorreia4958
@rodrigocorreia4958 3 жыл бұрын
It didn't work for me, I watched the video five times and I checked the script. Nvm I got it. I had to change the distance that the door would go (I just started scripting so I didn't know lol). Thank you, nice video, subscribed.
@nospeak3319
@nospeak3319 3 жыл бұрын
7:57 lol I'm confuse because my left door moved a little bit forward but my script is not the problem because I pasted my code to your model then it work so idk why mine did not work but do you know why? edit: nvm found the problem also good video
@CyberCreator
@CyberCreator 3 жыл бұрын
Glad you figured it out! Thanks!
@thecatomg
@thecatomg 2 жыл бұрын
This helped me a lot Thanks!
@CamrynJyante
@CamrynJyante Жыл бұрын
Thank you this is great for my clothing store on roblox
@DahlSnowHawk
@DahlSnowHawk 2 жыл бұрын
Hey uh, do you kniw how i can add sounds for opening and closing the door? Im new at roblox scripting stuff.
@Quilltonic
@Quilltonic 9 ай бұрын
I loved the tutorial but can you also ad a variation were it opens then after say 1 second it closes
@dizzydude2840
@dizzydude2840 Жыл бұрын
amazing, absolutely perfect
@Kysouu_
@Kysouu_ 3 жыл бұрын
Does it not work with certain parts, because I have tried so many times for this but it still seems to not open.
@Grassplant2012
@Grassplant2012 Жыл бұрын
Great video! I just want to know how to add sounds when the door is activated.
@BroironxAviation
@BroironxAviation Жыл бұрын
I think you gotta make a script in the proximityprompt to make your sound play
@2ciety
@2ciety Жыл бұрын
go to your script and right under prompt.Triggered:Connect(function() put model.Sound:Play()
@LolzLiamz
@LolzLiamz 2 жыл бұрын
Do I need to make it just 1 part, or will it work with grouped stuff?
@LGNFlamez
@LGNFlamez 3 жыл бұрын
Tysm!!!! (Idea: Key To open door animated)
@logcentral7665
@logcentral7665 3 жыл бұрын
can you give me the script for the door opening bc it doesnt want to work, i checked looked at my script and ur script side bt side but i could find anything
@CyberCreator
@CyberCreator 3 жыл бұрын
www.roblox.com/library/6760216284/Proximity-Prompt-Sliding-Doors Thanks for watching!
@logcentral7665
@logcentral7665 3 жыл бұрын
@@CyberCreator thank you
@woodslander8157
@woodslander8157 2 жыл бұрын
even though this was a year ago this guy is a awesome tutorial guy!
@louie3320
@louie3320 3 жыл бұрын
Hi, how can I slow the door down? It is opening way too quick for me!
@garry69696
@garry69696 Жыл бұрын
How would I script a sound which is being plazed upon pressing the E button
@tr4inmaster
@tr4inmaster Жыл бұрын
late reply, this actually is really easy, first get any sound you want, rename it to Sound then place it into the model, after goto your script and right under prompt.Triggered:Connect(function() put model.Sound:Play(), i tested this so hopefully it works for you!
@garry69696
@garry69696 Жыл бұрын
@@tr4inmaster Thank you so much!
@tr4inmaster
@tr4inmaster Жыл бұрын
@@garry69696 np glad to help :)
@peterbakoss8803
@peterbakoss8803 3 жыл бұрын
Great video
@CyberCreator
@CyberCreator 3 жыл бұрын
Glad you enjoyed it!
@onetruthonemessage5306
@onetruthonemessage5306 2 жыл бұрын
Is there a way to make the right door go forward and the left door go backward, or vice versa?
@ltypicallegend1692
@ltypicallegend1692 Жыл бұрын
Just change the new Cframe's value to the direction you want.
@CodexFiasco
@CodexFiasco 2 жыл бұрын
Chance you could do it for a jail cell? So like its only one door?
@jaiSTARZs
@jaiSTARZs 5 күн бұрын
can u make one with a click detector
@eduardofreitas4911
@eduardofreitas4911 3 жыл бұрын
How can I alter the script to make grouped parts move, instead of welding parts onto other parts?
@elestupido9482
@elestupido9482 2 жыл бұрын
Same thing for me. He doesn't reply to comments anymore, I don't think.
@kreatywnanazwa9676
@kreatywnanazwa9676 2 жыл бұрын
Will the door glitch if we spam E? And is this going to work if we rotate it?
@savrna__
@savrna__ 3 жыл бұрын
you can do the bombardier movie 346 train with open, close button, controls, opening close door pls i need for my game
@Marco-yn6wj
@Marco-yn6wj Жыл бұрын
It seems like ur a good scripter, so can u help me? When i open my door it goes in a vertical way, not horizontal. What I do?
@ryu.-
@ryu.- Жыл бұрын
are you sure you did this part correctly? leftGoalOpen.CFrame = LeftDoor.CFrame * CFrame.new(LeftDoor.Size.X, 0, 0)
@Cr4ZyCaptain
@Cr4ZyCaptain 4 күн бұрын
my doors orientation is to the left of the actual way its facing so when i put in for it to move to the X it move backwards tried all X,Y and Z but they all go the wrong way can anyone help?
@Trans_F1sh
@Trans_F1sh 10 ай бұрын
the code if you need it local TweenService = game:GetService("TweenService") local model = script.Parent local leftDoor = model.RightDoor local rightDoor = model.LeftDoor local prompt = model.Top.Attachment.ProximityPrompt local tweenInfo = TweenInfo.new(1) local leftGoalOpen = {} local leftGoalClose = {} leftGoalOpen.CFrame = leftDoor.CFrame * CFrame.new(-leftDoor.Size.X, 0, 0) leftGoalClose.CFrame = leftDoor.CFrame local leftTweenOpen = TweenService:Create(leftDoor, tweenInfo, leftGoalOpen) local leftTweenClose = TweenService:Create(leftDoor, tweenInfo, leftGoalClose) local rightGoalOpen = {} local rightGoalClose = {} rightGoalOpen.CFrame = rightDoor.CFrame * CFrame.new(-rightDoor.Size.X, 0, 0) rightGoalClose.CFrame = rightDoor.CFrame local rightTweenOpen = TweenService:Create(rightDoor, tweenInfo, rightGoalOpen) local rightTweenClose = TweenService:Create(rightDoor, tweenInfo, rightGoalClose) prompt.Triggered:Connect(function(player) if prompt.ActionText == "Close" then leftTweenClose:Play() rightTweenClose:Play() prompt.ActionText = "Open" else leftTweenOpen:Play() rightTweenOpen:Play() prompt.ActionText = "Close" end end)
@Arc_Lucaris
@Arc_Lucaris 2 жыл бұрын
Is there any way you could add sound to the sliding door? Because i want to add sound to my door.
@tr4inmaster
@tr4inmaster Жыл бұрын
late reply, this actually is really easy, first get any sound you want, rename it to Sound then place it into the model, after goto your script and right under prompt.Triggered:Connect(function() put model.Sound:Play(), i tested this so hopefully it works for you!
@Arc_Lucaris
@Arc_Lucaris Жыл бұрын
@@tr4inmaster I didn’t think id get a response a year later by thank you very much. It actually helped me. Thanks!
@tr4inmaster
@tr4inmaster Жыл бұрын
@@Arc_Lucaris no problem man glad to help :)
@jared1x78
@jared1x78 3 жыл бұрын
Anyway to make it where the door makes a sfx when you open and close?
@ivmark8874
@ivmark8874 3 жыл бұрын
local TweenService game: Getservice ("TweenService") local model = script.Parent local leftDoor model.Left Door local right Door model.RightDoor local prompt = model. Top.Attachment.ProximityPrompt local tweenInfo = TweenInfo.new (1) local leftGoal0pen local leftGoalclose = {} %3D { } prompt. Triggered:Connect (function () end)
@МаркНикифоров-й3в
@МаркНикифоров-й3в 2 жыл бұрын
why it say a error but i do what in video
@LJohnsonStudios
@LJohnsonStudios 2 жыл бұрын
im trying to make a door where the individual doors are made with many parts and it wont work i think it has something to do with that but i dont know how to fix it any advice would be appreciated (it keeps saying that CFrame isnt a valid member of the door)
@cyberpunkchaoscollective
@cyberpunkchaoscollective 3 жыл бұрын
Can I make juts one door move? im making a japanese sliding door so I was wondering
@lubicussalt386
@lubicussalt386 3 жыл бұрын
Hey man I did it but my door just goes sideways its kinda confusing to describe but I was wondering if you could help me with it.
@bitfx5645
@bitfx5645 2 жыл бұрын
i subbed :DDD
@someone89011
@someone89011 5 ай бұрын
my left and right door is in a group like it's not just one part. it didn't worked idk how to solve it
@ZackNathan41
@ZackNathan41 Жыл бұрын
How do i make the trigger on 2 different parts? I want to make a gate with 2 buttons.
@davidmolin8944
@davidmolin8944 Жыл бұрын
so question but how would i make this work with more than 1 part, im trying to make a door which has multiple parts in the group open and rn only 1 part opens while the rest don't move, is there anyway or do i need to union all the parts together?
@davidmolin8944
@davidmolin8944 Жыл бұрын
update: i just welded the parts to one another and it fixed the problem, if someone has a better solution please tell me but otherwise i'll be using this one for now(i also didn't watch until the end of the video if i had i would've realized he went through this lol)
@professordiabeetus785
@professordiabeetus785 3 жыл бұрын
How would you do it if you wanted to make the door slide up?
@cameraman3711
@cameraman3711 3 жыл бұрын
Is there a way to make a keycard ready out of it? or maybe with a “Press e to open” “you have access to this door with your clearance level(“
@InfiniteGamer236
@InfiniteGamer236 2 жыл бұрын
hey man, the tutorial is really helpful but i have a question. i have multiple parts in my right and left door and there is no main part of the door, what should i do now?
@hypernov.a
@hypernov.a 2 жыл бұрын
im no expert but maybe try grouping the parts using control g and naming them appropiately
@InfiniteGamer236
@InfiniteGamer236 2 жыл бұрын
@@hypernov.a i found out how to do it, i had to use a different script and weld all the parts together my friend helped me on that
@Spacedzz
@Spacedzz 2 жыл бұрын
This is a great! But I wanted to make it so that a rock to the side of it has a has a click detector on it and when pressed the sliding door would open, I do not know how to do this but do you?
@degaminglionnl9896
@degaminglionnl9896 2 жыл бұрын
CyberCreator you know how to add Group Ranks on it
@JohnsonAttackThatBoomcannon
@JohnsonAttackThatBoomcannon 3 жыл бұрын
How do you add in sounds, just asking.
@CyberCreator
@CyberCreator 3 жыл бұрын
Check out this video kzbin.info/www/bejne/rYqul2Wvgt-tnck
@SepJune
@SepJune 3 жыл бұрын
THIS DOES NOT HELP ME :( i got form the thing and it makes two idk why its broken
@heatherlooney3153
@heatherlooney3153 2 жыл бұрын
I made my own core design for this to make a thing for core games
@paweszutowicz5732
@paweszutowicz5732 Ай бұрын
just pinpointing my progress since i have to go to sleep soon and i cant stay up scripting, 4:11
@TankedXio
@TankedXio 2 жыл бұрын
Hi man,i have a problem with this door,the problem is i can only put 1 part and cant put a model that i made,how do i do that?
E to Open Door | Proximity Prompt | Roblox Scripting Tutorial
11:00
CyberCreator
Рет қаралды 271 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
What Is The Best AI For Roblox Studio Scripting?
10:42
RoDev
Рет қаралды 474 М.
I Recreated Arcane With $0
15:01
Noggi
Рет қаралды 979 М.
Animated Door Tutorial - Roblox Studio 2021
12:37
Ixkryptzon
Рет қаралды 148 М.
Nuclear Engineer Reacts to The Roblox Nuclear Power Disaster
14:20
T. Folse Nuclear
Рет қаралды 790 М.
Roblox Module Scripts (The Right Way)
15:20
qweekertom
Рет қаралды 25 М.
Roblox TweenService Tutorial 2021 |  Roblox Studio
17:58
CyberCreator
Рет қаралды 60 М.
How to Make Automatic Sliding Doors | Roblox Scripting Tutorial
12:19
Why Roblox Studio is Confusing For Beginners
15:22
ByteBlox
Рет қаралды 140 М.
Roblox Studio: How To Make An Actual Animated Door
16:46
A Living Brick
Рет қаралды 3,8 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН