Outdated script no longer works

I dont know how that works. Can you help me?