Viktorkarlsson01

Natural Disaster Survival

Sep 10th, 2020
1,593
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.17 KB | None | 0 0
  1. function sandbox(var,func)
  2. local env = getfenv(func)
  3. local newenv = setmetatable({},{
  4. __index = function(self,k)
  5. if k=="script" then
  6. return var
  7. else
  8. return env[k]
  9. end
  10. end,
  11. })
  12. setfenv(func,newenv)
  13. return func
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. ScreenGui0 = Instance.new("ScreenGui")
  18. Frame1 = Instance.new("Frame")
  19. TextLabel2 = Instance.new("TextLabel")
  20. TextButton3 = Instance.new("TextButton")
  21. LocalScript4 = Instance.new("LocalScript")
  22. TextLabel5 = Instance.new("TextLabel")
  23. LocalScript6 = Instance.new("LocalScript")
  24. TextLabel7 = Instance.new("TextLabel")
  25. LocalScript8 = Instance.new("LocalScript")
  26. TextButton9 = Instance.new("TextButton")
  27. LocalScript10 = Instance.new("LocalScript")
  28. TextLabel11 = Instance.new("TextLabel")
  29. TextLabel12 = Instance.new("TextLabel")
  30. TextButton13 = Instance.new("TextButton")
  31. LocalScript14 = Instance.new("LocalScript")
  32. TextLabel15 = Instance.new("TextLabel")
  33. TextButton16 = Instance.new("TextButton")
  34. LocalScript17 = Instance.new("LocalScript")
  35. Folder18 = Instance.new("Folder")
  36. Sound19 = Instance.new("Sound")
  37. Sound20 = Instance.new("Sound")
  38. Sound21 = Instance.new("Sound")
  39. Sound22 = Instance.new("Sound")
  40. Sound23 = Instance.new("Sound")
  41. BoolValue24 = Instance.new("BoolValue")
  42. LocalScript25 = Instance.new("LocalScript")
  43. Folder26 = Instance.new("Folder")
  44. Color3Value27 = Instance.new("Color3Value")
  45. Color3Value28 = Instance.new("Color3Value")
  46. Color3Value29 = Instance.new("Color3Value")
  47. Color3Value30 = Instance.new("Color3Value")
  48. Color3Value31 = Instance.new("Color3Value")
  49. TextButton32 = Instance.new("TextButton")
  50. LocalScript33 = Instance.new("LocalScript")
  51. Frame34 = Instance.new("Frame")
  52. TextButton35 = Instance.new("TextButton")
  53. LocalScript36 = Instance.new("LocalScript")
  54. ImageLabel37 = Instance.new("ImageLabel")
  55. ImageLabel38 = Instance.new("ImageLabel")
  56. TextButton39 = Instance.new("TextButton")
  57. LocalScript40 = Instance.new("LocalScript")
  58. Folder41 = Instance.new("Folder")
  59. Frame42 = Instance.new("Frame")
  60. TextButton43 = Instance.new("TextButton")
  61. LocalScript44 = Instance.new("LocalScript")
  62. LocalScript45 = Instance.new("LocalScript")
  63. ImageLabel46 = Instance.new("ImageLabel")
  64. Frame47 = Instance.new("Frame")
  65. Frame48 = Instance.new("Frame")
  66. TextLabel49 = Instance.new("TextLabel")
  67. LocalScript50 = Instance.new("LocalScript")
  68. Folder51 = Instance.new("Folder")
  69. Color3Value52 = Instance.new("Color3Value")
  70. Color3Value53 = Instance.new("Color3Value")
  71. Color3Value54 = Instance.new("Color3Value")
  72. Color3Value55 = Instance.new("Color3Value")
  73. Color3Value56 = Instance.new("Color3Value")
  74. BoolValue57 = Instance.new("BoolValue")
  75. StringValue58 = Instance.new("StringValue")
  76. BoolValue59 = Instance.new("BoolValue")
  77. Script60 = Instance.new("Script")
  78. ScreenGui0.Name = "NDSui"
  79. ScreenGui0.Parent = mas
  80. ScreenGui0.ResetOnSpawn = false
  81. Frame1.Name = "Panel"
  82. Frame1.Parent = ScreenGui0
  83. Frame1.Position = UDim2.new(0.402971774, 0, 0.298489451, 0)
  84. Frame1.Visible = false
  85. Frame1.Size = UDim2.new(0, 390, 0, 230)
  86. Frame1.Active = true
  87. Frame1.BackgroundColor = BrickColor.new("Black")
  88. Frame1.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  89. Frame1.BorderSizePixel = 0
  90. Frame1.Draggable = true
  91. TextLabel2.Name = "Title"
  92. TextLabel2.Parent = Frame1
  93. TextLabel2.Position = UDim2.new(0, 5, 0, 0)
  94. TextLabel2.Size = UDim2.new(0, 355, 0, 25)
  95. TextLabel2.Active = true
  96. TextLabel2.BackgroundColor = BrickColor.new("Institutional white")
  97. TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  98. TextLabel2.BackgroundTransparency = 1
  99. TextLabel2.BorderSizePixel = 0
  100. TextLabel2.Font = Enum.Font.Highway
  101. TextLabel2.FontSize = Enum.FontSize.Size14
  102. TextLabel2.Text = "Natural Disaster Survival GUI"
  103. TextLabel2.TextColor = BrickColor.new("Institutional white")
  104. TextLabel2.TextColor3 = Color3.new(1, 1, 1)
  105. TextLabel2.TextSize = 14
  106. TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
  107. TextButton3.Name = "VoteSys"
  108. TextButton3.Parent = Frame1
  109. TextButton3.Position = UDim2.new(0, 5, 0, 35)
  110. TextButton3.Size = UDim2.new(0, 175, 0, 40)
  111. TextButton3.BackgroundColor = BrickColor.new("Dark taupe")
  112. TextButton3.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  113. TextButton3.BorderSizePixel = 0
  114. TextButton3.Font = Enum.Font.SourceSans
  115. TextButton3.FontSize = Enum.FontSize.Size14
  116. TextButton3.Text = "Open Vote Menu"
  117. TextButton3.TextColor = BrickColor.new("Institutional white")
  118. TextButton3.TextColor3 = Color3.new(1, 1, 1)
  119. TextButton3.TextSize = 14
  120. LocalScript4.Parent = TextButton3
  121. table.insert(cors,sandbox(LocalScript4,function()
  122. local Button = script.Parent
  123. votemenu = game.Players.LocalPlayer.PlayerGui.MainGui.MapVotePage
  124.  
  125. function onClick()
  126. script.Parent.Parent.Sounds.Click:Play()
  127. if votemenu.Visible==true then
  128. script.Parent.Text = "Open Vote Menu"
  129. votemenu.Visible=false
  130. elseif votemenu.Visible==false then
  131. script.Parent.Text = "Close Vote Menu"
  132. votemenu.Visible=true
  133. end
  134. end
  135.  
  136. Button.MouseButton1Click:connect(onClick)
  137.  
  138. end))
  139. TextLabel5.Name = "DisDSP"
  140. TextLabel5.Parent = Frame1
  141. TextLabel5.Position = UDim2.new(0, 190, 0, 35)
  142. TextLabel5.Size = UDim2.new(0, 195, 0, 40)
  143. TextLabel5.BackgroundColor = BrickColor.new("Dark taupe")
  144. TextLabel5.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  145. TextLabel5.BorderSizePixel = 0
  146. TextLabel5.Font = Enum.Font.SourceSans
  147. TextLabel5.FontSize = Enum.FontSize.Size14
  148. TextLabel5.Text = "---"
  149. TextLabel5.TextColor = BrickColor.new("Really red")
  150. TextLabel5.TextColor3 = Color3.new(0.870588, 0, 0)
  151. TextLabel5.TextSize = 14
  152. LocalScript6.Parent = TextLabel5
  153. table.insert(cors,sandbox(LocalScript6,function()
  154. --Init
  155. print("Starting Detection Core...")
  156.  
  157. --Pointers
  158. sounds = script.Parent.Parent.Sounds
  159. colors = script.Parent.Parent.Colors
  160. plyrname = game.Players.LocalPlayer.Name
  161.  
  162. --------------------------------------------
  163. --Logic
  164. script.Parent.TextColor3 = colors.Red.Value
  165. script.Parent.Text = "Initializing UI Core..."
  166. wait(3)
  167. if game.Players.LocalPlayer.Character:FindFirstChild("SurvivalTag") ~= nil then
  168. script.Parent.Text = (game.Workspace[plyrname].SurvivalTag.Value)
  169. script.Parent.TextColor3 = colors.Green.Value
  170. sounds.Confirm:Play()
  171. script.Parent.Parent.Parent.AlertPnl.InputText.Value = ("The current disaster is a " ..game.Workspace[plyrname].SurvivalTag.Value .."!")
  172. script.Parent.Parent.Parent.AlertPnl.Activate.Value = true
  173. else
  174. sounds.Processing:Play()
  175. script.Parent.Text = "Waiting for tags..."
  176. script.Parent.TextColor3 = colors.Yellow.Value
  177. script.Parent.Parent.Parent.AlertPnl.InputText.Value = "Waiting for tags..."
  178. script.Parent.Parent.Parent.AlertPnl.Mode.Value = true
  179. script.Parent.Parent.Parent.AlertPnl.Activate.Value = true
  180. game.Players.LocalPlayer.Character:WaitForChild("SurvivalTag", 5)
  181. if game.Players.LocalPlayer.Character:FindFirstChild("SurvivalTag") ~= nil then
  182. script.Parent.Text = (game.Workspace[plyrname].SurvivalTag.Value)
  183. script.Parent.TextColor3 = colors.Green.Value
  184. script.Parent.Parent.Parent.AlertPnl.InputText.Value = ("The current disaster is a " ..game.Workspace[plyrname].SurvivalTag.Value .."!")
  185. script.Parent.Parent.Parent.AlertPnl.Activate.Value = true
  186. sounds.Confirm:Play()
  187. else
  188. script.Parent.Text = "Waiting for T2 detection..."
  189. end
  190. end
  191.  
  192. game.Players.LocalPlayer.Character.ChildAdded:Connect(function(object)
  193. if object:IsA("StringValue") then
  194. if game.Workspace:FindFirstChild(plyrname) ~= nil then
  195. if game.Players.LocalPlayer.Character:FindFirstChild("SurvivalTag") ~= nil then
  196. script.Parent.Text = (game.Workspace[plyrname].SurvivalTag.Value)
  197. script.Parent.TextColor3 = colors.Green.Value
  198. script.Parent.Parent.Parent.AlertPnl.InputText.Value = ("The current disaster is a " ..game.Workspace[plyrname].SurvivalTag.Value .."!")
  199. script.Parent.Parent.Parent.AlertPnl.Activate.Value = true
  200. sounds.Confirm:Play()
  201. else
  202. sounds.Processing:Play()
  203. script.Parent.Text = "Waiting for tags..."
  204. script.Parent.TextColor3 = colors.Yellow.Value
  205. script.Parent.Parent.Parent.AlertPnl.InputText.Value = "Waiting for tags..."
  206. script.Parent.Parent.Parent.AlertPnl.Mode.Value = true
  207. script.Parent.Parent.Parent.AlertPnl.Activate.Value = true
  208. game.Players.LocalPlayer.Character:WaitForChild("SurvivalTag")
  209. wait(.5)
  210. script.Parent.Text = (game.Workspace[plyrname].SurvivalTag.Value)
  211. script.Parent.Parent.Parent.AlertPnl.InputText.Value = ("The current disaster is a " ..game.Workspace[plyrname].SurvivalTag.Value .."!")
  212. script.Parent.Parent.Parent.AlertPnl.Activate.Value = true
  213. script.Parent.TextColor3 = colors.Green.Value
  214. sounds.Confirm:Play()
  215. end
  216. else
  217. script.Parent.Text = "Waiting for T2 detection..."
  218. end
  219. else
  220. end
  221. end)
  222.  
  223. game.Players.LocalPlayer.CharacterAdded:connect(function()
  224. script.Parent.TextColor3 = colors.Red.Value
  225. script.Parent.Text = "Initializing UI Core..."
  226. wait(3)
  227. if game.Players.LocalPlayer.Character:FindFirstChild("SurvivalTag") ~= nil then
  228. script.Parent.Text = (game.Workspace[plyrname].SurvivalTag.Value)
  229. script.Parent.TextColor3 = colors.Green.Value
  230. sounds.Confirm:Play()
  231. script.Parent.Parent.Parent.AlertPnl.InputText.Value = ("The current disaster is a " ..game.Workspace[plyrname].SurvivalTag.Value .."!")
  232. script.Parent.Parent.Parent.AlertPnl.Activate.Value = true
  233. else
  234. sounds.Processing:Play()
  235. script.Parent.Text = "Waiting for tags..."
  236. script.Parent.TextColor3 = colors.Yellow.Value
  237. script.Parent.Parent.Parent.AlertPnl.InputText.Value = "Waiting for tags..."
  238. script.Parent.Parent.Parent.AlertPnl.Mode.Value = true
  239. script.Parent.Parent.Parent.AlertPnl.Activate.Value = true
  240. game.Players.LocalPlayer.Character:WaitForChild("SurvivalTag")
  241. if game.Players.LocalPlayer.Character:FindFirstChild("SurvivalTag") ~= nil then
  242. script.Parent.Text = (game.Workspace[plyrname].SurvivalTag.Value)
  243. script.Parent.TextColor3 = colors.Green.Value
  244. script.Parent.Parent.Parent.AlertPnl.InputText.Value = ("The current disaster is a " ..game.Workspace[plyrname].SurvivalTag.Value .."!")
  245. script.Parent.Parent.Parent.AlertPnl.Activate.Value = true
  246. sounds.Confirm:Play()
  247. else
  248. script.Parent.Text = "Waiting for T2 detection..."
  249. end
  250. end
  251. end)
  252. end))
  253. TextLabel7.Name = "ToolTip"
  254. TextLabel7.Parent = TextLabel5
  255. TextLabel7.Visible = false
  256. TextLabel7.Size = UDim2.new(0, 195, 0, 40)
  257. TextLabel7.BackgroundColor = BrickColor.new("Parsley green")
  258. TextLabel7.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  259. TextLabel7.BorderSizePixel = 0
  260. TextLabel7.ZIndex = 2
  261. TextLabel7.Font = Enum.Font.SourceSans
  262. TextLabel7.FontSize = Enum.FontSize.Size14
  263. TextLabel7.Text = "This panel is automated to show you the current disaster as soon as it's tag becomes available."
  264. TextLabel7.TextColor = BrickColor.new("Institutional white")
  265. TextLabel7.TextColor3 = Color3.new(1, 1, 1)
  266. TextLabel7.TextScaled = true
  267. TextLabel7.TextSize = 14
  268. TextLabel7.TextWrap = true
  269. TextLabel7.TextWrapped = true
  270. LocalScript8.Name = "Tooltip"
  271. LocalScript8.Parent = TextLabel5
  272. table.insert(cors,sandbox(LocalScript8,function()
  273. script.Parent.MouseEnter:Connect(function()
  274. script.Parent.ToolTip.Visible = true
  275. end)
  276.  
  277. script.Parent.MouseLeave:Connect(function()
  278. script.Parent.ToolTip.Visible = false
  279. end)
  280.  
  281.  
  282. end))
  283. TextButton9.Name = "ClsBttn"
  284. TextButton9.Parent = Frame1
  285. TextButton9.Position = UDim2.new(0, 365, 0, 5)
  286. TextButton9.Size = UDim2.new(0, 20, 0, 15)
  287. TextButton9.BackgroundColor = BrickColor.new("Really red")
  288. TextButton9.BackgroundColor3 = Color3.new(1, 0, 0)
  289. TextButton9.BackgroundTransparency = 0.15000000596046
  290. TextButton9.BorderSizePixel = 0
  291. TextButton9.Font = Enum.Font.SourceSans
  292. TextButton9.FontSize = Enum.FontSize.Size14
  293. TextButton9.Text = ""
  294. TextButton9.TextSize = 14
  295. LocalScript10.Parent = TextButton9
  296. table.insert(cors,sandbox(LocalScript10,function()
  297. local Button = script.Parent
  298. Frame = script.Parent.Parent
  299.  
  300. function onClick()
  301. script.Parent.Parent.Sounds.Cancel:Play()
  302. if Frame.Visible == false then
  303. Frame.Visible = true
  304. elseif Frame.Visible == true then
  305. Frame.Visible = false
  306. end
  307. end
  308.  
  309. Button.MouseButton1Click:connect(onClick)
  310.  
  311. end))
  312. TextLabel11.Name = "Info"
  313. TextLabel11.Parent = Frame1
  314. TextLabel11.Position = UDim2.new(0, 5, 0, 210)
  315. TextLabel11.Size = UDim2.new(0, 380, 0, 15)
  316. TextLabel11.Active = true
  317. TextLabel11.BackgroundColor = BrickColor.new("Institutional white")
  318. TextLabel11.BackgroundColor3 = Color3.new(1, 1, 1)
  319. TextLabel11.BackgroundTransparency = 1
  320. TextLabel11.BorderSizePixel = 0
  321. TextLabel11.Font = Enum.Font.Code
  322. TextLabel11.FontSize = Enum.FontSize.Size11
  323. TextLabel11.Text = "We made it to 1.0 bois!!! WOOHOOO!!!"
  324. TextLabel11.TextColor = BrickColor.new("Institutional white")
  325. TextLabel11.TextColor3 = Color3.new(1, 1, 1)
  326. TextLabel11.TextSize = 11
  327. TextLabel11.TextXAlignment = Enum.TextXAlignment.Left
  328. TextLabel12.Name = "Ver"
  329. TextLabel12.Parent = Frame1
  330. TextLabel12.Position = UDim2.new(0, 315, 0, 5)
  331. TextLabel12.Size = UDim2.new(0, 35, 0, 15)
  332. TextLabel12.Active = true
  333. TextLabel12.BackgroundColor = BrickColor.new("Dark taupe")
  334. TextLabel12.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  335. TextLabel12.BackgroundTransparency = 1
  336. TextLabel12.BorderSizePixel = 0
  337. TextLabel12.Font = Enum.Font.Code
  338. TextLabel12.FontSize = Enum.FontSize.Size14
  339. TextLabel12.Text = "v.1.1a"
  340. TextLabel12.TextColor = BrickColor.new("Silver flip/flop")
  341. TextLabel12.TextColor3 = Color3.new(0.54902, 0.54902, 0.54902)
  342. TextLabel12.TextSize = 14
  343. TextLabel12.TextXAlignment = Enum.TextXAlignment.Right
  344. TextButton13.Name = "InfBtn"
  345. TextButton13.Parent = Frame1
  346. TextButton13.Position = UDim2.new(0, 365, 0, 210)
  347. TextButton13.Size = UDim2.new(0, 20, 0, 15)
  348. TextButton13.BackgroundColor = BrickColor.new("Quill grey")
  349. TextButton13.BackgroundColor3 = Color3.new(0.866667, 0.866667, 0.866667)
  350. TextButton13.BackgroundTransparency = 0.5
  351. TextButton13.BorderSizePixel = 0
  352. TextButton13.Font = Enum.Font.SourceSans
  353. TextButton13.FontSize = Enum.FontSize.Size14
  354. TextButton13.Text = "?"
  355. TextButton13.TextSize = 14
  356. LocalScript14.Parent = TextButton13
  357. table.insert(cors,sandbox(LocalScript14,function()
  358. local Button = script.Parent
  359. Frame = script.Parent.Parent.Changelog
  360.  
  361. function onClick()
  362. script.Parent.Parent.Sounds.Click:Play()
  363. if Frame.Visible == false then
  364. Frame.Visible = true
  365. elseif Frame.Visible == true then
  366. Frame.Visible = false
  367. end
  368. end
  369.  
  370. Button.MouseButton1Click:connect(onClick)
  371.  
  372. end))
  373. TextLabel15.Name = "Changelog"
  374. TextLabel15.Parent = Frame1
  375. TextLabel15.Position = UDim2.new(0, 390, 0, 80)
  376. TextLabel15.Visible = false
  377. TextLabel15.Size = UDim2.new(0, 200, 0, 150)
  378. TextLabel15.BackgroundColor = BrickColor.new("Black")
  379. TextLabel15.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  380. TextLabel15.BorderSizePixel = 0
  381. TextLabel15.Font = Enum.Font.SourceSans
  382. TextLabel15.FontSize = Enum.FontSize.Size14
  383. TextLabel15.Text = "V.1.1a corrects a minor typo in the notification system as well as adds support for SynapseX and other exploits as well as adding a button to toggle fall damage."
  384. TextLabel15.TextColor = BrickColor.new("Institutional white")
  385. TextLabel15.TextColor3 = Color3.new(1, 1, 1)
  386. TextLabel15.TextSize = 14
  387. TextLabel15.TextWrap = true
  388. TextLabel15.TextWrapped = true
  389. TextLabel15.TextXAlignment = Enum.TextXAlignment.Left
  390. TextLabel15.TextYAlignment = Enum.TextYAlignment.Top
  391. TextButton16.Name = "Tele"
  392. TextButton16.Parent = Frame1
  393. TextButton16.Position = UDim2.new(0, 5, 0, 85)
  394. TextButton16.Size = UDim2.new(0, 175, 0, 40)
  395. TextButton16.BackgroundColor = BrickColor.new("Dark taupe")
  396. TextButton16.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  397. TextButton16.BorderSizePixel = 0
  398. TextButton16.Font = Enum.Font.SourceSans
  399. TextButton16.FontSize = Enum.FontSize.Size14
  400. TextButton16.Text = "Return To Spawn"
  401. TextButton16.TextColor = BrickColor.new("Institutional white")
  402. TextButton16.TextColor3 = Color3.new(1, 1, 1)
  403. TextButton16.TextSize = 14
  404. LocalScript17.Parent = TextButton16
  405. table.insert(cors,sandbox(LocalScript17,function()
  406. local Button = script.Parent
  407.  
  408. function onClick()
  409. script.Parent.Parent.Sounds.Click:Play()
  410. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-260.226776, 193.849884, 318.382538) + Vector3.new(1,0,0)
  411. end
  412.  
  413. Button.MouseButton1Click:connect(onClick)
  414.  
  415. end))
  416. Folder18.Name = "Sounds"
  417. Folder18.Parent = Frame1
  418. Sound19.Name = "Processing"
  419. Sound19.Parent = Folder18
  420. Sound19.SoundId = "rbxassetid://2102111973"
  421. Sound19.Volume = 1
  422. Sound20.Name = "Cancel"
  423. Sound20.Parent = Folder18
  424. Sound20.SoundId = "rbxassetid://2102119175"
  425. Sound20.Volume = 1
  426. Sound21.Name = "Confirm"
  427. Sound21.Parent = Folder18
  428. Sound21.SoundId = "rbxassetid://2102108868"
  429. Sound21.Volume = 1
  430. Sound22.Name = "Click"
  431. Sound22.Parent = Folder18
  432. Sound22.SoundId = "rbxassetid://318763788"
  433. Sound22.Volume = 1
  434. Sound23.Name = "bass"
  435. Sound23.Parent = Folder18
  436. Sound23.SoundId = "rbxassetid://387927244"
  437. Sound23.Volume = 1
  438. BoolValue24.Name = "Mute"
  439. BoolValue24.Parent = Folder18
  440. LocalScript25.Name = "Manager"
  441. LocalScript25.Parent = Folder18
  442. table.insert(cors,sandbox(LocalScript25,function()
  443. script.Parent.Mute.Changed:Connect(function()
  444. if script.Parent.Mute.Value == true then
  445. for i, v in pairs(script.Parent:GetChildren()) do
  446. if v.ClassName == "Sound" then
  447. v.Volume = 0
  448. end
  449. print("NDSui Sound Muted")
  450. end
  451. else
  452. for i, v in pairs(script.Parent:GetChildren()) do
  453. if v.ClassName == "Sound" then
  454. v.Volume = 1
  455. end
  456. print("NDSui Sound Un-Muted")
  457. end
  458. end
  459. end)
  460. end))
  461. Folder26.Name = "Colors"
  462. Folder26.Parent = Frame1
  463. Color3Value27.Name = "Red"
  464. Color3Value27.Parent = Folder26
  465. Color3Value27.Value = Color3.new(1, 0, 0)
  466. Color3Value28.Name = "Green"
  467. Color3Value28.Parent = Folder26
  468. Color3Value28.Value = Color3.new(0.203922, 0.784314, 0.160784)
  469. Color3Value29.Name = "Yellow"
  470. Color3Value29.Parent = Folder26
  471. Color3Value29.Value = Color3.new(0.956863, 0.87451, 0.258824)
  472. Color3Value30.Name = "White"
  473. Color3Value30.Parent = Folder26
  474. Color3Value30.Value = Color3.new(1, 1, 1)
  475. Color3Value31.Name = "Black"
  476. Color3Value31.Parent = Folder26
  477. Color3Value31.Value = Color3.new(0.105882, 0.164706, 0.207843)
  478. TextButton32.Name = "Dab"
  479. TextButton32.Parent = Frame1
  480. TextButton32.Position = UDim2.new(0, 190, 0, 85)
  481. TextButton32.Size = UDim2.new(0, 195, 0, 40)
  482. TextButton32.BackgroundColor = BrickColor.new("Dark taupe")
  483. TextButton32.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  484. TextButton32.BorderSizePixel = 0
  485. TextButton32.Font = Enum.Font.SourceSans
  486. TextButton32.FontSize = Enum.FontSize.Size14
  487. TextButton32.Text = "Dab on the haters..."
  488. TextButton32.TextColor = BrickColor.new("Institutional white")
  489. TextButton32.TextColor3 = Color3.new(1, 1, 1)
  490. TextButton32.TextSize = 14
  491. LocalScript33.Parent = TextButton32
  492. table.insert(cors,sandbox(LocalScript33,function()
  493. local Button = script.Parent
  494.  
  495. function onClick()
  496. script.Disabled = true
  497. ub = Instance.new("BlurEffect")
  498. ub.Parent = game.Lighting
  499. ub.Name = "UIblur"
  500. ub.Size = 20
  501. script.Parent.Parent.Sounds.bass:Play()
  502. AnimationId = "248263260"
  503. local Anim = Instance.new("Animation")
  504. Anim.AnimationId = "rbxassetid://"..AnimationId
  505. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  506. k:Play()
  507. k:AdjustSpeed(1)
  508.  
  509. script.Parent.Text = "Dabbing, reset to stop."
  510. script.Parent.TextColor3 = script.Parent.Parent.Colors.Red.Value
  511. for i = 1,20 do
  512. ub.Size = ub.Size -1
  513. wait(.05)
  514. end
  515. for i, v in pairs(game.Lighting:GetChildren()) do
  516. if v.Name == "UIblur" then
  517. v:Destroy()
  518. end
  519. end
  520. script.Disabled = false
  521. end
  522.  
  523. game.Players.LocalPlayer.CharacterAdded:connect(function()
  524. script.Parent.Text = "Dab on the haters..."
  525. script.Parent.TextColor3 = script.Parent.Parent.Colors.White.Value
  526. end)
  527. Button.MouseButton1Click:connect(onClick)
  528. end))
  529. Frame34.Name = "SBar"
  530. Frame34.Parent = Frame1
  531. Frame34.Position = UDim2.new(0, 0, 0, 25)
  532. Frame34.Size = UDim2.new(1, 0, 0, 5)
  533. Frame34.BackgroundColor = BrickColor.new("Silver flip/flop")
  534. Frame34.BackgroundColor3 = Color3.new(0.54902, 0.54902, 0.54902)
  535. Frame34.BorderSizePixel = 0
  536. TextButton35.Name = "MuteBtn"
  537. TextButton35.Parent = Frame1
  538. TextButton35.Position = UDim2.new(0, 335, 0, 210)
  539. TextButton35.Size = UDim2.new(0, 20, 0, 15)
  540. TextButton35.BackgroundColor = BrickColor.new("Quill grey")
  541. TextButton35.BackgroundColor3 = Color3.new(0.866667, 0.866667, 0.866667)
  542. TextButton35.BackgroundTransparency = 0.5
  543. TextButton35.BorderSizePixel = 0
  544. TextButton35.Font = Enum.Font.SourceSans
  545. TextButton35.FontSize = Enum.FontSize.Size14
  546. TextButton35.Text = " "
  547. TextButton35.TextSize = 14
  548. LocalScript36.Parent = TextButton35
  549. table.insert(cors,sandbox(LocalScript36,function()
  550. local Button = script.Parent
  551. mutetogg = script.Parent.Parent.Sounds.Mute
  552.  
  553. function onClick()
  554. script.Parent.Parent.Sounds.Click:Play()
  555. if mutetogg.Value == false then
  556. mutetogg.Value = true
  557. script.Parent.Audio.Visible = false
  558. script.Parent.NoAudio.Visible = true
  559. else
  560. mutetogg.Value = false
  561. script.Parent.Audio.Visible = true
  562. script.Parent.NoAudio.Visible = false
  563. end
  564.  
  565. end
  566.  
  567. Button.MouseButton1Click:connect(onClick)
  568.  
  569. end))
  570. ImageLabel37.Name = "Audio"
  571. ImageLabel37.Parent = TextButton35
  572. ImageLabel37.Size = UDim2.new(1, 0, 1, 0)
  573. ImageLabel37.BackgroundColor = BrickColor.new("Institutional white")
  574. ImageLabel37.BackgroundColor3 = Color3.new(1, 1, 1)
  575. ImageLabel37.BackgroundTransparency = 1
  576. ImageLabel37.Image = "rbxassetid://2585360562"
  577. ImageLabel37.ImageColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  578. ImageLabel37.ScaleType = Enum.ScaleType.Fit
  579. ImageLabel38.Name = "NoAudio"
  580. ImageLabel38.Parent = TextButton35
  581. ImageLabel38.Visible = false
  582. ImageLabel38.Size = UDim2.new(1, 0, 1, 0)
  583. ImageLabel38.BackgroundColor = BrickColor.new("Crimson")
  584. ImageLabel38.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  585. ImageLabel38.BackgroundTransparency = 0.80000001192093
  586. ImageLabel38.Image = "rbxassetid://2585365820"
  587. ImageLabel38.ImageColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  588. ImageLabel38.ScaleType = Enum.ScaleType.Fit
  589. TextButton39.Name = "FllDmg"
  590. TextButton39.Parent = Frame1
  591. TextButton39.Position = UDim2.new(0, 5, 0, 135)
  592. TextButton39.Size = UDim2.new(0, 175, 0, 40)
  593. TextButton39.BackgroundColor = BrickColor.new("Dark taupe")
  594. TextButton39.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  595. TextButton39.BorderSizePixel = 0
  596. TextButton39.Font = Enum.Font.SourceSans
  597. TextButton39.FontSize = Enum.FontSize.Size14
  598. TextButton39.Text = "Disable Fall Damage"
  599. TextButton39.TextColor = BrickColor.new("Institutional white")
  600. TextButton39.TextColor3 = Color3.new(1, 1, 1)
  601. TextButton39.TextSize = 14
  602. LocalScript40.Parent = TextButton39
  603. table.insert(cors,sandbox(LocalScript40,function()
  604. --Pointers
  605. local Button = script.Parent
  606. colors = script.Parent.Parent.Colors
  607. sounds = script.Parent.Parent.Sounds
  608.  
  609. --Vars
  610. local actv = false
  611.  
  612. --Logic
  613. function onClick()
  614. sounds.Click:Play()
  615. if actv == false then
  616. script.Parent.Text = "Fall Damage Disabled"
  617. script.Parent.TextColor3 = colors.Green.Value
  618. script.Parent.LghtBr.BackgroundColor3 = colors.Green.Value
  619. actv = true
  620. game.Players.LocalPlayer.Character.FallDamageScript:Destroy()
  621. else
  622. script.Parent.Text = "Chhar Reset required..."
  623. script.Parent.TextColor3 = colors.Red.Value
  624. sounds.Confirm:Play()
  625. wait(2)
  626. script.Parent.Text = "Fall Damage Disabled"
  627. script.Parent.TextColor3 = colors.Green.Value
  628. end
  629.  
  630. end
  631.  
  632. game.Players.LocalPlayer.CharacterAdded:connect(function()
  633. script.Parent.Text = "Disable Fall Damage"
  634. --script.Parent.Storage:ClearAllChildren()
  635. actv = false
  636. script.Parent.LghtBr.BackgroundColor3 = colors.White.Value
  637. script.Parent.TextColor3 = colors.White.Value
  638. end)
  639. Button.MouseButton1Click:connect(onClick)
  640. end))
  641. Folder41.Name = "Storage"
  642. Folder41.Parent = TextButton39
  643. Frame42.Name = "LghtBr"
  644. Frame42.Parent = TextButton39
  645. Frame42.Position = UDim2.new(0.949999988, 0, 0, 0)
  646. Frame42.Size = UDim2.new(0.0500000007, 0, 1, 0)
  647. Frame42.BackgroundColor = BrickColor.new("Institutional white")
  648. Frame42.BackgroundColor3 = Color3.new(1, 1, 1)
  649. Frame42.BorderSizePixel = 0
  650. TextButton43.Name = "OpenButton"
  651. TextButton43.Parent = ScreenGui0
  652. TextButton43.Position = UDim2.new(0, 0, 0.800000012, 0)
  653. TextButton43.Size = UDim2.new(0, 80, 0, 40)
  654. TextButton43.BackgroundColor = BrickColor.new("Black")
  655. TextButton43.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  656. TextButton43.BorderSizePixel = 0
  657. TextButton43.Font = Enum.Font.SourceSans
  658. TextButton43.FontSize = Enum.FontSize.Size14
  659. TextButton43.Text = "Toggle UI"
  660. TextButton43.TextColor = BrickColor.new("Institutional white")
  661. TextButton43.TextColor3 = Color3.new(1, 1, 1)
  662. TextButton43.TextSize = 14
  663. LocalScript44.Parent = TextButton43
  664. table.insert(cors,sandbox(LocalScript44,function()
  665. local Button = script.Parent
  666. Frame = script.Parent.Parent.Panel
  667. Openb = script.Parent
  668.  
  669. function onClick()
  670. script.Parent.Parent.Panel.Sounds.Click:Play()
  671. if Frame.Visible == false then
  672. Frame.Visible = true
  673. elseif Frame.Visible == true then
  674. Frame.Visible = false
  675. end
  676. end
  677.  
  678.  
  679. Button.MouseButton1Click:connect(onClick)
  680.  
  681. local Bttn = Enum.KeyCode.Equals
  682. game:GetService("UserInputService").InputBegan:connect(function(inputObject)
  683. if inputObject.KeyCode == Bttn then
  684. script.Parent.Parent.Panel.Sounds.Click:Play()
  685. if Frame.Visible == false then
  686. Frame.Visible = true
  687. elseif Frame.Visible == true then
  688. Frame.Visible = false
  689. end
  690. end
  691. end)
  692. end))
  693. LocalScript45.Name = "mngr"
  694. LocalScript45.Parent = TextButton43
  695. table.insert(cors,sandbox(LocalScript45,function()
  696. Panel = script.Parent.Parent.Panel
  697. OpnB = script.Parent
  698.  
  699. while wait(.3) do
  700. if Panel.Visible==true then
  701. OpnB.Visible=false
  702. else
  703. OpnB.Visible=true
  704. end
  705. end
  706. end))
  707. ImageLabel46.Parent = TextButton43
  708. ImageLabel46.Position = UDim2.new(0, 80, 0, 0)
  709. ImageLabel46.Size = UDim2.new(0, 40, 0, 40)
  710. ImageLabel46.BackgroundColor = BrickColor.new("Black")
  711. ImageLabel46.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  712. ImageLabel46.BorderSizePixel = 0
  713. ImageLabel46.Image = "rbxassetid://2583751738"
  714. ImageLabel46.ScaleType = Enum.ScaleType.Fit
  715. Frame47.Name = "AlertPnl"
  716. Frame47.Parent = ScreenGui0
  717. Frame47.Position = UDim2.new(0.349999994, 0, -0.300000012, 0)
  718. Frame47.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  719. Frame47.BackgroundColor = BrickColor.new("Black")
  720. Frame47.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  721. Frame47.BorderSizePixel = 0
  722. Frame48.Name = "LightBar"
  723. Frame48.Parent = Frame47
  724. Frame48.Position = UDim2.new(0, 0, 0.899999976, 0)
  725. Frame48.Size = UDim2.new(1, 0, 0.100000001, 0)
  726. Frame48.BackgroundColor = BrickColor.new("Institutional white")
  727. Frame48.BackgroundColor3 = Color3.new(1, 1, 1)
  728. Frame48.BorderSizePixel = 0
  729. TextLabel49.Name = "Text"
  730. TextLabel49.Parent = Frame47
  731. TextLabel49.Size = UDim2.new(1, 0, 0.899999976, 0)
  732. TextLabel49.BackgroundColor = BrickColor.new("Institutional white")
  733. TextLabel49.BackgroundColor3 = Color3.new(1, 1, 1)
  734. TextLabel49.BackgroundTransparency = 1
  735. TextLabel49.Font = Enum.Font.Highway
  736. TextLabel49.FontSize = Enum.FontSize.Size24
  737. TextLabel49.Text = "nil"
  738. TextLabel49.TextColor = BrickColor.new("Institutional white")
  739. TextLabel49.TextColor3 = Color3.new(1, 1, 1)
  740. TextLabel49.TextSize = 20
  741. TextLabel49.TextWrap = true
  742. TextLabel49.TextWrapped = true
  743. LocalScript50.Name = "Controller"
  744. LocalScript50.Parent = Frame47
  745. table.insert(cors,sandbox(LocalScript50,function()
  746. --Pointers
  747. colors = script.Parent.Colors
  748. txt = script.Parent.Text
  749. Lghtbr = script.Parent.LightBar
  750. uiFrm = script.Parent
  751. inTxt = script.Parent.InputText
  752.  
  753. --Functions
  754. function BlnkRed()
  755. for i = 1,5 do
  756. Lghtbr.BackgroundColor3 = colors.Red.Value
  757. script.Parent.Parent.Panel.SBar.BackgroundColor3 = colors.Red.Value
  758. wait(.5)
  759. Lghtbr.BackgroundColor3 = colors.White.Value
  760. script.Parent.Parent.Panel.SBar.BackgroundColor3 = colors.White.Value
  761. wait(.5)
  762. end
  763. end
  764.  
  765. function BlnkYllw()
  766. for i = 1,5 do
  767. Lghtbr.BackgroundColor3 = colors.Yellow.Value
  768. script.Parent.Parent.Panel.SBar.BackgroundColor3 = colors.Yellow.Value
  769. wait(.5)
  770. Lghtbr.BackgroundColor3 = colors.White.Value
  771. script.Parent.Parent.Panel.SBar.BackgroundColor3 = colors.White.Value
  772. wait(.5)
  773. end
  774. end
  775.  
  776.  
  777. script.Parent.Activate.Changed:Connect(function()
  778. if script.Parent.Activate.Value == true and script.Parent.Mode.Value == false then
  779. txt.Text = inTxt.Value
  780. uiFrm:TweenPosition(UDim2.new(0.35,0,0,0), "Out", "Quart", .5)
  781. BlnkRed()
  782. wait(1)
  783. uiFrm:TweenPosition(UDim2.new(0.35,0,-0.3,0), "Out", "Quart", 1)
  784. script.Parent.Activate.Value = false
  785. elseif script.Parent.Activate.Value == true and script.Parent.Mode.Value == true then
  786. script.Parent.Mode.Value = false
  787. txt.Text = inTxt.Value
  788. uiFrm:TweenPosition(UDim2.new(0.35,0,0,0), "Out", "Quart", .5)
  789. BlnkYllw()
  790. wait(1)
  791. uiFrm:TweenPosition(UDim2.new(0.35,0,-0.3,0), "Out", "Quart", 1)
  792. script.Parent.Activate.Value = false
  793. elseif script.Parent.Activate.Value == false then
  794.  
  795. end
  796. end)
  797. end))
  798. Folder51.Name = "Colors"
  799. Folder51.Parent = Frame47
  800. Color3Value52.Name = "Red"
  801. Color3Value52.Parent = Folder51
  802. Color3Value52.Value = Color3.new(1, 0, 0)
  803. Color3Value53.Name = "Green"
  804. Color3Value53.Parent = Folder51
  805. Color3Value53.Value = Color3.new(0.156863, 0.6, 0.12549)
  806. Color3Value54.Name = "Yellow"
  807. Color3Value54.Parent = Folder51
  808. Color3Value54.Value = Color3.new(0.956863, 0.87451, 0.258824)
  809. Color3Value55.Name = "White"
  810. Color3Value55.Parent = Folder51
  811. Color3Value55.Value = Color3.new(1, 1, 1)
  812. Color3Value56.Name = "Black"
  813. Color3Value56.Parent = Folder51
  814. Color3Value56.Value = Color3.new(0.105882, 0.164706, 0.207843)
  815. BoolValue57.Name = "Activate"
  816. BoolValue57.Parent = Frame47
  817. StringValue58.Name = "InputText"
  818. StringValue58.Parent = Frame47
  819. StringValue58.Value = "nil"
  820. BoolValue59.Name = "Mode"
  821. BoolValue59.Parent = Frame47
  822. Script60.Name = "Instructions"
  823. Script60.Parent = BoolValue59
  824. table.insert(cors,sandbox(Script60,function()
  825. --[[
  826. False = Red Alert
  827. True = Yellow Alert
  828. ]]
  829. end))
  830. Script60.Disabled = true
  831. for i,v in pairs(mas:GetChildren()) do
  832. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  833. pcall(function() v:MakeJoints() end)
  834. end
  835. mas:Destroy()
  836. for i,v in pairs(cors) do
  837. spawn(function()
  838. pcall(v)
  839. end)
  840. end
Add Comment
Please, Sign In to add comment