Advertisement
ustinjamesss

max levl

Feb 27th, 2023
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. local Client = game:GetService("Players").LocalPlayer
  2. local Carry = game:GetService("ReplicatedStorage").RS.Remotes.Misc.Carry
  3.  
  4. local Root = Client.Character.HumanoidRootPart
  5.  
  6. for i,v in ipairs(workspace.Map:GetDescendants()) do
  7. if v.Name == "Gunpowder Barrel" then
  8. Root.CFrame = v.CFrame
  9. task.wait(1)
  10. Carry:FireServer("Carry", v)
  11. break
  12. end
  13. end
  14.  
  15. task.wait(2)
  16.  
  17. for i,v in ipairs(workspace.NPCs:GetDescendants()) do
  18. if v.Name == "Job" and v.Value == "Shipwright" then
  19. Root.CFrame = v.Parent.Parent.HumanoidRootPart.CFrame
  20.  
  21. task.wait(1)
  22.  
  23. for i = 1, 9999 do
  24. Carry:FireServer("Sell", v.Parent.Parent)
  25. end
  26. break
  27. end
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement