Advertisement
WizzKidzz

Military Simulator Roblox GUI

Aug 6th, 2019
10,754
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.85 KB | None | 0 0
  1. ONLY FOR SOVIET UNION https://www.roblox.com/games/2988554876/AREA-51-Military-Simulator
  2. Sub to BiYte!!
  3. Made by roblox1geret
  4.  
  5.  
  6. -- Instances:
  7. local MilGUI = Instance.new("ScreenGui")
  8. local Frame = Instance.new("Frame")
  9. local title = Instance.new("TextLabel")
  10. local tpguns = Instance.new("TextButton")
  11. local rlist = Instance.new("TextButton")
  12. local infjump = Instance.new("TextButton")
  13. local moresoon = Instance.new("TextButton")
  14. local openclose = Instance.new("TextButton")
  15. --Properties:
  16. MilGUI.Name = "MilGUI"
  17. MilGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  18. MilGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  19. MilGUI.ResetOnSpawn = false
  20.  
  21. Frame.Parent = MilGUI
  22. Frame.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  23. Frame.BorderColor3 = Color3.new(1, 0, 0)
  24. Frame.BorderSizePixel = 5
  25. Frame.Position = UDim2.new(0.0645577759, 0, 0.428977281, 0)
  26. Frame.Size = UDim2.new(0, 200, 0, 209)
  27.  
  28. title.Name = "title"
  29. title.Parent = Frame
  30. title.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  31. title.BorderColor3 = Color3.new(1, 0, 0)
  32. title.BorderSizePixel = 5
  33. title.Size = UDim2.new(0, 200, 0, 39)
  34. title.Font = Enum.Font.GothamSemibold
  35. title.Text = "Military Simulator GUI"
  36. title.TextColor3 = Color3.new(1, 1, 1)
  37. title.TextScaled = true
  38. title.TextSize = 25
  39. title.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  40. title.TextStrokeTransparency = 0
  41. title.TextWrapped = true
  42.  
  43. tpguns.Name = "tpguns"
  44. tpguns.Parent = Frame
  45. tpguns.BackgroundColor3 = Color3.new(1, 1, 1)
  46. tpguns.BackgroundTransparency = 1
  47. tpguns.BorderColor3 = Color3.new(1, 0, 0)
  48. tpguns.BorderSizePixel = 0
  49. tpguns.Position = UDim2.new(0, 0, 0.234728873, 0)
  50. tpguns.Size = UDim2.new(0, 200, 0, 50)
  51. tpguns.Font = Enum.Font.Gotham
  52. tpguns.Text = "Teleport guns to Immigrant spawn"
  53. tpguns.TextColor3 = Color3.new(1, 1, 1)
  54. tpguns.TextSize = 25
  55. tpguns.TextStrokeColor3 = Color3.new(1, 0, 0)
  56. tpguns.TextStrokeTransparency = 0
  57. tpguns.TextWrapped = true
  58.  
  59. rlist.Name = "rlist"
  60. rlist.Parent = Frame
  61. rlist.BackgroundColor3 = Color3.new(1, 1, 1)
  62. rlist.BackgroundTransparency = 1
  63. rlist.BorderColor3 = Color3.new(1, 0, 0)
  64. rlist.BorderSizePixel = 0
  65. rlist.Position = UDim2.new(0, 0, 0.533034325, 0)
  66. rlist.Size = UDim2.new(0, 200, 0, 27)
  67. rlist.Font = Enum.Font.Gotham
  68. rlist.Text = "Toggle player list"
  69. rlist.TextColor3 = Color3.new(1, 1, 1)
  70. rlist.TextSize = 25
  71. rlist.TextStrokeColor3 = Color3.new(1, 0, 0)
  72. rlist.TextStrokeTransparency = 0
  73. rlist.TextWrapped = true
  74.  
  75. infjump.Name = "infjump"
  76. infjump.Parent = Frame
  77. infjump.BackgroundColor3 = Color3.new(1, 1, 1)
  78. infjump.BackgroundTransparency = 1
  79. infjump.BorderColor3 = Color3.new(1, 0, 0)
  80. infjump.BorderSizePixel = 0
  81. infjump.Position = UDim2.new(0, 0, 0.72717303, 0)
  82. infjump.Size = UDim2.new(0, 200, 0, 27)
  83. infjump.Font = Enum.Font.Gotham
  84. infjump.Text = "Infinite jump"
  85. infjump.TextColor3 = Color3.new(1, 1, 1)
  86. infjump.TextSize = 25
  87. infjump.TextStrokeColor3 = Color3.new(1, 0, 0)
  88. infjump.TextStrokeTransparency = 0
  89. infjump.TextWrapped = true
  90.  
  91. moresoon.Name = "moresoon"
  92. moresoon.Parent = Frame
  93. moresoon.BackgroundColor3 = Color3.new(1, 1, 1)
  94. moresoon.BackgroundTransparency = 1
  95. moresoon.BorderColor3 = Color3.new(1, 0, 0)
  96. moresoon.BorderSizePixel = 0
  97. moresoon.Position = UDim2.new(0, 0, 0.889852583, 0)
  98. moresoon.Size = UDim2.new(0, 200, 0, 22)
  99. moresoon.Font = Enum.Font.Gotham
  100. moresoon.Text = "Probably no new functions soon"
  101. moresoon.TextColor3 = Color3.new(0, 0, 0)
  102. moresoon.TextSize = 13
  103. moresoon.TextStrokeColor3 = Color3.new(1, 0, 0)
  104. moresoon.TextStrokeTransparency = 0
  105. moresoon.TextWrapped = true
  106.  
  107. openclose.Name = "openclose"
  108. openclose.Parent = MilGUI
  109. openclose.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  110. openclose.BorderColor3 = Color3.new(1, 0, 0)
  111. openclose.BorderSizePixel = 5
  112. openclose.Position = UDim2.new(0.481023878, 0, -0.000863611698, 0)
  113. openclose.Size = UDim2.new(0, 75, 0, 25)
  114. openclose.Font = Enum.Font.SourceSans
  115. openclose.Text = "Close"
  116. openclose.TextColor3 = Color3.new(1, 1, 1)
  117. openclose.TextScaled = true
  118. openclose.TextSize = 14
  119. openclose.TextStrokeColor3 = Color3.new(1, 0, 0)
  120. openclose.TextStrokeTransparency = 0
  121. openclose.TextWrapped = true
  122. -- Scripts:
  123. tpguns.MouseButton1Click:Connect(function()
  124. local d = game.workspace:GetDescendants()
  125.  
  126. for index, descendant in pairs(d) do
  127. if descendant.Name == "PPsh41" then
  128. if descendant.Parent.Name == "Model" then
  129. descendant.Parent.PrimaryPart = descendant.Parent.Part
  130. descendant.Parent:SetPrimaryPartCFrame(CFrame.new(40.11, 3.5, 215.72))
  131. end
  132. end
  133. end
  134.  
  135. for index, descendant in pairs(d) do
  136. if descendant.Name == "TrenchShotgun" then
  137. if descendant.Parent.Name == "Model" then
  138. descendant.Parent.PrimaryPart = descendant.Parent.Part
  139. descendant.Parent:SetPrimaryPartCFrame(CFrame.new(40.11, 6.5, 215.72))
  140. end
  141. end
  142. end
  143. end)
  144.  
  145. rlist.MouseButton1Click:Connect(function()
  146. local list = game.Players.LocalPlayer.PlayerGui.playerList
  147.  
  148. if list.Enabled == true then
  149. game.Players.LocalPlayer.PlayerGui.playerList.Enabled = false
  150. else
  151. game.Players.LocalPlayer.PlayerGui.playerList.Enabled = true
  152. end
  153. end)
  154.  
  155. infjump.MouseButton1Click:Connect(function()
  156. local Player = game:GetService'Players'.LocalPlayer;
  157. local UIS = game:GetService'UserInputService';
  158.  
  159. _G.JumpHeight = 50;
  160.  
  161. function Action(Object, Function) if Object ~= nil then Function(Object); end end
  162.  
  163. UIS.InputBegan:connect(function(UserInput)
  164. if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.Space then
  165. Action(Player.Character.Humanoid, function(self)
  166. if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
  167. Action(self.Parent.HumanoidRootPart, function(self)
  168. self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
  169. end)
  170. end
  171. end)
  172. end
  173. end)
  174. end)
  175.  
  176.  
  177. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  178.  
  179. counter = 0
  180.  
  181. open = true
  182.  
  183. openclose.MouseButton1Click:Connect(function()
  184. if open == true then
  185. Frame.Visible = false
  186. openclose.Text = "Open"
  187. open = false
  188. else
  189. Frame.Visible = true
  190. openclose.Text = "Close"
  191. open = true
  192. end
  193. end)
  194.  
  195. while true do
  196. wait(0.1)
  197. tpguns.TextStrokeColor3 = Color3.fromHSV(zigzag(counter),1,1)
  198. rlist.TextStrokeColor3 = Color3.fromHSV(zigzag(counter),1,1)
  199. infjump.TextStrokeColor3 = Color3.fromHSV(zigzag(counter),1,1)
  200. title.TextStrokeColor3 = Color3.fromHSV(zigzag(counter),1,1)
  201. title.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  202. moresoon.TextStrokeColor3 = Color3.fromHSV(zigzag(counter),1,1)
  203. Frame.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  204. openclose.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  205. openclose.TextStrokeColor3 = Color3.fromHSV(zigzag(counter),1,1)
  206. counter = counter + 0.01
  207. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement