Script Library

Koleksi script pribadi

3 Scripts
Library
xyz-boostv2
Script booster kecil (kadang mengganggu)
BOOST
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")
local hum = char:WaitForChild("Humanoid")

local MAJU = 4
local DELAY = 0.1
local looping = false

local gui = Instance.new("ScreenGui", player.PlayerGui)
gui.ResetOnSpawn = false

local btn = Instance.new("TextButton")
btn.Size = UDim2.new(0, 150, 0, 45)
btn.Position = UDim2.new(0.5, -75, 0.9, -20)
btn.Text = "BOOST OFF"
btn.Font = Enum.Font.GothamBold
btn.TextScaled = true
btn.TextColor3 = Color3.new(1,1,1)
btn.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
btn.Active = true
btn.Draggable = true
btn.Parent = gui

Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 10)

btn.MouseButton1Click:Connect(function()
    looping = not looping

    if looping then
        btn.Text = "BOOST ON"
        btn.BackgroundColor3 = Color3.fromRGB(0, 255, 100)

        task.spawn(function()
            while looping and hrp and hum do
                if hum.MoveDirection.Magnitude > 0 then
                    local look = Vector3.new(
                        hrp.CFrame.LookVector.X,
                        0,
                        hrp.CFrame.LookVector.Z
                    ).Unit

                    hrp.CFrame = hrp.CFrame + look * MAJU
                end

                task.wait(DELAY)
            end
        end)
    else
        btn.Text = "BOOST OFF"
        btn.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
    end
end)

player.CharacterAdded:Connect(function(c)
    char = c
    hrp = c:WaitForChild("HumanoidRootPart")
    hum = c:WaitForChild("Humanoid")
    looping = false
    btn.Text = "BOOST OFF"
    btn.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
end)
xyz-player Helper
Membantu player egg di spawn!
HELPER
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local ProximityPromptService = game:GetService("ProximityPromptService")
local player = Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")

local POS = Vector3.new(544.7, 67, -364.4)
local DURASI_MS = 1000

local looping = false
local enabled = false
local stopTime = 0
local shieldPart = nil
local posisiAwal = nil

local gui = Instance.new("ScreenGui", player.PlayerGui)
gui.ResetOnSpawn = false

local btn = Instance.new("TextButton")
btn.Size = UDim2.new(0, 130, 0, 45)
btn.Position = UDim2.new(0.5, -65, 0.9, -20)
btn.Text = "OFF"
btn.Font = Enum.Font.GothamBold
btn.TextScaled = true
btn.TextColor3 = Color3.new(1,1,1)
btn.BackgroundColor3 = Color3.fromRGB(40, 0, 80)
btn.Active = true
btn.Draggable = true
btn.Parent = gui

Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 12)

local function buatShield()
    if shieldPart then shieldPart:Destroy() end

    shieldPart = Instance.new("Part")
    shieldPart.Size = Vector3.new(80, 80, 80)
    shieldPart.Position = POS
    shieldPart.Anchored = true
    shieldPart.CanCollide = false
    shieldPart.Transparency = 0.4
    shieldPart.Color = Color3.fromRGB(0, 0, 0)
    shieldPart.Material = Enum.Material.ForceField
    shieldPart.Parent = workspace
end

local function hapusShield()
    if shieldPart then
        shieldPart:Destroy()
        shieldPart = nil
    end
end

local function triggerTP()
    if not enabled or looping then return end

    if hrp then
        posisiAwal = hrp.CFrame
    end

    looping = true
    stopTime = tick() + (DURASI_MS / 1000)
    btn.Text = "ACTIVE"
    buatShield()
end

local function selesaiTP(gagal)
    looping = false

    if gagal then
        enabled = false
        btn.Text = "OFF"
        btn.BackgroundColor3 = Color3.fromRGB(40, 0, 80)
    else
        btn.Text = "ON"
        btn.BackgroundColor3 = Color3.fromRGB(90, 0, 180)
    end

    hapusShield()

    if posisiAwal and hrp then
        pcall(function()
            hrp.CFrame = posisiAwal
        end)
    end

    posisiAwal = nil
end

btn.MouseButton1Click:Connect(function()
    enabled = not enabled

    btn.Text = enabled and "ON" or "OFF"

    btn.BackgroundColor3 =
        enabled
        and Color3.fromRGB(90, 0, 180)
        or Color3.fromRGB(40, 0, 80)

    if not enabled and looping then
        selesaiTP(true)
    end
end)

ProximityPromptService.PromptTriggered:Connect(function(prompt, plr)
    if plr ~= player then return end
    if not enabled or looping then return end

    if string.find(string.lower(prompt.ObjectText), "egg")
    or string.find(string.lower(prompt.Parent.Name), "egg") then
        triggerTP()
    end
end)

workspace.DescendantAdded:Connect(function(v)
    if v:IsA("ClickDetector") and enabled then
        v.MouseClick:Connect(function()
            if enabled then
                triggerTP()
            end
        end)
    end
end)

RunService.Heartbeat:Connect(function()
    if looping then
        if hrp then
            local success = pcall(function()
                hrp.CFrame = CFrame.new(POS)
            end)

            if not success then
                selesaiTP(true)
                return
            end
        end

        if tick() >= stopTime then
            selesaiTP(false)
        end
    end
end)

player.CharacterAdded:Connect(function(c)
    char = c
    hrp = char:WaitForChild("HumanoidRootPart")
    looping = false
    hapusShield()
end)
xyz-antihitv2
Membuat guard tidak mengejar (otomatis)
ANTIHIT
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local ProximityPromptService = game:GetService("ProximityPromptService")
local player = Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")

local POS = Vector3.new(544.7, 70.8, -364.4)
local DURASI_MS = 367

local looping = false
local enabled = false
local stopTime = 0
local shieldPart = nil
local posisiAwal = nil

local gui = Instance.new("ScreenGui", player.PlayerGui)
gui.ResetOnSpawn = false

local btn = Instance.new("TextButton")
btn.Size = UDim2.new(0, 130, 0, 45)
btn.Position = UDim2.new(0.5, -65, 0.9, -20)
btn.Text = "OFF"
btn.Font = Enum.Font.GothamBold
btn.TextScaled = true
btn.TextColor3 = Color3.new(1,1,1)
btn.BackgroundColor3 = Color3.fromRGB(40, 0, 80)
btn.Active = true
btn.Draggable = true
btn.Parent = gui

Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 12)

local function buatShield()
    if shieldPart then shieldPart:Destroy() end

    shieldPart = Instance.new("Part")
    shieldPart.Size = Vector3.new(80, 80, 80)
    shieldPart.Position = POS
    shieldPart.Anchored = true
    shieldPart.CanCollide = false
    shieldPart.Transparency = 0.4
    shieldPart.Color = Color3.fromRGB(0, 0, 0)
    shieldPart.Material = Enum.Material.ForceField
    shieldPart.Parent = workspace
end

local function hapusShield()
    if shieldPart then
        shieldPart:Destroy()
        shieldPart = nil
    end
end

local function triggerTP()
    if not enabled or looping then return end

    if hrp then
        posisiAwal = hrp.CFrame
    end

    looping = true
    stopTime = tick() + (DURASI_MS / 1000)
    btn.Text = "ACTIVE"
    buatShield()
end

local function selesaiTP(gagal)
    looping = false

    if gagal then
        enabled = false
        btn.Text = "OFF"
        btn.BackgroundColor3 = Color3.fromRGB(40, 0, 80)
    else
        btn.Text = "ON"
        btn.BackgroundColor3 = Color3.fromRGB(90, 0, 180)
    end

    hapusShield()

    if posisiAwal and hrp then
        pcall(function()
            hrp.CFrame = posisiAwal
        end)
    end

    posisiAwal = nil
end

btn.MouseButton1Click:Connect(function()
    enabled = not enabled

    btn.Text = enabled and "ON" or "OFF"

    btn.BackgroundColor3 =
        enabled
        and Color3.fromRGB(90, 0, 180)
        or Color3.fromRGB(40, 0, 80)

    if not enabled and looping then
        selesaiTP(true)
    end
end)

ProximityPromptService.PromptTriggered:Connect(function(prompt, plr)
    if plr ~= player then return end
    if not enabled or looping then return end

    if string.find(string.lower(prompt.ObjectText), "egg")
    or string.find(string.lower(prompt.Parent.Name), "egg") then
        triggerTP()
    end
end)

workspace.DescendantAdded:Connect(function(v)
    if v:IsA("ClickDetector") and enabled then
        v.MouseClick:Connect(function()
            if enabled then
                triggerTP()
            end
        end)
    end
end)

RunService.Heartbeat:Connect(function()
    if looping then
        if hrp then
            local success = pcall(function()
                hrp.CFrame = CFrame.new(POS)
            end)

            if not success then
                selesaiTP(true)
                return
            end
        end

        if tick() >= stopTime then
            selesaiTP(false)
        end
    end
end)

player.CharacterAdded:Connect(function(c)
    char = c
    hrp = char:WaitForChild("HumanoidRootPart")
    looping = false
    hapusShield()
end)
Script tidak ditemukan.