NMM

DemonBlox

NMM
Jul 7th, 2021
1,054
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. if not _G.onlyoncebruh then _G.onlyoncebruh = true end
  2. local client = game:GetService"Players".LocalPlayer
  3. local jwdha
  4. game:GetService"RunService".Stepped:connect(function()
  5. if jwdha then game.Players.LocalPlayer.Character.Humanoid:ChangeState(11) end
  6. end)
  7. local fuck
  8.  
  9. function To(part, lol)
  10. local Chr = client.Character
  11. if Chr ~= nil then
  12. local dis = (client.Character.HumanoidRootPart.Position - lol).Magnitude / 40
  13. local ti = TweenInfo.new(dis, Enum.EasingStyle.Quad)
  14. local tp = { CFrame = part * CFrame.new(0, 0, -4) }
  15. fuck = game:GetService"TweenService":Create(client.Character.HumanoidRootPart, ti, tp)
  16. fuck:Play()
  17. end
  18. end
  19.  
  20. function checkquest()
  21. for i, v in pairs(client.PlayerGui.HUD.QuestFrame:GetChildren()) do
  22. if v.Name == "Quest" then
  23. if v:FindFirstChild"TextLabel" then
  24. if v.TextLabel.Text == "Tell Yasato's mayor about the bandits." or v.TextLabel.Text == "Tell Yasato's mayor about the bandits so he can send help." then return true end
  25. end
  26. end
  27. end
  28. return false
  29. end
  30.  
  31. while wait() do
  32. jwdha = true
  33. repeat
  34. local lol = false
  35. wait()
  36. pcall(function()
  37. To(CFrame.new(92.2101974, 184.666718, -638.502747, -0.991209388, 0, 0.132303104, 0, 1, -0, -0.132303119, 0, -0.991209269), Vector3.new(92.2101974487, 184.6667175293, -638.502746582))
  38. end)
  39. pcall(function()
  40. local string_1 = "InteractWith"
  41. local userdata_1 = game:GetService"Workspace".Entities.AI["Village Elder"]
  42. local string_2 = "StartDialogue"
  43. local Target = game:GetService"ReplicatedStorage".Remotes.UIFunction
  44. Target:InvokeServer(string_1, userdata_1, string_2)
  45. end)
  46. pcall(function()
  47. local string_1 = "CurrentDialogueInput"
  48. local string_2 = "Accept"
  49. local Target = game:GetService"ReplicatedStorage".Remotes.UIFunction
  50. Target:InvokeServer(string_1, string_2)
  51. end)
  52. pcall(function() if checkquest() then lol = true end end)
  53. until lol == true
  54. repeat
  55. local lol = false
  56. wait()
  57. pcall(function()
  58. To(CFrame.new(-150.860565, 129.810242, 1.0736626e3, 0.968490243, 0, -0.249051496, -0, 0.99999994, -0, 0.249051526, 0, 0.968490124), Vector3.new(-150.8605651855, 129.8102416992, 1.0736625977e3))
  59. end)
  60. pcall(function()
  61. local string_1 = "InteractWith"
  62. local userdata_1 = game:GetService"Workspace".Entities.AI["Yasato Village Mayor"]
  63. local string_2 = "StartDialogue"
  64. local Target = game:GetService"ReplicatedStorage".Remotes.UIFunction
  65. Target:InvokeServer(string_1, userdata_1, string_2)
  66. end)
  67. pcall(function()
  68. local string_1 = "CurrentDialogueInput"
  69. local string_2 = "Ok"
  70. local Target = game:GetService"ReplicatedStorage".Remotes.UIFunction
  71. Target:InvokeServer(string_1, string_2)
  72. end)
  73. pcall(function() if not checkquest() then lol = true end end)
  74. until lol == true
  75. end
Add Comment
Please, Sign In to add comment