Studio Playtest Presets Plugin [+AI Instructions]

Studio Test Presets Plugin

GitHub - iArxic/testingPresetsPlugin · GitHub

  1. Easy Presets
  2. AI Docs
  3. Shared between Team Create

Following the StudioTestService addition, I discovered that having premade test sessions saves an insane amount of time.

Picture a game where players wait in a lobby before a match starts (with player requirements). You just want to test something quickly.

With this plugin you can entirely skip the lobby phase, the waiting-for-players phase, load the intended map, and more.
18 seconds of waiting → Instant!
Works with multiple clients too.

All the tests you create are shared in your workspace. Every Team Create member sees the exact same tests.

AI Integration

Creating the tests themselves is easy but time-consuming, so the repo comes with already premade AI instructions.

How to use?

You need a server-side script like this:

local RunService = game:GetService("RunService")
if RunService:IsStudio() then
	local StudioTestService = game:GetService("StudioTestService") -- Must be after :IsStudio() / Service doesn't exist on live servers.
	local testArgs = nil
	for i = 1, 30 do
		testArgs = StudioTestService:GetTestArgs() -- Only way to get this working consistently, because Roblox hasn't fixed this bug for some reason. (:GetTestArgs() being nil)
		if testArgs then break end
		task.wait(.1)
	end
	if not testArgs then
		return
	end
	
	-- Code here
end

GetTestArgs is 1:1 exactly what you type as the parameters in the plugin. (Could be an array, boolean, number, etc.)


Get it on ROBLOX
Share your thoughts!