script open sourse Russian
Key RequiredUniversal

script open sourse Russian

Universal Scriptpidoras1488pidoras1488 2.7K views 30 executesUpdated Mar 7, 2025
2.5/ 5(2 votes)
1150% Positive
Lua Script•192 lines (6961 chars)
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 250, 0.2, 220) -- Размер GUI без изменений
frame.Position = UDim2.new(0.5, -125, 0.5, -110)
frame.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
frame.Active = true
frame.Draggable = true
frame.Parent = screenGui

-- Заголовок GUI
local titleLabel = Instance.new("TextLabel")
titleLabel.Size = UDim2.new(0, 200, 0, 30)
titleLabel.Position = UDim2.new(0.1, 0, 0, 0) -- Позиция заголовка без изменений
titleLabel.Text = "Fly & Kick GUI FLY ONLY PC"
titleLabel.TextColor3 = Color3.new(1, 1, 1)
titleLabel.BackgroundTransparency = 1
titleLabel.Font = Enum.Font.SourceSansBold
titleLabel.TextSize = 18
titleLabel.Parent = frame

local closeButton = Instance.new("TextButton")
closeButton.Size = UDim2.new(0, 20, 0, 20)
closeButton.Position = UDim2.new(1, -25, 0, 5)
closeButton.Text = "X"
closeButton.BackgroundColor3 = Color3.new(0.8, 0.2, 0.2)
closeButton.Parent = frame

local kickButton = Instance.new("TextButton")
kickButton.Size = UDim2.new(0, 200, 0, 40)
kickButton.Position = UDim2.new(0.1, 0, 0.7, 0)
kickButton.Text = "Кикнуть себя"
kickButton.BackgroundColor3 = Color3.new(0.8, 0.2, 0.2)
kickButton.Parent = frame

local reasonBox = Instance.new("TextBox")
reasonBox.Size = UDim2.new(0, 200, 0, 30)
reasonBox.Position = UDim2.new(0.1, 0, 0.55, 0)
reasonBox.BackgroundColor3 = Color3.new(1, 1, 1)
reasonBox.TextColor3 = Color3.new(0, 0, 0)
reasonBox.Parent = frame

local flyButton = Instance.new("TextButton")
flyButton.Size = UDim2.new(0, 200, 0, 40)
flyButton.Position = UDim2.new(0.1, 0, 0.1, 0)
flyButton.Text = "Летать"
flyButton.BackgroundColor3 = Color3.new(0.2, 0.8, 0.2)
flyButton.Parent = frame

local speedLabel = Instance.new("TextLabel")
speedLabel.Size = UDim2.new(0, 200, 0, 20)
speedLabel.Position = UDim2.new(0.1, 0, 0.3, 0)
speedLabel.Text = "Скорость: 1"
speedLabel.BackgroundTransparency = 1
speedLabel.TextColor3 = Color3.new(1, 1, 1)
speedLabel.Parent = frame

local speedUpButton = Instance.new("TextButton")
speedUpButton.Size = UDim2.new(0, 40, 0, 40)
speedUpButton.Position = UDim2.new(0.7, 0, 0.4, 0)
speedUpButton.Text = "+"
speedUpButton.BackgroundColor3 = Color3.new(0.4, 0.8, 0.4)
speedUpButton.Parent = frame

local speedDownButton = Instance.new("TextButton")
speedDownButton.Size = UDim2.new(0, 40, 0, 40)
speedDownButton.Position = UDim2.new(0.1, 0, 0.4, 0)
speedDownButton.Text = "-"
speedDownButton.BackgroundColor3 = Color3.new(0.8, 0.4, 0.4)
speedDownButton.Parent = frame

local exitButton = Instance.new("TextButton")
exitButton.Size = UDim2.new(0, 200, 0, 40)
exitButton.Position = UDim2.new(0.1, 0, 0.85, 0)
exitButton.Text = "Завершить скрипт"
exitButton.BackgroundColor3 = Color3.new(0.8, 0.2, 0.2)
exitButton.Parent = frame

local isMinimized = false

local isFlying = false
local flySpeed = 1
local bodyVelocity
local bodyGyro
local camera = workspace.CurrentCamera

local toggleButton = Instance.new("TextButton")
toggleButton.Size = UDim2.new(0, 30, 0, 30)
toggleButton.Position = UDim2.new(0, 0, 0, 0)
toggleButton.Text = ">"
toggleButton.BackgroundColor3 = Color3.new(0.2, 0.2, 0.8)
toggleButton.Visible = false
toggleButton.Parent = screenGui

closeButton.MouseButton1Click:Connect(function()
    frame.Visible = false
    toggleButton.Visible = true
end)

toggleButton.MouseButton1Click:Connect(function()
    frame.Visible = true
    toggleButton.Visible = false
end)

kickButton.MouseButton1Click:Connect(function()
    local reason = reasonBox.Text
    if reason == "" then
        reason = "Причина не указана"
    end
    game.Players.LocalPlayer:Kick("Вы кикнули себя. Причина: " .. reason)
end)

flyButton.MouseButton1Click:Connect(function()
    if isFlying then
        if bodyVelocity then bodyVelocity:Destroy() end
        if bodyGyro then bodyGyro:Destroy() end
        flyButton.Text = "Летать"
        flyButton.BackgroundColor3 = Color3.new(0.2, 0.8, 0.2)
        isFlying = false
    else
        local character = game.Players.LocalPlayer.Character
        if character then
            local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
            if humanoidRootPart then
                bodyVelocity = Instance.new("BodyVelocity")
                bodyVelocity.Velocity = Vector3.new(0, 0, 0)
                bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
                bodyVelocity.Parent = humanoidRootPart

                bodyGyro = Instance.new("BodyGyro")
                bodyGyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
                bodyGyro.P = 10000
                bodyGyro.D = 100
                bodyGyro.Parent = humanoidRootPart

                flyButton.Text = "Остановить полёт"
                flyButton.BackgroundColor3 = Color3.new(0.8, 0.2, 0.2)
                isFlying = true
            end
        end
    end
end)

speedUpButton.MouseButton1Click:Connect(function()
    flySpeed = math.min(flySpeed + 1, 10)
    speedLabel.Text = "Скорость: " .. tostring(flySpeed)
end)

speedDownButton.MouseButton1Click:Connect(function()
    flySpeed = math.max(flySpeed - 1, 1)
    speedLabel.Text = "Скорость: " .. tostring(flySpeed)
end)

exitButton.MouseButton1Click:Connect(function()
    if bodyVelocity then bodyVelocity:Destroy() end
    if bodyGyro then bodyGyro:Destroy() end
    screenGui:Destroy()
end)

game:GetService("RunService").RenderStepped:Connect(function()
    if isFlying then
        local character = game.Players.LocalPlayer.Character
        if character then
            local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
            if humanoidRootPart then
                local direction = Vector3.new(0, 0, 0)

                if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.W) then
                    direction = direction + camera.CFrame.LookVector
                elseif game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.S) then
                    direction = direction - camera.CFrame.LookVector
                end

                if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.A) then
                    direction = direction - camera.CFrame.RightVector
                elseif game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.D) then
                    direction = direction + camera.CFrame.RightVector
                end

                if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.Space) then
                    direction = direction + Vector3.new(0, 1, 0)
                elseif game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.LeftShift) then
                    direction = direction + Vector3.new(0, -1, 0)
                end

                bodyVelocity.Velocity = direction * (flySpeed * 10)
                bodyGyro.CFrame = camera.CFrame
            end
        end
    end
end)

Features & Information

The script is completely in Russian!

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts