Advertisement
Guest User

Untitled

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