local character = game:GetService("Players").LocalPlayer.Character local humanoid = character.Humanoid local hrp = character.HumanoidRootPart local openTrade = game:GetService("ReplicatedStorage").GameEvents.OpenTradeMenu local purchase = game:GetService("ReplicatedStorage").GameFunctions.PurchaseGoods game:GetService("GuiService"):SetGameplayPausedNotificationEnabled(false) function walkTo(location) game:GetService("ReplicatedStorage").GameEvents.PathfindRequest:FireServer( location ) task.wait(0.8) humanoid.WalkSpeed = 250 repeat task.wait(0.1) until game:GetService("Players").LocalPlayer.PlayerGui.SilkRoad.MainHUDFrame.TopInfo.BannerLower.Location.Text == location end function sellInventory(npc) for i=1, 29 do game:GetService("ReplicatedStorage").GameFunctions.SellGoods:InvokeServer(npc, 1) task.wait(0.1) end end while task.wait() do walkTo("Antioch") hrp.Anchored = true hrp.CFrame = CFrame.new(workspace.NPCs.Antioch.AntiochTrader_Crafts:GetPivot().Position + Vector3.new(0, 3, 0)) task.wait(0.2) openTrade:FireServer( workspace.NPCs.Antioch.AntiochTrader_Crafts ) task.wait(1) sellInventory(workspace.NPCs.Antioch.AntiochTrader_Crafts) purchase:InvokeServer( workspace.NPCs.Antioch.AntiochTrader_Crafts, "Books", 29 ) task.wait(0.3) hrp.Anchored = false hrp.CFrame = CFrame.new(Vector3.new(4426, 59, -660)) task.wait(0.2) walkTo("Tyre") hrp.Anchored = true hrp.CFrame = CFrame.new(workspace.NPCs.Tyre.TyreTrader_Crafts:GetPivot().Position + Vector3.new(0, 3, 0)) task.wait(0.2) openTrade:FireServer( workspace.NPCs.Tyre.TyreTrader_Crafts ) task.wait(1) sellInventory(workspace.NPCs.Tyre.TyreTrader_Crafts) purchase:InvokeServer( workspace.NPCs.Tyre.TyreTrader_Crafts, "Candles", 29 ) hrp.Anchored = false task.wait(0.2) hrp.CFrame = CFrame.new(-147, -43, -1440) end