Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ By: Brutez. ]]--
- local EvilBoxScript=script;
- repeat Wait(0);until script and script.Parent and script.Parent.ClassName=="Part";
- local EvilBox=EvilBoxScript.Parent;
- local TouchDebounce=false;
- if EvilBoxScript and EvilBox and EvilBox:FindFirstChild("Thumbnail")then
- EvilBox:FindFirstChild("Thumbnail"):Destroy();
- end;
- if EvilBoxScript and EvilBox and EvilBox:FindFirstChild("EvilBoxCollide")then
- EvilBox.Touched:connect(function(TargetPart)
- if EvilBoxScript and EvilBox and EvilBox:FindFirstChild("EvilBoxCollide")and not TouchDebounce and TargetPart and TargetPart.ClassName=="Part"and TargetPart.Parent and TargetPart.Parent.ClassName=="Model"and TargetPart.Parent:FindFirstChild("Head")and TargetPart.Parent:FindFirstChild("Torso")then
- local Foundhumanoid;
- if TargetPart and TargetPart.ClassName=="Part"and TargetPart.Parent and TargetPart.Parent.ClassName=="Model"and TargetPart.Parent:FindFirstChild("Head")and TargetPart.Parent:FindFirstChild("Torso")then
- for _,Child in pairs(TargetPart.Parent:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- Foundhumanoid=Child;
- end
- end
- end
- if TargetPart and TargetPart.ClassName=="Part"and TargetPart.Parent and TargetPart.Parent.ClassName=="Model"and TargetPart.Parent:FindFirstChild("Head")and TargetPart.Parent:FindFirstChild("Torso")and Foundhumanoid and Foundhumanoid.Health~=0 then
- TouchDebounce=true;
- EvilBox.Velocity=Vector3.new(math.random(-20,20),30,math.random(-20,20));
- EvilBox:FindFirstChild("EvilBoxCollide").Pitch=0.8+math.random()*0.5;
- EvilBox:FindFirstChild("EvilBoxCollide"):Play();
- Wait(0.2);
- TouchDebounce=false;
- end;
- end;
- end);
- end;
- while Wait(0)do
- if EvilBoxScript and EvilBox and EvilBox:FindFirstChild("EvilBoxMain")and not EvilBox:FindFirstChild("EvilBoxMain").IsPlaying then
- EvilBox:FindFirstChild("EvilBoxMain"):Play();
- end;
- end;
- --[[ By: Brutez. ]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement