Need Help fixing syntax

I’m having a lot of trouble with my verse scripts, I’m just trying to run some basic scripts but any logic I try to compile ends up throwing me errors.

using { /Fortnite.com/Devices }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Verse.org/Simulation }
using { /Verse.org/SceneGraph }

FreezeTag := class {
@on_player_hit
OnPlayerHit(Hitter: player, Victim: player, HitResult: hit_result): void {
Victim.DisableMovement()
Victim.DisableJumping()
}
}

Literally just trying to freeze a player when one player hits another. However everything under the class is giving me a syntax error. I’ve been trying to trouble shoot for hours and have yet to figure it out.

The code needs a complete re-write I would recommend reading the verse documentation Epic Games Product Documentation | Epic Developer Community or tutorials on youtube. The only correct part are the first 4 lines.

Also just a FYI scene graph at this point in time is in Experimental State which means you cant utilize its features and publish maps, only privately test it. If you were planning to publicly publish this map it would block such actions.