MOHGOL XAEK
Key RequiredUniversal

MOHGOL XAEK

Universal ScriptLunarbrebeautyLunarbrebeauty 270 views 501 executesUpdated Mar 24, 2026
Unrated
00
Lua Script•353 lines (9443 chars)
-- Мискагийн Roblox Скрипт | Miska's Roblox Script
-- Rayfield UI Library ашиглан хийсэн

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")

-- Rayfield татах
local success, Rayfield = pcall(function()
    return loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
end)

if not success then
    warn("Rayfield ачаалахад алдаа гарлаа!")
    return
end

local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")

-- Тохиргоо
local Settings = {
    FlyEnabled = false,
    FlySpeed = 50,
    WalkSpeed = 16,
    JumpPower = 50,
    Noclip = false,
    InfiniteJump = false,
    BrightMode = false,
    AntiAFK = false,
}

-- Нисэх хувьсагч
local FlyConnection = nil
local BodyVelocity = nil
local BodyGyro = nil

-- Нисэх функц
local function EnableFly()
    if not Character or not HumanoidRootPart then return end
    
    BodyVelocity = Instance.new("BodyVelocity")
    BodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
    BodyVelocity.Velocity = Vector3.zero
    BodyVelocity.Parent = HumanoidRootPart
    
    BodyGyro = Instance.new("BodyGyro")
    BodyGyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
    BodyGyro.P = 10000
    BodyGyro.Parent = HumanoidRootPart
    
    Humanoid.PlatformStand = true
    
    FlyConnection = RunService.RenderStepped:Connect(function()
        if not Settings.FlyEnabled then return end
        
        local Camera = workspace.CurrentCamera
        local MoveDir = Vector3.zero
        
        -- Мобайл/Гар дэвсгэрийн оролт
        local MoveVector = Humanoid.MoveDirection
        
        if MoveVector.Magnitude > 0 then
            MoveDir = (Camera.CFrame * CFrame.new(MoveVector.X, 0, MoveVector.Z)).Position - Camera.CFrame.Position
            MoveDir = MoveDir.Unit
        end
        
        -- Дээш/доош хяналт
        if UserInputService:IsKeyDown(Enum.KeyCode.Space) or UserInputService:IsKeyDown(Enum.KeyCode.E) then
            MoveDir = MoveDir + Vector3.new(0, 1, 0)
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) or UserInputService:IsKeyDown(Enum.KeyCode.Q) then
            MoveDir = MoveDir + Vector3.new(0, -1, 0)
        end
        
        BodyVelocity.Velocity = MoveDir * Settings.FlySpeed
        BodyGyro.CFrame = Camera.CFrame
    end)
end

local function DisableFly()
    if BodyVelocity then BodyVelocity:Destroy() end
    if BodyGyro then BodyGyro:Destroy() end
    if FlyConnection then FlyConnection:Disconnect() end
    if Humanoid then Humanoid.PlatformStand = false end
    BodyVelocity = nil
    BodyGyro = nil
    FlyConnection = nil
end

-- Дүр шинэчлэх
Player.CharacterAdded:Connect(function(Char)
    Character = Char
    Humanoid = Char:WaitForChild("Humanoid")
    HumanoidRootPart = Char:WaitForChild("HumanoidRootPart")
    Humanoid.WalkSpeed = Settings.WalkSpeed
    Humanoid.JumpPower = Settings.JumpPower
    if Settings.FlyEnabled then
        task.wait(0.5)
        EnableFly()
    end
end)

-- Rayfield цонх үүсгэх
local Window = Rayfield:CreateWindow({
    Name = "🌸 Мискагийн Хяналтын Самбар 🌸",
    LoadingTitle = "Ачааллаж байна...",
    LoadingSubtitle = "Мискад зориулсан скрипт",
    Theme = "Pink",
    ConfigurationSaving = {
        Enabled = false,
    },
    Discord = {
        Enabled = false,
    },
    KeySystem = false,
})

-- ========================
-- НИС таб
-- ========================
local FlyTab = Window:CreateTab("✈️ Нисэх", 4483362458)

FlyTab:CreateToggle({
    Name = "Нисэх идэвхжүүлэх",
    CurrentValue = false,
    Flag = "FlyToggle",
    Callback = function(Value)
        Settings.FlyEnabled = Value
        if Value then
            EnableFly()
        else
            DisableFly()
        end
    end,
})

FlyTab:CreateSlider({
    Name = "Нисэх хурд",
    Range = {1, 300},
    Increment = 1,
    Suffix = "",
    CurrentValue = 50,
    Flag = "FlySpeed",
    Callback = function(Value)
        Settings.FlySpeed = Value
    end,
})

FlyTab:CreateSection("💡 Хэрэгцээт мэдээлэл")

FlyTab:CreateLabel("Дээш: Space / E | Доош: Q / LeftCtrl")
FlyTab:CreateLabel("Мобайл дээр: Хөдөлгөөний товчоор хяна")

-- ========================
-- ТОГЛОГЧ таб
-- ========================
local PlayerTab = Window:CreateTab("🏃 Тоглогч", 4483362458)

PlayerTab:CreateSlider({
    Name = "Явах хурд",
    Range = {1, 500},
    Increment = 1,
    Suffix = "",
    CurrentValue = 16,
    Flag = "WalkSpeed",
    Callback = function(Value)
        Settings.WalkSpeed = Value
        if Humanoid then
            Humanoid.WalkSpeed = Value
        end
    end,
})

PlayerTab:CreateSlider({
    Name = "Үсрэх хүч",
    Range = {1, 500},
    Increment = 1,
    Suffix = "",
    CurrentValue = 50,
    Flag = "JumpPower",
    Callback = function(Value)
        Settings.JumpPower = Value
        if Humanoid then
            Humanoid.JumpPower = Value
        end
    end,
})

PlayerTab:CreateToggle({
    Name = "Хязгааргүй үсрэх",
    CurrentValue = false,
    Flag = "InfiniteJump",
    Callback = function(Value)
        Settings.InfiniteJump = Value
    end,
})

UserInputService.JumpRequest:Connect(function()
    if Settings.InfiniteJump and Humanoid then
        Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
    end
end)

PlayerTab:CreateToggle({
    Name = "Noclip (Хана нэвтрэх)",
    CurrentValue = false,
    Flag = "Noclip",
    Callback = function(Value)
        Settings.Noclip = Value
    end,
})

RunService.Stepped:Connect(function()
    if Settings.Noclip and Character then
        for _, Part in pairs(Character:GetDescendants()) do
            if Part:IsA("BasePart") then
                Part.CanCollide = false
            end
        end
    end
end)

PlayerTab:CreateSection("⚡ Хурдан тохиргоо")

PlayerTab:CreateButton({
    Name = "Хурдыг анхны болгох",
    Callback = function()
        Settings.WalkSpeed = 16
        Settings.JumpPower = 50
        if Humanoid then
            Humanoid.WalkSpeed = 16
            Humanoid.JumpPower = 50
        end
        Rayfield:Notify({
            Title = "Анхны болгосон",
            Content = "Явах хурд ба үсрэх хүч анхны болсон!",
            Duration = 3,
        })
    end,
})

-- ========================
-- ХАРАГДАХ БАЙДАЛ таб
-- ========================
local VisualTab = Window:CreateTab("✨ Харагдах байдал", 4483362458)

VisualTab:CreateToggle({
    Name = "Гэрэлтэй орчин",
    CurrentValue = false,
    Flag = "BrightMode",
    Callback = function(Value)
        Settings.BrightMode = Value
        if Value then
            game:GetService("Lighting").Brightness = 10
            game:GetService("Lighting").ClockTime = 14
        else
            game:GetService("Lighting").Brightness = 2
            game:GetService("Lighting").ClockTime = 14
        end
    end,
})

VisualTab:CreateColorPicker({
    Name = "Дүрийн өнгө",
    Color = Color3.fromRGB(255, 100, 200),
    Flag = "CharColor",
    Callback = function(Value)
        if Character then
            for _, Part in pairs(Character:GetDescendants()) do
                if Part:IsA("BasePart") and Part.Name ~= "HumanoidRootPart" then
                    Part.Color = Value
                end
            end
        end
    end,
})

VisualTab:CreateSection("🌸 Нэр өөрчлөх")

VisualTab:CreateInput({
    Name = "Дэлгэцийн нэр",
    PlaceholderText = "Шинэ нэр оруулах...",
    RemoveTextAfterFocusLost = false,
    Flag = "DisplayName",
    Callback = function(Text)
        if Text ~= "" then
            Players.LocalPlayer.DisplayName = Text
        end
    end,
})

-- ========================
-- ТУСЛАМЖ таб
-- ========================
local MiscTab = Window:CreateTab("⚙️ Тусламж", 4483362458)

MiscTab:CreateToggle({
    Name = "AFK хамгаалалт",
    CurrentValue = false,
    Flag = "AntiAFK",
    Callback = function(Value)
        Settings.AntiAFK = Value
        if Value then
            local VirtualUser = game:GetService("VirtualUser")
            Player.Idled:Connect(function()
                if Settings.AntiAFK then
                    VirtualUser:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
                    task.wait(1)
                    VirtualUser:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
                end
            end)
        end
    end,
})

MiscTab:CreateButton({
    Name = "Дүрийг сэргээх",
    Callback = function()
        if Humanoid then
            Humanoid.Health = 0
        end
        Rayfield:Notify({
            Title = "Сэргээж байна...",
            Content = "Таны дүр сэргэж байна!",
            Duration = 3,
        })
    end,
})

MiscTab:CreateButton({
    Name = "Тоглоомоос гарах",
    Callback = function()
        game:GetService("TeleportService"):Teleport(game.PlaceId, Player)
    end,
})

MiscTab:CreateSection("🌸 Мискад зориулсан")
MiscTab:CreateLabel("Энэ скриптийг чамд хийлээ! 💕")
MiscTab:CreateLabel("Сайхан тоглоорой, Миска! 🌸✨")

-- Эхлүүлэх мессеж
Rayfield:Notify({
    Title = "🌸 Тавтай морил!",
    Content = "Мискагийн хяналтын самбар бэлэн боллоо! 💕",
    Duration = 5,
    Image = 4483362458,
})

print("🌸 Мискагийн скрипт амжилттай ачааллаа!")

Features & Information

uh
#mongol

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts