Categories > Exploiting > Scripts >
my scripts and other peples scripts (this will be updated and it will be fixed)
Posted
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local flying = false
local noclip = false
local flySpeed = 50
local bodyGyro, bodyVelocity
local targetVelocity = Vector3.new(0, 0, 0)
local smoothingFactor = 0.1 -- Controls how smoothly the velocity changes
-- Random Green Shades
local greenColors = {
Color3.fromRGB(0, 255, 0),
Color3.fromRGB(0, 200, 0),
Color3.fromRGB(50, 255, 50),
Color3.fromRGB(0, 255, 100),
Color3.fromRGB(20, 230, 20)
}
-- GUI Setup
local function createGui()
if LocalPlayer:FindFirstChild("PlayerGui"):FindFirstChild("MyAdminGUI") then return end
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "MyAdminGUI"
ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(0, 400, 0, 500)
Frame.Position = UDim2.new(0.5, -200, 0.2, 0)
Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Frame.BorderSizePixel = 0
Frame.Active = true
Frame.Draggable = true
Frame.Parent = ScreenGui
local UICorner = Instance.new("UICorner", Frame)
UICorner.CornerRadius = UDim.new(0, 20)
local Title = Instance.new("TextLabel")
Title.Size = UDim2.new(1, 0, 0, 50)
Title.Text = "Eue's epok haxs gui"
Title.BackgroundColor3 = greenColors[math.random(1, #greenColors)]
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.Font = Enum.Font.SourceSansBold
Title.TextSize = 20
Title.Parent = Frame
-- Button creator with spacing adjustments
local buttonSpacing = 0.1
local function createButton(text, position, callback)
local Button = Instance.new("TextButton")
Button.Size = UDim2.new(0.8, 0, 0, 40)
Button.Position = UDim2.new(0.1, 0, position, 0)
Button.Text = text
Button.BackgroundColor3 = greenColors[math.random(1, #greenColors)]
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.Font = Enum.Font.SourceSansBold
Button.TextSize = 16
Button.Parent = Frame
local UICorner = Instance.new("UICorner", Button)
UICorner.CornerRadius = UDim.new(0, 15)
Button.MouseButton1Click:Connect(callback)
end
-- Fly Mode (Smoother)
local function startFly()
if flying or not LocalPlayer.Character then return end
flying = true
local hrp = LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
if hrp then
bodyGyro = Instance.new("BodyGyro")
bodyGyro.MaxTorque = Vector3.new(400000, 400000, 400000) -- Max torque for smooth rotation
bodyGyro.D = 10 -- Damping for smooth rotation
bodyGyro.Parent = hrp
bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(0, 0, 0)
bodyVelocity.MaxForce = Vector3.new(9e9, 9e9, 9e9)
bodyVelocity.Parent = hrp
end
end
local function stopFly()
flying = false
if bodyGyro then bodyGyro:Destroy() end
if bodyVelocity then bodyVelocity:Destroy() end
end
-- Update velocity and rotation smoothly during flight
RunService.RenderStepped:Connect(function()
if flying and Character then
local hrp = Character:FindFirstChild("HumanoidRootPart")
if hrp then
-- Smoothly adjust the velocity
local forwardVector = Character.HumanoidRootPart.CFrame.LookVector
local upVector = Vector3.new(0, 1, 0)
local rightVector = Character.HumanoidRootPart.CFrame.RightVector
local targetMovement = Vector3.new(0, 0, 0)
if UIS:IsKeyDown(Enum.KeyCode.W) then
targetMovement = forwardVector * flySpeed
elseif UIS:IsKeyDown(Enum.KeyCode.S) then
targetMovement = -forwardVector * flySpeed
elseif UIS:IsKeyDown(Enum.KeyCode.A) then
targetMovement = -rightVector * flySpeed
elseif UIS:IsKeyDown(Enum.KeyCode.D) then
targetMovement = rightVector * flySpeed
end
if UIS:IsKeyDown(Enum.KeyCode.Space) then
targetVelocity = Vector3.new(0, flySpeed, 0)
elseif UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
targetVelocity = Vector3.new(0, -flySpeed, 0)
end
-- Smooth transition to the new velocity
bodyVelocity.Velocity = bodyVelocity.Velocity:Lerp(targetMovement + targetVelocity, smoothingFactor)
-- Smoothly rotate towards the movement direction
bodyGyro.CFrame = CFrame.new(hrp.Position, hrp.Position + targetMovement)
end
end
end)
-- Fly Toggle Button
createButton("🚀 Toggle Fly", buttonSpacing, function()
if flying then stopFly() else startFly() end
end)
-- Speed Boost
createButton("âš¡ Speed Boost", buttonSpacing + 0.1, function()
if LocalPlayer.Character then
LocalPlayer.Character.Humanoid.WalkSpeed = 100
end
end)
-- Jump Boost
createButton("🦘 Jump Boost", buttonSpacing + 0.2, function()
if LocalPlayer.Character then
LocalPlayer.Character.Humanoid.JumpPower = 200
end
end)
-- Noclip Mode
createButton("🛸 Toggle Noclip", buttonSpacing + 0.3, function()
noclip = not noclip
end)
RunService.Stepped:Connect(function()
if noclip and LocalPlayer.Character then
for _, part in pairs(LocalPlayer.Character:GetChildren()) do
if part:IsA("BasePart") then
part.CanCollide = false
end
end
end
end)
-- ESP (Wallhack)
createButton("👀 Toggle ESP", buttonSpacing + 0.4, function()
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer then
if not player.Character:FindFirstChild("Highlight") then
local Highlight = Instance.new("Highlight", player.Character)
Highlight.FillColor = Color3.fromRGB(255, 0, 0)
Highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
else
player.Character.Highlight:Destroy()
end
end
end
end)
-- God Mode
createButton("💀 God Mode", buttonSpacing + 0.5, function()
if LocalPlayer.Character then
LocalPlayer.Character.Humanoid.MaxHealth = math.huge
LocalPlayer.Character.Humanoid.Health = math.huge
end
end)
-- Kill All
createButton("☠Kill All", buttonSpacing + 0.6, function()
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer and player.Character then
local Humanoid = player.Character:FindFirstChildOfClass("Humanoid")
if Humanoid then
Humanoid.Health = 0
end
end
end
end)
-- Destroy GUI
createButton("🗑 Destroy GUI", buttonSpacing + 0.7, function()
ScreenGui:Destroy()
end)
end
-- Function to handle respawn
local function onCharacterAdded(newCharacter)
Character = newCharacter
createGui()
end
LocalPlayer.CharacterAdded:Connect(onCharacterAdded)
-- Initial GUI creation
createGui()
print("🔥 Eue's epok haxs gui V7 Loaded - New UI & Smooth Fly! 🔥")
Added
yeah this took to long
Cancel
Post
Added
guys its broken im fixing it
Cancel
Post
Replied
look into using a GUI Lib, instead of writing all that stuff out yourself, stuff will take much less time.
This is the one I've always used
It will make your life, much, much easier. :)
Cancel
Post
Open to help anyone with anything, DM me on discord :)
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post