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

local Info = TweenInfo.new(
	0.5, --length
	Enum.EasingStyle.Sine, --easingStyle
	Enum.EasingDirection.Out, --easing direction
	0,     --repeat
	false, --reverse
	0 --delay
)

local Goals = 
{
	
	--Anchored = false;
	Transparency = 1;
	CanCollide = false;
}
local makePartChangeTween = TweenService:Create(part, Info, Goals)


--makePartChangeTween:Play()
	part.Touched:Connect(function() makePartChangeTween:Play() end)

this works perfectly, but once it has run it won't reset. I have tried several things, but none have worked. Help or ideas would be appreciated.

4 comments

1

Repeat's set to 0.

0

If I repeat it, it won't have time for the player to fall off. Is there a way to delay the repeat?

0

Yes...Delay is also one of the arguments. You have it set to 0. Delay is the number of seconds between each repeat

0

That doesn't work, when I set the repeat and delay it doesn't let the player fall through for some reason.