Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local DarkraiX = loadstring(game:HttpGet("https://raw.githubusercontent.com/GamingScripter/Kavo-Ui/main/Darkrai%20Ui", true))()
- local Library = DarkraiX:Window("SkidX Beta ", "", "", Enum.KeyCode.RightControl)
- local Players = game:GetService("Players")
- local Workspace = game:GetService("Workspace")
- local RunService = game:GetService("RunService")
- local UserInputService = game:GetService("UserInputService")
- local hitboxSize = 12
- local isExpanded = false
- local isSpeedBoostActive = false
- local isInfiniteJumpActive = false
- local normalSpeed = 16
- local boostedSpeed = normalSpeed * 6
- local teleportToAllEnabled = false
- local autoTagEnabled = false
- local studsTP = 10 -- Default to 10 studs
- local player = Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- -- Functions
- local function updateHitboxSize(size)
- hitboxSize = size
- expandHitboxes()
- end
- local function updateSpeedBoost(value)
- boostedSpeed = value
- if isSpeedBoostActive then
- humanoid.WalkSpeed = boostedSpeed
- end
- end
- local function expandHitboxes()
- for _, p in pairs(Players:GetPlayers()) do
- if p ~= Players.LocalPlayer and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
- local humanoidRootPart = p.Character.HumanoidRootPart
- humanoidRootPart.Size = isExpanded and Vector3.new(hitboxSize, hitboxSize, hitboxSize) or Vector3.new(2, 2, 1)
- humanoidRootPart.Transparency = isExpanded and 0.5 or 1
- humanoidRootPart.CanCollide = false
- end
- end
- end
- local function toggleInfiniteJump()
- isInfiniteJumpActive = not isInfiniteJumpActive
- end
- local function toggleSpeedBoost()
- isSpeedBoostActive = not isSpeedBoostActive
- humanoid.WalkSpeed = isSpeedBoostActive and boostedSpeed or normalSpeed
- end
- local function teleportToAll()
- local players = Players:GetPlayers()
- local teleported = {}
- while teleportToAllEnabled do
- for _, p in pairs(players) do
- if not table.find(teleported, p) and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
- player.Character:SetPrimaryPartCFrame(p.Character.HumanoidRootPart.CFrame)
- table.insert(teleported, p)
- wait(1) -- adjust wait time as necessary
- if #teleported >= #players then
- teleported = {}
- end
- end
- end
- wait(5) -- wait time before re-starting the teleportation loop
- end
- end
- local function spawnPart()
- local part = Instance.new("Part")
- part.Size = Vector3.new(20, 20, 20) -- size of the part
- part.Position = player.Character.HumanoidRootPart.Position - Vector3.new(0, 50, 0) -- spawn position very high up
- part.Anchored = true
- part.Parent = Workspace
- end
- local function antiLag()
- -- Example function that removes unnecessary parts to improve performance
- for _, obj in pairs(Workspace:GetChildren()) do
- if obj:IsA("Part") and obj.Name ~= "Baseplate" then
- obj:Destroy()
- end
- end
- end
- local function teleportToSafeArea()
- local safeArea = Instance.new("Part")
- safeArea.Size = Vector3.new(50, 1, 50) -- size of the baseplate
- safeArea.Position = player.Character.HumanoidRootPart.Position + Vector3.new(0, 5000, 0) -- spawn position very high up
- safeArea.Anchored = true
- safeArea.Parent = Workspace
- -- Teleport the player to the safe area
- player.Character:SetPrimaryPartCFrame(safeArea.CFrame + Vector3.new(0, 10, 0)) -- position the player above the baseplate
- end
- local function teleportToRandomPlayer()
- local players = Players:GetPlayers()
- if #players > 1 then
- local randomPlayer = players[math.random(1, #players)]
- if randomPlayer.Character and randomPlayer.Character:FindFirstChild("HumanoidRootPart") then
- player.Character:SetPrimaryPartCFrame(randomPlayer.Character.HumanoidRootPart.CFrame)
- end
- end
- end
- local function toggleAutoTag()
- autoTagEnabled = not autoTagEnabled
- if autoTagEnabled then
- RunService.Heartbeat:Connect(function()
- if autoTagEnabled then
- local players = Players:GetPlayers()
- if #players > 2 then
- local targetPlayer = players[math.random(1, #players)]
- while targetPlayer == player do
- targetPlayer = players[math.random(1, #players)]
- end
- if targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") then
- player.Character:SetPrimaryPartCFrame(targetPlayer.Character.HumanoidRootPart.CFrame)
- wait(0.5)
- end
- end
- end
- end)
- end
- end
- -- UI Setup
- local MainTab = Library:Tab("Main")
- local UtilitiesTab = Library:Tab("Utilities")
- -- Main Tab
- MainTab:Toggle("Expand Hitboxes", false, function(state)
- isExpanded = state
- expandHitboxes()
- end)
- MainTab:Slider("Hitbox Size", 1, 100, hitboxSize, function(value)
- updateHitboxSize(value)
- end)
- MainTab:Toggle("Infinite Jump", false, function(state)
- toggleInfiniteJump()
- end)
- MainTab:Toggle("Speed Boost", false, function(state)
- toggleSpeedBoost()
- end)
- MainTab:Slider("Speed Boost Amount", 16, 100, boostedSpeed, function(value)
- updateSpeedBoost(value)
- end)
- MainTab:Toggle("Teleport to All", false, function(state)
- teleportToAllEnabled = state
- if state then
- teleportToAll()
- end
- end)
- MainTab:Button("Teleport to Random Player", function()
- teleportToRandomPlayer()
- end)
- -- Utilities Tab
- UtilitiesTab:Button("Spawn Part", function()
- spawnPart()
- end)
- UtilitiesTab:Button("Anti-Lag", function()
- antiLag()
- end)
- UtilitiesTab:Button("Teleport to Safe Area", function()
- teleportToSafeArea()
- end)
- UtilitiesTab:Textbox("Studs TP", "10", true, function(value)
- studsTP = tonumber(value) or 10
- end)
- UtilitiesTab:Button("Toggle Auto Tag", function()
- toggleAutoTag()
- end)
- -- Infinite Jump Functionality
- UserInputService.JumpRequest:Connect(function()
- if isInfiniteJumpActive then
- humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
- end
- end)
- -- Hitbox Expansion Loop
- RunService.RenderStepped:Connect(expandHitboxes)
- DarkraiX:Init()
Add Comment
Please, Sign In to add comment