Warp/src/init.luau

26 lines
502 B
Lua
Raw Normal View History

2024-01-05 12:14:38 +00:00
--!strict
2026-02-10 18:11:25 +00:00
--@EternityDev
local Remote = {}
2024-01-05 12:14:38 +00:00
2026-02-10 18:11:25 +00:00
if game.RunService:IsServer() then
if not script:FindFirstChild("Event") then
Instance.new("RemoteEvent", script).Name = "Event"
end
if not script:FindFirstChild("Function") then
Instance.new("RemoteFunction", script).Name = "Function"
end
end
2024-12-01 14:10:56 +00:00
2026-02-10 18:11:25 +00:00
local Client = require("@self/Client")
local Server = require("@self/Server")
2024-03-16 16:49:23 +00:00
2026-02-10 18:11:25 +00:00
Remote.Client = function()
return Client
end
Remote.Server = function()
return Server
end
return Remote :: typeof(Remote)