I’m unsure how to fix the “Unable to cast to Dictionary” error. Is there something wrong with my Tween?
local hrp = ally.Manifestation.PrimaryPart
local ehrp = enemy.Manifestation.PrimaryPart
v Problem v
local orig=hrp.CFrame
local tweenService = game:GetService("TweenService")
local tweeninfo =TweenInfo.new(
2.5,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out,
0,
false,
0)
local tween = tweenService:Create(hrp, tweeninfo, ehrp)
local tween2 = tweenService:Create(hrp, tweeninfo, orig)
tween:Play()
tween.Completed:Wait()
tween2:Play()
tween2.Completed:Wait()