Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Variables
- local godded = false
- -- Objects
- local FEgod = Instance.new("ScreenGui")
- local DraggableF = Instance.new("Frame")
- local TopFrame = Instance.new("Frame")
- local OnOff = Instance.new("TextButton")
- local TopBar = Instance.new("Frame")
- local X = Instance.new("TextButton")
- local Header = Instance.new("TextLabel")
- local TextLabel = Instance.new("TextLabel")
- local TopBarBot = Instance.new("Frame")
- local BotFrame = Instance.new("Frame")
- -- Properties
- FEgod.Name = "FEgod"
- FEgod.Parent = game.CoreGui
- DraggableF.Name = "DraggableF"
- DraggableF.Parent = FEgod
- DraggableF.BackgroundColor3 = Color3.new(1, 1, 1)
- DraggableF.BackgroundTransparency = 1
- DraggableF.Position = UDim2.new(0.823443234, 0, 0.83984369, 0)
- DraggableF.Size = UDim2.new(0.150000006, 0, 0.119999997, 0)
- TopFrame.Name = "TopFrame"
- TopFrame.Parent = DraggableF
- TopFrame.BackgroundColor3 = Color3.new(0.313726, 1, 0.486275)
- TopFrame.BorderSizePixel = 0
- TopFrame.Size = UDim2.new(1, 0, 1, 0)
- TopFrame.ZIndex = 2
- OnOff.Name = "OnOff"
- OnOff.Parent = TopFrame
- OnOff.BackgroundColor3 = Color3.new(1, 1, 1)
- OnOff.BackgroundTransparency = 1
- OnOff.Position = UDim2.new(0.292375654, 0, 0.510869563, 0)
- OnOff.Size = UDim2.new(0.410063356, 0, 0.293478251, 0)
- OnOff.ZIndex = 3
- OnOff.AutoButtonColor = false
- OnOff.Font = Enum.Font.SourceSansBold
- OnOff.Text = "OFF"
- OnOff.TextColor3 = Color3.new(1, 1, 1)
- OnOff.TextSize = 45
- TopBar.Name = "TopBar"
- TopBar.Parent = TopFrame
- TopBar.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- TopBar.BorderSizePixel = 0
- TopBar.Size = UDim2.new(1, 0, 0.269414485, 0)
- TopBar.ZIndex = 5
- X.Name = "X"
- X.Parent = TopBar
- X.BackgroundColor3 = Color3.new(1, 1, 1)
- X.BackgroundTransparency = 1
- X.BorderSizePixel = 0
- X.Position = UDim2.new(0.913176477, 0, 0, 0)
- X.Size = UDim2.new(0.0868235528, 0, 1, 0)
- X.ZIndex = 6
- X.AutoButtonColor = false
- X.Font = Enum.Font.SourceSansBold
- X.Text = "X"
- X.TextColor3 = Color3.new(1, 1, 1)
- X.TextSize = 25
- Header.Name = "Header"
- Header.Parent = TopBar
- Header.BackgroundColor3 = Color3.new(1, 1, 1)
- Header.BackgroundTransparency = 1
- Header.Position = UDim2.new(0.0354349278, 0, 0, 0)
- Header.Size = UDim2.new(0.837735832, 0, 1, 0)
- Header.ZIndex = 6
- Header.Font = Enum.Font.SourceSansBold
- Header.Text = "TOGGLE FE GOD GUI"
- Header.TextColor3 = Color3.new(1, 1, 1)
- Header.TextScaled = true
- Header.TextSize = 14
- Header.TextWrapped = true
- TextLabel.Parent = TopFrame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.760975599, 0, 0.804347813, 0)
- TextLabel.Size = UDim2.new(0.239024386, 0, 0.195652172, 0)
- TextLabel.ZIndex = 5
- TextLabel.Font = Enum.Font.SourceSansBold
- TextLabel.Text = "By HA8X"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- TopBarBot.Name = "TopBarBot"
- TopBarBot.Parent = TopFrame
- TopBarBot.BackgroundColor3 = Color3.new(0, 0, 0)
- TopBarBot.BorderSizePixel = 0
- TopBarBot.Position = UDim2.new(0, 0, 0.108695649, 0)
- TopBarBot.Size = UDim2.new(1, 0, 0.254853636, 0)
- TopBarBot.ZIndex = 4
- BotFrame.Name = "BotFrame"
- BotFrame.Parent = DraggableF
- BotFrame.BackgroundColor3 = Color3.new(0.254902, 0.811765, 0.384314)
- BotFrame.BorderSizePixel = 0
- BotFrame.Position = UDim2.new(0, 0, 0.108695649, 0)
- BotFrame.Size = UDim2.new(1, 0, 1, 0)
- -- Scripting
- X.MouseButton1Click:Connect(function()
- FEgod:Destroy()
- end)
- OnOff.MouseButton1Click:Connect(function()
- if godded == false then
- hum = game:GetService("Players").LocalPlayer.Character.Humanoid
- hum.Parent = humstore
- newhum = hum:Clone()
- newhum.Parent = game:GetService("Players").LocalPlayer.Character
- OnOff.Text = "ON"
- godded = true
- elseif godded == true then
- newhum:Destroy()
- hum.Parent = game:GetService("Players").LocalPlayer.Character
- OnOff.Text = "OFF"
- godded = false
- end
- end)
- -- Drag
- DraggableF.Draggable = true
- DraggableF.Active = true
- -- Resetting Values
- game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function()
- godded = false
- hum = nil
- newhum = nil
- OnOff.Text = "OFF"
- for i,v in pairs(humstore:GetChildren())do
- v:Destroy()
- end
- end)
Advertisement
Advertisement