Advertisement
nilusk

Untitled

Nov 12th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. local plrh = game.Players.LocalPlayer.Character.HumanoidRootPart
  2. local placeholder = Instance.new("ScreenGui")
  3. placeholder.Name = "Mainframe"
  4. placeholder.Parent = game.Workspace.Blackbeard
  5. game.workspace.Blackbeard.Mainframe:Destroy()
  6. while _G.on do
  7. for i,v in pairs(game.workspace:GetChildren()) do
  8. if v.Name == "Blackbeard" then
  9. plrh.CFrame = CFrame.new(v.HumanoidRootPart.Position + Vector3.new(0, 4, 0), v.HumanoidRootPart.Position)
  10. wait(0.2)
  11. game.workspace[game.Players.LocalPlayer.Name].Combat.ActionEvent:FireServer()
  12. wait(0.3)
  13. v.Humanoid.Health = 0
  14. game.ReplicatedStorage.DialogEvent:FireServer(unpack{"finishblackbeardquest"})
  15. end
  16. end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement