I tried to make it so that if the attribute is set to true, it will return end. But for some reason it doesnt work. This is my code:
char:GetAttributeChangedSignal("Stunned"):Connect(function()
print(char:GetAttribute("Stunned"))
if char:GetAttribute("Stunned") == true then return end
end)