-- Gui to Lua -- Version: 3.3 -- Instances: local DropGUI = Instance.new("ScreenGui") local main = Instance.new("Frame") local GetAndDropVIP = Instance.new("TextButton") local Version = Instance.new("TextButton") local Cred = Instance.new("TextButton") -- Properties: DropGUI.Name = "Drop GUI" DropGUI.Parent = game.CoreGui DropGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling main.Name = "main" main.Parent = DropGUI main.BackgroundColor3 = Color3.fromRGB(0, 0, 0) main.Position = UDim2.new(0.08, 0, 0.2, 0) main.Size = UDim2.new(0, 200, 0, 200) -- Kích thước nhỏ gọn main.Active = true main.Draggable = true GetAndDropVIP.Name = "Get and Drop VIP" GetAndDropVIP.Parent = main GetAndDropVIP.BackgroundColor3 = Color3.fromRGB(0, 0, 255) -- Đổi màu sang xanh dương GetAndDropVIP.Position = UDim2.new(0.1, 0, 0.1, 0) GetAndDropVIP.Size = UDim2.new(0, 160, 0, 80) -- Tăng chiều dài nút GetAndDropVIP.Font = Enum.Font.SourceSans GetAndDropVIP.Text = "Get and Drop VIP" -- Thay đổi chữ GetAndDropVIP.TextColor3 = Color3.fromRGB(0, 0, 0) GetAndDropVIP.TextScaled = true GetAndDropVIP.TextSize = 28 -- Chữ nhỏ gấp đôi như yêu cầu GetAndDropVIP.TextWrapped = true GetAndDropVIP.MouseButton1Down:Connect(function() local player = game.Players.LocalPlayer local backpack = player.Backpack local character = player.Character local humanoidRootPart = character.HumanoidRootPart -- Lưu vị trí ban đầu local originalPosition = humanoidRootPart.CFrame -- Các tọa độ của các vị trí cần teleport (bỏ vị trí thứ 4) local locations = { CFrame.new(-82, 17634, 9046), -- Epic Katana CFrame.new(-95, 17634, 9046), -- Fusion Coil CFrame.new(-124, 17634, 9046) -- Freeze Ray } -- Hàm để teleport đến tọa độ local function teleportToPosition(positionCFrame) humanoidRootPart.CFrame = positionCFrame end -- Teleport lần lượt đến các tọa độ for _, position in ipairs(locations) do teleportToPosition(position) wait(0.5) -- Chờ để chắc chắn teleport thành công end -- Quay lại vị trí ban đầu teleportToPosition(originalPosition) wait(0.3) -- Delay để nhân vật ổn định trước khi thực hiện drop -- Unequip tất cả tool đang được cầm for _, tool in ipairs(character:GetChildren()) do if tool:IsA("Tool") then tool.Parent = backpack end end -- Thêm chút delay để đảm bảo việc tắt equip hoàn tất wait(0.3) -- Danh sách item cần xử lý local itemsToProcess = {"EpicKatana", "FreezeRay", "Fusion Coil"} -- Xử lý equip và drop for _, toolName in ipairs(itemsToProcess) do local tool = backpack:FindFirstChild(toolName) if tool then -- Equip tool tool.Parent = character -- Drop tool wait(0.1) -- Delay nhỏ để tránh lỗi tool.Parent = game.Workspace end end end) Version.Name = "Version" Version.Parent = main Version.BackgroundColor3 = Color3.fromRGB(0, 0, 255) -- Đổi màu sang xanh dương Version.Position = UDim2.new(0, 0, 0.75, 0) Version.Size = UDim2.new(0, 200, 0, 25) Version.Font = Enum.Font.SourceSans Version.Text = "Build and battle" Version.TextColor3 = Color3.fromRGB(0, 0, 0) Version.TextScaled = true Version.TextSize = 14.000 Version.TextWrapped = true Cred.Name = "Cred" Cred.Parent = main Cred.BackgroundColor3 = Color3.fromRGB(0, 0, 255) -- Đổi màu sang xanh dương Cred.Position = UDim2.new(0, 0, -0.12, 0) -- Hạ xuống một chút Cred.Size = UDim2.new(0, 200, 0, 25) Cred.Font = Enum.Font.SourceSans Cred.Text = "ICE 🥶" Cred.TextColor3 = Color3.fromRGB(0, 0, 0) Cred.TextSize = 14.000 Cred.TextWrapped = true