Advertisement
iiJosephCats205

Explosion Guy (I made this on my own.)

Oct 24th, 2019
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 20.05 KB | None | 0 0
  1. --By iiJoeCats
  2.  
  3. wait(1/60)
  4.  
  5. local player = game.Players.LocalPlayer
  6. local mouse = player:GetMouse()
  7. local chr = player.Character
  8.  
  9. local RS = game:GetService("RunService").RenderStepped -- Change to RenderStepped for LocalScript
  10.  
  11. local leftArm = chr["Left Arm"]
  12. local rightArm = chr["Right Arm"]
  13. local leftLeg = chr["Left Leg"]
  14. local rightLeg = chr["Right Leg"]
  15. local tors = chr.Torso
  16. local hed = chr.Head
  17. local root = chr.HumanoidRootPart
  18. local humanoid = chr:FindFirstChildOfClass("Humanoid")
  19. local maincolor = BrickColor.new("Really blue")
  20.  
  21. humanoid.NameDisplayDistance = 0
  22.  
  23. repeat wait() until game.Players.LocalPlayer.Character
  24.  
  25. --//Command made by Rufus14
  26. for i,v in pairs(chr:GetChildren()) do
  27.     if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" or v.ClassName == "Accessory" or v.ClassName == "BodyColors" then
  28.         v:Destroy()
  29.     end
  30. end
  31.  
  32. for i,v in pairs(chr:GetChildren()) do
  33.     if v:IsA("Part") then
  34.         v.BrickColor = maincolor
  35.     end
  36. end
  37.  
  38. local clr = Color3.fromRGB(0, 0, 255)
  39. maincolor = clr
  40. for i,v in pairs(chr:GetChildren()) do
  41.     if v:IsA("Part") then
  42.         v.Color = maincolor
  43.     end
  44. end
  45.  
  46. hed.face:Destroy()
  47.  
  48. Instance.new("ForceField",chr).Visible = false
  49. humanoid.MaxHealth = 350
  50. humanoid.Health = 350
  51. humanoid.WalkSpeed = 30
  52. humanoid.JumpPower = 125
  53.  
  54. local ScreenGui = Instance.new("ScreenGui")
  55. local Frame = Instance.new("Frame")
  56. local TextLabel = Instance.new("TextLabel")
  57. local Frame_2 = Instance.new("Frame")
  58. local Red = Instance.new("Frame")
  59. local ClickC = Instance.new("TextButton")
  60. local Green = Instance.new("Frame")
  61. local ClickD = Instance.new("TextButton")
  62. local Yellow = Instance.new("Frame")
  63. local ClickB = Instance.new("TextButton")
  64. local Blue = Instance.new("Frame")
  65. local ClickE = Instance.new("TextButton")
  66. local Pink = Instance.new("Frame")
  67. local ClickA = Instance.new("TextButton")
  68.  
  69. --Properties:
  70.  
  71. ScreenGui.Parent = player.PlayerGui
  72.  
  73. Frame.Parent = ScreenGui
  74. Frame.Draggable = true
  75. Frame.Visible = false
  76. Frame.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  77. Frame.BorderColor3 = Color3.new(0.219608, 0.219608, 0.219608)
  78. Frame.BorderSizePixel = 4
  79. Frame.Position = UDim2.new(0.5005005, 0, 0.384462148, 0)
  80. Frame.Size = UDim2.new(0, 447, 0, 269)
  81.  
  82. TextLabel.Parent = Frame
  83. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  84. TextLabel.BackgroundTransparency = 1
  85. TextLabel.BorderSizePixel = 0
  86. TextLabel.Position = UDim2.new(-0.000792774314, 0, 0.0297175404, 0)
  87. TextLabel.Size = UDim2.new(0, 447, 0, 48)
  88. TextLabel.Font = Enum.Font.GothamBold
  89. TextLabel.Text = "Change Color"
  90. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  91. TextLabel.TextScaled = true
  92. TextLabel.TextSize = 14
  93. TextLabel.TextWrapped = true
  94.  
  95. Frame_2.Parent = Frame
  96. Frame_2.BackgroundColor3 = Color3.new(1, 1, 1)
  97. Frame_2.BorderSizePixel = 0
  98. Frame_2.Position = UDim2.new(0, 0, 0.234178498, 0)
  99. Frame_2.Size = UDim2.new(0, 447, 0, 4)
  100.  
  101. Red.Name = "Red"
  102. Red.Parent = Frame
  103. Red.BackgroundColor3 = Color3.new(1, 0, 0)
  104. Red.BorderColor3 = Color3.new(0.666667, 0, 0)
  105. Red.BorderSizePixel = 4
  106. Red.Position = UDim2.new(0.0290827751, 0, 0.382899642, 0)
  107. Red.Size = UDim2.new(0, 62, 0, 62)
  108.  
  109. ClickC.Name = "ClickC"
  110. ClickC.Parent = Red
  111. ClickC.BackgroundColor3 = Color3.new(1, 1, 1)
  112. ClickC.BackgroundTransparency = 1
  113. ClickC.Size = UDim2.new(1, 0, 1, 0)
  114. ClickC.Font = Enum.Font.SourceSans
  115. ClickC.Text = ""
  116. ClickC.TextColor3 = Color3.new(0, 0, 0)
  117. ClickC.TextScaled = true
  118. ClickC.TextSize = 1
  119. ClickC.TextWrapped = true
  120.  
  121. Green.Name = "Green"
  122. Green.Parent = Frame
  123. Green.BackgroundColor3 = Color3.new(0, 1, 0)
  124. Green.BorderColor3 = Color3.new(0, 0.666667, 0)
  125. Green.BorderSizePixel = 4
  126. Green.Position = UDim2.new(0.225950763, 0, 0.382899642, 0)
  127. Green.Size = UDim2.new(0, 62, 0, 62)
  128.  
  129. ClickD.Name = "ClickD"
  130. ClickD.Parent = Green
  131. ClickD.BackgroundColor3 = Color3.new(1, 1, 1)
  132. ClickD.BackgroundTransparency = 1
  133. ClickD.Size = UDim2.new(1, 0, 1, 0)
  134. ClickD.Font = Enum.Font.SourceSans
  135. ClickD.Text = ""
  136. ClickD.TextColor3 = Color3.new(0, 0, 0)
  137. ClickD.TextScaled = true
  138. ClickD.TextSize = 1
  139. ClickD.TextWrapped = true
  140.  
  141. Yellow.Name = "Yellow"
  142. Yellow.Parent = Frame
  143. Yellow.BackgroundColor3 = Color3.new(1, 1, 0)
  144. Yellow.BorderColor3 = Color3.new(0.666667, 0.666667, 0)
  145. Yellow.BorderSizePixel = 4
  146. Yellow.Position = UDim2.new(0.431767344, 0, 0.382899642, 0)
  147. Yellow.Size = UDim2.new(0, 62, 0, 62)
  148.  
  149. ClickB.Name = "ClickB"
  150. ClickB.Parent = Yellow
  151. ClickB.BackgroundColor3 = Color3.new(1, 1, 1)
  152. ClickB.BackgroundTransparency = 1
  153. ClickB.Size = UDim2.new(1, 0, 1, 0)
  154. ClickB.Font = Enum.Font.SourceSans
  155. ClickB.Text = ""
  156. ClickB.TextColor3 = Color3.new(0, 0, 0)
  157. ClickB.TextScaled = true
  158. ClickB.TextSize = 1
  159. ClickB.TextWrapped = true
  160.  
  161. Blue.Name = "Blue"
  162. Blue.Parent = Frame
  163. Blue.BackgroundColor3 = Color3.new(0, 0, 1)
  164. Blue.BorderColor3 = Color3.new(0, 0, 0.666667)
  165. Blue.BorderSizePixel = 4
  166. Blue.Position = UDim2.new(0.646532416, 0, 0.382899642, 0)
  167. Blue.Size = UDim2.new(0, 62, 0, 62)
  168.  
  169. ClickE.Name = "ClickE"
  170. ClickE.Parent = Blue
  171. ClickE.BackgroundColor3 = Color3.new(1, 1, 1)
  172. ClickE.BackgroundTransparency = 1
  173. ClickE.Size = UDim2.new(1, 0, 1, 0)
  174. ClickE.Font = Enum.Font.SourceSans
  175. ClickE.Text = ""
  176. ClickE.TextColor3 = Color3.new(0, 0, 0)
  177. ClickE.TextScaled = true
  178. ClickE.TextSize = 1
  179. ClickE.TextWrapped = true
  180.  
  181. Pink.Name = "Pink"
  182. Pink.Parent = Frame
  183. Pink.BackgroundColor3 = Color3.new(1, 0, 1)
  184. Pink.BorderColor3 = Color3.new(0.666667, 0, 0.666667)
  185. Pink.BorderSizePixel = 4
  186. Pink.Position = UDim2.new(0.832214773, 0, 0.382899642, 0)
  187. Pink.Size = UDim2.new(0, 62, 0, 62)
  188.  
  189. ClickA.Name = "ClickA"
  190. ClickA.Parent = Pink
  191. ClickA.BackgroundColor3 = Color3.new(1, 1, 1)
  192. ClickA.BackgroundTransparency = 1
  193. ClickA.Size = UDim2.new(1, 0, 1, 0)
  194. ClickA.Font = Enum.Font.SourceSans
  195. ClickA.Text = ""
  196. ClickA.TextColor3 = Color3.new(0, 0, 0)
  197. ClickA.TextScaled = true
  198. ClickA.TextSize = 1
  199. ClickA.TextWrapped = true
  200.  
  201. ClickC.MouseButton1Click:Connect(function()
  202.     clr = Color3.fromRGB(255, 0, 0)
  203.     maincolor = clr
  204.     for i,v in pairs(chr:GetChildren()) do
  205.         if v:IsA("Part") then
  206.             v.Color = maincolor
  207.         end
  208.     end
  209. end)
  210.  
  211. ClickD.MouseButton1Click:Connect(function()
  212.     clr = Color3.fromRGB(0, 255, 0)
  213.     maincolor = clr
  214.     for i,v in pairs(chr:GetChildren()) do
  215.         if v:IsA("Part") then
  216.             v.Color = maincolor
  217.         end
  218.     end
  219. end)
  220.  
  221. ClickB.MouseButton1Click:Connect(function()
  222.     clr = Color3.fromRGB(255, 255, 0)
  223.     maincolor = clr
  224.     for i,v in pairs(chr:GetChildren()) do
  225.         if v:IsA("Part") then
  226.             v.Color = maincolor
  227.         end
  228.     end
  229. end)
  230.  
  231. ClickE.MouseButton1Click:Connect(function()
  232.     clr = Color3.fromRGB(0, 0, 255)
  233.     maincolor = clr
  234.     for i,v in pairs(chr:GetChildren()) do
  235.         if v:IsA("Part") then
  236.             v.Color = maincolor
  237.         end
  238.     end
  239. end)
  240.  
  241. ClickA.MouseButton1Click:Connect(function()
  242.     clr = Color3.fromRGB(255, 0, 255)
  243.     maincolor = clr
  244.     for i,v in pairs(chr:GetChildren()) do
  245.         if v:IsA("Part") then
  246.             v.Color = maincolor
  247.         end
  248.     end
  249. end)
  250.  
  251. local random = math.random
  252. local rad = math.rad
  253.  
  254. local ExpS = 2011915907
  255.  
  256. local attack = false
  257. local QMove = false
  258. local Clicked = false
  259. local attacking = false
  260. local isReloading = false
  261. local ammo = 10
  262.  
  263. function rell()
  264.     if not isReloading then
  265.         isReloading = true
  266.         wait(5)
  267.         ammo = 10
  268.         isReloading = false
  269.     end
  270. end
  271.  
  272. function expTarg()
  273.     attack = true
  274.     QMove = true
  275.    
  276.     local raWeld = Instance.new("Weld",tors)
  277.     raWeld.Part0 = tors
  278.     raWeld.Part1 = rightArm
  279.     raWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(rad(0),rad(0),rad(0))
  280.    
  281.     for i = 0,1,0.15 do
  282.         RS:wait()
  283.         raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,.5,-.5) * CFrame.fromEulerAnglesXYZ(rad(90),rad(0),rad(0)),i)
  284.     end
  285.    
  286.     local effect = Instance.new("ParticleEmitter",rightArm)
  287.     effect.Color = ColorSequence.new(maincolor)
  288.     effect.Speed = NumberRange.new(-1, 1)
  289.     effect.LightEmission = 1
  290.     effect.LightInfluence = 0.3
  291.     effect.Size = NumberSequence.new(0.5,0.1875)
  292.     effect.Lifetime = NumberRange.new(0.5, 1)
  293.     effect.Rate = 30
  294.     effect.RotSpeed = NumberRange.new(-40, 40)
  295.     effect.SpreadAngle = Vector2.new(-25, 25)
  296.     effect.VelocitySpread = -25
  297.    
  298.     mouse.Button1Down:Connect(function()
  299.         if QMove == true and ammo > 0 then
  300.             if Clicked == true then return end
  301.             Clicked = true
  302.            
  303.             ammo = ammo - 1
  304.             humanoid.Health = humanoid.Health - math.random(14,21)
  305.             print(ammo)
  306.            
  307.             local prt = Instance.new("Part",workspace)
  308.             game:GetService("Debris"):AddItem(prt,1)
  309.             prt.Position = mouse.Hit.p + Vector3.new(0,0.85,0)
  310.             prt.Size = Vector3.new(1,1,1)
  311.             prt.Transparency = 1
  312.             prt.CanCollide = false
  313.            
  314.             for i = 0,1,0.3 do
  315.                 RS:wait()
  316.                 raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,.6,-.3) * CFrame.fromEulerAnglesXYZ(rad(100),rad(0),rad(0)),i)
  317.             end
  318.            
  319.             pcall(function()
  320.                
  321.                 local exp = Instance.new("Explosion",workspace)
  322.                 exp.ExplosionType = Enum.ExplosionType.NoCraters
  323.                 exp.DestroyJointRadiusPercent = 10
  324.                 exp.Position = prt.Position
  325.                
  326.                 local sou = Instance.new("Sound",prt)
  327.                 game:GetService("Debris"):AddItem(sou,1.7)
  328.                 sou.TimePosition = 0.2
  329.                 sou.MaxDistance = 600
  330.                 sou.Volume = 10
  331.                 sou.EmitterSize = 10
  332.                 sou.SoundId = "rbxassetid://"..ExpS
  333.                 sou:Play()
  334.             end)
  335.             wait(0.1)
  336.            
  337.             for i = 0,1,0.3 do
  338.                 RS:wait()
  339.                 raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,.5,-.5) * CFrame.fromEulerAnglesXYZ(rad(90),rad(0),rad(0)),i)
  340.             end
  341.            
  342.             wait(0.1)
  343.            
  344.             Clicked = false
  345.         else
  346.             for i = 0,1,0.15 do
  347.                 RS:wait()
  348.                 raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(rad(0),rad(0),rad(0)),i)
  349.             end
  350.                            
  351.             wait(0.1)
  352.             coroutine.resume(coroutine.create(function()
  353.                 rell()
  354.             end))
  355.             raWeld:Destroy()
  356.             effect:Destroy()
  357.             attack = false
  358.             QMove = false
  359.             Clicked = false
  360.         end
  361.     end)
  362.    
  363.     mouse.KeyDown:Connect(function(key)
  364.         if attack == true and Clicked == false then
  365.             if key == "q" and QMove == true then
  366.                
  367.                 for i = 0,1,0.15 do
  368.                     RS:wait()
  369.                     raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(rad(0),rad(0),rad(0)),i)
  370.                 end
  371.                            
  372.                 wait(0.1)
  373.                 raWeld:Destroy()
  374.                 effect:Destroy()
  375.                 attack = false
  376.                 QMove = false
  377.                 Clicked = false
  378.             end
  379.         end
  380.     end)
  381.    
  382.     while QMove do
  383.         if QMove == false then
  384.             break
  385.         end
  386.         RS:wait()
  387.     end
  388.    
  389. end
  390.  
  391. function ExpTRACE()
  392.     attack = true
  393.    
  394.     for i = 1,20 do
  395.         local prt = Instance.new("Part",workspace)
  396.         game:GetService("Debris"):AddItem(prt,1)
  397.         prt.Position = mouse.Hit.p + Vector3.new(0,0.85,0)
  398.         prt.Size = Vector3.new(1,1,1)
  399.         prt.Transparency = 1
  400.         prt.CanCollide = false
  401.            
  402.         pcall(function()   
  403.             local exp = Instance.new("Explosion",workspace)
  404.             exp.ExplosionType = Enum.ExplosionType.NoCraters
  405.             exp.DestroyJointRadiusPercent = 10
  406.             exp.Position = prt.Position
  407.                
  408.             local sou = Instance.new("Sound",prt)
  409.             game:GetService("Debris"):AddItem(sou,1.7)
  410.             sou.TimePosition = 0.2
  411.             sou.MaxDistance = 600
  412.             sou.Volume = 10
  413.             sou.EmitterSize = 10
  414.             sou.SoundId = "rbxassetid://"..ExpS
  415.             sou:Play()
  416.         end)
  417.         wait(0.1)
  418.         prt:Destroy()
  419.     end
  420.    
  421.     attack = false
  422. end
  423.  
  424. function expJump()
  425.     attack = true
  426.     for i = 1,5 do
  427.         RS:wait()
  428.        
  429.         local exp = Instance.new("Explosion",workspace)
  430.         exp.ExplosionType = Enum.ExplosionType.NoCraters
  431.         exp.DestroyJointRadiusPercent = 10
  432.         exp.Position = root.Position
  433.        
  434.         local sou = Instance.new("Sound",root)
  435.         game:GetService("Debris"):AddItem(sou,1.7)
  436.         sou.TimePosition = 0.2
  437.         sou.MaxDistance = 600
  438.         sou.Volume = 10
  439.         sou.EmitterSize = 10
  440.         sou.SoundId = "rbxassetid://"..ExpS
  441.         sou:Play()
  442.        
  443.         root.Velocity = root.CFrame.upVector * 200
  444.     end
  445.     wait(2)
  446.     attack = false
  447. end
  448.  
  449. function dash()
  450.     attack = true
  451.     for i = 1,20 do
  452.         RS:wait()
  453.        
  454.         coroutine.resume(coroutine.create(function()
  455.             delay(0.02, function()
  456.                 local exp = Instance.new("Explosion",workspace)
  457.                 exp.ExplosionType = Enum.ExplosionType.NoCraters
  458.                 exp.DestroyJointRadiusPercent = 10
  459.                 exp.BlastPressure = 60
  460.                 exp.Position = root.Position
  461.                
  462.                 local sou = Instance.new("Sound",root)
  463.                 game:GetService("Debris"):AddItem(sou,1.7)
  464.                 sou.TimePosition = 0.2
  465.                 sou.MaxDistance = 600
  466.                 sou.Volume = 10
  467.                 sou.EmitterSize = 10
  468.                 sou.SoundId = "rbxassetid://"..ExpS
  469.                 sou:Play()
  470.             end)
  471.         end),root)
  472.        
  473.         root.Velocity = root.CFrame.lookVector * 200
  474.     end
  475.     wait(1)
  476.     attack = false
  477. end
  478.  
  479. function solonggaybowser()
  480.     attack = true
  481.    
  482.     local bv = Instance.new("BodyVelocity",tors)
  483.     root.CFrame = CFrame.new(root.Position, Vector3.new(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z)) * CFrame.new(0,0,0)
  484.     game:GetService("Debris"):AddItem(bv,0.1)
  485.     bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  486.     bv.Velocity = CFrame.new(root.Position,mouse.Hit.p).LookVector * 100
  487.    
  488.     local FUUUUUUUUUUUUUUUUUUUUUUUUU = tors.Touched:Connect(function(hit)
  489.         local humn = hit.Parent:FindFirstChildOfClass("Humanoid")
  490.         if humn and humn.Health > 0 then
  491.             if hit:IsDescendantOf(chr) then return end
  492.             local suspect = humn.Parent
  493.             if suspect then
  494.                 local fakeHead = suspect:FindFirstChild("Head")
  495.                 if fakeHead then
  496.                     if not attacking then
  497.                         local fakeTors = suspect:FindFirstChild("HumanoidRootPart")
  498.                         if fakeTors then
  499.                            
  500.                             attacking = true
  501.                             attack = true
  502.                            
  503.                             local n00b = fakeHead
  504.                             local ra = rightArm
  505.                            
  506.                             --//Credit to vald20020 for command from his "Hell Torso" script.
  507.                            
  508.                             local prt = Instance.new("Part",ra)
  509.                             prt.Size = Vector3.new(1,1,1)
  510.                             prt.Transparency = 1
  511.                            
  512.                             local pw = Instance.new("Weld",prt)
  513.                             pw.Part0 = ra
  514.                             pw.Part1 = prt
  515.                             pw.C0 = pw.C0 * CFrame.new(0,.5,0)
  516.                            
  517.                             local hw = Instance.new("Weld",prt)
  518.                             hw.Part0 = prt
  519.                             hw.Part1 = n00b
  520.                             hw.C0 = hw.C0 * CFrame.new(0,-1.5,-2) * CFrame.fromEulerAnglesXYZ(1.55,0,3.1)
  521.                            
  522.                             local keyEvent = mouse.KeyDown:Connect(function(key)
  523.                                 if key == " " and attacking == true then
  524.                                     --workspace.CurrentCamera.CameraSubject = suspect
  525.                                     local spark = Instance.new("Sparkles",fakeTors)
  526.                                     spark.SparkleColor = Color3.new(math.random(),math.random(),math.random())
  527.                                     wait(1)
  528.                                     prt:Destroy()
  529.                                     local velo = Instance.new("BodyVelocity",fakeTors)
  530.                                     game:GetService("Debris"):AddItem(velo,2)
  531.                                     velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  532.                                     velo.Velocity = fakeTors.CFrame.LookVector * -250 + Vector3.new(0,60,0)
  533.                                     wait(2)
  534.                                     coroutine.resume(coroutine.create(function()
  535.                                         for i = 1,30 do
  536.                                             wait(0.05)
  537.                                            
  538.                                             local wh = Instance.new("Sound",workspace)
  539.                                             game:GetService("Debris"):AddItem(wh,0.7)
  540.                                             wh.SoundId = "rbxassetid://1400754519"
  541.                                             wh.Name = "imfastasfuckboi"
  542.                                             wh.Volume = 10
  543.                                             wh:Play()
  544.  
  545.                                             local exp = Instance.new("Explosion",workspace)
  546.                                             exp.ExplosionType = Enum.ExplosionType.NoCraters
  547.                                             exp.DestroyJointRadiusPercent = 10
  548.                                             exp.BlastPressure = 15000
  549.                                             exp.Position = fakeHead.Position
  550.                                         end
  551.                                     end),fakeTors)
  552.                                     wait(1)
  553.                                     attacking = false
  554.                                     attack = false
  555.                                     --workspace.CurrentCamera.CameraSubject = chr
  556.                                 end
  557.                             end)
  558.                            
  559.                             humanoid.Died:Connect(function()
  560.                                 keyEvent:Disconnect()
  561.                             end)
  562.                        
  563.                         else
  564.                             attacking = false      
  565.                         end
  566.                     end
  567.                 end
  568.             end
  569.         end
  570.     end)
  571.    
  572.     wait(0.4)
  573.     FUUUUUUUUUUUUUUUUUUUUUUUUU:Disconnect()
  574.     attack = false
  575. end
  576.  
  577. function gui()
  578.     Frame.Visible = not Frame.Visible
  579. end
  580.  
  581. function tele()
  582.     attack = true
  583.     chr:MoveTo(mouse.Hit.p + Vector3.new(0,0.5,0))
  584.     local exp = Instance.new("Explosion",workspace)
  585.     exp.ExplosionType = Enum.ExplosionType.NoCraters
  586.     exp.DestroyJointRadiusPercent = 30
  587.     exp.BlastPressure = 60
  588.     exp.Position = tors.Position
  589.                
  590.     local sou = Instance.new("Sound",root)
  591.     game:GetService("Debris"):AddItem(sou,1.7)
  592.     sou.TimePosition = 0.2
  593.     sou.MaxDistance = 600
  594.     sou.Volume = 10
  595.     sou.EmitterSize = 10
  596.     sou.SoundId = "rbxassetid://"..ExpS
  597.     sou:Play()
  598.     wait(3)
  599.     attack = false
  600. end
  601.  
  602. function dieXD()
  603.     attack = true
  604.     for i = 10,1,-1 do
  605.         game:GetService("Chat"):Chat(hed,i,Enum.ChatColor.White)
  606.         tors.BrickColor = BrickColor.new("Really red")
  607.         local sou = Instance.new("Sound",workspace)
  608.         game:GetService("Debris"):AddItem(sou,0.6)
  609.         sou.TimePosition = 0
  610.         sou.MaxDistance = 600
  611.         sou.Volume = 2
  612.         sou.EmitterSize = 10
  613.         sou.SoundId = "rbxassetid://161164363"
  614.         sou:Play()
  615.         wait(0.3)
  616.         tors.Color = maincolor
  617.         wait(0.7)
  618.     end
  619.     tors.Color = maincolor
  620.     wait(1)
  621.     local exp = Instance.new("Explosion",workspace)
  622.     exp.ExplosionType = Enum.ExplosionType.NoCraters
  623.     exp.DestroyJointRadiusPercent = math.huge
  624.     exp.BlastPressure = 5000000000000
  625.     exp.Position = tors.Position
  626.                
  627.     local sou = Instance.new("Sound",root)
  628.     game:GetService("Debris"):AddItem(sou,1.7)
  629.     sou.TimePosition = 0.2
  630.     sou.MaxDistance = 600
  631.     sou.Volume = 10
  632.     sou.EmitterSize = 10
  633.     sou.SoundId = "rbxassetid://"..ExpS
  634.     sou:Play()
  635.     chr:BreakJoints()
  636. end
  637.  
  638. function SEEEEEEEEYYYYYYYYyMMMMMMMOOOOOOOOOOUUUUUUUUUUURRRRRR()
  639.     attack = true
  640.     local count = 0
  641.     local sou = Instance.new("Sound",workspace)
  642.     game:GetService("Debris"):AddItem(sou,1.7)
  643.     sou.TimePosition = 12
  644.     sou.MaxDistance = 600
  645.     sou.Volume = 6
  646.     sou.EmitterSize = 10
  647.     sou.SoundId = "rbxassetid://1624692345"
  648.     sou:Play()
  649.         repeat
  650.             count = count + 0.3
  651.             for _,v in pairs(chr:GetDescendants()) do
  652.                if v:IsA("Motor6D") then
  653.                     v.C0 = v.C0 * CFrame.Angles(2*math.pi*math.random(),2*math.pi*math.random(),2*math.pi*math.random())
  654.                end
  655.             end
  656.            RS:wait()
  657.         until count >= 24
  658.    
  659.     local t = chr.Torso
  660.            
  661.             local rs = t["Right Shoulder"]
  662.             local ls = t["Left Shoulder"]
  663.             local rh = t["Right Hip"]
  664.             local lh = t["Left Hip"]
  665.             local nec = t.Neck
  666.             local rut = chr.HumanoidRootPart
  667.             local rutj = rut.RootJoint
  668.            
  669.             if count >= 24 then
  670.                 count = 0
  671.                 rutj.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  672.                 rh.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  673.                 rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  674.                 lh.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  675.                 ls.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  676.                 nec.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  677.             end
  678.            
  679.     wait(0.1)
  680.     attack = false     
  681. end
  682.  
  683. local keyDown = mouse.KeyDown:Connect(function(key)
  684.     if attack == false and attacking == false then
  685.         print(key)
  686.         if key == "q" and QMove == false then
  687.             expTarg()
  688.         end
  689.         if key == "e" then
  690.             ExpTRACE()
  691.         end
  692.         if key == "t" then
  693.             expJump()
  694.         end
  695.         if key == "r" then
  696.             dash()
  697.         end
  698.         if key == "y" and attacking == false then
  699.             solonggaybowser()
  700.         end
  701.         if key == "g" then
  702.             gui()
  703.         end
  704.         if key == "u" then
  705.             tele()
  706.         end
  707.         if key == "p" and humanoid.Health <= 60 then
  708.             dieXD()
  709.         end
  710.         if key == "m" then
  711.             SEEEEEEEEYYYYYYYYyMMMMMMMOOOOOOOOOOUUUUUUUUUUURRRRRR()
  712.         end
  713.     end
  714. end)
  715.  
  716. local chatted = player.Chatted:Connect(function(mesg)
  717.     if mesg:sub(1,10) == ":setcolor " then
  718.         local mg = mesg:sub(11)
  719.         if mg == "blue" then
  720.             clr = Color3.fromRGB(0, 0, 255)
  721.             maincolor = clr
  722.             for i,v in pairs(chr:GetChildren()) do
  723.                 if v:IsA("Part") then
  724.                     v.Color = maincolor
  725.                 end
  726.             end
  727.         elseif mg == "red" then
  728.             clr = Color3.fromRGB(255, 0, 0)
  729.             maincolor = clr
  730.             for i,v in pairs(chr:GetChildren()) do
  731.                 if v:IsA("Part") then
  732.                     v.Color = maincolor
  733.                 end
  734.             end
  735.         elseif mg == "yellow" then
  736.             clr = Color3.fromRGB(255, 255, 0)
  737.             maincolor = clr
  738.             for i,v in pairs(chr:GetChildren()) do
  739.                 if v:IsA("Part") then
  740.                     v.Color = maincolor
  741.                 end
  742.             end
  743.         elseif mg == "green" then
  744.             clr = Color3.fromRGB(0, 255, 0)
  745.             maincolor = clr
  746.             for i,v in pairs(chr:GetChildren()) do
  747.                 if v:IsA("Part") then
  748.                     v.Color = maincolor
  749.                 end
  750.             end
  751.         elseif mg == "pink" then
  752.             clr = Color3.fromRGB(255, 0, 255)
  753.             maincolor = clr
  754.             for i,v in pairs(chr:GetChildren()) do
  755.                 if v:IsA("Part") then
  756.                     v.Color = maincolor
  757.                 end
  758.             end            
  759.         end
  760.     end
  761. end)
  762.  
  763. humanoid.Died:Connect(function()
  764.     keyDown:Disconnect()
  765.     chatted:Disconnect()
  766. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement