zombieslayerwtf

FE Invisible Gui

Oct 13th, 2018
1,064
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.61 KB | None | 0 0
  1. local GUI = Instance.new("ScreenGui")
  2. local Main = Instance.new("Frame")
  3. local Topbar = Instance.new("Frame")
  4. local Title = Instance.new("TextLabel")
  5. local Exit = Instance.new("TextButton")
  6. local Minimize = Instance.new("TextButton")
  7. local SubFrame = Instance.new("Frame")
  8. local AirTP = Instance.new("Frame")
  9. local TextLabel = Instance.new("TextLabel")
  10. local TextLabel_2 = Instance.new("TextLabel")
  11. local BoolToggle = Instance.new("TextButton")
  12. local AutoRun = Instance.new("Frame")
  13. local TextLabel_3 = Instance.new("TextLabel")
  14. local TextLabel_4 = Instance.new("TextLabel")
  15. local BoolToggle_2 = Instance.new("TextButton")
  16. local Keybind = Instance.new("Frame")
  17. local TextLabel_5 = Instance.new("TextLabel")
  18. local TextLabel_6 = Instance.new("TextLabel")
  19. local CurrentBind = Instance.new("TextBox")
  20. local QuickInvis = Instance.new("TextButton")
  21. local Rigtype = Instance.new("TextLabel")
  22. local TextButton = Instance.new("TextButton")
  23.  
  24. -- Properties
  25.  
  26. GUI.Name = "GUI"
  27. GUI.Parent = game.CoreGui
  28.  
  29. Main.Name = "Main"
  30. Main.Parent = GUI
  31. Main.Active = true
  32. Main.BackgroundColor3 = Color3.new(0, 0, 0)
  33. Main.BackgroundTransparency = 0.5
  34. Main.BorderSizePixel = 0
  35. Main.Draggable = true
  36. Main.Position = UDim2.new(0.318181813, 0, 0.312252969, 0)
  37. Main.Size = UDim2.new(0.363636374, 0, 0.375494063, 0)
  38.  
  39. Topbar.Name = "Topbar"
  40. Topbar.Parent = Main
  41. Topbar.BackgroundColor3 = Color3.new(0, 0, 0)
  42. Topbar.BackgroundTransparency = 0.9990000128746
  43. Topbar.Size = UDim2.new(1, 0, 0.163157895, 0)
  44.  
  45. Title.Name = "Title"
  46. Title.Parent = Topbar
  47. Title.BackgroundColor3 = Color3.new(0, 0, 0)
  48. Title.BackgroundTransparency = 0.9990000128746
  49. Title.Size = UDim2.new(0.784722209, 0, 1, 0)
  50. Title.Font = Enum.Font.SciFi
  51. Title.FontSize = Enum.FontSize.Size14
  52. Title.Text = "FE Invisible By Timeless"
  53. Title.TextColor3 = Color3.new(1, 1, 1)
  54. Title.TextSize = 14
  55.  
  56. Exit.Name = "Exit"
  57. Exit.Parent = Topbar
  58. Exit.BackgroundColor3 = Color3.new(0, 0, 0)
  59. Exit.BackgroundTransparency = 0.9990000128746
  60. Exit.Position = UDim2.new(0.892361104, 0, 0, 0)
  61. Exit.Size = UDim2.new(0.107638888, 0, 1, 0)
  62. Exit.Font = Enum.Font.SciFi
  63. Exit.FontSize = Enum.FontSize.Size14
  64. Exit.Text = "X"
  65. Exit.TextColor3 = Color3.new(1, 1, 1)
  66. Exit.TextSize = 14
  67.  
  68. Minimize.Name = "Minimize"
  69. Minimize.Parent = Topbar
  70. Minimize.BackgroundColor3 = Color3.new(0, 0, 0)
  71. Minimize.BackgroundTransparency = 0.9990000128746
  72. Minimize.Position = UDim2.new(0.784722209, 0, 0, 0)
  73. Minimize.Size = UDim2.new(0.107638888, 0, 1, 0)
  74. Minimize.Font = Enum.Font.SciFi
  75. Minimize.FontSize = Enum.FontSize.Size14
  76. Minimize.Text = "-"
  77. Minimize.TextColor3 = Color3.new(1, 1, 1)
  78. Minimize.TextSize = 14
  79.  
  80. SubFrame.Name = "SubFrame"
  81. SubFrame.Parent = Main
  82. SubFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  83. SubFrame.BackgroundTransparency = 0.5
  84. SubFrame.BorderSizePixel = 0
  85. SubFrame.Position = UDim2.new(0, 0, 0.163157895, 0)
  86. SubFrame.Size = UDim2.new(1, 0, 0.83684212, 0)
  87.  
  88. AirTP.Name = "AirTP"
  89. AirTP.Parent = SubFrame
  90. AirTP.BackgroundColor3 = Color3.new(0, 0, 0)
  91. AirTP.BackgroundTransparency = 0.9990000128746
  92. AirTP.BorderSizePixel = 0
  93. AirTP.Position = UDim2.new(0, 0, 0.0628930852, 0)
  94. AirTP.Size = UDim2.new(1, 0, 0.176100627, 0)
  95.  
  96. TextLabel.Parent = AirTP
  97. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  98. TextLabel.BackgroundTransparency = 0.9990000128746
  99. TextLabel.Position = UDim2.new(0.166666672, 0, 0, 0)
  100. TextLabel.Size = UDim2.new(0.284722209, 0, 1, 0)
  101. TextLabel.Font = Enum.Font.SciFi
  102. TextLabel.FontSize = Enum.FontSize.Size14
  103. TextLabel.Text = "Air TP"
  104. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  105. TextLabel.TextSize = 14
  106. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  107.  
  108. TextLabel_2.Parent = AirTP
  109. TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 0)
  110. TextLabel_2.BackgroundTransparency = 0.9990000128746
  111. TextLabel_2.Position = UDim2.new(0.451388896, 0, 0, 0)
  112. TextLabel_2.Size = UDim2.new(0.0972222239, 0, 1, 0)
  113. TextLabel_2.Font = Enum.Font.SciFi
  114. TextLabel_2.FontSize = Enum.FontSize.Size14
  115. TextLabel_2.Text = "-"
  116. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  117. TextLabel_2.TextSize = 14
  118.  
  119. BoolToggle.Name = "BoolToggle"
  120. BoolToggle.Parent = AirTP
  121. BoolToggle.BackgroundColor3 = Color3.new(0.207843, 1, 0.392157)
  122. BoolToggle.BackgroundTransparency = 0.5
  123. BoolToggle.BorderSizePixel = 0
  124. BoolToggle.Position = UDim2.new(0.784722209, 0, 0, 0)
  125. BoolToggle.Size = UDim2.new(0.215277776, 0, 1, 0)
  126. BoolToggle.Font = Enum.Font.SciFi
  127. BoolToggle.FontSize = Enum.FontSize.Size14
  128. BoolToggle.Text = "true"
  129. BoolToggle.TextColor3 = Color3.new(1, 1, 1)
  130. BoolToggle.TextSize = 14
  131.  
  132. AutoRun.Name = "AutoRun"
  133. AutoRun.Parent = SubFrame
  134. AutoRun.BackgroundColor3 = Color3.new(0, 0, 0)
  135. AutoRun.BackgroundTransparency = 0.9990000128746
  136. AutoRun.Position = UDim2.new(0, 0, 0.238993704, 0)
  137. AutoRun.Size = UDim2.new(1, 0, 0.176100627, 0)
  138.  
  139. TextLabel_3.Parent = AutoRun
  140. TextLabel_3.BackgroundColor3 = Color3.new(0, 0, 0)
  141. TextLabel_3.BackgroundTransparency = 0.9990000128746
  142. TextLabel_3.Position = UDim2.new(0.166666672, 0, 0, 0)
  143. TextLabel_3.Size = UDim2.new(0.284722209, 0, 1, 0)
  144. TextLabel_3.Font = Enum.Font.SciFi
  145. TextLabel_3.FontSize = Enum.FontSize.Size14
  146. TextLabel_3.Text = "Auto Run"
  147. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  148. TextLabel_3.TextSize = 14
  149. TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
  150.  
  151. TextLabel_4.Parent = AutoRun
  152. TextLabel_4.BackgroundColor3 = Color3.new(0, 0, 0)
  153. TextLabel_4.BackgroundTransparency = 0.9990000128746
  154. TextLabel_4.Position = UDim2.new(0.451388896, 0, 0, 0)
  155. TextLabel_4.Size = UDim2.new(0.0972222239, 0, 1, 0)
  156. TextLabel_4.Font = Enum.Font.SciFi
  157. TextLabel_4.FontSize = Enum.FontSize.Size14
  158. TextLabel_4.Text = "-"
  159. TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
  160. TextLabel_4.TextSize = 14
  161.  
  162. BoolToggle_2.Name = "BoolToggle"
  163. BoolToggle_2.Parent = AutoRun
  164. BoolToggle_2.BackgroundColor3 = Color3.new(0.207843, 1, 0.392157)
  165. BoolToggle_2.BackgroundTransparency = 0.5
  166. BoolToggle_2.BorderSizePixel = 0
  167. BoolToggle_2.Position = UDim2.new(0.784722209, 0, 0, 0)
  168. BoolToggle_2.Size = UDim2.new(0.215277776, 0, 1, 0)
  169. BoolToggle_2.Font = Enum.Font.SciFi
  170. BoolToggle_2.FontSize = Enum.FontSize.Size14
  171. BoolToggle_2.Text = "true"
  172. BoolToggle_2.TextColor3 = Color3.new(1, 1, 1)
  173. BoolToggle_2.TextSize = 14
  174.  
  175. Keybind.Name = "Keybind"
  176. Keybind.Parent = SubFrame
  177. Keybind.BackgroundColor3 = Color3.new(0, 0, 0)
  178. Keybind.BackgroundTransparency = 0.9990000128746
  179. Keybind.Position = UDim2.new(0, 0, 0.415094346, 0)
  180. Keybind.Size = UDim2.new(1, 0, 0.176100627, 0)
  181.  
  182. TextLabel_5.Parent = Keybind
  183. TextLabel_5.BackgroundColor3 = Color3.new(0, 0, 0)
  184. TextLabel_5.BackgroundTransparency = 0.9990000128746
  185. TextLabel_5.Position = UDim2.new(0.166666672, 0, 0, 0)
  186. TextLabel_5.Size = UDim2.new(0.284722209, 0, 1, 0)
  187. TextLabel_5.Font = Enum.Font.SciFi
  188. TextLabel_5.FontSize = Enum.FontSize.Size14
  189. TextLabel_5.Text = "Keybind"
  190. TextLabel_5.TextColor3 = Color3.new(1, 1, 1)
  191. TextLabel_5.TextSize = 14
  192. TextLabel_5.TextXAlignment = Enum.TextXAlignment.Left
  193.  
  194. TextLabel_6.Parent = Keybind
  195. TextLabel_6.BackgroundColor3 = Color3.new(0, 0, 0)
  196. TextLabel_6.BackgroundTransparency = 0.9990000128746
  197. TextLabel_6.Position = UDim2.new(0.451388896, 0, 0, 0)
  198. TextLabel_6.Size = UDim2.new(0.0972222239, 0, 1, 0)
  199. TextLabel_6.Font = Enum.Font.SciFi
  200. TextLabel_6.FontSize = Enum.FontSize.Size14
  201. TextLabel_6.Text = "-"
  202. TextLabel_6.TextColor3 = Color3.new(1, 1, 1)
  203. TextLabel_6.TextSize = 14
  204.  
  205. CurrentBind.Name = "CurrentBind"
  206. CurrentBind.Parent = Keybind
  207. CurrentBind.BackgroundColor3 = Color3.new(0.262745, 0.964706, 1)
  208. CurrentBind.BackgroundTransparency = 0.5
  209. CurrentBind.BorderSizePixel = 0
  210. CurrentBind.Position = UDim2.new(0.784722209, 0, 0, 0)
  211. CurrentBind.Size = UDim2.new(0.215277776, 0, 1, 0)
  212. CurrentBind.Font = Enum.Font.SciFi
  213. CurrentBind.FontSize = Enum.FontSize.Size14
  214. CurrentBind.Text = "i"
  215. CurrentBind.TextColor3 = Color3.new(1, 1, 1)
  216. CurrentBind.TextSize = 14
  217.  
  218. QuickInvis.Name = "QuickInvis"
  219. QuickInvis.Parent = SubFrame
  220. QuickInvis.BackgroundColor3 = Color3.new(1, 0.227451, 0.227451)
  221. QuickInvis.BackgroundTransparency = 0.5
  222. QuickInvis.BorderSizePixel = 0
  223. QuickInvis.Position = UDim2.new(0, 0, 0.823899388, 0)
  224. QuickInvis.Size = UDim2.new(1, 0, 0.176100627, 0)
  225. QuickInvis.Font = Enum.Font.SciFi
  226. QuickInvis.FontSize = Enum.FontSize.Size14
  227. QuickInvis.Text = "Go Invisible"
  228. QuickInvis.TextColor3 = Color3.new(1, 1, 1)
  229. QuickInvis.TextSize = 14
  230.  
  231. Rigtype.Name = "Rigtype"
  232. Rigtype.Parent = SubFrame
  233. Rigtype.BackgroundColor3 = Color3.new(0, 0, 0)
  234. Rigtype.BackgroundTransparency = 0.69999998807907
  235. Rigtype.BorderSizePixel = 0
  236. Rigtype.Position = UDim2.new(0, 0, 0.647798777, 0)
  237. Rigtype.Size = UDim2.new(1, 0, 0.176100627, 0)
  238. Rigtype.Font = Enum.Font.SciFi
  239. Rigtype.FontSize = Enum.FontSize.Size14
  240. Rigtype.Text = "Your Rigtype - RigTypeHere"
  241. Rigtype.TextColor3 = Color3.new(1, 1, 1)
  242. Rigtype.TextSize = 14
  243.  
  244. TextButton.Parent = GUI
  245. TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
  246. TextButton.BackgroundTransparency = 0.5
  247. TextButton.BorderSizePixel = 0
  248. TextButton.Position = UDim2.new(0.0265151523, 0, 0.865612626, 0)
  249. TextButton.Size = UDim2.new(0.0606060624, 0, 0.0948616564, 0)
  250. TextButton.Font = Enum.Font.SciFi
  251. TextButton.FontSize = Enum.FontSize.Size14
  252. TextButton.Text = "Open"
  253. TextButton.TextColor3 = Color3.new(1, 1, 1)
  254. TextButton.TextSize = 14
  255.  
  256. local Player = game:GetService('Players').LocalPlayer
  257. local Mouse = Player:GetMouse()
  258.  
  259. local AutoRun = true
  260. local AirTP = true
  261. local Keybind = 'i'
  262.  
  263. local Green = Color3.fromRGB(53, 255, 100)
  264. local Red = Color3.fromRGB(255, 58, 58)
  265.  
  266. local function CheckRig()
  267. if Player.Character then
  268. local Humanoid = Player.Character:WaitForChild('Humanoid')
  269. if Humanoid.RigType == Enum.HumanoidRigType.R15 then
  270. return 'R15'
  271. else
  272. return 'R6'
  273. end
  274. end
  275. end
  276.  
  277. local function InitiateInvis()
  278. local Character = Player.Character
  279. local StoredCF = Character.PrimaryPart.CFrame
  280. if AirTP then
  281. local Part = Instance.new('Part',workspace)
  282. Part.Size = Vector3.new(5,0,5)
  283. Part.Anchored = true
  284. Part.CFrame = CFrame.new(Vector3.new(9999,9999,9999))
  285. Character.PrimaryPart.CFrame = Part.CFrame*CFrame.new(0,3,0)
  286. spawn(function()
  287. wait(3)
  288. Part:Destroy()
  289. end)
  290. end
  291. if CheckRig() == 'R6' then
  292. local Clone = Character.HumanoidRootPart:Clone()
  293. Character.HumanoidRootPart:Destroy()
  294. Clone.Parent = Character
  295. else
  296. local Clone = Character.LowerTorso.Root:Clone()
  297. Character.LowerTorso.Root:Destroy()
  298. Clone.Parent = Character.LowerTorso
  299. end
  300. if AirTP then
  301. wait(1)
  302. Character.PrimaryPart.CFrame = StoredCF
  303. end
  304. end
  305.  
  306. local function OnCharacterAdded()
  307. SubFrame.Rigtype.Text = ('Your Rigtype - %s'):format(CheckRig())
  308. if AutoRun then
  309. InitiateInvis()
  310. end
  311. end
  312.  
  313. local function OnButtonPress(Button)
  314. if Button == Keybind:lower() then
  315. InitiateInvis()
  316. end
  317. end
  318.  
  319. local function OnGoInvisPress()
  320. InitiateInvis()
  321. end
  322.  
  323. local function OnKeyBindTextChange()
  324. local cb = SubFrame.Keybind.CurrentBind
  325. if cb.Text:match('%w') then
  326. Keybind = cb.Text:match('%w'):lower()
  327. cb.Text = Keybind
  328. elseif cb.Text ~= '' then
  329. Keybind = 'i'
  330. cb.Text = Keybind
  331. end
  332. print(Keybind)
  333. end
  334.  
  335. local function OnAutoRunPress()
  336. local Ar = SubFrame.AutoRun.BoolToggle
  337. if AutoRun then
  338. Ar.BackgroundColor3 = Red
  339. Ar.Text = tostring(not AutoRun)
  340. AutoRun = false
  341. else
  342. Ar.BackgroundColor3 = Green
  343. Ar.Text = tostring(not AutoRun)
  344. AutoRun = true
  345. end
  346. end
  347.  
  348. local function OnAirTPPress()
  349. local ATP = SubFrame.AirTP.BoolToggle
  350. if AirTP then
  351. ATP.BackgroundColor3 = Red
  352. ATP.Text = tostring(false)
  353. AirTP = false
  354. else
  355. ATP.BackgroundColor3 = Green
  356. ATP.Text = tostring(true)
  357. AirTP = true
  358. end
  359. end
  360.  
  361. local function OnMinimizePress()
  362. Main.Visible = false
  363. GUI.TextButton.Visible = true
  364. end
  365.  
  366. local function OnOpenPress()
  367. Main.Visible = true
  368. GUI.TextButton.Visible = false
  369. end
  370.  
  371. local function OnClosePress()
  372. GUI:Destroy()
  373. end
  374.  
  375. SubFrame.Keybind.CurrentBind:GetPropertyChangedSignal('Text'):connect(OnKeyBindTextChange)
  376. Mouse.KeyDown:connect(OnButtonPress)
  377. SubFrame.AutoRun.BoolToggle.MouseButton1Down:connect(OnAutoRunPress)
  378. SubFrame.AirTP.BoolToggle.MouseButton1Down:connect(OnAirTPPress)
  379. Main.Topbar.Minimize.MouseButton1Down:connect(OnMinimizePress)
  380. GUI.TextButton.MouseButton1Down:connect(OnOpenPress)
  381. Main.Topbar.Exit.MouseButton1Down:connect(OnClosePress)
  382. SubFrame.QuickInvis.MouseButton1Down:connect(OnGoInvisPress)
  383. Player.CharacterAdded:connect(OnCharacterAdded)
  384.  
  385. SubFrame.Rigtype.Text = ('Your Rigtype - %s'):format(CheckRig())
Add Comment
Please, Sign In to add comment