DerpyAdmins

FE Hax GUI (Ass, but complain to Harkinian)

Oct 8th, 2017
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1. --made in literally 5 minutes, just a copy paste of the only working buttons on fe hax gui
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13. hi = game:GetObjects('rbxassetid://928597043')[1]
  14. hi.Parent = game:GetService'CoreGui'
  15. hi.TextButton.sd.MouseButton1Down:Connect(function()
  16. for i =1,100 do
  17. spawn(function()
  18. while wait() do
  19. for i,v in pairs(game:GetService'Players':GetPlayers()) do
  20. if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  21. for _,x in pairs(v.Character.Head:GetChildren()) do
  22. if x:IsA'Sound' then x.Playing = true end
  23. end
  24. end
  25. end
  26. end
  27. end)
  28. end
  29. end)
  30. --hot fly script by RGEENEUS cuz im too lazy to make one
  31. local speed = 50 -- This is the fly speed. Change it to whatever you like. The variable can be changed while running
  32. local c
  33. local h
  34. local bv
  35. local bav
  36. local cam
  37. local flying
  38. local p = game:GetService'Players'.LocalPlayer
  39. local buttons = {W = false, S = false, A = false, D = false, Moving = false}
  40. local startFly = function () -- Call this function to begin flying
  41. if not p.Character or not p.Character.Head or flying then return end
  42. c = p.Character
  43. h = c.Humanoid
  44. h.PlatformStand = true
  45. cam = workspace:WaitForChild('Camera')
  46. bv = Instance.new("BodyVelocity")
  47. bav = Instance.new("BodyAngularVelocity")
  48. bv.Velocity, bv.MaxForce, bv.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
  49. bav.AngularVelocity, bav.MaxTorque, bav.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
  50. bv.Parent = c.Head
  51. bav.Parent = c.Head
  52. flying = true
  53. h.Died:connect(function() flying = false end)
  54. end
  55. local endFly = function () -- Call this function to stop flying
  56. if not p.Character or not flying then return end
  57. h.PlatformStand = false
  58. bv:Destroy()
  59. bav:Destroy()
  60. flying = false
  61. end
  62. game:GetService("UserInputService").InputBegan:connect(function (input, GPE)
  63. if GPE then return end
  64. for i, e in pairs(buttons) do
  65. if i ~= "Moving" and input.KeyCode == Enum.KeyCode[i] then
  66. buttons[i] = true
  67. buttons.Moving = true
  68. end
  69. end
  70. end)
  71. game:GetService("UserInputService").InputEnded:connect(function (input, GPE)
  72. if GPE then return end
  73. local a = false
  74. for i, e in pairs(buttons) do
  75. if i ~= "Moving" then
  76. if input.KeyCode == Enum.KeyCode[i] then
  77. buttons[i] = false
  78. end
  79. if buttons[i] then a = true end
  80. end
  81. end
  82. buttons.Moving = a
  83. end)
  84. local setVec = function (vec)
  85. return vec * (speed / vec.Magnitude)
  86. end
  87. game:GetService("RunService").Heartbeat:connect(function (step) -- The actual fly function, called every frame
  88. if flying and c and c.PrimaryPart then
  89. local p = c.PrimaryPart.Position
  90. local cf = cam.CFrame
  91. local ax, ay, az = cf:toEulerAnglesXYZ()
  92. c:SetPrimaryPartCFrame(CFrame.new(p.x, p.y, p.z) * CFrame.Angles(ax, ay, az))
  93. if buttons.Moving then
  94. local t = Vector3.new()
  95. if buttons.W then t = t + (setVec(cf.lookVector)) end
  96. if buttons.S then t = t - (setVec(cf.lookVector)) end
  97. if buttons.A then t = t - (setVec(cf.rightVector)) end
  98. if buttons.D then t = t + (setVec(cf.rightVector)) end
  99. c:TranslateBy(t * step)
  100. end
  101. end
  102. end)
  103. hi.TextButton.fh.MouseButton1Down:Connect(function()
  104. local lol = game:GetService'Players'.LocalPlayer.Character
  105. pcall(function()
  106. for i,v in pairs(lol:GetChildren()) do
  107. if v.Name ~= 'Head' and v.Name ~= 'Torso' and v.Name ~= 'HumanoidRootPart' then
  108. v:Destroy()
  109. end
  110. end
  111. local ok = lol:FindFirstChild'Torso'
  112. if ok then ok = ok:FindFirstChild'roblox' if ok then ok:Destroy() end end
  113. Instance.new('Humanoid', lol)
  114. if lol.HumanoidRootPart:FindFirstChild'Rank' then lol.HumanoidRootPart:FindFirstChild'Rank':Destroy() end
  115. local nouxd = lol:FindFirstChild'Torso'
  116. wait'1'
  117. lol.Head.Position = lol.Head.Position + Vector3.new(1,1,1)
  118. if nouxd then nouxd.Transparency = 1 end
  119. wait'.3'
  120. startFly()
  121. end)
  122. end)
Add Comment
Please, Sign In to add comment