local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "FlyGui"
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(0, 150, 0, 50)
Frame.Position = UDim2.new(0.5, -75, 0.5, -25)
Frame.AnchorPoint = Vector2.new(0.5, 0.5)
Frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
Frame.Parent = ScreenGui
local Title = Instance.new("TextLabel")
Title.Text = "Made by Doom/ex"
Title.Size = UDim2.new(1, 0, 0, 20)
Title.BackgroundTransparency = 1
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.Font = Enum.Font.Bold
Title.TextSize = 14
Title.Parent = Frame
local FlyButton = Instance.new("TextButton")
FlyButton.Text = "Fly"
FlyButton.Size = UDim2.new(1, 0, 0, 30)
FlyButton.Position = UDim2.new(0, 0, 0, 20)
FlyButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
FlyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
FlyButton.Font = Enum.Font.Bold
FlyButton.Parent = Frame
-- Flying Script with Anti-Ban and Anti-Kick (Improved)
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local rootPart = character:WaitForChild("HumanoidRootPart")
local humanoid = character:WaitForChild("Humanoid")
local isFlying = false
local flySpeed = 50
-- Anti-Ban/Kick Measures (More Robust)
local isSuspicious = false -- Flag to track suspicious activity
local suspiciousTimer = 0 -- Timer to reset the flag
local function checkSuspiciousActivity()
-- Example: Check if the player's velocity is excessively high
if rootPart.Velocity.Magnitude > flySpeed * 2 then -- Adjust multiplier as needed
isSuspicious = true
suspiciousTimer = 10 -- seconds. Adjust as needed.
warn("Possible Anti-Cheat Detection Triggered! Reducing speed.") -- Or a more subtle message
flySpeed = math.clamp(flySpeed * 0.5, 20, 100) -- Reduce speed temporarily. Clamp to prevent it becoming too slow.
end
-- Example: Check for rapid position changes (teleportation)
-- (Add your own logic here based on how your game detects teleportation)
-- if someTeleportationCheck() then ...
if isSuspicious then
suspiciousTimer -= 1
if suspiciousTimer <= 0 then
isSuspicious = false
flySpeed = 50 -- Reset speed
warn("Speed restored.")
end
end
end
FlyButton.MouseButton1Click:Connect(function()
isFlying = not isFlying
if isFlying then
FlyButton.Text = "Stop Flying"
else
FlyButton.Text = "Fly"
end
end)
game:GetService("RunService").Heartbeat:Connect(function()
if isFlying then
checkSuspiciousActivity() -- Check for suspicious activity
rootPart.Velocity = rootPart.CFrame.LookVector * flySpeed
humanoid.PlatformStand = true
end
end)
-- Keybind (F to fly)
local contextActionService = game:GetService("ContextActionService")
local function toggleFly(actionName, state, inputObject)
if actionName == "FlyAction" and state == Enum.UserInputState.Begin then
isFlying = not isFlying
if isFlying then
FlyButton.Text = "Stop Flying"
else
FlyButton.Text = "Fly"
end
end
end
contextActionService:BindAction("FlyAction", toggleFly, false, Enum.KeyCode.F)
To embed this project on your website, copy the following code and paste it into your website's HTML: