Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.16 KB | None | 0 0
  1. while true do wait(3)
  2. if workspace:FindFirstChild("Present1")then
  3. Mushroom = workspace.Present1.PP
  4.  
  5. local tbl_main =
  6. {
  7. Mushroom.Parent.Name,
  8. "All"
  9. }
  10. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(tbl_main))
  11. local Beam = Instance.new("Beam")
  12. Beam.Name = "Track"
  13. Beam.Parent = game.Players.LocalPlayer.Character.Head
  14. Beam.Width0 = 0.3
  15. Beam.Width1 = 0.3
  16. local Point1 = Instance.new("Attachment")
  17. local Point2 = Instance.new("Attachment")
  18. Point1.Parent = game.Players.LocalPlayer.Character.Head
  19. Point2.Parent = Mushroom
  20. Beam.Attachment0 = Point1
  21. Beam.Attachment1 = Point2
  22. end
  23. if workspace:FindFirstChild("Present2")then
  24. Mushroom = workspace.Present2.PP
  25.  
  26. local tbl_main =
  27. {
  28. Mushroom.Parent.Name,
  29. "All"
  30. }
  31. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(tbl_main))
  32. local Beam = Instance.new("Beam")
  33. Beam.Name = "Track"
  34. Beam.Parent = game.Players.LocalPlayer.Character.Head
  35. Beam.Width0 = 0.3
  36. Beam.Width1 = 0.3
  37. local Point1 = Instance.new("Attachment")
  38. local Point2 = Instance.new("Attachment")
  39. Point1.Parent = game.Players.LocalPlayer.Character.Head
  40. Point2.Parent = Mushroom
  41. Beam.Attachment0 = Point1
  42. Beam.Attachment1 = Point2
  43. end
  44. if workspace:FindFirstChild("Present3")then
  45. Mushroom = workspace.Present3.PP
  46.  
  47. local tbl_main =
  48. {
  49. Mushroom.Parent.Name,
  50. "All"
  51. }
  52. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(tbl_main))
  53. local Beam = Instance.new("Beam")
  54. Beam.Name = "Track"
  55. Beam.Parent = game.Players.LocalPlayer.Character.Head
  56. Beam.Width0 = 0.3
  57. Beam.Width1 = 0.3
  58. local Point1 = Instance.new("Attachment")
  59. local Point2 = Instance.new("Attachment")
  60. Point1.Parent = game.Players.LocalPlayer.Character.Head
  61. Point2.Parent = Mushroom
  62. Beam.Attachment0 = Point1
  63. Beam.Attachment1 = Point2
  64. end
  65. if workspace:FindFirstChild("Present4")then
  66.  
  67. Mushroom = workspace.Present4.PP
  68.  
  69. local tbl_main =
  70. {
  71. Mushroom.Parent.Name,
  72. "All"
  73. }
  74. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(tbl_main))
  75. local Beam = Instance.new("Beam")
  76. Beam.Name = "Track"
  77. Beam.Parent = game.Players.LocalPlayer.Character.Head
  78. Beam.Width0 = 0.3
  79. Beam.Width1 = 0.3
  80. local Point1 = Instance.new("Attachment")
  81. local Point2 = Instance.new("Attachment")
  82. Point1.Parent = game.Players.LocalPlayer.Character.Head
  83. Point2.Parent = Mushroom
  84. Beam.Attachment0 = Point1
  85. Beam.Attachment1 = Point2
  86. end
  87. if workspace:FindFirstChild("Present5")then
  88.  
  89. Mushroom = workspace.Present5.PP
  90.  
  91. local tbl_main =
  92. {
  93. Mushroom.Parent.Name,
  94. "All"
  95. }
  96. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(tbl_main))
  97. local Beam = Instance.new("Beam")
  98. Beam.Name = "Track"
  99. Beam.Parent = game.Players.LocalPlayer.Character.Head
  100. Beam.Width0 = 0.3
  101. Beam.Width1 = 0.3
  102. local Point1 = Instance.new("Attachment")
  103. local Point2 = Instance.new("Attachment")
  104. Point1.Parent = game.Players.LocalPlayer.Character.Head
  105. Point2.Parent = Mushroom
  106. Beam.Attachment0 = Point1
  107. Beam.Attachment1 = Point2
  108. end
  109. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement