You can write your topic however you want, but you need to answer these questions:
What do you want to achieve?
Hello, in my game i have a button and on the button i have a security cover how can i make the cover goes up example : https://gyazo.com/5704403d59b6b70ee0a6d4016319bf28
(What is show in this example is the red cover over the button)
Oh and my cover contain 2 parts so i don’t know too how im gonna make them move.
What is the issue?
I don’t know how to do it.
What solutions have you tried so far?
I tried myself, check on forums.
I know tween service it’s the base just how to move the part?
Tween:Play() ? I don’t get what’s wrong.
I know that. It’s just the hinge movement
Why can’t you tween the position of the part to the desired one?
You don’t understand what im trying to do…
If i tween the positions its not gonna make this hinge movement like in the vid
There are TweeningStyles… I still don’t get it why you can’t do that.
You just don’t understand what im trying to do
I know. I already said that. Tweening can do what you’re trying to do.
I know that tween service can do this and i know how to do it it’s just the HINGE movement that i don’t understand
Oh. Well I am not sure they did it with Hinges.
Yes me too if they did with hinge so that’s why i ask
I manged to script the cover myself
(I’m not sure if I understand that topic correctly)
So what I use for stuff like that are CylindricalConstraints I enable LimitsEnabled (In the Slider category) and set the LowerLimit and the UpperLimit to 0. After that I enable AngularLimitsEnabled and set LowerAngle and UpperAngle to the default rotation. Then I use a script to set the LowerAngle and the UpperAngle with the TweenService.
Use CFrame.Angles with TweenService to achieve this effect. Here’s a tutorial on how to use CFrame.Angles with TweenService: E to Open Door | Proximity Prompt | Roblox Scripting Tutorial - YouTube
Why would you use a CylindricalConstraint when a HingeConstraint is simpler?
@Neplioz Tweens can also be used for door angles instead of for just moving a Part. For your application you can just use the Tween horizontally rather than vertically.
Need help with tweening a door around a hinge
Hello, thank you for your answer but i did it
Please mark your “managed to script the cover myself” post as the Solution so others don’t try to keep answering this post.