Advertisement
sonywalker

[REL]ARMY TYCOON INFINITE MISSILE/NUKE SCRIPT

Dec 4th, 2019
15,215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.22 KB | None | 0 0
  1. local Workspace = game:GetService("Workspace")
  2. local CoreGui = game:GetService("CoreGui")
  3. local Players = game:GetService("Players")
  4. local Noclip = Instance.new("ScreenGui")
  5. local BG = Instance.new("Frame")
  6. local Title = Instance.new("TextLabel")
  7. local Toggle = Instance.new("TextButton")
  8. local StatusPF = Instance.new("TextLabel")
  9. local Status = Instance.new("TextLabel")
  10. local Credit = Instance.new("TextLabel")
  11. local Plr = Players.LocalPlayer.Name
  12. local Clipon = false
  13.  
  14. Noclip.Name = "Noclip"
  15. Noclip.Parent = game.CoreGui
  16.  
  17. BG.Name = "BG"
  18. BG.Parent = Noclip
  19. BG.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  20. BG.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  21. BG.BorderSizePixel = 2
  22. BG.Position = UDim2.new(0.149479166, 0, 0.82087779, 0)
  23. BG.Size = UDim2.new(0, 210, 0, 127)
  24. BG.Active = true
  25. BG.Draggable = true
  26.  
  27. Title.Name = "Title"
  28. Title.Parent = BG
  29. Title.BackgroundColor3 = Color3.new(0.266667, 0.00392157, 0.627451)
  30. Title.BorderColor3 = Color3.new(0.180392, 0, 0.431373)
  31. Title.BorderSizePixel = 2
  32. Title.Size = UDim2.new(0, 210, 0, 33)
  33. Title.Font = Enum.Font.Highway
  34. Title.Text = "Heavy Missile"
  35. Title.TextColor3 = Color3.new(1, 1, 1)
  36. Title.FontSize = Enum.FontSize.Size32
  37. Title.TextSize = 30
  38. Title.TextStrokeColor3 = Color3.new(0.180392, 0, 0.431373)
  39. Title.TextStrokeTransparency = 0
  40.  
  41. Toggle.Parent = BG
  42. Toggle.BackgroundColor3 = Color3.new(0.266667, 0.00392157, 0.627451)
  43. Toggle.BorderColor3 = Color3.new(0.180392, 0, 0.431373)
  44. Toggle.BorderSizePixel = 2
  45. Toggle.Position = UDim2.new(0.152380958, 0, 0.374192119, 0)
  46. Toggle.Size = UDim2.new(0, 146, 0, 36)
  47. Toggle.Font = Enum.Font.Highway
  48. Toggle.FontSize = Enum.FontSize.Size28
  49. Toggle.Text = "Toggle"
  50. Toggle.TextColor3 = Color3.new(1, 1, 1)
  51. Toggle.TextSize = 25
  52. Toggle.TextStrokeColor3 = Color3.new(0.180392, 0, 0.431373)
  53. Toggle.TextStrokeTransparency = 0
  54.  
  55. StatusPF.Name = "StatusPF"
  56. StatusPF.Parent = BG
  57. StatusPF.BackgroundColor3 = Color3.new(1, 1, 1)
  58. StatusPF.BackgroundTransparency = 1
  59. StatusPF.Position = UDim2.new(0.314285725, 0, 0.708661377, 0)
  60. StatusPF.Size = UDim2.new(0, 56, 0, 20)
  61. StatusPF.Font = Enum.Font.Highway
  62. StatusPF.FontSize = Enum.FontSize.Size24
  63. StatusPF.Text = "Status:"
  64. StatusPF.TextColor3 = Color3.new(1, 1, 1)
  65. StatusPF.TextSize = 20
  66. StatusPF.TextStrokeColor3 = Color3.new(0.333333, 0.333333, 0.333333)
  67. StatusPF.TextStrokeTransparency = 0
  68. StatusPF.TextWrapped = true
  69.  
  70. Status.Name = "Status"
  71. Status.Parent = BG
  72. Status.BackgroundColor3 = Color3.new(1, 1, 1)
  73. Status.BackgroundTransparency = 1
  74. Status.Position = UDim2.new(0.580952346, 0, 0.708661377, 0)
  75. Status.Size = UDim2.new(0, 56, 0, 20)
  76. Status.Font = Enum.Font.Highway
  77. Status.FontSize = Enum.FontSize.Size14
  78. Status.Text = "off"
  79. Status.TextColor3 = Color3.new(0.666667, 0, 0)
  80. Status.TextScaled = true
  81. Status.TextSize = 14
  82. Status.TextStrokeColor3 = Color3.new(0.180392, 0, 0.431373)
  83. Status.TextWrapped = true
  84. Status.TextXAlignment = Enum.TextXAlignment.Left
  85.  
  86. Credit.Name = "Credit"
  87. Credit.Parent = BG
  88. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  89. Credit.BackgroundTransparency = 1
  90. Credit.Position = UDim2.new(0.195238099, 0, 0.866141737, 0)
  91. Credit.Size = UDim2.new(0, 128, 0, 17)
  92. Credit.Font = Enum.Font.SourceSans
  93. Credit.FontSize = Enum.FontSize.Size18
  94. Credit.Text = "Created By: Norvarg"
  95. Credit.TextColor3 = Color3.new(1, 1, 1)
  96. Credit.TextSize = 16
  97. Credit.TextStrokeColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  98. Credit.TextStrokeTransparency = 0
  99. Credit.TextWrapped = true
  100.  
  101. Toggle.MouseButton1Click:connect(function()
  102. if Status.Text == "off" then
  103. Clipon = true
  104. Status.Text = "on"
  105. Status.TextColor3 = Color3.new(0,185,0)
  106. --Stepped = game:GetService("RunService").Stepped:Connect(function()
  107. if not Clipon == false then
  108. game:GetService("UserInputService").InputBegan:connect(function(key)
  109. if key.KeyCode == Enum.KeyCode.E and not Clipon == false then
  110.  
  111. local mouse = game.Players.localPlayer:GetMouse()
  112. local position = mouse.Hit.p
  113. local A_1 = "Nuke"
  114. local A_2 = position
  115. local Event = game:GetService("ReplicatedStorage").RE.FireMissile
  116. Event:FireServer(A_1, A_2)
  117.  
  118. end
  119. end)
  120.  
  121. else
  122. --SteppedBig Grinisconnect()
  123. end
  124. --end)
  125. elseif Status.Text == "on" then
  126. Clipon = false
  127. Status.Text = "off"
  128. Status.TextColor3 = Color3.new(170,0,0)
  129. end
  130. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement