Part never tweens

Why does my tween never tween

 local scanpart = game.ReplicatedStorage.Replicated.Scan:Clone()
local char = script.Parent
local player = game.Players:GetPlayerFromCharacter(char)
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")


UserInputService.InputBegan:Connect(function(input)
	if input.KeyCode == Enum.KeyCode.R then
		scanpart.Position = char:GetPivot().Position
		scanpart.Parent = workspace
		local info = TweenInfo.new(5, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, 1)
		TweenService:Create(scanpart, info, {size = Vector3.new(50, 50, 50)})
		print("Tweened")
		TweenService:Create(scanpart, info , {Transparency = 1})
	end
end)



you arent playing the tween you are just maki no it. use :Play() after the tween

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.