Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local gui = Instance.new("ScreenGui")
- gui.Name = "MeeEqTradeFreezer"
- gui.Parent = player:WaitForChild("PlayerGui")
- local main = Instance.new("Frame")
- main.Parent = gui
- main.Size = UDim2.new(0,300,0,210)
- main.Position = UDim2.new(0.4,0,0.35,0)
- main.BackgroundColor3 = Color3.fromRGB(15,15,15)
- main.BorderSizePixel = 0
- main.Active = true
- main.Draggable = true
- Instance.new("UICorner",main).CornerRadius = UDim.new(0,8)
- local top = Instance.new("Frame")
- top.Parent = main
- top.Size = UDim2.new(1,0,0,35)
- top.BackgroundColor3 = Color3.fromRGB(10,10,10)
- top.BorderSizePixel = 0
- Instance.new("UICorner",top).CornerRadius = UDim.new(0,8)
- local title = Instance.new("TextLabel")
- title.Parent = top
- title.BackgroundTransparency = 1
- title.Size = UDim2.new(1,-40,1,0)
- title.Position = UDim2.new(0,10,0,0)
- title.Text = "❄️ PIKA TRADE FREEZER 🧊"
- title.Font = Enum.Font.GothamBold
- title.TextSize = 16
- title.TextColor3 = Color3.fromRGB(255,255,255)
- title.TextXAlignment = Enum.TextXAlignment.Left
- local close = Instance.new("TextButton")
- close.Parent = top
- close.Size = UDim2.new(0,22,0,22)
- close.Position = UDim2.new(1,-28,0,6)
- close.Text = "X"
- close.Font = Enum.Font.GothamBold
- close.TextSize = 14
- close.BackgroundColor3 = Color3.fromRGB(40,40,40)
- close.TextColor3 = Color3.fromRGB(255,255,255)
- Instance.new("UICorner",close).CornerRadius = UDim.new(0,5)
- close.MouseButton1Click:Connect(function()
- gui.Enabled = false
- end)
- local function createRow(text,posY)
- local row = Instance.new("Frame")
- row.Parent = main
- row.Size = UDim2.new(1,-20,0,40)
- row.Position = UDim2.new(0,10,0,posY)
- row.BackgroundTransparency = 1
- local leftLine = Instance.new("Frame")
- leftLine.Parent = row
- leftLine.Size = UDim2.new(0,3,1,-10)
- leftLine.Position = UDim2.new(0,0,0,5)
- leftLine.BackgroundColor3 = Color3.fromRGB(0,170,255)
- leftLine.BorderSizePixel = 0
- local label = Instance.new("TextLabel")
- label.Parent = row
- label.BackgroundTransparency = 1
- label.Position = UDim2.new(0,10,0,0)
- label.Size = UDim2.new(0.65,0,1,0)
- label.Text = text
- label.Font = Enum.Font.GothamBold
- label.TextSize = 15
- label.TextColor3 = Color3.fromRGB(230,230,230)
- label.TextXAlignment = Enum.TextXAlignment.Left
- local toggle = Instance.new("Frame")
- toggle.Parent = row
- toggle.Size = UDim2.new(0,50,0,24)
- toggle.Position = UDim2.new(1,-55,0.5,-12)
- toggle.BackgroundColor3 = Color3.fromRGB(45,45,45)
- toggle.BorderSizePixel = 0
- Instance.new("UICorner",toggle).CornerRadius = UDim.new(1,0)
- local circle = Instance.new("Frame")
- circle.Parent = toggle
- circle.Size = UDim2.new(0,20,0,20)
- circle.Position = UDim2.new(0,2,0.5,-10)
- circle.BackgroundColor3 = Color3.fromRGB(255,255,255)
- circle.BorderSizePixel = 0
- Instance.new("UICorner",circle).CornerRadius = UDim.new(1,0)
- local state = false
- toggle.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- state = not state
- if state then
- toggle.BackgroundColor3 = Color3.fromRGB(0,170,255)
- circle:TweenPosition(UDim2.new(1,-22,0.5,-10), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.2, true)
- else
- toggle.BackgroundColor3 = Color3.fromRGB(45,45,45)
- circle:TweenPosition(UDim2.new(0,2,0.5,-10), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.2, true)
- end
- end
- end)
- end
- createRow("❄️ Freeze Trade", 40)
- createRow("⚡ Force Accept", 80)
- createRow("💎 Force To Add Valuables", 120)
- local bar = Instance.new("Frame")
- bar.Parent = main
- bar.Size = UDim2.new(1,-20,0,32)
- bar.Position = UDim2.new(0,10,0,168)
- bar.BackgroundColor3 = Color3.fromRGB(10,10,10)
- bar.BorderSizePixel = 0
- Instance.new("UICorner",bar).CornerRadius = UDim.new(0,6)
- local avatar = Instance.new("ImageLabel")
- avatar.Parent = bar
- avatar.Size = UDim2.new(0,24,0,24)
- avatar.Position = UDim2.new(0,6,0.5,-12)
- avatar.BackgroundColor3 = Color3.fromRGB(30,30,30)
- avatar.BorderSizePixel = 0
- avatar.Image = ""
- Instance.new("UICorner",avatar).CornerRadius = UDim.new(1,0)
- local tradingLabel = Instance.new("TextLabel")
- tradingLabel.Parent = bar
- tradingLabel.BackgroundTransparency = 1
- tradingLabel.Position = UDim2.new(0,36,0,0)
- tradingLabel.Size = UDim2.new(1,-40,1,0)
- tradingLabel.Text = "Trading With: ..."
- tradingLabel.Font = Enum.Font.GothamBold
- tradingLabel.TextSize = 13
- tradingLabel.TextColor3 = Color3.fromRGB(0,170,255)
- tradingLabel.TextXAlignment = Enum.TextXAlignment.Left
- local function getTradeUsername()
- local success, result = pcall(function()
- local tradeLive = player.PlayerGui:WaitForChild("TradeLiveTrade", 10)
- if not tradeLive then return nil end
- local inner = tradeLive:WaitForChild("TradeLiveTrade", 5)
- local other = inner:WaitForChild("Other", 5)
- local usernameLabel = other:WaitForChild("Username", 5)
- return usernameLabel
- end)
- if success and result then
- return result
- end
- return nil
- end
- local function parseUsername(raw)
- local name = raw:match("@([^']+)")
- return name
- end
- local function applyUser(username)
- tradingLabel.Text = "Trading With: " .. username
- local ok, userId = pcall(function()
- return game.Players:GetUserIdFromNameAsync(username)
- end)
- if ok and userId then
- local thumbOk, thumb = pcall(function()
- return game.Players:GetUserThumbnailAsync(
- userId,
- Enum.ThumbnailType.HeadShot,
- Enum.ThumbnailSize.Size48x48
- )
- end)
- if thumbOk then
- avatar.Image = thumb
- end
- end
- end
- task.spawn(function()
- local usernameLabel = getTradeUsername()
- if not usernameLabel then
- tradingLabel.Text = "Trading With: (not found)"
- return
- end
- local name = parseUsername(usernameLabel.Text)
- if name then applyUser(name) end
- usernameLabel:GetPropertyChangedSignal("Text"):Connect(function()
- local newName = parseUsername(usernameLabel.Text)
- if newName then applyUser(newName) end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment