Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2020
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. script.Parent.Text = "Game"
  2. wait(10)
  3. script.Parent.Text = "Pilot"
  4. wait(125)
  5.  
  6. local players = game.Players:GetChildren() --135 ("Oh no!!! Look!!!!") & Plane crashes
  7. local Players = game:GetService("Players")
  8. local function dialog()
  9.  
  10. randomPlayer()
  11. wait(20)
  12. randomPlayer() --155 ("Hey, look, there's a cabin over there!")
  13. wait(25)
  14. randomPlayer() --180
  15.  
  16. workspace.Cabin.Cabin.Door.ClickDetector.MouseClick:Connect(function(Player)
  17. randomPlayer() --0 ("Oh no, the door's locked!")
  18. wait(5)
  19. randomPlayer() --5 ("Maybe there's a way to break in?")
  20. wait(5)
  21. randomPlayer() --10 ("No, the door seems to be fully closed and we don't have a tool we can break the door with.")
  22. wait(5)
  23. randomPlayer() --15 ("Oh well, I guess we'll take shelter elsewhere.")
  24. wait(5)
  25. randomPlayer() --20 ("Maybe we can build a hut?")
  26. wait(5)
  27. randomPlayer() --25 ("Sounds good to me!")
  28. while workspace.Values.Logs.Value < 5 do
  29. wait()
  30. end
  31. wait(15)
  32. script.Parent.Text = ""
  33. wait(20)
  34. randomPlayer() --35 ("Good morning everyone!")
  35. wait(10)
  36. randomPlayer() --45 ("Let's look for food!")
  37. wait(10)
  38. randomPlayer()
  39.  
  40. workspace.Cabin.Lever.ClickDetector.MouseClick:Connect(function()
  41.  
  42. wait(20)
  43. script.Parent.Text = "Monster" --220 ("Or... Are you?")
  44. script.Parent.Parent.ImageLabel.Image = "http://www.roblox.com/asset/?id=3145408962" --220 (Monster)
  45.  
  46. workspace.Cabin.Cabin.HAMMER.ClickDetector.MouseClick:Connect(function()
  47. wait(95)
  48. script.Parent.Text = "Bacon"
  49. script.Parent.Parent.ImageLabel.Image = "http://www.roblox.com/asset/?id=3605198507" --Bacon hair
  50. wait(15)
  51. randomPlayer()
  52. wait(5)
  53. script.Parent.Text = "Bacon" --115
  54. script.Parent.Parent.ImageLabel.Image = "http://www.roblox.com/asset/?id=3605198507" --Bacon hair
  55. wait(20)
  56. randomPlayer()
  57. wait(5)
  58. script.Parent.Text = "Bacon"
  59. script.Parent.Parent.ImageLabel.Image = "http://www.roblox.com/asset/?id=3605198507" --Bacon hair
  60. wait(35)
  61. script.Parent.Text = "Helicopter Co - Pilot" --175
  62. script.Parent.Parent.ImageLabel.Visible = false
  63. wait(5)
  64. randomPlayer()
  65. wait(5)
  66. script.Parent.Text = "Helicopter Pilot" --185
  67. wait(5)
  68. end)
  69. end)
  70. end)
  71. end
  72. dialog()
  73. function randomPlayer()
  74. if #players >= 1 then
  75. local player1 = players[math.random(1,#Players:GetPlayers())]
  76. script.Parent.Text = player1.Name
  77. local userId = player1.UserId
  78. local thumbType = Enum.ThumbnailType.HeadShot
  79. local thumbSize = Enum.ThumbnailSize.Size420x420
  80. local content, isReady = Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
  81. local imageLabel = script.Parent.Parent.ImageLabel
  82. imageLabel.Image = content
  83. imageLabel.Size = UDim2.new(0, 78, 0, 69)
  84. end
  85. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement