Advertisement
Scripts00_o

Loop gui

Apr 28th, 2022
727
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.49 KB | None | 0 0
  1. --Use it for anything if u want
  2.  
  3. game:GetService("StarterGui"):SetCore("SendNotification",{
  4. Title = "Subcribe",
  5. Text = "to Legend gaming",
  6.  
  7. })
  8. game:GetService("StarterGui"):SetCore("SendNotification",{
  9. Title = "wait...",
  10. Text = "loading...",
  11.  
  12. })
  13.  
  14. wait()
  15.  
  16. game:GetService("StarterGui"):SetCore("SendNotification",{
  17. Title = "loaded!",
  18. Text = "Have fun!",
  19.  
  20. })
  21.  
  22. local Library = loadstring(game:HttpGet("https://pastebin.com/raw/vff1bQ9F"))()
  23. local Window = Library.CreateLib("Loop", "Sentinel")
  24. local Tab = Window:NewTab("Home")
  25. local Section = Tab:NewSection("Welcome user")
  26. local Section = Tab:NewSection("Guis In the Next Tab")
  27. local Section = Tab:NewSection("Discord: legendary#2130")
  28. local Tab = Window:NewTab("Guis")
  29. local Section = Tab:NewSection("Guis")
  30. Section:NewButton("Vhub", "Vhub script", function()
  31. print("Clicked")
  32. loadstring(game:HttpGet(('https://raw.githubusercontent.com/itsyaboivincentt5315/script/main/VHub.txt'),true))()
  33. end)
  34. Section:NewButton("Artemis hub", "Artemis hub script", function()
  35. print("Clicked")
  36. loadstring(game:HttpGet("https://pastebin.com/raw/iBWWxP51"))()
  37. end)
  38. Section:NewButton("Fly gui v2", "Fly gui ez to fly", function()
  39. print("clicked")
  40. game:GetService("StarterGui"):SetCore("SendNotification",{
  41. Title = "Credits";
  42. Text = "Modified By SpekzZ";
  43. Duration = 3.5;
  44. })
  45. -- Gui to Lua
  46. -- Version: 3.2
  47.  
  48. -- Instances:
  49.  
  50. local main = Instance.new("ScreenGui")
  51. local Frame = Instance.new("Frame")
  52. local up = Instance.new("TextButton")
  53. local down = Instance.new("TextButton")
  54. local onof = Instance.new("TextButton")
  55. local TextLabel = Instance.new("TextLabel")
  56. local plus = Instance.new("TextButton")
  57. local speed = Instance.new("TextLabel")
  58. local mine = Instance.new("TextButton")
  59.  
  60. --Properties:
  61.  
  62. main.Name = "main"
  63. main.Parent = game.CoreGui
  64. main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  65.  
  66. Frame.Parent = main
  67. Frame.BackgroundColor3 = Color3.fromRGB(163, 255, 137)
  68. Frame.BorderColor3 = Color3.fromRGB(103, 221, 213)
  69. Frame.Position = UDim2.new(0.100320168, 0, 0.379746825, 0)
  70. Frame.Size = UDim2.new(0, 190, 0, 57)
  71.  
  72. up.Name = "up"
  73. up.Parent = Frame
  74. up.BackgroundColor3 = Color3.fromRGB(79, 255, 152)
  75. up.Size = UDim2.new(0, 44, 0, 28)
  76. up.Font = Enum.Font.SourceSans
  77. up.Text = "UP"
  78. up.TextColor3 = Color3.fromRGB(0, 0, 0)
  79. up.TextSize = 14.000
  80.  
  81. down.Name = "down"
  82. down.Parent = Frame
  83. down.BackgroundColor3 = Color3.fromRGB(215, 255, 121)
  84. down.Position = UDim2.new(0, 0, 0.491228074, 0)
  85. down.Size = UDim2.new(0, 44, 0, 28)
  86. down.Font = Enum.Font.SourceSans
  87. down.Text = "DOWN"
  88. down.TextColor3 = Color3.fromRGB(0, 0, 0)
  89. down.TextSize = 14.000
  90.  
  91. onof.Name = "onof"
  92. onof.Parent = Frame
  93. onof.BackgroundColor3 = Color3.fromRGB(255, 249, 74)
  94. onof.Position = UDim2.new(0.702823281, 0, 0.491228074, 0)
  95. onof.Size = UDim2.new(0, 56, 0, 28)
  96. onof.Font = Enum.Font.SourceSans
  97. onof.Text = "fly"
  98. onof.TextColor3 = Color3.fromRGB(0, 0, 0)
  99. onof.TextSize = 14.000
  100.  
  101. TextLabel.Parent = Frame
  102. TextLabel.BackgroundColor3 = Color3.fromRGB(242, 60, 255)
  103. TextLabel.Position = UDim2.new(0.469327301, 0, 0, 0)
  104. TextLabel.Size = UDim2.new(0, 100, 0, 28)
  105. TextLabel.Font = Enum.Font.SourceSans
  106. TextLabel.Text = "Fly Gui V2"
  107. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  108. TextLabel.TextScaled = true
  109. TextLabel.TextSize = 14.000
  110. TextLabel.TextWrapped = true
  111.  
  112. plus.Name = "plus"
  113. plus.Parent = Frame
  114. plus.BackgroundColor3 = Color3.fromRGB(133, 145, 255)
  115. plus.Position = UDim2.new(0.231578946, 0, 0, 0)
  116. plus.Size = UDim2.new(0, 45, 0, 28)
  117. plus.Font = Enum.Font.SourceSans
  118. plus.Text = "+"
  119. plus.TextColor3 = Color3.fromRGB(0, 0, 0)
  120. plus.TextScaled = true
  121. plus.TextSize = 14.000
  122. plus.TextWrapped = true
  123.  
  124. speed.Name = "speed"
  125. speed.Parent = Frame
  126. speed.BackgroundColor3 = Color3.fromRGB(255, 85, 0)
  127. speed.Position = UDim2.new(0.468421042, 0, 0.491228074, 0)
  128. speed.Size = UDim2.new(0, 44, 0, 28)
  129. speed.Font = Enum.Font.SourceSans
  130. speed.Text = "1"
  131. speed.TextColor3 = Color3.fromRGB(0, 0, 0)
  132. speed.TextScaled = true
  133. speed.TextSize = 14.000
  134. speed.TextWrapped = true
  135.  
  136. mine.Name = "mine"
  137. mine.Parent = Frame
  138. mine.BackgroundColor3 = Color3.fromRGB(123, 255, 247)
  139. mine.Position = UDim2.new(0.231578946, 0, 0.491228074, 0)
  140. mine.Size = UDim2.new(0, 45, 0, 29)
  141. mine.Font = Enum.Font.SourceSans
  142. mine.Text = "-"
  143. mine.TextColor3 = Color3.fromRGB(0, 0, 0)
  144. mine.TextScaled = true
  145. mine.TextSize = 14.000
  146. mine.TextWrapped = true
  147.  
  148. speeds = 1
  149.  
  150. local speaker = game:GetService("Players").LocalPlayer
  151.  
  152. local chr = game.Players.LocalPlayer.Character
  153. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  154.  
  155. nowe = false
  156.  
  157. Frame.Active = true -- main = gui
  158. Frame.Draggable = true
  159.  
  160. onof.MouseButton1Down:connect(function()
  161.  
  162. if nowe == true then
  163. nowe = false
  164.  
  165. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,true)
  166. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true)
  167. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,true)
  168. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,true)
  169. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
  170. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,true)
  171. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
  172. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,true)
  173. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,true)
  174. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true)
  175. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,true)
  176. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,true)
  177. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true)
  178. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,true)
  179. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,true)
  180. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.RunningNoPhysics)
  181. else
  182. nowe = true
  183.  
  184.  
  185.  
  186. for i = 1, speeds do
  187. spawn(function()
  188.  
  189. local hb = game:GetService("RunService").Heartbeat
  190.  
  191.  
  192. tpwalking = true
  193. local chr = game.Players.LocalPlayer.Character
  194. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  195. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  196. if hum.MoveDirection.Magnitude > 0 then
  197. chr:TranslateBy(hum.MoveDirection)
  198. end
  199. end
  200.  
  201. end)
  202. end
  203. game.Players.LocalPlayer.Character.Animate.Disabled = true
  204. local Char = game.Players.LocalPlayer.Character
  205. local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  206.  
  207. for i,v in next, Hum:GetPlayingAnimationTracks() do
  208. v:AdjustSpeed(0)
  209. end
  210. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,false)
  211. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false)
  212. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,false)
  213. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,false)
  214. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)
  215. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false)
  216. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,false)
  217. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false)
  218. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,false)
  219. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  220. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,false)
  221. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,false)
  222. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false)
  223. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,false)
  224. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,false)
  225. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
  226. end
  227.  
  228.  
  229.  
  230.  
  231.  
  232. local plr = game.Players.LocalPlayer
  233. local UpperTorso = plr.Character.LowerTorso
  234. local flying = true
  235. local deb = true
  236. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  237. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  238. local maxspeed = 50
  239. local speed = 0
  240.  
  241.  
  242. local bg = Instance.new("BodyGyro", UpperTorso)
  243. bg.P = 9e4
  244. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  245. bg.cframe = UpperTorso.CFrame
  246. local bv = Instance.new("BodyVelocity", UpperTorso)
  247. bv.velocity = Vector3.new(0,0.1,0)
  248. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  249. if nowe == true then
  250. plr.Character.Humanoid.PlatformStand = true
  251. end
  252. while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
  253. wait()
  254.  
  255. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  256. speed = speed+.5+(speed/maxspeed)
  257. if speed > maxspeed then
  258. speed = maxspeed
  259. end
  260. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  261. speed = speed-1
  262. if speed < 0 then
  263. speed = 0
  264. end
  265. end
  266. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  267. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  268. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  269. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  270. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  271. else
  272. bv.velocity = Vector3.new(0,0,0)
  273. end
  274.  
  275. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  276. end
  277. ctrl = {f = 0, b = 0, l = 0, r = 0}
  278. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  279. speed = 0
  280. bg:Destroy()
  281. bv:Destroy()
  282. plr.Character.Humanoid.PlatformStand = false
  283. game.Players.LocalPlayer.Character.Animate.Disabled = false
  284. tpwalking = false
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294. end)
  295.  
  296.  
  297. up.MouseButton1Down:connect(function()
  298. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,2,0)
  299.  
  300. end)
  301.  
  302.  
  303. down.MouseButton1Down:connect(function()
  304.  
  305. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,-2,0)
  306.  
  307. end)
  308.  
  309.  
  310. game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(char)
  311. wait(0.7)
  312. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false
  313. game.Players.LocalPlayer.Character.Animate.Disabled = false
  314.  
  315. end)
  316.  
  317.  
  318. plus.MouseButton1Down:connect(function()
  319. speeds = speeds + 1
  320. speed.Text = speeds
  321. if nowe == true then
  322.  
  323.  
  324. tpwalking = false
  325. for i = 1, speeds do
  326. spawn(function()
  327.  
  328. local hb = game:GetService("RunService").Heartbeat
  329.  
  330.  
  331. tpwalking = true
  332. local chr = game.Players.LocalPlayer.Character
  333. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  334. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  335. if hum.MoveDirection.Magnitude > 0 then
  336. chr:TranslateBy(hum.MoveDirection)
  337. end
  338. end
  339.  
  340. end)
  341. end
  342. end
  343. end)
  344. mine.MouseButton1Down:connect(function()
  345. if speeds == 1 then
  346. speed.Text = 'can not be less than 1'
  347. wait(1)
  348. speed.Text = speeds
  349. else
  350. speeds = speeds - 1
  351. speed.Text = speeds
  352. if nowe == true then
  353. tpwalking = false
  354. for i = 1, speeds do
  355. spawn(function()
  356.  
  357. local hb = game:GetService("RunService").Heartbeat
  358.  
  359.  
  360. tpwalking = true
  361. local chr = game.Players.LocalPlayer.Character
  362. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  363. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  364. if hum.MoveDirection.Magnitude > 0 then
  365. chr:TranslateBy(hum.MoveDirection)
  366. end
  367. end
  368.  
  369. end)
  370. end
  371. end
  372. end
  373. end)
  374. end)
  375.  
  376. Section:NewButton("Animation Pack", "Animation gui", function()
  377. print("Clicked")
  378. loadstring(game:HttpGet("https://raw.githubusercontent.com/GamingScripter/Animation-Hub/main/Animation%20Gui", true))()
  379. end)
  380.  
  381. local Tab = Window:NewTab("Games guis")
  382. local Section = Tab:NewSection("Games guis")
  383. Section:NewButton("Pet sim x Saza hub", "a Op pet simulator x gui", function()
  384. print("Clicked")
  385. _G.AuthKey = "312cc6e8-0a82-4bfb-909d-f42d508d8d42"
  386. loadstring(game:HttpGet("https://raw.githubusercontent.com/RobIoxScripts/GUI/main/load.lua"))()
  387. end)
  388.  
  389. Section:NewButton("B.wars gui", "Bedwars gui", function()
  390. print("Clicked")
  391. game.StarterGui:SetCore("SendNotification", { Title = "XRAYON"; Text = "LOADED SUCCESSFULLY! ENJOY"; Duration = 60; }) loadstring(game:HttpGet('https://raw.githubusercontent.com/dorukqpx/Xrayon/main/xrayo.lua'))();
  392. end)
  393.  
  394. Section:NewButton("Ice hub", "Brookhaven gui", function()
  395. print("Clicked")
  396. loadstring(game:HttpGet("https://raw.githubusercontent.com/IceMael7/NewIceHub/main/Brookhaven"))()
  397. end)
  398.  
  399. Section:NewButton("Keyboard", "Need for any gui", function()
  400. print("Clicked")
  401. loadstring(game:HttpGet("https://pastebin.com/raw/kC3dAMvt"))()
  402. end)
  403.  
  404. Section:NewButton("Soft bed", "Bedwars gui", function()
  405. print("Clicked")
  406. loadstring(game:HttpGet("https://pastebin.com/raw/ELCkygpv", true))()
  407. end)
  408.  
  409. Section:NewButton("MM 2 gui", "use keyboard to access some things", function()
  410. print("Clicked")
  411. loadstring(game:HttpGet("https://raw.githubusercontent.com/Drifter0507/scripts/main/mm2", true))()
  412. end)
  413.  
  414. local Tab = Window:NewTab("Scripts")
  415. local Section = Tab:NewSection("Scripts")
  416. Section:NewButton(" Tower of heck admin script (use .antiban and .anitkick)", "use .anitban and .antikick to be not banned/kick", function()
  417. print("Clicked")
  418. loadstring(game:HttpGet("https://raw.githubusercontent.com/TwomadJR/nto/main/admiin"))()
  419. end)
  420.  
  421.  
  422. local Tab = Window:NewTab("Settings")
  423. local Section = Tab:NewSection("Soon")
  424.  
  425.  
  426. local Tab = Window:NewTab("Credits")
  427. local Section = Tab:NewSection("Made by legendary#2130 on Discord")
  428. Section:NewButton("Youtube: Legend gaming", "youtube channel", function()
  429. print("Clicked")
  430. end)
  431.  
  432. Frame.Parent.Active = true
  433. Frame.Parent.Draggable = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement