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!