I am a 23 year old software developer that wants to help people code. I joined Roblox in late 2008, and I spent countless hours learning to code. I struggled a lot, but today I am working to create a resource that I wish I had back then. I create educational Roblox videos about Roblox scripting. All of my videos are family friendly!
Пікірлер
this might be an old video, but it still works. thank you, as without these videos i would have no door.
What happened? I used to watch you a lot. I’m your 8k sub!
Thank you so much! I’m making a game and this really helped 😁
THANK YOU JUST WASTED 1H ON A DOOR WHAT DOSENT WORK
It worked for me… I think you just typed it in wrong…
Not working. "Workspace.Example.Script:10: attempt to call a nil value"
it doesn't work for me the "e" to open door just doesn't appear, and I rechecked the video several times and I did everything correctly several times and it still didn't work?
it DOES work, but the button to open it only appears for a slights second for some reason so it doesnt let me open it anyways. Please update this tutorial it doesn't work in 2024
2 years no seen i hope u alr
local TweenService = game:GetService("TweenService") local hinge = script.Parent.Doorframe.hinge local prompt = script.Parent.base.ProximityPrompt local goalOpen = {} goalOpen.Cframe = hinge.CFrame * CFrame.Angles(0, math.rad(90), 0) local goalClose = {} goalClose.Cframe = hinge.CFrame * CFrame.Angles(0, 0, 0) local tweenInfo = TweenInfo.new(1) local tweenOpen = TweenService:Create(hinge, tweenInfo, goalOpen) local tweenClose = TweenService:Create(hinge, tweenInfo, goalClose) prompt.Triggered:Connect(function() if prompt.ActionText == "Close" then tweenClose:Play() prompt.ActionText = "Open" else tweenOpen:Play() prompt.ActionText = "Close" end end)
me toco venir para aca
it didnt work im going to kill myself
Thanks dude, it totally works! Tyvm! You will be the one to go to when I need RB Studio help!
Thank u for wasting my time
help me, it doesn't work for me. Please tell me where and how I made mistakes. (P.S:I named the parts of the door the same way as in the video) 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) 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) RightGoalClose prompt.triggered:Connect(function() RightTweenOpen:Play () end)
so uhh wdym by times? like how to do you type it on your keyboard?
why does the hinge move but not the door.
You didn't really cover changing pospitions
BRO WHY DO YOU FAKE UR VIDEOS LIKE THAT
i am doing EXACTLY what you say, but it is NOT WORKING!!!!!!!! hell, heres the code i got: local TweenService = game:GetService("TweenService") local door = script.Parent.door local hinge = script.Parent.hinge local prompt =door.ProximityPrompt local goalOpen = {} goalOpen.cframe = hinge.CFrame * CFrame.Angles(0, math.rad(90), 0) local goalClose = {} goalClose.cframe = hinge.CFrame * CFrame.Angles(0, 0, 0) local tweeninfo = TweenInfo.new(1) local tweenopen =TweenService:Create(hinge, tweeninfo, goalOpen) local tweenClose =TweenService:Create(hinge, tweeninfo, goalClose) prompt.Triggered:Connect(function () if prompt.ActionText == "Close" then tweenClose:Play() prompt.ActionText = "Open" else tweenopen:Play() prompt.ActionText = "Close" end end) tell me this isnt exactly what you told me to do, but it is NOT working!!!!!! i dont understand how its working perfectly for you, because mine wont move at all!!! sighhh... maybe ill see if a differant tutorial will actually work... ive been at this for hours and nothing is going right. im going to see if someone elses works right, or maybe tells me how to fix my problem. edit, i did find another video, and they had a differant skript, so i used that, so i dont know why yours wasnt working quite yet. they were both very simalur, but in some ways a bit differant, but i DID find out that i made one thing upper case there that wasnt supost to be uppercase, so that might have been my isuse here as well. this was helpful to learn about the code and stuff, tho! the other guy just gave me his code, so im glad you taught me about the code first tho! but, if anyone else is having troble and you dont know what it is, someone in the comments of the other guys video said theres a way to know what exactly is wrong with your code. basically, when playtesting, put /console into the chat and itll tell you if it found something wrong with the code, like in my case, an uppercase letter that shouldnt have been there. its great so you dont have to keep guessing what the problem is!!! id recomend this little tip to every single roblox dev! so i guess it was a combonation of both yalls videos that helped! thanks!!! yall really did help!! (sorry i lashed out, too. i was super frusterated cuz i couldnt figure out what was wrong, and i had more than one panic attack over this thing. very sorry...)
Script to touch part to turn on light
you kinda sound like moistkritikal imo lol
How do i make it that WHEN the door is opening, it can be passed through since its pretty annoying right now hitting it and stuff!
How to break a while wait() do?
Make a door that is locked a can be open with a key
Hey, it worked and I am forever grateful, just one question, how do you add sounds to it?
Wow thanks alot
How do i get the right side to rename it??
Are unioned parts unable to work with the tween service?
SCAM
wdym lol
I know this video is old but i want to make all of that on a detailed door, mine has a lot of parts so I connected the "weld" to all of my parts, and then I copied all what you wrote in the script, and it didn't work, can you tell me why?
did you unanchor the door part of the door
@@etl3nne I didnt anchor the main door parts and i anchored the "hinge" plus i placed "weld" in every single part i built, but ig its wrong.
For People who this doesn't worked out, just add the WeldConstraint And Weld The Door Plus The Hinge, I Expect This Helped Out😁
1:03 bro wdym?? Edit: doesn’t work bro
2:24 how do u get on the menu
BRO YOU HELPED ME SO MUCH, THANK YOU SO MUCH MAN!
thanks!
thx!
how do i make a touched function to the power cuz its hard
6:59 / 17:57 • Tweening a Part Roblox TweenService Tutorial 2021 | Roblox Studio CyberCreator 16.2K subscribers Subscribe 1.8K Share Download Thanks 57K views 2 years ago UNITED STATES Roblox TweenService is a great feature that lets you easily animate objects. I will show you how to use the tween service in this tutorial to tween parts and tween Guis. Tweening uses interpolation to calculate frames between two points. In this video, I cover functions for TweenService such as create. I explain what TweenInfo is and how to use tween info. … 160 Comments Add a comment... Pinned by CyberCreator @CyberCreator 2 years ago Did you find this tutorial helpful? Smash the like button for the algorithm boost! 64 Reply 10 replies @poglitschproductions 1 year ago This is what you get when you find a tutorial that gives all the little details out, you learn as much as you can. 7 Reply @natenakamura4776 2 years ago This helped me out a lot, you explain everything perfectly and I'm getting closer and closer to becoming a pro scripter. Keep it up! 1 Reply @insertusernamehere8125 1 year ago Thank you so much! I've always struggled remembering how to tween for some reason so I always had to rewatch videos to know how to do it, but this video put tweening in my memory! Reply @buddysalv1659 2 years ago best tutorial I’ve seen so far! you’re a great teacher, thank you so much :) Reply @kurdmajid4874 9 months ago (edited) bro what in the actual... dude this is the best tween tutorial. I leared so much dude you just earned your self a dang sub. tysm for that tutorial. 1 Reply @floof487 2 years ago Oh. My. God. The moment I watch this video in full, i’m a pro tweener. THANK YOU! 6 Reply @irfanhakim4617 2 years ago Wow, this is gold! You're teaching by using the API reference. That makes me more understanding of how to use it with no scares anymore... 7 Reply CyberCreator · 1 reply @dagreatrayz6307 1 year ago This was so good I subbed. Im pretty fresh to scripting so I dont exactly know what im doing but this looks easier the more I watch, Thank you. Reply @Papaintion 2 years ago Very formative. Good as always, Cyber! 4 Reply CyberCreator · 1 reply @Mr.Sparklez 2 years ago Amazing. Thank you for explaining it so clearly 1 Reply @belgaelr2380 2 years ago YES, a tween service tutorial Keep the good work! 5 Reply CyberCreator · 1 reply @ThatGuyNamedBender 1 year ago As a rule of thumb, the denial clause is faster for code execution. For instance when we are checking if it's a humanoid that touched the object it's actually faster to do this if not humanoid then return end; In my opinion it also just looks cleaner than nesting everything inside of an if statement. But other than that amazing tutorial 1 Reply @alex342gwsturk8 1 year ago as soon as i found out tween service i cant stop using it, god this thing is so damn usefull i made gates and so much more that was needed for my game, subscriber earned 2 Reply 1 reply @PlaguedStudios 1 year ago Dude this is perfect! Reply @jellybeann69420 2 years ago Thank you!! You are THE best roblox teacher i know. Thank you! <3 Reply @crossiscool6681 2 years ago Thanks man You earn a sub you really deserve it 1 Reply @frypan2746 2 years ago Great job as always, your the goat of tutorials 1 Reply CyberCreator · 1 reply @Avratix 1 year ago BRO THANK YOU SO MUCH YOU SOLVED MY PROBLEM Reply @mrsashimi4740 2 years ago I watched many video's but this is the only video that I understand what is tween service and now I understand what is tween service Reply @CheeseY420 1 year ago The TweenService is the best thing ever! Reply @tieudongnhon 2 years ago You're a legend... I- TYSM 1 Reply @Sky-ch7zw 1 year ago You're life saver, Thanks! Reply @babababa5958 2 years ago You are so underrated I hope you make it big soon 1 Reply CyberCreator · 1 reply @Katskas 2 years ago Yo bro thanks I was looking for this 1 Reply · 1 reply @DaRealBlazerBro 2 years ago Thanks. i'm using this for me creator boss rage mode transform. Reply @weldedflap2806 2 years ago thank you so much! im just a starter scripter but this will help me so much, thank you once again! 1 Reply · 1 reply @a.t.p.engineer7154 2 years ago Thanks now I know how to make parts turn transparent smoothly Reply · 1 reply @MezosAnimations 2 years ago you are so helpful you help me out so much Reply @DenLeft 2 years ago thank you man your a life saver 1 Reply · 1 reply @xuxhshshuajfjajfajfjada4012 2 years ago thank you! also is this good for a vibe game? i wanna make a game w it looking like the bus is actually driving Reply @younz3942 2 years ago You deserved a new sub 1 Reply · 1 reply @yannieqt2438 2 years ago idk what im going to type about but- Your videos are great! Amazing BOOOTIFUUUUL and WONDERFULLL xD lul :3 2 Reply · 2 replies @critsintheworld9696 1 year ago "thanks and have fun" -gabe newell Reply @user-pm1xi3et1m 2 years ago Idk for what i need this, but i watched :D 3 Reply · 2 replies @peterbakoss8803 2 years ago Great Video Thanks For Putting Effort to teach us robloc studio things..... Reply · 1 reply @Mo0No0 2 years ago This video helped me a lot but I'm struggling on the mouse enter and leave functions, I'm stuck and I want to know how to change position instead of size. My image always goes to the top left of my screen no matter what end position I have, is there any way you could consider making a video about it or somehow helping me? 1 Reply @mihay6643 2 years ago Awesome for begginers, thx 3 Reply · 1 reply @MarkwithK 2 years ago wow I really understand it now lol. other ppl that teaching the TweenService they just don't go much on detail about it 1 Reply · 1 reply @betrayedpickle291 2 years ago great vid! 1 Reply · 1 reply Chapters Sync to video time 7:22 NOW PLAYING Roblox TweenService - How To Tween Parts GnomeCode 65K views 1 year ago Mix NOW PLAYING Mix - CyberCreator More from this channel for you 6:12 NOW PLAYING How You SHOULD Tween Doors | Roblox Tweening Guide Paul1Rb 5.9K views 6 months ago 2:57 NOW PLAYING TweenService Made Easy ⚡ Roblox Scripting Tutorial jotslo 18K views 6 months ago 10:27 NOW PLAYING Can I Make a Movie With $1? Isaac Carlton 206K views 2 months ago 8:04 NOW PLAYING What are Module Scripts? Roblox Scripting Explained GnomeCode 121K views 2 years ago 5:34 NOW PLAYING goodbye roblox... KreekCraft 551K views Streamed 23 hours ago New 17:47 NOW PLAYING If I Cringe, I Install a Virus Basically Homeless 819K views 10 months ago 1:05:30 NOW PLAYING Kids Get Caught Lying For Video Games | Dhar Mann Dhar Mann Studios Top Videos 2.4M views 4 months ago 8:03 NOW PLAYING Roblox Is Banning Everyone Under 13... Chaseroony 226K views 1 day ago New 21:38 NOW PLAYING I Tried Airport Sleep Pods Ryan Trahan 6.1M views 3 days ago New 26:25 NOW PLAYING Weird Horror Games Danny Gonzalez 2.5M views 9 days ago 12:23 NOW PLAYING AI Plays Table Tennis b2studios 614K views 7 months ago 24:47 NOW PLAYING They Added a NEW CAMPAIGN to Bonelab. BamBaeYoh 35K views 2 days ago New 8:09 NOW PLAYING How long can I survive a zombie apocalypse in Minecraft?? Greg Renko Gaming 135K views 1 year ago 11:57 NOW PLAYING ROBLOX ELEVATOR BUT HORRIBLE Flamingo 696K views 1 day ago New 9:24 NOW PLAYING roblox banned me again KreekCraft 485K views Streamed 2 days ago New 10:33 NOW PLAYING 5 Rec Room Creators Make a Room WITHOUT COMMUNICATION! BVR 54K views 3 weeks ago 9:17 NOW PLAYING Tweening Tutorial for Dummies - Roblox ByteBlox 5.3K views 5 months ago 12:14 NOW PLAYING How to Tween / Animate a Door [2021 Tutorial] - Roblox Syreno 54K views 3 years ago 9:08 NOW PLAYING I Became a Moderator in Big Scary... jmancurly 434K views 2 days ago New 1:48:06 NOW PLAYING Scrolling To The Bottom of KZread Shorts... KreekCraft 673K views Streamed 3 days ago New 10:42 NOW PLAYING What Is The Best AI For Roblox Studio Scripting? RoDev 339K views 8 months ago 1:13:22 NOW PLAYING Cars With Suspension - Roblox Scripting Tutorial Suphi Kaner 63K views 1 year ago 8:41 NOW PLAYING If You're a DEVELOPER You NEED to Know These Dev Hacks... (Roblox) RoBuilder 842K views 2 years ago 20:35 NOW PLAYING How to make realistic rain in Roblox Studio RKGAM3ZS 2.1K views 9 days ago 46:00 NOW PLAYING Can I Beat Simple Internet Games? Jonkerton 270K views 7 months ago 19:22 NOW PLAYING 18 DEADLY Tech Fails that need to be BANNED. Mrwhosetheboss 10M views 1 year ago
My door opens upward :/
You can fix this by shifting the math.rad. It should be: goalOpen.CFrame =hinge.CFrame * CFrame.Angles(math.rad(90), 0, 0)
what are these brackets? are they: {} because i cant see them
Thank You
I wondering if you can teach how if you own a gamepass a script is enabled locally
i did everything right and it didnt work 😭
how do you edit what it looks like
thanks so much man, I knew how to get sound effects and play them but the fact that it was playing globally confused me so much. great vid!
i scripted everything properly and it’s still not opening, is it outdated? nvm, i figured out what i did wrong!
1:04 Where is the "create" button now?
Thank you so much the code actually worked and I'm a starter at game creation and scripting thank you bro
I cant find the weld tool
thanks you helped me learned a lot of new things. i never knew there was a hovering this before, and i learnt it thanks to you, you've earned another sub
gulp gulp gulp