actually I managed to figure this one out on my own .
default
{
state_entry()
{
llListen(1,"",llGetOwner(),"");
}
on_rez(integer message) {
llResetScript();
}
listen(integer channel, string name, key id, string message) {
if(llToLower(message) == "draw")
llSetAlpha(0.0,ALL_SIDES);
llSleep(1.5); // Side note: Sleep timer. This little command helps us keep the weapon shown for an amount of time before it's actually sheathing. Depends on your sheath animation and your sheath sound. If you do not need it, leave it on '0.0'
if(llToLower(message) == "sheath")
llSetAlpha(1.0,ALL_SIDES);
}
}
Thank you very much for the help. I've been working on this for a week sadly lol. I am very new to scripts.