Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent = workspace
- local plr = game:GetService'Players'.LocalPlayer
- local keys = require(game.ReplicatedStorage.Assets.Modules.KeyHandler)();
- local dialogue = keys.getKey("SendDialogue", "apricot")
- local wipes = 0
- plr.CharacterAdded:connect(function(char)
- repeat wait() until char:FindFirstChild'Immortal' and char:FindFirstChildOfClass'ForceField' and char:FindFirstChildOfClass'Shirt'
- if (char.HumanoidRootPart.Position - Vector3.new(-7155, 275, 2790)).magnitude <= 1000 then
- for _, a in pairs(char:children()) do
- if a.Name == "Immortal" or a:IsA'ForceField' then
- a:Destroy()
- end
- end
- wipes = wipes + 1
- char:WaitForChild'HumanoidRootPart'.CFrame = workspace.NPCs.Ferryman.Head.CFrame
- wait(.5)
- fireclickdetector(workspace.NPCs.Ferryman.ClickDetector)
- wait(.5)
- dialogue:FireServer({["choice"] = "My son."})
- end
- end)
- spawn(function()
- local vu = game:GetService("VirtualUser")
- game:GetService("Players").LocalPlayer.Idled:connect(function()
- vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
- wait(1)
- vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
- end)
- for _, a in pairs(game:GetService("Players"):players()) do
- a.Chatted:connect(function(m)
- if m:lower() == "wipes" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Wipes: " .. tostring(wipes) .. " Grips: " .. tostring(wipes*3), "All")
- end
- end)
- end
- game:GetService("Players").PlayerAdded:connect(function(a)
- a.Chatted:connect(function(m)
- if m:lower() == "wipes" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Wipes: " .. tostring(wipes) .. " Grips: " .. tostring(wipes*3), "All")
- end
- end)
- end)
- end)
- while wait() do
- local char = plr.Character
- if char ~= nil and char:FindFirstChild'Immortal' and char:FindFirstChildOfClass'ForceField' and char:FindFirstChildOfClass'Shirt' and (char.HumanoidRootPart.Position - Vector3.new(-7155, 275, 2790)).magnitude >= 1000 then
- plr.Character.Humanoid:MoveTo(Vector3.new(1556, 248, 1308))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement