Basically, when we join a play test in studio the plugin start runing again but fail with the following error .
So to prevent it, i thought maybe i can make it not run in play test.
-- Coming soon feature
--local Selection = game:GetService("Selection")
-- Get Services
local RunService = game:GetService("RunService")
local ServerStorage = game:GetService("ServerStorage")
local ChangeHistoryService = game:GetService("ChangeHistoryService")
-- Toolbar configuration
local toolbar = plugin:CreateToolbar("RoCatch Detection")
-- Setup Plugin buttons
local newScriptButton = toolbar:CreateButton("Malware analyser","This feature allows you to set a scan for advanced threats","rbxassetid://137137049577018")
local SettingsButton = toolbar:CreateButton("Configuration","Enter the configuration for real time protection and more","http://www.roblox.com/asset/?id=15859572237")
local SafeButton = toolbar:CreateButton("Safe","You can enable back disabled script from the safe. Making you're game probably less secure","http://www.roblox.com/asset/?id=953596610")
-- Threats count
local threatsfounds = 0


