local rs=game:GetService("ReplicatedStorage")
local WaveLoopThings=require(rs.Features.WaveLoop.WaveLoopThings)
local equip=rs.RemotesFolder["ReplicatedStorage.Features.Backpack.BackpackThings_13_RemoteEvent"]
local r=rs.RemotesFolder["ReplicatedStorage.Features.Enemies.EnemyThings_62_RemoteEvent"]
local e=require(rs.Features.Enemies.EnemiesClient)
-- only active at night, requires a gun
while task.wait(.2) do
if WaveLoopThings.getIsNight() then
equip:FireServer(4) --Gun Hotbar
for _,v in pairs(e.getEnemiesList()) do
r:FireServer(v.id,math.huge,Vector3.zAxis)
end
end
end
Comments
No comments yet
Be the first to share your thoughts!