Advertisement
SubScripts

eas roblox void script builder script

Mar 11th, 2019 (edited)
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.41 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local weather = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local Frame_2 = Instance.new("Frame")
  9. local TextLabel = Instance.new("TextLabel")
  10. local TextLabel_2 = Instance.new("TextLabel")
  11. local EAS_Text = Instance.new("TextBox")
  12. local Send_EAS = Instance.new("TextButton")
  13.  
  14. --Properties:
  15.  
  16. weather.Name = "weather"
  17. weather.Parent = owner:WaitForChild("PlayerGui")
  18.  
  19. Frame.Parent = weather
  20. Frame.BackgroundColor3 = Color3.fromRGB(48, 48, 48)
  21. Frame.BorderSizePixel = 0
  22. Frame.Position = UDim2.new(0.108617596, 0, 0.109510086, 0)
  23. Frame.Size = UDim2.new(0, 493, 0, 290)
  24.  
  25. Frame_2.Parent = Frame
  26. Frame_2.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
  27. Frame_2.BorderSizePixel = 0
  28. Frame_2.Position = UDim2.new(-0.000915898767, 0, -0.000834708393, 0)
  29. Frame_2.Size = UDim2.new(0, 493, 0, 60)
  30.  
  31. TextLabel.Parent = Frame_2
  32. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  33. TextLabel.BackgroundTransparency = 1.000
  34. TextLabel.Size = UDim2.new(0.665314376, 0, 1, 0)
  35. TextLabel.Font = Enum.Font.Gotham
  36. TextLabel.Text = "MOONLIGHT"
  37. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  38. TextLabel.TextScaled = true
  39. TextLabel.TextSize = 14.000
  40. TextLabel.TextWrapped = true
  41. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  42.  
  43. TextLabel_2.Parent = Frame_2
  44. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  45. TextLabel_2.BackgroundTransparency = 1.000
  46. TextLabel_2.Position = UDim2.new(0.69168359, 0, 0.649999976, 0)
  47. TextLabel_2.Size = UDim2.new(0.308316439, 0, 0.349999994, 0)
  48. TextLabel_2.Font = Enum.Font.Gotham
  49. TextLabel_2.Text = "WEATHER"
  50. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  51. TextLabel_2.TextScaled = true
  52. TextLabel_2.TextSize = 14.000
  53. TextLabel_2.TextWrapped = true
  54. TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  55.  
  56. Send_EAS.Name = "Send_EAS"
  57. Send_EAS.Parent = Frame_2
  58. Send_EAS.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
  59. Send_EAS.Position = UDim2.new(0.018, 0,1.733, 0)
  60. Send_EAS.Size = UDim2.new(0, 478,0, 50)
  61. Send_EAS.Font = Enum.Font.SourceSans
  62. Send_EAS.Text = "SEND EAS ALERT - TORNADO"
  63. Send_EAS.TextColor3 = Color3.fromRGB(255, 255, 255)
  64. Send_EAS.TextScaled = true
  65. Send_EAS.TextSize = 14.000
  66. Send_EAS.TextWrapped = true
  67.  
  68. function sendEASAlert(txt,p)
  69. -- Gui to Lua
  70. -- Version: 3.2
  71.  
  72. -- Instances:
  73.  
  74. coroutine.wrap(function()
  75. local EASalertlol = Instance.new("ScreenGui")
  76. local Frame = Instance.new("Frame")
  77. local TextLabel = Instance.new("TextLabel")
  78. local alarm = Instance.new("TextLabel")
  79.  
  80. --Properties:
  81.  
  82. EASalertlol.Name = "EAS alert lol"
  83. EASalertlol.Parent = p:WaitForChild("PlayerGui")
  84. EASalertlol.Enabled = false
  85.  
  86. Frame.Parent = EASalertlol
  87. Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  88. Frame.Size = UDim2.new(1, 0, 1, 0)
  89.  
  90. TextLabel.Parent = EASalertlol
  91. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  92. TextLabel.BackgroundTransparency = 1.000
  93. TextLabel.Position = UDim2.new(0, 0, 0.082132563, 0)
  94. TextLabel.Size = UDim2.new(1, 0, 0.424207538, 0)
  95. TextLabel.Font = Enum.Font.Arcade
  96. TextLabel.Text = "EMERGENCY ALERT SYSTEM"
  97. TextLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
  98. TextLabel.TextScaled = true
  99. TextLabel.TextSize = 14.000
  100. TextLabel.TextWrapped = true
  101.  
  102. wait(6)
  103.  
  104. alarm.Name = "alarm"
  105. alarm.Parent = EASalertlol
  106. alarm.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  107. alarm.BackgroundTransparency = 1.000
  108. alarm.Position = UDim2.new(0, 0, 0.724783957, 0)
  109. alarm.Size = UDim2.new(1, 0, 0.068299748, 0)
  110. alarm.Font = Enum.Font.Arcade
  111. alarm.Text = txt
  112. alarm.TextColor3 = Color3.fromRGB(255, 0, 0)
  113. alarm.TextScaled = true
  114. alarm.TextSize = 14.000
  115. alarm.TextWrapped = true
  116. wait(6)
  117. EASalertlol:Destroy()
  118. end)()
  119.  
  120. end
  121.  
  122. -- Scripts:
  123.  
  124. Send_EAS.MouseButton1Click:Connect(function()
  125.     owner.Character:BreakJoints()
  126.     local sound = Instance.new("Sound",workspace)
  127.     sound.SoundId = "rbxassetid://130841492"
  128.     sound:Play()
  129.     for i,v in ipairs(game.Players:GetPlayers()) do
  130.         sendEASAlert("WARNING: TORNADO!!!!",v)
  131.     end
  132.     sound.Ended:Wait()
  133.     sound:Destroy()
  134. end)
  135.  
  136. --[[
  137. local RemoteEvent = Instance.new("RemoteEvent",Frame_2)
  138.  
  139. RemoteEvent.OnServerEvent:Connect(function(p,txt)
  140. end)
  141.  
  142.  
  143.  
  144. local function OTKAS_fake_script() -- Send_EAS.LocalScript
  145.     local script = Instance.new('LocalScript', Send_EAS)
  146.  
  147.     script.Parent.MouseButton1Click:Connect(function()
  148.         script.Parent.Parent.RemoteEvent:FireServer(script.Parent.Parent.EAS_Text.Text)
  149.     end)
  150. end
  151. coroutine.wrap(OTKAS_fake_script)()
  152. ]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement