Best Autofam Auto Race Auto Heist Auto Swerve Inf gas
Key Required

Best Autofam Auto Race Auto Heist Auto Swerve Inf gas

[🚗SINGLE CAB] Corsa Legends [ALPHA]iconichowelliconichowell 2.5K views 3.4K executesUpdated Jun 21, 2026
Unrated
00
Lua Script•140 lines (3822 chars)
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local StarterGui = game:GetService("StarterGui")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local DISCORD_LINK = "https://discord.gg/D4c4ka8jz5"

local oldGui = playerGui:FindFirstChild("DiscordCopyGui")
if oldGui then
	oldGui:Destroy()
end

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "DiscordCopyGui"
screenGui.ResetOnSpawn = false
screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
screenGui.Parent = playerGui

local frame = Instance.new("Frame")
frame.Name = "Main"
frame.Size = UDim2.new(0, 260, 0, 110)
frame.Position = UDim2.new(0.5, -130, 0.5, -55)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 34)
frame.BorderSizePixel = 0
frame.Parent = screenGui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 10)
corner.Parent = frame

local stroke = Instance.new("UIStroke")
stroke.Color = Color3.fromRGB(80, 80, 90)
stroke.Thickness = 1
stroke.Parent = frame

local title = Instance.new("TextLabel")
title.Name = "Title"
title.Size = UDim2.new(1, -20, 0, 28)
title.Position = UDim2.new(0, 10, 0, 8)
title.BackgroundTransparency = 1
title.Font = Enum.Font.GothamBold
title.TextSize = 15
title.TextColor3 = Color3.fromRGB(245, 245, 245)
title.TextXAlignment = Enum.TextXAlignment.Left
title.Text = "Discord"
title.Parent = frame

local linkLabel = Instance.new("TextLabel")
linkLabel.Name = "Link"
linkLabel.Size = UDim2.new(1, -20, 0, 26)
linkLabel.Position = UDim2.new(0, 10, 0, 36)
linkLabel.BackgroundTransparency = 1
linkLabel.Font = Enum.Font.Gotham
linkLabel.TextSize = 13
linkLabel.TextColor3 = Color3.fromRGB(180, 180, 190)
linkLabel.TextXAlignment = Enum.TextXAlignment.Left
linkLabel.Text = DISCORD_LINK
linkLabel.Parent = frame

local copyBtn = Instance.new("TextButton")
copyBtn.Name = "CopyButton"
copyBtn.Size = UDim2.new(1, -20, 0, 32)
copyBtn.Position = UDim2.new(0, 10, 1, -42)
copyBtn.BackgroundColor3 = Color3.fromRGB(70, 110, 215)
copyBtn.BorderSizePixel = 0
copyBtn.Font = Enum.Font.GothamBold
copyBtn.TextSize = 14
copyBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
copyBtn.Text = "Copy Discord Link"
copyBtn.Parent = frame

local copyCorner = Instance.new("UICorner")
copyCorner.CornerRadius = UDim.new(0, 8)
copyCorner.Parent = copyBtn

local function notify(msg)
	pcall(function()
		StarterGui:SetCore("SendNotification", {
			Title = "Discord",
			Text = msg,
			Duration = 3,
		})
	end)
end

copyBtn.Activated:Connect(function()
	local ok = pcall(function()
		setclipboard(DISCORD_LINK)
	end)
	if ok then
		copyBtn.Text = "Copied!"
		notify("Discord link copied.")
		task.delay(1.2, function()
			if copyBtn and copyBtn.Parent then
				copyBtn.Text = "Copy Discord Link"
			end
		end)
	else
		notify("Clipboard not supported in this executor.")
	end
end)

-- Draggable small GUI
local dragging = false
local dragInput
local dragStart
local startPos

frame.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
		dragging = true
		dragStart = input.Position
		startPos = frame.Position
		input.Changed:Connect(function()
			if input.UserInputState == Enum.UserInputState.End then
				dragging = false
			end
		end)
	end
end)

frame.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
		local delta = input.Position - dragStart
		frame.Position = UDim2.new(
			startPos.X.Scale,
			startPos.X.Offset + delta.X,
			startPos.Y.Scale,
			startPos.Y.Offset + delta.Y
		)
	end
end)

Features & Information

This script creates a clean and simple in-game GUI that lets you quickly copy a Discord invite link directly to your clipboard. It includes a draggable interface, a copy button with visual feedback, and a notification system to confirm when the link has been copied successfully. The GUI is lightweight and designed to not interfere with gameplay. Main features include a one-click Discord link copier, draggable UI for easy positioning, and built-in notifications for success or errors (like unsupported clipboard executors). This script is mainly used to give users fast access to the Discord server, where the full script, including manual autofarm features such as auto race, auto heist, and auto swerve, is provided. Requirements and usage: execute the script in a supported Roblox executor that allows clipboard access. Click the “Copy Discord Link” button, then paste the link in your browser or Discord to join.
#cars#autofarm#script#inf

Community Comments (1)

cash90954cash90954Aug 4, 2026

dont do it its prob * and the key takes 1hr to get

More Scripts for [🚗SINGLE CAB] Corsa Legends [ALPHA]