Advertisement
ProScripter29

FE Menu Version 1.0

Nov 17th, 2022 (edited)
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.91 KB | Gaming | 0 0
  1. -- Important Variables
  2. local LocalPlayer = game.Players:WaitForChild("realprohacx")
  3.  
  4. -- Services
  5. local Players = game:GetService("Players")
  6. local StarterPlayer = game:GetService("StarterPlayer")
  7.  
  8. -- GUI Functions --
  9. local function CreateBorder(Parent, Thickness, Transparency)
  10. local Int = Instance.new("UIStroke", Parent)
  11. Int.Name = "_Border"
  12. Int.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  13. Int.LineJoinMode = Enum.LineJoinMode.Round
  14. Int.Thickness = Thickness
  15. Int.Transparency = Transparency
  16. end
  17.  
  18. -- Creating the GUI --
  19. local ScreenGui = Instance.new("ScreenGui", LocalPlayer.PlayerGui)
  20. ScreenGui.Name = "HH2021's Hud"
  21. ScreenGui.ResetOnSpawn = false
  22. ScreenGui.IgnoreGuiInset = true
  23.  
  24. local Frame = Instance.new("Frame", ScreenGui)
  25. Frame.Name = "Menu"
  26. Frame.BackgroundColor3 = Color3.fromRGB(25,25,25)
  27. Frame.BackgroundTransparency = 0.35
  28. Frame.BorderSizePixel = 3
  29. Frame.BorderColor3 = Color3.fromRGB(0,0,0)
  30. Frame.Position = UDim2.new(0.41, 0, 0.312, 0)
  31. Frame.Size = UDim2.new(0.179, 0,0.374, 0)
  32.  
  33. local Title = Instance.new("TextLabel", Frame)
  34. Title.Name = "Title"
  35. Title.BackgroundTransparency = 1
  36. Title.Position = UDim2.new(0, 0,0.012, 0)
  37. Title.Size = UDim2.new(1, 0,0.103, 0)
  38. Title.Text = "FE Menu"
  39. Title.Font = Enum.Font.FredokaOne
  40. Title.TextColor3 = Color3.fromRGB(255,255,255)
  41. Title.TextScaled = true
  42.  
  43. local SpeedText = Instance.new("TextLabel", Frame)
  44. SpeedText.Name = "SpText"
  45. SpeedText.BackgroundTransparency = 1
  46. SpeedText.Position = UDim2.new(0.051, 0,0.152, 0)
  47. SpeedText.Size = UDim2.new(0.383, 0,0.077, 0)
  48. SpeedText.Text = "Speed"
  49. SpeedText.Font = Enum.Font.FredokaOne
  50. SpeedText.TextColor3 = Color3.fromRGB(255,255,255)
  51. SpeedText.TextScaled = true
  52. SpeedText.TextXAlignment = Enum.TextXAlignment.Left
  53.  
  54. local JumpText = Instance.new("TextLabel", Frame)
  55. JumpText.Name = "JpText"
  56. JumpText.BackgroundTransparency = 1
  57. JumpText.Position = UDim2.new(0.051, 0,0.269, 0)
  58. JumpText.Size = UDim2.new(0.383, 0,0.077, 0)
  59. JumpText.Text = "Jump"
  60. JumpText.Font = Enum.Font.FredokaOne
  61. JumpText.TextColor3 = Color3.fromRGB(255,255,255)
  62. JumpText.TextScaled = true
  63. JumpText.TextXAlignment = Enum.TextXAlignment.Left
  64.  
  65. local SpeedBox = Instance.new("TextBox", Frame)
  66. SpeedBox.Name = "SpeedBox"
  67. SpeedBox.BackgroundColor3 = Color3.fromRGB(0,0,0)
  68. SpeedBox.BackgroundTransparency = 0.65
  69. SpeedBox.BorderSizePixel = 2
  70. SpeedBox.BorderColor3 = Color3.fromRGB(0,0,0)
  71. SpeedBox.Position = UDim2.new(0.611, 0,0.152, 0)
  72. SpeedBox.Size = UDim2.new(0.331, 0,0.077, 0)
  73. SpeedBox.Text = ""
  74. SpeedBox.PlaceholderText = "..."
  75. SpeedBox.Font = Enum.Font.FredokaOne
  76. SpeedBox.TextColor3 = Color3.fromRGB(255,255,255)
  77. SpeedBox.TextScaled = true
  78.  
  79. local JumpBox = Instance.new("TextBox", Frame)
  80. JumpBox.Name = "SpeedBox"
  81. JumpBox.BackgroundColor3 = Color3.fromRGB(0,0,0)
  82. JumpBox.BackgroundTransparency = 0.65
  83. JumpBox.BorderSizePixel = 2
  84. JumpBox.BorderColor3 = Color3.fromRGB(0,0,0)
  85. JumpBox.Position = UDim2.new(0.611, 0,0.269, 0)
  86. JumpBox.Size = UDim2.new(0.331, 0,0.077, 0)
  87. JumpBox.Text = ""
  88. JumpBox.PlaceholderText = "..."
  89. JumpBox.Font = Enum.Font.FredokaOne
  90. JumpBox.TextColor3 = Color3.fromRGB(255,255,255)
  91. JumpBox.TextScaled = true
  92.  
  93. local ViewPlayersText = Instance.new("TextLabel", Frame)
  94. ViewPlayersText.Name = "ViewPlrsText"
  95. ViewPlayersText.BackgroundTransparency = 1
  96. ViewPlayersText.Position = UDim2.new(0.051, 0,0.459, 0)
  97. ViewPlayersText.Size = UDim2.new(0.617, 0,0.077, 0)
  98. ViewPlayersText.Text = "View Players"
  99. ViewPlayersText.Font = Enum.Font.FredokaOne
  100. ViewPlayersText.TextColor3 = Color3.fromRGB(255,255,255)
  101. ViewPlayersText.TextScaled = true
  102. ViewPlayersText.TextXAlignment = Enum.TextXAlignment.Left
  103.  
  104. local FlyText = Instance.new("TextLabel", Frame)
  105. FlyText.Name = "FlyText"
  106. FlyText.BackgroundTransparency = 1
  107. FlyText.Position = UDim2.new(0.051, 0,0.582, 0)
  108. FlyText.Size = UDim2.new(0.617, 0,0.077, 0)
  109. FlyText.Text = "Fly"
  110. FlyText.Font = Enum.Font.FredokaOne
  111. FlyText.TextColor3 = Color3.fromRGB(255,255,255)
  112. FlyText.TextScaled = true
  113. FlyText.TextXAlignment = Enum.TextXAlignment.Left
  114.  
  115. local NoclipText = Instance.new("TextLabel", Frame)
  116. NoclipText.Name = "NoClipText"
  117. NoclipText.BackgroundTransparency = 1
  118. NoclipText.Position = UDim2.new(0.051, 0,0.699, 0)
  119. NoclipText.Size = UDim2.new(0.714, 0,0.077, 0)
  120. NoclipText.Text = "Noclip"
  121. NoclipText.Font = Enum.Font.FredokaOne
  122. NoclipText.TextColor3 = Color3.fromRGB(255,255,255)
  123. NoclipText.TextScaled = true
  124. NoclipText.TextXAlignment = Enum.TextXAlignment.Left
  125.  
  126. local ViewPlayersButton = Instance.new("TextButton", Frame)
  127. ViewPlayersButton.Name = "ToggleViewPlrs"
  128. ViewPlayersButton.BackgroundColor3 = Color3.fromRGB(0,0,0)
  129. ViewPlayersButton.BackgroundTransparency = 0.5
  130. ViewPlayersButton.BorderSizePixel = 2
  131. ViewPlayersButton.BorderColor3 = Color3.fromRGB(0,0,0)
  132. ViewPlayersButton.Position = UDim2.new(0.85, 0,0.464, 0)
  133. ViewPlayersButton.Size = UDim2.new(0.077, 0,0.077, 0)
  134. ViewPlayersButton.Text = ""
  135.  
  136. local FlyButton = Instance.new("TextButton", Frame)
  137. FlyButton.Name = "ToggleFly"
  138. FlyButton.BackgroundColor3 = Color3.fromRGB(0,0,0)
  139. FlyButton.BackgroundTransparency = 0.5
  140. FlyButton.BorderSizePixel = 2
  141. FlyButton.BorderColor3 = Color3.fromRGB(0,0,0)
  142. FlyButton.Position = UDim2.new(0.85, 0,0.581, 0)
  143. FlyButton.Size = UDim2.new(0.077, 0,0.077, 0)
  144. FlyButton.Text = ""
  145.  
  146. local NoclipButton = Instance.new("TextButton", Frame)
  147. NoclipButton.Name = "ToggleNoclip"
  148. NoclipButton.BackgroundColor3 = Color3.fromRGB(0,0,0)
  149. NoclipButton.BackgroundTransparency = 0.5
  150. NoclipButton.BorderSizePixel = 2
  151. NoclipButton.BorderColor3 = Color3.fromRGB(0,0,0)
  152. NoclipButton.Position = UDim2.new(0.85, 0,0.697, 0)
  153. NoclipButton.Size = UDim2.new(0.077, 0,0.077, 0)
  154. NoclipButton.Text = ""
  155.  
  156. --local Border1 = CreateBorder(Frame, 3, 0.35)
  157. --local Border2 = CreateBorder(SpeedBox, 2.5, 0.55)
  158. --local Border3 = CreateBorder(JumpBox, 2.5, 0.55)
  159. --local Border4 = CreateBorder(ViewPlayersButton, 2.5, 0.55)
  160. --local Border5 = CreateBorder(FlyButton, 2.5, 0.55)
  161. --local Border6 = CreateBorder(NoclipButton, 2.5, 0.55)
  162.  
  163. -- Main Function --
  164.  
  165. print("FE Menu Loaded! Enjoy ;)")
  166.  
  167. -- Speed
  168.  
  169. spawn(function()
  170. while task.wait() do
  171. spawn(function()
  172. if (tonumber(SpeedBox.ContentText) ~= nil) then
  173. local Character = LocalPlayer.Character
  174. if Character then
  175. local Humanoid = Character:FindFirstChild("Humanoid")
  176. if Humanoid then
  177. Humanoid.WalkSpeed = tonumber(SpeedBox.ContentText)
  178. end
  179. end
  180. else
  181. local Character = LocalPlayer.Character
  182. if Character then
  183. local Humanoid = Character:FindFirstChild("Humanoid")
  184. if Humanoid then
  185. Humanoid.WalkSpeed = game.StarterPlayer.CharacterWalkSpeed
  186. end
  187. end
  188. end
  189. end)
  190. end
  191. end)
  192.  
  193. -- Jump Power
  194.  
  195. spawn(function()
  196. while task.wait() do
  197. spawn(function()
  198. if (tonumber(JumpBox.ContentText) ~= nil) then
  199. local Character = LocalPlayer.Character
  200. if Character then
  201. local Humanoid = Character:FindFirstChild("Humanoid")
  202. if Humanoid then
  203. Humanoid.UseJumpPower = true
  204. Humanoid.JumpPower = tonumber(JumpBox.ContentText)
  205. end
  206. end
  207. else
  208. local Character = LocalPlayer.Character
  209. if Character then
  210. local Humanoid = Character:FindFirstChild("Humanoid")
  211. if Humanoid then
  212. Humanoid.UseJumpPower = true
  213. Humanoid.JumpPower = game.StarterPlayer.CharacterJumpPower
  214. end
  215. end
  216. end
  217. end)
  218. end
  219. end)
  220.  
  221. -- Toggling View Players
  222.  
  223. local ViewingPlayers = false
  224.  
  225. ViewPlayersButton.MouseButton1Click:Connect(function()
  226. if not ViewingPlayers then
  227. ViewingPlayers = true
  228. ViewPlayersButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  229. ViewPlayersButton.BorderColor3 = Color3.fromRGB(25,25,25)
  230. ViewPlayersButton.BackgroundTransparency = 0.2
  231. spawn(function()
  232. while ViewingPlayers == true do
  233. for _, Player in pairs(Players:GetPlayers()) do
  234. local Character = Player.Character
  235. if Character then
  236. if not Character:FindFirstChild("_ClientHighlight") then
  237. local NewHighlight = Instance.new("Highlight", Character)
  238. NewHighlight.Name = "_ClientHighlight"
  239. NewHighlight.FillTransparency = 0.65
  240. NewHighlight.OutlineTransparency = 1
  241. else
  242. -- Ignore
  243. end
  244. end
  245. end
  246. task.wait()
  247. end
  248. end)
  249. else
  250. ViewingPlayers = false
  251. ViewPlayersButton.BackgroundColor3 = Color3.fromRGB(0,0,0)
  252. ViewPlayersButton.BorderColor3 = Color3.fromRGB(0,0,0)
  253. ViewPlayersButton.BackgroundTransparency = 0.5
  254. spawn(function()
  255. for _, Player in pairs(Players:GetPlayers()) do
  256. local Character = Player.Character
  257. if Character then
  258. if Character:FindFirstChild("_ClientHighlight") then
  259. Character._ClientHighlight:Destroy()
  260. else
  261. -- Ignore
  262. end
  263. end
  264. end
  265. end)
  266. end
  267. end)
  268.  
  269. -- Toggle FLY
  270.  
  271. local Flying = false
  272.  
  273. FlyButton.MouseButton1Click:Connect(function()
  274. if not Flying then
  275. Flying = true
  276. FlyButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  277. FlyButton.BorderColor3 = Color3.fromRGB(25,25,25)
  278. FlyButton.BackgroundTransparency = 0.2
  279. spawn(function()
  280. local Character = LocalPlayer.Character
  281. if Character then
  282. local Humanoid = Character.HumanoidRootPart
  283. if Humanoid then
  284. local FlyVelocity = Instance.new("BodyVelocity", Character.HumanoidRootPart)
  285. FlyVelocity.Name = "_FlyVelocity"
  286. FlyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  287. spawn(function()
  288. local Mouse = LocalPlayer:GetMouse()
  289. Mouse.Move:Connect(function()
  290. if Flying then
  291. FlyVelocity.Velocity = Mouse.Hit.LookVector * 50
  292. Humanoid.CFrame = CFrame.lookAt(Humanoid.Position, Mouse.Hit.Position)
  293. end
  294. end)
  295. end)
  296. end
  297. end
  298. end)
  299. else
  300. Flying = false
  301. FlyButton.BackgroundColor3 = Color3.fromRGB(0,0,0)
  302. FlyButton.BorderColor3 = Color3.fromRGB(0,0,0)
  303. FlyButton.BackgroundTransparency = 0.5
  304. spawn(function()
  305. local Character = LocalPlayer.Character
  306. if Character then
  307. local Humanoid = Character.HumanoidRootPart
  308. if Humanoid then
  309. if Humanoid:FindFirstChild("_FlyVelocity") then
  310. Humanoid._FlyVelocity:Destroy()
  311. end
  312. end
  313. end
  314. end)
  315. end
  316. end)
  317.  
  318. -- Noclipper
  319.  
  320. local Noclipping = false
  321.  
  322. NoclipButton.MouseButton1Click:Connect(function()
  323. if not Noclipping then
  324. Noclipping = true
  325. NoclipButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  326. NoclipButton.BorderColor3 = Color3.fromRGB(25,25,25)
  327. NoclipButton.BackgroundTransparency = 0.2
  328. spawn(function()
  329. local Character = LocalPlayer.Character
  330. if Character then
  331. local Humanoid
  332. if Character.Humanoid and Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  333. Humanoid = Character:FindFirstChild("UpperTorso")
  334. elseif Character.Humanoid and Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  335. Humanoid = Character:FindFirstChild("Torso")
  336. end
  337. if Humanoid then
  338. Humanoid.Touched:Connect(function(Hit)
  339. if Noclipping then
  340. if not Hit:FindFirstChild("_OriginalCollisions") then
  341. local New = Instance.new("BoolValue", Hit)
  342. New.Name = "_OriginalCollisions"
  343. New.Value = Hit.CanCollide
  344. end
  345. Hit.CanCollide = false
  346. end
  347. end)
  348. end
  349. end
  350. end)
  351. else
  352. Noclipping = false
  353. NoclipButton.BackgroundColor3 = Color3.fromRGB(0,0,0)
  354. NoclipButton.BorderColor3 = Color3.fromRGB(0,0,0)
  355. NoclipButton.BackgroundTransparency = 0.5
  356. spawn(function()
  357. for _, Object in pairs(workspace:GetDescendants()) do
  358. if Object:IsA("BasePart") or Object:IsA("UnionOperation") then
  359. if Object:FindFirstChild("_OriginalCollisions") then
  360. Object.CanCollide = Object._OriginalCollisions.Value
  361. Object._OriginalCollisions:Destroy()
  362. end
  363. end
  364. end
  365. end)
  366. end
  367. end)
  368.  
  369. -- EXTRA Functions & Services --
  370.  
  371. local UIS = game:GetService("UserInputService")
  372.  
  373. function Dragify(Frame)
  374. dragToggle = nil
  375. dragSpeed = 0.15
  376. dragInput = nil
  377. dragStart = nil
  378. dragPos = nil
  379. function updateInput(input)
  380. Delta = input.Position - dragStart
  381. Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  382. game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.035), {Position = Position}):Play()
  383. end
  384. Frame.InputBegan:Connect(function(input)
  385. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
  386. dragToggle = true
  387. dragStart = input.Position
  388. startPos = Frame.Position
  389. input.Changed:Connect(function()
  390. if input.UserInputState == Enum.UserInputState.End then
  391. dragToggle = false
  392. end
  393. end)
  394. end
  395. end)
  396. Frame.InputChanged:Connect(function(input)
  397. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  398. dragInput = input
  399. end
  400. end)
  401. game:GetService("UserInputService").InputChanged:Connect(function(input)
  402. if input == dragInput and dragToggle then
  403. updateInput(input)
  404. end
  405. end)
  406. end
  407.  
  408. Dragify(Frame)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement