TheRobloxGuy

Admin Script Hub

Jun 12th, 2021 (edited)
1,075
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 19.76 KB | None | 0 0
  1.  
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local UICorner = Instance.new("UICorner")
  6. local ScriptHubSelect = Instance.new("TextButton")
  7. local UICorner_2 = Instance.new("UICorner")
  8. local ChangeLogSelect = Instance.new("TextButton")
  9. local UICorner_3 = Instance.new("UICorner")
  10. local CommandPromptSelect = Instance.new("TextButton")
  11. local UICorner_4 = Instance.new("UICorner")
  12. local ScriptHub = Instance.new("Frame")
  13. local UICorner_5 = Instance.new("UICorner")
  14. local Fly = Instance.new("TextButton")
  15. local UICorner_6 = Instance.new("UICorner")
  16. local Invisible = Instance.new("TextButton")
  17. local UICorner_7 = Instance.new("UICorner")
  18. local Tp = Instance.new("TextButton")
  19. local UICorner_8 = Instance.new("UICorner")
  20. local UnKnown = Instance.new("TextButton")
  21. local UICorner_9 = Instance.new("UICorner")
  22. local CommandPrompt = Instance.new("Frame")
  23. local UICorner_10 = Instance.new("UICorner")
  24. local Command = Instance.new("TextBox")
  25. local TextLabel = Instance.new("TextLabel")
  26. local TextButton = Instance.new("TextButton")
  27. local UICorner_11 = Instance.new("UICorner")
  28. local ChangeLog = Instance.new("Frame")
  29. local UICorner_12 = Instance.new("UICorner")
  30. local TextLabel_2 = Instance.new("TextLabel")
  31.  
  32. --Properties:
  33.  
  34. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  35. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  36.  
  37. Frame.Parent = ScreenGui
  38. Frame.Active = true
  39. Frame.BackgroundColor3 = Color3.fromRGB(28, 36, 45)
  40. Frame.Position = UDim2.new(0.330188692, 0, 0.302982748, 0)
  41. Frame.Size = UDim2.new(0.339622647, 0, 0.394034535, 0)
  42.  
  43. UICorner.CornerRadius = UDim.new(0, 20)
  44. UICorner.Parent = Frame
  45.  
  46. ScriptHubSelect.Name = "ScriptHubSelect"
  47. ScriptHubSelect.Parent = Frame
  48. ScriptHubSelect.BackgroundColor3 = Color3.fromRGB(32, 110, 255)
  49. ScriptHubSelect.Position = UDim2.new(0.371212125, 0, 0.800796807, 0)
  50. ScriptHubSelect.Size = UDim2.new(0.25757575, 0, 0.199203193, 0)
  51. ScriptHubSelect.Font = Enum.Font.SourceSans
  52. ScriptHubSelect.Text = "Script Hub"
  53. ScriptHubSelect.TextColor3 = Color3.fromRGB(0, 0, 0)
  54. ScriptHubSelect.TextSize = 14.000
  55.  
  56. UICorner_2.CornerRadius = UDim.new(0, 20)
  57. UICorner_2.Parent = ScriptHubSelect
  58.  
  59. ChangeLogSelect.Name = "ChangeLogSelect"
  60. ChangeLogSelect.Parent = Frame
  61. ChangeLogSelect.BackgroundColor3 = Color3.fromRGB(32, 110, 255)
  62. ChangeLogSelect.Position = UDim2.new(0.648989916, 0, 0.800796807, 0)
  63. ChangeLogSelect.Size = UDim2.new(0.25757575, 0, 0.199203193, 0)
  64. ChangeLogSelect.Font = Enum.Font.SourceSans
  65. ChangeLogSelect.Text = "Change Log"
  66. ChangeLogSelect.TextColor3 = Color3.fromRGB(0, 0, 0)
  67. ChangeLogSelect.TextSize = 14.000
  68.  
  69. UICorner_3.CornerRadius = UDim.new(0, 20)
  70. UICorner_3.Parent = ChangeLogSelect
  71.  
  72. CommandPromptSelect.Name = "CommandPromptSelect"
  73. CommandPromptSelect.Parent = Frame
  74. CommandPromptSelect.BackgroundColor3 = Color3.fromRGB(32, 110, 255)
  75. CommandPromptSelect.Position = UDim2.new(0.0984848589, 0, 0.800796807, 0)
  76. CommandPromptSelect.Size = UDim2.new(0.25757575, 0, 0.199203193, 0)
  77. CommandPromptSelect.Font = Enum.Font.SourceSans
  78. CommandPromptSelect.Text = "Command Prompt"
  79. CommandPromptSelect.TextColor3 = Color3.fromRGB(0, 0, 0)
  80. CommandPromptSelect.TextSize = 14.000
  81.  
  82. UICorner_4.CornerRadius = UDim.new(0, 20)
  83. UICorner_4.Parent = CommandPromptSelect
  84.  
  85. ScriptHub.Name = "ScriptHub"
  86. ScriptHub.Parent = Frame
  87. ScriptHub.BackgroundColor3 = Color3.fromRGB(33, 38, 67)
  88. ScriptHub.Position = UDim2.new(0.0984848514, 0, 0.115537852, 0)
  89. ScriptHub.Size = UDim2.new(0.808080792, 0, 0.569721103, 0)
  90.  
  91. UICorner_5.Parent = ScriptHub
  92.  
  93. Fly.Name = "Fly"
  94. Fly.Parent = ScriptHub
  95. Fly.BackgroundColor3 = Color3.fromRGB(32, 110, 255)
  96. Fly.Position = UDim2.new(0.0187500007, 0, 0.0419580415, 0)
  97. Fly.Size = UDim2.new(0.400000006, 0, 0.349650353, 0)
  98. Fly.Font = Enum.Font.SourceSans
  99. Fly.Text = "Fly(press X to toggle)(Only R15 Oof)"
  100. Fly.TextColor3 = Color3.fromRGB(0, 0, 0)
  101. Fly.TextScaled = true
  102. Fly.TextSize = 14.000
  103. Fly.TextWrapped = true
  104.  
  105. UICorner_6.Parent = Fly
  106.  
  107. Invisible.Name = "Invisible"
  108. Invisible.Parent = ScriptHub
  109. Invisible.BackgroundColor3 = Color3.fromRGB(32, 110, 255)
  110. Invisible.Position = UDim2.new(0.0187500007, 0, 0.440559447, 0)
  111. Invisible.Size = UDim2.new(0.400000006, 0, 0.349650353, 0)
  112. Invisible.Font = Enum.Font.SourceSans
  113. Invisible.Text = "Invisible(R6 Only)"
  114. Invisible.TextColor3 = Color3.fromRGB(0, 0, 0)
  115. Invisible.TextScaled = true
  116. Invisible.TextSize = 14.000
  117. Invisible.TextWrapped = true
  118.  
  119. UICorner_7.Parent = Invisible
  120.  
  121. Tp.Name = "Tp"
  122. Tp.Parent = ScriptHub
  123. Tp.BackgroundColor3 = Color3.fromRGB(32, 110, 255)
  124. Tp.Position = UDim2.new(0.581250012, 0, 0.041958034, 0)
  125. Tp.Size = UDim2.new(0.400000006, 0, 0.349650353, 0)
  126. Tp.Font = Enum.Font.SourceSans
  127. Tp.Text = "Teleport Tool"
  128. Tp.TextColor3 = Color3.fromRGB(0, 0, 0)
  129. Tp.TextScaled = true
  130. Tp.TextSize = 14.000
  131. Tp.TextWrapped = true
  132.  
  133. UICorner_8.Parent = Tp
  134.  
  135. UnKnown.Name = "UnKnown"
  136. UnKnown.Parent = ScriptHub
  137. UnKnown.BackgroundColor3 = Color3.fromRGB(32, 110, 255)
  138. UnKnown.Position = UDim2.new(0.581250012, 0, 0.440559447, 0)
  139. UnKnown.Size = UDim2.new(0.400000006, 0, 0.349650353, 0)
  140. UnKnown.Font = Enum.Font.SourceSans
  141. UnKnown.Text = "Coming Soon"
  142. UnKnown.TextColor3 = Color3.fromRGB(0, 0, 0)
  143. UnKnown.TextScaled = true
  144. UnKnown.TextSize = 14.000
  145. UnKnown.TextWrapped = true
  146.  
  147. UICorner_9.Parent = UnKnown
  148.  
  149. CommandPrompt.Name = "CommandPrompt"
  150. CommandPrompt.Parent = Frame
  151. CommandPrompt.BackgroundColor3 = Color3.fromRGB(33, 38, 67)
  152. CommandPrompt.Position = UDim2.new(0.0984848514, 0, 0.115537852, 0)
  153. CommandPrompt.Size = UDim2.new(0.808080792, 0, 0.569721103, 0)
  154. CommandPrompt.Visible = false
  155.  
  156. UICorner_10.Parent = CommandPrompt
  157.  
  158. Command.Name = "Command"
  159. Command.Parent = CommandPrompt
  160. Command.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  161. Command.BackgroundTransparency = 0.750
  162. Command.Position = UDim2.new(0.0406249985, 0, 0.685314655, 0)
  163. Command.Size = UDim2.new(0.915624976, 0, 0.15384616, 0)
  164. Command.Font = Enum.Font.SourceSans
  165. Command.PlaceholderColor3 = Color3.fromRGB(57, 57, 57)
  166. Command.PlaceholderText = "Enter Command Here"
  167. Command.Text = ""
  168. Command.TextColor3 = Color3.fromRGB(0, 0, 0)
  169. Command.TextSize = 14.000
  170. Command.TextXAlignment = Enum.TextXAlignment.Left
  171.  
  172. TextLabel.Parent = CommandPrompt
  173. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  174. TextLabel.BackgroundTransparency = 1.000
  175. TextLabel.Position = UDim2.new(0.0625, 0, 0, 0)
  176. TextLabel.Size = UDim2.new(0.915624976, 0, 0.685314715, 0)
  177. TextLabel.Font = Enum.Font.SourceSans
  178. TextLabel.Text = "Coming Soon"
  179. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  180. TextLabel.TextSize = 14.000
  181. TextLabel.TextWrapped = true
  182. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  183. TextLabel.TextYAlignment = Enum.TextYAlignment.Top
  184.  
  185. TextButton.Parent = CommandPrompt
  186. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  187. TextButton.BackgroundTransparency = 0.750
  188. TextButton.Position = UDim2.new(0.381250024, 0, 0.860139847, 0)
  189. TextButton.Size = UDim2.new(0, 75, 0, 20)
  190. TextButton.Font = Enum.Font.SourceSans
  191. TextButton.Text = "Enter"
  192. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  193. TextButton.TextScaled = true
  194. TextButton.TextSize = 14.000
  195. TextButton.TextWrapped = true
  196.  
  197. UICorner_11.Parent = TextButton
  198.  
  199. ChangeLog.Name = "ChangeLog"
  200. ChangeLog.Parent = Frame
  201. ChangeLog.BackgroundColor3 = Color3.fromRGB(33, 38, 67)
  202. ChangeLog.Position = UDim2.new(0.0984848514, 0, 0.115537852, 0)
  203. ChangeLog.Size = UDim2.new(0.808080792, 0, 0.569721103, 0)
  204. ChangeLog.Visible = false
  205.  
  206. UICorner_12.Parent = ChangeLog
  207.  
  208. TextLabel_2.Parent = ChangeLog
  209. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  210. TextLabel_2.BackgroundTransparency = 1.000
  211. TextLabel_2.Position = UDim2.new(0.0781250075, 0, 0.0699300691, 0)
  212. TextLabel_2.Size = UDim2.new(0, 269, 0, 122)
  213. TextLabel_2.Font = Enum.Font.SourceSans
  214. TextLabel_2.Text = "Update 12/06/2021 - Created"
  215. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  216. TextLabel_2.TextSize = 14.000
  217. TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  218. TextLabel_2.TextYAlignment = Enum.TextYAlignment.Top
  219.  
  220. -- Scripts:
  221.  
  222. local function DOZP_fake_script() -- ScriptHubSelect.LocalScript
  223.     local script = Instance.new('LocalScript', ScriptHubSelect)
  224.  
  225.     script.Parent.MouseButton1Click:Connect(function()
  226.         script.Parent.Parent.ScriptHub.Visible = true
  227.         script.Parent.Parent.CommandPrompt.Visible = false
  228.         script.Parent.Parent.ChangeLog.Visible = false
  229.     end)
  230.    
  231. end
  232. coroutine.wrap(DOZP_fake_script)()
  233. local function UXGENIC_fake_script() -- ChangeLogSelect.LocalScript
  234.     local script = Instance.new('LocalScript', ChangeLogSelect)
  235.  
  236.     script.Parent.MouseButton1Click:Connect(function()
  237.         script.Parent.Parent.ScriptHub.Visible = false
  238.         script.Parent.Parent.CommandPrompt.Visible = false
  239.         script.Parent.Parent.ChangeLog.Visible = true
  240.     end)
  241.    
  242. end
  243. coroutine.wrap(UXGENIC_fake_script)()
  244. local function MLHUKVV_fake_script() -- CommandPromptSelect.LocalScript
  245.     local script = Instance.new('LocalScript', CommandPromptSelect)
  246.  
  247.     script.Parent.MouseButton1Click:Connect(function()
  248.         script.Parent.Parent.ScriptHub.Visible = false
  249.         script.Parent.Parent.CommandPrompt.Visible = true
  250.         script.Parent.Parent.ChangeLog.Visible = false
  251.     end)
  252.    
  253. end
  254. coroutine.wrap(MLHUKVV_fake_script)()
  255. local function AGIHT_fake_script() -- Fly.LocalScript
  256.     local script = Instance.new('LocalScript', Fly)
  257.  
  258.     script.Parent.MouseButton1Click:Connect(function()
  259.         local plr = game.Players.LocalPlayer
  260.         local mouse = plr:GetMouse()
  261.    
  262.         localplayer = plr
  263.    
  264.         if workspace:FindFirstChild("Core") then
  265.             workspace.Core:Destroy()
  266.         end
  267.    
  268.         local Core = Instance.new("Part")
  269.         Core.Name = "Core"
  270.         Core.Size = Vector3.new(0.05, 0.05, 0.05)
  271.    
  272.         spawn(function()
  273.             Core.Parent = workspace
  274.             local Weld = Instance.new("Weld", Core)
  275.             Weld.Part0 = Core
  276.             Weld.Part1 = localplayer.Character.LowerTorso
  277.             Weld.C0 = CFrame.new(0, 0, 0)
  278.         end)
  279.    
  280.         workspace:WaitForChild("Core")
  281.    
  282.         local torso = workspace.Core
  283.         flying = true
  284.         local speed=10
  285.         local keys={a=false,d=false,w=false,s=false}
  286.         local e1
  287.         local e2
  288.         local function start()
  289.             local pos = Instance.new("BodyPosition",torso)
  290.             local gyro = Instance.new("BodyGyro",torso)
  291.             pos.Name="EPIXPOS"
  292.             pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  293.             pos.position = torso.Position
  294.             gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  295.             gyro.cframe = torso.CFrame
  296.             repeat
  297.                 wait()
  298.                 localplayer.Character.Humanoid.PlatformStand=true
  299.                 local new=gyro.cframe - gyro.cframe.p + pos.position
  300.                 if not keys.w and not keys.s and not keys.a and not keys.d then
  301.                     speed=5
  302.                 end
  303.                 if keys.w then
  304.                     new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  305.                     speed=speed+0
  306.                 end
  307.                 if keys.s then
  308.                     new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  309.                     speed=speed+0
  310.                 end
  311.                 if keys.d then
  312.                     new = new * CFrame.new(speed,0,0)
  313.                     speed=speed+0
  314.                 end
  315.                 if keys.a then
  316.                     new = new * CFrame.new(-speed,0,0)
  317.                     speed=speed+0
  318.                 end
  319.                 if speed>10 then
  320.                     speed=5
  321.                 end
  322.                 pos.position=new.p
  323.                 if keys.w then
  324.                     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*0),0,0)
  325.                 elseif keys.s then
  326.                     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*0),0,0)
  327.                 else
  328.                     gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  329.                 end
  330.             until flying == false
  331.             if gyro then gyro:Destroy() end
  332.             if pos then pos:Destroy() end
  333.             flying=false
  334.             localplayer.Character.Humanoid.PlatformStand=false
  335.             speed=10
  336.         end
  337.         e1=mouse.KeyDown:connect(function(key)
  338.             if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  339.             if key=="w" then
  340.                 keys.w=true
  341.             elseif key=="s" then
  342.                 keys.s=true
  343.             elseif key=="a" then
  344.                 keys.a=true
  345.             elseif key=="d" then
  346.                 keys.d=true
  347.             elseif key=="x" then
  348.                 if flying==true then
  349.                     flying=false
  350.                 else
  351.                     flying=true
  352.                     start()
  353.                 end
  354.             end
  355.         end)
  356.         e2=mouse.KeyUp:connect(function(key)
  357.             if key=="w" then
  358.                 keys.w=false
  359.             elseif key=="s" then
  360.                 keys.s=false
  361.             elseif key=="a" then
  362.                 keys.a=false
  363.             elseif key=="d" then
  364.                 keys.d=false
  365.             end
  366.         end)
  367.         start()
  368.     end)
  369. end
  370. coroutine.wrap(AGIHT_fake_script)()
  371. local function XBPYHA_fake_script() -- Invisible.LocalScript
  372.     local script = Instance.new('LocalScript', Invisible)
  373.  
  374.     script.Parent.MouseButton1Click:Connect(function()
  375.    
  376.         Local = game:GetService('Players').LocalPlayer
  377.         Char  = Local.Character
  378.         touched,tpdback = false, false
  379.         Local.CharacterAdded:connect(function(char)
  380.             if script.Disabled ~= true then
  381.                 wait(.25)
  382.                 loc = Char.HumanoidRootPart.Position
  383.                 Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  384.             end
  385.         end)
  386.         game:GetService('UserInputService').InputBegan:connect(function(key)
  387.             if key.KeyCode == Enum.KeyCode.Equals then
  388.                 if script.Disabled ~= true then
  389.                     script.Disabled = true
  390.                     print'you may re-execute'
  391.                 end
  392.             end
  393.         end)
  394.         box = Instance.new('Part',workspace)
  395.         box.Anchored = true
  396.         box.CanCollide = true
  397.         box.Size = Vector3.new(10,1,10)
  398.         box.Position = Vector3.new(0,10000,0)
  399.         box.Touched:connect(function(part)
  400.             if (part.Parent.Name == Local.Name) then
  401.                 if touched == false then
  402.                     touched = true
  403.                     function apply()
  404.                         if script.Disabled ~= true then
  405.                             no = Char.HumanoidRootPart:Clone()
  406.                             wait(.25)
  407.                             Char.HumanoidRootPart:Destroy()
  408.                             no.Parent = Char
  409.                             Char:MoveTo(loc)
  410.                             touched = false
  411.                         end end
  412.                     if Char then
  413.                         apply()
  414.                     end
  415.                 end
  416.             end
  417.         end)
  418.         repeat wait() until Char
  419.         loc = Char.HumanoidRootPart.Position
  420.         Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  421.     end)
  422. end
  423. coroutine.wrap(XBPYHA_fake_script)()
  424. local function MLAUQMX_fake_script() -- Tp.LocalScript
  425.     local script = Instance.new('LocalScript', Tp)
  426.  
  427.     script.Parent.MouseButton1Click:Connect(function()
  428.         mouse = game.Players.LocalPlayer:GetMouse()
  429.         tool = Instance.new("Tool")
  430.         tool.RequiresHandle = false
  431.         tool.Name = "Click Teleport"
  432.         tool.Activated:connect(function()
  433.             local pos = mouse.Hit+Vector3.new(0,2.5,0)
  434.             pos = CFrame.new(pos.X,pos.Y,pos.Z)
  435.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  436.         end)
  437.         tool.Parent = game.Players.LocalPlayer.Backpack
  438.     end)
  439. end
  440. coroutine.wrap(MLAUQMX_fake_script)()
  441. local function WUAAFRN_fake_script() -- UnKnown.LocalScript
  442.     local script = Instance.new('LocalScript', UnKnown)
  443.  
  444.     script.Parent.MouseButton1Click:Connect(function()
  445.    
  446.     end)
  447. end
  448. coroutine.wrap(WUAAFRN_fake_script)()
  449. local function AVUD_fake_script() -- Frame.LocalScript
  450.     local script = Instance.new('LocalScript', Frame)
  451.  
  452.     script.Parent.Draggable = true
  453. end
  454. coroutine.wrap(AVUD_fake_script)()
  455. local function OQBLS_fake_script() -- TextButton.LocalScript
  456.     local script = Instance.new('LocalScript', TextButton)
  457.  
  458.     script.Parent.MouseButton1Click:Connect(function()
  459.         if script.Parent.Parent.Command.Text == "Execute".. "(Fly.Lua)" then
  460.             local plr = game.Players.LocalPlayer
  461.             local mouse = plr:GetMouse()
  462.    
  463.             localplayer = plr
  464.    
  465.             if workspace:FindFirstChild("Core") then
  466.                 workspace.Core:Destroy()
  467.             end
  468.    
  469.             local Core = Instance.new("Part")
  470.             Core.Name = "Core"
  471.             Core.Size = Vector3.new(0.05, 0.05, 0.05)
  472.    
  473.             spawn(function()
  474.                 Core.Parent = workspace
  475.                 local Weld = Instance.new("Weld", Core)
  476.                 Weld.Part0 = Core
  477.                 Weld.Part1 = localplayer.Character.LowerTorso
  478.                 Weld.C0 = CFrame.new(0, 0, 0)
  479.             end)
  480.    
  481.             workspace:WaitForChild("Core")
  482.    
  483.             local torso = workspace.Core
  484.             flying = true
  485.             local speed=10
  486.             local keys={a=false,d=false,w=false,s=false}
  487.             local e1
  488.             local e2
  489.             local function start()
  490.                 local pos = Instance.new("BodyPosition",torso)
  491.                 local gyro = Instance.new("BodyGyro",torso)
  492.                 pos.Name="EPIXPOS"
  493.                 pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  494.                 pos.position = torso.Position
  495.                 gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  496.                 gyro.cframe = torso.CFrame
  497.                 repeat
  498.                     wait()
  499.                     localplayer.Character.Humanoid.PlatformStand=true
  500.                     local new=gyro.cframe - gyro.cframe.p + pos.position
  501.                     if not keys.w and not keys.s and not keys.a and not keys.d then
  502.                         speed=5
  503.                     end
  504.                     if keys.w then
  505.                         new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  506.                         speed=speed+0
  507.                     end
  508.                     if keys.s then
  509.                         new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  510.                         speed=speed+0
  511.                     end
  512.                     if keys.d then
  513.                         new = new * CFrame.new(speed,0,0)
  514.                         speed=speed+0
  515.                     end
  516.                     if keys.a then
  517.                         new = new * CFrame.new(-speed,0,0)
  518.                         speed=speed+0
  519.                     end
  520.                     if speed>10 then
  521.                         speed=5
  522.                     end
  523.                     pos.position=new.p
  524.                     if keys.w then
  525.                         gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*0),0,0)
  526.                     elseif keys.s then
  527.                         gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*0),0,0)
  528.                     else
  529.                         gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  530.                     end
  531.                 until flying == false
  532.                 if gyro then gyro:Destroy() end
  533.                 if pos then pos:Destroy() end
  534.                 flying=false
  535.                 localplayer.Character.Humanoid.PlatformStand=false
  536.                 speed=10
  537.             end
  538.             e1=mouse.KeyDown:connect(function(key)
  539.                 if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  540.                 if key=="w" then
  541.                     keys.w=true
  542.                 elseif key=="s" then
  543.                     keys.s=true
  544.                 elseif key=="a" then
  545.                     keys.a=true
  546.                 elseif key=="d" then
  547.                     keys.d=true
  548.                 elseif key=="x" then
  549.                     if flying==true then
  550.                         flying=false
  551.                     else
  552.                         flying=true
  553.                         start()
  554.                     end
  555.                 end
  556.             end)
  557.             e2=mouse.KeyUp:connect(function(key)
  558.                 if key=="w" then
  559.                     keys.w=false
  560.                 elseif key=="s" then
  561.                     keys.s=false
  562.                 elseif key=="a" then
  563.                     keys.a=false
  564.                 elseif key=="d" then
  565.                     keys.d=false
  566.                 end
  567.             end)
  568.             start()
  569.         end
  570.        
  571.         if script.Parent.Parent.Command.Text == "Execute".. "(Invis.Lua)" then
  572.             Local = game:GetService('Players').LocalPlayer
  573.             Char  = Local.Character
  574.             touched,tpdback = false, false
  575.             Local.CharacterAdded:connect(function(char)
  576.                 if script.Disabled ~= true then
  577.                     wait(.25)
  578.                     loc = Char.HumanoidRootPart.Position
  579.                     Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  580.                 end
  581.             end)
  582.             game:GetService('UserInputService').InputBegan:connect(function(key)
  583.                 if key.KeyCode == Enum.KeyCode.Equals then
  584.                     if script.Disabled ~= true then
  585.                         script.Disabled = true
  586.                         print'you may re-execute'
  587.                     end
  588.                 end
  589.             end)
  590.             box = Instance.new('Part',workspace)
  591.             box.Anchored = true
  592.             box.CanCollide = true
  593.             box.Size = Vector3.new(10,1,10)
  594.             box.Position = Vector3.new(0,10000,0)
  595.             box.Touched:connect(function(part)
  596.                 if (part.Parent.Name == Local.Name) then
  597.                     if touched == false then
  598.                         touched = true
  599.                         function apply()
  600.                             if script.Disabled ~= true then
  601.                                 no = Char.HumanoidRootPart:Clone()
  602.                                 wait(.25)
  603.                                 Char.HumanoidRootPart:Destroy()
  604.                                 no.Parent = Char
  605.                                 Char:MoveTo(loc)
  606.                                 touched = false
  607.                             end end
  608.                         if Char then
  609.                             apply()
  610.                         end
  611.                     end
  612.                 end
  613.             end)
  614.             repeat wait() until Char
  615.             loc = Char.HumanoidRootPart.Position
  616.             Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  617.         end
  618.        
  619.         if script.Parent.Parent.Command.Text == "Execute".. "(Tp.Lua)" then
  620.             mouse = game.Players.LocalPlayer:GetMouse()
  621.             tool = Instance.new("Tool")
  622.             tool.RequiresHandle = false
  623.             tool.Name = "Click Teleport"
  624.             tool.Activated:connect(function()
  625.                 local pos = mouse.Hit+Vector3.new(0,2.5,0)
  626.                 pos = CFrame.new(pos.X,pos.Y,pos.Z)
  627.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  628.             end)
  629.             tool.Parent = game.Players.LocalPlayer.Backpack
  630.         end
  631.     end)
  632. end
  633. coroutine.wrap(OQBLS_fake_script)()
  634.  
Add Comment
Please, Sign In to add comment