From c9356c9975e6d7a4a49debf8021392942f47a875 Mon Sep 17 00:00:00 2001 From: Validark Date: Wed, 16 Jan 2019 09:39:15 -0600 Subject: [PATCH] Remove bundling code --- ReplicatedPseudoInstance.lua | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/ReplicatedPseudoInstance.lua b/ReplicatedPseudoInstance.lua index baa2680..299836f 100644 --- a/ReplicatedPseudoInstance.lua +++ b/ReplicatedPseudoInstance.lua @@ -43,15 +43,9 @@ local SortedArray = Resources:LoadLibrary("SortedArray") local PseudoInstance = Resources:LoadLibrary("PseudoInstance") local Templates = Resources:GetLocalTable("Templates") -local RemoteEvent, RemoteFunction - -if IsServer and IsClient and RunService:IsStudio() then - RemoteEvent = Instance.new("RemoteEvent") - RemoteFunction = Instance.new("RemoteFunction") -else - RemoteEvent = Resources:GetRemoteEvent("PseudoInstanceReplicator") - RemoteFunction = Resources:GetRemoteFunction("PseudoInstanceStartupVerify") -end + +local RemoteEvent = Resources:GetRemoteEvent("PseudoInstanceReplicator") +local RemoteFunction = Resources:GetRemoteFunction("PseudoInstanceStartupVerify") local AutoReplicatedInstances = {} local LoadedPlayers = setmetatable({}, {__mode = "k"})