teotv202

rainbow bluE script

Dec 7th, 2018
541
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local remote = NS ([==[
  2. local plr = owner
  3. local char = plr.Character
  4.  
  5. local tool = Instance.new("Tool",plr:WaitForChild("Backpack"))
  6. tool.Grip = CFrame.new(0,-0.8,-0.2) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  7. tool.CanBeDropped = false
  8. tool.Name = "bluE"
  9.  
  10. tool.Equipped:connect(function()
  11. char.Humanoid.WalkSpeed = 300
  12. char.Humanoid.JumpPower = 100
  13. char.Humanoid.MaxHealth = 'inf'
  14. char.Humanoid.Health = 'inf'
  15. local ff = Instance.new("ForceField",char)
  16. ff.Visible = false
  17. tool.Unequipped:connect(function()
  18. char.Humanoid.WalkSpeed = 16
  19. char.Humanoid.JumpPower = 50
  20. char.Humanoid.MaxHealth = 100
  21. char.Humanoid.Health = 100
  22. ff:remove()
  23. end)
  24. end)
  25.  
  26. local part = Instance.new("Part",tool)
  27. part.Name = "Handle"
  28. part.Size = Vector3.new(4,6,4)
  29. part.TopSurface = "Smooth"
  30. part.Material = "Neon"
  31. part.Reflectance = 0.3
  32. part.BottomSurface = "Smooth"
  33. part.CanCollide = false
  34. part:BreakJoints()
  35. local light = Instance.new("PointLight", part)
  36. light.Range = 20
  37. light.Brightness = 20
  38. light.Color = Color3.new(1,1,1)
  39.  
  40. local mesh = Instance.new("SpecialMesh",part)
  41. mesh.MeshId = "rbxassetid://431003868"
  42. mesh.Scale = Vector3.new(2,2,2)
  43.  
  44. local sound = Instance.new("Sound",part)
  45. sound.SoundId = "rbxassetid://511340819"
  46. sound.Volume = 3
  47.  
  48. local sound2 = Instance.new("Sound",part)
  49. sound2.SoundId = "rbxassetid://280667448"
  50. sound2.Volume = 5
  51.  
  52. local sound3 = Instance.new("Sound",part)
  53. sound3.SoundId = "rbxassetid://139100774"
  54. sound3.Volume = 10
  55.  
  56. local sound4 = Instance.new("Sound",part)
  57. sound4.SoundId = "rbxassetid://258057783"
  58. sound4.Volume = 10
  59.  
  60. local sound5 = Instance.new("Sound",part)
  61. sound5.SoundId = "rbxassetid://130932305"
  62. sound5.Volume = 10
  63.  
  64. local sound6 = Instance.new("Sound",part)
  65. sound6.SoundId = "rbxassetid://906084456"
  66. sound6.Volume = 10
  67. sound6.TimePosition = 2
  68.  
  69. function firstHum(target)
  70.     for i,v in pairs(target:GetChildren()) do
  71.         if v:IsA("Humanoid") then
  72.             return v
  73.         end
  74.     end
  75.     return nil
  76. end
  77.  
  78. local slap = false
  79. local cd = false
  80.  
  81. tool.Activated:connect(function()
  82.     if tool.Parent == char then
  83.         if slap == false then
  84.             slap = true
  85.             sound2:Play()
  86.             local str = Instance.new("StringValue")
  87.             str.Name = "toolanim"
  88.             str.Value = "Slash"
  89.             str.Parent = tool
  90.             wait(1)
  91.             slap = false
  92.         end
  93.     end
  94. end)
  95.  
  96. part.Touched:connect(function(hit)
  97.     if slap == true then
  98.         if cd == false then
  99.             if not hit:IsDescendantOf(plr.Character) then
  100.                 if hit.Parent:IsA("Model") then
  101.                     local fhum = firstHum(hit.Parent)
  102.                     if fhum then
  103.                         cd = true
  104.                         fhum.MaxHealth = 0
  105.                         fhum.Health = 0
  106.                         fhum.Name = '0 OOF 0'
  107.                         fhum:ClearAllChildren()
  108.                         fhum:remove()
  109.                         fhum.Jump = false
  110.                         fhum.WalkSpeed = 0
  111.                         fhum.JumpPower = 0
  112.                         fhum:Clone()
  113.                         fhum.PlatformStand = true
  114.                         fhum.BreakJointsOnDeath = false
  115.                         sound:Play()
  116.                         local con1
  117.                         con1 = game:GetService("RunService").Heartbeat:connect(function()
  118.                             fhum.PlatformStand = true
  119.                         end)
  120.                         wait(0.1)
  121.                         local vel = Instance.new("BodyVelocity",hit)
  122.                         vel.Velocity = ((hit.Position - plr.Character:WaitForChild("HumanoidRootPart").Position).unit + Vector3.new(0,0.5,0))*50
  123.                         vel.MaxForce = Vector3.new(10000000,10000000,10000000)
  124.                         wait(1)
  125.                         cd = false
  126.                         vel:Destroy()
  127.                         local vel2 = Instance.new("BodyVelocity",hit)
  128.                         vel2.Velocity = Vector3.new(0,12.5,0)
  129.                         vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
  130.                         local p2 = Instance.new("Part",hit)
  131.                         p2.Anchored = true
  132.                         p2.BrickColor = BrickColor.random()
  133.                         p2.Transparency = 0.6
  134.                         p2.CanCollide = false
  135.                         p2.Size = Vector3.new(0.2,0.2,0.2)
  136.                         p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  137.                         p2.Material = "Neon"
  138.                         local light = Instance.new("PointLight", p2)
  139.                         light.Range = 20
  140.                         light.Brightness = 20
  141.                         light.Color = Color3.new(1,1,1)
  142.                         local m2 = Instance.new("CylinderMesh",p2)
  143.                         m2.Scale = Vector3.new(60,10000,60)
  144.                         local scln = sound3:Clone()
  145.                         scln.Parent = hit
  146.                         scln:Play()
  147.                         local con2
  148.                         con2 = game:GetService("RunService").Heartbeat:connect(function()
  149.                             p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  150.                         end)
  151.                         wait(7)
  152.                         vel2.Velocity = Vector3.new(0,0,0)
  153.                         wait(0.5)
  154.                         scln:Stop()
  155.                         local scln3 = sound5:Clone()
  156.                         scln3.Parent = hit
  157.                         scln3:Play()
  158.                         wait(1)
  159.                         local bav = Instance.new("BodyAngularVelocity",hit)
  160.                         bav.AngularVelocity = Vector3.new(math.random(0,360),math.random(0,360),math.random(0,360))
  161.                         vel2.Velocity = Vector3.new(0,-250,0)
  162.                         p2.BrickColor = BrickColor.random()
  163.                         local scln6 = sound6:Clone()
  164.                         scln6.Parent = hit
  165.                         scln6:Play()
  166.                         local continue = false
  167.                         local htc
  168.                         htc = hit.Touched:connect(function(hitp)
  169.                             if not hitp:IsDescendantOf(hit.Parent) then
  170.                                 continue = true
  171.                                 scln6:Stop()
  172.                                 vel2:Destroy()
  173.                                 con2:Disconnect()
  174.                                 con1:Disconnect()
  175.                                 htc:Disconnect()
  176.                                 p2:Destroy()
  177.                             end
  178.                         end)
  179.                         repeat wait() until continue == true
  180.                         local ctab = {}
  181.                         for i=1,4 do
  182.                             local p = Instance.new("Part",hit)
  183.                             p.Size = Vector3.new(30,30,30)
  184.                             p.Anchored = true
  185.                             p.CanCollide = false
  186.                             local light = Instance.new("PointLight", p)
  187.                             light.Range = 20
  188.                             light.Brightness = 20
  189.                             light.Color = Color3.new(1,1,1)
  190.                             p.TopSurface = "Smooth"
  191.                             p.Material = "Neon"
  192.                             p.BrickColor = BrickColor.random()
  193.                             p.BottomSurface = "Smooth"
  194.                             p.CFrame = hit.CFrame
  195.                             local con
  196.                             con = game:GetService("RunService").Heartbeat:connect(function()
  197.                                 p.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  198.                                 p.Transparency = p.Transparency + 0.01
  199.                                 if p.Transparency >= 1 then
  200.                                     con:Disconnect()
  201.                                 end
  202.                             end)
  203.                             table.insert(ctab,con)
  204.                         end
  205.                         Instance.new("Explosion",workspace).Position = hit.Position
  206.                         local scln2 = sound4:Clone()
  207.                         scln2.Parent = hit
  208.                         scln2:Play()
  209.                         vel2:remove()
  210.                         hit.Parent:BreakJoints()
  211.                         repeat wait() until not hit:IsDescendantOf(workspace)
  212.                         con2:Disconnect()
  213.                     end
  214.                 end
  215.             end
  216.         end
  217.     end
  218. end)
  219. while true do
  220. wait(0.01)
  221. part.BrickColor = BrickColor.Random()
  222. end
  223. ]==], owner.Character):WaitForChild 'ServerRemote';
  224. mouse = owner:GetMouse ();
Add Comment
Please, Sign In to add comment