local TweenService = game:GetService("TweenService")
local TweenInfov = TweenInfo.new(
0.2,
Enum.EasingStyle.Exponential,--EasingStyle
Enum.EasingDirection.In,--Easing direction
0,--times to repeat
false,--goes in reverse
0--delay
)
script.Parent.Parent:FindFirstChild(e).taken.Value = true
local PartProperties = {Position = UDim2.new(script.Parent.Parent:FindFirstChild(e).Position.X.Scale,0,script.Parent.Parent:FindFirstChild(e).Position.Y.Scale,0 ) }
local Tween = TweenService:Create(script.Parent,TweenInfov,PartProperties)
Tween:Play()
My problem Is that the tween just moves a bit sideways, despite working previously.