Advertisement
urabigfatnoob

magic wand

Oct 9th, 2015
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 24.98 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. chr = plr.Character or plr.CharacterAdded:wait()
  3. mouse = plr:GetMouse()
  4. fire = Instance.new("Fire")
  5. shield = Instance.new('Part')
  6. shield.FormFactor = "Custom"
  7. shield.Size = Vector3.new(.2,.2,.2)
  8. shield.BottomSurface = "Smooth"
  9. shield.TopSurface = "Smooth"
  10. shield.Anchored = true
  11. shield.CanCollide = false
  12. shield.BrickColor = BrickColor.new(0,0,0)
  13. shield.Transparency = .5
  14. mesh = Instance.new("SpecialMesh",shield)
  15. mesh.MeshType = "Sphere"
  16. tele = Instance.new("Part")
  17. tele.Anchored = true
  18. tele.Transparency = .5
  19. tele.CanCollide = false
  20. cil = Instance.new("CylinderMesh",tele)
  21. tele.BrickColor = BrickColor.new(1,1,1)
  22. tele.Size = Vector3.new(5,1,5)
  23. box = Instance.new("Part")
  24. box.Transparency = .5
  25. box.Anchored = true
  26. box.CanCollide = false
  27. box.FormFactor = Enum.FormFactor.Custom
  28. box.Size = Vector3.new(.2,.2,.2)
  29. box.TopSurface = Enum.SurfaceType.Smooth
  30. box.BottomSurface = Enum.SurfaceType.Smooth
  31. outline = Instance.new("Part")
  32. outline.BrickColor = BrickColor.new(0,0,0)
  33. outline.Material = "Neon"
  34. outline.Anchored = false
  35. outline.CanCollide = false
  36. outline.FormFactor = "Custom"
  37. outline.Size = Vector3.new(1,1,1)
  38. outline.TopSurface = "Smooth"
  39. outline.BottomSurface = "Smooth"
  40. local sbox = Instance.new("SelectionBox",outline)
  41. sbox.Adornee = outline
  42. sbox.Color3 = Color3.new(1,1,1)
  43. sbox.LineThickness = .005
  44. sbox.Transparency = .5
  45.  
  46.  
  47. mouse.KeyDown:connect(function(key)
  48.     if key == 'z' then
  49.         if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  50.             local clone = fire:Clone()
  51.             clone.Parent = chr["Right Arm"]
  52.             clone.Color = Color3.new(1,1,1)
  53.             clone.SecondaryColor = clone.Color
  54.             wait(2)
  55.             clone:Destroy()
  56.             local target = mouse.Target
  57.             local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  58.             victim.Character.Torso.Anchored = true
  59.             while true do
  60.                 game:GetService('RunService').RenderStepped:wait()
  61.                 victim.Character.HumanoidRootPart.CFrame = victim.Character.HumanoidRootPart.CFrame + Vector3.new(0,.1,0)
  62.             end
  63.         end
  64.     elseif key == 'x' then
  65.         if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  66.             local clone = fire:Clone()
  67.             clone.Parent = chr["Right Arm"]
  68.             clone.Color = Color3.new(0.3333333333333333,0.6666666666666667,1)
  69.             clone.SecondaryColor = clone.Color
  70.             wait(2)
  71.             clone:Destroy()
  72.             local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  73.             local children = victim.Character:GetChildren()
  74.             victim.Character.Humanoid.WalkSpeed = 0
  75.             victim.Character.Torso.Anchored = true
  76.             for i,v in pairs(children) do
  77.                 if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
  78.                     v.Anchored = true
  79.                     v.CanCollide = false
  80.                     for i = 0,1,.1 do
  81.                         wait()
  82.                         v.Transparency = i
  83.                     end
  84.                 end
  85.             end
  86.         end
  87.     elseif key == 'c' then
  88.         if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  89.             local clone = fire:Clone()
  90.             clone.Parent = chr["Right Arm"]
  91.             clone.Color = Color3.new(1,0,0)
  92.             clone.SecondaryColor = clone.Color
  93.             wait(2)
  94.             clone:Destroy()
  95.             local explosion = Instance.new('Explosion',workspace)
  96.             explosion.Position = mouse.Target.Position
  97.         end
  98.     elseif key == 'v' then
  99.         if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  100.             local clone = fire:Clone()
  101.             clone.Parent = chr["Right Arm"]
  102.             clone.Color = Color3.new(0,1,0)
  103.             clone.SecondaryColor = clone.Color
  104.             wait(2)
  105.             clone:Destroy()
  106.             local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  107.             local children = victim.Character:GetChildren()
  108.             victim.Character.Humanoid.WalkSpeed = 0
  109.             victim.Character.Torso.Anchored = true
  110.             for i,v in pairs(children) do
  111.                 if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
  112.                     wait(.25)
  113.                     v.BrickColor = BrickColor.Green()
  114.                     v.CanCollide = false
  115.                     v.Parent = workspace
  116.                     v.Anchored = false
  117.                 end
  118.             end
  119.         end
  120.     elseif key == 'b' then
  121.         if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  122.             local clone = fire:Clone()
  123.             clone.Parent = chr["Right Arm"]
  124.             clone.Color = Color3.new(0,0,0)
  125.             clone.SecondaryColor = clone.Color
  126.             wait(2)
  127.             clone:Destroy()
  128.             local ball = shield:Clone()
  129.             ball.Parent = workspace
  130.            
  131.             ball.Touched:connect(function(p)
  132.                 if p.Name ~= "Base" and p.Parent ~=chr or p.Name ~= "Base" and p.Parent.Parent ~= chr then
  133.                     p:Destroy()
  134.                 end
  135.             end)
  136.            
  137.             while ball.Size.Y < 26 do
  138.                 game:GetService('RunService').RenderStepped:wait()
  139.                 ball.Size = ball.Size + Vector3.new(.25,.25,.25)
  140.                 ball.CFrame = chr.Torso.CFrame
  141.             end
  142.             for i = .5,1,.05 do
  143.                 game:GetService('RunService').RenderStepped:wait()
  144.                 ball.Transparency = i
  145.             end
  146.             ball:Destroy()
  147.         end
  148.     elseif key == 'n' then
  149.         local dec = outline:Clone()
  150.         dec.Parent = workspace
  151.         dec.Anchored = true
  152.         for i = 1,5,.5 do
  153.             game:GetService('RunService').RenderStepped:wait()
  154.             dec.Size = Vector3.new(i,i,i)
  155.             dec.CFrame = chr.Torso.CFrame * CFrame.Angles(math.random(0,180),0,math.random(0,180))
  156.             dec.Transparency = dec.Transparency + .1
  157.             dec.SelectionBox.Transparency = dec.Transparency
  158.         end
  159.         dec:Destroy()
  160.         chr:MoveTo(mouse.Hit.p+Vector3.new(0,5.25,0))
  161.     elseif
  162.         key == 'm' then
  163.         if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  164.             local target = mouse.Target
  165.             local clone = fire:Clone()
  166.             clone.Parent = chr["Right Arm"]
  167.             clone.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  168.             clone.SecondaryColor = clone.Color
  169.             wait(2)
  170.             clone:Destroy()
  171.             local boxB = box:Clone()
  172.             boxB.Parent = target
  173.             boxB.BrickColor = BrickColor.new(math.random(0,1),math.random(0,1),math.random(0,1))
  174.             local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent).Character
  175.             victim.Humanoid.WalkSpeed = 0
  176.             for i = .2,10,.2 do
  177.                 game:GetService('RunService').RenderStepped:wait()
  178.                 boxB.Size = Vector3.new(i,i,i)
  179.                 boxB.CFrame = victim.Torso.CFrame
  180.             end
  181.             for i = .5,1,.025 do
  182.                 game:GetService('RunService').RenderStepped:wait()
  183.                 boxB.Transparency = i
  184.             end
  185.             wait()
  186.             boxB:Destroy()
  187.             local children = victim:GetChildren()
  188.             for i,v in pairs(children) do
  189.                 clone = fire:Clone()
  190.                 clone.Parent = v
  191.                 clone.Color = Color3.new(1,0,0)
  192.                 victim.Humanoid.Health = victim.Humanoid.Health - 10
  193.                 if v.ClassName == "Part" then
  194.                     v.BrickColor = BrickColor.Red()
  195.                 end
  196.             end
  197.         end
  198.     elseif key == 'f' then
  199.         local clone = fire:Clone()
  200.         clone.Parent = chr["Right Arm"]
  201.         clone.Color = Color3.new(1,1,1)
  202.         clone.SecondaryColor = clone.Color
  203.         wait(.5)
  204.         clone:Destroy()
  205.         local sphere = shield:Clone()
  206.         sphere.Parent = workspace
  207.         sphere.Touched:connect(function(p)
  208.             local debounce = false
  209.             local h = p.Parent:FindFirstChild("Humanoid")
  210.             if h and h.Parent.Name ~= plr.Name and debounce == false then
  211.                 debounce = true
  212.                 local dis = shield:Clone()
  213.                 local telep = tele:Clone()
  214.                 telep.Parent = workspace
  215.                 dis.Parent = workspace
  216.                 dis.BrickColor = BrickColor.new(1,1,1)
  217.                 for i = 1,25 do
  218.                     game:GetService('RunService').RenderStepped:wait()
  219.                     dis.Size = dis.Size + Vector3.new(.35,.35,.35)
  220.                     dis.CFrame = h.Parent.Torso.CFrame
  221.                     telep.Size = telep.Size + Vector3.new(0,5,0)
  222.                     telep.CFrame = h.Parent.Torso.CFrame
  223.                 end
  224.                 for i = .5,1,.05 do
  225.                     game:GetService('RunService').RenderStepped:wait()
  226.                     dis.Transparency = i
  227.                     telep.Transparency = i
  228.                     dis.CFrame = h.Parent.Torso.CFrame
  229.                     telep.CFrame = h.Parent.Torso.CFrame
  230.                 end
  231.                 dis:Destroy()
  232.                 telep:Destroy()
  233.                 h.Parent:MoveTo(h.Parent.PrimaryPart.Position + Vector3.new(math.random(-50,50),20,math.random(-50,50)))
  234.                 wait(5)
  235.                 debounce = false
  236.             end
  237.         end)
  238.         for i = .2,25,.5 do
  239.             game:GetService('RunService').RenderStepped:wait()
  240.             sphere.Size = Vector3.new(i,i,i)
  241.             sphere.CFrame = chr.Torso.CFrame
  242.         end
  243.         for i = .5,1,.05 do
  244.             game:GetService('RunService').RenderStepped:wait()
  245.             sphere.Transparency = i
  246.         end
  247.         sphere:Destroy()
  248.     elseif key == 'g' and mouse.Target.ClassName == "Part" then
  249.         local target = mouse.Target
  250.         local sword = tele:Clone()
  251.         sword.FormFactor = "Custom"
  252.         sword.BrickColor = BrickColor.new(0,0,0)
  253.         sword.Parent = workspace
  254.         sword.Size = Vector3.new(.2,.2,.2)
  255.         local swordB = sword:Clone()
  256.         swordB.Parent = workspace
  257.         for i = 1,5,.2 do
  258.             game:GetService('RunService').RenderStepped:wait()
  259.             sword.Size = Vector3.new(.2,i,.2)
  260.             sword.CFrame = chr["Right Arm"].CFrame
  261.             swordB.Size = Vector3.new(.2,i,.2)
  262.             swordB.CFrame = chr["Left Arm"].CFrame
  263.         end
  264.         for i = 1,30 do
  265.             game:GetService('RunService').RenderStepped:wait()
  266.             swordB.CFrame = chr["Left Arm"].CFrame
  267.             sword.CFrame = chr["Right Arm"].CFrame
  268.         end
  269.         local swordC = sword:Clone()
  270.         swordC.Parent = workspace
  271.         sword.CFrame = target.CFrame + Vector3.new(0,10,0)
  272.         for i = 3,7,.5 do
  273.             game:GetService('RunService').RenderStepped:wait()
  274.             sword.Size = Vector3.new(.2,i,.2)
  275.             sword.CFrame = target.CFrame + Vector3.new(0,10,0)
  276.             swordB.CFrame = chr["Left Arm"].CFrame
  277.             swordC.CFrame = chr["Right Arm"].CFrame
  278.         end
  279.         for i = 10,0,-.2 do
  280.             game:GetService('RunService').RenderStepped:wait()
  281.             sword.Rotation = Vector3.new(0,0,0)
  282.             sword.CFrame = target.CFrame + Vector3.new(0,i,0)
  283.             sword.Rotation = Vector3.new(0,0,0)
  284.             swordB.CFrame = chr["Left Arm"].CFrame
  285.             swordC.CFrame = chr["Right Arm"].CFrame
  286.         end
  287.         if target.Parent.ClassName == "Hat" then
  288.             target.Parent.Parent.Humanoid.Health = target.Parent.Parent.Humanoid.Health - 15
  289.         else
  290.             target.Parent.Humanoid.Health = target.Parent.Humanoid.Health - 35
  291.         end
  292.         for i = .5,1,.05 do
  293.             game:GetService('RunService').RenderStepped:wait()
  294.             sword.Transparency = i
  295.             swordB.Transparency = i
  296.             swordC.Transparency = i
  297.         end
  298.         sword:Destroy()
  299.         swordB:Destroy()
  300.         swordC:Destroy()
  301.     elseif key == 'h' and mouse.Target and mouse.Target.Parent.ClassName == "Model" and mouse.Target.ClassName == "Part" then
  302.         local target = mouse.Target
  303.         local children = target.Parent:GetChildren()
  304.         for i,v in pairs(children) do
  305.             v.BrickColor = BrickColor.new(1,0,0)
  306.             local clone = fire:Clone()
  307.             clone.Parent = v
  308.             clone.Color = Color3.new(1,0,0)
  309.             wait(.25)
  310.             v:Destroy()
  311.         end
  312.     elseif key == 'j' and mouse.Target.ClassName == "Part" and mouse.Target.Name ~= "Base" then
  313.         local t = mouse.Target.Transparency
  314.         for i = t,1,.05 do
  315.             game:GetService('RunService').RenderStepped:wait()
  316.             mouse.Target.Transparency = i
  317.         end
  318.         if mouse.Target.Name ~= "Base" then
  319.             mouse.Target:Destroy()
  320.         end
  321.     elseif key == 'q' then
  322.         local part = Instance.new("Part",workspace)
  323.         part.CFrame = CFrame.new(100,100,100)
  324.         local bv = Instance.new("BodyVelocity",part)
  325.         Instance.new("CFrameValue",part)
  326.         local rotate = Instance.new("BodyAngularVelocity",part)
  327.         rotate.AngularVelocity = Vector3.new(math.random(5,15),math.random(5,15),math.random(5,15))
  328.         local cvalue = part:WaitForChild("Value")
  329.         part.Touched:connect(function(p)
  330.             if p.Name == "Part" or p.Name == "Head" then
  331.                 for i = 0,1,.05 do
  332.                     game:GetService('RunService').RenderStepped:wait()
  333.                     part.Transparency = i
  334.                     p.Transparency = i
  335.                 end
  336.                 p:Destroy()
  337.                 part:Destroy()
  338.             elseif p.Name == "Baseplate" or p.Name == "Base" or p.Name == "BasePlate" then
  339.                 cvalue.Value = part.CFrame
  340.                 part.Anchored = true
  341.                 for i = 10,25,.5 do
  342.                     game:GetService('RunService').RenderStepped:wait()
  343.                     part.Size = Vector3.new(i,i,i)
  344.                     part.CFrame = cvalue.Value
  345.                 end
  346.                 for i = 0,1.,.05 do
  347.                     game:GetService('RunService').RenderStepped:wait()
  348.                     part.Transparency = i
  349.                 end
  350.                 part:Destroy()
  351.             end
  352.         end)
  353.         part.Parent = chr
  354.         part.BrickColor = BrickColor.new(1,1,1)
  355.         part.Material = "Neon"
  356.         part.Anchored = false
  357.         part.CanCollide = false
  358.         part.Name = "bomb"
  359.         part.FormFactor = "Custom"
  360.         part.Size = Vector3.new(.2,.2,.2)
  361.         part.BottomSurface = "Smooth"
  362.         part.TopSurface = "Smooth"
  363.         local sbox = Instance.new("SelectionBox",part)
  364.         sbox.Adornee = part
  365.         sbox.Color3 = Color3.new(0,0,0)
  366.         sbox.LineThickness = 0.005
  367.         sbox.Transparency = .75
  368.         sbox.SurfaceColor3 = Color3.new(0,0,0)
  369.         bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  370.         for i = 1,9 do
  371.             wait()
  372.             local clone = part:Clone()
  373.             Instance.new("CFrameValue",clone)
  374.                 local rotateB = Instance.new("BodyAngularVelocity",part)
  375.                 rotateB.AngularVelocity = Vector3.new(math.random(5,15),math.random(5,15),math.random(5,15))
  376.             clone.CFrame = CFrame.new(100,100,100)
  377.             local cvalueB = clone:WaitForChild("Value")
  378.             wait()
  379.             clone.Parent = chr
  380.             clone.Name = "bomb"
  381.             clone.Touched:connect(function(p)
  382.                 if p.Name == "Part" or p.Name == "Head" then
  383.                     for i = 0,1,.05 do
  384.                         game:GetService('RunService').RenderStepped:wait()
  385.                         clone.Transparency = i
  386.                         p.Transparency = i
  387.                     end
  388.                     p:Destroy()
  389.                     clone:Destroy()
  390.                 elseif p.Name == "Baseplate" or p.Name == "Base" or p.Name == "BasePlate" then
  391.                     cvalueB.Value = clone.CFrame
  392.                     clone.Anchored = true
  393.                     for i = 10,25,.5 do
  394.                         game:GetService('RunService').RenderStepped:wait()
  395.                         clone.Size = Vector3.new(i,i,i)
  396.                         clone.CFrame = cvalueB.Value
  397.                     end
  398.                     for i = 0,1.,.05 do
  399.                         game:GetService('RunService').RenderStepped:wait()
  400.                         clone.Transparency = i
  401.                     end
  402.                     clone:Destroy()
  403.                 end
  404.             end)
  405.         end
  406.         local children = chr:GetChildren()
  407.         for i,v in pairs(children) do
  408.             if v.Name == "bomb" then
  409.                 for i = .2,10,.5 do
  410.                     game:GetService('RunService').RenderStepped:wait()
  411.                     v.Size = Vector3.new(i,i,i)
  412.                     v.CFrame = chr.Torso.CFrame * CFrame.Angles(math.random(),math.pi,math.random()) + Vector3.new(0,20,0)
  413.                 end
  414.                 local bvB = v:WaitForChild("BodyVelocity")
  415.                 bvB.Velocity = mouse.Hit.lookVector*200
  416.             end
  417.         end
  418.     elseif key == 'e' then
  419.         local kill = Instance.new("Part")
  420.         local bv = Instance.new("BodyVelocity",kill)
  421.         bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  422.         local rotate = Instance.new("BodyAngularVelocity",kill)
  423.         rotate.AngularVelocity = Vector3.new(math.random(10,20),math.random(10,20),math.random(10,20))
  424.         kill.CFrame = CFrame.new(100,100,100)
  425.         kill.Touched:connect(function(p)
  426.             if p.Name == "Head" and p.Parent ~= chr or p.Name == "Torso" and p.Parent ~= chr then
  427.                 p.Parent.Humanoid.Health = 0
  428.                 p:Destroy()
  429.                 for i = 1,10 do
  430.                     game:GetService('RunService').RenderStepped:wait()
  431.                     kill.Size = kill.Size - Vector3.new(.2,.2,.2)
  432.                     kill.Transparency = kill.Transparency - .1
  433.                 end
  434.             end
  435.         end)
  436.         kill.BrickColor = BrickColor.new(0,0,0)
  437.         kill.Material = "Neon"
  438.         kill.Anchored = false
  439.         kill.CanCollide = false
  440.         kill.FormFactor = "Custom"
  441.         kill.Size = Vector3.new(1,1,1)
  442.         kill.TopSurface = "Smooth"
  443.         kill.BottomSurface = "Smooth"
  444.         wait()
  445.         local sbox = Instance.new("SelectionBox",kill)
  446.         sbox.Adornee = kill
  447.         sbox.Color3 = Color3.new(1,1,1)
  448.         sbox.LineThickness = .005
  449.         sbox.Transparency = .5
  450.         kill.Parent = workspace
  451.         kill.CFrame = chr.Head.CFrame
  452.         wait()
  453.         kill.BodyVelocity.Velocity = mouse.Hit.lookVector*100
  454.         kill.ChildAdded:connect(function(c)
  455.             for i = 0,1,.2 do
  456.                 game:GetService('RunService').RenderStepped:wait()
  457.                 c.Transparency = i
  458.                 c.SelectionBox.Transparency = i
  459.             end
  460.             c:Destroy()
  461.         end)
  462.         while kill.Transparency == 0 do
  463.             wait(.09)
  464.             local clone = kill:Clone()
  465.             clone.Anchored = true
  466.             clone.Parent = kill
  467.             clone.CFrame = kill.CFrame
  468.         end
  469.         wait(10)
  470.         kill.Transparency = .1
  471.         kill:Destroy()
  472.     elseif key == 'r' and mouse.Target then
  473.         local outclone = outline:Clone()
  474.         outclone.CFrame = chr.Head.CFrame + Vector3.new(0,2,0)
  475.         outclone.Size = Vector3.new(.5,.5,.5)
  476.         outclone.BrickColor = BrickColor.new(1,1,1)
  477.         outclone.Transparency = .5
  478.         outclone.Name = "outclone"
  479.         local bv = Instance.new("BodyVelocity",outclone)
  480.         bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  481.         bv.Velocity = mouse.Hit.lookVector*200
  482.         local ba = Instance.new("BodyAngularVelocity",outclone)
  483.         ba.AngularVelocity = Vector3.new(math.random(10,25),math.random(10,25),math.random(10,25))
  484.         outclone.Touched:connect(function(p)
  485.             if p.Name == "Base" then
  486.                 outclone.BodyAngularVelocity:Destroy()
  487.                 outclone.Anchored = true
  488.                 outclone.Rotation = chr.Torso.Rotation
  489.                 for i = .5,20,.5 do
  490.                     game:GetService('RunService').RenderStepped:wait()
  491.                     outclone.Size = Vector3.new(i,i,.5)
  492.                 end
  493.             else
  494.                 p.Anchored = true
  495.                 for i = p.Transparency,1,.1 do
  496.                     game:GetService('RunService').RenderStepped:wait()
  497.                     p.Transparency = i
  498.                 end
  499.                 p:Destroy()
  500.             end
  501.         end)
  502.         outclone.Parent = workspace
  503.         wait(5)
  504.         for i = 1,10 do
  505.             game:GetService('RunService').RenderStepped:wait()
  506.             outclone.Transparency = outclone.Transparency + .05
  507.             outclone.SelectionBox.Transparency = outclone.Transparency
  508.             outclone.Size = outclone.Size + Vector3.new(.5,.5,0)
  509.         end
  510.         outclone:Destroy()
  511.     elseif key == 't' and mouse.Target and mouse.Target.Name ~= "Base" then
  512.         local counter = Instance.new("NumberValue")
  513.         local t = outline:Clone()
  514.         t.BrickColor = BrickColor.new(1,1,1)
  515.         t.SelectionBox.Transparency = .25
  516.         t.SelectionBox.Color3 = Color3.new(0,0,0)
  517.         local bv = Instance.new("BodyVelocity",t)
  518.         bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  519.         local bav = Instance.new("BodyAngularVelocity",t)
  520.         bav.AngularVelocity = Vector3.new(0,0,10)
  521.         t.CFrame = chr["Right Arm"].CFrame - Vector3.new(0,1,0)
  522.         t.Anchored = true
  523.         t.Parent = chr
  524.         for i = 1,5,.5 do
  525.             game:GetService('RunService').RenderStepped:wait()
  526.             t.Size = Vector3.new(0,0,i)
  527.             t.CFrame = chr["Right Arm"].CFrame - Vector3.new(0,1,0)
  528.         end
  529.         local bounce = outline:Clone()
  530.         bounce.CFrame = chr.Torso.CFrame - Vector3.new(0,2,0)
  531.         chr.Humanoid.WalkSpeed = 0
  532.         bounce.Parent = workspace
  533.         for i = 1,30 do
  534.             game:GetService('RunService').RenderStepped:wait()
  535.             bounce.CFrame = chr.Torso.CFrame - Vector3.new(0,2,0)
  536.             bounce.Size = bounce.Size + Vector3.new(.1,.1,.1)
  537.             bounce.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  538.         end
  539.         for i = 1,10 do
  540.             game:GetService('RunService').RenderStepped:wait()
  541.             counter.Value = counter.Value + .1
  542.             bounce.Transparency = counter.Value
  543.             bounce.SelectionBox.Transparency = bounce.Transparency
  544.             bounce.Size = bounce.Size + Vector3.new(.2,.2,.2)
  545.             bounce.CFrame = chr.Torso.CFrame - Vector3.new(0,2,0)
  546.         end
  547.         local touched = false
  548.         local debounce = false
  549.         t.Touched:connect(function(p)
  550.             local h = p.Parent:FindFirstChild("Humanoid")
  551.             if h and h.Parent ~= chr and debounce == false then
  552.                 debounce = true
  553.                 touched = true
  554.                 t.Weld:Destroy()
  555.                 for i = 1,60 do
  556.                     game:GetService('RunService').RenderStepped:wait()
  557.                     t.CFrame = p.CFrame
  558.                 end
  559.                 bv:Destroy()
  560.                 h.Health = h.Health - h.MaxHealth/2
  561.                 t:Destroy()
  562.                 chr.Animate.Disabled = false
  563.                 chr.Humanoid.WalkSpeed = 16
  564.                 chr.HumanoidRootPart.BodyGyro.CFrame = CFrame.new(0,0,0)
  565.                 chr.HumanoidRootPart.BodyGyro:Destroy()
  566.             end
  567.         end)
  568.         bv.Parent = chr.HumanoidRootPart
  569.         local bav2 = Instance.new("BodyGyro",chr.HumanoidRootPart)
  570.         t.Anchored = false
  571.         local w = Instance.new("Weld",t)
  572.         w.Part0 = t
  573.         w.Part1 = chr["Right Arm"]
  574.         w.C0 = CFrame.new(0,1,0)*CFrame.new()
  575.         chr.Animate.Disabled = true
  576.         while touched == false do
  577.             wait()
  578.             bv.Velocity = mouse.Hit.lookVector*100
  579.             bav2.CFrame = CFrame.new(chr.Torso.Position,mouse.Hit.p) * CFrame.Angles(0,math.rad(-90),0)
  580.         end
  581.     elseif key == 'y' then
  582.         for i = 1,50 do
  583.             wait()
  584.             local bomb = outline:Clone()
  585.             bomb.BrickColor = BrickColor.new(0,0,0)
  586.             bomb.SelectionBox.Color3 = Color3.new(1,1,1)
  587.             local bv = Instance.new("BodyVelocity",bomb)
  588.             bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  589.             bv.Velocity = Vector3.new(0,-100,0)
  590.             local bav = Instance.new("BodyAngularVelocity",bomb)
  591.             bav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  592.             bav.AngularVelocity = Vector3.new(math.random(-5,15),math.random(-5,15),math.random(-5,15))
  593.             bomb.CFrame = CFrame.new(math.random(-250,250),100,math.random(-250,250))
  594.             bomb.Parent = workspace
  595.             bomb.Touched:connect(function(p)
  596.                 local h = p.Parent:FindFirstChild("Humanoid")
  597.                 if p.Name == "Base" then
  598.                     local cframe = bomb.CFrame
  599.                     bomb.Anchored = true
  600.                     for i = 1,35,.5 do
  601.                         bomb.CFrame = cframe * CFrame.Angles(math.random(0,180),math.pi,math.random(0,180))
  602.                         game:GetService('RunService').RenderStepped:wait()
  603.                         bomb.Size = Vector3.new(i,i,i)
  604.                         if i > 33 then
  605.                             bomb.Transparency = bomb.Transparency + .25
  606.                             bomb.SelectionBox.Transparency = bomb.Transparency
  607.                         end
  608.                     end
  609.                 elseif h and h.Parent ~= chr then
  610.                     h.Health = h.Health - 2.5
  611.                 end
  612.             end)
  613.         end
  614.     elseif key == 'u' then
  615.         local mine = outline:Clone()
  616.         mine.Anchored = true
  617.         mine.Transparency = .9
  618.         mine.SelectionBox.Transparency = .9
  619.         mine.CFrame = chr.Torso.CFrame - Vector3.new(0,3,0)
  620.         local cframe = mine.CFrame
  621.         mine.Touched:connect(function(p)
  622.             local h = p.Parent:FindFirstChild("Humanoid")
  623.             if h and h.Parent ~= chr then
  624.                 h.WalkSpeed = 0
  625.                 for i = .9,1,.025 do
  626.                     game:GetService('RunService').RenderStepped:wait()
  627.                     mine.Size = mine.Size + Vector3.new(.3,.3,.3)
  628.                     mine.CFrame = cframe * CFrame.Angles(math.random(0,180),math.pi,math.random(0,180))
  629.                     mine.Transparency = i
  630.                     mine.SelectionBox.Transparency = i
  631.                 end
  632.                 mine:Destroy()
  633.                 local bv = Instance.new("BodyVelocity",p.Parent.HumanoidRootPart)
  634.                 bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  635.                 bv.Velocity = Vector3.new(0,200,0)
  636.                 local bav = Instance.new("BodyAngularVelocity",p.Parent.HumanoidRootPart)
  637.                 bav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  638.                 bav.AngularVelocity = Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))
  639.                 for i = h.Health,0,-1 do
  640.                     wait()
  641.                     h.Health = i
  642.                 end
  643.             end
  644.         end)
  645.         mine.Parent = workspace
  646.     elseif key == 'i' then
  647.         local sword = outline:Clone()
  648.         sword.SelectionBox.Color3 = Color3.new(1,1,1)
  649.         sword.CFrame = chr["Right Arm"].CFrame - Vector3.new(0,1,0)
  650.         sword.Anchored = true
  651.         sword.Parent = chr
  652.         for i = 1,5,.5 do
  653.             game:GetService('RunService').RenderStepped:wait()
  654.             sword.Size = Vector3.new(0,0,i)
  655.             sword.CFrame = chr["Right Arm"].CFrame - Vector3.new(0,1,0)
  656.         end
  657.         local weld = Instance.new("Weld",sword)
  658.         weld.Part0 = sword
  659.         weld.Part1 = chr["Right Arm"]
  660.         weld.C0 = CFrame.new(0,1,0)
  661.         sword.Anchored = false
  662.         local dec = outline:Clone()
  663.         dec.Size = Vector3.new(1,1,1)
  664.         dec.Anchored = true
  665.         dec.Parent = workspace
  666.         for i = 1,5,.25 do
  667.             game:GetService('RunService').RenderStepped:wait()
  668.             dec.Size = Vector3.new(i,i,i)
  669.             dec.CFrame = chr.Torso.CFrame * CFrame.Angles(math.random(0,180),math.pi,math.random(0,180))
  670.             if i > 4  then
  671.                 dec.Transparency = dec.Transparency + .25
  672.                 dec.SelectionBox.Transparency = dec.Transparency
  673.             end
  674.         end
  675.         dec.CFrame = CFrame.new(-234,-234,-234)
  676.         chr:MoveTo(mouse.Hit.p+Vector3.new(0,5,0))
  677.         local debounce = false
  678.         sword.Touched:connect(function(p)
  679.             local h = p.Parent:FindFirstChild("Humanoid")
  680.             if h and h.Parent ~= chr and debounce == false then
  681.                 debounce = true
  682.                 h.Health = h.Health - 25
  683.                 dec.CanCollide = true
  684.                 dec.Transparency = 0
  685.                 dec.SelectionBox.Transparency = 0
  686.                 dec.CFrame = chr.Torso.CFrame + Vector3.new(math.random(),0,math.random())
  687.                 for i = 5,10,.50 do
  688.                     game:GetService('RunService').RenderStepped:wait()
  689.                     dec.Size = Vector3.new(i,i,i)
  690.                     h.Sit = true
  691.                     dec.CFrame = CFrame.new(p.Position+Vector3.new(math.random(),0,math.random())) * CFrame.Angles(math.random(0,180),math.pi,math.random(0,180))
  692.                     dec.Transparency = dec.Transparency + .1
  693.                     dec.SelectionBox.Transparency = dec.Transparency
  694.                 end
  695.                 dec:Destroy()
  696.                 h.Health = h.Health - 10
  697.                 for i = 5,1,-.5 do
  698.                     game:GetService('RunService').RenderStepped:wait()
  699.                     sword.Transparency = sword.Transparency + .1
  700.                     sword.Size = Vector3.new(.2,.2,i)
  701.                 end
  702.             end
  703.         end)
  704.     elseif key == 'p' then
  705.         for i = 1,15 do
  706.             local dec = outline:Clone()
  707.             dec.Parent = workspace
  708.             dec.Anchored = false
  709.             local bv = Instance.new("BodyVelocity",dec)
  710.             bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  711.             local bav = Instance.new("BodyAngularVelocity",dec)
  712.             bav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  713.             bav.AngularVelocity = Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  714.             for i = 1,5,.5 do
  715.                 game:GetService('RunService').RenderStepped:wait()
  716.                 dec.Size = Vector3.new(i,i,i)
  717.                 bv.Velocity = Vector3.new(0,i,0)
  718.                 dec.CFrame = chr.Torso.CFrame * CFrame.Angles(math.random(0,180),0,math.random(0,180))
  719.                 dec.Transparency = dec.Transparency + .1
  720.                 dec.SelectionBox.Transparency = dec.Transparency
  721.             end
  722.             dec:Destroy()
  723.             chr:SetPrimaryPartCFrame(chr.Head.CFrame+Vector3.new(math.random(-20,20),0,math.random(-20,20)))
  724.         end
  725.     end
  726. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement