Advertisement
memberhero

test2

Nov 20th, 2017
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.28 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. Sound2 = Instance.new("Sound")
  22. BillboardGui3 = Instance.new("BillboardGui")
  23. Script4 = Instance.new("Script")
  24. Sound5 = Instance.new("Sound")
  25. Sound6 = Instance.new("Sound")
  26. Sound7 = Instance.new("Sound")
  27. Sound8 = Instance.new("Sound")
  28. Sound9 = Instance.new("Sound")
  29. Script10 = Instance.new("Script")
  30. Script11 = Instance.new("Script")
  31. Sound12 = Instance.new("Sound")
  32. Sound13 = Instance.new("Sound")
  33. Script14 = Instance.new("Script")
  34. Script15 = Instance.new("Script")
  35. Hat16 = Instance.new("Hat")
  36. Script17 = Instance.new("Script")
  37. Script18 = Instance.new("Script")
  38. Script19 = Instance.new("Script")
  39. Hat20 = Instance.new("Hat")
  40. BodyGyro21 = Instance.new("BodyGyro")
  41. BodyPosition22 = Instance.new("BodyPosition")
  42. NumberValue23 = Instance.new("NumberValue")
  43. Hat24 = Instance.new("Hat")
  44. Sound25 = Instance.new("Sound")
  45. Script26 = Instance.new("Script")
  46. Sound27 = Instance.new("Sound")
  47. Sound28 = Instance.new("Sound")
  48. Sound29 = Instance.new("Sound")
  49. Model0.Name = "Mama"
  50. Model0.Parent = mas
  51. Part1.Name = "Torso"
  52. Part1.Parent = Model0
  53. Part1.Material = Enum.Material.SmoothPlastic
  54. Part1.BrickColor = BrickColor.new("Lily white")
  55. Part1.Transparency = 1
  56. Part1.Rotation = Vector3.new(0, -89.8799973, 0)
  57. Part1.Anchored = true
  58. Part1.CanCollide = false
  59. Part1.Elasticity = 0
  60. Part1.FormFactor = Enum.FormFactor.Custom
  61. Part1.Friction = 2
  62. Part1.Size = Vector3.new(1.73615527, 0.736980319, 0.141726971)
  63. Part1.CFrame = CFrame.new(21.7238541, 3.21069098, 8.70505238, 0.00200727838, -3.05110461e-08, -0.999997973, 3.43443971e-05, 0.99999851, -6.80302037e-10, 0.999997973, -3.43068823e-05, 0.0020064225)
  64. Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  65. Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  66. Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  67. Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  68. Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  69. Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  70. Part1.Color = Color3.new(0.929412, 0.917647, 0.917647)
  71. Part1.Position = Vector3.new(21.7238541, 3.21069098, 8.70505238)
  72. Part1.Orientation = Vector3.new(0, -89.8899994, 0)
  73. Part1.Color = Color3.new(0.929412, 0.917647, 0.917647)
  74. Sound2.Name = "DeathSound"
  75. Sound2.Parent = Part1
  76. Sound2.Volume = 3
  77. BillboardGui3.Name = "Body"
  78. BillboardGui3.Parent = Part1
  79. BillboardGui3.Size = UDim2.new(2.5, 0, 3, 0)
  80. Script4.Parent = BillboardGui3
  81. table.insert(cors,sandbox(Script4,function()
  82.  
  83. print("Animation is working!")
  84. while true do
  85. script.Parent.ImageLabel.Image = "http://www.roblox.com/asset/?id=572983080"
  86. wait(14)
  87. script.Parent.ImageLabel.Image = "http://www.roblox.com/asset/?id=572983296"
  88. wait(14)
  89. script.Parent.ImageLabel.Image = "http://www.roblox.com/asset/?id=572983570"
  90. wait(14)
  91. script.Parent.ImageLabel.Image = "http://www.roblox.com/asset/?id=572984000"
  92. wait(14)
  93. end
  94. end))
  95. Sound5.Name = "Slide"
  96. Sound5.Parent = Part1
  97. Sound5.Volume = 5
  98. Sound6.Name = "3"
  99. Sound6.Parent = Part1
  100. Sound6.Volume = 3
  101. Sound7.Name = "2"
  102. Sound7.Parent = Part1
  103. Sound7.Volume = 3
  104. Sound8.Name = "1"
  105. Sound8.Parent = Part1
  106. Sound8.Volume = 3
  107. Sound9.Name = "Awake_1"
  108. Sound9.Parent = Part1
  109. Sound9.Volume = 10
  110. Script10.Parent = Part1
  111. table.insert(cors,sandbox(Script10,function()
  112. fpor = game.Workspace.FindPartOnRay
  113. seen_dist = 99999999999999999999999999
  114. function canSee(subject,viewer)
  115. if (not subject) or (not viewer) then return false end
  116. local sh = subject:findFirstChild("Torso")
  117. local vh = viewer:findFirstChild("Head")
  118. if (not sh) or (not vh) then return false end
  119. Wait(0.1)
  120. local vec = sh.Position - vh.Position
  121. local isInFOV = (vec:Dot(vh.CFrame.lookVector) > 0)
  122. if (isInFOV) and (vec.magnitude < seen_dist) then
  123. local ray = Ray.new(vh.Position,vec.unit*200)
  124. local por = fpor(workspace,ray,viewer,false)
  125. return (por == nil) or (por:IsDescendantOf(subject))
  126. end
  127. return false
  128. end
  129. function canSee2(subject,viewer)
  130. if (not subject) or (not viewer) then return false end
  131. local sh = subject:findFirstChild("Torso")
  132. local vh = viewer:findFirstChild("Head")
  133. if (not sh) or (not vh) then return false end
  134. local vec = sh.Position - vh.Position
  135. if (vec.magnitude < seen_dist) then
  136. local ray = Ray.new(vh.Position,vec.unit*200)
  137. local por = fpor(workspace,ray,viewer,false)
  138. return (por == nil) or (por:IsDescendantOf(subject))
  139. end
  140. return false
  141. end
  142. while true do
  143. local minmag = nil
  144. local minply = nil
  145. local mindir = nil
  146. local beingwatched = false
  147. players = game:GetService("Players"):GetChildren()
  148. for i=1,#players do
  149. char = players[i].Character
  150. if char then
  151. local foundhead = char:FindFirstChild("Head")
  152. local foundtorso = char:FindFirstChild("Torso")
  153. local foundHumanoidRootPart = char:FindFirstChild("Torso")
  154. local foundhum = char:FindFirstChild("Humanoid")
  155. if foundhead and foundtorso and foundHumanoidRootPart and foundhum and foundhum.Health > 0 then
  156. local sub = (script.Parent.CFrame.p - foundhead.CFrame.p)
  157. local dir = sub.unit
  158. local mag = sub.magnitude
  159. if not minmag or minmag > mag then
  160. minmag = mag
  161. minply = char:FindFirstChild("Torso")
  162. mindir = dir
  163. if canSee(script.Parent.Parent, char) then beingwatched = true end
  164. end
  165. end
  166. end
  167. end
  168. if minply and not beingwatched and canSee2(script.Parent.Parent, minply.Parent) then
  169. if minmag and minmag <= 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 then
  170. local unit = (script.Parent.Position-minply.Position).unit
  171. unit = Vector3.new(unit.X,0,unit.Z)
  172. script.Parent.CFrame = CFrame.new(script.Parent.Position + (unit*-10), Vector3.new(minply.Position.X, script.Parent.Position.Y, minply.Position.Z))
  173. script.Parent.Slide:Play()
  174. if minmag < 0 and minply.Parent:FindFirstChild("Humanoid") and minply.Parent.Humanoid.Health > 0 then
  175. minply.Parent:FindFirstChild("Humanoid"):TakeDamage(0)
  176. local SelectedAttackList = {"NeckSnap1", "NeckSnap2", "NeckSnap3"};
  177. local SelectedAttackSound = script.Parent[math.random(1, #SelectedAttackList)];
  178. SelectedAttackSound:Play()end
  179. end
  180. end
  181. Wait(0)
  182. end
  183. end))
  184. Script11.Name = "MonsterScript"
  185. Script11.Parent = Part1
  186. table.insert(cors,sandbox(Script11,function()
  187. --[[ By: Brutez. ]]--
  188. local MonsterScript=script;
  189. repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Part";
  190. local MonsterBlock=script.Parent;
  191. local MonsterMove=150;
  192. function FindNearestBae()
  193. local NoticeDistance=99999999999999999999999999;
  194. local torso=nil;
  195. for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
  196. if TargetModel.className=="Model"and TargetModel:FindFirstChild("Torso")and TargetModel:FindFirstChild("Head")then
  197. local TargetPart=TargetModel:FindFirstChild("Torso");
  198. local FoundHumanoid=nil;
  199. for _,Child in pairs(TargetModel:GetChildren())do
  200. if Child.ClassName=="Humanoid"then
  201. FoundHumanoid=Child;
  202. end;
  203. end;
  204. if TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-MonsterBlock.Position).magnitude<NoticeDistance then
  205. torso=TargetPart;
  206. NoticeDistance=(TargetPart.Position-MonsterBlock.Position).magnitude;
  207. if TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-MonsterBlock.Position).magnitude<5 then
  208. wait(0.5)
  209. local DeathSound=MonsterBlock:FindFirstChild("DeathSound");
  210. DeathSound:Play()
  211. FoundHumanoid:TakeDamage(100);
  212. end;
  213. end;
  214. end
  215. end;
  216. return torso;
  217. end;
  218. while Wait(0)do
  219. local TargetPart=FindNearestBae();
  220. if MonsterMove>0 then
  221. MonsterMove=MonsterMove-1;
  222. end;
  223. if TargetPart and MonsterMove<0 or TargetPart and MonsterMove==0 then
  224. local TargetPartHead=TargetPart.Parent:FindFirstChild("Head");
  225. MonsterBlock.CFrame=CFrame.new(TargetPartHead.Position+Vector3.new(math.random(-5,5),-0.55,math.random(-5,5)));
  226. MonsterBlock.CFrame=CFrame.new(MonsterBlock.Position,TargetPartHead.Position);
  227. script.Luagh:Play()
  228. MonsterMove=300;
  229. end;
  230. end;
  231. --[[ By: Brutez. ]]--
  232. end))
  233. Sound12.Name = "Luagh"
  234. Sound12.Parent = Script11
  235. Sound12.SoundId = "rbxassetid://615946346"
  236. Sound12.Volume = 10
  237. Sound13.Name = "Luagh"
  238. Sound13.Parent = Script11
  239. Sound13.SoundId = "rbxassetid://615946346"
  240. Sound13.Volume = 10
  241. Script14.Parent = Script11
  242. table.insert(cors,sandbox(Script14,function()
  243. script.Parent.Disabled = true
  244. wait(35)
  245. script.Parent.Disabled = false
  246.  
  247. end))
  248. Script15.Name = "qPerfectionWeld"
  249. Script15.Parent = Part1
  250. table.insert(cors,sandbox(Script15,function()
  251. -- Created by Quenty (@Quenty, follow me on twitter).
  252. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  253. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  254.  
  255. --[[ INSTRUCTIONS
  256. - Place in the model
  257. - Make sure model is anchored
  258. - That's it. It will weld the model and all children.
  259.  
  260. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  261. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  262. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  263. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  264. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  265. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  266. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  267. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  268.  
  269. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
  270. ]]
  271.  
  272. --[[ DOCUMENTATION
  273. - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
  274. - Will work in PBS servers
  275. - Will work as long as it starts out with the part anchored
  276. - Stores the relative CFrame as a CFrame value
  277. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  278. - Utilizes a recursive algorith to find all parts in the model
  279. - Will reweld on script reparent if the script is initially parented to a tool.
  280. - Welds as fast as possible
  281. ]]
  282.  
  283. -- qPerfectionWeld.lua
  284. -- Created 10/6/2014
  285. -- Author: Quenty
  286. -- Version 1.0.3
  287.  
  288. -- Updated 10/14/2014 - Updated to 1.0.1
  289. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  290.  
  291. -- Updated 10/14/2014 - Updated to 1.0.2
  292. --- Fixed bug fix.
  293.  
  294. -- Updated 10/14/2014 - Updated to 1.0.3
  295. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  296.  
  297. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  298.  
  299.  
  300. local function CallOnChildren(Instance, FunctionToCall)
  301. -- Calls a function on each of the children of a certain object, using recursion.
  302.  
  303. FunctionToCall(Instance)
  304.  
  305. for _, Child in next, Instance:GetChildren() do
  306. CallOnChildren(Child, FunctionToCall)
  307. end
  308. end
  309.  
  310. local function GetNearestParent(Instance, ClassName)
  311. -- Returns the nearest parent of a certain class, or returns nil
  312.  
  313. local Ancestor = Instance
  314. repeat
  315. Ancestor = Ancestor.Parent
  316. if Ancestor == nil then
  317. return nil
  318. end
  319. until Ancestor:IsA(ClassName)
  320.  
  321. return Ancestor
  322. end
  323.  
  324. local function GetBricks(StartInstance)
  325. local List = {}
  326.  
  327. -- if StartInstance:IsA("BasePart") then
  328. -- List[#List+1] = StartInstance
  329. -- end
  330.  
  331. CallOnChildren(StartInstance, function(Item)
  332. if Item:IsA("BasePart") then
  333. List[#List+1] = Item;
  334. end
  335. end)
  336.  
  337. return List
  338. end
  339.  
  340. local function Modify(Instance, Values)
  341. -- Modifies an Instance by using a table.
  342.  
  343. assert(type(Values) == "table", "Values is not a table");
  344.  
  345. for Index, Value in next, Values do
  346. if type(Index) == "number" then
  347. Value.Parent = Instance
  348. else
  349. Instance[Index] = Value
  350. end
  351. end
  352. return Instance
  353. end
  354.  
  355. local function Make(ClassType, Properties)
  356. -- Using a syntax hack to create a nice way to Make new items.
  357.  
  358. return Modify(Instance.new(ClassType), Properties)
  359. end
  360.  
  361. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  362. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  363.  
  364. local function HasWheelJoint(Part)
  365. for _, SurfaceName in pairs(Surfaces) do
  366. for _, HingSurfaceName in pairs(HingSurfaces) do
  367. if Part[SurfaceName].Name == HingSurfaceName then
  368. return true
  369. end
  370. end
  371. end
  372.  
  373. return false
  374. end
  375.  
  376. local function ShouldBreakJoints(Part)
  377. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  378. -- definitely some edge cases.
  379.  
  380. if NEVER_BREAK_JOINTS then
  381. return false
  382. end
  383.  
  384. if HasWheelJoint(Part) then
  385. return false
  386. end
  387.  
  388. local Connected = Part:GetConnectedParts()
  389.  
  390. if #Connected == 1 then
  391. return false
  392. end
  393.  
  394. for _, Item in pairs(Connected) do
  395. if HasWheelJoint(Item) then
  396. return false
  397. elseif not Item:IsDescendantOf(script.Parent) then
  398. return false
  399. end
  400. end
  401.  
  402. return true
  403. end
  404.  
  405. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  406. --- Weld's 2 parts together
  407. -- @param Part0 The first part
  408. -- @param Part1 The second part (Dependent part most of the time).
  409. -- @param [JointType] The type of joint. Defaults to weld.
  410. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  411. -- @return The weld created.
  412.  
  413. JointType = JointType or "Weld"
  414. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  415.  
  416. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  417. Modify(NewWeld, {
  418. Name = "qCFrameWeldThingy";
  419. Part0 = Part0;
  420. Part1 = Part1;
  421. C0 = CFrame.new();--Part0.CFrame:inverse();
  422. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  423. Parent = Part1;
  424. })
  425.  
  426. if not RelativeValue then
  427. RelativeValue = Make("CFrameValue", {
  428. Parent = Part1;
  429. Name = "qRelativeCFrameWeldValue";
  430. Archivable = true;
  431. Value = NewWeld.C1;
  432. })
  433. end
  434.  
  435. return NewWeld
  436. end
  437.  
  438. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  439. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  440. -- @param MainPart The part to weld the model to (can be in the model).
  441. -- @param [JointType] The type of joint. Defaults to weld.
  442. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  443.  
  444. for _, Part in pairs(Parts) do
  445. if ShouldBreakJoints(Part) then
  446. Part:BreakJoints()
  447. end
  448. end
  449.  
  450. for _, Part in pairs(Parts) do
  451. if Part ~= MainPart then
  452. WeldTogether(MainPart, Part, JointType, MainPart)
  453. end
  454. end
  455.  
  456. if not DoNotUnanchor then
  457. for _, Part in pairs(Parts) do
  458. Part.Anchored = false
  459. end
  460. MainPart.Anchored = false
  461. end
  462. end
  463.  
  464. local function PerfectionWeld()
  465. local Tool = GetNearestParent(script, "Tool")
  466.  
  467. local Parts = GetBricks(script.Parent)
  468. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  469.  
  470. if PrimaryPart then
  471. WeldParts(Parts, PrimaryPart, "Weld", false)
  472. else
  473. warn("qWeld - Unable to weld part")
  474. end
  475.  
  476. return Tool
  477. end
  478.  
  479. local Tool = PerfectionWeld()
  480.  
  481.  
  482. if Tool and script.ClassName == "Script" then
  483. --- Don't bother with local scripts
  484.  
  485. script.Parent.AncestryChanged:connect(function()
  486. PerfectionWeld()
  487. end)
  488. end
  489.  
  490. -- Created by Quenty (@Quenty, follow me on twitter).
  491.  
  492. end))
  493. Hat16.Parent = Script15
  494. Hat16.AttachmentForward = Vector3.new(-0, -0.0995037183, -0.995037198)
  495. Hat16.AttachmentPos = Vector3.new(0, 0.899999976, 0)
  496. Hat16.AttachmentUp = Vector3.new(0, 0.995037198, -0.0995037183)
  497. Script17.Name = "AimScript"
  498. Script17.Parent = mas
  499. table.insert(cors,sandbox(Script17,function()
  500. bin = script.Parent
  501.  
  502. function move(target)
  503. local dir = (target.Position - bin.Position).unit
  504. local spawnPos = bin.Position
  505. local pos = spawnPos + (dir * 1)
  506. bin:findFirstChild("BodyGyro").cframe = CFrame.new(pos, pos + dir)
  507. bin:findFirstChild("BodyGyro").maxTorque = Vector3.new(9000,9000,9000)
  508. end
  509.  
  510. function moveTo(target)
  511. bin.BodyPosition.position = target.Position
  512. bin.BodyPosition.maxForce = Vector3.new(10000,10000,10000) * bin.Speed.Value
  513. end
  514.  
  515. function findNearestTorso(pos)
  516. local list = game.Workspace:GetChildren()
  517. local torso = nil
  518. local dist = 1000
  519. local temp = nil
  520. local human = nil
  521. local temp2 = nil
  522. for x = 1, #list do
  523. temp2 = list[x]
  524. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  525. temp = temp2:findFirstChild("Torso")
  526. human = temp2:findFirstChild("Humanoid")
  527. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  528. if (temp.Position - pos).magnitude < dist then
  529. torso = temp
  530. dist = (temp.Position - pos).magnitude
  531. end
  532. end
  533. end
  534. end
  535. return torso
  536. end
  537.  
  538. function shoot(pos)
  539. dir = (pos - bin.CFrame.p).unit
  540. for i = 1, 50 do
  541. local ex = Instance.new("Explosion")
  542. ex.BlastRadius = 1
  543. ex.Position = bin.Position + (dir * 10 * i) + (dir * 7)
  544. ex.Parent = game.Workspace
  545. end
  546. end
  547.  
  548. function shootAt(torso)
  549. local dir = (torso.Position - bin.Position).unit
  550. local spawnPos = bin.Position
  551. local pos = spawnPos + (dir * 1)
  552. shoot(pos)
  553. end
  554.  
  555. while true do
  556. local torso = findNearestTorso(bin.Position)
  557. if torso~=nil then
  558. move(torso)
  559. moveTo(torso)
  560. end
  561. wait()
  562. end
  563.  
  564. end))
  565. Script18.Name = "BloodScript"
  566. Script18.Parent = mas
  567. table.insert(cors,sandbox(Script18,function()
  568. function onPlayerDied(dead)
  569. local h = script.Parent.Humanoid
  570. if (h.Health==0) then
  571. local head = script.Parent.Head
  572. local blood1 = Instance.new("Part")
  573. blood1.BrickColor = BrickColor.new(21)
  574. blood1.formFactor = 2
  575. blood1.Size = Vector3.new(1, 0.4, 1)
  576. blood1.Position = head.Position
  577. blood1.Name = "Blood"
  578. blood1.Parent = script.Parent
  579. local blood2 = Instance.new("Part")
  580. blood2.BrickColor = BrickColor.new(21)
  581. blood2.formFactor = 2
  582. blood2.Size = Vector3.new(1, 0.4, 1)
  583. blood2.Position = head.Position
  584. blood2.Name = "Blood"
  585. blood2.Parent = script.Parent
  586. local blood3 = Instance.new("Part")
  587. blood3.BrickColor = BrickColor.new(21)
  588. blood3.formFactor = 2
  589. blood3.Size = Vector3.new(1, 0.4, 1)
  590. blood3.Position = head.Position
  591. blood3.Name = "Blood"
  592. blood3.Parent = script.Parent
  593. local blood4 = Instance.new("Part")
  594. blood4.BrickColor = BrickColor.new(21)
  595. blood4.formFactor = 2
  596. blood4.Size = Vector3.new(1, 0.4, 1)
  597. blood4.Position = head.Position
  598. blood4.Name = "Blood"
  599. blood4.Parent = script.Parent
  600.  
  601. end
  602. end
  603.  
  604. script.Parent.Humanoid.Died:connect(onPlayerDied)
  605.  
  606. end))
  607. Script19.Name = "BloodScript"
  608. Script19.Parent = mas
  609. table.insert(cors,sandbox(Script19,function()
  610. function onPlayerDied(dead)
  611. local h = script.Parent.Humanoid
  612. if (h.Health==0) then
  613. local head = script.Parent.Head
  614. local blood1 = Instance.new("Part")
  615. blood1.BrickColor = BrickColor.new(21)
  616. blood1.formFactor = 2
  617. blood1.Size = Vector3.new(1, 0.4, 1)
  618. blood1.Position = head.Position
  619. blood1.Name = "Blood"
  620. blood1.Parent = script.Parent
  621. local blood2 = Instance.new("Part")
  622. blood2.BrickColor = BrickColor.new(21)
  623. blood2.formFactor = 2
  624. blood2.Size = Vector3.new(1, 0.4, 1)
  625. blood2.Position = head.Position
  626. blood2.Name = "Blood"
  627. blood2.Parent = script.Parent
  628. local blood3 = Instance.new("Part")
  629. blood3.BrickColor = BrickColor.new(21)
  630. blood3.formFactor = 2
  631. blood3.Size = Vector3.new(1, 0.4, 1)
  632. blood3.Position = head.Position
  633. blood3.Name = "Blood"
  634. blood3.Parent = script.Parent
  635. local blood4 = Instance.new("Part")
  636. blood4.BrickColor = BrickColor.new(21)
  637. blood4.formFactor = 2
  638. blood4.Size = Vector3.new(1, 0.4, 1)
  639. blood4.Position = head.Position
  640. blood4.Name = "Blood"
  641. blood4.Parent = script.Parent
  642.  
  643. end
  644. end
  645.  
  646. script.Parent.Humanoid.Died:connect(onPlayerDied)
  647.  
  648. end))
  649. Hat20.Parent = mas
  650. Hat20.AttachmentForward = Vector3.new(0, -0.626603544, -0.779338181)
  651. Hat20.AttachmentPos = Vector3.new(0, -2.9000001, 0)
  652. Hat20.AttachmentUp = Vector3.new(0, 0.779338181, -0.626603544)
  653. BodyGyro21.Parent = mas
  654. BodyGyro21.CFrame = CFrame.new(-23.0568619, 3.29982138, 142.397675, -0.896692276, 2.74394679e-05, -0.44265461, -0, 1.00000012, 6.19884304e-05, 0.442654669, 5.55845472e-05, -0.896692157)
  655. BodyGyro21.maxTorque = Vector3.new(9000, 9000, 9000)
  656. BodyGyro21.MaxTorque = Vector3.new(9000, 9000, 9000)
  657. BodyPosition22.Parent = mas
  658. BodyPosition22.position = Vector3.new(-18.1542473, 3.29913354, 152.328903)
  659. BodyPosition22.Position = Vector3.new(-18.1542473, 3.29913354, 152.328903)
  660. NumberValue23.Name = "Speed"
  661. NumberValue23.Parent = mas
  662. NumberValue23.Value = 0.2
  663. Hat24.Parent = NumberValue23
  664. Hat24.AttachmentForward = Vector3.new(-0, -0.0995037183, -0.995037198)
  665. Hat24.AttachmentPos = Vector3.new(0, 0.899999976, 0)
  666. Hat24.AttachmentUp = Vector3.new(0, 0.995037198, -0.0995037183)
  667. Sound25.Name = "Intro"
  668. Sound25.Parent = Part1
  669. Sound25.SoundId = "rbxassetid://676571530"
  670. Script26.Parent = Sound25
  671. table.insert(cors,sandbox(Script26,function()
  672. game.Workspace.Mama.Torso.Anchored = true
  673. script.Parent:Play()
  674. wait(35)
  675. game.Workspace.Mama.Torso.Anchored = false
  676. script.Parent:Stop()
  677.  
  678. end))
  679. Sound27.Name = "Theme"
  680. Sound27.Parent = Model0
  681. Sound27.Volume = 1
  682. Sound27.Looped = true
  683. Sound28.Name = "Theme"
  684. Sound28.Parent = Model0
  685. Sound28.Volume = 1
  686. Sound28.Looped = true
  687. Sound29.Name = "Theme"
  688. Sound29.Parent = Model0
  689. Sound29.Volume = 1
  690. Sound29.Looped = true
  691. for i,v in pairs(mas:GetChildren()) do
  692. v.Parent = workspace
  693. pcall(function() v:MakeJoints() end)
  694. end
  695. mas:Destroy()
  696. for i,v in pairs(cors) do
  697. spawn(function()
  698. pcall(v)
  699. end)
  700. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement