Advertisement
Vzurxy

[Atom] FE God Mode Toggle

Sep 18th, 2018
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None | 0 0
  1. print("Loaded")
  2.  
  3. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Godmode", Text = "GUI has been started."})
  4.  
  5. wait()
  6.  
  7. -- // Objects \\ --
  8.  
  9. local FeGodMode = Instance.new("ScreenGui")
  10. local Base = Instance.new("Frame")
  11. local BaseDetail = Instance.new("Frame")
  12. local BaseLabel = Instance.new("TextLabel")
  13. local SideBar = Instance.new("Frame")
  14. local Downbar = Instance.new("Frame")
  15. local On = Instance.new("TextButton")
  16. local Off = Instance.new("TextButton")
  17. local Exit = Instance.new("TextButton")
  18.  
  19. -- // Stuff \\ --
  20.  
  21. local Player = game:GetService("Players").LocalPlayer
  22. local Humanoid = Player.Character:FindFirstChildOfClass("Humanoid")
  23. local Memory = Instance.new("Folder")
  24.  
  25. Memory.Parent = game
  26.  
  27. local Godded = false
  28.  
  29. Player.CharacterAdded:Connect(function()
  30. warn("New character detected.")
  31. wait()
  32. Humanoid = Player.Character:FindFirstChildOfClass("Humanoid")
  33. for _,v in next, Folder:GetChildren() do
  34. v:Destroy()
  35. end
  36. Godded = false
  37. end)
  38.  
  39. -- // Properties \\ --
  40.  
  41. FeGodMode.Name = ""
  42. FeGodMode.Parent = game.CoreGui
  43. FeGodMode.ResetOnSpawn = false
  44.  
  45. Base.Name = "Base"
  46. Base.Parent = FeGodMode
  47. Base.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  48. Base.BorderColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  49. Base.LayoutOrder = 1
  50. Base.Position = UDim2.new(0.596330404, 0, 0.579681396, 0)
  51. Base.Size = UDim2.new(0, 207, 0, 138)
  52. Base.Active = true
  53. Base.Draggable = true
  54.  
  55. BaseDetail.Name = "BaseDetail"
  56. BaseDetail.Parent = Base
  57. BaseDetail.BackgroundColor3 = Color3.new(0.215686, 0.215686, 0.215686)
  58. BaseDetail.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  59. BaseDetail.LayoutOrder = 3
  60. BaseDetail.Size = UDim2.new(0, 207, 0, 22)
  61.  
  62. BaseLabel.Name = "BaseLabel"
  63. BaseLabel.Parent = BaseDetail
  64. BaseLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  65. BaseLabel.BackgroundTransparency = 1
  66. BaseLabel.Position = UDim2.new(0.149758458, 0, 0, 0)
  67. BaseLabel.Size = UDim2.new(0, 152, 0, 22)
  68. BaseLabel.Font = Enum.Font.SourceSansBold
  69. BaseLabel.Text = "FE God"
  70. BaseLabel.TextColor3 = Color3.new(1, 1, 1)
  71. BaseLabel.TextScaled = true
  72. BaseLabel.TextSize = 14
  73. BaseLabel.TextWrapped = true
  74.  
  75. SideBar.Name = "SideBar"
  76. SideBar.Parent = BaseDetail
  77. SideBar.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  78. SideBar.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  79. SideBar.BorderSizePixel = 0
  80. SideBar.Position = UDim2.new(1, 0, 0, 0)
  81. SideBar.Size = UDim2.new(0, 7, 0, 138)
  82.  
  83. Downbar.Name = "Downbar"
  84. Downbar.Parent = BaseDetail
  85. Downbar.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  86. Downbar.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  87. Downbar.BorderSizePixel = 0
  88. Downbar.Position = UDim2.new(0, 0, 6.27272749, 0)
  89. Downbar.Size = UDim2.new(0, 214, 0, 6)
  90.  
  91. On.Name = "On"
  92. On.Parent = Base
  93. On.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  94. On.BorderColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  95. On.BorderSizePixel = 2
  96. On.Position = UDim2.new(0.0386473425, 0, 0.391304374, 0)
  97. On.Size = UDim2.new(0, 77, 0, 42)
  98. On.Font = Enum.Font.SourceSans
  99. On.Text = "Turn On"
  100. On.TextColor3 = Color3.new(1, 1, 1)
  101. On.TextScaled = true
  102. On.TextSize = 14
  103. On.TextWrapped = true
  104.  
  105. local Clone
  106.  
  107. On.MouseButton1Down:Connect(function()
  108. if _G.Destroy == true then
  109. FeGodMode:Destroy()
  110. Godded = true
  111. end
  112. if Godded == false then
  113. Godded = true
  114. Clone = Instance.new("Humanoid")
  115. Humanoid.Parent = Memory
  116. Clone.Parent = Player.Character
  117. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Godmode", Text = "Godmode has been enabled."})
  118. end
  119. end)
  120.  
  121. Off.Name = "Off"
  122. Off.Parent = Base
  123. Off.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  124. Off.BorderColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  125. Off.BorderSizePixel = 2
  126. Off.Position = UDim2.new(0.579710126, 0, 0.391304374, 0)
  127. Off.Size = UDim2.new(0, 77, 0, 42)
  128. Off.Font = Enum.Font.SourceSans
  129. Off.Text = "Turn Off"
  130. Off.TextColor3 = Color3.new(1, 1, 1)
  131. Off.TextScaled = true
  132. Off.TextSize = 14
  133. Off.TextWrapped = true
  134.  
  135. Off.MouseButton1Click:Connect(function()
  136. if Godded == true then
  137. Godded = false
  138. Clone:Destroy()
  139. Humanoid.Parent = Player.Character
  140. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Godmode", Text = "Godmode has been disabled."})
  141. end
  142. end)
  143.  
  144. Exit.Name = "Exit"
  145. Exit.Parent = Base
  146. Exit.BackgroundColor3 = Color3.new(0.215686, 0.215686, 0.215686)
  147. Exit.BorderSizePixel = 0
  148. Exit.Size = UDim2.new(0, 25, 0, 22)
  149. Exit.Font = Enum.Font.SourceSansBold
  150. Exit.Text = "X"
  151. Exit.TextColor3 = Color3.new(0.882353, 0.180392, 0.0392157)
  152. Exit.TextScaled = true
  153. Exit.TextSize = 14
  154. Exit.TextWrapped = true
  155.  
  156. Exit.MouseButton1Down:Connect(function()
  157. FeGodMode:Destroy()
  158. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Destroyed", Text = "GUI has been destroyed."})
  159. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement