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.