I have created a firearm for a Western Game I am creating for an A Level project. The firearm works as intended, however I would like to make the shots look a little more stylish, and have the Ray fade from 0.8 Transparency to Completely transparent, in 0.2 seconds. Any advice on how to do this?
local ts = game:GetService("TweenService") local goal = {} goal.Transparency = 1 local info = TweenInfo.new(0.2,Enum.EasingStyle.Quad,Enum.EasingDirection.Out) local tween = ts:Create(rayPart,info,goal) tween:Play()
You can also play around with the EasingStyle and EasingDirection for different effects.