Advertisement
Gillranveer12

Bedwars Gui

Jan 10th, 2023 (edited)
996
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.20 KB | None | 0 0
  1. --loadstring(game:HttpGet("https://pastebin.com/raw/Z18yjtzg", true))()
  2. -- Made by me using Orion lib :)
  3. -- Use the loadstring at the top to make your life easier and always have the most up-to-date version.
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  16.  
  17.  
  18. local Window = OrionLib:MakeWindow({Name = "Roblox Hub|BedWars 🌟 [+ENCHANTS!]", HidePremium = false, Introtext = "Bedwars Hub" SaveConfig = true, ConfigFolder = "Bedwars"})
  19.  
  20. local GlobalToggle = true
  21. local HighJumpToggled = false
  22. local HighJumpHeight = 10
  23. local LongJumpToggled = false
  24. local LongJumpTimeBeforeSpeedReset = 0.25
  25. local LongJumpWalkSpeed = 57
  26. local LongJumpDuringSpeed = 23
  27. local LongJumpTimeBeforeEnd = 1.25
  28. local LongJumpGravity = 3
  29. local FlyEnabled = false
  30. local FlyTime = 1.5
  31. local FlyGravity = 0
  32. local FlyMaxSpeed = 76
  33. local FlyMinSpeed = 23.5
  34. local FlyLoops = 25
  35. local SpeedToggled = false
  36. local SpeedTimeBetweenBursts = 0.6
  37. local SpeedWalkSpeed = 87
  38. local SpeedLoops = 27
  39. local NoFallToggled = false
  40. local NoFallRemotesPerSecond = 2
  41. local NoClipAmount = 1
  42.  
  43. local HighJumpBind = Enum.KeyCode.X
  44. local LongJumpBind = Enum.KeyCode.Z
  45. local SpeedBind = Enum.KeyCode.V
  46. local NoFallBind
  47.  
  48. local function MakeNoti(name, text, time)
  49. OrionLib:MakeNotification({
  50. Name = name,
  51. Content = text,
  52. Image = "rbxassetid://4483345998",
  53. Time = time
  54. })
  55. end
  56.  
  57.  
  58.  
  59. local function HighJump ()
  60. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Velocity.X, HighJumpHeight * 10, game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Velocity.Z)
  61. end
  62.  
  63.  
  64. MakeNoti("Bedwars GUI booting up", "Bedwars GUI launched", 3)
  65.  
  66. local Movement = Window:MakeTab({
  67. Name = "Movement",
  68. Icon = "rbxassetid://4483345998",
  69. PremiumOnly = false
  70. })
  71.  
  72. local Anti = Window:MakeTab({
  73. Name = "Anti",
  74. Icon = "rbxassetid://4483345998",
  75. PremiumOnly = false
  76. })
  77.  
  78. local SpeedSec = Movement:AddSection({
  79. Name = "Speed"
  80. })
  81.  
  82. local HighJumpSec = Movement:AddSection({
  83. Name = "High Jump"
  84. })
  85.  
  86. local LongJumpSec = Movement:AddSection({
  87. Name = "Long Jump"
  88. })
  89.  
  90. local FlySec = Movement:AddSection({
  91. Name = "Fly"
  92. })
  93.  
  94. local NoClipSec = Movement:AddSection({
  95. Name = "No Clip"
  96. })
  97.  
  98. NoClipSec:AddBind({
  99. Name = "No Clip",
  100. Default = Enum.KeyCode.C,
  101. Hold = false,
  102. Callback = function(v)
  103. game.Players.LocalPlayer.Character:PivotTo(game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0, 0, -NoClipAmount))
  104. end
  105. })
  106.  
  107. NoClipSec:AddSlider({
  108. Name = "Studs",
  109. Min = 0,
  110. Max = 5,
  111. Default = SpeedWalkSpeed,
  112. Color = Color3.fromRGB(52, 123, 237),
  113. Increment = 0.01,
  114. ValueName = "Studs",
  115. Callback = function(Value)
  116. NoClipAmount = Value
  117. end
  118. })
  119.  
  120. SpeedSec:AddBind({
  121. Name = "Speed",
  122. Default = Enum.KeyCode.V,
  123. Hold = false,
  124. Callback = function(v)
  125. MakeNoti("Speed Toggled", "Speed Toggled", 3)
  126. SpeedToggled = not SpeedToggled
  127. end
  128. })
  129.  
  130. SpeedSec:AddSlider({
  131. Name = "Walk Speed",
  132. Min = 0,
  133. Max = 500,
  134. Default = SpeedWalkSpeed,
  135. Color = Color3.fromRGB(52, 123, 237),
  136. Increment = 1,
  137. ValueName = "Walk Speed",
  138. Callback = function(Value)
  139. SpeedWalkSpeed = Value
  140. end
  141. })
  142.  
  143. SpeedSec:AddSlider({
  144. Name = "Walk Speed",
  145. Min = 0,
  146. Max = 500,
  147. Default = SpeedWalkSpeed,
  148. Color = Color3.fromRGB(52, 123, 237),
  149. Increment = 1,
  150. ValueName = "Walk Speed",
  151. Callback = function(Value)
  152. SpeedWalkSpeed = Value
  153. end
  154. })
  155.  
  156. SpeedSec:AddSlider({
  157. Name = "Loops per burst. (60 per second)",
  158. Min = 0,
  159. Max = 600,
  160. Default = SpeedLoops,
  161. Color = Color3.fromRGB(52, 123, 237),
  162. Increment = 1,
  163. ValueName = "Loops Per burst",
  164. Callback = function(Value)
  165. SpeedLoops = Value
  166. end
  167. })
  168.  
  169. SpeedSec:AddSlider({
  170. Name = "Time Between Bursts",
  171. Min = 0,
  172. Max = 3,
  173. Default = SpeedTimeBetweenBursts,
  174. Color = Color3.fromRGB(52, 123, 237),
  175. Increment = 0.01,
  176. ValueName = "Seconds",
  177. Callback = function(Value)
  178. SpeedTimeBetweenBursts = Value
  179. end
  180. })
  181.  
  182. HighJumpSec:AddBind({
  183. Name = "High Jump",
  184. Default = Enum.KeyCode.X,
  185. Hold = false,
  186. Callback = function(v)
  187. MakeNoti("High Jump Toggled", "High Jump Activated", 3)
  188. HighJump()
  189. end
  190. })
  191.  
  192. HighJumpSec:AddSlider({
  193. Name = "Height",
  194. Min = 0,
  195. Max = 25,
  196. Default = HighJumpHeight,
  197. Color = Color3.fromRGB(52, 123, 237),
  198. Increment = 1,
  199. ValueName = "Height",
  200. Callback = function(Value)
  201. HighJumpHeight = Value
  202. end
  203. })
  204.  
  205. LongJumpSec:AddBind({
  206. Name = "Long Jump",
  207. Default = Enum.KeyCode.Z,
  208. Hold = false,
  209. Callback = function(v)
  210. MakeNoti("Long Jump Toggled", "Long Jump Activated", 3)
  211. LongJumpToggled = not LongJumpToggled
  212. end
  213. })
  214.  
  215. LongJumpSec:AddSlider({
  216. Name = "Gravity",
  217. Min = 0,
  218. Max = 100,
  219. Default = LongJumpGravity,
  220. Color = Color3.fromRGB(52, 123, 237),
  221. Increment = 1,
  222. ValueName = "Gravity",
  223. Callback = function(Value)
  224. LongJumpGravity = Value
  225. end
  226. })
  227.  
  228. LongJumpSec:AddSlider({
  229. Name = "Max LongJump Speed",
  230. Min = 0,
  231. Max = 255,
  232. Default = LongJumpWalkSpeed,
  233. Color = Color3.fromRGB(52, 123, 237),
  234. Increment = 1,
  235. ValueName = "Speed",
  236. Callback = function(Value)
  237. LongJumpWalkSpeed = Value
  238. end
  239. })
  240.  
  241. LongJumpSec:AddSlider({
  242. Name = "Speed After Main Speed",
  243. Min = 0,
  244. Max = 255,
  245. Default = LongJumpDuringSpeed,
  246. Color = Color3.fromRGB(52, 123, 237),
  247. Increment = 1,
  248. ValueName = "Speed",
  249. Callback = function(Value)
  250. LongJumpDuringSpeed = Value
  251. end
  252. })
  253.  
  254. LongJumpSec:AddSlider({
  255. Name = "Time Before Lowering Walk Speed",
  256. Min = 0,
  257. Max = 5,
  258. Default = LongJumpTimeBeforeSpeedReset,
  259. Color = Color3.fromRGB(52, 123, 237),
  260. Increment = 0.05,
  261. ValueName = "Time",
  262. Callback = function(Value)
  263. LongJumpTimeBeforeSpeedReset = Value
  264. end
  265. })
  266.  
  267. LongJumpSec:AddSlider({
  268. Name = "Time Before Completely Ending Long Jump",
  269. Min = 0,
  270. Max = 7.5,
  271. Default = LongJumpTimeBeforeEnd,
  272. Color = Color3.fromRGB(52, 123, 237),
  273. Increment = 0.05,
  274. ValueName = "Time",
  275. Callback = function(Value)
  276. LongJumpTimeBeforeEnd = Value
  277. end
  278. })
  279.  
  280.  
  281. local AntiFall = Anti:AddSection({
  282. Name = "No Fall"
  283. })
  284.  
  285. AntiFall:AddBind({
  286. Name = "No Fall",
  287. Default = Enum.KeyCode.Comma,
  288. Hold = false,
  289. Callback = function(v)
  290. MakeNoti("No Fall Toggled", "No fall Toggled", 3)
  291. NoFallToggled = not NoFallToggled
  292. end
  293. })
  294.  
  295. AntiFall:AddToggle({
  296. Name = "No Fall",
  297. Default = false,
  298. Callback = function(Value)
  299. NoFallToggled = Value
  300. end
  301. })
  302.  
  303. AntiFall:AddSlider({
  304. Name = "Time Per Remote Call ",
  305. Min = 0.1,
  306. Max = 10,
  307. Default = NoFallRemotesPerSecond,
  308. Color = Color3.fromRGB(52, 123, 237),
  309. Increment = 0.1,
  310. ValueName = "Remote Fires Per Second",
  311. Callback = function(Value)
  312. NoFallRemotesPerSecond = Value
  313. end
  314. })
  315.  
  316.  
  317. FlySec:AddBind({
  318. Name = "Fly",
  319. Default = Enum.KeyCode.Q,
  320. Hold = false,
  321. Callback = function(v)
  322. MakeNoti("Fly Toggled", "Fly Toggled", 3)
  323. FlyEnabled = not FlyEnabled
  324. end
  325. })
  326.  
  327. FlySec:AddSlider({
  328. Name = "Fly Loops of max speed. 60/s",
  329. Min = 0,
  330. Max = 300,
  331. Default = FlyLoops,
  332. Color = Color3.fromRGB(52, 123, 237),
  333. Increment = 1,
  334. ValueName = "Loops. 60/s",
  335. Callback = function(Value)
  336. FlyLoops = Value
  337. end
  338. })
  339.  
  340. FlySec:AddSlider({
  341. Name = "Fly Gravity",
  342. Min = 0,
  343. Max = 200,
  344. Default = FlyGravity,
  345. Color = Color3.fromRGB(52, 123, 237),
  346. Increment = 0.25,
  347. ValueName = "Gravity",
  348. Callback = function(Value)
  349. FlyGravity = Value
  350. end
  351. })
  352.  
  353. FlySec:AddSlider({
  354. Name = "Fly Time",
  355. Min = 0,
  356. Max = 15,
  357. Default = FlyTime,
  358. Color = Color3.fromRGB(52, 123, 237),
  359. Increment = 0.05,
  360. ValueName = "Time",
  361. Callback = function(Value)
  362. FlyTime = Value
  363. end
  364. })
  365.  
  366. FlySec:AddSlider({
  367. Name = "Fly Slower Speed",
  368. Min = 0,
  369. Max = 100,
  370. Default = FlyMinSpeed,
  371. Color = Color3.fromRGB(52, 123, 237),
  372. Increment = 0.05,
  373. ValueName = "Speed",
  374. Callback = function(Value)
  375. FlyMinSpeed = Value
  376. end
  377. })
  378.  
  379.  
  380. FlySec:AddSlider({
  381. Name = "Fly Max Speed",
  382. Min = 0,
  383. Max = 250,
  384. Default = FlyMaxSpeed,
  385. Color = Color3.fromRGB(52, 123, 237),
  386. Increment = 0.05,
  387. ValueName = "Speed",
  388. Callback = function(Value)
  389. FlyMaxSpeed = Value
  390. end
  391. })
  392.  
  393.  
  394.  
  395.  
  396. -- Speed
  397.  
  398. task.spawn(function()
  399. local LoopAmounts = 0
  400. while GlobalToggle do
  401. if SpeedToggled and GlobalToggle then
  402. print(LoopAmounts)
  403. SpeedFinish = false
  404. pcall(function()
  405. if SpeedLoops <= LoopAmounts and SpeedToggled then
  406. LoopAmounts = 0
  407. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 14
  408. task.wait(SpeedTimeBetweenBursts)
  409. end
  410. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = SpeedWalkSpeed
  411. end)
  412. LoopAmounts += 1
  413. end
  414. pcall(function()
  415. if not SpeedToggled and game.Players.LocalPlayer.Character.Humanoid.WalkSpeed == SpeedWalkSpeed then
  416. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 14
  417. end
  418. end)
  419. task.wait()
  420. end
  421. task.wait()
  422. end)
  423.  
  424. -- LongJump
  425.  
  426. task.spawn(function()
  427. while GlobalToggle do
  428. if LongJumpToggled and GlobalToggle then
  429. LongJumpToggled = false
  430. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity.X, 0, game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity.Z)
  431. game.Workspace.Gravity = LongJumpGravity
  432. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = LongJumpWalkSpeed
  433. keypress(0x20)
  434. task.wait(.1)
  435. keyrelease(0x20)
  436. task.wait(LongJumpTimeBeforeSpeedReset)
  437. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = LongJumpDuringSpeed
  438. task.wait(LongJumpTimeBeforeEnd)
  439. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  440. game.Workspace.Gravity = 196.2
  441. end
  442. task.wait()
  443. end
  444. end)
  445.  
  446. task.spawn(function()
  447. while GlobalToggle do
  448. if FlyEnabled then
  449. FlyEnabled = false
  450. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity.X, 0, game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity.Z)
  451. game.Workspace.Gravity = FlyGravity
  452. task.spawn(function ()
  453. for i = 0, FlyLoops, 1 do
  454. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = FlyMaxSpeed
  455. task.wait()
  456. end
  457. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = FlyMinSpeed
  458. end)
  459. task.wait(FlyTime)
  460. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  461. game.Workspace.Gravity = 196.2
  462. end
  463. task.wait()
  464. end
  465. end)
  466.  
  467. -- NoFall
  468.  
  469. task.spawn(function()
  470. while GlobalToggle do
  471. if NoFallToggled then
  472. pcall(function()
  473. game:GetService("ReplicatedStorage").rbxts_include.node_modules.net.out._NetManaged.GroundHit:FireServer()
  474. end)
  475. task.wait(NoFallRemotesPerSecond)
  476. end
  477. task.wait()
  478. end
  479. end)
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489. OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement