Magic Resistance. The golem has Advantage on saving throws against spells and other magical effects.
Actions
Multiattack. The golem makes two attacks, using Slam or Force Bolt in any combination.
Slam. Melee Attack Roll: +10, reach 5 ft. Hit: 15 (2d8 + 6) Bludgeoning damage plus 9 (2d8) Force damage.
Force Bolt. Ranged Attack Roll: +9, range 120 ft. Hit: 22 (4d10) Force damage.
Bonus Actions
Slow (Recharge 5-6). The golem casts the Slow spell, requiring no spell components and using Constitution as the spellcasting ability (spell save DC 17).
Condition immunities: charmed, exhaustion, frightened, paralyzed, petrified, poisoned. Senses: Darkvision 120 ft.; Passive Perception 10. Languages: Understands Common plus two other languages but can't speak. Speed: 30 ft..
RollQuest ships the D&D 2024 SRD as a content pack, on a 5e character sheet that does the maths - roll from the sheet and let the numbers work themselves out. Free to start.