local ts = game:GetService("TweenService") local ti = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local function remove_brighness(color) local h,s,v = color:ToHSV() return Color3.fromHSV(h, s, 1) end game.Players.LocalPlayer.Character.DescendantAdded:Connect(function(v) if v.ClassName:find("Trail") then local highlight = Instance.new("Highlight", game.Players.LocalPlayer.Character.RightHand) local fadeout = ts:Create(highlight, ti, {FillTransparency = 1}) local style = game.Players.LocalPlayer.Status.Style.Value local style_obj = game.ReplicatedStorage.Styles:FindFirstChild(style) local color = style_obj.Color highlight.FillColor = color.Value highlight.Adornee = v.Parent highlight.OutlineTransparency = 1 highlight.FillTransparency = 1 ts:Create(highlight, ti, {FillTransparency = 0.2}):Play() fadeout.Completed:Once(function() highlight:Destroy() end) v.Destroying:Once(function() fadeout:Play() end) end end)