local player = game.Players.
LocalPlayer
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = player:WaitForChild("PlayerGui")
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 300, 0, 200)
mainFrame.Position = UDim2.new(0.5, -150, 0.3, 0)
mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 40) -- Dark Blue
mainFrame.BorderSizePixel = 0
mainFrame.BackgroundTransparency = 0.2
mainFrame.Parent = screenGui
local uiCorner = Instance.new("UICorner")
uiCorner.CornerRadius = UDim.new(0, 10)
uiCorner.Parent = mainFrame
local titleLabel = Instance.new("TextLabel")
titleLabel.Text = "Trade Scam" -- Changed title
titleLabel.Size = UDim2.new(1, 0, 0, 50)
titleLabel.BackgroundTransparency = 1
titleLabel.TextScaled = true
titleLabel.Font = Enum.Font.GothamBold
titleLabel.TextColor3 = Color3.fromRGB(165, 42, 42) -- Brown color
titleLabel.Parent = mainFrame
local freezeButton = Instance.new("TextButton")
freezeButton.Size = UDim2.new(0.8, 0, 0, 40)
freezeButton.Position = UDim2.new(0.1, 0, 0.4, 0)
freezeButton.BackgroundColor3 = Color3.fromRGB(50, 150, 200) -- Cyan when off
freezeButton.Text = "Freeze Trade [OFF]"
freezeButton.Font = Enum.Font.GothamBold
freezeButton.TextSize = 18
freezeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
freezeButton.Parent = mainFrame
local acceptButton = Instance.new("TextButton")
acceptButton.Size = UDim2.new(0.8, 0, 0, 40)
acceptButton.Position = UDim2.new(0.1, 0, 0.7, 0)
acceptButton.BackgroundColor3 = Color3.fromRGB(50, 150, 200) -- Cyan when off
acceptButton.Text = "Auto Accept [OFF]"
acceptButton.Font = Enum.Font.GothamBold
acceptButton.TextSize = 18
acceptButton.TextColor3 = Color3.fromRGB(255, 255, 255)
acceptButton.Parent = mainFrame
local buttonCorner1 = Instance.new("UICorner")
buttonCorner1.CornerRadius = UDim.new(0, 10)
buttonCorner1.Parent = freezeButton
local buttonCorner2 = Instance.new("UICorner")
buttonCorner2.CornerRadius = UDim.new(0, 10)
buttonCorner2.Parent = acceptButton
local freezeEnabled = false
local acceptEnabled = false
freezeButton.MouseButton1Click:Connect(function()
freezeEnabled = not freezeEnabled
if freezeEnabled then
freezeButton.BackgroundColor3 = Color3.fromRGB(255, 255, 0) -- Yellow when
ON
freezeButton.Text = "Freeze Trade [ON]"
print("Trade Freeze Activated!")
else
freezeButton.BackgroundColor3 = Color3.fromRGB(50, 150, 200) -- Cyan when
OFF
freezeButton.Text = "Freeze Trade [OFF]"
print("Trade Freeze Deactivated!")
end
end)
acceptButton.MouseButton1Click:Connect(function()
acceptEnabled = not acceptEnabled
if acceptEnabled then
acceptButton.BackgroundColor3 = Color3.fromRGB(150, 50, 200) -- Purple when
ON
acceptButton.Text = "Auto Accept [ON]"
print("Your exploit doesn't support.")
else
acceptButton.BackgroundColor3 = Color3.fromRGB(50, 150, 200) -- Cyan when
OFF
acceptButton.Text = "Auto Accept [OFF]"
print("Your exploit doesn't support.")
end
end)
local UserInputService = game:GetService("UserInputService")
local dragging
local dragInput
local dragStart
local startPos
local function update(input)
local delta = input.Position - dragStart
mainFrame.Position = UDim2.new(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
end
mainFrame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = mainFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
mainFrame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or
input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
UserInputService.InputChanged:Connect(function(input)
if dragging and input == dragInput then
update(input)
end
end)