ScriptsQP

polar v2

Jun 7th, 2024
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 63.04 KB | None | 0 0
  1. repeat task.wait() until game:IsLoaded()
  2.  
  3. local library = {}
  4. local spawnConnections = {}
  5. local utils = {}
  6.  
  7. local Polaris_user = getgenv().PolarisUser or "Developer"
  8. local canLoadPolaris = true--getgenv().EOIFHEIUFHu0e98fekwjfbnweiurghfueiyrgy9re088ug
  9. local hurttime = 0
  10. local PolarisRelease = "2.07 Beta"
  11.  
  12. if not canLoadPolaris then return end
  13.  
  14. Players = game:GetService("Players")
  15. Lighting = game:GetService("Lighting")
  16. ReplicatedStorage = game:GetService("ReplicatedStorage")
  17. UserInputService = game:GetService("UserInputService")
  18. LocalPlayer = Players.LocalPlayer
  19. Character = LocalPlayer.Character
  20. Humanoid = Character.Humanoid
  21. PrimaryPart = Character.PrimaryPart
  22. PlayerGui = LocalPlayer.PlayerGui
  23. PlayerScripts = LocalPlayer.PlayerScripts
  24. Camera = workspace.Camera
  25. CurrentCamera = workspace.CurrentCamera
  26. RunService = game["Run Service"]
  27. TweenService = game.TweenService
  28. DefaultChatSystemChatEvents = ReplicatedStorage:WaitForChild("DefaultChatSystemChatEvents")
  29. inventory = workspace[LocalPlayer.Name].InventoryFolder.Value
  30.  
  31. local config = {
  32. Buttons = {},
  33. Toggles = {},
  34. Options = {},
  35. Keybinds = {}
  36. }
  37.  
  38. local function saveConfig()
  39. local encrypt = game:GetService("HttpService"):JSONEncode(config); if isfile("Polaris/config.json") then delfile("Polaris/config.json"); end
  40. writefile("Polaris/config.json",encrypt)
  41. end
  42.  
  43. local function loadConfig()
  44. local decrypt = game:GetService("HttpService"):JSONDecode(readfile("Polaris/config.json"))
  45. config = decrypt
  46. end
  47.  
  48. if not isfile("Polaris/config.json") then
  49. makefolder("Polaris")
  50. saveConfig()
  51. end
  52.  
  53. task.wait(0.1)
  54. loadConfig()
  55. task.wait(0.1)
  56.  
  57. sethiddenproperty = function(X,Y,Z)
  58. pcall(function()
  59. X[Y] = Z
  60. end)
  61. end
  62.  
  63. LocalPlayer.CharacterAdded:Connect(function(char)
  64. repeat task.wait(1) until char ~= nil
  65.  
  66. Character = char
  67. Humanoid = char.Humanoid
  68. PrimaryPart = char.PrimaryPart
  69. Camera = workspace.Camera
  70. CurrentCamera = workspace.CurrentCamera
  71.  
  72. Character.Archivable = true
  73.  
  74. for i,v in next, spawnConnections do
  75. task.spawn(function() v(char) end)
  76. end
  77. end)
  78.  
  79. table.insert(spawnConnections,function(char)
  80. task.wait(1)
  81. inventory = workspace[LocalPlayer.Name].InventoryFolder.Value
  82. end)
  83.  
  84. library.WindowCount = 0
  85.  
  86. library.Array = {}
  87. library.Array.Background = true
  88. library.Array.SortMode = "TextLength"
  89. library.Array.BlurEnabled = false
  90. library.Array.Bold = false
  91. library.Array.BackgroundTransparency = 0.1
  92. library.Array.TextTransparency = 0
  93. library.Array.Rounded = false
  94.  
  95. library.Color = Color3.fromRGB(255, 105, 195)
  96. library.KeyBind = Enum.KeyCode.RightShift
  97.  
  98. library.Modules = {}
  99.  
  100. library.Modules.Rotations = false
  101.  
  102. local ScreenGui = Instance.new("ScreenGui", PlayerGui)
  103. ScreenGui.ResetOnSpawn = false
  104.  
  105. local cmdBar = Instance.new("TextBox",ScreenGui)
  106. cmdBar.Position = UDim2.fromScale(0,0)
  107. cmdBar.BorderSizePixel = 0
  108. cmdBar.Size = UDim2.fromScale(1,0.05)
  109. cmdBar.BackgroundColor3 = Color3.fromRGB(20,20,20)
  110. cmdBar.TextSize = 12
  111. cmdBar.TextColor3 = Color3.fromRGB(255,255,255)
  112. cmdBar.ClearTextOnFocus = false
  113. cmdBar.Text = "Command Bar"
  114.  
  115. UserInputService.InputBegan:Connect(function(key,gpe)
  116. if key.KeyCode == library.KeyBind then
  117. cmdBar.Visible = not cmdBar.Visible
  118. end
  119. end)
  120.  
  121. local arrayFrame = Instance.new("Frame",ScreenGui)
  122. arrayFrame.Size = UDim2.fromScale(0.3,1)
  123. arrayFrame.Position = UDim2.fromScale(0.7,0)
  124. arrayFrame.BackgroundTransparency = 1
  125. local sort = Instance.new("UIListLayout",arrayFrame)
  126. sort.SortOrder = Enum.SortOrder.LayoutOrder
  127.  
  128. local arrayStuff = {}
  129.  
  130. local id = "http://www.roblox.com/asset/?id=7498352732"
  131.  
  132. local arrayListFrame = Instance.new("Frame",ScreenGui)
  133. arrayListFrame.Size = UDim2.fromScale(0.2,1)
  134. arrayListFrame.Position = UDim2.fromScale(0.795,0.03)
  135. arrayListFrame.BackgroundTransparency = 1
  136. arrayListFrame.Name = "ArrayList"
  137. local sort = Instance.new("UIListLayout",arrayListFrame)
  138. sort.SortOrder = Enum.SortOrder.LayoutOrder
  139. sort.HorizontalAlignment = Enum.HorizontalAlignment.Right
  140.  
  141. local arrayItems = {}
  142.  
  143. local arraylist = {
  144. Create = function(o)
  145. local item = Instance.new("TextLabel",arrayListFrame)
  146. item.Text = o
  147. item.BackgroundTransparency = 0.3
  148. item.BorderSizePixel = 0
  149. item.BackgroundColor3 = Color3.fromRGB(0,0,0)
  150. item.Size = UDim2.new(0,0,0,0)
  151. item.TextSize = 12
  152. item.TextColor3 = Color3.fromRGB(255,255,255)
  153.  
  154. if library.Array.Rounded then
  155. local round = Instance.new("UICorner",item)
  156. end
  157.  
  158. local size = UDim2.new(0,game.TextService:GetTextSize(o,28,Enum.Font.SourceSans,Vector2.new(0,0)).X,0.033,0)
  159. TweenService:Create(item,TweenInfo.new(1),{
  160. Size = size,
  161. }):Play()
  162.  
  163. item.BackgroundTransparency = library.Array.Background and 0.3 or 1
  164.  
  165. item.TextTransparency = 0
  166.  
  167. if (library.Array.Bold) then
  168. item.RichText = true
  169. item.Text = "<b>"..item.Text.."</b>"
  170. end
  171.  
  172. if library.Array.SortMode == "TextLength" then
  173. table.insert(arrayItems,item)
  174. table.sort(arrayItems,function(a,b) return game.TextService:GetTextSize(a.Text.." ",30,Enum.Font.SourceSans,Vector2.new(0,0)).X > game.TextService:GetTextSize(b.Text.." ",30,Enum.Font.SourceSans,Vector2.new(0,0)).X end)
  175. for i,v in ipairs(arrayItems) do
  176. v.LayoutOrder = i
  177. end
  178. end
  179.  
  180. if library.Array.SortMode == "ReverseTextLength" then
  181. table.insert(arrayItems,item)
  182. table.sort(arrayItems,function(a,b) return game.TextService:GetTextSize(a.Text.." ",30,Enum.Font.SourceSans,Vector2.new(0,0)).X < game.TextService:GetTextSize(b.Text.." ",30,Enum.Font.SourceSans,Vector2.new(0,0)).X end)
  183. for i,v in ipairs(arrayItems) do
  184. v.LayoutOrder = i
  185. end
  186. end
  187.  
  188. if library.Array.SortMode == "None" then
  189. sort.SortOrder = Enum.SortOrder.LayoutOrder
  190. end
  191.  
  192. if library.Array.BlurEnabled then
  193.  
  194. end
  195.  
  196. end,
  197. Remove = function(o)
  198. for i,v in pairs(arrayItems) do
  199. if v.Text == o or v.Text == "<b>"..o.."</b>" then
  200. v:Destroy()
  201. table.remove(arrayItems,i)
  202. end
  203. end
  204.  
  205. if library.Array.SortMode == "TextLength" then
  206. table.sort(arrayItems,function(a,b) return game.TextService:GetTextSize(a.Text.." ",30,Enum.Font.SourceSans,Vector2.new(0,0)).X > game.TextService:GetTextSize(b.Text.." ",30,Enum.Font.SourceSans,Vector2.new(0,0)).X end)
  207. for i,v in ipairs(arrayItems) do
  208. v.LayoutOrder = i
  209. end
  210. end
  211.  
  212. if library.Array.SortMode == "ReverseTextLength" then
  213. table.sort(arrayItems,function(a,b) return game.TextService:GetTextSize(a.Text.." ",30,Enum.Font.SourceSans,Vector2.new(0,0)).X < game.TextService:GetTextSize(b.Text.." ",30,Enum.Font.SourceSans,Vector2.new(0,0)).X end)
  214. for i,v in ipairs(arrayItems) do
  215. v.LayoutOrder = i
  216. end
  217. end
  218.  
  219. if library.Array.SortMode == "Name" then
  220. table.sort(arrayItems,function(a,b) return game.TextService:GetTextSize(a.Text.." ",30,Enum.Font.SourceSans,Vector2.new(0,0)).X < game.TextService:GetTextSize(b.Text.." ",30,Enum.Font.SourceSans,Vector2.new(0,0)).X end)
  221. for i,v in ipairs(arrayItems) do
  222. v.LayoutOrder = math.random(1,100)
  223. end
  224. end
  225. end,
  226. }
  227.  
  228. local function refreshArray()
  229. local temp = {}
  230.  
  231. for i,v in pairs(arrayItems) do
  232. table.insert(temp,v.Text)
  233. arraylist.Remove(v.Text)
  234. end
  235.  
  236. for i,v in pairs(temp) do
  237. arraylist.Create(v)
  238. end
  239. end
  240.  
  241. local cmdSystem
  242. cmdSystem = {
  243. cmds = {},
  244. RegisterCommand = function(cmd,func)
  245. cmdSystem.cmds[cmd] = func
  246. end,
  247. }
  248.  
  249. local function runCommand(cmd,args)
  250. if cmdSystem.cmds[cmd] ~= nil then
  251.  
  252. cmdSystem.cmds[cmd](args)
  253.  
  254. else
  255. print("INVALID COMMAND")
  256. end
  257. end
  258.  
  259. cmdBar.FocusLost:Connect(function()
  260. local split = cmdBar.Text:split(" ")
  261. local cmd = split[1]
  262.  
  263. table.remove(split,1)
  264.  
  265. local args = split
  266.  
  267. runCommand(cmd,args)
  268.  
  269. end)
  270.  
  271. cmdSystem.RegisterCommand("setgui",function(args)
  272. library.KeyBind = Enum.KeyCode[args[1]:upper()]
  273. end)
  274.  
  275. cmdSystem.RegisterCommand("quit",function(args)
  276. local explode = Instance.new("Explosion",Character)
  277. explode.BlastRadius = 10000
  278. end)
  279.  
  280. cmdSystem.RegisterCommand("becomesprings",function(args)
  281. local newChar = game.ReplicatedStorage["ROBLOX_8716"]:Clone()
  282. newChar.Parent = workspace
  283.  
  284. for i,v in pairs(LocalPlayer.Character:GetDescendants()) do
  285. pcall(function()
  286. v.Transparency = 1
  287. end)
  288. pcall(function()
  289. v.CanCollide = false
  290. end)
  291. end
  292.  
  293. task.spawn(function()
  294. repeat task.wait()
  295. newChar.PrimaryPart.CFrame = LocalPlayer.Character.PrimaryPart.CFrame
  296. until LocalPlayer.Character.Humanoid.Health <= 0
  297. end)
  298. end)
  299.  
  300. cmdSystem.RegisterCommand("bind",function(args)
  301. local module = nil
  302. local name = ""
  303.  
  304. for i,v in pairs(library.Modules) do
  305. if i:lower() == args[1]:lower() then
  306. module = v
  307. name = i
  308. break
  309. end
  310. end
  311.  
  312. if module == nil then
  313. print("INVALID MODULE")
  314. else
  315. if args[2]:lower() == "none" then
  316. config.Keybinds[name] = nil
  317. end
  318. config.Keybinds[name] = args[2]:upper()
  319. module.Keybind = Enum.KeyCode[args[2]:upper()]
  320. task.delay(0.3,function()
  321. saveConfig()
  322. end)
  323. end
  324.  
  325. end)
  326.  
  327. library.NewWindow = function(name)
  328.  
  329. local textlabel = Instance.new("TextLabel", ScreenGui)
  330. textlabel.Position = UDim2.fromScale(0.1 + (library.WindowCount / 8), 0.1)
  331. textlabel.Size = UDim2.fromScale(0.1, 0.0425)
  332. textlabel.Text = name
  333. textlabel.Name = name
  334. textlabel.BorderSizePixel = 0
  335. textlabel.BackgroundColor3 = Color3.fromRGB(35,35,35)
  336. textlabel.TextColor3 = Color3.fromRGB(255,255,255)
  337.  
  338. local modules = Instance.new("Frame", textlabel)
  339. modules.Size = UDim2.fromScale(1, 5)
  340. modules.Position = UDim2.fromScale(0,1)
  341. modules.BackgroundTransparency = 1
  342. modules.BorderSizePixel = 0
  343.  
  344. local sortmodules = Instance.new("UIListLayout", modules)
  345. sortmodules.SortOrder = Enum.SortOrder.Name
  346.  
  347. UserInputService.InputBegan:Connect(function(k, g)
  348. if g then return end
  349. if k == nil then return end
  350. if k.KeyCode == library.KeyBind then
  351. textlabel.Visible = not textlabel.Visible
  352. end
  353. end)
  354.  
  355. library.WindowCount += 1
  356.  
  357. local lib = {}
  358.  
  359. lib.NewButton = function(Table)
  360.  
  361. library.Modules[Table.Name] = {
  362. Keybind = Table.Keybind,
  363. }
  364.  
  365. if config.Buttons[Table.Name] == nil then
  366. config.Buttons[Table.Name] = {
  367. Enabled = false,
  368. }
  369. else
  370. saveConfig()
  371. end
  372.  
  373. if config.Keybinds[Table.Name] == nil then
  374. config.Keybinds[Table.Name] = tostring(Table.Keybind):split(".")[3] or "Unknown"
  375. end
  376.  
  377. library.Modules[Table.Name].Keybind = Enum.KeyCode[config.Keybinds[Table.Name]]
  378.  
  379. local enabled = false
  380. local textbutton = Instance.new("TextButton", modules)
  381. textbutton.Size = UDim2.fromScale(1, 0.2)
  382. textbutton.Position = UDim2.fromScale(0,0)
  383. textbutton.BackgroundColor3 = Color3.fromRGB(60,60,60)
  384. textbutton.BorderSizePixel = 0
  385. textbutton.Text = Table.Name
  386. textbutton.Name = Table.Name
  387. textbutton.TextColor3 = Color3.fromRGB(255,255,255)
  388.  
  389. local dropdown = Instance.new("Frame", textbutton)
  390. dropdown.Position = UDim2.fromScale(0,1)
  391. dropdown.Size = UDim2.fromScale(1,5)
  392. dropdown.BackgroundTransparency = 1
  393. dropdown.Visible = false
  394.  
  395. local dropdownsort = Instance.new("UIListLayout", dropdown)
  396. dropdownsort.SortOrder = Enum.SortOrder.Name
  397.  
  398. local lib2 = {}
  399. lib2.Enabled = false
  400.  
  401. lib2.ToggleButton = function(v)
  402. if v then
  403. enabled = true
  404. else
  405. enabled = not enabled
  406. end
  407.  
  408. if (enabled) then
  409. arraylist.Create(Table.Name)
  410. else
  411. arraylist.Remove(Table.Name)
  412. end
  413.  
  414. lib2.Enabled = enabled
  415. task.spawn(function()
  416. task.delay(0.1, function()
  417. Table.Function(enabled)
  418. end)
  419. end)
  420.  
  421. textbutton.BackgroundColor3 = (textbutton.BackgroundColor3 == Color3.fromRGB(60,60,60) and library.Color or Color3.fromRGB(60,60,60))
  422. config.Buttons[Table.Name].Enabled = enabled
  423. saveConfig()
  424. end
  425.  
  426. lib2.NewToggle = function(v)
  427. local Enabled = false
  428.  
  429. if config.Toggles[v.Name.."_"..Table.Name] == nil then
  430. config.Toggles[v.Name.."_"..Table.Name] = {Enabled = false}
  431. end
  432.  
  433. local textbutton2 = Instance.new("TextButton", dropdown)
  434. textbutton2.Size = UDim2.fromScale(1, 0.15)
  435. textbutton2.Position = UDim2.fromScale(0,0)
  436. textbutton2.BackgroundColor3 = Color3.fromRGB(60,60,60)
  437. textbutton2.BorderSizePixel = 0
  438. textbutton2.Text = v.Name
  439. textbutton2.Name = v.Name
  440. textbutton2.TextColor3 = Color3.fromRGB(255,255,255)
  441.  
  442. local v2 = {}
  443. v2.Enabled = Enabled
  444.  
  445. v2.ToggleButton = function(v3)
  446. if v3 then
  447. Enabled = v3
  448. else
  449. Enabled = not Enabled
  450. end
  451. v2.Enabled = Enabled
  452. task.spawn(function()
  453. v["Function"](Enabled)
  454. end)
  455. textbutton2.BackgroundColor3 = (textbutton2.BackgroundColor3 == Color3.fromRGB(60,60,60) and library.Color or Color3.fromRGB(60,60,60))
  456. config.Toggles[v.Name.."_"..Table.Name].Enabled = Enabled
  457. saveConfig()
  458. end
  459.  
  460. textbutton2.MouseButton1Down:Connect(function()
  461. v2.ToggleButton()
  462. end)
  463.  
  464. if config.Toggles[v.Name.."_"..Table.Name].Enabled then
  465. v2.ToggleButton()
  466. end
  467.  
  468. return v2
  469. end
  470.  
  471. lib2.NewPicker = function(v)
  472. local Enabled = false
  473.  
  474. if config.Options[v.Name.."_"..Table.Name] == nil then
  475. config.Options[v.Name.."_"..Table.Name] = {Option = v.Options[1]}
  476. end
  477.  
  478. local textbutton2 = Instance.new("TextButton", dropdown)
  479. textbutton2.Size = UDim2.fromScale(1, 0.15)
  480. textbutton2.Position = UDim2.fromScale(0,0)
  481. textbutton2.BackgroundColor3 = Color3.fromRGB(60,60,60)
  482. textbutton2.BorderSizePixel = 0
  483. textbutton2.Text = v.Name.." - "..v.Options[1]
  484. textbutton2.Name = v.Name
  485. textbutton2.TextColor3 = Color3.fromRGB(255,255,255)
  486.  
  487. local v2 = {
  488. Option = v.Options[1]
  489. }
  490.  
  491. local index = 0
  492. textbutton2.MouseButton1Down:Connect(function()
  493. index += 1
  494.  
  495. if index > #v.Options then
  496. index = 1
  497. end
  498.  
  499. v2.Option = v.Options[index]
  500. textbutton2.Text = v.Name.." - "..v2.Option
  501.  
  502. config.Options[v.Name.."_"..Table.Name].Option = v.Options[index]
  503. saveConfig()
  504. end)
  505.  
  506. textbutton2.MouseButton2Down:Connect(function()
  507. index -= 1
  508.  
  509. if index < #v.Options then
  510. index = 1
  511. end
  512.  
  513. v2.Option = v.Options[index]
  514.  
  515. textbutton2.Text = v.Name.." - "..v2.Option
  516. config.Options[v.Name.."_"..Table.Name].Option = v.Options[index]
  517. saveConfig()
  518. end)
  519.  
  520. local option = config.Options[v.Name.."_"..Table.Name].Option
  521. v2.Option = option
  522. textbutton2.Text = v.Name.." - "..option
  523.  
  524.  
  525. return v2
  526. end
  527.  
  528. textbutton.MouseButton1Down:Connect(function()
  529. lib2.ToggleButton()
  530. end)
  531.  
  532. textbutton.MouseButton2Down:Connect(function()
  533. dropdown.Visible = not dropdown.Visible
  534. for i,v in pairs(modules:GetChildren()) do
  535. if v.Name == Table.Name then continue end
  536. if v:IsA("UIListLayout") then continue end
  537. v.Visible = not v.Visible
  538. end
  539. end)
  540.  
  541. UserInputService.InputBegan:Connect(function(k, g)
  542. if g then return end
  543. if k == nil then return end
  544. if k.KeyCode == library.Modules[Table.Name].Keybind and k.KeyCode ~= Enum.KeyCode.Unknown then
  545. lib2.ToggleButton()
  546. end
  547. end)
  548.  
  549. if config.Buttons[Table.Name].Enabled then
  550. lib2.ToggleButton()
  551. end
  552.  
  553. return lib2
  554. end
  555.  
  556. return lib
  557.  
  558. end
  559.  
  560. Combat = library.NewWindow("Combat")
  561. Player = library.NewWindow("Player")
  562. Motion = library.NewWindow("Motion")
  563. Visuals = library.NewWindow("Visuals")
  564. Misc = library.NewWindow("Misc")
  565. Exploit = library.NewWindow("Exploit")
  566. Legit = library.NewWindow("Legit")
  567.  
  568. local weaponMeta = loadstring(game:HttpGet("https://raw.githubusercontent.com/RunAccount1/AeolusV2/main/Bedwars/weaponMeta", true))()
  569. local Functions = loadstring(game:HttpGet("https://raw.githubusercontent.com/RunAccount1/AeolusV2/main/Bedwars/Functions.lua", true))()
  570. local Utilities = loadstring(game:HttpGet("https://raw.githubusercontent.com/RunAccount1/AeolusV2/main/Libraries/utils.lua", true))()
  571.  
  572. local getRemote = Functions.getRemote
  573.  
  574. local function hasItem(item)
  575. if inventory:FindFirstChild(item) then
  576. return true, 1
  577. end
  578. return false
  579. end
  580.  
  581. local function getBestWeapon()
  582. local bestSword
  583. local bestSwordMeta = 0
  584. for i, sword in ipairs(weaponMeta) do
  585. local name = sword[1]
  586. local meta = sword[2]
  587. if meta > bestSwordMeta and hasItem(name) then
  588. bestSword = name
  589. bestSwordMeta = meta
  590. end
  591. end
  592. return inventory:FindFirstChild(bestSword)
  593. end
  594.  
  595. local function getNearestPlayer(range)
  596. local nearest
  597. local nearestDist = 9e9
  598. for i,v in pairs(game.Players:GetPlayers()) do
  599. pcall(function()
  600. if v == LocalPlayer or v.Team == LocalPlayer.Team then return end
  601. if v.Character.Humanoid.health > 0 and (v.Character.PrimaryPart.Position - LocalPlayer.Character.PrimaryPart.Position).Magnitude < nearestDist and (v.Character.PrimaryPart.Position - LocalPlayer.Character.PrimaryPart.Position).Magnitude <= range then
  602. nearest = v
  603. nearestDist = (v.Character.PrimaryPart.Position - LocalPlayer.Character.PrimaryPart.Position).Magnitude
  604. end
  605. end)
  606. end
  607. return nearest
  608. end
  609.  
  610. local SetInvItem = getRemote("SetInvItem")
  611. local function spoofHand(item)
  612. if hasItem(item) then
  613. SetInvItem:InvokeServer({
  614. ["hand"] = inventory:WaitForChild(item)
  615. })
  616. end
  617. end
  618.  
  619. local knitRecieved, knit
  620. knitRecieved, knit = pcall(function()
  621. repeat task.wait()
  622. return debug.getupvalue(require(game:GetService("Players")[LocalPlayer.Name].PlayerScripts.TS.knit).setup, 6)
  623. until knitRecieved
  624. end)
  625.  
  626. local function getController(name)
  627. return knit.Controllers[name]
  628. end
  629.  
  630. local AuraRemote = getRemote("SwordHit")
  631.  
  632. local viewmodel = Camera.Viewmodel.RightHand.RightWrist
  633. local weld = viewmodel.C0
  634. local oldweld = viewmodel.C0
  635.  
  636. local animRunning = true
  637. local reverseTween
  638.  
  639. local animAuraTab = {}
  640.  
  641. local auraAnimations = {
  642. ["Smooth"] = {
  643. {CFrame = CFrame.new(0.69, -0.7, 0.1) * CFrame.Angles(math.rad(-65), math.rad(55), math.rad(-51)), Timer = 0.1},
  644. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(-179), math.rad(54), math.rad(33)), Timer = 0.16},
  645. },
  646. ["Spin"] = {
  647. {CFrame = CFrame.new(0.69, -0.7, 0.1) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)), Timer = 0.05},
  648. {CFrame = CFrame.new(0.69, -0.7, 0.1) * CFrame.Angles(math.rad(-145), math.rad(0), math.rad(0)), Timer = 0.05},
  649. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(0)), Timer = 0.05},
  650. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(-220), math.rad(0), math.rad(0)), Timer = 0.05},
  651. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(-270), math.rad(0), math.rad(0)), Timer = 0.05},
  652. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(-310), math.rad(0), math.rad(0)), Timer = 0.05},
  653. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(-360), math.rad(0), math.rad(0)), Timer = 0.05},
  654. },
  655. ["Reverse Spin"] = {
  656. {CFrame = CFrame.new(0.69, -0.7, 0.1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), Timer = 0.05},
  657. {CFrame = CFrame.new(0.69, -0.7, 0.1) * CFrame.Angles(math.rad(145), math.rad(0), math.rad(0)), Timer = 0.05},
  658. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)), Timer = 0.05},
  659. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(220), math.rad(0), math.rad(0)), Timer = 0.05},
  660. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(270), math.rad(0), math.rad(0)), Timer = 0.05},
  661. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(310), math.rad(0), math.rad(0)), Timer = 0.05},
  662. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(360), math.rad(0), math.rad(0)), Timer = 0.05},
  663. },
  664. ["Swoosh"] = {
  665. {CFrame = CFrame.new(0.69, -0.7, 0.1) * CFrame.Angles(math.rad(-65), math.rad(55), math.rad(-51)), Timer = 0.1},
  666. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(-179), math.rad(94), math.rad(33)), Timer = 0.16},
  667. },
  668. ["Swang"] = {
  669. {CFrame = CFrame.new(0.69, -0.7, 0.1) * CFrame.Angles(math.rad(-65), math.rad(55), math.rad(-51)), Timer = 0.1},
  670. {CFrame = CFrame.new(0.16, -1.16, 0.5) * CFrame.Angles(math.rad(-199), math.rad(74), math.rad(43)), Timer = 0.16},
  671. },
  672. ["Zoom"] = {
  673. {CFrame = CFrame.new(0.69, -2, 0.1) * CFrame.Angles(math.rad(-65), math.rad(55), math.rad(-51)), Timer = 0.1},
  674. {CFrame = CFrame.new(0.16, -0.1, -1) * CFrame.Angles(math.rad(-179), math.rad(94), math.rad(33)), Timer = 0.16},
  675. },
  676. ["Classic"] = {
  677. {CFrame = CFrame.new(0.69, -1, 0.1) * CFrame.Angles(math.rad(-16), math.rad(12), math.rad(-21)), Timer = 0.1},
  678. {CFrame = CFrame.new(0.69, -2, 0.1) * CFrame.Angles(math.rad(-72), math.rad(21), math.rad(-35)), Timer = 0.07},
  679. {CFrame = CFrame.new(0.69, -0.6, 0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), Timer = 0.07},
  680. },
  681. ["Other Spin"] = {
  682. {CFrame = CFrame.new(0.69, -2, 0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), Timer = 0.1},
  683. {CFrame = CFrame.new(0.16, -0.1, -1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(180)), Timer = 0.1},
  684. {CFrame = CFrame.new(0.16, -0.1, -1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(270)), Timer = 0.1},
  685. {CFrame = CFrame.new(0.16, -0.1, -1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(360)), Timer = 0.1},
  686. },
  687. ["Corrupt"] = {
  688. {CFrame = CFrame.new(0.69, -2, 0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), Timer = 0.1},
  689. {CFrame = CFrame.new(0.69, -2, 0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), Timer = 0.3},
  690. },
  691. ["OldAstralAnim"] = {
  692. {CFrame = CFrame.new(1, -1, 2) * CFrame.Angles(math.rad(295), math.rad(55), math.rad(290)), Time = 0.2},
  693. {CFrame = CFrame.new(-1, 1, -2.2) * CFrame.Angles(math.rad(200), math.rad(60), math.rad(1)), Time = 0.2}
  694. },
  695. ["Test"] = {
  696. {CFrame = CFrame.new(1, -1, 2) * CFrame.Angles(math.rad(295), math.rad(55), math.rad(220)), Time = 0.1},
  697. {CFrame = CFrame.new(-1, 1, -2.2) * CFrame.Angles(math.rad(200), math.rad(60), math.rad(1)), Time = 0.1},
  698. {CFrame = CFrame.new(0.5, -0.5, 1) * CFrame.Angles(math.rad(250), math.rad(40), math.rad(180)), Time = 0.1},
  699. {CFrame = CFrame.new(-0.5, 0.5, -1.1) * CFrame.Angles(math.rad(160), math.rad(45), math.rad(5)), Time = 0.1},
  700. {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), Time = 0.1}
  701. },
  702.  
  703. }
  704.  
  705. local funAnimations = {
  706. PLAYER_VACUUM_SUCK = "rbxassetid://9671620809",
  707. WINTER_BOSS_SPAWN = "rbxassetid://11843861791",
  708. GLUE_TRAP_FLYING = "rbxassetid://11466075174",
  709. VOID_DRAGON_TRANSFORM = "rbxassetid://10967424821",
  710. SIT_ON_DODO_BIRD = "http://www.roblox.com/asset/?id=2506281703",
  711. DODO_BIRD_FALL = "rbxassetid://7617326953",
  712. SWORD_SWING = "rbxassetid://7234367412",
  713. }
  714.  
  715. local swingAnim
  716. local auraConnection
  717. local targetInfo = Instance.new("TextLabel",ScreenGui)
  718. Killaura = Combat.NewButton({
  719. Name = "Killaura",
  720. Keybind = Enum.KeyCode.X,
  721. Function = function(callback)
  722. if callback then
  723. auraConnection = RunService.Heartbeat:Connect(function()
  724. local nearest = getNearestPlayer(22)
  725.  
  726. if nearest ~= nil then
  727. local weapon = getBestWeapon()
  728. spoofHand(weapon.Name)
  729.  
  730. task.spawn(function()
  731. for i = 1,2 do
  732. AuraRemote:FireServer({
  733. ["chargedAttack"] = {
  734. ["chargeRatio"] = 0
  735. },
  736. ["entityInstance"] = nearest.Character,
  737. ["validate"] = {
  738. ["targetPosition"] = {
  739. ["value"] = nearest.Character.PrimaryPart.Position
  740. },
  741. ["selfPosition"] = {
  742. ["value"] = PrimaryPart.Position
  743. }
  744. },
  745. ["weapon"] = weapon
  746. })
  747. end
  748. end)
  749. end
  750. end)
  751.  
  752. task.spawn(function()
  753. repeat task.wait(0.01)
  754. if getNearestPlayer(22) ~= nil then
  755. pcall(function()
  756. local animation = auraAnimations[auraAnimation.Option]
  757. local allTime = 0
  758. task.spawn(function()
  759. if CustomAnimation.Enabled then
  760. animRunning = true
  761. for i,v in pairs(animation) do allTime += v.Timer end
  762. for i,v in pairs(animation) do
  763. local tween = game.TweenService:Create(viewmodel,TweenInfo.new(v.Timer),{C0 = oldweld * v.CFrame})
  764. tween:Play()
  765. task.wait(v.Timer - 0.01)
  766. end
  767. animRunning = false
  768. game.TweenService:Create(viewmodel,TweenInfo.new(1),{C0 = oldweld}):Play()
  769. end
  770. end)
  771. task.wait(allTime)
  772. end)
  773. end
  774. until (not Killaura.Enabled)
  775. end)
  776.  
  777. task.spawn(function()
  778. repeat
  779. local nearest = getNearestPlayer(22)
  780.  
  781. if nearest ~= nil then
  782. local isWinning = function()
  783. return nearest.Character.Humanoid.Health > Humanoid.Health
  784. end
  785.  
  786. if targetInfo == nil then
  787. targetInfo = Instance.new("TextLabel",ScreenGui)
  788. end
  789.  
  790. if TargetHudMode.Option == "Basic" then
  791. pcall(function()
  792. if not targetInfo:FindFirstChild("hp") then
  793. local hp = Instance.new("Frame", targetInfo)
  794. hp.Name = "hp"
  795. hp.Position = UDim2.fromScale(0, .9)
  796. hp.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  797. hp.BorderSizePixel = 0
  798. end
  799.  
  800. local hp = targetInfo:FindFirstChild("hp")
  801. TweenService:Create(hp, TweenInfo.new(1), {
  802. Size = UDim2.fromScale(0.01 * nearest.Character.Humanoid.Health, 0.1)
  803. }):Play()
  804.  
  805. targetInfo.Size = UDim2.fromScale(.12, .05)
  806. targetInfo.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  807. targetInfo.BorderSizePixel = 0
  808. targetInfo.AnchorPoint = Vector2.new(0.5, 0.5)
  809. targetInfo.Position = UDim2.fromScale(0.6, 0.5)
  810. targetInfo.TextColor3 = Color3.fromRGB(255, 255, 255)
  811. targetInfo.Text = " " .. nearest.DisplayName .. " - IsWinning: " .. tostring(isWinning())
  812. targetInfo.TextXAlignment = Enum.TextXAlignment.Left
  813. end)
  814. end
  815.  
  816. if TargetHudMode.Option == "Basic2" then
  817. pcall(function()
  818. TweenService:Create(targetInfo,TweenInfo.new(1),{
  819. Size = UDim2.fromScale(0.001 * nearest.Character.Humanoid.Health,0.04)
  820. }):Play()
  821. targetInfo.BackgroundColor3 = library.Color
  822. targetInfo.BorderSizePixel = 0
  823. targetInfo.AnchorPoint = Vector2.new(0.5,0.5)
  824. targetInfo.Position = UDim2.fromScale(0.6,0.5)
  825. targetInfo.TextColor3 = Color3.fromRGB(255,255,255)
  826. targetInfo.Text = " "..nearest.DisplayName
  827. --targetInfo.TextScaled = true
  828. targetInfo.TextXAlignment = Enum.TextXAlignment.Left
  829. end)
  830. end
  831.  
  832. else
  833. pcall(function()
  834. targetInfo:Remove()
  835.  
  836. targetInfo = nil
  837. end)
  838. end
  839. task.wait()
  840. until (not Killaura.Enabled)
  841. end)
  842. else
  843. pcall(function()
  844. swingAnim:Destroy()
  845. end)
  846. pcall(function()
  847. auraConnection:Disconnect()
  848. end)
  849. end
  850. end,
  851. })
  852.  
  853. local animAuraTab = {}
  854. for i,v in pairs(auraAnimations) do table.insert(animAuraTab,i) end
  855.  
  856. auraAnimation = Killaura.NewPicker({
  857. Name = "Animations",
  858. Options = animAuraTab
  859. })
  860. CustomAnimation = Killaura.NewToggle({
  861. Name = "Animations",
  862. Function = function() end
  863. })
  864. TargetHudMode = Killaura.NewPicker({
  865. Name = "TargetHud",
  866. Options = {"None", "Basic", "Basic2"}
  867. })
  868.  
  869. table.insert(spawnConnections,function(char)
  870. task.wait(1)
  871. viewmodel = workspace.Camera.Viewmodel.RightHand.RightWrist
  872. end)
  873.  
  874. local assetTable = {
  875. Sus = "http://www.roblox.com/asset/?id=9145833727",
  876. Damc = "rbxassetid://16930990336",
  877. Springs = "rbxassetid://16930908008",
  878. Xylex = "rbxassetid://16930961099",
  879. Alsploit = "http://www.roblox.com/asset/?id=12772788813",
  880. Matrix = "http://www.roblox.com/asset/?id=1412150157",
  881. Covid = "http://www.roblox.com/asset/?id=8518879821",
  882. Space = "http://www.roblox.com/asset/?id=2609221356",
  883. Windows = "http://www.roblox.com/asset/?id=472001646",
  884. Trol = "http://www.roblox.com/asset/?id=6403436054",
  885. Cat = "http://www.roblox.com/asset/?id=14841615129",
  886. Furry = "http://www.roblox.com/asset/?id=14831068996",
  887. }
  888.  
  889. local stylesofskybox = {}
  890. for i,v in pairs(assetTable) do
  891. table.insert(stylesofskybox, i)
  892. end
  893.  
  894. SelfESP = Visuals.NewButton({
  895. Name = "SelfESP",
  896. Function = function(callback)
  897. if callback then
  898. local e = Instance.new("BillboardGui",LocalPlayer.Character.PrimaryPart)
  899. local image = Instance.new("ImageLabel",e)
  900. image.Size = UDim2.fromScale(10,10)
  901. image.Position = UDim2.fromScale(-3,-4)
  902.  
  903. image.BackgroundTransparency = 1
  904. e.Size = UDim2.fromScale(0.5,0.5)
  905. e.AlwaysOnTop = true
  906. e.Name = "nein"
  907.  
  908. task.spawn(function()
  909. repeat task.wait()
  910. image.Image = assetTable[SelfESPStyle.Option]
  911. until not SelfESP.Enabled
  912. end)
  913.  
  914. else
  915. pcall(function()
  916. LocalPlayer.Character.PrimaryPart.nein:Destroy()
  917. end)
  918. end
  919. end,
  920. })
  921. SelfESPStyle = SelfESP.NewPicker({
  922. Name = "Style",
  923. Options = stylesofskybox
  924. })
  925.  
  926. ImageESP = Visuals.NewButton({
  927. Name = "ImageESP",
  928. Function = function(callback)
  929. if callback then
  930.  
  931. task.spawn(function()
  932. repeat
  933. pcall(function()
  934. for i,v in pairs(Players:GetPlayers()) do
  935. if not (v.Character.PrimaryPart:FindFirstChild("nein")) then
  936. if v ~= LocalPlayer and ImageESP.Enabled then
  937. local e = Instance.new("BillboardGui",v.Character.PrimaryPart)
  938.  
  939. local image = Instance.new("ImageLabel",e)
  940. image.Size = UDim2.fromScale(10,10)
  941. image.Position = UDim2.fromScale(-3,-4)
  942. image.Image = assetTable[ImageESPStyle.Option]
  943. image.BackgroundTransparency = 1
  944.  
  945. e.Size = UDim2.fromScale(0.5,0.5)
  946. e.AlwaysOnTop = true
  947. e.Name = "nein"
  948. end
  949. end
  950. end
  951. end)
  952. task.wait()
  953. until not ImageESP.Enabled
  954. end)
  955.  
  956. else
  957. pcall(function()
  958. for i,v in pairs(Players:GetPlayers()) do
  959. if (v.Character.PrimaryPart:FindFirstChild("nein")) then
  960. if v ~= LocalPlayer then
  961. v.Character.PrimaryPart:FindFirstChild("nein"):Destroy()
  962. end
  963. end
  964. end
  965. end)
  966. end
  967. end,
  968. })
  969. ImageESPStyle = ImageESP.NewPicker({
  970. Name = "Style",
  971. Options = stylesofskybox
  972. })
  973.  
  974. local infFlyPart
  975. InfiniteFly = Motion.NewButton({
  976. Name = "InfiniteFly",
  977. Function = function(callback)
  978. if callback then
  979. infFlyPart = Instance.new("Part",workspace)
  980. infFlyPart.Anchored = true
  981. infFlyPart.CanCollide = false
  982. infFlyPart.CFrame = PrimaryPart.CFrame
  983. infFlyPart.Size = Vector3.new(.5 ,.5, .5)
  984. infFlyPart.Transparency = 1
  985. PrimaryPart.CFrame += Vector3.new(0,10000,0)
  986. CurrentCamera.CameraSubject = infFlyPart
  987. repeat task.wait()
  988. if PrimaryPart.Position.Y < infFlyPart.Position.Y then
  989. PrimaryPart.CFrame += Vector3.new(0,10000,0)
  990. end
  991.  
  992. if UserInputService:IsKeyDown(Enum.KeyCode.Space) then
  993. infFlyPart.CFrame += Vector3.new(0,0.45,0)
  994. end
  995. if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
  996. infFlyPart.CFrame += Vector3.new(0,-0.45,0)
  997. end
  998.  
  999. infFlyPart.CFrame = CFrame.new(PrimaryPart.CFrame.X,infFlyPart.CFrame.Y,PrimaryPart.CFrame.Z)
  1000. until not InfiniteFly.Enabled
  1001.  
  1002. else
  1003. pcall(function()
  1004.  
  1005. for i = 1,10 do task.wait(0.01)
  1006. PrimaryPart.Velocity = Vector3.new(0,0,0)
  1007. PrimaryPart.CFrame = infFlyPart.CFrame
  1008. end
  1009.  
  1010. infFlyPart:Remove()
  1011. end)
  1012.  
  1013. CurrentCamera.CameraSubject = Character
  1014. end
  1015. end,
  1016. })
  1017.  
  1018. local ViewmodelConnection
  1019. Viewmodel = Visuals.NewButton({
  1020. Name = "Viewmodel",
  1021. Function = function(callback)
  1022. if callback then
  1023. ViewmodelConnection = workspace.CurrentCamera.Viewmodel.ChildAdded:Connect(function(child)
  1024. if child:IsA("Accessory") then
  1025. task.spawn(function()
  1026. repeat task.wait() until child:FindFirstChild("Handle")
  1027. for i,v in pairs(child:GetDescendants()) do
  1028. v.Size /= 1.5
  1029. end
  1030. end)
  1031. end
  1032. end)
  1033. else
  1034. pcall(function()
  1035. ViewmodelConnection:Disconnect()
  1036. end)
  1037. end
  1038. end,
  1039. })
  1040.  
  1041. local HUDScreen = Instance.new("ScreenGui",PlayerGui)
  1042. HUDScreen.ResetOnSpawn = false
  1043.  
  1044. local HUDS = {}
  1045.  
  1046. HUDS[1] = function()
  1047. local text = "Polaris V2"
  1048. local id = "http://www.roblox.com/asset/?id=7498352732"
  1049. local lplr = game.Players.LocalPlayer
  1050. local label = Instance.new("TextLabel",HUDScreen)
  1051. label.Text = text
  1052. label.BackgroundColor3 = Color3.fromRGB(0,0,0)
  1053. label.BorderSizePixel = 0
  1054. label.TextColor3 = Color3.fromRGB(255,255,255)
  1055. label.BackgroundTransparency = 1
  1056. label.Size = UDim2.fromScale(0.075,0.035)
  1057. label.Position = UDim2.fromScale(0,0)
  1058. label.TextSize = 12
  1059. label.Name = "Logo"
  1060. local glow = Instance.new("ImageLabel",label)
  1061. glow.Size = UDim2.fromScale(1.8,1.5)
  1062. glow.Position = UDim2.fromScale(-0.35,-0.2)
  1063. glow.Image = id
  1064. glow.ImageTransparency = 0.5
  1065. glow.BackgroundTransparency = 1
  1066. glow.ImageColor3 = Color3.fromRGB(0,0,0)
  1067. glow.ZIndex = -10
  1068. end
  1069. HUDS[2] = function()
  1070. local text = "Polaris"
  1071.  
  1072. local frame = Instance.new("TextLabel",HUDScreen)
  1073. frame.Size = UDim2.fromScale(0.17,0.04)
  1074. frame.Position = UDim2.fromScale(0.02,0)
  1075. frame.BorderSizePixel = 0
  1076. frame.BackgroundColor3 = Color3.fromRGB(30,30,30)
  1077. frame.Text = text .. " | Build "..PolarisRelease
  1078. frame.TextColor3 = Color3.fromRGB(255,255,255)
  1079. frame.Size = UDim2.fromScale(0.1,0.035)
  1080. frame.TextSize = 12
  1081. frame.Name = "Logo"
  1082. local frameTop = Instance.new("Frame",frame)
  1083. frameTop.Size = UDim2.fromScale(1,0.08)
  1084. frameTop.BorderSizePixel = 0
  1085. frameTop.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1086. end
  1087.  
  1088. HUD = Visuals.NewButton({
  1089. Name = "HUD",
  1090. Function = function(callback)
  1091. if callback then
  1092. task.spawn(function()
  1093. task.wait(0.5)
  1094. HUDScreen = Instance.new("ScreenGui",PlayerGui)
  1095. HUDScreen.ResetOnSpawn = false
  1096. if HUDStyle.Option == "Polaris 1" then
  1097. HUDS[1]()
  1098. elseif HUDStyle.Option == "Polaris 2" then
  1099. HUDS[2]()
  1100. end
  1101. library.Array.SortMode = ArraySortStyle.Option
  1102. library.Array.BackgroundTransparency = 0.3
  1103. library.Array.TextTransparency = 0
  1104. refreshArray()
  1105. end)
  1106. else
  1107. pcall(function()
  1108. HUDScreen:Remove()
  1109. end)
  1110. end
  1111. end,
  1112. })
  1113. HUDStyle = HUD.NewPicker({
  1114. Name = "Logo Style",
  1115. Options = {"Polaris 1", "Polaris 2"}
  1116. })
  1117. ArrayStyle = HUD.NewPicker({
  1118. Name = "Array Style",
  1119. Options = {"Normal", "Gay","Space"}
  1120. })
  1121.  
  1122. task.spawn(function()
  1123. repeat
  1124. task.wait()
  1125.  
  1126. for i = 1, #arrayItems, 10 do
  1127. local endIndex = math.min(i + 9, #arrayItems)
  1128. for j = i, endIndex do
  1129. local v = arrayItems[j]
  1130. if ArrayStyle.Option == "Normal" then
  1131. v.TextColor3 = Color3.fromRGB(255, 255, 255)
  1132. end
  1133.  
  1134. if ArrayStyle.Option == "Gay" then
  1135. local red = math.floor(math.sin(j / 10) * 127 + 128)
  1136. local green = math.floor(math.sin(j / 10 + 2) * 127 + 128)
  1137. local blue = math.floor(math.sin(j / 10 + 4) * 127 + 128)
  1138. v.TextColor3 = Color3.fromRGB(red, green, blue)
  1139. end
  1140.  
  1141. if ArrayStyle.Option == "Space" then
  1142. local red = math.floor(math.sin(j / 10) * 127 + 128)
  1143. local blue = math.floor(math.sin(j / 10 + 2) * 127 + 128)
  1144. v.TextColor3 = Color3.fromRGB(red, 0, blue)
  1145. end
  1146. end
  1147. end
  1148. until false
  1149. end)
  1150.  
  1151.  
  1152. ArraySortStyle = HUD.NewPicker({
  1153. Name = "Sort Style",
  1154. Options = {"TextLength","ReverseTextLength", "None"}
  1155. })
  1156. ArrayBlur = HUD.NewToggle({
  1157. Name = "ArrayBlur",
  1158. Function = function(v)
  1159. library.Array.BlurEnabled = v
  1160. end
  1161. })
  1162. ArrayBackground = HUD.NewToggle({
  1163. Name = "ArrayBackground",
  1164. Function = function(v)
  1165. library.Array.Background = v
  1166. for i = 1, 2 do
  1167. refreshArray()
  1168. task.wait()
  1169. end
  1170. end
  1171. })
  1172.  
  1173. ArrayRounded = HUD.NewToggle({
  1174. Name = "ArrayRounded",
  1175. Function = function(v)
  1176. library.Array.Rounded = v
  1177. for i = 1, 2 do
  1178. refreshArray()
  1179. task.wait()
  1180. end
  1181. end
  1182. })
  1183. local flycon
  1184. Fly = Motion.NewButton({
  1185. Name = "Fly",
  1186. Keybind = Enum.KeyCode.R,
  1187. Function = function(callback)
  1188. if callback then
  1189. flycon = RunService.Heartbeat:Connect(function()
  1190. local velo = PrimaryPart.Velocity
  1191. PrimaryPart.Velocity = Vector3.new(velo.X, 2.04, velo.Z)
  1192.  
  1193. if UserInputService:IsKeyDown("Space") then
  1194. PrimaryPart.Velocity = Vector3.new(velo.X, 44, velo.Z)
  1195. end
  1196. if UserInputService:IsKeyDown("LeftShift") then
  1197. PrimaryPart.Velocity = Vector3.new(velo.X, -44, velo.Z)
  1198. end
  1199. end)
  1200. else
  1201. pcall(function()
  1202. flycon:Disconnect()
  1203. end)
  1204. end
  1205. end,
  1206. })
  1207.  
  1208. local strafecon
  1209. Strafe = Motion.NewButton({
  1210. Name = "Strafe",
  1211. Function = function(callback)
  1212. if callback then
  1213. strafecon = RunService.Heartbeat:Connect(function()
  1214. local dir = Humanoid.MoveDirection
  1215. local speed = Humanoid.WalkSpeed
  1216.  
  1217. PrimaryPart.Velocity = Vector3.new((dir * speed).X,PrimaryPart.Velocity.Y,(dir * speed).Z)
  1218. end)
  1219. else
  1220. pcall(function()
  1221. strafecon:Disconnect()
  1222. end)
  1223. end
  1224. end,
  1225. })
  1226.  
  1227. local fpscon
  1228. local fpscount = 0
  1229. local statsxd
  1230. LevelInfo = Visuals.NewButton({
  1231. Name = "LevelInfo",
  1232. Function = function(callback)
  1233. if callback then
  1234. statsxd = Instance.new("TextLabel", ScreenGui)
  1235. statsxd.Position = UDim2.fromScale(0, 0.6)
  1236. statsxd.Size = UDim2.fromScale(0.2, 0.3)
  1237. statsxd.BackgroundTransparency = 1
  1238. statsxd.TextColor3 = Color3.fromRGB(255,255,255)
  1239. statsxd.TextSize = 11
  1240. statsxd.Name = "Stats"
  1241. fpscon = RunService.Heartbeat:Connect(function()
  1242. fpscount += 1
  1243. end)
  1244. task.spawn(function()
  1245. task.wait(.05)
  1246. repeat
  1247. task.wait(1)
  1248. fpscount = 0
  1249. until false
  1250. end)
  1251. task.spawn(function()
  1252. repeat
  1253. statsxd.Text = "FPS: "..tostring(fpscount).. " \n \n Username: "..LocalPlayer.DisplayName.. " \n \n Polaris User: "..Polaris_user.. " \n \n Network: Bedwars.com \n \n Game: Bedwars \n \n Hurttime: "..hurttime
  1254. task.wait(1)
  1255. until false
  1256. end)
  1257. else
  1258. pcall(function()
  1259. fpscon:Disconnect()
  1260. statsxd:Remove()
  1261. end)
  1262. end
  1263. end,
  1264. })
  1265.  
  1266. airTime = 0
  1267.  
  1268. spawn(function()
  1269. repeat
  1270. if utils.onGround() then
  1271. airTime = 0
  1272. else
  1273. airTime +=1
  1274. end
  1275. task.wait()
  1276. until false
  1277. end)
  1278.  
  1279. local speedcon
  1280. local tickxd = 0
  1281. Speed = Motion.NewButton({
  1282. Name = "Speed",
  1283. Function = function(callback)
  1284. if callback then
  1285. repeat
  1286. tickxd += 1
  1287. local dir = Humanoid.MoveDirection
  1288. local velo = PrimaryPart.Velocity
  1289. local speed = 0.3
  1290.  
  1291. if SpeedMode.Option == "Bedwars" then
  1292. speed = Character:GetAttribute("SpeedBoost") and 0.1 or 0.017
  1293. PrimaryPart.CFrame += (speed * dir)
  1294. end
  1295. task.wait()
  1296. until not Speed.Enabled
  1297. else
  1298. Humanoid.WalkSpeed = 16
  1299. end
  1300. end,
  1301. })
  1302. SpeedMode = Speed.NewPicker({
  1303. Name = "Mode",
  1304. Options = {"Bedwars"}
  1305. })
  1306.  
  1307. NoSlowDown = Motion.NewButton({
  1308. Name = "NoSlowDown",
  1309. Function = function(callback)
  1310. if callback then
  1311. repeat task.wait()
  1312. Humanoid.WalkSpeed = 20
  1313. until not NoSlowDown.Enabled
  1314. end
  1315. end,
  1316. })
  1317.  
  1318. Phase = Player.NewButton({
  1319. Name = "Phase",
  1320. Function = function(callback)
  1321. if callback then
  1322. if PhaseMode.Option == "BedwarsAuto" then
  1323. task.delay(2.5, function()
  1324. PrimaryPart.CFrame -= Vector3.new(0, 10, 0)
  1325. end)
  1326. end
  1327. end
  1328. end,
  1329. })
  1330. PhaseMode = Phase.NewPicker({
  1331. Name = "Mode",
  1332. Options = {"BedwarsAuto"}
  1333. })
  1334.  
  1335. local AirJumpCon
  1336. AirJump = Motion.NewButton({
  1337. Name = "AirJump",
  1338. Function = function(callback)
  1339. if callback then
  1340. AirJumpCon = UserInputService.InputBegan:Connect(function(k, g)
  1341. if g then return end
  1342. if k == nil then return end
  1343. if InfiniteFly.Enabled then return end
  1344. if k.KeyCode == Enum.KeyCode.Space then
  1345. Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  1346. end
  1347. end)
  1348. else
  1349. pcall(function()
  1350. AirJumpCon:Disconnect()
  1351. end)
  1352. end
  1353. end,
  1354. })
  1355.  
  1356. Spider = Motion.NewButton({
  1357. Name = "Spider",
  1358. Function = function(callback)
  1359. if callback then
  1360. repeat
  1361. local raycastxd = Utilities.newRaycast(PrimaryPart.Position,Humanoid.MoveDirection * 2)
  1362. local velo = PrimaryPart.Velocity
  1363.  
  1364. if raycastxd and not UserInputService:IsKeyDown("S") then
  1365. PrimaryPart.Velocity = Vector3.new(velo.X, 44, velo.Z)
  1366. end
  1367.  
  1368. task.wait()
  1369. until not Spider.Enabled
  1370. end
  1371. end,
  1372. })
  1373.  
  1374. local JumpCirclesCon
  1375. JumpPlates = Visuals.NewButton({
  1376. Name = "JumpPlates",
  1377. Function = function(callback)
  1378. if callback then
  1379. task.spawn(function()
  1380. repeat task.wait()
  1381. local state = Humanoid:GetState()
  1382.  
  1383. if state == Enum.HumanoidStateType.Jumping then
  1384. local plate = Instance.new("Part",workspace)
  1385. plate.Anchored = true
  1386. plate.CanCollide = false
  1387. plate.CastShadow = false
  1388. plate.Size = Vector3.new(0,0,0)
  1389. plate.CFrame = PrimaryPart.CFrame
  1390. plate.Material = Enum.Material.Neon
  1391. plate.Color = library.Color
  1392.  
  1393. game.TweenService:Create(plate,TweenInfo.new(0.6),{
  1394. Size = Vector3.new(4,1,4),
  1395. CFrame = plate.CFrame - Vector3.new(0,2,0),
  1396. Transparency = 1
  1397. }):Play()
  1398.  
  1399. game.Debris:AddItem(plate,0.6)
  1400. end
  1401. until not JumpPlates.Enabled
  1402. end)
  1403. end
  1404. end,
  1405. })
  1406.  
  1407. local lastpos
  1408. Antifall = Misc.NewButton({
  1409. Name = "Antifall",
  1410. Function = function(callback)
  1411. if callback then
  1412. repeat
  1413. if PrimaryPart.CFrame.Y < 0 then
  1414. for i = 1, 15 do
  1415. task.wait()
  1416. PrimaryPart.CFrame += Vector3.new(0, 1, 0)
  1417. PrimaryPart.Velocity = Vector3.new(10, -50, 10)
  1418. end
  1419. PrimaryPart.CFrame = lastPosOnGround
  1420. end
  1421. task.wait()
  1422. until not Antifall.Enabled
  1423. end
  1424. end,
  1425. })
  1426.  
  1427. local nofallremote = getRemote("GroundHit")
  1428. Nofall = Misc.NewButton({
  1429. Name = "Nofall",
  1430. Function = function(callback)
  1431. if callback then
  1432. repeat
  1433. nofallremote:FireServer()
  1434. task.wait(0.5)
  1435. until not Nofall.Enabled
  1436. end
  1437. end,
  1438. })
  1439.  
  1440. local lastHP = 100
  1441. DamageBoost = Motion.NewButton({
  1442. Name = "DamageBoost",
  1443. Function = function(callback)
  1444. if callback then
  1445. repeat
  1446.  
  1447. if (hurttime <= 50) then
  1448. PrimaryPart.CFrame += Humanoid.MoveDirection * 0.33
  1449. end
  1450.  
  1451. lastHP = Humanoid.Health
  1452. task.wait()
  1453. until not DamageBoost.Enabled
  1454. end
  1455. end,
  1456. })
  1457.  
  1458. local lastHPHurt = 100
  1459. task.spawn(function()
  1460. repeat task.wait()
  1461. if (Humanoid.Health < lastHPHurt) then
  1462. hurttime = 0
  1463. end
  1464.  
  1465. lastHPHurt = Humanoid.Health
  1466. hurttime += 1
  1467. until false
  1468. end)
  1469.  
  1470. local chests = {}
  1471. for i,v in pairs(workspace:GetChildren()) do
  1472. if v.Name == "chest" then
  1473. table.insert(chests,v)
  1474. end
  1475. end
  1476. Stealer = Player.NewButton({
  1477. Name = "Stealer",
  1478. Function = function(callback)
  1479. if callback then
  1480. task.spawn(function()
  1481. repeat task.wait()
  1482. task.wait(0.15)
  1483. task.spawn(function()
  1484. for i, v in pairs(chests) do
  1485. local Magnitude = (v.Position - PrimaryPart.Position).Magnitude
  1486. if Magnitude <= 30 then
  1487. for _, item in pairs(v.ChestFolderValue.Value:GetChildren()) do
  1488. if item:IsA("Accessory") then
  1489. task.wait()
  1490. game:GetService("ReplicatedStorage"):WaitForChild("rbxts_include"):WaitForChild("node_modules"):FindFirstChild("@rbxts").net.out._NetManaged:FindFirstChild("Inventory/ChestGetItem"):InvokeServer(v.ChestFolderValue.Value, item)
  1491. end
  1492. end
  1493. end
  1494. end
  1495. end)
  1496. until (not Stealer.Enabled)
  1497. end)
  1498. end
  1499. end,
  1500. })
  1501.  
  1502. local ProjectileFire = getRemote("ProjectileFire")
  1503. local function shoot(bow, pos)
  1504. local args = {}
  1505. local shootFormulaStart = pos + Vector3.new(0,2,0)
  1506. local shootFormulaDirection = Vector3.new(0,-100,0)
  1507. args = {
  1508. [1] = bow,
  1509. [2] = bow.Name,
  1510. [3] = bow.Name,
  1511. [4] = pos,
  1512. [5] = shootFormulaStart,
  1513. [6] = Vector3.new(0,-5,0),
  1514. [7] = tostring(game:GetService("HttpService"):GenerateGUID(true)),
  1515. [8] = {
  1516. ["drawDurationSeconds"] = 1,
  1517. ["shotId"] = tostring(game:GetService("HttpService"):GenerateGUID(false))
  1518. },
  1519. [9] = workspace:GetServerTimeNow() - 0.045
  1520. }
  1521. ProjectileFire:InvokeServer(unpack(args))
  1522. end
  1523.  
  1524. local function getAllBows()
  1525. local bows = {}
  1526. for i,v in pairs(inventory:GetChildren()) do
  1527. if v.Name:find("bow") or v.Name:find("fireball") or v.Name:find("snowball") then
  1528. table.insert(bows,v)
  1529. end
  1530. end
  1531. return bows
  1532. end
  1533.  
  1534. Projectileaura = Combat.NewButton({
  1535. Name = "Projectileaura",
  1536. Function = function(callback)
  1537. if callback then
  1538. task.spawn(function()
  1539. swingAnim = Instance.new("Animation")
  1540. swingAnim.AnimationId = funAnimations.SWORD_SWING
  1541. local track = Humanoid.Animator:LoadAnimation(swingAnim)
  1542. repeat
  1543. local target = getNearestPlayer(9e9)
  1544. local rangeCheck = getNearestPlayer(22)
  1545. local entity = target
  1546. if target and rangeCheck == nil then
  1547. local bows = getAllBows()
  1548. for i,v in pairs(bows) do
  1549. spoofHand(v.Name)
  1550. task.wait(.06)
  1551. if v.Name == "fireball" or v.Name == "snowball" and not AllProjectiles.Enabled then
  1552. continue
  1553. end
  1554. shoot(v,target.Character.PrimaryPart.Position)
  1555. track:Play()
  1556. end
  1557. end
  1558. task.wait()
  1559. until (not Projectileaura.Enabled)
  1560. end)
  1561. end
  1562. end,
  1563. })
  1564. AllProjectiles = Projectileaura.NewToggle({
  1565. Name = "AllProjectiles",
  1566. Function = function() end
  1567. })
  1568.  
  1569. local ConsumeRemote = getRemote("ConsumeItem")
  1570. AutoPot = Player.NewButton({
  1571. ["Name"] = "AutoPot",
  1572. Function = function(callback)
  1573. if callback then
  1574. task.spawn(function()
  1575. repeat task.wait()
  1576. if hasItem("speed_potion") then
  1577. ConsumeRemote:InvokeServer({
  1578. ["item"] = inventory:WaitForChild("speed_potion")
  1579. })
  1580. end
  1581. if hasItem("pie") then
  1582. ConsumeRemote:InvokeServer({
  1583. ["item"] = inventory:WaitForChild("pie")
  1584. })
  1585. end
  1586. until (not AutoPot.Enabled)
  1587. end)
  1588. end
  1589. end
  1590. })
  1591.  
  1592. --[[local sprintController = getController("SprintController")
  1593. Sprint = Player.NewButton({
  1594. ["Name"] = "Sprint",
  1595. Function = function(callback)
  1596. if callback then
  1597. task.spawn(function()
  1598. repeat task.wait()
  1599. pcall(function()
  1600. sprintController:startSprinting()
  1601. end)
  1602. until (not Sprint.Enabled)
  1603. end)
  1604. end
  1605. end
  1606. })]]
  1607.  
  1608. --[[local knockbackHandler = debug.getupvalue(require(game:GetService("ReplicatedStorage").TS.damage["knockback-util"]).KnockbackUtil.calculateKnockbackVelocity, 1)
  1609. local oldKb = knockbackHandler.kbUpwardStrength
  1610. Velocity = Combat.NewButton({
  1611. Name = "Velocity",
  1612. Function = function(callback)
  1613. if callback then
  1614. knockbackHandler.kbUpwardStrength = 0
  1615. knockbackHandler.kbDirectionStrength = 0
  1616. else
  1617. knockbackHandler.kbUpwardStrength = oldKb
  1618. knockbackHandler.kbDirectionStrength = oldKb
  1619. end
  1620. end,
  1621. })]]
  1622.  
  1623. local oldsky = {
  1624. amb = Lighting.Ambient,
  1625. outdooramb = Lighting.OutdoorAmbient,
  1626. }
  1627. local AmbienceTable = {
  1628. Purple = Color3.fromRGB(100, 0, 255),
  1629. Blue = Color3.fromRGB(0, 20, 255),
  1630. Green = Color3.fromRGB(0, 255, 30),
  1631. Yellow = Color3.fromRGB(255, 255, 0),
  1632. Orange = Color3.fromRGB(255, 140, 25),
  1633. Red = Color3.fromRGB(255, 0, 0),
  1634. Brown = Color3.fromRGB(120, 40, 15),
  1635. }
  1636. local ambtableoption = {}
  1637. for i,v in pairs(AmbienceTable) do
  1638. table.insert(ambtableoption, i)
  1639. end
  1640. local dayTime = Lighting.TimeOfDay
  1641. Ambience = Visuals.NewButton({
  1642. Name = "Ambience",
  1643. Function = function(callback)
  1644. if callback then
  1645. repeat
  1646. Lighting.Ambient = AmbienceTable[AmbienceStyle.Option]
  1647. Lighting.OutdoorAmbient = AmbienceTable[AmbienceStyle.Option]
  1648.  
  1649. Lighting.TimeOfDay = (AmbienceTime.Option == "Day" and dayTime or "24:00:00")
  1650. task.wait()
  1651. until not Ambience.Enabled
  1652. else
  1653. Lighting.TimeOfDay = dayTime
  1654. Lighting.Ambient = oldsky.amb
  1655. Lighting.OutdoorAmbient = oldsky.outdooramb
  1656. end
  1657. end,
  1658. })
  1659. AmbienceStyle = Ambience.NewPicker({
  1660. Name = "Style",
  1661. Options = ambtableoption
  1662. })
  1663. AmbienceTime = Ambience.NewPicker({
  1664. Name = "Time",
  1665. Options = {"Day", "Night"}
  1666. })
  1667.  
  1668. local function placeBlock(pos,block)
  1669. local blockenginemanaged = ReplicatedStorage.rbxts_include.node_modules:WaitForChild("@easy-games"):WaitForChild("block-engine").node_modules:WaitForChild("@rbxts").net.out:WaitForChild("_NetManaged")
  1670. blockenginemanaged.PlaceBlock:InvokeServer({
  1671. ['blockType'] = block,
  1672. ['position'] = Vector3.new(pos.X / 3,pos.Y / 3,pos.Z / 3),
  1673. ['blockData'] = 0
  1674. })
  1675. end
  1676.  
  1677. local function getWool()
  1678. for i,v in pairs(inventory:GetChildren()) do if v.Name:lower():find("wool") then return v.Name end end
  1679. end
  1680.  
  1681. local scaffoldRun
  1682. Scaffold = Misc.NewButton({
  1683. ["Name"] = "Scaffold",
  1684. ["Function"] = function(callback)
  1685. if callback then
  1686. scaffoldRun = RunService.Heartbeat:Connect(function()
  1687. local block = getWool()
  1688. if game.UserInputService:IsKeyDown(Enum.KeyCode.Space) then
  1689. local velo = PrimaryPart.Velocity
  1690. if ScaffoldMode3.Option == "Slow" then
  1691. PrimaryPart.Velocity = Vector3.new(velo.X,15,velo.Z)
  1692. for i = 1, 8 do
  1693. placeBlock((PrimaryPart.CFrame + PrimaryPart.CFrame.LookVector * 1) - Vector3.new(0,i + 4.5,0),block)
  1694. placeBlock((PrimaryPart.CFrame + PrimaryPart.CFrame.LookVector) - Vector3.new(0,i + 4.5,0),block)
  1695. task.wait()
  1696. end
  1697. end
  1698. if ScaffoldMode3.Option == "Normal" then
  1699. PrimaryPart.Velocity = Vector3.new(velo.X,30,velo.Z)
  1700. for i = 1, 8 do
  1701. placeBlock((PrimaryPart.CFrame + PrimaryPart.CFrame.LookVector * 1) - Vector3.new(0,i + 4.5,0),block)
  1702. placeBlock((PrimaryPart.CFrame + PrimaryPart.CFrame.LookVector) - Vector3.new(0,i + 4.5,0),block)
  1703. task.wait()
  1704. end
  1705. end
  1706. if ScaffoldMode3.Option == "Fast" then
  1707. PrimaryPart.Velocity = Vector3.new(velo.X,50,velo.Z)
  1708. for i = 1, 8 do
  1709. placeBlock((PrimaryPart.CFrame + PrimaryPart.CFrame.LookVector * 1) - Vector3.new(0,i + 4.5,0),block)
  1710. placeBlock((PrimaryPart.CFrame + PrimaryPart.CFrame.LookVector) - Vector3.new(0,i + 4.5,0),block)
  1711. task.wait()
  1712. end
  1713. end
  1714. end
  1715. if ScaffoldMode1.Option == "Normal" then
  1716. if not Scaffold.Enabled then return end
  1717. placeBlock((PrimaryPart.CFrame + PrimaryPart.CFrame.LookVector * 1) - Vector3.new(0,4.5,0),block)
  1718. end
  1719. if ScaffoldMode1.Option == "Expand" then
  1720. for i = 1, 8 do
  1721. if not Scaffold.Enabled then return end
  1722. placeBlock((PrimaryPart.CFrame + PrimaryPart.CFrame.LookVector * i) - Vector3.new(0,4.5,0),block)
  1723. task.wait()
  1724. end
  1725. end
  1726. end)
  1727. else
  1728. scaffoldRun:Disconnect()
  1729. end
  1730. end,
  1731. })
  1732. ScaffoldMode1 = Scaffold.NewPicker({
  1733. Name = "Place Mode",
  1734. Options = {"Normal", "Expand"}
  1735. })
  1736. ScaffoldMode3 = Scaffold.NewPicker({
  1737. Name = "Tower Mode",
  1738. Options = {"Slow", "Normal", "Fast", "None"}
  1739. })
  1740. TowerExpand = Scaffold.NewToggle({
  1741. Name = "Tower Expand",
  1742. Function = function() end
  1743. })
  1744.  
  1745. local newfire
  1746. local newsparkles
  1747. Playereffects = Visuals.NewButton({
  1748. Name = "Playereffects",
  1749. Function = function(callback)
  1750. if callback then
  1751. task.wait(1)
  1752. if EffectsStyle.Option == "Fire" then
  1753. newfire = Instance.new("Fire", PrimaryPart)
  1754. newfire.Size = 5.5
  1755. newfire.Heat = 5
  1756. newfire.TimeScale = 1
  1757. newfire.Color = library.Color
  1758. newfire.Enabled = true
  1759. newfire.SecondaryColor = Color3.fromRGB(50,50,50)
  1760. end
  1761.  
  1762. if EffectsStyle.Option == "Sparkles" then
  1763. newsparkles = Instance.new("Sparkles", PrimaryPart)
  1764. newsparkles.TimeScale = 1
  1765. newsparkles.SparkleColor = library.Color
  1766. newsparkles.Enabled = true
  1767. end
  1768.  
  1769. else
  1770. pcall(function()
  1771. newfire:Remove()
  1772. end)
  1773. pcall(function()
  1774. newsparkles:Remove()
  1775. end)
  1776. end
  1777. end,
  1778. })
  1779. EffectsStyle = Playereffects.NewPicker({
  1780. Name = "Style",
  1781. Options = {"Fire", "Sparkles"}
  1782. })
  1783.  
  1784. local invisMethod2 = {
  1785. ["1"] = "rbxassetid://11335949902",
  1786. ["2"] = "rbxassetid://11360825341"
  1787. }
  1788.  
  1789. local InvisConnection
  1790. InvisibleExploit = Exploit.NewButton({
  1791. Name = "InvisibleExploit",
  1792. Function = function(callback)
  1793. local track
  1794. local theanimmethod
  1795.  
  1796. if callback then
  1797. theanimmethod = Instance.new("Animation")
  1798. theanimmethod.AnimationId = invisMethod2[InvisMethod.Option]
  1799. track = Humanoid.Animator:LoadAnimation(theanimmethod)
  1800.  
  1801. InvisConnection = game:GetService("RunService").Heartbeat:Connect(function()
  1802. track:Play()
  1803. end)
  1804. else
  1805. pcall(function()
  1806. InvisConnection:Disconnect()
  1807. end)
  1808. pcall(function()
  1809. if track then
  1810. track:Stop()
  1811. track:Destroy()
  1812. end
  1813. if theanimmethod then
  1814. theanimmethod:Destroy()
  1815. end
  1816. end)
  1817. end
  1818. end,
  1819. })
  1820. InvisMethod = InvisibleExploit.NewPicker({
  1821. Name = "Method",
  1822. Options = {"1", "2"}
  1823. })
  1824.  
  1825. GameFixer = Legit.NewButton({
  1826. Name = "GameFixer",
  1827. Function = function(callback)
  1828. if callback then
  1829. debug.setconstant(bedwars.SwordController.swingSwordAtMouse, 23, callback and 'raycast' or 'Raycast')
  1830. debug.setupvalue(bedwars.SwordController.swingSwordAtMouse, 4, callback and bedwars.QueryUtil or workspace)
  1831. end
  1832. end
  1833. })
  1834.  
  1835. AntiHit = Combat.NewButton({
  1836. Name = "AntiHit",
  1837. Function = function(callback)
  1838. if callback then
  1839. local lastHit = tick()
  1840. repeat
  1841. local nearest = getNearestPlayer(12)
  1842. if (hurttime <= 50) and nearest then
  1843. if (AntiHitSafe.Enabled and tick() - lastHit > 0.4) then
  1844. PrimaryPart.CFrame = nearest.Character.PrimaryPart.CFrame + nearest.Character.PrimaryPart.CFrame.LookVector * -6 + Vector3.new(0,3,0)
  1845. lastHit = tick()
  1846. else
  1847. PrimaryPart.CFrame = nearest.Character.PrimaryPart.CFrame + nearest.Character.PrimaryPart.CFrame.LookVector * -6 + Vector3.new(0,3,0)
  1848. end
  1849. end
  1850. lastHP = Humanoid.Health
  1851. task.wait()
  1852. until not DamageBoost.Enabled
  1853. end
  1854. end,
  1855. })
  1856. AntiHitSafe = AntiHit.NewToggle({
  1857. Name = "Safe",
  1858. Function = function() end
  1859. })
  1860.  
  1861. local function getGroupRank(plr:Player)
  1862. return plr:GetRankInGroup(5774246)
  1863. end
  1864.  
  1865. local AltDetectorcon
  1866. AltDetector = Player.NewButton({
  1867. Name = "AltDetector",
  1868. Function = function(callback)
  1869. if callback then
  1870. AltDetectorcon = game.Players.PlayerAdded:Connect(function(plr)
  1871. if plr.AccountAge < 16 then
  1872.  
  1873. end
  1874. end)
  1875. else
  1876. pcall(function()
  1877. AltDetectorcon:Disconnect()
  1878. end)
  1879. end
  1880. end,
  1881. })
  1882.  
  1883. HighJump = Motion.NewButton({
  1884. Name = "HighJump",
  1885. Function = function(callback)
  1886. if callback then
  1887. repeat
  1888. PrimaryPart.Velocity += Vector3.new(0, 6, 0)
  1889. task.wait(0.007)
  1890. until not HighJump.Enabled
  1891. else
  1892. PrimaryPart.Velocity = Vector3.new(0, 25, 0)
  1893. end
  1894. end,
  1895. })
  1896.  
  1897. local animtab = {
  1898. Size = function(newpart)
  1899. TweenService:Create(newpart, TweenInfo.new(1), {
  1900. Size = Vector3.new(0,0,0)
  1901. }):Play()
  1902. end,
  1903. YPos = function(newpart)
  1904. TweenService:Create(newpart, TweenInfo.new(1), {
  1905. CFrame = CFrame.new(newpart.CFrame.X,-10,newpart.CFrame.Z)
  1906. }):Play()
  1907. end,
  1908. Transparency = function(newpart)
  1909. TweenService:Create(newpart, TweenInfo.new(1), {
  1910. Transparency = 1
  1911. }):Play()
  1912. end
  1913. }
  1914. Trails = Visuals.NewButton({
  1915. Name = "Trails",
  1916. Function = function(callback)
  1917. if callback then
  1918. spawn(function()
  1919. repeat
  1920. spawn(function()
  1921. local newpart = Instance.new("Part", workspace)
  1922. newpart.Shape = Enum.PartType[TrailsPart.Option]
  1923. newpart.Material = Enum.Material[TrailsMaterial.Option]
  1924. newpart.Size = Vector3.new(.65,.65,.65)
  1925. newpart.Anchored = true
  1926. newpart.CanCollide = false
  1927. newpart.CFrame = PrimaryPart.CFrame
  1928. newpart.Rotation = PrimaryPart.Rotation
  1929. newpart.Color = library.Color
  1930. task.delay(1.5, function()
  1931. animtab[TrailsTweenMode.Option](newpart)
  1932. task.delay(1, function()
  1933. newpart:Remove()
  1934. end)
  1935. end)
  1936. end)
  1937. task.wait(.15)
  1938. until not Trails.Enabled
  1939. end)
  1940. end
  1941. end,
  1942. })
  1943. TrailsPart = Trails.NewPicker({
  1944. Name = "Trail Part",
  1945. Options = {"Ball", "Block", "Cylinder", "Wedge", "CornerWedge"},
  1946. Default = "Ball"
  1947. })
  1948. TrailsMaterial = Trails.NewPicker({
  1949. Name = "Trail Material",
  1950. Options = {"Neon", "Plastic", "SmoothPlastic", "DiamondPlate"},
  1951. Default = "Neon"
  1952. })
  1953. TrailsTweenMode = Trails.NewPicker({
  1954. Name = "Trail Delete",
  1955. Options = { "Size", "YPos", "Transparency"},
  1956. Default = "Size"
  1957. })
  1958.  
  1959. lastPosOnGround = PrimaryPart.CFrame
  1960.  
  1961. spawn(function()
  1962. repeat
  1963. if Utilities.onGround() then
  1964. lastPosOnGround = PrimaryPart.CFrame
  1965. end
  1966. task.wait()
  1967. until false
  1968. end)
  1969.  
  1970. local CameraModificationCon
  1971. local oldFOV = CurrentCamera.FieldOfView
  1972. Camera = Visuals.NewButton({
  1973. Name = "Camera",
  1974. Function = function(callback)
  1975. if callback then
  1976. CameraModificationCon = RunService.Heartbeat:Connect(function()
  1977. CurrentCamera.FieldOfView = 120
  1978. end)
  1979. else
  1980. CameraModificationCon:Disconnect()
  1981. CurrentCamera.FieldOfView = oldFOV
  1982. end
  1983. end,
  1984. })
  1985.  
  1986. LongJump = Motion.NewButton({
  1987. Name = "LongJump",
  1988. Keybind = Enum.KeyCode.J,
  1989. Function = function(callback)
  1990. if callback then
  1991. if LongJumpMethod.Option == "Boost" then
  1992. TweenService:Create(PrimaryPart, TweenInfo.new(0.75), {
  1993. CFrame = PrimaryPart.CFrame + PrimaryPart.CFrame.LookVector * 15
  1994. }):Play()
  1995. task.delay(0.75, function()
  1996. LongJump.ToggleButton(false)
  1997. end)
  1998. end
  1999. if LongJumpMethod.Option == "Gravity" then
  2000. workspace.Gravity = 5
  2001. task.delay(0.01, function()
  2002. Humanoid:ChangeState(3)
  2003. end)
  2004. end
  2005. else
  2006. workspace.Gravity = 196.2
  2007. end
  2008. end,
  2009. })
  2010. LongJumpMethod = LongJump.NewPicker({
  2011. Name = "Mode",
  2012. Options = {"Boost", "Gravity"}
  2013. })
  2014.  
  2015. TexturePack = Visuals.NewButton({
  2016. Name = "TexturePack",
  2017. Function = function(callback)
  2018. local func
  2019. if callback then
  2020. task.spawn(function()
  2021. local objs = game:GetObjects("rbxassetid://14033898270")
  2022. local import = objs[1]
  2023. import.Parent = ReplicatedStorage
  2024. local index = {
  2025. {
  2026. name = "wood_sword",
  2027. offset = CFrame.Angles(math.rad(0), math.rad(-100), math.rad(-90)),
  2028. model = import:WaitForChild("Wood_Sword"),
  2029. },
  2030. {
  2031. name = "stone_sword",
  2032. offset = CFrame.Angles(math.rad(0), math.rad(-100), math.rad(-90)),
  2033. model = import:WaitForChild("Stone_Sword"),
  2034. },
  2035. {
  2036. name = "iron_sword",
  2037. offset = CFrame.Angles(math.rad(0), math.rad(-100), math.rad(-90)),
  2038. model = import:WaitForChild("Iron_Sword"),
  2039. },
  2040. {
  2041. name = "diamond_sword",
  2042. offset = CFrame.Angles(math.rad(0), math.rad(-100), math.rad(-90)),
  2043. model = import:WaitForChild("Diamond_Sword"),
  2044. },
  2045. {
  2046. name = "emerald_sword",
  2047. offset = CFrame.Angles(math.rad(0), math.rad(-100), math.rad(-90)),
  2048. model = import:WaitForChild("Emerald_Sword"),
  2049. },
  2050. {
  2051. name = "wood_pickaxe",
  2052. offset = CFrame.Angles(math.rad(0), math.rad(-190), math.rad(-95)),
  2053. model = import:WaitForChild("Wood_Pickaxe"),
  2054. },
  2055. {
  2056. name = "stone_pickaxe",
  2057. offset = CFrame.Angles(math.rad(0), math.rad(-190), math.rad(-95)),
  2058. model = import:WaitForChild("Stone_Pickaxe"),
  2059. },
  2060. {
  2061. name = "iron_pickaxe",
  2062. offset = CFrame.Angles(math.rad(0), math.rad(-190), math.rad(-95)),
  2063. model = import:WaitForChild("Iron_Pickaxe"),
  2064. },
  2065. {
  2066. name = "diamond_pickaxe",
  2067. offset = CFrame.Angles(math.rad(0), math.rad(80), math.rad(-95)),
  2068. model = import:WaitForChild("Diamond_Pickaxe"),
  2069. },
  2070. {
  2071. name = "wood_axe",
  2072. offset = CFrame.Angles(math.rad(0), math.rad(-10), math.rad(-95)),
  2073. model = import:WaitForChild("Wood_Axe"),
  2074. },
  2075. {
  2076. name = "stone_axe",
  2077. offset = CFrame.Angles(math.rad(0), math.rad(-10), math.rad(-95)),
  2078. model = import:WaitForChild("Stone_Axe"),
  2079. },
  2080. {
  2081. name = "iron_axe",
  2082. offset = CFrame.Angles(math.rad(0), math.rad(-10), math.rad(-95)),
  2083. model = import:WaitForChild("Iron_Axe"),
  2084. },
  2085. {
  2086. name = "diamond_axe",
  2087. offset = CFrame.Angles(math.rad(0), math.rad(-90), math.rad(-95)),
  2088. model = import:WaitForChild("Diamond_Axe"),
  2089. },
  2090. {
  2091. name = "fireball",
  2092. offset = CFrame.Angles(math.rad(0), math.rad(-90), math.rad(90)),
  2093. model = import:WaitForChild("Fireball"),
  2094. },
  2095. {
  2096. name = "telepearl",
  2097. offset = CFrame.Angles(math.rad(0), math.rad(-90), math.rad(90)),
  2098. model = import:WaitForChild("Telepearl"),
  2099. },
  2100. }
  2101. func = CurrentCamera.Viewmodel.ChildAdded:Connect(function(tool)
  2102. if not tool:IsA("Accessory") then return end
  2103. for _, v in ipairs(index) do
  2104. if v.name == tool.Name then
  2105. for _, part in ipairs(tool:GetDescendants()) do
  2106. if part:IsA("BasePart") or part:IsA("MeshPart") or part:IsA("UnionOperation") then
  2107. part.Transparency = 1
  2108. end
  2109. end
  2110. local model = v.model:Clone()
  2111. model.CFrame = tool:WaitForChild("Handle").CFrame * v.offset
  2112. model.CFrame *= CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0))
  2113. model.Parent = tool
  2114. local weld = Instance.new("WeldConstraint", model)
  2115. weld.Part0 = model
  2116. weld.Part1 = tool:WaitForChild("Handle")
  2117. local tool2 = Players.LocalPlayer.Character:WaitForChild(tool.Name)
  2118. for _, part in ipairs(tool2:GetDescendants()) do
  2119. if part:IsA("BasePart") or part:IsA("MeshPart") or part:IsA("UnionOperation") then
  2120. part.Transparency = 1
  2121. end
  2122. end
  2123. local model2 = v.model:Clone()
  2124. model2.Anchored = false
  2125. model2.CFrame = tool2:WaitForChild("Handle").CFrame * v.offset
  2126. model2.CFrame *= CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0))
  2127. if v.name:match("sword") or v.name:match("blade") then
  2128. model2.CFrame *= CFrame.new(.5, 0, -1.1) - Vector3.new(0, 0, -.3)
  2129. elseif v.name:match("axe") and not v.name:match("pickaxe") and v.name:match("diamond") then
  2130. model2.CFrame *= CFrame.new(.08, 0, -1.1) - Vector3.new(0, 0, -.9)
  2131. elseif v.name:match("axe") and not v.name:match("pickaxe") and not v.name:match("diamond") then
  2132. model2.CFrame *= CFrame.new(-.2, 0, -2.4) + Vector3.new(0, 0, 2.12)
  2133. else
  2134. model2.CFrame *= CFrame.new(.2, 0, -.09)
  2135. end
  2136. model2.Parent = tool2
  2137. local weld2 = Instance.new("WeldConstraint", model)
  2138. weld2.Part0 = model2
  2139. weld2.Part1 = tool2:WaitForChild("Handle")
  2140. end
  2141. end
  2142. end)
  2143. end)
  2144. else
  2145. pcall(function()
  2146. func:Disconnect()
  2147. end)
  2148. end
  2149. end,
  2150. })
  2151. TxtpackMode = TexturePack.NewPicker({
  2152. Name = "Mode",
  2153. Options = {"64x"}
  2154. })
  2155.  
  2156. local chatMessages = {
  2157. "When life gives you lemons, get Polaris",
  2158. "I heard using Polaris lets you win every HVH",
  2159. "Get Polaris today",
  2160. "Polaris takes 5 seconds to use and it lets you win every match!",
  2161. "Polaris > Protosense",
  2162. "Learn some real fighting skills with Polaris today",
  2163. "I'm not cheating, just good at bridging.",
  2164. "Protosense is a logger, get polaris today",
  2165. }
  2166.  
  2167. Chatspammer = Misc.NewButton({
  2168. Name = "Chatspammer",
  2169. Function = function(callback)
  2170. if callback then
  2171. repeat
  2172. local newchat = chatMessages[math.random(1, #chatMessages)]
  2173. Utilities.newChat(newchat)
  2174. task.wait(3.5)
  2175. until not Chatspammer.Enabled
  2176. end
  2177. end,
  2178. })
  2179.  
  2180. FakeLagback = Legit.NewButton({
  2181. Name = "FakeLagback",
  2182. Function = function(callback)
  2183. if callback then
  2184. repeat
  2185. if PrimaryPart.CFrame.Y < 0 then
  2186. for i = 1, 15 do
  2187. task.wait()
  2188. PrimaryPart.CFrame += Vector3.new(0, 1, 0)
  2189. PrimaryPart.Velocity = Vector3.new(10, -50, 10)
  2190. end
  2191. PrimaryPart.CFrame = lastPosOnGround
  2192. end
  2193. task.wait()
  2194. until not FakeLagback.Enabled
  2195. end
  2196. end,
  2197. })
Advertisement
Add Comment
Please, Sign In to add comment