Script that I was making have an error because the script doesn't verify The Part as a moveable entity.I want to make an Elevator that actually move. And for those people who think that I'm suck at scripting I know, I just started at scripting like two days ago so I'm sorry and I'll try improve.?
So, here is how to make it : First, you need a part or union(model won't work)
Second, Duplicate the part and move it to where u want the part to go and copy its position
Third, Create a script and type this :
local TweenService = game:GetService("TweenService") -- You need this local thing = --put what you want to move local tweeening = TweenInfo.new( 0.5, --how fast you want the thing to move Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0 ) local up = {CFrame = CFrame.new(paste your position of the part here)} local tweenup = TweenService:Create(thing,tweeening,up) tweenup:Play()
Lastly, delete the part used for step 2
You can duplicate tweening or up or tweenup
This method works I used it for alot of my games
Or you can use this model : https://www.roblox.com/library/3898573023/tween