DontAskme

cats

Oct 30th, 2017
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.08 KB | None | 0 0
  1. function sandbox(var,func)
  2. local env = getfenv(func)
  3. local newenv = setmetatable({},{
  4. __index = function(self,k)
  5. if k=="script" then
  6. return var
  7. else
  8. return env[k]
  9. end
  10. end,
  11. })
  12. setfenv(func,newenv)
  13. return func
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. Model0 = Instance.new("Model")
  18. Model1 = Instance.new("Model")
  19. Part2 = Instance.new("Part")
  20. Weld3 = Instance.new("Weld")
  21. Part4 = Instance.new("Part")
  22. Weld5 = Instance.new("Weld")
  23. Part6 = Instance.new("Part")
  24. Weld7 = Instance.new("Weld")
  25. Weld8 = Instance.new("Weld")
  26. Weld9 = Instance.new("Weld")
  27. Weld10 = Instance.new("Weld")
  28. Weld11 = Instance.new("Weld")
  29. Weld12 = Instance.new("Weld")
  30. Weld13 = Instance.new("Weld")
  31. Weld14 = Instance.new("Weld")
  32. Weld15 = Instance.new("Weld")
  33. Weld16 = Instance.new("Weld")
  34. Part17 = Instance.new("Part")
  35. Snap18 = Instance.new("Snap")
  36. Part19 = Instance.new("Part")
  37. Part20 = Instance.new("Part")
  38. SpecialMesh21 = Instance.new("SpecialMesh")
  39. Decal22 = Instance.new("Decal")
  40. CharacterMesh23 = Instance.new("CharacterMesh")
  41. Part24 = Instance.new("Part")
  42. SpecialMesh25 = Instance.new("SpecialMesh")
  43. Decal26 = Instance.new("Decal")
  44. Script27 = Instance.new("Script")
  45. Script28 = Instance.new("Script")
  46. Script29 = Instance.new("Script")
  47. Script30 = Instance.new("Script")
  48. Script31 = Instance.new("Script")
  49. Humanoid32 = Instance.new("Humanoid")
  50. Weld33 = Instance.new("Weld")
  51. BodyColors34 = Instance.new("BodyColors")
  52. CharacterMesh35 = Instance.new("CharacterMesh")
  53. CharacterMesh36 = Instance.new("CharacterMesh")
  54. CharacterMesh37 = Instance.new("CharacterMesh")
  55. CharacterMesh38 = Instance.new("CharacterMesh")
  56. Pants39 = Instance.new("Pants")
  57. Shirt40 = Instance.new("Shirt")
  58. Part41 = Instance.new("Part")
  59. SpecialMesh42 = Instance.new("SpecialMesh")
  60. Model43 = Instance.new("Model")
  61. Part44 = Instance.new("Part")
  62. CylinderMesh45 = Instance.new("CylinderMesh")
  63. Model46 = Instance.new("Model")
  64. Part47 = Instance.new("Part")
  65. CylinderMesh48 = Instance.new("CylinderMesh")
  66. Model49 = Instance.new("Model")
  67. Part50 = Instance.new("Part")
  68. CylinderMesh51 = Instance.new("CylinderMesh")
  69. Model52 = Instance.new("Model")
  70. Model53 = Instance.new("Model")
  71. Part54 = Instance.new("Part")
  72. SpecialMesh55 = Instance.new("SpecialMesh")
  73. Part56 = Instance.new("Part")
  74. SpecialMesh57 = Instance.new("SpecialMesh")
  75. Part58 = Instance.new("Part")
  76. CylinderMesh59 = Instance.new("CylinderMesh")
  77. Part60 = Instance.new("Part")
  78. SpecialMesh61 = Instance.new("SpecialMesh")
  79. Model62 = Instance.new("Model")
  80. Part63 = Instance.new("Part")
  81. SpecialMesh64 = Instance.new("SpecialMesh")
  82. Part65 = Instance.new("Part")
  83. SpecialMesh66 = Instance.new("SpecialMesh")
  84. Part67 = Instance.new("Part")
  85. SpecialMesh68 = Instance.new("SpecialMesh")
  86. Part69 = Instance.new("Part")
  87. SpecialMesh70 = Instance.new("SpecialMesh")
  88. Part71 = Instance.new("Part")
  89. SpecialMesh72 = Instance.new("SpecialMesh")
  90. Part73 = Instance.new("Part")
  91. SpecialMesh74 = Instance.new("SpecialMesh")
  92. Part75 = Instance.new("Part")
  93. SpecialMesh76 = Instance.new("SpecialMesh")
  94. Model77 = Instance.new("Model")
  95. Part78 = Instance.new("Part")
  96. Part79 = Instance.new("Part")
  97. Part80 = Instance.new("Part")
  98. WedgePart81 = Instance.new("WedgePart")
  99. Part82 = Instance.new("Part")
  100. Part83 = Instance.new("Part")
  101. WedgePart84 = Instance.new("WedgePart")
  102. Model85 = Instance.new("Model")
  103. BodyColors86 = Instance.new("BodyColors")
  104. Pants87 = Instance.new("Pants")
  105. Shirt88 = Instance.new("Shirt")
  106. Hat89 = Instance.new("Hat")
  107. Part90 = Instance.new("Part")
  108. SpecialMesh91 = Instance.new("SpecialMesh")
  109. Script92 = Instance.new("Script")
  110. Script93 = Instance.new("Script")
  111. Humanoid94 = Instance.new("Humanoid")
  112. Script95 = Instance.new("Script")
  113. Script96 = Instance.new("Script")
  114. LocalScript97 = Instance.new("LocalScript")
  115. Part98 = Instance.new("Part")
  116. Decal99 = Instance.new("Decal")
  117. SpecialMesh100 = Instance.new("SpecialMesh")
  118. Weld101 = Instance.new("Weld")
  119. Weld102 = Instance.new("Weld")
  120. Weld103 = Instance.new("Weld")
  121. Dialog104 = Instance.new("Dialog")
  122. DialogChoice105 = Instance.new("DialogChoice")
  123. DialogChoice106 = Instance.new("DialogChoice")
  124. Part107 = Instance.new("Part")
  125. Part108 = Instance.new("Part")
  126. Part109 = Instance.new("Part")
  127. Part110 = Instance.new("Part")
  128. Part111 = Instance.new("Part")
  129. Motor6D112 = Instance.new("Motor6D")
  130. Motor6D113 = Instance.new("Motor6D")
  131. Motor6D114 = Instance.new("Motor6D")
  132. Motor6D115 = Instance.new("Motor6D")
  133. Motor6D116 = Instance.new("Motor6D")
  134. Decal117 = Instance.new("Decal")
  135. CharacterMesh118 = Instance.new("CharacterMesh")
  136. CharacterMesh119 = Instance.new("CharacterMesh")
  137. CharacterMesh120 = Instance.new("CharacterMesh")
  138. CharacterMesh121 = Instance.new("CharacterMesh")
  139. CharacterMesh122 = Instance.new("CharacterMesh")
  140. Model123 = Instance.new("Model")
  141. Part124 = Instance.new("Part")
  142. SpecialMesh125 = Instance.new("SpecialMesh")
  143. Part126 = Instance.new("Part")
  144. SpecialMesh127 = Instance.new("SpecialMesh")
  145. Model128 = Instance.new("Model")
  146. Part129 = Instance.new("Part")
  147. SpecialMesh130 = Instance.new("SpecialMesh")
  148. Part131 = Instance.new("Part")
  149. SpecialMesh132 = Instance.new("SpecialMesh")
  150. Model133 = Instance.new("Model")
  151. Part134 = Instance.new("Part")
  152. SpecialMesh135 = Instance.new("SpecialMesh")
  153. Part136 = Instance.new("Part")
  154. SpecialMesh137 = Instance.new("SpecialMesh")
  155. Model0.Name = " "
  156. Model0.Parent = mas
  157. Model1.Name = " "
  158. Model1.Parent = Model0
  159. Model1.PrimaryPart = Part17
  160. Part2.Name = "Right Leg"
  161. Part2.Parent = Model1
  162. Part2.BrickColor = BrickColor.new("Pastel brown")
  163. Part2.Rotation = Vector3.new(124.330002, 89.9499969, -110.449997)
  164. Part2.Anchored = true
  165. Part2.FormFactor = Enum.FormFactor.Symmetric
  166. Part2.Size = Vector3.new(1, 1.39999998, 1)
  167. Part2.CFrame = CFrame.new(-1.12788999, 0.80558902, 2.14618301, -3.93099617e-06, 1.05433992e-05, 0.999999642, 0.258822232, 0.965925038, -9.16567205e-06, -0.965924919, 0.258822203, -6.25834582e-06)
  168. Part2.BottomSurface = Enum.SurfaceType.Smooth
  169. Part2.Color = Color3.new(1, 0.8, 0.6)
  170. Part2.Position = Vector3.new(-1.12788999, 0.80558902, 2.14618301)
  171. Part2.Orientation = Vector3.new(0, 90, 15)
  172. Part2.Color = Color3.new(1, 0.8, 0.6)
  173. Weld3.Name = "SoundJack"
  174. Weld3.Parent = Part2
  175. Part4.Name = "Left Leg"
  176. Part4.Parent = Model1
  177. Part4.BrickColor = BrickColor.new("Pastel brown")
  178. Part4.Rotation = Vector3.new(92.9000015, 89.9499969, -108.639999)
  179. Part4.Anchored = true
  180. Part4.FormFactor = Enum.FormFactor.Symmetric
  181. Part4.Size = Vector3.new(1, 1.4000001, 1)
  182. Part4.CFrame = CFrame.new(-1.12739599, 0.805586994, 3.14530802, -7.89470141e-06, 2.34014442e-05, 0.999999642, -0.258818895, 0.965925813, -2.46720592e-05, -0.965925813, -0.258818895, -1.25155566e-06)
  183. Part4.BottomSurface = Enum.SurfaceType.Smooth
  184. Part4.Color = Color3.new(1, 0.8, 0.6)
  185. Part4.Position = Vector3.new(-1.12739599, 0.805586994, 3.14530802)
  186. Part4.Orientation = Vector3.new(0, 90, -15)
  187. Part4.Color = Color3.new(1, 0.8, 0.6)
  188. Weld5.Name = "SoundJack"
  189. Weld5.Parent = Part4
  190. Part6.Name = "Right Arm"
  191. Part6.Parent = Model1
  192. Part6.BrickColor = BrickColor.new("Pastel brown")
  193. Part6.Rotation = Vector3.new(140.300003, 89.9499969, -140.509995)
  194. Part6.Anchored = true
  195. Part6.FormFactor = Enum.FormFactor.Symmetric
  196. Part6.Size = Vector3.new(1, 1.5999999, 1)
  197. Part6.CFrame = CFrame.new(-1.12740803, 2.10561705, 1.34590101, -2.80441163e-05, 2.31133163e-05, 0.999999583, 1.98986595e-06, 1, -2.31132599e-05, -1, 1.98923044e-06, -2.78352272e-05)
  198. Part6.Color = Color3.new(1, 0.8, 0.6)
  199. Part6.Position = Vector3.new(-1.12740803, 2.10561705, 1.34590101)
  200. Part6.Orientation = Vector3.new(0, 90, 0)
  201. Part6.Color = Color3.new(1, 0.8, 0.6)
  202. Weld7.Name = "RightGrip"
  203. Weld7.Parent = Part6
  204. Weld7.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  205. Weld7.C1 = CFrame.new(-1, -0.75, 0.25, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  206. Weld8.Name = "RightGrip"
  207. Weld8.Parent = Part6
  208. Weld8.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  209. Weld8.C1 = CFrame.new(-1, -0.75, 0.25, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  210. Weld9.Name = "RightGrip"
  211. Weld9.Parent = Part6
  212. Weld9.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  213. Weld9.C1 = CFrame.new(-1, -0.75, 0.25, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  214. Weld10.Name = "RightGrip"
  215. Weld10.Parent = Part6
  216. Weld10.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  217. Weld10.C1 = CFrame.new(-1, -0.75, 0.25, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  218. Weld11.Name = "RightGrip"
  219. Weld11.Parent = Part6
  220. Weld11.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  221. Weld11.C1 = CFrame.new(-1, -0.75, 0.25, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  222. Weld12.Name = "RightGrip"
  223. Weld12.Parent = Part6
  224. Weld12.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  225. Weld12.C1 = CFrame.new(-1, -0.75, 0.25, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  226. Weld13.Name = "RightGrip"
  227. Weld13.Parent = Part6
  228. Weld13.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  229. Weld13.C1 = CFrame.new(-1, -0.75, 0.25, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  230. Weld14.Name = "RightGrip"
  231. Weld14.Parent = Part6
  232. Weld14.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  233. Weld14.C1 = CFrame.new(-1, -0.75, 0.25, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  234. Weld15.Name = "RightGrip"
  235. Weld15.Parent = Part6
  236. Weld15.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  237. Weld15.C1 = CFrame.new(-1, -0.75, 0.25, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  238. Weld16.Name = "RightGrip"
  239. Weld16.Parent = Part6
  240. Weld16.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  241. Weld16.C1 = CFrame.new(-1, -0.75, 0.25, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  242. Part17.Name = "Torso"
  243. Part17.Parent = Model1
  244. Part17.BrickColor = BrickColor.new("Pastel brown")
  245. Part17.Rotation = Vector3.new(-158.539993, 89.9499969, 159.600006)
  246. Part17.Anchored = true
  247. Part17.FormFactor = Enum.FormFactor.Symmetric
  248. Part17.Size = Vector3.new(1.60000002, 1.39999998, 1)
  249. Part17.CFrame = CFrame.new(-1.127648, 2.20560002, 2.64604902, -4.9771279e-06, -1.8507053e-06, 0.999999642, 1.96033011e-06, 1, 1.85072713e-06, -0.999999881, 1.9603458e-06, -4.70862506e-06)
  250. Part17.LeftSurface = Enum.SurfaceType.Weld
  251. Part17.RightSurface = Enum.SurfaceType.Weld
  252. Part17.Color = Color3.new(1, 0.8, 0.6)
  253. Part17.Position = Vector3.new(-1.127648, 2.20560002, 2.64604902)
  254. Part17.Orientation = Vector3.new(0, 90, 0)
  255. Part17.Color = Color3.new(1, 0.8, 0.6)
  256. Snap18.Name = "Neck"
  257. Snap18.Parent = Part17
  258. Snap18.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  259. Snap18.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  260. Part19.Name = "Left Arm"
  261. Part19.Parent = Model1
  262. Part19.BrickColor = BrickColor.new("Pastel brown")
  263. Part19.Rotation = Vector3.new(-86.8899994, 89.9499969, 87.0999985)
  264. Part19.Anchored = true
  265. Part19.FormFactor = Enum.FormFactor.Symmetric
  266. Part19.Size = Vector3.new(1, 1.39999998, 1)
  267. Part19.CFrame = CFrame.new(-1.12764096, 2.20556402, 3.94594908, 3.21850712e-06, -6.35524775e-05, 0.999999583, -5.99690111e-06, 1, 6.35525212e-05, -0.999999881, -5.99711029e-06, 3.45720764e-06)
  268. Part19.Color = Color3.new(1, 0.8, 0.6)
  269. Part19.Position = Vector3.new(-1.12764096, 2.20556402, 3.94594908)
  270. Part19.Orientation = Vector3.new(0, 90, 0)
  271. Part19.Color = Color3.new(1, 0.8, 0.6)
  272. Part20.Name = "Head"
  273. Part20.Parent = Model1
  274. Part20.BrickColor = BrickColor.new("Pastel brown")
  275. Part20.Rotation = Vector3.new(-158.539993, 89.9499969, 159.600006)
  276. Part20.Anchored = true
  277. Part20.FormFactor = Enum.FormFactor.Symmetric
  278. Part20.Size = Vector3.new(2, 1, 1)
  279. Part20.CFrame = CFrame.new(-1.12765098, 3.4055469, 2.64604712, -4.9771279e-06, -1.8507053e-06, 0.999999642, 1.96033011e-06, 1, 1.85072713e-06, -0.999999881, 1.9603458e-06, -4.70862506e-06)
  280. Part20.TopSurface = Enum.SurfaceType.Smooth
  281. Part20.Color = Color3.new(1, 0.8, 0.6)
  282. Part20.Position = Vector3.new(-1.12765098, 3.4055469, 2.64604712)
  283. Part20.Orientation = Vector3.new(0, 90, 0)
  284. Part20.Color = Color3.new(1, 0.8, 0.6)
  285. SpecialMesh21.Parent = Part20
  286. SpecialMesh21.Scale = Vector3.new(1.25, 1.25, 1.25)
  287. SpecialMesh21.Scale = Vector3.new(1.25, 1.25, 1.25)
  288. Decal22.Parent = Part20
  289. Decal22.Texture = "http://www.roblox.com/asset/?id=14382939"
  290. CharacterMesh23.Name = "Roblox 2.0 torso"
  291. CharacterMesh23.Parent = Model1
  292. CharacterMesh23.MeshId = 27111894
  293. CharacterMesh23.BodyPart = Enum.BodyPart.Torso
  294. Part24.Name = "Handle"
  295. Part24.Parent = Model1
  296. Part24.Rotation = Vector3.new(-158.789993, 89.9499969, 159.820007)
  297. Part24.Anchored = true
  298. Part24.CanCollide = false
  299. Part24.FormFactor = Enum.FormFactor.Symmetric
  300. Part24.Size = Vector3.new(2, 1, 1)
  301. Part24.CFrame = CFrame.new(-1.12765002, 3.08460402, 2.64604712, -5.03673255e-06, -1.8507053e-06, 0.999999642, 1.96033011e-06, 1, 1.85072713e-06, -0.99999994, 1.96034603e-06, -4.7682297e-06)
  302. Part24.BottomSurface = Enum.SurfaceType.Smooth
  303. Part24.TopSurface = Enum.SurfaceType.Smooth
  304. Part24.Position = Vector3.new(-1.12765002, 3.08460402, 2.64604712)
  305. Part24.Orientation = Vector3.new(0, 90, 0)
  306. SpecialMesh25.Parent = Part24
  307. SpecialMesh25.MeshId = "http://www.roblox.com/asset/?id=13070796"
  308. SpecialMesh25.TextureId = "http://www.roblox.com/asset/?id=13694600"
  309. SpecialMesh25.MeshType = Enum.MeshType.FileMesh
  310. Decal26.Parent = Part24
  311. Decal26.Texture = "http://www.roblox.com/asset/?id=14382939"
  312. Script27.Name = "Follow if Decides"
  313. Script27.Parent = Model1
  314. table.insert(cors,sandbox(Script27,function()
  315. local larm = script.Parent:FindFirstChild("Left Arm")
  316. local rarm = script.Parent:FindFirstChild("Right Arm")
  317.  
  318. function findNearestTorso(pos)
  319. local list = game.Workspace:children()
  320. local torso = nil
  321. local dist = 20
  322. local temp = nil
  323. local human = nil
  324. local temp2 = nil
  325. for x = 1, #list do
  326. temp2 = list[x]
  327. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  328. temp = temp2:findFirstChild("Torso")
  329. human = temp2:findFirstChild("Humanoid")
  330. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  331. if (temp.Position - pos).magnitude < dist then
  332. torso = temp
  333. dist = (temp.Position - pos).magnitude
  334. wait(7)
  335. script.Parent.Humanoid:MoveTo(Vector3.new(math.random(-100,100),0,math.random(-100,100)), game.Workspace.Base)
  336. wait(1.5)
  337. end
  338. end
  339. end
  340. end
  341. return torso
  342. end
  343.  
  344. while true do
  345. wait(1.5)
  346. local target = findNearestTorso(script.Parent.Torso.Position)
  347. if target ~= nil then
  348. script.Parent.Humanoid:MoveTo(target.Position, target)
  349. else
  350. script.Parent.Humanoid:MoveTo(Vector3.new(math.random(-100,100),0,math.random(-100,100)), game.Workspace.Base)
  351. end
  352. end
  353. end))
  354. Script28.Name = "Moving joints when standing"
  355. Script28.Parent = Model1
  356. table.insert(cors,sandbox(Script28,function()
  357. function waitForChild(parent, childName)
  358. local child = parent:findFirstChild(childName)
  359. if child then return child end
  360. while true do
  361. child = parent.ChildAdded:wait()
  362. if child.Name==childName then return child end
  363. end
  364. end
  365.  
  366.  
  367. function onTeamChanged(player)
  368.  
  369. wait(1)
  370.  
  371. local char = player.Character
  372. if char == nil then return end
  373.  
  374. if player.Neutral then
  375. local old = char:findFirstChild("Body Colors")
  376. if not old then return end
  377. old:clone().Parent = char
  378. old.Parent = nil
  379. else
  380. local head = char:findFirstChild("Head")
  381. local torso = char:findFirstChild("Torso")
  382. local left_arm = char:findFirstChild("Left Arm")
  383. local right_arm = char:findFirstChild("Right Arm")
  384. local left_leg = char:findFirstChild("Left Leg")
  385. local right_leg = char:findFirstChild("Right Leg")
  386.  
  387. if head then head.BrickColor = BrickColor.new(24) end
  388. if torso then torso.BrickColor = player.TeamColor end
  389. if left_arm then left_arm.BrickColor = BrickColor.new(26) end
  390. if right_arm then right_arm.BrickColor = BrickColor.new(26) end
  391. if left_leg then left_leg.BrickColor = BrickColor.new(26) end
  392. if right_leg then right_leg.BrickColor = BrickColor.new(26) end
  393. end
  394. end
  395.  
  396. function onPlayerPropChanged(property, player)
  397. if property == "Character" then
  398. onTeamChanged(player)
  399. end
  400. if property== "TeamColor" or property == "Neutral" then
  401. onTeamChanged(player)
  402. end
  403. end
  404.  
  405.  
  406. local cPlayer = game.Players:GetPlayerFromCharacter(script.Parent)
  407. cPlayer.Changed:connect(function(property) onPlayerPropChanged(property, cPlayer) end )
  408. onTeamChanged(cPlayer)
  409.  
  410. local Figure = script.Parent
  411. local Torso = waitForChild(Figure, "Torso")
  412. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  413. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  414. local RightHip = waitForChild(Torso, "Right Hip")
  415. local LeftHip = waitForChild(Torso, "Left Hip")
  416. local Neck = waitForChild(Torso, "Neck")
  417. local Humanoid = waitForChild(Figure, "Humanoid")
  418. local pose = "Standing"
  419.  
  420. local toolAnim = "None"
  421. local toolAnimTime = 0
  422.  
  423. local isSeated = false
  424.  
  425.  
  426. function onRunning(speed)
  427. if isSeated then return end
  428.  
  429. if speed>0 then
  430. pose = "Running"
  431. else
  432. pose = "Standing"
  433. end
  434. end
  435.  
  436. function onDied()
  437. pose = "Dead"
  438. end
  439.  
  440. function onJumping()
  441. isSeated = false
  442. pose = "Jumping"
  443. end
  444.  
  445. function onClimbing()
  446. pose = "Climbing"
  447. end
  448.  
  449. function onGettingUp()
  450. pose = "GettingUp"
  451. end
  452.  
  453. function onFreeFall()
  454. pose = "FreeFall"
  455. end
  456.  
  457. function onFallingDown()
  458. pose = "FallingDown"
  459. end
  460.  
  461. function onSeated()
  462. isSeated = true
  463. pose = "Seated"
  464. end
  465.  
  466. function moveJump()
  467. RightShoulder.MaxVelocity = 0.5
  468. LeftShoulder.MaxVelocity = 0.5
  469. RightShoulder.DesiredAngle = 3.14
  470. LeftShoulder.DesiredAngle = -3.14
  471. RightHip.DesiredAngle = 0
  472. LeftHip.DesiredAngle = 0
  473. end
  474.  
  475.  
  476. function moveFreeFall()
  477. RightShoulder.MaxVelocity = 0.5
  478. LeftShoulder.MaxVelocity = 0.5
  479. RightShoulder.DesiredAngle = 3.14
  480. LeftShoulder.DesiredAngle = -3.14
  481. RightHip.DesiredAngle = 0
  482. LeftHip.DesiredAngle = 0
  483. end
  484.  
  485. function moveSit()
  486. RightShoulder.MaxVelocity = 0.15
  487. LeftShoulder.MaxVelocity = 0.15
  488. RightShoulder.DesiredAngle = 3.14 /2
  489. LeftShoulder.DesiredAngle = -3.14 /2
  490. RightHip.DesiredAngle = 3.14 /2
  491. LeftHip.DesiredAngle = -3.14 /2
  492. end
  493.  
  494. function getTool()
  495. for _, kid in ipairs(Figure:GetChildren()) do
  496. if kid.className == "Tool" then return kid end
  497. end
  498. return nil
  499. end
  500.  
  501. function getToolAnim(tool)
  502. for _, c in ipairs(tool:GetChildren()) do
  503. if c.Name == "toolanim" and c.className == "StringValue" then
  504. return c
  505. end
  506. end
  507. return nil
  508. end
  509.  
  510. function animateTool()
  511.  
  512. if (toolAnim == "None") then
  513. RightShoulder.DesiredAngle = 1.57
  514. return
  515. end
  516.  
  517. if (toolAnim == "Slash") then
  518. RightShoulder.MaxVelocity = 0.5
  519. RightShoulder.DesiredAngle = 0
  520. return
  521. end
  522.  
  523. if (toolAnim == "Lunge") then
  524. RightShoulder.MaxVelocity = 0.5
  525. LeftShoulder.MaxVelocity = 0.5
  526. RightHip.MaxVelocity = 0.5
  527. LeftHip.MaxVelocity = 0.5
  528. RightShoulder.DesiredAngle = 1.57
  529. LeftShoulder.DesiredAngle = 1.0
  530. RightHip.DesiredAngle = 1.57
  531. LeftHip.DesiredAngle = 1.0
  532. return
  533. end
  534. end
  535.  
  536. function move(time)
  537. local amplitude
  538. local frequency
  539.  
  540. if (pose == "Jumping") then
  541. moveJump()
  542. return
  543. end
  544.  
  545. if (pose == "FreeFall") then
  546. moveFreeFall()
  547. return
  548. end
  549.  
  550. if (pose == "Seated") then
  551. moveSit()
  552. return
  553. end
  554.  
  555. local climbFudge = 0
  556.  
  557. if (pose == "Running") then
  558. RightShoulder.MaxVelocity = 0.15
  559. LeftShoulder.MaxVelocity = 0.15
  560. amplitude = 1
  561. frequency = 9
  562. elseif (pose == "Climbing") then
  563. RightShoulder.MaxVelocity = 0.5
  564. LeftShoulder.MaxVelocity = 0.5
  565. amplitude = 1
  566. frequency = 9
  567. climbFudge = 3.14
  568. else
  569. amplitude = 0.1
  570. frequency = 1
  571. end
  572.  
  573. desiredAngle = amplitude * math.sin(time*frequency)
  574.  
  575. RightShoulder.DesiredAngle = desiredAngle + climbFudge
  576. LeftShoulder.DesiredAngle = desiredAngle - climbFudge
  577. RightHip.DesiredAngle = -desiredAngle
  578. LeftHip.DesiredAngle = -desiredAngle
  579.  
  580.  
  581. local tool = getTool()
  582.  
  583. if tool then
  584.  
  585. animStringValueObject = getToolAnim(tool)
  586.  
  587. if animStringValueObject then
  588. toolAnim = animStringValueObject.Value
  589. -- message recieved, delete StringValue
  590. animStringValueObject.Parent = nil
  591. toolAnimTime = time + .3
  592. end
  593.  
  594. if time > toolAnimTime then
  595. toolAnimTime = 0
  596. toolAnim = "None"
  597. end
  598.  
  599. animateTool()
  600.  
  601.  
  602. else
  603. toolAnim = "None"
  604. toolAnimTime = 0
  605. end
  606. end
  607.  
  608. Humanoid.Died:connect(onDied)
  609. Humanoid.Running:connect(onRunning)
  610. Humanoid.Jumping:connect(onJumping)
  611. Humanoid.Climbing:connect(onClimbing)
  612. Humanoid.GettingUp:connect(onGettingUp)
  613. Humanoid.FreeFalling:connect(onFreeFall)
  614. Humanoid.FallingDown:connect(onFallingDown)
  615. Humanoid.Seated:connect(onSeated)
  616.  
  617.  
  618. local runService = game:service("RunService");
  619.  
  620. while Figure.Parent~=nil do
  621. local _, time = wait(0.1)
  622. move(time)
  623. end
  624.  
  625. end))
  626. Script29.Name = "Regenarate If attacked"
  627. Script29.Parent = Model1
  628. table.insert(cors,sandbox(Script29,function()
  629. function waitForChild(parent, childName)
  630. local child = parent:findFirstChild(childName)
  631. if child then return child end
  632. while true do
  633. child = parent.ChildAdded:wait()
  634. if child.Name==childName then return child end
  635. end
  636. end
  637.  
  638. local Figure = script.Parent
  639. local Head = waitForChild(Figure, "Head")
  640. local Humanoid = waitForChild(Figure, "Humanoid")
  641.  
  642. while true do
  643. local s = wait(1)
  644. local health = Humanoid.Health
  645. if health > 0 and health < Humanoid.MaxHealth then
  646. health = health + 0.01 * s * Humanoid.MaxHealth
  647. if health * 1.05 < Humanoid.MaxHealth then
  648. Humanoid.Health = health
  649. else
  650. Humanoid.Health = Humanoid.MaxHealth
  651. end
  652. end
  653. end
  654.  
  655. end))
  656. Script30.Name = "Spawn When Killed"
  657. Script30.Parent = Model1
  658. table.insert(cors,sandbox(Script30,function()
  659. name="Humanoid"
  660.  
  661.  
  662.  
  663. robo=script.Parent:clone()
  664.  
  665.  
  666.  
  667. while true do
  668.  
  669. wait(20)
  670.  
  671. if script.Parent.Humanoid.Health<1 then
  672.  
  673. robot=robo:clone()
  674.  
  675. robot.Parent=script.Parent.Parent
  676.  
  677. robot:makeJoints()
  678.  
  679. script.Parent:remove()
  680.  
  681. end
  682.  
  683. end
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692. end))
  693. Script31.Name = "Sound"
  694. Script31.Parent = Model1
  695. table.insert(cors,sandbox(Script31,function()
  696. -- util
  697.  
  698. function waitForChild(parent, childName)
  699. local child = parent:findFirstChild(childName)
  700. if child then return child end
  701. while true do
  702. child = parent.ChildAdded:wait()
  703. if child.Name==childName then return child end
  704. end
  705. end
  706.  
  707. function newSound(id)
  708. local sound = Instance.new("Sound")
  709. sound.SoundId = id
  710. sound.archivable = false
  711. sound.Parent = script.Parent.Head
  712. return sound
  713. end
  714.  
  715. -- declarations
  716.  
  717. local sDied = newSound("rbxasset://sounds/uuhhh.wav")
  718. local sFallingDown = newSound("rbxasset://sounds/splat.wav")
  719. local sFreeFalling = newSound("rbxasset://sounds/swoosh.wav")
  720. local sGettingUp = newSound("rbxasset://sounds/hit.wav")
  721. local sJumping = newSound("rbxasset://sounds/button.wav")
  722. local sRunning = newSound("rbxasset://sounds/bfsl-minifigfoots1.mp3")
  723. sRunning.Looped = true
  724.  
  725. local Figure = script.Parent
  726. local Head = waitForChild(Figure, "Head")
  727. local Humanoid = waitForChild(Figure, "Humanoid")
  728.  
  729. -- functions
  730.  
  731. function onDied()
  732. sDied:Play()
  733. end
  734.  
  735. function onState(state, sound)
  736. if state then
  737. sound:Play()
  738. else
  739. sound:Pause()
  740. end
  741. end
  742.  
  743. function onRunning(speed)
  744. if speed>0 then
  745. sRunning:Play()
  746. else
  747. sRunning:Pause()
  748. end
  749. end
  750.  
  751. -- connect up
  752.  
  753. Humanoid.Died:connect(onDied)
  754. Humanoid.Running:connect(onRunning)
  755. Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)
  756. Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)
  757. Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)
  758. Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)
  759.  
  760. end))
  761. Humanoid32.Name = "head"
  762. Humanoid32.Parent = Model1
  763. Humanoid32.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  764. Humanoid32.RightLeg = Part2
  765. Humanoid32.LeftLeg = Part4
  766. Humanoid32.Torso = Part17
  767. Humanoid32.Health = 0
  768. Humanoid32.MaxHealth = 0
  769. Humanoid32.WalkSpeed = 0
  770. Weld33.Name = "SoundJack"
  771. Weld33.Parent = Model1
  772. BodyColors34.Parent = Model1
  773. BodyColors34.HeadColor = BrickColor.new("Pastel brown")
  774. BodyColors34.LeftArmColor = BrickColor.new("Pastel brown")
  775. BodyColors34.LeftLegColor = BrickColor.new("Pastel brown")
  776. BodyColors34.RightArmColor = BrickColor.new("Pastel brown")
  777. BodyColors34.RightLegColor = BrickColor.new("Pastel brown")
  778. BodyColors34.TorsoColor = BrickColor.new("Pastel brown")
  779. CharacterMesh35.Name = "Roblox 2.0 Right Leg"
  780. CharacterMesh35.Parent = Model1
  781. CharacterMesh35.MeshId = 27111882
  782. CharacterMesh35.BodyPart = Enum.BodyPart.RightLeg
  783. CharacterMesh36.Name = "Roblox 2.0 Left Arm"
  784. CharacterMesh36.Parent = Model1
  785. CharacterMesh36.MeshId = 27111419
  786. CharacterMesh36.BodyPart = Enum.BodyPart.LeftArm
  787. CharacterMesh37.Name = "Roblox 2.0 Left Leg"
  788. CharacterMesh37.Parent = Model1
  789. CharacterMesh37.MeshId = 27111857
  790. CharacterMesh37.BodyPart = Enum.BodyPart.LeftLeg
  791. CharacterMesh38.Name = "Roblox 2.0 Right Arm"
  792. CharacterMesh38.Parent = Model1
  793. CharacterMesh38.MeshId = 27111864
  794. CharacterMesh38.BodyPart = Enum.BodyPart.RightArm
  795. Pants39.Name = "Pants"
  796. Pants39.Parent = Model1
  797. Pants39.PantsTemplate = "http://www.roblox.com/asset/?id=33082170"
  798. Shirt40.Name = "Shirt"
  799. Shirt40.Parent = Model1
  800. Shirt40.ShirtTemplate = "http://www.roblox.com/asset/?id=33078549"
  801. Part41.Name = "Handle"
  802. Part41.Parent = Model1
  803. Part41.Rotation = Vector3.new(-91.4800034, 89.9499969, 91.5400009)
  804. Part41.Anchored = true
  805. Part41.FormFactor = Enum.FormFactor.Symmetric
  806. Part41.Size = Vector3.new(1, 1, 1)
  807. Part41.CFrame = CFrame.new(-1.40090001, 3.59414911, 2.66582108, -5.03673255e-06, -0.00018741723, 0.999999642, -0.000209801467, 1, 0.00018741627, -0.99999994, -0.00020980055, -4.82783435e-06)
  808. Part41.BottomSurface = Enum.SurfaceType.Smooth
  809. Part41.TopSurface = Enum.SurfaceType.Smooth
  810. Part41.Position = Vector3.new(-1.40090001, 3.59414911, 2.66582108)
  811. Part41.Orientation = Vector3.new(-0.00999999978, 90, -0.00999999978)
  812. SpecialMesh42.Parent = Part41
  813. SpecialMesh42.MeshId = "http://www.roblox.com/asset/?id=14356597"
  814. SpecialMesh42.TextureId = "http://www.roblox.com/asset/?id=14767159"
  815. SpecialMesh42.MeshType = Enum.MeshType.FileMesh
  816. Model43.Name = "Food Bowl"
  817. Model43.Parent = mas
  818. Part44.Name = "Smooth Block Model"
  819. Part44.Parent = Model43
  820. Part44.Material = Enum.Material.Pebble
  821. Part44.BrickColor = BrickColor.new("Pine Cone")
  822. Part44.Rotation = Vector3.new(180, 0, 0)
  823. Part44.Anchored = true
  824. Part44.FormFactor = Enum.FormFactor.Custom
  825. Part44.Size = Vector3.new(1, 0.200000003, 1.60000014)
  826. Part44.CFrame = CFrame.new(-7.36395311, 0.710101008, -6.53591919, 1, 8.00030787e-19, 4.21697095e-08, 1.43616907e-20, -1, -1.86311279e-11, 4.52530671e-08, -1.86311279e-11, -1)
  827. Part44.BottomSurface = Enum.SurfaceType.Smooth
  828. Part44.TopSurface = Enum.SurfaceType.Smooth
  829. Part44.Color = Color3.new(0.423529, 0.345098, 0.294118)
  830. Part44.Position = Vector3.new(-7.36395311, 0.710101008, -6.53591919)
  831. Part44.Orientation = Vector3.new(0, 180, 180)
  832. Part44.Color = Color3.new(0.423529, 0.345098, 0.294118)
  833. CylinderMesh45.Parent = Part44
  834. Model46.Name = "Food Bowl"
  835. Model46.Parent = mas
  836. Part47.Name = "Smooth Block Model"
  837. Part47.Parent = Model46
  838. Part47.Material = Enum.Material.Pebble
  839. Part47.BrickColor = BrickColor.new("Pine Cone")
  840. Part47.Rotation = Vector3.new(180, 0, 0)
  841. Part47.Anchored = true
  842. Part47.FormFactor = Enum.FormFactor.Custom
  843. Part47.Size = Vector3.new(1, 0.200000003, 1.60000014)
  844. Part47.CFrame = CFrame.new(-8.36395073, 0.410066009, -4.53591919, 1, 8.00030787e-19, 4.21697095e-08, 1.43616907e-20, -1, -1.86311279e-11, 4.52530671e-08, -1.86311279e-11, -1)
  845. Part47.BottomSurface = Enum.SurfaceType.Smooth
  846. Part47.TopSurface = Enum.SurfaceType.Smooth
  847. Part47.Color = Color3.new(0.423529, 0.345098, 0.294118)
  848. Part47.Position = Vector3.new(-8.36395073, 0.410066009, -4.53591919)
  849. Part47.Orientation = Vector3.new(0, 180, 180)
  850. Part47.Color = Color3.new(0.423529, 0.345098, 0.294118)
  851. CylinderMesh48.Parent = Part47
  852. Model49.Name = "Food Bowl"
  853. Model49.Parent = mas
  854. Part50.Name = "Smooth Block Model"
  855. Part50.Parent = Model49
  856. Part50.Material = Enum.Material.Pebble
  857. Part50.BrickColor = BrickColor.new("Pine Cone")
  858. Part50.Rotation = Vector3.new(180, 0, 0)
  859. Part50.Anchored = true
  860. Part50.FormFactor = Enum.FormFactor.Custom
  861. Part50.Size = Vector3.new(1, 0.200000003, 1.60000014)
  862. Part50.CFrame = CFrame.new(-9.36394978, 0.110031001, -2.53591895, 1, 8.00030787e-19, 4.21697095e-08, 1.43616907e-20, -1, -1.86311279e-11, 4.52530671e-08, -1.86311279e-11, -1)
  863. Part50.BottomSurface = Enum.SurfaceType.Smooth
  864. Part50.TopSurface = Enum.SurfaceType.Smooth
  865. Part50.Color = Color3.new(0.423529, 0.345098, 0.294118)
  866. Part50.Position = Vector3.new(-9.36394978, 0.110031001, -2.53591895)
  867. Part50.Orientation = Vector3.new(0, 180, 180)
  868. Part50.Color = Color3.new(0.423529, 0.345098, 0.294118)
  869. CylinderMesh51.Parent = Part50
  870. Model52.Parent = mas
  871. Model53.Name = "PetBed"
  872. Model53.Parent = Model52
  873. Part54.Parent = Model53
  874. Part54.BrickColor = BrickColor.new("Dusty Rose")
  875. Part54.Rotation = Vector3.new(90, 0, -90)
  876. Part54.Anchored = true
  877. Part54.CanCollide = false
  878. Part54.FormFactor = Enum.FormFactor.Symmetric
  879. Part54.Size = Vector3.new(3, 3, 1)
  880. Part54.CFrame = CFrame.new(-13.5, 0.500007987, 1.5, -0, 1, -0, -0, 0, -1, -1, 0, -0)
  881. Part54.BottomSurface = Enum.SurfaceType.Smooth
  882. Part54.TopSurface = Enum.SurfaceType.Smooth
  883. Part54.Color = Color3.new(0.639216, 0.294118, 0.294118)
  884. Part54.Position = Vector3.new(-13.5, 0.500007987, 1.5)
  885. Part54.Orientation = Vector3.new(90, 90, 0)
  886. Part54.Color = Color3.new(0.639216, 0.294118, 0.294118)
  887. SpecialMesh55.Parent = Part54
  888. SpecialMesh55.MeshId = "http://www.roblox.com/asset/?id=3270017"
  889. SpecialMesh55.Scale = Vector3.new(3.0999999, 3.0999999, 6)
  890. SpecialMesh55.MeshType = Enum.MeshType.FileMesh
  891. SpecialMesh55.Scale = Vector3.new(3.0999999, 3.0999999, 6)
  892. Part56.Parent = Model53
  893. Part56.BrickColor = BrickColor.new("Pastel brown")
  894. Part56.Rotation = Vector3.new(90, 0, -90)
  895. Part56.Anchored = true
  896. Part56.CanCollide = false
  897. Part56.FormFactor = Enum.FormFactor.Symmetric
  898. Part56.Size = Vector3.new(3, 3, 1)
  899. Part56.CFrame = CFrame.new(-13.5, 0.500007987, 1.5, -0, 1, -0, -0, 0, -1, -1, 0, -0)
  900. Part56.BottomSurface = Enum.SurfaceType.Smooth
  901. Part56.TopSurface = Enum.SurfaceType.Smooth
  902. Part56.Color = Color3.new(1, 0.8, 0.6)
  903. Part56.Position = Vector3.new(-13.5, 0.500007987, 1.5)
  904. Part56.Orientation = Vector3.new(90, 90, 0)
  905. Part56.Color = Color3.new(1, 0.8, 0.6)
  906. SpecialMesh57.Parent = Part56
  907. SpecialMesh57.MeshId = "http://www.roblox.com/asset/?id=3270017"
  908. SpecialMesh57.Scale = Vector3.new(3, 3, 6)
  909. SpecialMesh57.MeshType = Enum.MeshType.FileMesh
  910. SpecialMesh57.Scale = Vector3.new(3, 3, 6)
  911. Part58.Name = "Cylinder"
  912. Part58.Parent = Model53
  913. Part58.BrickColor = BrickColor.new("Pastel brown")
  914. Part58.Anchored = true
  915. Part58.FormFactor = Enum.FormFactor.Plate
  916. Part58.Size = Vector3.new(3, 0.400000006, 3)
  917. Part58.CFrame = CFrame.new(-13.5, 0.200008988, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  918. Part58.BottomSurface = Enum.SurfaceType.Smooth
  919. Part58.TopSurface = Enum.SurfaceType.Smooth
  920. Part58.Color = Color3.new(1, 0.8, 0.6)
  921. Part58.Position = Vector3.new(-13.5, 0.200008988, 1.5)
  922. Part58.Color = Color3.new(1, 0.8, 0.6)
  923. CylinderMesh59.Parent = Part58
  924. Part60.Name = "Head"
  925. Part60.Parent = Model52
  926. Part60.Rotation = Vector3.new(0, 90, 0)
  927. Part60.Anchored = true
  928. Part60.FormFactor = Enum.FormFactor.Plate
  929. Part60.Size = Vector3.new(1, 0.800000012, 1)
  930. Part60.CFrame = CFrame.new(-13.5, 0.90000701, 1.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  931. Part60.BottomSurface = Enum.SurfaceType.Smooth
  932. Part60.TopSurface = Enum.SurfaceType.Smooth
  933. Part60.Position = Vector3.new(-13.5, 0.90000701, 1.5)
  934. Part60.Orientation = Vector3.new(0, 90, 0)
  935. SpecialMesh61.Parent = Part60
  936. SpecialMesh61.MeshId = "http://www.roblox.com/asset/?id=41754217"
  937. SpecialMesh61.Scale = Vector3.new(2.5999999, 2.5999999, 2.5999999)
  938. SpecialMesh61.TextureId = "http://www.roblox.com/asset/?id=41754203"
  939. SpecialMesh61.MeshType = Enum.MeshType.FileMesh
  940. SpecialMesh61.Scale = Vector3.new(2.5999999, 2.5999999, 2.5999999)
  941. Model62.Parent = mas
  942. Part63.Name = "HeadIdle"
  943. Part63.Parent = Model62
  944. Part63.Material = Enum.Material.SmoothPlastic
  945. Part63.BrickColor = BrickColor.new("Carnation pink")
  946. Part63.Rotation = Vector3.new(-180, 28.9300003, -180)
  947. Part63.Anchored = true
  948. Part63.CanCollide = false
  949. Part63.FormFactor = Enum.FormFactor.Custom
  950. Part63.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  951. Part63.CFrame = CFrame.new(-15.0180321, 0.309967011, 3.87380695, -0.875211716, 4.77595222e-06, 0.48374024, 3.00466309e-05, 0.999999464, 4.44892248e-05, -0.483737022, 5.08428275e-05, -0.875205874)
  952. Part63.BottomSurface = Enum.SurfaceType.Smooth
  953. Part63.TopSurface = Enum.SurfaceType.Smooth
  954. Part63.Color = Color3.new(1, 0.596078, 0.862745)
  955. Part63.Position = Vector3.new(-15.0180321, 0.309967011, 3.87380695)
  956. Part63.Orientation = Vector3.new(0, 151.070007, 0)
  957. Part63.Color = Color3.new(1, 0.596078, 0.862745)
  958. SpecialMesh64.Parent = Part63
  959. SpecialMesh64.Scale = Vector3.new(0.0584240407, 0.281358331, 0.0922485515)
  960. SpecialMesh64.MeshType = Enum.MeshType.Sphere
  961. SpecialMesh64.Scale = Vector3.new(0.0584240407, 0.281358331, 0.0922485515)
  962. Part65.Name = "HeadIdle"
  963. Part65.Parent = Model62
  964. Part65.Material = Enum.Material.SmoothPlastic
  965. Part65.BrickColor = BrickColor.new("Really black")
  966. Part65.Rotation = Vector3.new(-180, 28.9300003, -180)
  967. Part65.Anchored = true
  968. Part65.CanCollide = false
  969. Part65.FormFactor = Enum.FormFactor.Custom
  970. Part65.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  971. Part65.CFrame = CFrame.new(-14.9280138, 0.389963001, 3.92380404, -0.875211716, 4.77595222e-06, 0.48374024, 3.00466309e-05, 0.999999464, 4.44892248e-05, -0.483737022, 5.08428275e-05, -0.875205874)
  972. Part65.BottomSurface = Enum.SurfaceType.Smooth
  973. Part65.TopSurface = Enum.SurfaceType.Smooth
  974. Part65.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  975. Part65.Position = Vector3.new(-14.9280138, 0.389963001, 3.92380404)
  976. Part65.Orientation = Vector3.new(0, 151.070007, 0)
  977. Part65.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  978. SpecialMesh66.Parent = Part65
  979. SpecialMesh66.Scale = Vector3.new(0.0584240407, 0.281358331, 0.0922485515)
  980. SpecialMesh66.MeshType = Enum.MeshType.Sphere
  981. SpecialMesh66.Scale = Vector3.new(0.0584240407, 0.281358331, 0.0922485515)
  982. Part67.Name = "HeadIdle"
  983. Part67.Parent = Model62
  984. Part67.Material = Enum.Material.SmoothPlastic
  985. Part67.BrickColor = BrickColor.new("Really black")
  986. Part67.Rotation = Vector3.new(-180, 28.9300003, -180)
  987. Part67.Anchored = true
  988. Part67.CanCollide = false
  989. Part67.FormFactor = Enum.FormFactor.Custom
  990. Part67.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  991. Part67.CFrame = CFrame.new(-14.9280138, 0.389968991, 3.81380796, -0.875211716, 4.77595222e-06, 0.48374024, 3.00466309e-05, 0.999999464, 4.44892248e-05, -0.483737022, 5.08428275e-05, -0.875205874)
  992. Part67.BottomSurface = Enum.SurfaceType.Smooth
  993. Part67.TopSurface = Enum.SurfaceType.Smooth
  994. Part67.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  995. Part67.Position = Vector3.new(-14.9280138, 0.389968991, 3.81380796)
  996. Part67.Orientation = Vector3.new(0, 151.070007, 0)
  997. Part67.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  998. SpecialMesh68.Parent = Part67
  999. SpecialMesh68.Scale = Vector3.new(0.0584240407, 0.281358331, 0.0922485515)
  1000. SpecialMesh68.MeshType = Enum.MeshType.Sphere
  1001. SpecialMesh68.Scale = Vector3.new(0.0584240407, 0.281358331, 0.0922485515)
  1002. Part69.Name = "Concrete"
  1003. Part69.Parent = Model62
  1004. Part69.BrickColor = BrickColor.new("Dark stone grey")
  1005. Part69.Rotation = Vector3.new(-23, 90, 0)
  1006. Part69.Anchored = true
  1007. Part69.CanCollide = false
  1008. Part69.FormFactor = Enum.FormFactor.Custom
  1009. Part69.Size = Vector3.new(0.400000006, 0.389999986, 0.200000003)
  1010. Part69.CFrame = CFrame.new(-14.7302017, 0.50691402, 3.72005796, 3.04878158e-05, -7.19708332e-05, 1, -0.390682876, 0.920525372, 7.81620474e-05, -0.920525432, -0.390682817, -5.29616955e-08)
  1011. Part69.BottomSurface = Enum.SurfaceType.Smooth
  1012. Part69.TopSurface = Enum.SurfaceType.Smooth
  1013. Part69.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1014. Part69.Position = Vector3.new(-14.7302017, 0.50691402, 3.72005796)
  1015. Part69.Orientation = Vector3.new(0, 90, -23)
  1016. Part69.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1017. SpecialMesh70.Parent = Part69
  1018. SpecialMesh70.Scale = Vector3.new(0.611011207, 0.790721893, 1)
  1019. SpecialMesh70.MeshType = Enum.MeshType.Sphere
  1020. SpecialMesh70.Scale = Vector3.new(0.611011207, 0.790721893, 1)
  1021. Part71.Name = "Concrete"
  1022. Part71.Parent = Model62
  1023. Part71.BrickColor = BrickColor.new("Dark stone grey")
  1024. Part71.Rotation = Vector3.new(25, 90, 0)
  1025. Part71.Anchored = true
  1026. Part71.CanCollide = false
  1027. Part71.FormFactor = Enum.FormFactor.Custom
  1028. Part71.Size = Vector3.new(0.400000006, 0.389999986, 0.200000003)
  1029. Part71.CFrame = CFrame.new(-14.7302017, 0.506892979, 4.07004213, -3.30850598e-05, -7.08144435e-05, 1, 0.422674, 0.906281829, 7.81620402e-05, -0.906281829, 0.422674, -5.29689714e-08)
  1030. Part71.BottomSurface = Enum.SurfaceType.Smooth
  1031. Part71.TopSurface = Enum.SurfaceType.Smooth
  1032. Part71.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1033. Part71.Position = Vector3.new(-14.7302017, 0.506892979, 4.07004213)
  1034. Part71.Orientation = Vector3.new(0, 90, 25)
  1035. Part71.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1036. SpecialMesh72.Parent = Part71
  1037. SpecialMesh72.Scale = Vector3.new(0.611011207, 0.790721893, 1)
  1038. SpecialMesh72.MeshType = Enum.MeshType.Sphere
  1039. SpecialMesh72.Scale = Vector3.new(0.611011207, 0.790721893, 1)
  1040. Part73.Name = "Grass"
  1041. Part73.Parent = Model62
  1042. Part73.BrickColor = BrickColor.new("Dark stone grey")
  1043. Part73.Rotation = Vector3.new(0, 0, 90)
  1044. Part73.Anchored = true
  1045. Part73.FormFactor = Enum.FormFactor.Custom
  1046. Part73.Size = Vector3.new(0.531939209, 1.50956094, 0.654143095)
  1047. Part73.CFrame = CFrame.new(-14.2748461, 0.26593399, 3.89006305, 4.04744469e-06, -1, -8.23752925e-05, 1, 4.05159426e-06, -5.0374023e-05, 5.03743577e-05, -8.23750888e-05, 1)
  1048. Part73.BottomSurface = Enum.SurfaceType.Smooth
  1049. Part73.TopSurface = Enum.SurfaceType.Smooth
  1050. Part73.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1051. Part73.Position = Vector3.new(-14.2748461, 0.26593399, 3.89006305)
  1052. Part73.Orientation = Vector3.new(0, 0, 90)
  1053. Part73.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1054. SpecialMesh74.Parent = Part73
  1055. SpecialMesh74.MeshType = Enum.MeshType.Sphere
  1056. Part75.Name = "Grass"
  1057. Part75.Parent = Model62
  1058. Part75.BrickColor = BrickColor.new("Carnation pink")
  1059. Part75.Rotation = Vector3.new(-180, 0.0199999996, 90)
  1060. Part75.Anchored = true
  1061. Part75.FormFactor = Enum.FormFactor.Custom
  1062. Part75.Size = Vector3.new(0.208462656, 1.21512735, 0.200000003)
  1063. Part75.CFrame = CFrame.new(-13.4473782, 0.31419, 3.90643907, -6.30594104e-06, -1.00000429, 0.000419713033, -1.00000584, 5.53119025e-06, 5.574854e-05, -5.15961328e-05, -0.000419695483, -0.99999392)
  1064. Part75.BottomSurface = Enum.SurfaceType.Smooth
  1065. Part75.TopSurface = Enum.SurfaceType.Smooth
  1066. Part75.Color = Color3.new(1, 0.596078, 0.862745)
  1067. Part75.Position = Vector3.new(-13.4473782, 0.31419, 3.90643907)
  1068. Part75.Orientation = Vector3.new(0, 179.979996, -90)
  1069. Part75.Color = Color3.new(1, 0.596078, 0.862745)
  1070. SpecialMesh76.Parent = Part75
  1071. SpecialMesh76.MeshType = Enum.MeshType.Sphere
  1072. Model77.Parent = mas
  1073. Part78.Parent = Model77
  1074. Part78.Material = Enum.Material.Wood
  1075. Part78.BrickColor = BrickColor.new("Dark orange")
  1076. Part78.Rotation = Vector3.new(180, 0, -180)
  1077. Part78.Anchored = true
  1078. Part78.Size = Vector3.new(8, 4.80000019, 1)
  1079. Part78.CFrame = CFrame.new(-14, 2.40001011, 5.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  1080. Part78.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1081. Part78.Position = Vector3.new(-14, 2.40001011, 5.5)
  1082. Part78.Orientation = Vector3.new(0, -180, 0)
  1083. Part78.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1084. Part79.Parent = Model77
  1085. Part79.Material = Enum.Material.Wood
  1086. Part79.BrickColor = BrickColor.new("Dark orange")
  1087. Part79.Rotation = Vector3.new(180, 0, -180)
  1088. Part79.Anchored = true
  1089. Part79.Size = Vector3.new(1, 4.80000019, 1)
  1090. Part79.CFrame = CFrame.new(-10.5, 2.40001011, 4.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  1091. Part79.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1092. Part79.Position = Vector3.new(-10.5, 2.40001011, 4.5)
  1093. Part79.Orientation = Vector3.new(0, -180, 0)
  1094. Part79.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1095. Part80.Parent = Model77
  1096. Part80.Material = Enum.Material.Wood
  1097. Part80.BrickColor = BrickColor.new("Dark orange")
  1098. Part80.Rotation = Vector3.new(180, 0, -180)
  1099. Part80.Anchored = true
  1100. Part80.Size = Vector3.new(1, 4.80000019, 1)
  1101. Part80.CFrame = CFrame.new(-10.5, 2.40001011, -0.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  1102. Part80.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1103. Part80.Position = Vector3.new(-10.5, 2.40001011, -0.5)
  1104. Part80.Orientation = Vector3.new(0, -180, 0)
  1105. Part80.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1106. WedgePart81.Parent = Model77
  1107. WedgePart81.Material = Enum.Material.Wood
  1108. WedgePart81.BrickColor = BrickColor.new("Bright red")
  1109. WedgePart81.Rotation = Vector3.new(180, 0, 180)
  1110. WedgePart81.Anchored = true
  1111. WedgePart81.Size = Vector3.new(8, 2.4000001, 4)
  1112. WedgePart81.CFrame = CFrame.new(-14, 6.00001431, 4, -0.999999881, -1.03162006e-06, -1.48975801e-08, -1.04582989e-06, 1, -2.27373675e-13, -1.49002908e-08, 6.23988399e-08, -0.999999881)
  1113. WedgePart81.Color = Color3.new(0.768627, 0.156863, 0.109804)
  1114. WedgePart81.Position = Vector3.new(-14, 6.00001431, 4)
  1115. WedgePart81.Orientation = Vector3.new(0, -180, 0)
  1116. WedgePart81.Color = Color3.new(0.768627, 0.156863, 0.109804)
  1117. Part82.Parent = Model77
  1118. Part82.Material = Enum.Material.Wood
  1119. Part82.BrickColor = BrickColor.new("Dark orange")
  1120. Part82.Rotation = Vector3.new(0, -90, 0)
  1121. Part82.Anchored = true
  1122. Part82.Size = Vector3.new(6, 4.80000019, 1)
  1123. Part82.CFrame = CFrame.new(-17.5, 2.40001011, 2, 0, 0, -1, 0, 1, -0, 1, 0, -0)
  1124. Part82.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1125. Part82.Position = Vector3.new(-17.5, 2.40001011, 2)
  1126. Part82.Orientation = Vector3.new(0, -90, 0)
  1127. Part82.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1128. Part83.Parent = Model77
  1129. Part83.Material = Enum.Material.Wood
  1130. Part83.BrickColor = BrickColor.new("Dark orange")
  1131. Part83.Rotation = Vector3.new(180, 0, -180)
  1132. Part83.Anchored = true
  1133. Part83.Size = Vector3.new(8, 4.80000019, 1)
  1134. Part83.CFrame = CFrame.new(-14, 2.40001011, -1.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  1135. Part83.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1136. Part83.Position = Vector3.new(-14, 2.40001011, -1.5)
  1137. Part83.Orientation = Vector3.new(0, -180, 0)
  1138. Part83.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1139. WedgePart84.Parent = Model77
  1140. WedgePart84.Material = Enum.Material.Wood
  1141. WedgePart84.BrickColor = BrickColor.new("Bright red")
  1142. WedgePart84.Anchored = true
  1143. WedgePart84.Size = Vector3.new(8, 2.4000001, 4)
  1144. WedgePart84.CFrame = CFrame.new(-14, 6.00000858, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1145. WedgePart84.Color = Color3.new(0.768627, 0.156863, 0.109804)
  1146. WedgePart84.Position = Vector3.new(-14, 6.00000858, 0)
  1147. WedgePart84.Color = Color3.new(0.768627, 0.156863, 0.109804)
  1148. Model85.Name = "Mom"
  1149. Model85.Parent = mas
  1150. BodyColors86.Parent = Model85
  1151. BodyColors86.HeadColor = BrickColor.new("Light orange")
  1152. BodyColors86.LeftArmColor = BrickColor.new("Light orange")
  1153. BodyColors86.LeftLegColor = BrickColor.new("Light orange")
  1154. BodyColors86.RightArmColor = BrickColor.new("Light orange")
  1155. BodyColors86.RightLegColor = BrickColor.new("Light orange")
  1156. BodyColors86.TorsoColor = BrickColor.new("Light orange")
  1157. Pants87.Name = "Pants"
  1158. Pants87.Parent = Model85
  1159. Pants87.PantsTemplate = "http://www.roblox.com/asset/?id=13568836"
  1160. Shirt88.Name = "Shirt"
  1161. Shirt88.Parent = Model85
  1162. Shirt88.ShirtTemplate = "http://www.roblox.com/asset/?id=43660300"
  1163. Hat89.Name = "GoldenHair"
  1164. Hat89.Parent = Model85
  1165. Hat89.AttachmentPos = Vector3.new(0, 0.800000012, 0)
  1166. Part90.Name = "Handle"
  1167. Part90.Parent = Hat89
  1168. Part90.Rotation = Vector3.new(-90, 89.9700012, 90)
  1169. Part90.CanCollide = false
  1170. Part90.FormFactor = Enum.FormFactor.Symmetric
  1171. Part90.Size = Vector3.new(2, 1, 1)
  1172. Part90.CFrame = CFrame.new(10, 4.20002985, 3.5, 0, -3.4521365e-21, 0.999999881, 4.80963077e-21, 1, 3.4521357e-21, -0.999999881, 4.80963117e-21, 0)
  1173. Part90.BottomSurface = Enum.SurfaceType.Smooth
  1174. Part90.TopSurface = Enum.SurfaceType.Smooth
  1175. Part90.Position = Vector3.new(10, 4.20002985, 3.5)
  1176. Part90.Orientation = Vector3.new(0, 90, 0)
  1177. SpecialMesh91.Parent = Part90
  1178. SpecialMesh91.MeshId = "http://www.roblox.com/asset/?id=13070796"
  1179. SpecialMesh91.TextureId = "http://www.roblox.com/asset/?id=13070807"
  1180. SpecialMesh91.MeshType = Enum.MeshType.FileMesh
  1181. Script92.Name = "Health"
  1182. Script92.Parent = Model85
  1183. table.insert(cors,sandbox(Script92,function()
  1184. function waitForChild(parent, childName)
  1185. local child = parent:findFirstChild(childName)
  1186. if child then return child end
  1187. while true do
  1188. child = parent.ChildAdded:wait()
  1189. if child.Name==childName then return child end
  1190. end
  1191. end
  1192.  
  1193. -- declarations
  1194. local Figure = script.Parent
  1195. local Head = waitForChild(Figure, "Head")
  1196. local Humanoid = waitForChild(Figure, "Humanoid")
  1197. local regening = false
  1198.  
  1199. -- regeneration
  1200. function regenHealth()
  1201. if regening then return end
  1202. regening = true
  1203. while Humanoid.Health < Humanoid.MaxHealth do
  1204. local s = wait(1)
  1205. local health = Humanoid.Health
  1206. if health > 0 and health < Humanoid.MaxHealth then
  1207. local newHealthDelta = 0.01 * s * Humanoid.MaxHealth
  1208. health = health + newHealthDelta
  1209. Humanoid.Health = math.min(health,Humanoid.MaxHealth)
  1210. end
  1211. end
  1212. if Humanoid.Health > Humanoid.MaxHealth then
  1213. Humanoid.Health = Humanoid.MaxHealth
  1214. end
  1215. regening = false
  1216. end
  1217.  
  1218. Humanoid.HealthChanged:connect(regenHealth)
  1219.  
  1220. end))
  1221. Script93.Name = "HealthScript v3.1"
  1222. Script93.Parent = Model85
  1223. table.insert(cors,sandbox(Script93,function()
  1224. local HealthGUI_prototype = script:FindFirstChild("HealthGUI")
  1225. local lastHealth = 100
  1226. local lastHealth2 = 100
  1227. local maxWidth = 0.96
  1228.  
  1229. local humanoid = script.Parent.Humanoid
  1230.  
  1231. if (humanoid == nil) then
  1232. print("ERROR: no humanoid found in 'HealthScript v3.1'")
  1233. end
  1234.  
  1235.  
  1236. function CreateGUI()
  1237. local p = game.Players:GetPlayerFromCharacter(humanoid.Parent)
  1238. HealthGUI_prototype.Parent = p.PlayerGui
  1239. end
  1240.  
  1241. function UpdateGUI(health)
  1242. tray = HealthGUI_prototype.tray
  1243. local width = (health / humanoid.MaxHealth) * maxWidth
  1244. local height = 0.83
  1245. local lastX = tray.bar.Position.X.Scale
  1246. local x = 0.019 + (maxWidth - width)
  1247. local y = 0.1
  1248.  
  1249. tray.bar.Position = UDim2.new(x,0,y, 0)
  1250. tray.bar.Size = UDim2.new(width, 0, height, 0)
  1251. -- If more than 1/4 health, bar = green. Else, bar = red.
  1252. if( (health / humanoid.MaxHealth) > 0.25 ) then
  1253. tray.barRed.Size = UDim2.new(0, 0, 0, 0)
  1254. else
  1255. tray.barRed.Position = tray.bar.Position
  1256. tray.barRed.Size = tray.bar.Size
  1257. tray.bar.Size = UDim2.new(0, 0, 0, 0)
  1258. end
  1259.  
  1260. if ( (lastHealth - health) > (humanoid.MaxHealth / 10) ) then
  1261. lastHealth = health
  1262.  
  1263. if humanoid.Health ~= humanoid.MaxHealth then
  1264. delay(0,function()
  1265. AnimateHurtOverlay()
  1266. end)
  1267. delay(0,function()
  1268. AnimateBars(x, y, lastX, height)
  1269. end)
  1270. end
  1271. else
  1272. lastHealth = health
  1273. end
  1274. end
  1275.  
  1276.  
  1277. function HealthChanged(health)
  1278. UpdateGUI(health)
  1279. if ( (lastHealth2 - health) > (humanoid.MaxHealth / 10) ) then
  1280. lastHealth2 = health
  1281. else
  1282. lastHealth2 = health
  1283. end
  1284. end
  1285.  
  1286. function AnimateBars(x, y, lastX, height)
  1287. tray = HealthGUI_prototype.tray
  1288. local width = math.abs(x - lastX)
  1289. if( x > lastX ) then
  1290. x = lastX
  1291. end
  1292. tray.bar2.Position = UDim2.new(x,0, y, 0)
  1293. tray.bar2.Size = UDim2.new(width, 0, height, 0)
  1294. tray.bar2.BackgroundTransparency = 0
  1295. local GBchannels = 1
  1296. local j = 0.2
  1297.  
  1298. local i_total = 30
  1299. for i=1,i_total do
  1300. -- Increment Values
  1301. if (GBchannels < 0.2) then
  1302. j = -j
  1303. end
  1304. GBchannels = GBchannels + j
  1305. if (i > (i_total - 10)) then
  1306. tray.bar2.BackgroundTransparency = tray.bar2.BackgroundTransparency + 0.1
  1307. end
  1308. tray.bar2.BackgroundColor3 = Color3.new(1, GBchannels, GBchannels)
  1309.  
  1310. wait(0.02)
  1311. end
  1312. end
  1313.  
  1314. function AnimateHurtOverlay()
  1315. -- Start:
  1316. -- overlay.Position = UDim2.new(0, 0, 0, -22)
  1317. -- overlay.Size = UDim2.new(1, 0, 1.15, 30)
  1318.  
  1319. -- Finish:
  1320. -- overlay.Position = UDim2.new(-2, 0, -2, -22)
  1321. -- overlay.Size = UDim2.new(4.5, 0, 4.65, 30)
  1322.  
  1323. overlay = HealthGUI_prototype.hurtOverlay
  1324. overlay.Position = UDim2.new(-2, 0, -2, -22)
  1325. overlay.Size = UDim2.new(4.5, 0, 4.65, 30)
  1326. -- Animate In, fast
  1327. local i_total = 2
  1328. local wiggle_total = 0
  1329. local wiggle_i = 0.02
  1330. for i=1,i_total do
  1331. overlay.Position = UDim2.new( (-2 + (2 * (i/i_total)) + wiggle_total/2), 0, (-2 + (2 * (i/i_total)) + wiggle_total/2), -22 )
  1332. overlay.Size = UDim2.new( (4.5 - (3.5 * (i/i_total)) + wiggle_total), 0, (4.65 - (3.5 * (i/i_total)) + wiggle_total), 30 )
  1333. wait(0.01)
  1334. end
  1335.  
  1336. i_total = 30
  1337.  
  1338. wait(0.03)
  1339.  
  1340. -- Animate Out, slow
  1341. for i=1,i_total do
  1342. if( math.abs(wiggle_total) > (wiggle_i * 3) ) then
  1343. wiggle_i = -wiggle_i
  1344. end
  1345. wiggle_total = wiggle_total + wiggle_i
  1346. overlay.Position = UDim2.new( (0 - (2 * (i/i_total)) + wiggle_total/2), 0, (0 - (2 * (i/i_total)) + wiggle_total/2), -22 )
  1347. overlay.Size = UDim2.new( (1 + (3.5 * (i/i_total)) + wiggle_total), 0, (1.15 + (3.5 * (i/i_total)) + wiggle_total), 30 )
  1348. wait(0.01)
  1349. end
  1350.  
  1351. -- Hide after we're done
  1352. overlay.Position = UDim2.new(10, 0, 0, 0)
  1353. end
  1354.  
  1355. CreateGUI()
  1356. humanoid.HealthChanged:connect(HealthChanged)
  1357. humanoid.Died:connect(function() HealthChanged(0) end)
  1358. end))
  1359. Humanoid94.Parent = Model85
  1360. Humanoid94.RightLeg = Part110
  1361. Humanoid94.LeftLeg = Part108
  1362. Humanoid94.Torso = Part111
  1363. Script95.Name = "RobloxTeam"
  1364. Script95.Parent = Model85
  1365. table.insert(cors,sandbox(Script95,function()
  1366. -- Now with exciting TeamColors HACK!
  1367.  
  1368. function waitForChild(parent, childName)
  1369. local child = parent:findFirstChild(childName)
  1370. if child then return child end
  1371. while true do
  1372. child = parent.ChildAdded:wait()
  1373. if child.Name==childName then return child end
  1374. end
  1375. end
  1376.  
  1377. -- TEAM COLORS
  1378.  
  1379.  
  1380. function onTeamChanged(player)
  1381.  
  1382. wait(1)
  1383.  
  1384. local char = player.Character
  1385. if char == nil then return end
  1386.  
  1387. if player.Neutral then
  1388. -- Replacing the current BodyColor object will force a reset
  1389. local old = char:findFirstChild("Body Colors")
  1390. if not old then return end
  1391. old:clone().Parent = char
  1392. old.Parent = nil
  1393. else
  1394. local head = char:findFirstChild("Head")
  1395. local torso = char:findFirstChild("Torso")
  1396. local left_arm = char:findFirstChild("Left Arm")
  1397. local right_arm = char:findFirstChild("Right Arm")
  1398. local left_leg = char:findFirstChild("Left Leg")
  1399. local right_leg = char:findFirstChild("Right Leg")
  1400.  
  1401. if head then head.BrickColor = BrickColor.new(24) end
  1402. if torso then torso.BrickColor = player.TeamColor end
  1403. if left_arm then left_arm.BrickColor = BrickColor.new(26) end
  1404. if right_arm then right_arm.BrickColor = BrickColor.new(26) end
  1405. if left_leg then left_leg.BrickColor = BrickColor.new(26) end
  1406. if right_leg then right_leg.BrickColor = BrickColor.new(26) end
  1407. end
  1408. end
  1409.  
  1410. function onPlayerPropChanged(property, player)
  1411. if property == "Character" then
  1412. onTeamChanged(player)
  1413. end
  1414. if property== "TeamColor" or property == "Neutral" then
  1415. onTeamChanged(player)
  1416. end
  1417. end
  1418.  
  1419.  
  1420. local cPlayer = game.Players:GetPlayerFromCharacter(script.Parent)
  1421. cPlayer.Changed:connect(function(property) onPlayerPropChanged(property, cPlayer) end )
  1422. onTeamChanged(cPlayer)
  1423.  
  1424.  
  1425. end))
  1426. Script96.Name = "Sound"
  1427. Script96.Parent = Model85
  1428. table.insert(cors,sandbox(Script96,function()
  1429. -- util
  1430.  
  1431. function waitForChild(parent, childName)
  1432. local child = parent:findFirstChild(childName)
  1433. if child then return child end
  1434. while true do
  1435. child = parent.ChildAdded:wait()
  1436. if child.Name==childName then return child end
  1437. end
  1438. end
  1439.  
  1440. function newSound(id)
  1441. local sound = Instance.new("Sound")
  1442. sound.SoundId = id
  1443. sound.archivable = false
  1444. sound.Parent = script.Parent.Head
  1445. return sound
  1446. end
  1447.  
  1448. -- declarations
  1449.  
  1450. local sDied = newSound("rbxasset://sounds/uuhhh.wav")
  1451. local sFallingDown = newSound("rbxasset://sounds/splat.wav")
  1452. local sFreeFalling = newSound("rbxasset://sounds/swoosh.wav")
  1453. local sGettingUp = newSound("rbxasset://sounds/hit.wav")
  1454. local sJumping = newSound("rbxasset://sounds/button.wav")
  1455. local sRunning = newSound("rbxasset://sounds/bfsl-minifigfoots1.mp3")
  1456. sRunning.Looped = true
  1457.  
  1458. local Figure = script.Parent
  1459. local Head = waitForChild(Figure, "Head")
  1460. local Humanoid = waitForChild(Figure, "Humanoid")
  1461.  
  1462. -- functions
  1463.  
  1464. function onDied()
  1465. sDied:Play()
  1466. end
  1467.  
  1468. function onState(state, sound)
  1469. if state then
  1470. sound:Play()
  1471. else
  1472. sound:Pause()
  1473. end
  1474. end
  1475.  
  1476. function onRunning(speed)
  1477. if speed>0 then
  1478. sRunning:Play()
  1479. else
  1480. sRunning:Pause()
  1481. end
  1482. end
  1483.  
  1484. -- connect up
  1485.  
  1486. Humanoid.Died:connect(onDied)
  1487. Humanoid.Running:connect(onRunning)
  1488. Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)
  1489. Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)
  1490. Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)
  1491. Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)
  1492.  
  1493. end))
  1494. LocalScript97.Name = "Animate"
  1495. LocalScript97.Parent = Model85
  1496. table.insert(cors,sandbox(LocalScript97,function()
  1497. function waitForChild(parent, childName)
  1498. local child = parent:findFirstChild(childName)
  1499. if child then return child end
  1500. while true do
  1501. child = parent.ChildAdded:wait()
  1502. if child.Name==childName then return child end
  1503. end
  1504. end
  1505.  
  1506. -- ANIMATION
  1507.  
  1508. -- declarations
  1509.  
  1510. local Figure = script.Parent
  1511. local Torso = waitForChild(Figure, "Torso")
  1512. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  1513. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  1514. local RightHip = waitForChild(Torso, "Right Hip")
  1515. local LeftHip = waitForChild(Torso, "Left Hip")
  1516. local Neck = waitForChild(Torso, "Neck")
  1517. local Humanoid = waitForChild(Figure, "Humanoid")
  1518. local pose = "Standing"
  1519.  
  1520. local toolAnim = "None"
  1521. local toolAnimTime = 0
  1522.  
  1523. -- functions
  1524.  
  1525. function onRunning(speed)
  1526. if speed>0 then
  1527. pose = "Running"
  1528. else
  1529. pose = "Standing"
  1530. end
  1531. end
  1532.  
  1533. function onDied()
  1534. pose = "Dead"
  1535. end
  1536.  
  1537. function onJumping()
  1538. pose = "Jumping"
  1539. end
  1540.  
  1541. function onClimbing()
  1542. pose = "Climbing"
  1543. end
  1544.  
  1545. function onGettingUp()
  1546. pose = "GettingUp"
  1547. end
  1548.  
  1549. function onFreeFall()
  1550. pose = "FreeFall"
  1551. end
  1552.  
  1553. function onFallingDown()
  1554. pose = "FallingDown"
  1555. end
  1556.  
  1557. function onSeated()
  1558. pose = "Seated"
  1559. end
  1560.  
  1561. function onPlatformStanding()
  1562. pose = "PlatformStanding"
  1563. end
  1564.  
  1565. function moveJump()
  1566. RightShoulder.MaxVelocity = 0.5
  1567. LeftShoulder.MaxVelocity = 0.5
  1568. RightShoulder:SetDesiredAngle(3.14)
  1569. LeftShoulder:SetDesiredAngle(-3.14)
  1570. RightHip:SetDesiredAngle(0)
  1571. LeftHip:SetDesiredAngle(0)
  1572. end
  1573.  
  1574.  
  1575. -- same as jump for now
  1576.  
  1577. function moveFreeFall()
  1578. RightShoulder.MaxVelocity = 0.5
  1579. LeftShoulder.MaxVelocity = 0.5
  1580. RightShoulder:SetDesiredAngle(3.14)
  1581. LeftShoulder:SetDesiredAngle(-3.14)
  1582. RightHip:SetDesiredAngle(0)
  1583. LeftHip:SetDesiredAngle(0)
  1584. end
  1585.  
  1586. function moveSit()
  1587. RightShoulder.MaxVelocity = 0.15
  1588. LeftShoulder.MaxVelocity = 0.15
  1589. RightShoulder:SetDesiredAngle(3.14 /2)
  1590. LeftShoulder:SetDesiredAngle(-3.14 /2)
  1591. RightHip:SetDesiredAngle(3.14 /2)
  1592. LeftHip:SetDesiredAngle(-3.14 /2)
  1593. end
  1594.  
  1595. function getTool()
  1596. for _, kid in ipairs(Figure:GetChildren()) do
  1597. if kid.className == "Tool" then return kid end
  1598. end
  1599. return nil
  1600. end
  1601.  
  1602. function getToolAnim(tool)
  1603. for _, c in ipairs(tool:GetChildren()) do
  1604. if c.Name == "toolanim" and c.className == "StringValue" then
  1605. return c
  1606. end
  1607. end
  1608. return nil
  1609. end
  1610.  
  1611. function animateTool()
  1612.  
  1613. if (toolAnim == "None") then
  1614. RightShoulder:SetDesiredAngle(1.57)
  1615. return
  1616. end
  1617.  
  1618. if (toolAnim == "Slash") then
  1619. RightShoulder.MaxVelocity = 0.5
  1620. RightShoulder:SetDesiredAngle(0)
  1621. return
  1622. end
  1623.  
  1624. if (toolAnim == "Lunge") then
  1625. RightShoulder.MaxVelocity = 0.5
  1626. LeftShoulder.MaxVelocity = 0.5
  1627. RightHip.MaxVelocity = 0.5
  1628. LeftHip.MaxVelocity = 0.5
  1629. RightShoulder:SetDesiredAngle(1.57)
  1630. LeftShoulder:SetDesiredAngle(1.0)
  1631. RightHip:SetDesiredAngle(1.57)
  1632. LeftHip:SetDesiredAngle(1.0)
  1633. return
  1634. end
  1635. end
  1636.  
  1637. function move(time)
  1638. local amplitude
  1639. local frequency
  1640.  
  1641. if (pose == "Jumping") then
  1642. moveJump()
  1643. return
  1644. end
  1645.  
  1646. if (pose == "FreeFall") then
  1647. moveFreeFall()
  1648. return
  1649. end
  1650.  
  1651. if (pose == "Seated") then
  1652. moveSit()
  1653. return
  1654. end
  1655.  
  1656. local climbFudge = 0
  1657.  
  1658. if (pose == "Running") then
  1659. RightShoulder.MaxVelocity = 0.15
  1660. LeftShoulder.MaxVelocity = 0.15
  1661. amplitude = 1
  1662. frequency = 9
  1663. elseif (pose == "Climbing") then
  1664. RightShoulder.MaxVelocity = 0.5
  1665. LeftShoulder.MaxVelocity = 0.5
  1666. amplitude = 1
  1667. frequency = 9
  1668. climbFudge = 3.14
  1669. else
  1670. amplitude = 0.1
  1671. frequency = 1
  1672. end
  1673.  
  1674. desiredAngle = amplitude * math.sin(time*frequency)
  1675.  
  1676. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  1677. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  1678. RightHip:SetDesiredAngle(-desiredAngle)
  1679. LeftHip:SetDesiredAngle(-desiredAngle)
  1680.  
  1681.  
  1682. local tool = getTool()
  1683.  
  1684. if tool then
  1685.  
  1686. animStringValueObject = getToolAnim(tool)
  1687.  
  1688. if animStringValueObject then
  1689. toolAnim = animStringValueObject.Value
  1690. -- message recieved, delete StringValue
  1691. animStringValueObject.Parent = nil
  1692. toolAnimTime = time + .3
  1693. end
  1694.  
  1695. if time > toolAnimTime then
  1696. toolAnimTime = 0
  1697. toolAnim = "None"
  1698. end
  1699.  
  1700. animateTool()
  1701.  
  1702.  
  1703. else
  1704. toolAnim = "None"
  1705. toolAnimTime = 0
  1706. end
  1707. end
  1708.  
  1709.  
  1710. -- connect events
  1711.  
  1712. Humanoid.Died:connect(onDied)
  1713. Humanoid.Running:connect(onRunning)
  1714. Humanoid.Jumping:connect(onJumping)
  1715. Humanoid.Climbing:connect(onClimbing)
  1716. Humanoid.GettingUp:connect(onGettingUp)
  1717. Humanoid.FreeFalling:connect(onFreeFall)
  1718. Humanoid.FallingDown:connect(onFallingDown)
  1719. Humanoid.Seated:connect(onSeated)
  1720. Humanoid.PlatformStanding:connect(onPlatformStanding)
  1721.  
  1722. -- main program
  1723.  
  1724. local runService = game:service("RunService");
  1725.  
  1726. while Figure.Parent~=nil do
  1727. local _, time = wait(0.1)
  1728. move(time)
  1729. end
  1730.  
  1731. end))
  1732. Part98.Name = "Head"
  1733. Part98.Parent = Model85
  1734. Part98.BrickColor = BrickColor.new("Cool yellow")
  1735. Part98.Rotation = Vector3.new(-90, 89.9700012, 90)
  1736. Part98.FormFactor = Enum.FormFactor.Symmetric
  1737. Part98.Size = Vector3.new(2, 1, 1)
  1738. Part98.CFrame = CFrame.new(10, 4.50003004, 3.5, 0, -3.4521365e-21, 0.999999881, 4.80963077e-21, 1, 3.4521357e-21, -0.999999881, 4.80963117e-21, 0)
  1739. Part98.TopSurface = Enum.SurfaceType.Smooth
  1740. Part98.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1741. Part98.Position = Vector3.new(10, 4.50003004, 3.5)
  1742. Part98.Orientation = Vector3.new(0, 90, 0)
  1743. Part98.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1744. Decal99.Name = "face"
  1745. Decal99.Parent = Part98
  1746. Decal99.Texture = "http://www.roblox.com/asset/?id=12451696"
  1747. SpecialMesh100.Parent = Part98
  1748. SpecialMesh100.Scale = Vector3.new(1.25, 1.25, 1.25)
  1749. SpecialMesh100.Scale = Vector3.new(1.25, 1.25, 1.25)
  1750. Weld101.Name = "HeadWeld"
  1751. Weld101.Parent = Part98
  1752. Weld101.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1753. Weld101.C1 = CFrame.new(0, 0.800000012, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1754. Weld101.Part0 = Part98
  1755. Weld101.Part1 = Part90
  1756. Weld102.Name = "HeadWeld"
  1757. Weld102.Parent = Part98
  1758. Weld102.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1759. Weld102.C1 = CFrame.new(0, 0.800000012, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1760. Weld102.Part0 = Part98
  1761. Weld102.Part1 = Part90
  1762. Weld103.Name = "HeadWeld"
  1763. Weld103.Parent = Part98
  1764. Weld103.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1765. Weld103.C1 = CFrame.new(0, 0.800000012, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1766. Weld103.Part0 = Part98
  1767. Weld103.Part1 = Part90
  1768. Dialog104.Parent = Part98
  1769. Dialog104.InitialPrompt = "Hey, hunny!"
  1770. DialogChoice105.Parent = Dialog104
  1771. DialogChoice105.ResponseDialog = "Ok sweetie but-"
  1772. DialogChoice105.UserDialog = "MOM! I said dont call me that in frount of ppl!"
  1773. DialogChoice106.Parent = DialogChoice105
  1774. DialogChoice106.ResponseDialog = "OH! Sorry sweetheart. Oops :O"
  1775. DialogChoice106.UserDialog = "MOOM!!!!!! >:O"
  1776. Part107.Name = "Left Arm"
  1777. Part107.Parent = Model85
  1778. Part107.BrickColor = BrickColor.new("Cool yellow")
  1779. Part107.Rotation = Vector3.new(-90, 89.9700012, 90)
  1780. Part107.CanCollide = false
  1781. Part107.FormFactor = Enum.FormFactor.Symmetric
  1782. Part107.Size = Vector3.new(1, 2, 1)
  1783. Part107.CFrame = CFrame.new(10, 3.00003004, 5, 0, -3.4521365e-21, 0.999999881, 4.80963077e-21, 1, 3.4521357e-21, -0.999999881, 4.80963117e-21, 0)
  1784. Part107.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1785. Part107.Position = Vector3.new(10, 3.00003004, 5)
  1786. Part107.Orientation = Vector3.new(0, 90, 0)
  1787. Part107.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1788. Part108.Name = "Left Leg"
  1789. Part108.Parent = Model85
  1790. Part108.BrickColor = BrickColor.new("Bright blue")
  1791. Part108.Rotation = Vector3.new(-90, 89.9700012, 90)
  1792. Part108.CanCollide = false
  1793. Part108.FormFactor = Enum.FormFactor.Symmetric
  1794. Part108.Size = Vector3.new(1, 2, 1)
  1795. Part108.CFrame = CFrame.new(10, 1.00003004, 4, 0, -3.4521365e-21, 0.999999881, 4.80963077e-21, 1, 3.4521357e-21, -0.999999881, 4.80963117e-21, 0)
  1796. Part108.BottomSurface = Enum.SurfaceType.Smooth
  1797. Part108.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1798. Part108.Position = Vector3.new(10, 1.00003004, 4)
  1799. Part108.Orientation = Vector3.new(0, 90, 0)
  1800. Part108.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1801. Part109.Name = "Right Arm"
  1802. Part109.Parent = Model85
  1803. Part109.BrickColor = BrickColor.new("Cool yellow")
  1804. Part109.Rotation = Vector3.new(-90, 89.9700012, 90)
  1805. Part109.CanCollide = false
  1806. Part109.FormFactor = Enum.FormFactor.Symmetric
  1807. Part109.Size = Vector3.new(1, 2, 1)
  1808. Part109.CFrame = CFrame.new(10, 3.00003004, 2.00000024, 0, -3.4521365e-21, 0.999999881, 4.80963077e-21, 1, 3.4521357e-21, -0.999999881, 4.80963117e-21, 0)
  1809. Part109.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1810. Part109.Position = Vector3.new(10, 3.00003004, 2.00000024)
  1811. Part109.Orientation = Vector3.new(0, 90, 0)
  1812. Part109.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1813. Part110.Name = "Right Leg"
  1814. Part110.Parent = Model85
  1815. Part110.BrickColor = BrickColor.new("Bright blue")
  1816. Part110.Rotation = Vector3.new(-90, 89.9700012, 90)
  1817. Part110.CanCollide = false
  1818. Part110.FormFactor = Enum.FormFactor.Symmetric
  1819. Part110.Size = Vector3.new(1, 2, 1)
  1820. Part110.CFrame = CFrame.new(10, 1.00003004, 3, 0, -3.4521365e-21, 0.999999881, 4.80963077e-21, 1, 3.4521357e-21, -0.999999881, 4.80963117e-21, 0)
  1821. Part110.BottomSurface = Enum.SurfaceType.Smooth
  1822. Part110.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1823. Part110.Position = Vector3.new(10, 1.00003004, 3)
  1824. Part110.Orientation = Vector3.new(0, 90, 0)
  1825. Part110.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1826. Part111.Name = "Torso"
  1827. Part111.Parent = Model85
  1828. Part111.BrickColor = BrickColor.new("Dark green")
  1829. Part111.Rotation = Vector3.new(-90, 89.9700012, 90)
  1830. Part111.FormFactor = Enum.FormFactor.Symmetric
  1831. Part111.Size = Vector3.new(2, 2, 1)
  1832. Part111.CFrame = CFrame.new(10, 3.00003004, 3.5, 0, -3.4521365e-21, 0.999999881, 4.80963077e-21, 1, 3.4521357e-21, -0.999999881, 4.80963117e-21, 0)
  1833. Part111.LeftSurface = Enum.SurfaceType.Weld
  1834. Part111.RightSurface = Enum.SurfaceType.Weld
  1835. Part111.Color = Color3.new(0.156863, 0.498039, 0.278431)
  1836. Part111.Position = Vector3.new(10, 3.00003004, 3.5)
  1837. Part111.Orientation = Vector3.new(0, 90, 0)
  1838. Part111.Color = Color3.new(0.156863, 0.498039, 0.278431)
  1839. Motor6D112.Name = "Right Shoulder"
  1840. Motor6D112.Parent = Part111
  1841. Motor6D112.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1842. Motor6D112.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1843. Motor6D112.Part0 = Part111
  1844. Motor6D112.Part1 = Part109
  1845. Motor6D112.DesiredAngle = -0.097306206822395
  1846. Motor6D112.MaxVelocity = 0.15000000596046
  1847. Motor6D113.Name = "Left Shoulder"
  1848. Motor6D113.Parent = Part111
  1849. Motor6D113.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1850. Motor6D113.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1851. Motor6D113.Part0 = Part111
  1852. Motor6D113.Part1 = Part107
  1853. Motor6D113.DesiredAngle = -0.097306206822395
  1854. Motor6D113.MaxVelocity = 0.15000000596046
  1855. Motor6D114.Name = "Right Hip"
  1856. Motor6D114.Parent = Part111
  1857. Motor6D114.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1858. Motor6D114.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1859. Motor6D114.Part0 = Part111
  1860. Motor6D114.Part1 = Part110
  1861. Motor6D114.DesiredAngle = 0.097306206822395
  1862. Motor6D114.MaxVelocity = 0.10000000149012
  1863. Motor6D115.Name = "Left Hip"
  1864. Motor6D115.Parent = Part111
  1865. Motor6D115.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1866. Motor6D115.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1867. Motor6D115.Part0 = Part111
  1868. Motor6D115.Part1 = Part108
  1869. Motor6D115.DesiredAngle = 0.097306206822395
  1870. Motor6D115.MaxVelocity = 0.10000000149012
  1871. Motor6D116.Name = "Neck"
  1872. Motor6D116.Parent = Part111
  1873. Motor6D116.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1874. Motor6D116.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1875. Motor6D116.Part0 = Part111
  1876. Motor6D116.Part1 = Part98
  1877. Motor6D116.MaxVelocity = 0.10000000149012
  1878. Decal117.Name = "roblox"
  1879. Decal117.Parent = Part111
  1880. CharacterMesh118.Name = "Roblox 2.0 Left Arm"
  1881. CharacterMesh118.Parent = Model85
  1882. CharacterMesh118.MeshId = 27111419
  1883. CharacterMesh118.BodyPart = Enum.BodyPart.LeftArm
  1884. CharacterMesh119.Name = "Roblox 2.0 Left Leg"
  1885. CharacterMesh119.Parent = Model85
  1886. CharacterMesh119.MeshId = 27111857
  1887. CharacterMesh119.BodyPart = Enum.BodyPart.LeftLeg
  1888. CharacterMesh120.Name = "Roblox 2.0 Right Arm"
  1889. CharacterMesh120.Parent = Model85
  1890. CharacterMesh120.MeshId = 27111864
  1891. CharacterMesh120.BodyPart = Enum.BodyPart.RightArm
  1892. CharacterMesh121.Name = "Roblox 2.0 Right Leg"
  1893. CharacterMesh121.Parent = Model85
  1894. CharacterMesh121.MeshId = 27111882
  1895. CharacterMesh121.BodyPart = Enum.BodyPart.RightLeg
  1896. CharacterMesh122.Name = "Roblox 2.0 torso"
  1897. CharacterMesh122.Parent = Model85
  1898. CharacterMesh122.MeshId = 27111894
  1899. CharacterMesh122.BodyPart = Enum.BodyPart.Torso
  1900. Model123.Name = "Water Bowl"
  1901. Model123.Parent = mas
  1902. Part124.Parent = Model123
  1903. Part124.Material = Enum.Material.Ice
  1904. Part124.BrickColor = BrickColor.new("Bright blue")
  1905. Part124.Rotation = Vector3.new(90, 89.9700012, -180)
  1906. Part124.Anchored = true
  1907. Part124.Locked = true
  1908. Part124.FormFactor = Enum.FormFactor.Custom
  1909. Part124.Size = Vector3.new(0.466666132, 1.16666639, 1.28333306)
  1910. Part124.CFrame = CFrame.new(-10.6999998, 0.407952011, 7.5, -4.37113847e-08, 0, 0.999999881, -0.99999994, -4.37113847e-08, -4.37113847e-08, 4.37113847e-08, -0.99999994, 1.91068525e-15)
  1911. Part124.BottomSurface = Enum.SurfaceType.Smooth
  1912. Part124.TopSurface = Enum.SurfaceType.Smooth
  1913. Part124.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1914. Part124.Position = Vector3.new(-10.6999998, 0.407952011, 7.5)
  1915. Part124.Orientation = Vector3.new(0, 90, -90)
  1916. Part124.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1917. SpecialMesh125.Parent = Part124
  1918. SpecialMesh125.MeshType = Enum.MeshType.Cylinder
  1919. Part126.Parent = Model123
  1920. Part126.Material = Enum.Material.Wood
  1921. Part126.BrickColor = BrickColor.new("Sand red")
  1922. Part126.Rotation = Vector3.new(-90, 90, 0)
  1923. Part126.Anchored = true
  1924. Part126.Locked = true
  1925. Part126.FormFactor = Enum.FormFactor.Custom
  1926. Part126.Size = Vector3.new(0.466666132, 1.39999974, 1.51666641)
  1927. Part126.CFrame = CFrame.new(-10.6999998, 0.402117997, 7.5, 0, 0, 1, -1, 0, 0, 0, -1, 0)
  1928. Part126.BottomSurface = Enum.SurfaceType.Smooth
  1929. Part126.TopSurface = Enum.SurfaceType.Smooth
  1930. Part126.Color = Color3.new(0.584314, 0.47451, 0.466667)
  1931. Part126.Position = Vector3.new(-10.6999998, 0.402117997, 7.5)
  1932. Part126.Orientation = Vector3.new(0, 90, -90)
  1933. Part126.Color = Color3.new(0.584314, 0.47451, 0.466667)
  1934. SpecialMesh127.Parent = Part126
  1935. SpecialMesh127.MeshType = Enum.MeshType.Cylinder
  1936. Model128.Name = "Water Bowl"
  1937. Model128.Parent = mas
  1938. Part129.Parent = Model128
  1939. Part129.Material = Enum.Material.Ice
  1940. Part129.BrickColor = BrickColor.new("Bright blue")
  1941. Part129.Rotation = Vector3.new(90, 89.9700012, -180)
  1942. Part129.Anchored = true
  1943. Part129.Locked = true
  1944. Part129.FormFactor = Enum.FormFactor.Custom
  1945. Part129.Size = Vector3.new(0.466666132, 1.16666639, 1.28333306)
  1946. Part129.CFrame = CFrame.new(-11.6999998, 0.407952011, 12.5, -4.37113847e-08, 0, 0.999999881, -0.99999994, -4.37113847e-08, -4.37113847e-08, 4.37113847e-08, -0.99999994, 1.91068525e-15)
  1947. Part129.BottomSurface = Enum.SurfaceType.Smooth
  1948. Part129.TopSurface = Enum.SurfaceType.Smooth
  1949. Part129.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1950. Part129.Position = Vector3.new(-11.6999998, 0.407952011, 12.5)
  1951. Part129.Orientation = Vector3.new(0, 90, -90)
  1952. Part129.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1953. SpecialMesh130.Parent = Part129
  1954. SpecialMesh130.MeshType = Enum.MeshType.Cylinder
  1955. Part131.Parent = Model128
  1956. Part131.Material = Enum.Material.Wood
  1957. Part131.BrickColor = BrickColor.new("Sand red")
  1958. Part131.Rotation = Vector3.new(-90, 90, 0)
  1959. Part131.Anchored = true
  1960. Part131.Locked = true
  1961. Part131.FormFactor = Enum.FormFactor.Custom
  1962. Part131.Size = Vector3.new(0.466666132, 1.39999974, 1.51666641)
  1963. Part131.CFrame = CFrame.new(-11.6999998, 0.402117997, 12.5, 0, 0, 1, -1, 0, 0, 0, -1, 0)
  1964. Part131.BottomSurface = Enum.SurfaceType.Smooth
  1965. Part131.TopSurface = Enum.SurfaceType.Smooth
  1966. Part131.Color = Color3.new(0.584314, 0.47451, 0.466667)
  1967. Part131.Position = Vector3.new(-11.6999998, 0.402117997, 12.5)
  1968. Part131.Orientation = Vector3.new(0, 90, -90)
  1969. Part131.Color = Color3.new(0.584314, 0.47451, 0.466667)
  1970. SpecialMesh132.Parent = Part131
  1971. SpecialMesh132.MeshType = Enum.MeshType.Cylinder
  1972. Model133.Name = "Water Bowl"
  1973. Model133.Parent = mas
  1974. Part134.Parent = Model133
  1975. Part134.Material = Enum.Material.Ice
  1976. Part134.BrickColor = BrickColor.new("Bright blue")
  1977. Part134.Rotation = Vector3.new(90, 89.9700012, -180)
  1978. Part134.Anchored = true
  1979. Part134.Locked = true
  1980. Part134.FormFactor = Enum.FormFactor.Custom
  1981. Part134.Size = Vector3.new(0.466666132, 1.16666639, 1.28333306)
  1982. Part134.CFrame = CFrame.new(-10.6999998, 0.880455017, 10.5, -4.37113847e-08, 0, 0.999999881, -0.99999994, -4.37113847e-08, -4.37113847e-08, 4.37113847e-08, -0.99999994, 1.91068525e-15)
  1983. Part134.BottomSurface = Enum.SurfaceType.Smooth
  1984. Part134.TopSurface = Enum.SurfaceType.Smooth
  1985. Part134.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1986. Part134.Position = Vector3.new(-10.6999998, 0.880455017, 10.5)
  1987. Part134.Orientation = Vector3.new(0, 90, -90)
  1988. Part134.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1989. SpecialMesh135.Parent = Part134
  1990. SpecialMesh135.MeshType = Enum.MeshType.Cylinder
  1991. Part136.Parent = Model133
  1992. Part136.Material = Enum.Material.Wood
  1993. Part136.BrickColor = BrickColor.new("Sand red")
  1994. Part136.Rotation = Vector3.new(-90, 90, 0)
  1995. Part136.Anchored = true
  1996. Part136.Locked = true
  1997. Part136.FormFactor = Enum.FormFactor.Custom
  1998. Part136.Size = Vector3.new(0.466666132, 1.39999974, 1.51666641)
  1999. Part136.CFrame = CFrame.new(-10.6999998, 0.874620974, 10.5, 0, 0, 1, -1, 0, 0, 0, -1, 0)
  2000. Part136.BottomSurface = Enum.SurfaceType.Smooth
  2001. Part136.TopSurface = Enum.SurfaceType.Smooth
  2002. Part136.Color = Color3.new(0.584314, 0.47451, 0.466667)
  2003. Part136.Position = Vector3.new(-10.6999998, 0.874620974, 10.5)
  2004. Part136.Orientation = Vector3.new(0, 90, -90)
  2005. Part136.Color = Color3.new(0.584314, 0.47451, 0.466667)
  2006. SpecialMesh137.Parent = Part136
  2007. SpecialMesh137.MeshType = Enum.MeshType.Cylinder
  2008. for i,v in pairs(mas:GetChildren()) do
  2009. v.Parent = workspace
  2010. pcall(function() v:MakeJoints() end)
  2011. end
  2012. mas:Destroy()
  2013. for i,v in pairs(cors) do
  2014. spawn(function()
  2015. pcall(v)
  2016. end)
  2017. end
  2018.  
  2019. local s = Instance.new("Sound")
  2020.  
  2021. s.Name = "Sound"
  2022. s.SoundId = "http://www.roblox.com/asset/?id=327309582" -- Type your music ID here
  2023. s.Volume = 1.2 -- this is the Volume
  2024. s.Pitch = 1 -- tis is the pich
  2025. s.Looped = true
  2026. s.archivable = false
  2027.  
  2028. s.Parent = game.Workspace
  2029.  
  2030. wait(0)
  2031.  
  2032. s:play()
Add Comment
Please, Sign In to add comment