All Gamepass Free
Key Required

All Gamepass Free

⚡ Speedster Roleplay ⚡TreGoatedScriptsTreGoatedScripts 3.2K views 3.6K executesUpdated Aug 22, 2026
Unrated
00
Lua Script•151 lines (3482 chars)
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")

local player = Players.LocalPlayer
local remote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("SelectCharacter")

-- GUI
local gui = Instance.new("ScreenGui")
gui.Name = "SpeedsterRoleplayGUI"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")

local main = Instance.new("Frame")
main.Size = UDim2.new(0, 300, 0, 420)
main.Position = UDim2.new(0.5, -150, 0.5, -210)
main.BackgroundColor3 = Color3.fromRGB(20, 20, 25)
main.BorderSizePixel = 0
main.Active = true
main.Parent = gui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 12)
corner.Parent = main

-- Title
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 55)
title.BackgroundTransparency = 1
title.Text = "Speedster Roleplay"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextSize = 24
title.Font = Enum.Font.GothamBold
title.Active = true
title.Parent = main

-- Subtitle
local subtitle = Instance.new("TextLabel")
subtitle.Size = UDim2.new(1, 0, 0, 25)
subtitle.Position = UDim2.new(0, 0, 0, 45)
subtitle.BackgroundTransparency = 1
subtitle.Text = "FREE GAMEPASS"
subtitle.TextColor3 = Color3.fromRGB(255, 210, 50)
subtitle.TextSize = 14
subtitle.Font = Enum.Font.GothamBold
subtitle.Parent = main

-- Dragging
local dragging = false
local dragStart
local startPosition

title.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1
		or input.UserInputType == Enum.UserInputType.Touch then
		
		dragging = true
		dragStart = input.Position
		startPosition = main.Position
	end
end)

title.InputEnded:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1
		or input.UserInputType == Enum.UserInputType.Touch then
		
		dragging = false
	end
end)

UserInputService.InputChanged:Connect(function(input)
	if not dragging then
		return
	end

	if input.UserInputType == Enum.UserInputType.MouseMovement
		or input.UserInputType == Enum.UserInputType.Touch then
		
		local delta = input.Position - dragStart

		main.Position = UDim2.new(
			startPosition.X.Scale,
			startPosition.X.Offset + delta.X,
			startPosition.Y.Scale,
			startPosition.Y.Offset + delta.Y
		)
	end
end)

-- Button creator
local function createButton(text, position, color, characterName)

	local button = Instance.new("TextButton")
	button.Size = UDim2.new(0.85, 0, 0, 50)
	button.Position = UDim2.new(0.075, 0, 0, position)
	button.BackgroundColor3 = color
	button.Text = text
	button.TextColor3 = Color3.fromRGB(255, 255, 255)
	button.TextSize = 18
	button.Font = Enum.Font.GothamBold
	button.Parent = main

	local buttonCorner = Instance.new("UICorner")
	buttonCorner.CornerRadius = UDim.new(0, 8)
	buttonCorner.Parent = button

	button.MouseButton1Click:Connect(function()
		remote:FireServer(
			characterName,
			"SuperSpeed",
			"AfterImages",
			"Default"
		)
	end)
end

-- Characters
createButton(
	"DCAU Flash 2",
	85,
	Color3.fromRGB(180, 25, 35),
	"DCAU Flash 2"
)

createButton(
	"Wally West",
	145,
	Color3.fromRGB(30, 90, 200),
	"Wally West"
)

createButton(
	"DCAU Flash",
	205,
	Color3.fromRGB(210, 30, 40),
	"DCAU Flash"
)

createButton(
	"DCAU Reverse Flash",
	265,
	Color3.fromRGB(255, 180, 30),
	"DCAU Reverse Flash"
)

createButton(
	"DCAU Kid Flash",
	325,
	Color3.fromRGB(255, 210, 40),
	"Kid Flash (DCAU)"
)

Features & Information

Has all characters in order to work you have to select a character first then press the character you want to change to

Community Comments (0)

No comments yet for this script.

More Scripts for ⚡ Speedster Roleplay ⚡