-- // Services local Players = game:GetService("Players") local CoreGui = game:GetService("CoreGui") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local LocalPlayer = Players.LocalPlayer -- // Destroy old instances to prevent UI stacking if CoreGui:FindFirstChild("DeltaAvatarCopier") then CoreGui.DeltaAvatarCopier:Destroy() end -- // Main Screen Container local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "DeltaAvatarCopier" ScreenGui.Parent = CoreGui ScreenGui.ResetOnSpawn = false -- // 1. Small Rectangle Main Frame local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 260, 0, 180) MainFrame.Position = UDim2.new(0.5, -130, 0.5, -90) MainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15) MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui -- Curved Edges local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 12) MainCorner.Parent = MainFrame -- // 2. Animated RGB Border (UIStroke + UIGradient) local UIStroke = Instance.new("UIStroke") UIStroke.Thickness = 2.5 UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border UIStroke.Parent = MainFrame local UIGradient = Instance.new("UIGradient") UIGradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 0)), -- Red ColorSequenceKeypoint.new(0.2, Color3.fromRGB(255, 255, 0)), -- Yellow ColorSequenceKeypoint.new(0.4, Color3.fromRGB(0, 255, 0)), -- Green ColorSequenceKeypoint.new(0.6, Color3.fromRGB(0, 255, 255)), -- Cyan ColorSequenceKeypoint.new(0.8, Color3.fromRGB(0, 0, 255)), -- Blue ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0)) -- Loop Red }) UIGradient.Parent = UIStroke -- Smoothly rotate the RGB gradient border over time RunService.RenderStepped:Connect(function(deltaTime) UIGradient.Rotation = (UIGradient.Rotation + 90 * deltaTime) % 360 end) -- // 3. UI Elements (Title, Textbox, Button) local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 35) Title.BackgroundTransparency = 1 Title.Text = "✨ Universal Avatar Copier" Title.TextColor3 = Color3.fromRGB(240, 240, 240) Title.Font = Enum.Font.GothamBold Title.TextSize = 13 Title.Parent = MainFrame -- Username Input Textbox local UsernameInput = Instance.new("TextBox") UsernameInput.Size = UDim2.new(1, -30, 0, 36) UsernameInput.Position = UDim2.new(0, 15, 0, 45) UsernameInput.BackgroundColor3 = Color3.fromRGB(25, 25, 25) UsernameInput.Text = "" UsernameInput.PlaceholderText = "Enter Target Username..." UsernameInput.TextColor3 = Color3.fromRGB(255, 255, 255) UsernameInput.PlaceholderColor3 = Color3.fromRGB(120, 120, 120) UsernameInput.Font = Enum.Font.Gotham UsernameInput.TextSize = 12 local BoxCorner = Instance.new("UICorner") BoxCorner.CornerRadius = UDim.new(0, 6) BoxCorner.Parent = UsernameInput UsernameInput.Parent = MainFrame -- Copy Action Toggle Button local CopyBtn = Instance.new("TextButton") CopyBtn.Size = UDim2.new(1, -30, 0, 40) CopyBtn.Position = UDim2.new(0, 15, 1, -55) CopyBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30) CopyBtn.Text = "COPY AVATAR" CopyBtn.TextColor3 = Color3.fromRGB(255, 255, 255) CopyBtn.Font = Enum.Font.GothamBold CopyBtn.TextSize = 12 local BtnCorner = Instance.new("UICorner") BtnCorner.CornerRadius = UDim.new(0, 6) BtnCorner.Parent = CopyBtn CopyBtn.Parent = MainFrame -- // 4. Sliding Notification Banner local NotifyFrame = Instance.new("Frame") NotifyFrame.Size = UDim2.new(1, 0, 0, 30) NotifyFrame.Position = UDim2.new(0, 0, 1, 5) -- Starts hidden right below the main frame NotifyFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) NotifyFrame.BackgroundTransparency = 1 NotifyFrame.ClipsDescendants = true NotifyFrame.Parent = MainFrame local NotifyLabel = Instance.new("TextLabel") NotifyLabel.Size = UDim2.new(1, 0, 1, 0) NotifyLabel.BackgroundTransparency = 1 NotifyLabel.Text = "✅ Outfitted Applied Locally!" NotifyLabel.TextColor3 = Color3.fromRGB(0, 255, 127) NotifyLabel.Font = Enum.Font.GothamMedium NotifyLabel.TextSize = 11 NotifyLabel.TextTransparency = 1 NotifyLabel.Parent = NotifyFrame local function ShowNotification(message, isSuccess) NotifyLabel.Text = message NotifyLabel.TextColor3 = isSuccess and Color3.fromRGB(0, 255, 127) or Color3.fromRGB(255, 80, 80) TweenService:Create(NotifyFrame, TweenInfo.new(0.2), {BackgroundTransparency = 0.2}):Play() TweenService:Create(NotifyLabel, TweenInfo.new(0.2), {TextTransparency = 0}):Play() task.wait(2.5) TweenService:Create(NotifyFrame, TweenInfo.new(0.2), {BackgroundTransparency = 1}):Play() TweenService:Create(NotifyLabel, TweenInfo.new(0.2), {TextTransparency = 1}):Play() end -- // 5. Core Avatar Morphing Core Logic CopyBtn.MouseButton1Click:Connect(function() local targetName = UsernameInput.Text if targetName == "" then task.spawn(ShowNotification, "❌ Please enter a username", false) return end -- Resolve UserId from entered text string safely local success, targetId = pcall(function() return Players:GetUserIdFromNameAsync(targetName) end) if success and targetId then local character = LocalPlayer.Character if character and character:FindFirstChildOfClass("Humanoid") then local humanoid = character:FindFirstChildOfClass("Humanoid") -- Fetch the standard Roblox avatar description structural data object local avatarDescriptionSuccess, humanoidDesc = pcall(function() return Players:GetHumanoidDescriptionFromUserId(targetId) end) if avatarDescriptionSuccess and humanoidDesc then -- Apply appearance structure locally onto your own runtime character humanoid:ApplyDescription(humanoidDesc) task.spawn(ShowNotification, "✅ Copied " .. targetName .. " successfully!", true) else task.spawn(ShowNotification, "❌ Failed to load avatar data", false) end else task.spawn(ShowNotification, "❌ Character model not found", false) end else task.spawn(ShowNotification, "❌ Invalid Roblox Username", false) end end)