Ok so idk, this is a local script, and I'm tryign to make it work with filtering enabled, but it doesn't work with it on or without it on what am I doing wrong?
local Audio = script.Parent.Parent.Sound
local playerpath = game.Players.LocalPlayer.PlayerGui:WaitForChild("Timer") or game.Players.LocalPlayer.PlayerGui:FindFirstChild("Timer")
Audio.Changed:connect(function()
local Length = Audio.TimeLength
repeat wait() until Length ~= 0
for i = 0, math.ceil(Length), 1 do
local PitchLevel = Audio.Pitch
local Difference = PitchLevel - 1
wait(1 - Difference)
if Audio.IsPlaying then
local TimePos = math.ceil(Audio.TimePosition)
--script.Parent.Parent.TextBar.Text = TimePos
playerpath.MainTiming.Empty.Filler:TweenSize(UDim2.new(0, TimePos, 1, 0), "Out", "Bounce", 1, true)
else
if not Audio.IsPlaying then
wait(1)
--script.Parent.Parent.TextBar.Text = "0"
wait(.2)
playerpath.MainTiming.Empty.Filler:TweenSize(UDim2.new(0, 0, 1, 0), "Out", "Bounce", 1, true)
break
end
end
end
end)

3 comments
output?
none
Could you include the functionality of the script in your question please.