Run it
Copy the script and paste it into your executor.
local RS = game:GetService("ReplicatedStorage")
local Remote = RS:FindFirstChild("Remote") or RS:FindFirstChild("Remotes")
if not Remote then
warn("❌ ไม่เจอ Remote")
return
end
-- หา NPC แบบตรงจุด
local function getNPCId(timeout)
local start = tick()
repeat
for _, npc in pairs(workspace:GetDescendants()) do
if npc:IsA("Model")
and npc:FindFirstChildOfClass("Humanoid")
and npc:FindFirstChild("NPCID") then
return npc.NPCID.Value
.()
() - start > timeout
(()
()
Remote.PlayerRegionChange:()
.()
()
npcId = ()
npcId
()
(, npcId)
()
Remote.NPC.Interact:(npcId, )
.()
()
Remote.PlayerRegionChange:()
.()
()
Remote:()
Remote.PlayerInPlot:()
.()
()
Remote:()
Remote.NpcHold:(, npcId)
)
Universal