[SOLVED] Script not defined

hey can someone help me? when i try to parse my script its saying
BreakORE is not defined, ill send the script

var BreakOre = pc.createScript('breakORE');

BreakORE.prototype.initialize = function() {
    this.entity.collision.on('triggerenter', this.onTriggerEnter, this);   

BreakORE.prototype.onTriggerEnter = function(entity) {
    if(entity.tags.has('pickaxe')) {
        this.entity.enabled = false;

nevermind i fixed it, the first BreakORE was lowercase re so it was BreakOre
also i had forgotten collisions