Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Part didn't tween once activated?

Somehow my part didn't tween once it was triggered here's my code i coded it in a local script.

local TweenService = game:GetService("TweenService")
local part = script.Parent

local tweeningInformation = TweenInfo.new(
	3,
	Enum.EasingStyle.Linear,
	Enum.EasingDirection.In,
	-1,
	true,
	1
)

local Goals = 
	{
		Size = Vector3.new(42.007, 10.572, 28.407)
	}

local tween = TweenService:Create(part, tweeningInformation, Goals)

tween:Play()

there was no errors while it was triggered.

1 answer

✓ Accepted answer

you need to put your localscript at StarterPlayer > StarterPlayerScripts, or StarterGui, StarterTools. Also, I'd recommend using :Lerp() on this situation.

1 comment

0

Thanks!

This discussion is preserved as it was. New answers, comments, and votes are closed.