I’m trying to make my system more secure, to avoid exploiters using saveinstance() to look at how my system was made.
This script powers everything with Enum.KeyCode.
This script is the one that’s being powered, so it has functions inside that are supposed to fire when the Technica_Engine_1 is requesting to do a function.
Upon pressing Test, the Technica_Engine inside SSS disappears (like it should, since anything inside SSS disappears), but it doesn’t get detected that it was here.
This is my script inside ReplicatedFirst:
local Technica_WL = require(game.ReplicatedStorage:WaitForChild("Technica_Whitelist"))
local Engine = game.ServerScriptService:WaitForChild("Technica_Engine")
local Player = game.Players.LocalPlayer
function Startup()
warn("Administrators Loaded -- Technica_Whitelist")
for i,v in pairs(Technica_WL) do
if Player.Name == v then
game:GetService("UserInputService").InputBegan:Connect(function(Key,IsTyping)
if IsTyping then return end
if Key.KeyCode == Enum.KeyCode.KeypadOne then return game.ServerScriptService.Remotes.Panel.Page1:InvokeServer() end
end)
end
end
end
if game.ServerScriptService:FindFirstChild("Technica_Engine") and game.ServerScriptService:FindFirstChild("Technica_Engine"):IsA("Script") then
warn("Requesting")
wait(2)
Startup()
end
game.ServerScriptService.ChildAdded:connect(function(Child)
if Child.Name == "Technica_Engine" and Child:IsA("Script") then
wait(2)
Startup()
end
end)
How would I make the Technica_Engine_1 know that the serverscript Technica_Engine is there and it can start firing functions?