import{_ as s,c as i,o as a,U as t}from"./chunks/framework.BouBWMxc.js";const c=JSON.parse('{"title":"Getting Started","description":"","frontmatter":{},"headers":[],"relativePath":"guide/getting-started.md","filePath":"guide/getting-started.md"}'),e={name:"guide/getting-started.md"},n=t('
Step 1:
First, you have to require the Warp module.
local Warp = require('path.to.module');
Step 2:
Then, to create a new event you have to use .Server
function
local Remote = Warp.Server("EventName");
Step 3:
Firing event everytime player join
local Players = game:GetService("Players")\n\nPlayers.PlayerAdded:Connect(function(player)\n Remote:Fire(true, player, "Welcome!")\nend)