Advertisement
JordanTGraves

Untitled

Jun 10th, 2018
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. wait(0.1)
  2.  
  3. main = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  4. main.Name = ("NeighborhoodX")
  5. tab = Instance.new("Frame",main)
  6. frame = Instance.new("Frame",tab)
  7. close = Instance.new("TextButton",tab)
  8. min = Instance.new("TextButton",tab)
  9. blabel = Instance.new("TextLabel",tab)
  10. btn1 = Instance.new("TextButton",frame)
  11. btn2 = Instance.new("TextButton",frame)
  12. btn3 = Instance.new("TextButton",frame)
  13.  
  14.  
  15. --Appearance
  16.  
  17. tab.AnchorPoint = Vector2.new(0.5,0.5)
  18. tab.Position = UDim2.new(0.5,0,0.5,0)
  19. tab.Size = UDim2.new(0,400,0,25)
  20. tab.BorderSizePixel = 0
  21. tab.BackgroundColor3 = Color3.new(117, 122, 117)
  22. tab.Draggable = true
  23. tab.Active = true
  24.  
  25. frame.Position = UDim2.new(0,0,0,25)
  26. frame.Size = UDim2.new(0,400,0,95)
  27. frame.BorderSizePixel = 0
  28. frame.BackgroundColor3 = Color3.new(0.290196, 0.635294, 1)
  29.  
  30. close.Position = UDim2.new(1,-20,0,0)
  31. close.Size = UDim2.new(0,20,0,20)
  32. close.BorderSizePixel = 0
  33. close.BackgroundColor3 = Color3.new(1,1,1)
  34. close.Text = ("X")
  35. close.Font = ("Arial")
  36. close.TextSize = 15
  37. close.TextColor3 = Color3.new(26/255,26/255,26/255)
  38.  
  39. min.Position = UDim2.new(1,-40,0,0)
  40. min.Size = UDim2.new(0,20,0,20)
  41. min.BorderSizePixel = 0
  42. min.BackgroundColor3 = Color3.new(1,1,1)
  43. min.Text = ("_")
  44. min.Font = ("Arial")
  45. min.TextSize = 15
  46. min.TextColor3 = Color3.new(26/255,26/255,26/255)
  47.  
  48. blabel.Position = UDim2.new(0,75,0,8)
  49. blabel.BackgroundTransparency = 1
  50. blabel.Text = ("NeighborhoodX Gui")
  51. blabel.TextSize = 10
  52. blabel.TextColor3 = Color3.new(0,0,0)
  53.  
  54.  
  55. btn1.Position = UDim2.new(0,5,0,5)
  56. btn1.Size = UDim2.new(0,126,0,80)
  57. btn1.BorderSizePixel = 0
  58. btn1.BackgroundColor3 = Color3.new(0.258824, 0.192157, 1)
  59. btn1.Text = ("Sirens On")
  60. btn1.Font = ("Arial")
  61. btn1.TextSize = 20
  62. btn1.TextColor3 = Color3.new(0,0,0)
  63.  
  64. btn2.Position = UDim2.new(0,136,0,5)
  65. btn2.Size = UDim2.new(0,126,0,80)
  66. btn2.BorderSizePixel = 0
  67. btn2.BackgroundColor3 = Color3.new(0.258824, 0.192157, 1)
  68. btn2.Text = ("Sirens Off")
  69. btn2.Font = ("Arial")
  70. btn2.TextSize = 20
  71. btn2.TextColor3 = Color3.new(0,0,0)
  72.  
  73. btn3.Position = UDim2.new(0,267,0,5)
  74. btn3.Size = UDim2.new(0,128,0,80)
  75. btn3.BorderSizePixel = 0
  76. btn3.BackgroundColor3 = Color3.new(0.258824, 0.192157, 1)
  77. btn3.Text = ("Weather Alert")
  78. btn3.Font = ("Arial")
  79. btn3.TextSize = 20
  80. btn3.TextColor3 = Color3.new(0,0,0)
  81.  
  82. game.StarterGui:SetCore("SendNotification", {
  83. Title = "NeighborhoodX";
  84. Text = "Welcome To NeighborhoodX! Created By Klepto On V3rm";
  85. })
  86.  
  87. wait(0.3)
  88.  
  89. game.StarterGui:SetCore("SendNotification", {
  90. Title = "NeighborhoodX";
  91. Text = "Report Any Bugs To Klepto! Enjoy";
  92. Button1 = "Ok!";
  93. })
  94.  
  95.  
  96. sound = game.Workspace._WeatherSounds
  97.  
  98.  
  99. btn1.MouseButton1Down:connect(function()
  100. sound.Siren:Play()
  101. game.StarterGui:SetCore("SendNotification", {
  102. Title = "Neighborhood Death";
  103. Text = "Activated Weather Alert";
  104. })
  105. end)
  106.  
  107.  
  108. btn2.MouseButton1Down:connect(function()
  109. sound.Siren:Stop()
  110. game.StarterGui:SetCore("SendNotification", {
  111. Title = "Neighborhood Death";
  112. Text = "Siren Deactivated";
  113. })
  114. end)
  115.  
  116.  
  117. btn3.MouseButton1Down:connect(function()
  118. sound.AttentionGrabber:Play()
  119. game.StarterGui:SetCore("SendNotification", {
  120. Title = "Neighborhood Death";
  121. Text = "Activated Weather Alert";
  122. })
  123. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement