Author Topic: Destructo Wand  (Read 2109 times)

When I was testing my body stealer script, I was holding a destructo wand and a noob stole my body and broke and bounced people around and I chased him. Just a question.

WHY IS ONLY GETTING THE WAND ADMIN ONLY?!

its not badspots fault you go and let noobs bodysnatch you


Was he talking about even though you control an object, things aren't set to it, so they can use your body for evil? You could do, in the bodystealing script:
Code: [Select]
%client.realPlayer = %client.player;
%client.player = %victim.player;

if you dont want them to have the wand when you swap bodys just make it check if the person who's snatching you body or not is an admin or not and if there not admin unmount the wand something like this:

Code: [Select]
if(!%client.isSuperAdmin || %client.isAdmin){
%client.unmountimage(DestructoWandImage);
}

(I think thats the Destructo Wands image thingy not sure.)

No, I think it's AdminWand.


change title cause people are going to say "We already have a destructo wand, you noob" from a noob.