```lua TweenService = game:GetService("TweenService")
tweenInfo = TweenInfo.new( 0.4, -- Time Enum.EasingStyle.Quint, -- EasingStyle Enum.EasingDirection.InOut, -- EasingDirection -1, -- RepeatCount (when less than zero the tween will loop indefinitely) true, -- Reverses (tween will reverse once reaching it's goal) 2.5 -- DelayTime )
p = script.Parent.Position
script.Parent.Parent.Activated:Connect(function() TweenService:Create(script.Parent, tweenInfo, {Position=Vector3.new(p.X+50, p.Y, p.Z)}):Play() end) ``` This is supposed to tun a tween when a tool is used, but it isn't activating when I click. I'm not sure what's happening here, because it doesn't raise an error at all. Help would be greatly appreciated.