Issue I am having is when my attribute do signal changes it prints(“World”) which works fine but my if not statement isn’t working for example if the attribute is set to ‘Dollars’ I am not getting the warn(“Nothing”) message. I also tried seeing if it would warn if it is set to ‘Total’ but still nothing.
Script is in ServerScriptService.
I am trying to check if do attribute does not == Total
game.Players.PlayerAdded:Connect(function(plr)
task.wait(4)
plr.Money.Values:GetAttributeChangedSignal("do"):Connect(function(playerd)
print("Worlds")
if plr.Money.Values:GetAttribute("do") == not "Total" then
warn("Nothing")
end
end)
end)