Advertisement
Hmm465_Gaming

nuke script

Feb 20th, 2018
3,191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.96 KB | None | 0 0
  1. wait(1 / 60)
  2. Effects = { }
  3. local Player = game.Players.localPlayer
  4. local Character = Player.Character
  5. local Humanoid = Character.Humanoid
  6. local mouse = Player:GetMouse()
  7. local m = Instance.new('Model', Character)
  8. m.Name = "WeaponModel"
  9. local LeftArm = Character["Left Arm"]
  10. local RightArm = Character["Right Arm"]
  11. local LeftLeg = Character["Left Leg"]
  12. local RightLeg = Character["Right Leg"]
  13. local Head = Character.Head
  14. local Torso = Character.Torso
  15. local cam = game.Workspace.CurrentCamera
  16. local RootPart = Character.HumanoidRootPart
  17. local RootJoint = RootPart.RootJoint
  18. local equipped = false
  19. local attack = false
  20. local Anim = 'Idle'
  21. local idle = 0
  22. local attacktype = 1
  23. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  24. local velocity = RootPart.Velocity.y
  25. local sine = 0
  26. local change = 1
  27. local grabbed = false
  28. local cn = CFrame.new
  29. local mr = math.rad
  30. local angles = CFrame.Angles
  31. local ud = UDim2.new
  32. local c3 = Color3.new
  33. Head.face.Texture="https://www.roblox.com/asset/?id=20418518"
  34. CV="White"
  35.  
  36.     p = game.Players.LocalPlayer
  37.     char = p.Character
  38.     local txt = Instance.new("BillboardGui", char)
  39.     txt.Adornee = char .Head
  40.     txt.Name = "_status"
  41.     txt.Size = UDim2.new(2, 0, 1.2, 0)
  42.     txt.StudsOffset = Vector3.new(-9, 8, 0)
  43.     local text = Instance.new("TextLabel", txt)
  44.     text.Size = UDim2.new(10, 0, 7, 0)
  45.     text.FontSize = "Size24"
  46.     text.TextScaled = true
  47.     text.TextTransparency = 0
  48.     text.BackgroundTransparency = 1
  49.     text.TextTransparency = 0
  50.     text.TextStrokeTransparency = 1
  51.     text.Font = "Arcade"
  52.     text.TextStrokeColor3 = Color3.new(255,0,0)
  53.  
  54.     v=Instance.new("Part")
  55.     v.Name = "ColorBrick"
  56.     v.Parent=p.Character
  57.     v.FormFactor="Symmetric"
  58.     v.Anchored=true
  59.     v.CanCollide=false
  60.     v.BottomSurface="Smooth"
  61.     v.TopSurface="Smooth"
  62.     v.Size=Vector3.new(10,5,3)
  63.     v.Transparency=1
  64.     v.CFrame=char.Torso.CFrame
  65.     v.BrickColor=BrickColor.new(CV)
  66.     v.Transparency=1
  67.     text.TextColor3 = Color3.new(255,0,0)
  68.     v.Shape="Block"
  69.     text.Text = "exploding..."
  70.     wait(5)
  71. if Humanoid.Health < 100
  72. then
  73. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  74. game.Players.LocalPlayer.Character.Humanoid.Health = 100
  75. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  76. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  77. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  78. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  79. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  80. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  81. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  82. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  83. game.Players.LocalPlayer.Character.Humanoid.Health = 100
  84. end
  85. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  86. game.Players.LocalPlayer.Character.Humanoid.Health = math.Huge
  87. local bb = Instance.new("Sound", workspace)
  88. bb.SoundId = "rbxassetid://646752174"
  89. bb.PlaybackSpeed = 1
  90. bb.Volume = 1
  91. bb.Name = "messedup"
  92. bb.Looped = false
  93. bb:Play()
  94. wait(151.97)
  95. bb:Stop()
  96. bb.SoundId = "rbxassetid://437318220"
  97. bb:Play()
  98. wait(119.796)
  99. bb:Stop()
  100. wait(1)
  101. local nuke = Instance.new("Part", workspace)
  102.             nuke.Anchored = true
  103.             nuke.CanCollide = false
  104.             nuke.FormFactor = "Symmetric"
  105.             nuke.Shape = "Ball"
  106.             nuke.Size = Vector3.new(1,1,1)
  107.             nuke.BrickColor = BrickColor.new("New Yeller")
  108.             nuke.Transparency = 0.5
  109.             nuke.Reflectance = 0.2
  110.             nuke.TopSurface = 0
  111.             nuke.BottomSurface = 0
  112.             nuke.Touched:connect(function (hit)
  113.                 if hit and hit.Parent then
  114.                     local boom = Instance.new("Explosion", workspace)
  115.                     boom.Position = hit.Position
  116.                     boom.BlastRadius = 11
  117.                     boom.BlastPressure = math.huge
  118.                 end
  119.             end)
  120.             local CF = pchar.HumanoidRootPart.CFrame
  121.             nuke.CFrame = CF
  122.             for i = 1,333 do
  123.                 nuke.Size = nuke.Size + Vector3.new(3,3,3)
  124.                 nuke.CFrame = CF
  125.                 wait(1/44)
  126.             end
  127.             nuke:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement