Noficial1234

A literal baseplate

Sep 15th, 2023 (edited)
3,082
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.37 KB | None | 1 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "A Literal Baseplate",
  5. LoadingTitle = "Ronof Hub",
  6. LoadingSubtitle = "by Noficial",
  7. ConfigurationSaving = {
  8. Enabled = true,
  9. FolderName = nil, -- Create a custom folder for your hub/game
  10. FileName = "RonofHub"
  11. },
  12. Discord = {
  13. Enabled = true,
  14. Invite = "5fGuwqmNgT", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
  15. RememberJoins = false -- Set this to false to make them join the discord every time they load it up
  16. },
  17. KeySystem = false, -- Set this to true to use our key system
  18. KeySettings = {
  19. Title = "Ronof key",
  20. Subtitle = "Expires Every 24 Hours",
  21. Note = "Join The Discord to get Key!",
  22. FileName = "RobofHubKey", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  23. SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  24. GrabKeyFromSite = true, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  25. Key = {"https://pastebin.com/raw/k2X2w3ra"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
  26. }
  27. })
  28.  
  29. local MainTab = Window:CreateTab("🏠 Home", nil) -- Title, Image
  30. local MainSection = MainTab:CreateSection("Fun")
  31.  
  32. Rayfield:Notify({
  33. Title = "Script Executed!",
  34. Content = "Ronof Hub",
  35. Duration = 5,
  36. Image = nil,
  37. Actions = { -- Notification Buttons
  38. Ignore = {
  39. Name = "Okay!",
  40. Callback = function()
  41. print("The user tapped Okay!")
  42. end
  43. },
  44. },
  45. })
  46.  
  47. local Button = MainTab:CreateButton({
  48. Name = "Fly (Type !stop in chat to remove the GUI)",
  49. Callback = function()
  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. local closebutton = Instance.new("TextButton")
  60. local mini = Instance.new("TextButton")
  61. local mini2 = Instance.new("TextButton")
  62.  
  63. main.Name = "main"
  64. main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  65. main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  66. main.ResetOnSpawn = false
  67.  
  68. Frame.Parent = main
  69. Frame.BackgroundColor3 = Color3.fromRGB(163, 255, 137)
  70. Frame.BorderColor3 = Color3.fromRGB(103, 221, 213)
  71. Frame.Position = UDim2.new(0.100320168, 0, 0.379746825, 0)
  72. Frame.Size = UDim2.new(0, 190, 0, 57)
  73.  
  74. up.Name = "up"
  75. up.Parent = Frame
  76. up.BackgroundColor3 = Color3.fromRGB(79, 255, 152)
  77. up.Size = UDim2.new(0, 44, 0, 28)
  78. up.Font = Enum.Font.SourceSans
  79. up.Text = "UP"
  80. up.TextColor3 = Color3.fromRGB(0, 0, 0)
  81. up.TextSize = 14.000
  82.  
  83. down.Name = "down"
  84. down.Parent = Frame
  85. down.BackgroundColor3 = Color3.fromRGB(215, 255, 121)
  86. down.Position = UDim2.new(0, 0, 0.491228074, 0)
  87. down.Size = UDim2.new(0, 44, 0, 28)
  88. down.Font = Enum.Font.SourceSans
  89. down.Text = "DOWN"
  90. down.TextColor3 = Color3.fromRGB(0, 0, 0)
  91. down.TextSize = 14.000
  92.  
  93. onof.Name = "onof"
  94. onof.Parent = Frame
  95. onof.BackgroundColor3 = Color3.fromRGB(255, 249, 74)
  96. onof.Position = UDim2.new(0.702823281, 0, 0.491228074, 0)
  97. onof.Size = UDim2.new(0, 56, 0, 28)
  98. onof.Font = Enum.Font.SourceSans
  99. onof.Text = "fly"
  100. onof.TextColor3 = Color3.fromRGB(0, 0, 0)
  101. onof.TextSize = 14.000
  102.  
  103. TextLabel.Parent = Frame
  104. TextLabel.BackgroundColor3 = Color3.fromRGB(242, 60, 255)
  105. TextLabel.Position = UDim2.new(0.469327301, 0, 0, 0)
  106. TextLabel.Size = UDim2.new(0, 100, 0, 28)
  107. TextLabel.Font = Enum.Font.SourceSans
  108. TextLabel.Text = "Fly GUI V3"
  109. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  110. TextLabel.TextScaled = true
  111. TextLabel.TextSize = 14.000
  112. TextLabel.TextWrapped = true
  113.  
  114. plus.Name = "plus"
  115. plus.Parent = Frame
  116. plus.BackgroundColor3 = Color3.fromRGB(133, 145, 255)
  117. plus.Position = UDim2.new(0.231578946, 0, 0, 0)
  118. plus.Size = UDim2.new(0, 45, 0, 28)
  119. plus.Font = Enum.Font.SourceSans
  120. plus.Text = "+"
  121. plus.TextColor3 = Color3.fromRGB(0, 0, 0)
  122. plus.TextScaled = true
  123. plus.TextSize = 14.000
  124. plus.TextWrapped = true
  125.  
  126. speed.Name = "speed"
  127. speed.Parent = Frame
  128. speed.BackgroundColor3 = Color3.fromRGB(255, 85, 0)
  129. speed.Position = UDim2.new(0.468421042, 0, 0.491228074, 0)
  130. speed.Size = UDim2.new(0, 44, 0, 28)
  131. speed.Font = Enum.Font.SourceSans
  132. speed.Text = "1"
  133. speed.TextColor3 = Color3.fromRGB(0, 0, 0)
  134. speed.TextScaled = true
  135. speed.TextSize = 14.000
  136. speed.TextWrapped = true
  137.  
  138. mine.Name = "mine"
  139. mine.Parent = Frame
  140. mine.BackgroundColor3 = Color3.fromRGB(123, 255, 247)
  141. mine.Position = UDim2.new(0.231578946, 0, 0.491228074, 0)
  142. mine.Size = UDim2.new(0, 45, 0, 29)
  143. mine.Font = Enum.Font.SourceSans
  144. mine.Text = "-"
  145. mine.TextColor3 = Color3.fromRGB(0, 0, 0)
  146. mine.TextScaled = true
  147. mine.TextSize = 14.000
  148. mine.TextWrapped = true
  149.  
  150. closebutton.Name = "Close"
  151. closebutton.Parent = main.Frame
  152. closebutton.BackgroundColor3 = Color3.fromRGB(225, 25, 0)
  153. closebutton.Font = "SourceSans"
  154. closebutton.Size = UDim2.new(0, 45, 0, 28)
  155. closebutton.Text = "X"
  156. closebutton.TextSize = 30
  157. closebutton.Position = UDim2.new(0, 0, -1, 27)
  158.  
  159. mini.Name = "minimize"
  160. mini.Parent = main.Frame
  161. mini.BackgroundColor3 = Color3.fromRGB(192, 150, 230)
  162. mini.Font = "SourceSans"
  163. mini.Size = UDim2.new(0, 45, 0, 28)
  164. mini.Text = "-"
  165. mini.TextSize = 40
  166. mini.Position = UDim2.new(0, 44, -1, 27)
  167.  
  168. mini2.Name = "minimize2"
  169. mini2.Parent = main.Frame
  170. mini2.BackgroundColor3 = Color3.fromRGB(192, 150, 230)
  171. mini2.Font = "SourceSans"
  172. mini2.Size = UDim2.new(0, 45, 0, 28)
  173. mini2.Text = "+"
  174. mini2.TextSize = 40
  175. mini2.Position = UDim2.new(0, 44, -1, 57)
  176. mini2.Visible = false
  177.  
  178. speeds = 1
  179.  
  180. local speaker = game:GetService("Players").LocalPlayer
  181.  
  182. local chr = game.Players.LocalPlayer.Character
  183. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  184.  
  185. nowe = false
  186.  
  187. game:GetService("StarterGui"):SetCore("SendNotification", {
  188. Title = "Fly GUI V3";
  189. Text = "By me_ozone and Quandale The Dinglish XII#3550";
  190. Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150"})
  191. Duration = 5;
  192.  
  193. Frame.Active = true -- main = gui
  194. Frame.Draggable = true
  195.  
  196. onof.MouseButton1Down:connect(function()
  197.  
  198. if nowe == true then
  199. nowe = false
  200.  
  201. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,true)
  202. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true)
  203. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,true)
  204. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,true)
  205. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
  206. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,true)
  207. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
  208. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,true)
  209. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,true)
  210. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true)
  211. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,true)
  212. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,true)
  213. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true)
  214. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,true)
  215. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,true)
  216. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.RunningNoPhysics)
  217. else
  218. nowe = true
  219.  
  220.  
  221.  
  222. for i = 1, speeds do
  223. spawn(function()
  224.  
  225. local hb = game:GetService("RunService").Heartbeat
  226.  
  227.  
  228. tpwalking = true
  229. local chr = game.Players.LocalPlayer.Character
  230. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  231. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  232. if hum.MoveDirection.Magnitude > 0 then
  233. chr:TranslateBy(hum.MoveDirection)
  234. end
  235. end
  236.  
  237. end)
  238. end
  239. game.Players.LocalPlayer.Character.Animate.Disabled = true
  240. local Char = game.Players.LocalPlayer.Character
  241. local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  242.  
  243. for i,v in next, Hum:GetPlayingAnimationTracks() do
  244. v:AdjustSpeed(0)
  245. end
  246. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,false)
  247. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false)
  248. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,false)
  249. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,false)
  250. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)
  251. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false)
  252. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,false)
  253. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false)
  254. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,false)
  255. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  256. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,false)
  257. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,false)
  258. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false)
  259. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,false)
  260. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,false)
  261. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
  262. end
  263.  
  264.  
  265.  
  266.  
  267. if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then
  268.  
  269.  
  270.  
  271. local plr = game.Players.LocalPlayer
  272. local torso = plr.Character.Torso
  273. local flying = true
  274. local deb = true
  275. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  276. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  277. local maxspeed = 50
  278. local speed = 0
  279.  
  280.  
  281. local bg = Instance.new("BodyGyro", torso)
  282. bg.P = 9e4
  283. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  284. bg.cframe = torso.CFrame
  285. local bv = Instance.new("BodyVelocity", torso)
  286. bv.velocity = Vector3.new(0,0.1,0)
  287. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  288. if nowe == true then
  289. plr.Character.Humanoid.PlatformStand = true
  290. end
  291. while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
  292. game:GetService("RunService").RenderStepped:Wait()
  293.  
  294. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  295. speed = speed+.5+(speed/maxspeed)
  296. if speed > maxspeed then
  297. speed = maxspeed
  298. end
  299. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  300. speed = speed-1
  301. if speed < 0 then
  302. speed = 0
  303. end
  304. end
  305. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  306. 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
  307. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  308. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  309. 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
  310. else
  311. bv.velocity = Vector3.new(0,0,0)
  312. end
  313. --game.Players.LocalPlayer.Character.Animate.Disabled = true
  314. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  315. end
  316. ctrl = {f = 0, b = 0, l = 0, r = 0}
  317. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  318. speed = 0
  319. bg:Destroy()
  320. bv:Destroy()
  321. plr.Character.Humanoid.PlatformStand = false
  322. game.Players.LocalPlayer.Character.Animate.Disabled = false
  323. tpwalking = false
  324.  
  325.  
  326.  
  327.  
  328. else
  329. local plr = game.Players.LocalPlayer
  330. local UpperTorso = plr.Character.UpperTorso
  331. local flying = true
  332. local deb = true
  333. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  334. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  335. local maxspeed = 50
  336. local speed = 0
  337.  
  338.  
  339. local bg = Instance.new("BodyGyro", UpperTorso)
  340. bg.P = 9e4
  341. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  342. bg.cframe = UpperTorso.CFrame
  343. local bv = Instance.new("BodyVelocity", UpperTorso)
  344. bv.velocity = Vector3.new(0,0.1,0)
  345. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  346. if nowe == true then
  347. plr.Character.Humanoid.PlatformStand = true
  348. end
  349. while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
  350. wait()
  351.  
  352. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  353. speed = speed+.5+(speed/maxspeed)
  354. if speed > maxspeed then
  355. speed = maxspeed
  356. end
  357. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  358. speed = speed-1
  359. if speed < 0 then
  360. speed = 0
  361. end
  362. end
  363. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  364. 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
  365. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  366. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  367. 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
  368. else
  369. bv.velocity = Vector3.new(0,0,0)
  370. end
  371.  
  372. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  373. end
  374. ctrl = {f = 0, b = 0, l = 0, r = 0}
  375. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  376. speed = 0
  377. bg:Destroy()
  378. bv:Destroy()
  379. plr.Character.Humanoid.PlatformStand = false
  380. game.Players.LocalPlayer.Character.Animate.Disabled = false
  381. tpwalking = false
  382.  
  383.  
  384.  
  385. end
  386.  
  387.  
  388.  
  389.  
  390.  
  391. end)
  392.  
  393. local tis
  394.  
  395. up.MouseButton1Down:connect(function()
  396. tis = up.MouseEnter:connect(function()
  397. while tis do
  398. wait()
  399. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,1,0)
  400. end
  401. end)
  402. end)
  403.  
  404. up.MouseLeave:connect(function()
  405. if tis then
  406. tis:Disconnect()
  407. tis = nil
  408. end
  409. end)
  410.  
  411. local dis
  412.  
  413. down.MouseButton1Down:connect(function()
  414. dis = down.MouseEnter:connect(function()
  415. while dis do
  416. wait()
  417. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,-1,0)
  418. end
  419. end)
  420. end)
  421.  
  422. down.MouseLeave:connect(function()
  423. if dis then
  424. dis:Disconnect()
  425. dis = nil
  426. end
  427. end)
  428.  
  429.  
  430. game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(char)
  431. wait(0.7)
  432. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false
  433. game.Players.LocalPlayer.Character.Animate.Disabled = false
  434.  
  435. end)
  436.  
  437.  
  438. plus.MouseButton1Down:connect(function()
  439. speeds = speeds + 1
  440. speed.Text = speeds
  441. if nowe == true then
  442.  
  443.  
  444. tpwalking = false
  445. for i = 1, speeds do
  446. spawn(function()
  447.  
  448. local hb = game:GetService("RunService").Heartbeat
  449.  
  450.  
  451. tpwalking = true
  452. local chr = game.Players.LocalPlayer.Character
  453. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  454. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  455. if hum.MoveDirection.Magnitude > 0 then
  456. chr:TranslateBy(hum.MoveDirection)
  457. end
  458. end
  459.  
  460. end)
  461. end
  462. end
  463. end)
  464. mine.MouseButton1Down:connect(function()
  465. if speeds == 1 then
  466. speed.Text = 'cannot be less than 1'
  467. wait(1)
  468. speed.Text = speeds
  469. else
  470. speeds = speeds - 1
  471. speed.Text = speeds
  472. if nowe == true then
  473. tpwalking = false
  474. for i = 1, speeds do
  475. spawn(function()
  476.  
  477. local hb = game:GetService("RunService").Heartbeat
  478.  
  479.  
  480. tpwalking = true
  481. local chr = game.Players.LocalPlayer.Character
  482. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  483. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  484. if hum.MoveDirection.Magnitude > 0 then
  485. chr:TranslateBy(hum.MoveDirection)
  486. end
  487. end
  488.  
  489. end)
  490. end
  491. end
  492. end
  493. end)
  494.  
  495. closebutton.MouseButton1Click:Connect(function()
  496. main:Destroy()
  497. end)
  498.  
  499. mini.MouseButton1Click:Connect(function()
  500. up.Visible = false
  501. down.Visible = false
  502. onof.Visible = false
  503. plus.Visible = false
  504. speed.Visible = false
  505. mine.Visible = false
  506. mini.Visible = false
  507. mini2.Visible = true
  508. main.Frame.BackgroundTransparency = 1
  509. closebutton.Position = UDim2.new(0, 0, -1, 57)
  510. end)
  511.  
  512. mini2.MouseButton1Click:Connect(function()
  513. up.Visible = true
  514. down.Visible = true
  515. onof.Visible = true
  516. plus.Visible = true
  517. speed.Visible = true
  518. mine.Visible = true
  519. mini.Visible = true
  520. mini2.Visible = false
  521. main.Frame.BackgroundTransparency = 0
  522. closebutton.Position = UDim2.new(0, 0, -1, 27)
  523. end)
  524. end,
  525. })
  526.  
  527. local Slider = MainTab:CreateSlider({
  528. Name = "Walkspeed Slider",
  529. Range = {0, 900},
  530. Increment = 1,
  531. Suffix = "Speed",
  532. CurrentValue = 16,
  533. Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  534. Callback = function(Value)
  535. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = (Value)
  536. end,
  537. })
Advertisement
Add Comment
Please, Sign In to add comment