How to make tweenservice work in fe2

Like this is supposed to move but it doesn’t.

Show the script

This is the script

local PartToMove = workspace.Lazer1 – part, which you want to move
local PointPart = workspace.PointPart – where PartToMove should go

local TweenService = game:GetService(“TweenService”) – getting the service

local TweenInformation = TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.In, -1, true, 0.1) – TweenInfo

local tween = TweenService:Create(PartToMove, TweenInformation, {Position = PointPart.CFrame.Position }) – creating tween

tween:Play() – start tween

@thatdenimatedboi you left him hanging

sus be

I haven’t identify the problem

I think it’s the movetopart problem but idk

You’ll have to ask @Kriscross102RB about it

CFrame.Position doesn’t work for tweening. Just do CFrame

1 Like

CFrame.Position exists lol, you have to tween CFrame though.

game:GetService("TweenService"):Create(
  Lib.Map.PART,
  TweenInfo.new(1, Enum.EasingStyle.Bounce), -- Tweens in 1 second with bounce style
  {Position = Lib.Map.PART.Position + Vector3.new(0, 5, 0)} -- Moves 5 studs up (global space)
):Play()