Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not _G.onlyoncebruh then _G.onlyoncebruh = true end
- local client = game:GetService"Players".LocalPlayer
- local jwdha
- game:GetService"RunService".Stepped:connect(function()
- if jwdha then game.Players.LocalPlayer.Character.Humanoid:ChangeState(11) end
- end)
- local fuck
- function To(part, lol)
- local Chr = client.Character
- if Chr ~= nil then
- local dis = (client.Character.HumanoidRootPart.Position - lol).Magnitude / 40
- local ti = TweenInfo.new(dis, Enum.EasingStyle.Quad)
- local tp = { CFrame = part * CFrame.new(0, 0, -4) }
- fuck = game:GetService"TweenService":Create(client.Character.HumanoidRootPart, ti, tp)
- fuck:Play()
- end
- end
- function checkquest()
- for i, v in pairs(client.PlayerGui.HUD.QuestFrame:GetChildren()) do
- if v.Name == "Quest" then
- if v:FindFirstChild"TextLabel" then
- 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
- end
- end
- end
- return false
- end
- while wait() do
- jwdha = true
- repeat
- local lol = false
- wait()
- pcall(function()
- 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))
- end)
- pcall(function()
- local string_1 = "InteractWith"
- local userdata_1 = game:GetService"Workspace".Entities.AI["Village Elder"]
- local string_2 = "StartDialogue"
- local Target = game:GetService"ReplicatedStorage".Remotes.UIFunction
- Target:InvokeServer(string_1, userdata_1, string_2)
- end)
- pcall(function()
- local string_1 = "CurrentDialogueInput"
- local string_2 = "Accept"
- local Target = game:GetService"ReplicatedStorage".Remotes.UIFunction
- Target:InvokeServer(string_1, string_2)
- end)
- pcall(function() if checkquest() then lol = true end end)
- until lol == true
- repeat
- local lol = false
- wait()
- pcall(function()
- 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))
- end)
- pcall(function()
- local string_1 = "InteractWith"
- local userdata_1 = game:GetService"Workspace".Entities.AI["Yasato Village Mayor"]
- local string_2 = "StartDialogue"
- local Target = game:GetService"ReplicatedStorage".Remotes.UIFunction
- Target:InvokeServer(string_1, userdata_1, string_2)
- end)
- pcall(function()
- local string_1 = "CurrentDialogueInput"
- local string_2 = "Ok"
- local Target = game:GetService"ReplicatedStorage".Remotes.UIFunction
- Target:InvokeServer(string_1, string_2)
- end)
- pcall(function() if not checkquest() then lol = true end end)
- until lol == true
- end
Add Comment
Please, Sign In to add comment