The uuid class is a GDScript 'static' class that provides a unique identifier generation for Godot Engine.
Copy the uuid.gd file in your project folder, and preload it using a constant.
const uuid_util = preload('res://addons/uuid/uuid.gd')
func _init():
print(uuid_util.v4())MIT (See license file for more informations)