look, im no scripter, im really bad but i do know the very very basic stuff, and i really want to learn more. i want to know how i can make this work.
if script.Parent.AI.vars.Chasing.Value == true then
math.random(1, 2)
if 1 then script.Parent.Sounds.Chasing.a.Playing = true else
script.Parent.Sounds.chasing.a.Playing = false
if 2 then script.Parent.Sounds.Chasing.b.Playing = true else
script.Parent.Sounds.Chasing.b.Playing = false
end
end

1 comment
Is there a check for when the value turns true? Like changed, if not there's nothing to check if its true just the information of what to do when it is true.