Script burden's server too much for no reason

Just as the title says. I got a script in ServerScriptService and the more time I’m inside the game the more it burden’s the server. It’s a small script with 8 lines only. I also added a print into it to check if it was firing constantly but that’s not the case. It only run’s once.

How much the server is being burdened:

The script:

local Stationery = require(game.ReplicatedStorage:WaitForChild("ZonePlus").Stationery)
local ZoneStationery = Stationery.new(game.Workspace:WaitForChild("ZonePlusParts").Stationery)
ZoneStationery.playerEntered:Connect(function(player)
	game.ReplicatedStorage.REs.OpenGUIS.OpenStationery:FireClient(player, true)
end)
ZoneStationery.playerExited:Connect(function(player)
	game.ReplicatedStorage.REs.OpenGUIS.OpenStationery:FireClient(player, false)
end)

If you got any questions feel free to ask them!

1 Like

This script looks fine, so all I can ask is what is in the Stationery module?

Its just from a plugin called ZonePlus. I don’t think this is causing the problem. I have been using this plugin for a long time and there are other scripts inside the game like this. But this exact one is the problem.

I’m not familiar with “stationery” in zoneplus nor can i find documentation on what it is.

Since there are multiple things inside my game that require ZonePlus I had to name them. This one is called Stationery.