Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Get the player
- local player = game.Players.LocalPlayer
- -- Create ScreenGui
- local gui = Instance.new("ScreenGui")
- gui.ResetOnSpawn = false -- Disable ResetOnSpawn
- gui.Parent = player.PlayerGui
- -- Create Frame
- local frame = Instance.new("Frame")
- frame.Size = UDim2.new(0, 150, 0, 200)
- frame.Position = UDim2.new(0.5, -75, 0.5, -75)
- frame.BackgroundColor3 = Color3.fromRGB(125, 255, 255)
- frame.BorderSizePixel = 2
- frame.Active = true
- frame.Draggable = true -- Make the UI movable
- frame.Parent = gui
- -- Create Loop Button
- local loopButton = Instance.new("TextButton")
- loopButton.Size = UDim2.new(0, 120, 0, 30)
- loopButton.Position = UDim2.new(0.5, -60, 0.1, 0)
- loopButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- loopButton.Text = "เปิดลูป"
- loopButton.Parent = frame
- -- Create Get Drop Button
- local getdropButton = Instance.new("TextButton")
- getdropButton.Size = UDim2.new(0, 120, 0, 30)
- getdropButton.Position = UDim2.new(0.5, -60, 0.25, 0)
- getdropButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- getdropButton.Text = "เปิดดูดของดรอป"
- getdropButton.Parent = frame
- -- Create Get Spawn1 Button
- local spawnoneButton = Instance.new("TextButton")
- spawnoneButton.Size = UDim2.new(0, 120, 0, 30)
- spawnoneButton.Position = UDim2.new(0.5, -60, 0.4, 0)
- spawnoneButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- spawnoneButton.Text = "เปิดดูดของเกิด"
- spawnoneButton.Parent = frame
- -- Create Get Spawn2 Button
- local spawntwoButton = Instance.new("TextButton")
- spawntwoButton.Size = UDim2.new(0, 120, 0, 30)
- spawntwoButton.Position = UDim2.new(0.5, -60, 0.55, 0)
- spawntwoButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- spawntwoButton.Text = "เปิดดูดผลตื่น"
- spawntwoButton.Parent = frame
- -- Create Steal Item Button
- local stealButton = Instance.new("TextButton")
- stealButton.Size = UDim2.new(0, 120, 0, 30)
- stealButton.Position = UDim2.new(0.5, -60, 0.7, 0)
- stealButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- stealButton.Text = "Steal!"
- stealButton.Parent = frame
- -- Create Close Button
- local closeButton = Instance.new("TextButton")
- closeButton.Size = UDim2.new(0, 120, 0, 30)
- closeButton.Position = UDim2.new(0.5, -60, 0.9, 0)
- closeButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- closeButton.Text = "ปิดเมนู(ปิดลูปก่อน)"
- closeButton.Parent = frame
- -- Function to toggle loop
- local isLooping = false
- loopButton.MouseButton1Click:Connect(function()
- isLooping = not isLooping
- loopButton.Text = isLooping and "ปิดลูป" or "เปิดลูป"
- while isLooping do
- player.Character:FindFirstChild("Haki full").FullHaki.A:FireServer()
- player.Character:FindFirstChild("Haki full").FullHaki.B:FireServer()
- wait(0.2)
- end
- end)
- -- Function to toggle Get Drop
- local isGetDrop = false
- getdropButton.MouseButton1Click:Connect(function()
- isGetDrop = not isGetDrop
- getdropButton.Text = isGetDrop and "ปิดดูของดรอป" or "เปิดดูดของดรอป"
- while isGetDrop do
- local head = game:GetService("Players").LocalPlayer.Character:FindFirstChild("Head")
- if head then
- for _, tool in pairs(game.Workspace:GetChildren()) do
- if tool:IsA("Tool") then
- tool.Handle.CFrame = head.CFrame
- end
- end
- end
- wait(0.2)
- end
- end)
- -- Function to toggle Get Spawn1
- local isSpawnOne = false
- spawnoneButton.MouseButton1Click:Connect(function()
- isSpawnOne = not isSpawnOne
- spawnoneButton.Text = isSpawnOne and "ปิดดูดของเกิด" or "เปิดดูดของเกิด"
- while isSpawnOne do
- local head = game.Players.LocalPlayer.Character:WaitForChild("Head")
- local tools = game.Workspace.DevilFruitSpawner.SpawnedDFS:GetChildren()
- for _, tool in ipairs(tools) do
- if tool:IsA("Tool") then
- tool.Handle.CFrame = head.CFrame
- end
- end
- wait(0.2)
- end
- end)
- -- Function to toggle Get Spawn 2
- local isSpawnTwo = false
- spawntwoButton.MouseButton1Click:Connect(function()
- isSpawnTwo = not isSpawnTwo
- spawntwoButton.Text = isSpawnTwo and "ปิดดูดผลตื่น" or "เปิดดูดผลตื่น"
- while isSpawnTwo do
- local head = game.Players.LocalPlayer.Character:WaitForChild("Head")
- local tools = game.Workspace.DevilFruitSpawner2.SpawnedDFS:GetChildren()
- for _, tool in ipairs(tools) do
- if tool:IsA("Tool") then
- tool.Handle.CFrame = head.CFrame
- end
- end
- wait(0.2)
- end
- end)
- -- Function to steal item
- stealButton.MouseButton1Click:Connect(function()
- loadstring(game:HttpGet("https://scriptblox.com/raw/Universal-Script-Steal-items-or-universal-4118"))()
- end)
- -- Function to close UI
- closeButton.MouseButton1Click:Connect(function()
- gui:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement