generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » ROBLOX Talk
Home Search
 

Re: Want to nuke people, MW2 style, in script builders?

Previous Thread :: Next Thread 
ZackZak is not online. ZackZak
Joined: 26 Jul 2009
Total Posts: 2811
02 Aug 2011 11:29 PM
Here you go:

--[[ Teehee. ]]----------------------------------------------------------------------------------------------------------------------------------------------------------
Images = {
"http://www.roblox.com/asset/?id=58291204",
"http://www.roblox.com/asset/?id=58291212",
"http://www.roblox.com/asset/?id=58291220",
"http://www.roblox.com/asset/?id=58291227",
"http://www.roblox.com/asset/?id=58291235",
"http://www.roblox.com/asset/?id=58291248",
"http://www.roblox.com/asset/?id=58291255",
"http://www.roblox.com/asset/?id=58291265",
"http://www.roblox.com/asset/?id=58291276",
"http://www.roblox.com/asset/?id=58291282"
}
Nuking = true
for i = 1,10 do
game:GetService("ContentProvider"):Preload(Images[i])
end
wait(1)
function Delete(Object)
if Object:isA("BasePart") then
Object.Parent = nil
end
for Index,Child in pairs (Object:GetChildren()) do
Delete(Child)
end
end
function Destroy(Object)
if Object:isA("BasePart") then
Object.BrickColor = BrickColor.new("Black")
Object.Material = Enum.Material.CorrodedMetal
end
for Index,Child in pairs (Object:GetChildren()) do
math.randomseed(tick())
Chance = math.random(1,3)
if Chance == 1 then
Destroy(Child)
else
if Child:isA("BasePart") and Child.Name ~= "Base" and Child.Name ~= "Torso" and Child.Name ~= "Head" then
Child.Parent = nil
end
end
end
end
function Nuke(Player)
if Nuking then
GUI = Instance.new("ScreenGui",Player.PlayerGui)
GUI.Name = "Nuke"
Frame = Instance.new("Frame",GUI)
Flash = Instance.new("Frame",GUI)
Frame.Style = Enum.FrameStyle.RobloxRound
Frame.Position = UDim2.new(0.5,-140,0,10)
Frame.Size = UDim2.new(0,280,0,60)
Nuke = Instance.new("ImageLabel",Frame)
Nuke.Name = "Nuke"
Nuke.Image = Images[1]
delay(0,function()
for s = 1,100 do
for i = 1,10 do
Nuke.Image = Images[i]
wait(.05)
end
end
end)
Nuke.BackgroundTransparency = 1
Nuke.BorderSizePixel = 0
Nuke.Position = UDim2.new(0,220,0.5,-20)
Nuke.Size = UDim2.new(0,40,0,40)
Label = Instance.new("TextLabel",Frame)
Label.Name = "Count"
Label.BackgroundTransparency = 1
Label.BorderSizePixel = 0
Label.FontSize = Enum.FontSize.Size14
Label.Text = "Tactical Nuke Inbound! 5"
Label.Position = UDim2.new(0,0,0,0)
Label.Size = UDim2.new(0,210,1,0)
Label.TextColor3 = Color3.new(1,1,0.4)
Flash.Name = "Flash"
Flash.BackgroundTransparency = 1
Flash.BackgroundColor3 = Color3.new(1,1,1)
Flash.BorderSizePixel = 0
Flash.Size = UDim2.new(1,0,1,0)
Sound = Instance.new("Sound",GUI)
Sound.SoundId = "rbxasset://sounds//electronicpingshort.wav"
Sound.Volume = 1
Sound.Name = "Sound1"
Sound = Instance.new("Sound",GUI)
Sound.SoundId = "rbxasset://sounds/collide.wav"
Sound.Volume = 1
Sound.Pitch = .5
Sound.Name = "Sound2"
Sound = Instance.new("Sound",GUI)
Sound.SoundId = "rbxasset://sounds/collide.wav"
Sound.Volume = 1
Sound.Pitch = .1
Sound.Name = "Sound3"
end
end
for Index,Player in pairs (game.Players:GetChildren()) do
Nuke(Player)
Player.CharacterAdded:connect(function()
Nuke(Player)
end)
end
game.Players.PlayerAdded:connect(function()
Nuke(Player)
Player.CharacterAdded:connect(function()
Nuke(Player)
end)
end)
for t = 5,1,-1 do
for Index,Player in pairs (game.Players:GetChildren()) do
if Player.PlayerGui:FindFirstChild("Nuke") then
Player.PlayerGui.Nuke.Frame.Count.Text = "Tactical Nuke Inbound! "..t
Player.PlayerGui.Nuke.Sound1:Play()
end
end
wait(1)
end
for Index,Player in pairs (game.Players:GetChildren()) do
if Player.PlayerGui:FindFirstChild("Nuke") then
Player.PlayerGui.Nuke.Frame.Parent = nil
Player.PlayerGui.Nuke.Sound2:Play()
Player.PlayerGui.Nuke.Sound3:Play()
end
end
for i = 1,-0.1,-.1 do
for Index,Player in pairs (game.Players:GetChildren()) do
if Player.PlayerGui:FindFirstChild("Nuke") then
Player.PlayerGui.Nuke.Flash.BackgroundTransparency = i
end
end
wait()
end
Destroy(workspace)
Destroy(game.Lighting)
game.Lighting.Ambient = Color3.new(1,.8,0)
for Index,Player in pairs (game.Players:GetChildren()) do
if Player.Character then
Player.Character.Humanoid.WalkSpeed = 4
end
end
wait(1)
for i = -0.1,1.1,.1 do
for Index,Player in pairs (game.Players:GetChildren()) do
if Player.PlayerGui:FindFirstChild("Nuke") then
Player.PlayerGui.Nuke.Flash.BackgroundTransparency = i
end
end
wait()
end
Nuking = false
for Index,Player in pairs (game.Players:GetChildren()) do
if Player.PlayerGui:FindFirstChild("Nuke") then
Player.PlayerGui.Nuke.Parent = nil
end
end
wait(5)
for Index,Player in pairs (game.Players:GetChildren()) do
GUI = Instance.new("ScreenGui",Player.PlayerGui)
GUI.Name = "Nuke"
Frame = Instance.new("Frame",GUI)
Frame.BackgroundColor3 = Color3.new(0,0,0)
Frame.BackgroundTransparency = 1
Frame.BorderSizePixel = 0
Frame.Size = UDim2.new(1,0,1,0)
end
for i = 1,-0.1,-.01 do
for Index,Player in pairs (game.Players:GetChildren()) do
if Player.PlayerGui:FindFirstChild("Nuke") then
Player.PlayerGui.Nuke.Frame.BackgroundTransparency = i
end
end
wait()
end
for Index,Child in pairs (game.Players:GetChildren()) do
Child.Parent = nil
end
Delete(workspace)
Delete(game.Lighting)
Report Abuse
legoclonewars is not online. legoclonewars
Joined: 07 Dec 2009
Total Posts: 16659
02 Aug 2011 11:31 PM
I'm actually going to do this :<
Report Abuse
ZackZak is not online. ZackZak
Joined: 26 Jul 2009
Total Posts: 2811
02 Aug 2011 11:32 PM
@clonewars:

It's pretty awesome. It plays sounds, rotates the nuke emblem, destroys the place and forces everyone to leave. :D
Report Abuse
Agent718 is not online. Agent718
Joined: 15 Jun 2008
Total Posts: 3661
02 Aug 2011 11:37 PM
So where do I enter it in the place?
Report Abuse
legoclonewars is not online. legoclonewars
Joined: 07 Dec 2009
Total Posts: 16659
02 Aug 2011 11:38 PM
Wont work :<
Report Abuse
ERRORV3 is not online. ERRORV3
Joined: 14 Feb 2011
Total Posts: 352
02 Aug 2011 11:40 PM
[ Content Deleted ]
Report Abuse
ZackZak is not online. ZackZak
Joined: 26 Jul 2009
Total Posts: 2811
03 Aug 2011 12:10 AM
@agent: In the chat bar, it varies though depending on the script builder.

@clonewars: It depends on the script builder security.

@error: Yeah, it hides the main code.

Also, you can save this as Nuke.lua and run it with Tools > Execute Script in a play solo place. : )
Report Abuse
ZackZak is not online. ZackZak
Joined: 26 Jul 2009
Total Posts: 2811
03 Aug 2011 12:14 AM
Bump.
Report Abuse
XJeffXNeroXPPV1 is not online. XJeffXNeroXPPV1
Joined: 03 Nov 2010
Total Posts: 11250
03 Aug 2011 12:17 AM
how do you get this working do I copy the part with the links too
Report Abuse
ZackZak is not online. ZackZak
Joined: 26 Jul 2009
Total Posts: 2811
03 Aug 2011 12:32 AM
@X:

Yep.
Report Abuse
XJeffXNeroXPPV1 is not online. XJeffXNeroXPPV1
Joined: 03 Nov 2010
Total Posts: 11250
03 Aug 2011 12:34 AM
it dosent work. What script builder place should I go to 1 2 or 3
Report Abuse
ZackZak is not online. ZackZak
Joined: 26 Jul 2009
Total Posts: 2811
03 Aug 2011 12:36 AM
Anaminus's script builders have security to stop server messing up stuff like this.

Try Billiland's old script builder.
Report Abuse
XJeffXNeroXPPV1 is not online. XJeffXNeroXPPV1
Joined: 03 Nov 2010
Total Posts: 11250
03 Aug 2011 12:37 AM
ok
Report Abuse
ZackZak is not online. ZackZak
Joined: 26 Jul 2009
Total Posts: 2811
03 Aug 2011 12:43 AM
Here's a server with low enough security to run this:

http://www.roblox.com/Oxcool1s-script-builder-Fixed-item?id=20279777
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » ROBLOX Talk
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image