Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local weather = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Frame_2 = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local EAS_Text = Instance.new("TextBox")
- local Send_EAS = Instance.new("TextButton")
- --Properties:
- weather.Name = "weather"
- weather.Parent = owner:WaitForChild("PlayerGui")
- Frame.Parent = weather
- Frame.BackgroundColor3 = Color3.fromRGB(48, 48, 48)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.108617596, 0, 0.109510086, 0)
- Frame.Size = UDim2.new(0, 493, 0, 290)
- Frame_2.Parent = Frame
- Frame_2.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
- Frame_2.BorderSizePixel = 0
- Frame_2.Position = UDim2.new(-0.000915898767, 0, -0.000834708393, 0)
- Frame_2.Size = UDim2.new(0, 493, 0, 60)
- TextLabel.Parent = Frame_2
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Size = UDim2.new(0.665314376, 0, 1, 0)
- TextLabel.Font = Enum.Font.Gotham
- TextLabel.Text = "MOONLIGHT"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- TextLabel.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel_2.Parent = Frame_2
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.Position = UDim2.new(0.69168359, 0, 0.649999976, 0)
- TextLabel_2.Size = UDim2.new(0.308316439, 0, 0.349999994, 0)
- TextLabel_2.Font = Enum.Font.Gotham
- TextLabel_2.Text = "WEATHER"
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14.000
- TextLabel_2.TextWrapped = true
- TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
- Send_EAS.Name = "Send_EAS"
- Send_EAS.Parent = Frame_2
- Send_EAS.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Send_EAS.Position = UDim2.new(0.018, 0,1.733, 0)
- Send_EAS.Size = UDim2.new(0, 478,0, 50)
- Send_EAS.Font = Enum.Font.SourceSans
- Send_EAS.Text = "SEND EAS ALERT - TORNADO"
- Send_EAS.TextColor3 = Color3.fromRGB(255, 255, 255)
- Send_EAS.TextScaled = true
- Send_EAS.TextSize = 14.000
- Send_EAS.TextWrapped = true
- function sendEASAlert(txt,p)
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- coroutine.wrap(function()
- local EASalertlol = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local alarm = Instance.new("TextLabel")
- --Properties:
- EASalertlol.Name = "EAS alert lol"
- EASalertlol.Parent = p:WaitForChild("PlayerGui")
- EASalertlol.Enabled = false
- Frame.Parent = EASalertlol
- Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Frame.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Parent = EASalertlol
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Position = UDim2.new(0, 0, 0.082132563, 0)
- TextLabel.Size = UDim2.new(1, 0, 0.424207538, 0)
- TextLabel.Font = Enum.Font.Arcade
- TextLabel.Text = "EMERGENCY ALERT SYSTEM"
- TextLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- wait(6)
- alarm.Name = "alarm"
- alarm.Parent = EASalertlol
- alarm.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- alarm.BackgroundTransparency = 1.000
- alarm.Position = UDim2.new(0, 0, 0.724783957, 0)
- alarm.Size = UDim2.new(1, 0, 0.068299748, 0)
- alarm.Font = Enum.Font.Arcade
- alarm.Text = txt
- alarm.TextColor3 = Color3.fromRGB(255, 0, 0)
- alarm.TextScaled = true
- alarm.TextSize = 14.000
- alarm.TextWrapped = true
- wait(6)
- EASalertlol:Destroy()
- end)()
- end
- -- Scripts:
- Send_EAS.MouseButton1Click:Connect(function()
- owner.Character:BreakJoints()
- local sound = Instance.new("Sound",workspace)
- sound.SoundId = "rbxassetid://130841492"
- sound:Play()
- for i,v in ipairs(game.Players:GetPlayers()) do
- sendEASAlert("WARNING: TORNADO!!!!",v)
- end
- sound.Ended:Wait()
- sound:Destroy()
- end)
- --[[
- local RemoteEvent = Instance.new("RemoteEvent",Frame_2)
- RemoteEvent.OnServerEvent:Connect(function(p,txt)
- end)
- local function OTKAS_fake_script() -- Send_EAS.LocalScript
- local script = Instance.new('LocalScript', Send_EAS)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.RemoteEvent:FireServer(script.Parent.Parent.EAS_Text.Text)
- end)
- end
- coroutine.wrap(OTKAS_fake_script)()
- ]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement