Advertisement
GabeTheDog

vinze234 torture chamber

Mar 22nd, 2018
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.40 KB | None | 0 0
  1. --Made By Bartus2009_Bro/GabeTheDog
  2. --Discord: Gabe#2408
  3.  
  4.  
  5. --Converted with ttyyuu12345's model to script plugin v4
  6. function sandbox(var,func)
  7. local env = getfenv(func)
  8. local newenv = setmetatable({},{
  9. __index = function(self,k)
  10. if k=="script" then
  11. return var
  12. else
  13. return env[k]
  14. end
  15. end,
  16. })
  17. setfenv(func,newenv)
  18. return func
  19. end
  20. cors = {}
  21. mas = Instance.new("Model",game:GetService("Lighting"))
  22. Model0 = Instance.new("Model")
  23. Model1 = Instance.new("Model")
  24. Part2 = Instance.new("Part")
  25. Part3 = Instance.new("Part")
  26. Part4 = Instance.new("Part")
  27. Part5 = Instance.new("Part")
  28. Part6 = Instance.new("Part")
  29. Part7 = Instance.new("Part")
  30. Part8 = Instance.new("Part")
  31. Part9 = Instance.new("Part")
  32. Part10 = Instance.new("Part")
  33. Part11 = Instance.new("Part")
  34. Part12 = Instance.new("Part")
  35. Part13 = Instance.new("Part")
  36. Part14 = Instance.new("Part")
  37. Part15 = Instance.new("Part")
  38. Part16 = Instance.new("Part")
  39. Part17 = Instance.new("Part")
  40. Attachment18 = Instance.new("Attachment")
  41. Attachment19 = Instance.new("Attachment")
  42. Attachment20 = Instance.new("Attachment")
  43. Attachment21 = Instance.new("Attachment")
  44. Attachment22 = Instance.new("Attachment")
  45. Part23 = Instance.new("Part")
  46. Part24 = Instance.new("Part")
  47. Part25 = Instance.new("Part")
  48. Part26 = Instance.new("Part")
  49. Part27 = Instance.new("Part")
  50. Part28 = Instance.new("Part")
  51. Model29 = Instance.new("Model")
  52. Part30 = Instance.new("Part")
  53. SpecialMesh31 = Instance.new("SpecialMesh")
  54. Attachment32 = Instance.new("Attachment")
  55. Attachment33 = Instance.new("Attachment")
  56. Attachment34 = Instance.new("Attachment")
  57. Attachment35 = Instance.new("Attachment")
  58. Sound36 = Instance.new("Sound")
  59. RemoteEvent37 = Instance.new("RemoteEvent")
  60. Sound38 = Instance.new("Sound")
  61. RemoteEvent39 = Instance.new("RemoteEvent")
  62. Sound40 = Instance.new("Sound")
  63. RemoteEvent41 = Instance.new("RemoteEvent")
  64. Sound42 = Instance.new("Sound")
  65. RemoteEvent43 = Instance.new("RemoteEvent")
  66. Sound44 = Instance.new("Sound")
  67. RemoteEvent45 = Instance.new("RemoteEvent")
  68. Sound46 = Instance.new("Sound")
  69. RemoteEvent47 = Instance.new("RemoteEvent")
  70. Sound48 = Instance.new("Sound")
  71. RemoteEvent49 = Instance.new("RemoteEvent")
  72. Sound50 = Instance.new("Sound")
  73. RemoteEvent51 = Instance.new("RemoteEvent")
  74. Sound52 = Instance.new("Sound")
  75. RemoteEvent53 = Instance.new("RemoteEvent")
  76. Decal54 = Instance.new("Decal")
  77. Part55 = Instance.new("Part")
  78. Decal56 = Instance.new("Decal")
  79. Attachment57 = Instance.new("Attachment")
  80. Attachment58 = Instance.new("Attachment")
  81. Attachment59 = Instance.new("Attachment")
  82. Attachment60 = Instance.new("Attachment")
  83. Attachment61 = Instance.new("Attachment")
  84. Attachment62 = Instance.new("Attachment")
  85. Attachment63 = Instance.new("Attachment")
  86. Attachment64 = Instance.new("Attachment")
  87. Motor6D65 = Instance.new("Motor6D")
  88. Motor6D66 = Instance.new("Motor6D")
  89. Motor6D67 = Instance.new("Motor6D")
  90. Motor6D68 = Instance.new("Motor6D")
  91. Motor6D69 = Instance.new("Motor6D")
  92. Part70 = Instance.new("Part")
  93. Attachment71 = Instance.new("Attachment")
  94. Attachment72 = Instance.new("Attachment")
  95. Attachment73 = Instance.new("Attachment")
  96. RopeConstraint74 = Instance.new("RopeConstraint")
  97. Part75 = Instance.new("Part")
  98. Attachment76 = Instance.new("Attachment")
  99. Attachment77 = Instance.new("Attachment")
  100. Attachment78 = Instance.new("Attachment")
  101. Attachment79 = Instance.new("Attachment")
  102. RopeConstraint80 = Instance.new("RopeConstraint")
  103. Part81 = Instance.new("Part")
  104. Attachment82 = Instance.new("Attachment")
  105. Attachment83 = Instance.new("Attachment")
  106. RopeConstraint84 = Instance.new("RopeConstraint")
  107. Part85 = Instance.new("Part")
  108. Attachment86 = Instance.new("Attachment")
  109. Attachment87 = Instance.new("Attachment")
  110. RopeConstraint88 = Instance.new("RopeConstraint")
  111. Humanoid89 = Instance.new("Humanoid")
  112. Part90 = Instance.new("Part")
  113. Attachment91 = Instance.new("Attachment")
  114. Motor6D92 = Instance.new("Motor6D")
  115. Script93 = Instance.new("Script")
  116. LocalScript94 = Instance.new("LocalScript")
  117. Script95 = Instance.new("Script")
  118. LocalScript96 = Instance.new("LocalScript")
  119. StringValue97 = Instance.new("StringValue")
  120. Animation98 = Instance.new("Animation")
  121. NumberValue99 = Instance.new("NumberValue")
  122. Animation100 = Instance.new("Animation")
  123. NumberValue101 = Instance.new("NumberValue")
  124. StringValue102 = Instance.new("StringValue")
  125. Animation103 = Instance.new("Animation")
  126. StringValue104 = Instance.new("StringValue")
  127. Animation105 = Instance.new("Animation")
  128. StringValue106 = Instance.new("StringValue")
  129. Animation107 = Instance.new("Animation")
  130. StringValue108 = Instance.new("StringValue")
  131. Animation109 = Instance.new("Animation")
  132. StringValue110 = Instance.new("StringValue")
  133. Animation111 = Instance.new("Animation")
  134. StringValue112 = Instance.new("StringValue")
  135. Animation113 = Instance.new("Animation")
  136. StringValue114 = Instance.new("StringValue")
  137. Animation115 = Instance.new("Animation")
  138. BodyColors116 = Instance.new("BodyColors")
  139. ShirtGraphic117 = Instance.new("ShirtGraphic")
  140. Pants118 = Instance.new("Pants")
  141. Accessory119 = Instance.new("Accessory")
  142. Part120 = Instance.new("Part")
  143. SpecialMesh121 = Instance.new("SpecialMesh")
  144. Attachment122 = Instance.new("Attachment")
  145. Vector3Value123 = Instance.new("Vector3Value")
  146. Weld124 = Instance.new("Weld")
  147. Accessory125 = Instance.new("Accessory")
  148. Part126 = Instance.new("Part")
  149. SpecialMesh127 = Instance.new("SpecialMesh")
  150. Attachment128 = Instance.new("Attachment")
  151. Vector3Value129 = Instance.new("Vector3Value")
  152. Weld130 = Instance.new("Weld")
  153. Shirt131 = Instance.new("Shirt")
  154. Accessory132 = Instance.new("Accessory")
  155. Part133 = Instance.new("Part")
  156. SpecialMesh134 = Instance.new("SpecialMesh")
  157. Attachment135 = Instance.new("Attachment")
  158. Vector3Value136 = Instance.new("Vector3Value")
  159. Weld137 = Instance.new("Weld")
  160. Part138 = Instance.new("Part")
  161. Decal139 = Instance.new("Decal")
  162. Model0.Name = "Basement"
  163. Model0.Parent = mas
  164. Model1.Name = "Basement"
  165. Model1.Parent = Model0
  166. Part2.Parent = Model1
  167. Part2.Anchored = true
  168. Part2.Size = Vector3.new(17, 1.20000005, 2)
  169. Part2.CFrame = CFrame.new(-43.5, 18.6000347, -39, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  170. Part2.TopSurface = Enum.SurfaceType.Weld
  171. Part2.Position = Vector3.new(-43.5, 18.6000347, -39)
  172. Part3.Parent = Model1
  173. Part3.Anchored = true
  174. Part3.Size = Vector3.new(67, 16.8000011, 2)
  175. Part3.CFrame = CFrame.new(-18.5, 9.60002613, -39, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  176. Part3.TopSurface = Enum.SurfaceType.Weld
  177. Part3.Position = Vector3.new(-18.5, 9.60002613, -39)
  178. Part4.Parent = Model1
  179. Part4.Anchored = true
  180. Part4.Size = Vector3.new(15, 14.4000006, 2)
  181. Part4.CFrame = CFrame.new(-42.5, 8.40002632, -35, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  182. Part4.TopSurface = Enum.SurfaceType.Weld
  183. Part4.Position = Vector3.new(-42.5, 8.40002632, -35)
  184. Part5.Parent = Model1
  185. Part5.Anchored = true
  186. Part5.Size = Vector3.new(15, 15.6000004, 2)
  187. Part5.CFrame = CFrame.new(-42.5, 9.00002384, -37, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  188. Part5.TopSurface = Enum.SurfaceType.Weld
  189. Part5.Position = Vector3.new(-42.5, 9.00002384, -37)
  190. Part6.Parent = Model1
  191. Part6.Anchored = true
  192. Part6.Size = Vector3.new(15, 13.2000008, 2)
  193. Part6.CFrame = CFrame.new(-42.5, 7.80002785, -33, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  194. Part6.TopSurface = Enum.SurfaceType.Weld
  195. Part6.Position = Vector3.new(-42.5, 7.80002785, -33)
  196. Part7.Parent = Model1
  197. Part7.Anchored = true
  198. Part7.Size = Vector3.new(15, 12, 2)
  199. Part7.CFrame = CFrame.new(-42.5, 7.20002556, -31, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  200. Part7.TopSurface = Enum.SurfaceType.Weld
  201. Part7.Position = Vector3.new(-42.5, 7.20002556, -31)
  202. Part8.Parent = Model1
  203. Part8.Anchored = true
  204. Part8.Size = Vector3.new(50, 1.20000005, 20)
  205. Part8.CFrame = CFrame.new(-10, 18.6000347, -30, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  206. Part8.TopSurface = Enum.SurfaceType.Weld
  207. Part8.Position = Vector3.new(-10, 18.6000347, -30)
  208. Part9.Parent = Model1
  209. Part9.Rotation = Vector3.new(0, 90, 0)
  210. Part9.Anchored = true
  211. Part9.Size = Vector3.new(18, 1.20000005, 2)
  212. Part9.CFrame = CFrame.new(-51, 18.6000347, -29, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  213. Part9.TopSurface = Enum.SurfaceType.Weld
  214. Part9.Position = Vector3.new(-51, 18.6000347, -29)
  215. Part9.Orientation = Vector3.new(0, 90, 0)
  216. Part10.Parent = Model1
  217. Part10.Anchored = true
  218. Part10.Size = Vector3.new(15, 10.8000002, 2)
  219. Part10.CFrame = CFrame.new(-42.5, 6.60002899, -29, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  220. Part10.TopSurface = Enum.SurfaceType.Weld
  221. Part10.Position = Vector3.new(-42.5, 6.60002899, -29)
  222. Part11.Parent = Model1
  223. Part11.Anchored = true
  224. Part11.Size = Vector3.new(15, 9.60000038, 2)
  225. Part11.CFrame = CFrame.new(-42.5, 6.00002861, -27, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  226. Part11.TopSurface = Enum.SurfaceType.Weld
  227. Part11.Position = Vector3.new(-42.5, 6.00002861, -27)
  228. Part12.Parent = Model1
  229. Part12.Anchored = true
  230. Part12.Size = Vector3.new(15, 7.20000029, 2)
  231. Part12.CFrame = CFrame.new(-42.5, 4.80002785, -23, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  232. Part12.TopSurface = Enum.SurfaceType.Weld
  233. Part12.Position = Vector3.new(-42.5, 4.80002785, -23)
  234. Part13.Parent = Model1
  235. Part13.Anchored = true
  236. Part13.Size = Vector3.new(15, 8.40000057, 2)
  237. Part13.CFrame = CFrame.new(-42.5, 5.40002632, -25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  238. Part13.TopSurface = Enum.SurfaceType.Weld
  239. Part13.Position = Vector3.new(-42.5, 5.40002632, -25)
  240. Part14.Parent = Model1
  241. Part14.Anchored = true
  242. Part14.Size = Vector3.new(15, 6, 2)
  243. Part14.CFrame = CFrame.new(-42.5, 4.20002556, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  244. Part14.TopSurface = Enum.SurfaceType.Weld
  245. Part14.Position = Vector3.new(-42.5, 4.20002556, -21)
  246. Part15.Parent = Model1
  247. Part15.Anchored = true
  248. Part15.Size = Vector3.new(15, 4.80000019, 2)
  249. Part15.CFrame = CFrame.new(-42.5, 3.60002804, -19, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  250. Part15.TopSurface = Enum.SurfaceType.Weld
  251. Part15.Position = Vector3.new(-42.5, 3.60002804, -19)
  252. Part16.Parent = Model1
  253. Part16.Anchored = true
  254. Part16.Size = Vector3.new(15, 2.4000001, 2)
  255. Part16.CFrame = CFrame.new(-42.5, 2.40003014, -15, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  256. Part16.TopSurface = Enum.SurfaceType.Weld
  257. Part16.Position = Vector3.new(-42.5, 2.40003014, -15)
  258. Part17.Parent = Model1
  259. Part17.Rotation = Vector3.new(0, 90, 0)
  260. Part17.Anchored = true
  261. Part17.Size = Vector3.new(57, 16.8000011, 2)
  262. Part17.CFrame = CFrame.new(14, 9.60002613, -9.5, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  263. Part17.TopSurface = Enum.SurfaceType.Weld
  264. Part17.Position = Vector3.new(14, 9.60002613, -9.5)
  265. Part17.Orientation = Vector3.new(0, 90, 0)
  266. Attachment18.Name = "Attachment1"
  267. Attachment18.Parent = Part17
  268. Attachment18.Rotation = Vector3.new(-0, -15.3948269, 90)
  269. Attachment18.CFrame = CFrame.new(-7.5, 4.5, -1, 0, -0.964119375, -0.265469074, 1, 0, 0, 0, -0.265469074, 0.964119375)
  270. Attachment18.Position = Vector3.new(-7.5, 4.5, -1)
  271. Attachment18.Axis = Vector3.new(0, 1, 0)
  272. Attachment18.Orientation = Vector3.new(-0, -15.3948269, 90)
  273. Attachment19.Name = "Attachment1"
  274. Attachment19.Parent = Part17
  275. Attachment19.Rotation = Vector3.new(-0, -15.3948269, 90)
  276. Attachment19.CFrame = CFrame.new(1.5, 4.5, -1, 0, -0.964119375, -0.265469074, 1, 0, 0, 0, -0.265469074, 0.964119375)
  277. Attachment19.Position = Vector3.new(1.5, 4.5, -1)
  278. Attachment19.Axis = Vector3.new(0, 1, 0)
  279. Attachment19.Orientation = Vector3.new(-0, -15.3948269, 90)
  280. Attachment20.Name = "Attachment1"
  281. Attachment20.Parent = Part17
  282. Attachment20.Rotation = Vector3.new(-0, -15.3948269, 90)
  283. Attachment20.CFrame = CFrame.new(3, 4.5, -1, 0, -0.964119375, -0.265469074, 1, 0, 0, 0, -0.265469074, 0.964119375)
  284. Attachment20.Position = Vector3.new(3, 4.5, -1)
  285. Attachment20.Axis = Vector3.new(0, 1, 0)
  286. Attachment20.Orientation = Vector3.new(-0, -15.3948269, 90)
  287. Attachment21.Name = "Attachment1"
  288. Attachment21.Parent = Part17
  289. Attachment21.Rotation = Vector3.new(-0, -15.3948269, -0)
  290. Attachment21.CFrame = CFrame.new(3, -4.5, -1, 0.964119375, 0, -0.265469074, 0, 1, 0, 0.265469074, 0, 0.964119375)
  291. Attachment21.Position = Vector3.new(3, -4.5, -1)
  292. Attachment21.Axis = Vector3.new(0.964119375, 0, 0.265469074)
  293. Attachment21.Orientation = Vector3.new(-0, -15.3948269, 0)
  294. Attachment22.Name = "Attachment1"
  295. Attachment22.Parent = Part17
  296. Attachment22.Rotation = Vector3.new(-180, 15.3948269, -180)
  297. Attachment22.CFrame = CFrame.new(-9, -4.5, -1, -0.964119375, 0, 0.265469074, 0, 1, 0, -0.265469074, 0, -0.964119375)
  298. Attachment22.Position = Vector3.new(-9, -4.5, -1)
  299. Attachment22.Axis = Vector3.new(-0.964119375, 0, -0.265469074)
  300. Attachment22.Orientation = Vector3.new(-0, 164.605164, 0)
  301. Part23.Parent = Model1
  302. Part23.Anchored = true
  303. Part23.Size = Vector3.new(15, 3.60000014, 2)
  304. Part23.CFrame = CFrame.new(-42.5, 3.00003052, -17, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  305. Part23.TopSurface = Enum.SurfaceType.Weld
  306. Part23.Position = Vector3.new(-42.5, 3.00003052, -17)
  307. Part24.Parent = Model1
  308. Part24.BrickColor = BrickColor.new("Dark stone grey")
  309. Part24.Anchored = true
  310. Part24.Size = Vector3.new(67, 1.20000005, 61)
  311. Part24.CFrame = CFrame.new(-18.5, 0.600028992, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  312. Part24.TopSurface = Enum.SurfaceType.Weld
  313. Part24.Color = Color3.new(0.388235, 0.372549, 0.384314)
  314. Part24.Position = Vector3.new(-18.5, 0.600028992, -9.5)
  315. Part24.Color = Color3.new(0.388235, 0.372549, 0.384314)
  316. Part25.Parent = Model1
  317. Part25.Anchored = true
  318. Part25.Size = Vector3.new(15, 1.20000005, 2)
  319. Part25.CFrame = CFrame.new(-42.5, 1.80002975, -13, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  320. Part25.TopSurface = Enum.SurfaceType.Weld
  321. Part25.Position = Vector3.new(-42.5, 1.80002975, -13)
  322. Part26.Parent = Model1
  323. Part26.Rotation = Vector3.new(0, 90, 0)
  324. Part26.Anchored = true
  325. Part26.Size = Vector3.new(57, 16.8000011, 2)
  326. Part26.CFrame = CFrame.new(-51, 9.60002613, -9.49999237, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  327. Part26.TopSurface = Enum.SurfaceType.Weld
  328. Part26.Position = Vector3.new(-51, 9.60002613, -9.49999237)
  329. Part26.Orientation = Vector3.new(0, 90, 0)
  330. Part27.Parent = Model1
  331. Part27.Anchored = true
  332. Part27.Size = Vector3.new(67, 1.20000005, 41)
  333. Part27.CFrame = CFrame.new(-18.5, 18.6000347, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  334. Part27.TopSurface = Enum.SurfaceType.Weld
  335. Part27.Position = Vector3.new(-18.5, 18.6000347, 0.5)
  336. Part28.Parent = Model1
  337. Part28.Anchored = true
  338. Part28.Size = Vector3.new(67, 16.8000011, 2)
  339. Part28.CFrame = CFrame.new(-18.5, 9.60002613, 20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  340. Part28.TopSurface = Enum.SurfaceType.Weld
  341. Part28.Position = Vector3.new(-18.5, 9.60002613, 20)
  342. Model29.Name = "vinze234"
  343. Model29.Parent = Model0
  344. Model29.PrimaryPart = Part30
  345. Part30.Name = "Head"
  346. Part30.Parent = Model29
  347. Part30.BrickColor = BrickColor.new("Light orange")
  348. Part30.Rotation = Vector3.new(0, 74.6100006, 0)
  349. Part30.FormFactor = Enum.FormFactor.Symmetric
  350. Part30.Size = Vector3.new(2, 1, 1)
  351. Part30.CFrame = CFrame.new(11.7176952, 12.0000095, -7.5226326, 0.265469074, 0, 0.964119375, 0, 1, 0, -0.964119375, 0, 0.265469044)
  352. Part30.TopSurface = Enum.SurfaceType.Smooth
  353. Part30.Color = Color3.new(0.917647, 0.721569, 0.572549)
  354. Part30.Position = Vector3.new(11.7176952, 12.0000095, -7.5226326)
  355. Part30.Orientation = Vector3.new(0, 74.6100006, 0)
  356. Part30.Color = Color3.new(0.917647, 0.721569, 0.572549)
  357. SpecialMesh31.Parent = Part30
  358. SpecialMesh31.Scale = Vector3.new(1.25, 1.25, 1.25)
  359. SpecialMesh31.Scale = Vector3.new(1.25, 1.25, 1.25)
  360. Attachment32.Name = "HairAttachment"
  361. Attachment32.Parent = Part30
  362. Attachment32.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  363. Attachment32.Position = Vector3.new(0, 0.600000024, 0)
  364. Attachment33.Name = "HatAttachment"
  365. Attachment33.Parent = Part30
  366. Attachment33.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  367. Attachment33.Position = Vector3.new(0, 0.600000024, 0)
  368. Attachment34.Name = "FaceFrontAttachment"
  369. Attachment34.Parent = Part30
  370. Attachment34.CFrame = CFrame.new(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  371. Attachment34.Position = Vector3.new(0, 0, -0.600000024)
  372. Attachment35.Name = "FaceCenterAttachment"
  373. Attachment35.Parent = Part30
  374. Sound36.Name = "GettingUp"
  375. Sound36.Parent = Part30
  376. Sound36.SoundId = "rbxasset://sounds/action_get_up.mp3"
  377. Sound36.Volume = 0.64999997615814
  378. RemoteEvent37.Name = "CharacterSoundEvent"
  379. RemoteEvent37.Parent = Sound36
  380. Sound38.Name = "Died"
  381. Sound38.Parent = Part30
  382. Sound38.SoundId = "rbxasset://sounds/uuhhh.mp3"
  383. Sound38.Volume = 0.64999997615814
  384. RemoteEvent39.Name = "CharacterSoundEvent"
  385. RemoteEvent39.Parent = Sound38
  386. Sound40.Name = "FreeFalling"
  387. Sound40.Parent = Part30
  388. Sound40.SoundId = "rbxasset://sounds/action_falling.mp3"
  389. Sound40.TimePosition = 0.032987786311992
  390. Sound40.Volume = 0
  391. Sound40.Looped = true
  392. RemoteEvent41.Name = "CharacterSoundEvent"
  393. RemoteEvent41.Parent = Sound40
  394. Sound42.Name = "Jumping"
  395. Sound42.Parent = Part30
  396. Sound42.SoundId = "rbxasset://sounds/action_jump.mp3"
  397. Sound42.Volume = 0.64999997615814
  398. RemoteEvent43.Name = "CharacterSoundEvent"
  399. RemoteEvent43.Parent = Sound42
  400. Sound44.Name = "Landing"
  401. Sound44.Parent = Part30
  402. Sound44.SoundId = "rbxasset://sounds/action_jump_land.mp3"
  403. Sound44.Volume = 1
  404. RemoteEvent45.Name = "CharacterSoundEvent"
  405. RemoteEvent45.Parent = Sound44
  406. Sound46.Name = "Splash"
  407. Sound46.Parent = Part30
  408. Sound46.SoundId = "rbxasset://sounds/impact_water.mp3"
  409. Sound46.Volume = 0.64999997615814
  410. RemoteEvent47.Name = "CharacterSoundEvent"
  411. RemoteEvent47.Parent = Sound46
  412. Sound48.Name = "Running"
  413. Sound48.Parent = Part30
  414. Sound48.Pitch = 1.8500000238419
  415. Sound48.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
  416. Sound48.TimePosition = 1.5940207611235
  417. Sound48.Volume = 0.64999997615814
  418. Sound48.Looped = true
  419. RemoteEvent49.Name = "CharacterSoundEvent"
  420. RemoteEvent49.Parent = Sound48
  421. Sound50.Name = "Swimming"
  422. Sound50.Parent = Part30
  423. Sound50.Pitch = 1.6000000238419
  424. Sound50.SoundId = "rbxasset://sounds/action_swim.mp3"
  425. Sound50.Volume = 0.64999997615814
  426. Sound50.Looped = true
  427. RemoteEvent51.Name = "CharacterSoundEvent"
  428. RemoteEvent51.Parent = Sound50
  429. Sound52.Name = "Climbing"
  430. Sound52.Parent = Part30
  431. Sound52.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
  432. Sound52.Volume = 0.64999997615814
  433. Sound52.Looped = true
  434. RemoteEvent53.Name = "CharacterSoundEvent"
  435. RemoteEvent53.Parent = Sound52
  436. Decal54.Name = "face"
  437. Decal54.Parent = Part30
  438. Decal54.Texture = "http://www.roblox.com/asset/?id=12145059"
  439. Part55.Name = "Torso"
  440. Part55.Parent = Model29
  441. Part55.BrickColor = BrickColor.new("Light orange")
  442. Part55.Rotation = Vector3.new(0, 74.6100006, 0)
  443. Part55.FormFactor = Enum.FormFactor.Symmetric
  444. Part55.Size = Vector3.new(2, 2, 1)
  445. Part55.CFrame = CFrame.new(11.7176952, 10.5000095, -7.5226326, 0.265469074, 0, 0.964119375, 0, 1, 0, -0.964119375, 0, 0.265469044)
  446. Part55.LeftSurface = Enum.SurfaceType.Weld
  447. Part55.RightSurface = Enum.SurfaceType.Weld
  448. Part55.Color = Color3.new(0.917647, 0.721569, 0.572549)
  449. Part55.Position = Vector3.new(11.7176952, 10.5000095, -7.5226326)
  450. Part55.Orientation = Vector3.new(0, 74.6100006, 0)
  451. Part55.Color = Color3.new(0.917647, 0.721569, 0.572549)
  452. Decal56.Name = "roblox"
  453. Decal56.Parent = Part55
  454. Decal56.Texture = "http://www.roblox.com/asset/?id=1158870851"
  455. Attachment57.Name = "NeckAttachment"
  456. Attachment57.Parent = Part55
  457. Attachment57.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  458. Attachment57.Position = Vector3.new(0, 1, 0)
  459. Attachment58.Name = "BodyFrontAttachment"
  460. Attachment58.Parent = Part55
  461. Attachment58.CFrame = CFrame.new(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  462. Attachment58.Position = Vector3.new(0, 0, -0.5)
  463. Attachment59.Name = "BodyBackAttachment"
  464. Attachment59.Parent = Part55
  465. Attachment59.CFrame = CFrame.new(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  466. Attachment59.Position = Vector3.new(0, 0, 0.5)
  467. Attachment60.Name = "LeftCollarAttachment"
  468. Attachment60.Parent = Part55
  469. Attachment60.CFrame = CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  470. Attachment60.Position = Vector3.new(-1, 1, 0)
  471. Attachment61.Name = "RightCollarAttachment"
  472. Attachment61.Parent = Part55
  473. Attachment61.CFrame = CFrame.new(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  474. Attachment61.Position = Vector3.new(1, 1, 0)
  475. Attachment62.Name = "WaistFrontAttachment"
  476. Attachment62.Parent = Part55
  477. Attachment62.CFrame = CFrame.new(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  478. Attachment62.Position = Vector3.new(0, -1, -0.5)
  479. Attachment63.Name = "WaistCenterAttachment"
  480. Attachment63.Parent = Part55
  481. Attachment63.CFrame = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  482. Attachment63.Position = Vector3.new(0, -1, 0)
  483. Attachment64.Name = "WaistBackAttachment"
  484. Attachment64.Parent = Part55
  485. Attachment64.CFrame = CFrame.new(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  486. Attachment64.Position = Vector3.new(0, -1, 0.5)
  487. Motor6D65.Name = "Right Shoulder"
  488. Motor6D65.Parent = Part55
  489. Motor6D65.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  490. Motor6D65.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  491. Motor6D65.Part0 = Part55
  492. Motor6D65.Part1 = Part75
  493. Motor6D65.MaxVelocity = 0.10000000149012
  494. Motor6D66.Name = "Left Shoulder"
  495. Motor6D66.Parent = Part55
  496. Motor6D66.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  497. Motor6D66.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  498. Motor6D66.Part0 = Part55
  499. Motor6D66.Part1 = Part70
  500. Motor6D66.MaxVelocity = 0.10000000149012
  501. Motor6D67.Name = "Right Hip"
  502. Motor6D67.Parent = Part55
  503. Motor6D67.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  504. Motor6D67.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  505. Motor6D67.Part0 = Part55
  506. Motor6D67.Part1 = Part85
  507. Motor6D67.MaxVelocity = 0.10000000149012
  508. Motor6D68.Name = "Left Hip"
  509. Motor6D68.Parent = Part55
  510. Motor6D68.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  511. Motor6D68.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  512. Motor6D68.Part0 = Part55
  513. Motor6D68.Part1 = Part81
  514. Motor6D68.MaxVelocity = 0.10000000149012
  515. Motor6D69.Name = "Neck"
  516. Motor6D69.Parent = Part55
  517. Motor6D69.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  518. Motor6D69.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  519. Motor6D69.Part0 = Part55
  520. Motor6D69.Part1 = Part30
  521. Motor6D69.MaxVelocity = 0.10000000149012
  522. Part70.Name = "Left Arm"
  523. Part70.Parent = Model29
  524. Part70.BrickColor = BrickColor.new("Light orange")
  525. Part70.Rotation = Vector3.new(0, 74.6100006, 0)
  526. Part70.CanCollide = false
  527. Part70.FormFactor = Enum.FormFactor.Symmetric
  528. Part70.Size = Vector3.new(1, 2, 1)
  529. Part70.CFrame = CFrame.new(11.3194914, 10.5000095, -6.07645369, 0.265469074, 0, 0.964119375, 0, 1, 0, -0.964119375, 0, 0.265469044)
  530. Part70.Color = Color3.new(0.917647, 0.721569, 0.572549)
  531. Part70.Position = Vector3.new(11.3194914, 10.5000095, -6.07645369)
  532. Part70.Orientation = Vector3.new(0, 74.6100006, 0)
  533. Part70.Color = Color3.new(0.917647, 0.721569, 0.572549)
  534. Attachment71.Name = "LeftShoulderAttachment"
  535. Attachment71.Parent = Part70
  536. Attachment71.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  537. Attachment71.Position = Vector3.new(0, 1, 0)
  538. Attachment72.Name = "LeftGripAttachment"
  539. Attachment72.Parent = Part70
  540. Attachment72.CFrame = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  541. Attachment72.Position = Vector3.new(0, -1, 0)
  542. Attachment73.Name = "Attachment0"
  543. Attachment73.Parent = Part70
  544. Attachment73.Rotation = Vector3.new(0, 0, 90)
  545. Attachment73.CFrame = CFrame.new(0, 1, 0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  546. Attachment73.Position = Vector3.new(0, 1, 0)
  547. Attachment73.Axis = Vector3.new(0, 1, 0)
  548. Attachment73.Orientation = Vector3.new(0, 0, 90)
  549. RopeConstraint74.Parent = Part70
  550. RopeConstraint74.Visible = true
  551. RopeConstraint74.Attachment0 = Attachment73
  552. RopeConstraint74.Attachment1 = Attachment18
  553. RopeConstraint74.Length = 5.1187558174133
  554. Part75.Name = "Right Arm"
  555. Part75.Parent = Model29
  556. Part75.BrickColor = BrickColor.new("Light orange")
  557. Part75.Rotation = Vector3.new(0, 74.6100006, 0)
  558. Part75.CanCollide = false
  559. Part75.FormFactor = Enum.FormFactor.Symmetric
  560. Part75.Size = Vector3.new(1, 2, 1)
  561. Part75.CFrame = CFrame.new(12.1158991, 10.5000095, -8.96881199, 0.265469074, 0, 0.964119375, 0, 1, 0, -0.964119375, 0, 0.265469044)
  562. Part75.Color = Color3.new(0.917647, 0.721569, 0.572549)
  563. Part75.Position = Vector3.new(12.1158991, 10.5000095, -8.96881199)
  564. Part75.Orientation = Vector3.new(0, 74.6100006, 0)
  565. Part75.Color = Color3.new(0.917647, 0.721569, 0.572549)
  566. Attachment76.Name = "RightShoulderAttachment"
  567. Attachment76.Parent = Part75
  568. Attachment76.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  569. Attachment76.Position = Vector3.new(0, 1, 0)
  570. Attachment77.Name = "RightGripAttachment"
  571. Attachment77.Parent = Part75
  572. Attachment77.CFrame = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  573. Attachment77.Position = Vector3.new(0, -1, 0)
  574. Attachment78.Name = "Attachment0"
  575. Attachment78.Parent = Part75
  576. Attachment78.Rotation = Vector3.new(0, 0, 90)
  577. Attachment78.CFrame = CFrame.new(0, 1, 0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  578. Attachment78.Position = Vector3.new(0, 1, 0)
  579. Attachment78.Axis = Vector3.new(0, 1, 0)
  580. Attachment78.Orientation = Vector3.new(0, 0, 90)
  581. Attachment79.Name = "Attachment0"
  582. Attachment79.Parent = Part75
  583. Attachment79.Rotation = Vector3.new(0, 0, 90)
  584. Attachment79.CFrame = CFrame.new(0, 1, 0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  585. Attachment79.Position = Vector3.new(0, 1, 0)
  586. Attachment79.Axis = Vector3.new(0, 1, 0)
  587. Attachment79.Orientation = Vector3.new(0, 0, 90)
  588. RopeConstraint80.Parent = Part75
  589. RopeConstraint80.Visible = true
  590. RopeConstraint80.Attachment0 = Attachment79
  591. RopeConstraint80.Attachment1 = Attachment20
  592. RopeConstraint80.Length = 4.47336769104
  593. Part81.Name = "Left Leg"
  594. Part81.Parent = Model29
  595. Part81.BrickColor = BrickColor.new("Really black")
  596. Part81.Rotation = Vector3.new(0, 74.6100006, 0)
  597. Part81.CanCollide = false
  598. Part81.FormFactor = Enum.FormFactor.Symmetric
  599. Part81.Size = Vector3.new(1, 2, 1)
  600. Part81.CFrame = CFrame.new(11.5849609, 8.50000954, -7.04057312, 0.265469074, 0, 0.964119375, 0, 1, 0, -0.964119375, 0, 0.265469044)
  601. Part81.BottomSurface = Enum.SurfaceType.Smooth
  602. Part81.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  603. Part81.Position = Vector3.new(11.5849609, 8.50000954, -7.04057312)
  604. Part81.Orientation = Vector3.new(0, 74.6100006, 0)
  605. Part81.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  606. Attachment82.Name = "LeftFootAttachment"
  607. Attachment82.Parent = Part81
  608. Attachment82.CFrame = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  609. Attachment82.Position = Vector3.new(0, -1, 0)
  610. Attachment83.Name = "Attachment0"
  611. Attachment83.Parent = Part81
  612. Attachment83.Rotation = Vector3.new(-180, 0, -180)
  613. Attachment83.CFrame = CFrame.new(-0.5, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  614. Attachment83.Position = Vector3.new(-0.5, 0, 0)
  615. Attachment83.Axis = Vector3.new(-1, 0, 0)
  616. Attachment83.Orientation = Vector3.new(-0, 180, 0)
  617. RopeConstraint84.Parent = Part81
  618. RopeConstraint84.Visible = true
  619. RopeConstraint84.Attachment0 = Attachment83
  620. RopeConstraint84.Attachment1 = Attachment22
  621. RopeConstraint84.Length = 7.1176595687866
  622. Part85.Name = "Right Leg"
  623. Part85.Parent = Model29
  624. Part85.BrickColor = BrickColor.new("Really black")
  625. Part85.Rotation = Vector3.new(0, 74.6100006, 0)
  626. Part85.CanCollide = false
  627. Part85.FormFactor = Enum.FormFactor.Symmetric
  628. Part85.Size = Vector3.new(1, 2, 1)
  629. Part85.CFrame = CFrame.new(11.8504295, 8.50000954, -8.00469208, 0.265469074, 0, 0.964119375, 0, 1, 0, -0.964119375, 0, 0.265469044)
  630. Part85.BottomSurface = Enum.SurfaceType.Smooth
  631. Part85.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  632. Part85.Position = Vector3.new(11.8504295, 8.50000954, -8.00469208)
  633. Part85.Orientation = Vector3.new(0, 74.6100006, 0)
  634. Part85.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  635. Attachment86.Name = "RightFootAttachment"
  636. Attachment86.Parent = Part85
  637. Attachment86.CFrame = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  638. Attachment86.Position = Vector3.new(0, -1, 0)
  639. Attachment87.Name = "Attachment0"
  640. Attachment87.Parent = Part85
  641. Attachment87.CFrame = CFrame.new(0.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  642. Attachment87.Position = Vector3.new(0.5, 0, 0)
  643. RopeConstraint88.Parent = Part85
  644. RopeConstraint88.Visible = true
  645. RopeConstraint88.Attachment0 = Attachment87
  646. RopeConstraint88.Attachment1 = Attachment21
  647. RopeConstraint88.Length = 5.3572382926941
  648. Humanoid89.Parent = Model29
  649. Humanoid89.RightLeg = Part85
  650. Humanoid89.LeftLeg = Part81
  651. Humanoid89.Torso = Part90
  652. Part90.Name = "HumanoidRootPart"
  653. Part90.Parent = Model29
  654. Part90.Transparency = 1
  655. Part90.Rotation = Vector3.new(0, 74.6100006, 0)
  656. Part90.CanCollide = false
  657. Part90.FormFactor = Enum.FormFactor.Symmetric
  658. Part90.Size = Vector3.new(2, 2, 1)
  659. Part90.CFrame = CFrame.new(11.7176952, 10.5000095, -7.5226326, 0.265469074, 0, 0.964119375, 0, 1, 0, -0.964119375, 0, 0.265469044)
  660. Part90.BottomSurface = Enum.SurfaceType.Smooth
  661. Part90.TopSurface = Enum.SurfaceType.Smooth
  662. Part90.Position = Vector3.new(11.7176952, 10.5000095, -7.5226326)
  663. Part90.Orientation = Vector3.new(0, 74.6100006, 0)
  664. Attachment91.Name = "RootAttachment"
  665. Attachment91.Parent = Part90
  666. Motor6D92.Name = "RootJoint"
  667. Motor6D92.Parent = Part90
  668. Motor6D92.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  669. Motor6D92.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  670. Motor6D92.Part0 = Part90
  671. Motor6D92.Part1 = Part55
  672. Motor6D92.MaxVelocity = 0.10000000149012
  673. Script93.Name = "Sound"
  674. Script93.Parent = Model29
  675. table.insert(cors,sandbox(Script93,function()
  676. --[[
  677. Author: @spotco
  678. This script creates sounds which are placed under the character head.
  679. These sounds are used by the "LocalSound" script.
  680.  
  681. To modify this script, copy it to your "StarterPlayer/StarterCharacterScripts" folder keeping the same script name ("Sound").
  682. The default Sound script loaded for every character will then be replaced with your copy of the script.
  683. ]]--
  684. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  685. local Players = game:GetService("Players")
  686.  
  687. local SOUND_EVENT_FOLDER_NAME = "DefaultSoundEvents"
  688. local DEFAULT_SERVER_SOUND_EVENT_NAME = "DefaultServerSoundEvent"
  689.  
  690. local SoundEventFolder = ReplicatedStorage:FindFirstChild(SOUND_EVENT_FOLDER_NAME)
  691. local DefaultServerSoundEvent = nil
  692.  
  693. local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
  694. if useSoundDispatcher then
  695. if not SoundEventFolder then
  696. SoundEventFolder = Instance.new("Folder")
  697. SoundEventFolder.Name = SOUND_EVENT_FOLDER_NAME
  698. SoundEventFolder.Archivable = false
  699. SoundEventFolder.Parent = ReplicatedStorage
  700. end
  701.  
  702. DefaultServerSoundEvent = SoundEventFolder:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
  703. else
  704. DefaultServerSoundEvent = ReplicatedStorage:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
  705. end
  706.  
  707. if not DefaultServerSoundEvent then
  708. if useSoundDispatcher then
  709. DefaultServerSoundEvent = Instance.new("RemoteEvent", SoundEventFolder)
  710. else
  711. DefaultServerSoundEvent = Instance.new("RemoteEvent", ReplicatedStorage)
  712. end
  713.  
  714. DefaultServerSoundEvent.Name = DEFAULT_SERVER_SOUND_EVENT_NAME
  715. DefaultServerSoundEvent.OnServerEvent:Connect(function() end)
  716. end
  717.  
  718. local function CreateNewSound(name, id, looped, pitch, parent)
  719. local sound = Instance.new("Sound")
  720. sound.SoundId = id
  721. sound.Name = name
  722. sound.archivable = false
  723. sound.Pitch = pitch
  724. sound.Looped = looped
  725. sound.MinDistance = 5
  726. sound.MaxDistance = 150
  727. sound.Volume = 0.65
  728. sound.Parent = parent
  729.  
  730. if DefaultServerSoundEvent then
  731. local CharacterSoundEvent = Instance.new("RemoteEvent", sound)
  732. CharacterSoundEvent.Name = "CharacterSoundEvent"
  733. CharacterSoundEvent.OnServerEvent:Connect(function(player, playing, resetPosition)
  734. if type(playing) ~= "boolean" then
  735. return
  736. end
  737. if type(resetPosition) ~= "boolean" then
  738. return
  739. end
  740.  
  741. if player.Character ~= script.Parent then
  742. return
  743. end
  744. for _, p in pairs(Players:GetPlayers()) do
  745. if p ~= player then
  746. -- Connect to the dispatcher to check if the player has loaded.
  747. if useSoundDispatcher then
  748. SoundEventFolder:FindFirstChild("SoundDispatcher"):Fire(p, sound, playing, resetPosition)
  749. else
  750. DefaultServerSoundEvent:FireClient(p, sound, playing, resetPosition)
  751. end
  752. end
  753. end
  754. end)
  755. end
  756. return sound
  757. end
  758.  
  759. local head = script.Parent:FindFirstChild("Head")
  760. if not head then
  761. error("Sound script parent has no child Head.")
  762. return
  763. end
  764.  
  765. CreateNewSound("GettingUp", "rbxasset://sounds/action_get_up.mp3", false, 1, head)
  766. CreateNewSound("Died", "rbxasset://sounds/uuhhh.mp3", false, 1, head)
  767. CreateNewSound("FreeFalling", "rbxasset://sounds/action_falling.mp3", true, 1, head)
  768. CreateNewSound("Jumping", "rbxasset://sounds/action_jump.mp3", false, 1, head)
  769. CreateNewSound("Landing", "rbxasset://sounds/action_jump_land.mp3", false, 1, head)
  770. CreateNewSound("Splash", "rbxasset://sounds/impact_water.mp3", false, 1, head)
  771. CreateNewSound("Running", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1.85, head)
  772. CreateNewSound("Swimming", "rbxasset://sounds/action_swim.mp3", true, 1.6, head)
  773. CreateNewSound("Climbing", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1, head)
  774. end))
  775. LocalScript94.Name = "LocalSound"
  776. LocalScript94.Parent = Script93
  777. table.insert(cors,sandbox(LocalScript94,function()
  778. --[[
  779. Author: @spotco
  780. This script runs locally for the player of the given humanoid.
  781. This script triggers humanoid sound play/pause actions locally.
  782.  
  783. The Playing/TimePosition properties of Sound objects bypass FilteringEnabled, so this triggers the sound
  784. immediately for the player and is replicated to all other players.
  785.  
  786. This script is optimized to reduce network traffic through minimizing the amount of property replication.
  787. ]]--
  788.  
  789. --All sounds are referenced by this ID
  790. local SFX = {
  791. Died = 0;
  792. Running = 1;
  793. Swimming = 2;
  794. Climbing = 3,
  795. Jumping = 4;
  796. GettingUp = 5;
  797. FreeFalling = 6;
  798. FallingDown = 7;
  799. Landing = 8;
  800. Splash = 9;
  801. }
  802.  
  803. local useUpdatedLocalSoundFlag = UserSettings():IsUserFeatureEnabled("UserFixCharacterSoundIssues")
  804.  
  805. local Humanoid = nil
  806. local Head = nil
  807. --SFX ID to Sound object
  808. local Sounds = {}
  809. local SoundService = game:GetService("SoundService")
  810. local soundEventFolderName = "DefaultSoundEvents"
  811. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  812. local AddCharacterLoadedEvent = nil
  813. local RemoveCharacterEvent = nil
  814. local soundEventFolder = ReplicatedStorage:FindFirstChild(soundEventFolderName)
  815. local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
  816.  
  817. if useSoundDispatcher then
  818. if not soundEventFolder then
  819. soundEventFolder = Instance.new("Folder", ReplicatedStorage)
  820. soundEventFolder.Name = soundEventFolderName
  821. soundEventFolder.Archivable = false
  822. end
  823.  
  824. -- Load the RemoveCharacterEvent
  825. RemoveCharacterEvent = soundEventFolder:FindFirstChild("RemoveCharacterEvent")
  826. if RemoveCharacterEvent == nil then
  827. RemoveCharacterEvent = Instance.new("RemoteEvent", soundEventFolder)
  828. RemoveCharacterEvent.Name = "RemoveCharacterEvent"
  829. end
  830.  
  831. AddCharacterLoadedEvent = soundEventFolder:FindFirstChild("AddCharacterLoadedEvent")
  832. if AddCharacterLoadedEvent == nil then
  833. AddCharacterLoadedEvent = Instance.new("RemoteEvent", soundEventFolder)
  834. AddCharacterLoadedEvent.Name = "AddCharacterLoadedEvent"
  835. end
  836.  
  837. -- Notify the server a new character has been loaded
  838. AddCharacterLoadedEvent:FireServer()
  839.  
  840. -- Notify the sound dispatcher this character has left.
  841. game.Players.LocalPlayer.CharacterRemoving:connect(function(character)
  842. RemoveCharacterEvent:FireServer(game.Players.LocalPlayer)
  843. end)
  844. end
  845.  
  846. do
  847. local Figure = script.Parent.Parent
  848. Head = Figure:WaitForChild("Head")
  849. while not Humanoid do
  850. for _,NewHumanoid in pairs(Figure:GetChildren()) do
  851. if NewHumanoid:IsA("Humanoid") then
  852. Humanoid = NewHumanoid
  853. break
  854. end
  855. end
  856. if Humanoid then break end
  857. Figure.ChildAdded:wait()
  858. end
  859. Sounds[SFX.Died] = Head:WaitForChild("Died")
  860. Sounds[SFX.Running] = Head:WaitForChild("Running")
  861. Sounds[SFX.Swimming] = Head:WaitForChild("Swimming")
  862. Sounds[SFX.Climbing] = Head:WaitForChild("Climbing")
  863. Sounds[SFX.Jumping] = Head:WaitForChild("Jumping")
  864. Sounds[SFX.GettingUp] = Head:WaitForChild("GettingUp")
  865. Sounds[SFX.FreeFalling] = Head:WaitForChild("FreeFalling")
  866. Sounds[SFX.Landing] = Head:WaitForChild("Landing")
  867. Sounds[SFX.Splash] = Head:WaitForChild("Splash")
  868.  
  869. local DefaultServerSoundEvent = nil
  870. if useSoundDispatcher then
  871. DefaultServerSoundEvent = soundEventFolder:FindFirstChild("DefaultServerSoundEvent")
  872. else
  873. DefaultServerSoundEvent = game:GetService("ReplicatedStorage"):FindFirstChild("DefaultServerSoundEvent")
  874. end
  875.  
  876. if DefaultServerSoundEvent then
  877. DefaultServerSoundEvent.OnClientEvent:connect(function(sound, playing, resetPosition)
  878. if UserSettings():IsUserFeatureEnabled("UserPlayCharacterLoopSoundWhenFE") then
  879. if resetPosition and sound.TimePosition ~= 0 then
  880. sound.TimePosition = 0
  881. end
  882. if sound.IsPlaying ~= playing then
  883. sound.Playing = playing
  884. end
  885. else
  886. if sound.TimePosition ~= 0 then
  887. sound.TimePosition = 0
  888. end
  889. if not sound.IsPlaying then
  890. sound.Playing = true
  891. end
  892. end
  893. end)
  894. end
  895. end
  896.  
  897. local IsSoundFilteringEnabled = function()
  898. return game.Workspace.FilteringEnabled and SoundService.RespectFilteringEnabled
  899. end
  900.  
  901. local Util
  902. Util = {
  903.  
  904. --Define linear relationship between (pt1x,pt2x) and (pt2x,pt2y). Evaluate this at x.
  905. YForLineGivenXAndTwoPts = function(x,pt1x,pt1y,pt2x,pt2y)
  906. --(y - y1)/(x - x1) = m
  907. local m = (pt1y - pt2y) / (pt1x - pt2x)
  908. --float b = pt1.y - m * pt1.x;
  909. local b = (pt1y - m * pt1x)
  910. return m * x + b
  911. end;
  912.  
  913. --Clamps the value of "val" between the "min" and "max"
  914. Clamp = function(val,min,max)
  915. return math.min(max,math.max(min,val))
  916. end;
  917.  
  918. --Gets the horizontal (x,z) velocity magnitude of the given part
  919. HorizontalSpeed = function(Head)
  920. local hVel = Head.Velocity + Vector3.new(0,-Head.Velocity.Y,0)
  921. return hVel.magnitude
  922. end;
  923.  
  924. --Gets the vertical (y) velocity magnitude of the given part
  925. VerticalSpeed = function(Head)
  926. return math.abs(Head.Velocity.Y)
  927. end;
  928.  
  929. --Setting Playing/TimePosition values directly result in less network traffic than Play/Pause/Resume/Stop
  930. --If these properties are enabled, use them.
  931. Play = function(sound)
  932. if IsSoundFilteringEnabled() then
  933. sound.CharacterSoundEvent:FireServer(true, true)
  934. end
  935. if sound.TimePosition ~= 0 then
  936. sound.TimePosition = 0
  937. end
  938. if not sound.IsPlaying then
  939. sound.Playing = true
  940. end
  941. end;
  942.  
  943. Pause = function(sound)
  944. if UserSettings():IsUserFeatureEnabled("UserPlayCharacterLoopSoundWhenFE") and IsSoundFilteringEnabled() then
  945. sound.CharacterSoundEvent:FireServer(false, false)
  946. end
  947. if sound.IsPlaying then
  948. sound.Playing = false
  949. end
  950. end;
  951.  
  952. Resume = function(sound)
  953. if UserSettings():IsUserFeatureEnabled("UserPlayCharacterLoopSoundWhenFE") and IsSoundFilteringEnabled() then
  954. sound.CharacterSoundEvent:FireServer(true, false)
  955. end
  956. if not sound.IsPlaying then
  957. sound.Playing = true
  958. end
  959. end;
  960.  
  961. Stop = function(sound)
  962. if UserSettings():IsUserFeatureEnabled("UserPlayCharacterLoopSoundWhenFE") and IsSoundFilteringEnabled() then
  963. sound.CharacterSoundEvent:FireServer(false, true)
  964. end
  965. if sound.IsPlaying then
  966. sound.Playing = false
  967. end
  968. if sound.TimePosition ~= 0 then
  969. sound.TimePosition = 0
  970. end
  971. end;
  972. }
  973.  
  974. do
  975. -- List of all active Looped sounds
  976. local playingLoopedSounds = {}
  977.  
  978. -- Last seen Enum.HumanoidStateType
  979. local activeState = nil
  980.  
  981. local fallSpeed = 0
  982.  
  983. -- Verify and set that "sound" is in "playingLoopedSounds".
  984. function setSoundInPlayingLoopedSounds(sound)
  985. for i=1, #playingLoopedSounds do
  986. if playingLoopedSounds[i] == sound then
  987. return
  988. end
  989. end
  990. table.insert(playingLoopedSounds,sound)
  991. end
  992.  
  993. -- Stop all active looped sounds except parameter "except". If "except" is not passed, all looped sounds will be stopped.
  994. function stopPlayingLoopedSoundsExcept(except)
  995. for i=#playingLoopedSounds,1,-1 do
  996. if playingLoopedSounds[i] ~= except then
  997. Util.Pause(playingLoopedSounds[i])
  998. table.remove(playingLoopedSounds,i)
  999. end
  1000. end
  1001. end
  1002.  
  1003. -- Table of Enum.HumanoidStateType to handling function
  1004. local stateUpdateHandler = {
  1005. [Enum.HumanoidStateType.Dead] = function()
  1006. stopPlayingLoopedSoundsExcept()
  1007. local sound = Sounds[SFX.Died]
  1008. Util.Play(sound)
  1009. end;
  1010.  
  1011. [Enum.HumanoidStateType.RunningNoPhysics] = function(speed)
  1012. stateUpdated(Enum.HumanoidStateType.Running, speed)
  1013. end;
  1014.  
  1015. [Enum.HumanoidStateType.Running] = function(speed)
  1016. local sound = Sounds[SFX.Running]
  1017. stopPlayingLoopedSoundsExcept(sound)
  1018.  
  1019. if(useUpdatedLocalSoundFlag and activeState == Enum.HumanoidStateType.Freefall and fallSpeed > 0.1) then
  1020. -- Play a landing sound if the character dropped from a large distance
  1021. local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
  1022. local freeFallSound = Sounds[SFX.FreeFalling]
  1023. freeFallSound.Volume = vol
  1024. Util.Play(freeFallSound)
  1025. fallSpeed = 0
  1026. end
  1027. if useUpdatedLocalSoundFlag then
  1028. if speed ~= nil and speed > 0.5 then
  1029. Util.Resume(sound)
  1030. setSoundInPlayingLoopedSounds(sound)
  1031. elseif speed ~= nil then
  1032. stopPlayingLoopedSoundsExcept()
  1033. end
  1034. else
  1035. if Util.HorizontalSpeed(Head) > 0.5 then
  1036. Util.Resume(sound)
  1037. setSoundInPlayingLoopedSounds(sound)
  1038. else
  1039. stopPlayingLoopedSoundsExcept()
  1040. end
  1041. end
  1042. end;
  1043.  
  1044. [Enum.HumanoidStateType.Swimming] = function(speed)
  1045. local threshold
  1046. if useUpdatedLocalSoundFlag then threshold = speed else threshold = Util.VerticalSpeed(Head) end
  1047. if activeState ~= Enum.HumanoidStateType.Swimming and threshold > 0.1 then
  1048. local splashSound = Sounds[SFX.Splash]
  1049. splashSound.Volume = Util.Clamp(
  1050. Util.YForLineGivenXAndTwoPts(
  1051. Util.VerticalSpeed(Head),
  1052. 100, 0.28,
  1053. 350, 1),
  1054. 0,1)
  1055. Util.Play(splashSound)
  1056. end
  1057.  
  1058. do
  1059. local sound = Sounds[SFX.Swimming]
  1060. stopPlayingLoopedSoundsExcept(sound)
  1061. Util.Resume(sound)
  1062. setSoundInPlayingLoopedSounds(sound)
  1063. end
  1064. end;
  1065.  
  1066. [Enum.HumanoidStateType.Climbing] = function(speed)
  1067. local sound = Sounds[SFX.Climbing]
  1068. if useUpdatedLocalSoundFlag then
  1069. if speed ~= nil and math.abs(speed) > 0.1 then
  1070. Util.Resume(sound)
  1071. stopPlayingLoopedSoundsExcept(sound)
  1072. else
  1073. Util.Pause(sound)
  1074. stopPlayingLoopedSoundsExcept(sound)
  1075. end
  1076. else
  1077. if Util.VerticalSpeed(Head) > 0.1 then
  1078. Util.Resume(sound)
  1079. stopPlayingLoopedSoundsExcept(sound)
  1080. else
  1081. stopPlayingLoopedSoundsExcept()
  1082. end
  1083. end
  1084.  
  1085. setSoundInPlayingLoopedSounds(sound)
  1086. end;
  1087.  
  1088. [Enum.HumanoidStateType.Jumping] = function()
  1089. if activeState == Enum.HumanoidStateType.Jumping then
  1090. return
  1091. end
  1092. stopPlayingLoopedSoundsExcept()
  1093. local sound = Sounds[SFX.Jumping]
  1094. Util.Play(sound)
  1095. end;
  1096.  
  1097. [Enum.HumanoidStateType.GettingUp] = function()
  1098. stopPlayingLoopedSoundsExcept()
  1099. local sound = Sounds[SFX.GettingUp]
  1100. Util.Play(sound)
  1101. end;
  1102.  
  1103. [Enum.HumanoidStateType.Freefall] = function()
  1104. if activeState == Enum.HumanoidStateType.Freefall then
  1105. return
  1106. end
  1107. local sound = Sounds[SFX.FreeFalling]
  1108. sound.Volume = 0
  1109. stopPlayingLoopedSoundsExcept()
  1110.  
  1111. fallSpeed = math.max(fallSpeed, math.abs(Head.Velocity.y))
  1112. end;
  1113.  
  1114. [Enum.HumanoidStateType.FallingDown] = function()
  1115. stopPlayingLoopedSoundsExcept()
  1116. end;
  1117.  
  1118. [Enum.HumanoidStateType.Landed] = function()
  1119. stopPlayingLoopedSoundsExcept()
  1120. if Util.VerticalSpeed(Head) > 75 then
  1121. local landingSound = Sounds[SFX.Landing]
  1122. landingSound.Volume = Util.Clamp(
  1123. Util.YForLineGivenXAndTwoPts(
  1124. Util.VerticalSpeed(Head),
  1125. 50, 0,
  1126. 100, 1),
  1127. 0,1)
  1128. Util.Play(landingSound)
  1129. end
  1130. end;
  1131.  
  1132. [Enum.HumanoidStateType.Seated] = function()
  1133. stopPlayingLoopedSoundsExcept()
  1134. end;
  1135. }
  1136.  
  1137.  
  1138.  
  1139. -- Handle state event fired or OnChange fired
  1140. function stateUpdated(state, speed)
  1141. if stateUpdateHandler[state] ~= nil then
  1142. if useUpdatedLocalSoundFlag and (state == Enum.HumanoidStateType.Running
  1143. or state == Enum.HumanoidStateType.Climbing
  1144. or state == Enum.HumanoidStateType.Swimming
  1145. or state == Enum.HumanoidStateType.RunningNoPhysics) then
  1146. stateUpdateHandler[state](speed)
  1147. else
  1148. stateUpdateHandler[state]()
  1149. end
  1150. end
  1151. activeState = state
  1152. end
  1153.  
  1154. Humanoid.Died:connect( function() stateUpdated(Enum.HumanoidStateType.Dead) end)
  1155. Humanoid.Running:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Running, speed) end)
  1156. Humanoid.Swimming:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Swimming, speed) end)
  1157. Humanoid.Climbing:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Climbing, speed) end)
  1158. Humanoid.Jumping:connect( function() stateUpdated(Enum.HumanoidStateType.Jumping) end)
  1159. Humanoid.GettingUp:connect( function() stateUpdated(Enum.HumanoidStateType.GettingUp) end)
  1160. Humanoid.FreeFalling:connect( function() stateUpdated(Enum.HumanoidStateType.Freefall) end)
  1161. Humanoid.FallingDown:connect( function() stateUpdated(Enum.HumanoidStateType.FallingDown) end)
  1162.  
  1163.  
  1164.  
  1165. -- required for proper handling of Landed event
  1166.  
  1167. Humanoid.StateChanged:connect(function(old, new)
  1168. stateUpdated(new)
  1169. end)
  1170.  
  1171.  
  1172.  
  1173. function onUpdate(stepDeltaSeconds, tickSpeedSeconds)
  1174. local stepScale = stepDeltaSeconds / tickSpeedSeconds
  1175. do
  1176. local sound = Sounds[SFX.FreeFalling]
  1177. if activeState == Enum.HumanoidStateType.Freefall then
  1178. if Head.Velocity.Y < 0 and Util.VerticalSpeed(Head) > 75 then
  1179. Util.Resume(sound)
  1180.  
  1181. --Volume takes 1.1 seconds to go from volume 0 to 1
  1182. local ANIMATION_LENGTH_SECONDS = 1.1
  1183.  
  1184. local normalizedIncrement = tickSpeedSeconds / ANIMATION_LENGTH_SECONDS
  1185. sound.Volume = Util.Clamp(sound.Volume + normalizedIncrement * stepScale, 0, 1)
  1186. else
  1187. sound.Volume = 0
  1188. end
  1189. else
  1190. Util.Pause(sound)
  1191. end
  1192. end
  1193.  
  1194. do
  1195. local sound = Sounds[SFX.Running]
  1196. if activeState == Enum.HumanoidStateType.Running then
  1197. if Util.HorizontalSpeed(Head) < 0.5 then
  1198. Util.Pause(sound)
  1199. end
  1200. end
  1201. end
  1202. end
  1203.  
  1204.  
  1205. local lastTick = tick()
  1206. local TICK_SPEED_SECONDS = 0.25
  1207. while true do
  1208. onUpdate(tick() - lastTick,TICK_SPEED_SECONDS)
  1209. lastTick = tick()
  1210. wait(TICK_SPEED_SECONDS)
  1211. end
  1212.  
  1213. end
  1214.  
  1215. end))
  1216. Script95.Name = "Health"
  1217. Script95.Parent = Model29
  1218. table.insert(cors,sandbox(Script95,function()
  1219. -- Gradually regenerates the Humanoid's Health over time.
  1220.  
  1221. local REGEN_RATE = 1/100 -- Regenerate this fraction of MaxHealth per second.
  1222. local REGEN_STEP = 1 -- Wait this long between each regeneration step.
  1223.  
  1224. --------------------------------------------------------------------------------
  1225.  
  1226. local Character = script.Parent
  1227. local Humanoid = Character:WaitForChild'Humanoid'
  1228.  
  1229. --------------------------------------------------------------------------------
  1230.  
  1231. while true do
  1232. while Humanoid.Health < Humanoid.MaxHealth do
  1233. local dt = wait(REGEN_STEP)
  1234. local dh = dt*REGEN_RATE*Humanoid.MaxHealth
  1235. Humanoid.Health = math.min(Humanoid.Health + dh, Humanoid.MaxHealth)
  1236. end
  1237. Humanoid.HealthChanged:Wait()
  1238. end
  1239. end))
  1240. LocalScript96.Name = "Animate"
  1241. LocalScript96.Parent = Model29
  1242. table.insert(cors,sandbox(LocalScript96,function()
  1243. local Figure = script.Parent
  1244. local Torso = Figure:WaitForChild("Torso")
  1245. local RightShoulder = Torso:WaitForChild("Right Shoulder")
  1246. local LeftShoulder = Torso:WaitForChild("Left Shoulder")
  1247. local RightHip = Torso:WaitForChild("Right Hip")
  1248. local LeftHip = Torso:WaitForChild("Left Hip")
  1249. local Neck = Torso:WaitForChild("Neck")
  1250. local Humanoid = Figure:WaitForChild("Humanoid")
  1251. local pose = "Standing"
  1252.  
  1253. local currentAnim = ""
  1254. local currentAnimInstance = nil
  1255. local currentAnimTrack = nil
  1256. local currentAnimKeyframeHandler = nil
  1257. local currentAnimSpeed = 1.0
  1258. local animTable = {}
  1259. local animNames = {
  1260. idle = {
  1261. { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
  1262. { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
  1263. },
  1264. walk = {
  1265. { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
  1266. },
  1267. run = {
  1268. { id = "run.xml", weight = 10 }
  1269. },
  1270. jump = {
  1271. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  1272. },
  1273. fall = {
  1274. { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  1275. },
  1276. climb = {
  1277. { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  1278. },
  1279. sit = {
  1280. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  1281. },
  1282. toolnone = {
  1283. { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  1284. },
  1285. toolslash = {
  1286. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  1287. -- { id = "slash.xml", weight = 10 }
  1288. },
  1289. toollunge = {
  1290. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  1291. },
  1292. wave = {
  1293. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  1294. },
  1295. point = {
  1296. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  1297. },
  1298. dance1 = {
  1299. { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  1300. { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  1301. { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  1302. },
  1303. dance2 = {
  1304. { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  1305. { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  1306. { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  1307. },
  1308. dance3 = {
  1309. { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  1310. { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  1311. { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  1312. },
  1313. laugh = {
  1314. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  1315. },
  1316. cheer = {
  1317. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  1318. },
  1319. }
  1320. local dances = {"dance1", "dance2", "dance3"}
  1321.  
  1322. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  1323. local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  1324.  
  1325. function configureAnimationSet(name, fileList)
  1326. if (animTable[name] ~= nil) then
  1327. for _, connection in pairs(animTable[name].connections) do
  1328. connection:disconnect()
  1329. end
  1330. end
  1331. animTable[name] = {}
  1332. animTable[name].count = 0
  1333. animTable[name].totalWeight = 0
  1334. animTable[name].connections = {}
  1335.  
  1336. -- check for config values
  1337. local config = script:FindFirstChild(name)
  1338. if (config ~= nil) then
  1339. -- print("Loading anims " .. name)
  1340. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  1341. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  1342. local idx = 1
  1343. for _, childPart in pairs(config:GetChildren()) do
  1344. if (childPart:IsA("Animation")) then
  1345. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  1346. animTable[name][idx] = {}
  1347. animTable[name][idx].anim = childPart
  1348. local weightObject = childPart:FindFirstChild("Weight")
  1349. if (weightObject == nil) then
  1350. animTable[name][idx].weight = 1
  1351. else
  1352. animTable[name][idx].weight = weightObject.Value
  1353. end
  1354. animTable[name].count = animTable[name].count + 1
  1355. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  1356. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  1357. idx = idx + 1
  1358. end
  1359. end
  1360. end
  1361.  
  1362. -- fallback to defaults
  1363. if (animTable[name].count <= 0) then
  1364. for idx, anim in pairs(fileList) do
  1365. animTable[name][idx] = {}
  1366. animTable[name][idx].anim = Instance.new("Animation")
  1367. animTable[name][idx].anim.Name = name
  1368. animTable[name][idx].anim.AnimationId = anim.id
  1369. animTable[name][idx].weight = anim.weight
  1370. animTable[name].count = animTable[name].count + 1
  1371. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  1372. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  1373. end
  1374. end
  1375. end
  1376.  
  1377. -- Setup animation objects
  1378. function scriptChildModified(child)
  1379. local fileList = animNames[child.Name]
  1380. if (fileList ~= nil) then
  1381. configureAnimationSet(child.Name, fileList)
  1382. end
  1383. end
  1384.  
  1385. script.ChildAdded:connect(scriptChildModified)
  1386. script.ChildRemoved:connect(scriptChildModified)
  1387.  
  1388.  
  1389. for name, fileList in pairs(animNames) do
  1390. configureAnimationSet(name, fileList)
  1391. end
  1392.  
  1393. -- ANIMATION
  1394.  
  1395. -- declarations
  1396. local toolAnim = "None"
  1397. local toolAnimTime = 0
  1398.  
  1399. local jumpAnimTime = 0
  1400. local jumpAnimDuration = 0.3
  1401.  
  1402. local toolTransitionTime = 0.1
  1403. local fallTransitionTime = 0.3
  1404. local jumpMaxLimbVelocity = 0.75
  1405.  
  1406. -- functions
  1407.  
  1408. function stopAllAnimations()
  1409. local oldAnim = currentAnim
  1410.  
  1411. -- return to idle if finishing an emote
  1412. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  1413. oldAnim = "idle"
  1414. end
  1415.  
  1416. currentAnim = ""
  1417. currentAnimInstance = nil
  1418. if (currentAnimKeyframeHandler ~= nil) then
  1419. currentAnimKeyframeHandler:disconnect()
  1420. end
  1421.  
  1422. if (currentAnimTrack ~= nil) then
  1423. currentAnimTrack:Stop()
  1424. currentAnimTrack:Destroy()
  1425. currentAnimTrack = nil
  1426. end
  1427. return oldAnim
  1428. end
  1429.  
  1430. function setAnimationSpeed(speed)
  1431. if speed ~= currentAnimSpeed then
  1432. currentAnimSpeed = speed
  1433. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  1434. end
  1435. end
  1436.  
  1437. function keyFrameReachedFunc(frameName)
  1438. if (frameName == "End") then
  1439.  
  1440. local repeatAnim = currentAnim
  1441. -- return to idle if finishing an emote
  1442. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  1443. repeatAnim = "idle"
  1444. end
  1445.  
  1446. local animSpeed = currentAnimSpeed
  1447. playAnimation(repeatAnim, 0.0, Humanoid)
  1448. setAnimationSpeed(animSpeed)
  1449. end
  1450. end
  1451.  
  1452. -- Preload animations
  1453. function playAnimation(animName, transitionTime, humanoid)
  1454.  
  1455. local roll = math.random(1, animTable[animName].totalWeight)
  1456. local origRoll = roll
  1457. local idx = 1
  1458. while (roll > animTable[animName][idx].weight) do
  1459. roll = roll - animTable[animName][idx].weight
  1460. idx = idx + 1
  1461. end
  1462. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  1463. local anim = animTable[animName][idx].anim
  1464.  
  1465. -- switch animation
  1466. if (anim ~= currentAnimInstance) then
  1467.  
  1468. if (currentAnimTrack ~= nil) then
  1469. currentAnimTrack:Stop(transitionTime)
  1470. currentAnimTrack:Destroy()
  1471. end
  1472.  
  1473. currentAnimSpeed = 1.0
  1474.  
  1475. -- load it to the humanoid; get AnimationTrack
  1476. currentAnimTrack = humanoid:LoadAnimation(anim)
  1477. currentAnimTrack.Priority = Enum.AnimationPriority.Core
  1478.  
  1479. -- play the animation
  1480. currentAnimTrack:Play(transitionTime)
  1481. currentAnim = animName
  1482. currentAnimInstance = anim
  1483.  
  1484. -- set up keyframe name triggers
  1485. if (currentAnimKeyframeHandler ~= nil) then
  1486. currentAnimKeyframeHandler:disconnect()
  1487. end
  1488. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  1489.  
  1490. end
  1491.  
  1492. end
  1493.  
  1494. -------------------------------------------------------------------------------------------
  1495. -------------------------------------------------------------------------------------------
  1496.  
  1497. local toolAnimName = ""
  1498. local toolAnimTrack = nil
  1499. local toolAnimInstance = nil
  1500. local currentToolAnimKeyframeHandler = nil
  1501.  
  1502. function toolKeyFrameReachedFunc(frameName)
  1503. if (frameName == "End") then
  1504. -- print("Keyframe : ".. frameName)
  1505. playToolAnimation(toolAnimName, 0.0, Humanoid)
  1506. end
  1507. end
  1508.  
  1509.  
  1510. function playToolAnimation(animName, transitionTime, humanoid, priority)
  1511.  
  1512. local roll = math.random(1, animTable[animName].totalWeight)
  1513. local origRoll = roll
  1514. local idx = 1
  1515. while (roll > animTable[animName][idx].weight) do
  1516. roll = roll - animTable[animName][idx].weight
  1517. idx = idx + 1
  1518. end
  1519. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  1520. local anim = animTable[animName][idx].anim
  1521.  
  1522. if (toolAnimInstance ~= anim) then
  1523.  
  1524. if (toolAnimTrack ~= nil) then
  1525. toolAnimTrack:Stop()
  1526. toolAnimTrack:Destroy()
  1527. transitionTime = 0
  1528. end
  1529.  
  1530. -- load it to the humanoid; get AnimationTrack
  1531. toolAnimTrack = humanoid:LoadAnimation(anim)
  1532. if priority then
  1533. toolAnimTrack.Priority = priority
  1534. end
  1535.  
  1536. -- play the animation
  1537. toolAnimTrack:Play(transitionTime)
  1538. toolAnimName = animName
  1539. toolAnimInstance = anim
  1540.  
  1541. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  1542. end
  1543. end
  1544.  
  1545. function stopToolAnimations()
  1546. local oldAnim = toolAnimName
  1547.  
  1548. if (currentToolAnimKeyframeHandler ~= nil) then
  1549. currentToolAnimKeyframeHandler:disconnect()
  1550. end
  1551.  
  1552. toolAnimName = ""
  1553. toolAnimInstance = nil
  1554. if (toolAnimTrack ~= nil) then
  1555. toolAnimTrack:Stop()
  1556. toolAnimTrack:Destroy()
  1557. toolAnimTrack = nil
  1558. end
  1559.  
  1560.  
  1561. return oldAnim
  1562. end
  1563.  
  1564. -------------------------------------------------------------------------------------------
  1565. -------------------------------------------------------------------------------------------
  1566.  
  1567.  
  1568. function onRunning(speed)
  1569. if speed > 0.01 then
  1570. playAnimation("walk", 0.1, Humanoid)
  1571. if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  1572. setAnimationSpeed(speed / 14.5)
  1573. end
  1574. pose = "Running"
  1575. else
  1576. if emoteNames[currentAnim] == nil then
  1577. playAnimation("idle", 0.1, Humanoid)
  1578. pose = "Standing"
  1579. end
  1580. end
  1581. end
  1582.  
  1583. function onDied()
  1584. pose = "Dead"
  1585. end
  1586.  
  1587. function onJumping()
  1588. playAnimation("jump", 0.1, Humanoid)
  1589. jumpAnimTime = jumpAnimDuration
  1590. pose = "Jumping"
  1591. end
  1592.  
  1593. function onClimbing(speed)
  1594. playAnimation("climb", 0.1, Humanoid)
  1595. setAnimationSpeed(speed / 12.0)
  1596. pose = "Climbing"
  1597. end
  1598.  
  1599. function onGettingUp()
  1600. pose = "GettingUp"
  1601. end
  1602.  
  1603. function onFreeFall()
  1604. if (jumpAnimTime <= 0) then
  1605. playAnimation("fall", fallTransitionTime, Humanoid)
  1606. end
  1607. pose = "FreeFall"
  1608. end
  1609.  
  1610. function onFallingDown()
  1611. pose = "FallingDown"
  1612. end
  1613.  
  1614. function onSeated()
  1615. pose = "Seated"
  1616. end
  1617.  
  1618. function onPlatformStanding()
  1619. pose = "PlatformStanding"
  1620. end
  1621.  
  1622. function onSwimming(speed)
  1623. if speed > 0 then
  1624. pose = "Running"
  1625. else
  1626. pose = "Standing"
  1627. end
  1628. end
  1629.  
  1630. function getTool()
  1631. for _, kid in ipairs(Figure:GetChildren()) do
  1632. if kid.className == "Tool" then return kid end
  1633. end
  1634. return nil
  1635. end
  1636.  
  1637. function getToolAnim(tool)
  1638. for _, c in ipairs(tool:GetChildren()) do
  1639. if c.Name == "toolanim" and c.className == "StringValue" then
  1640. return c
  1641. end
  1642. end
  1643. return nil
  1644. end
  1645.  
  1646. function animateTool()
  1647.  
  1648. if (toolAnim == "None") then
  1649. playToolAnimation("toolnone", toolTransitionTime, Humanoid, Enum.AnimationPriority.Idle)
  1650. return
  1651. end
  1652.  
  1653. if (toolAnim == "Slash") then
  1654. playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action)
  1655. return
  1656. end
  1657.  
  1658. if (toolAnim == "Lunge") then
  1659. playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action)
  1660. return
  1661. end
  1662. end
  1663.  
  1664. function moveSit()
  1665. RightShoulder.MaxVelocity = 0.15
  1666. LeftShoulder.MaxVelocity = 0.15
  1667. RightShoulder:SetDesiredAngle(3.14 /2)
  1668. LeftShoulder:SetDesiredAngle(-3.14 /2)
  1669. RightHip:SetDesiredAngle(3.14 /2)
  1670. LeftHip:SetDesiredAngle(-3.14 /2)
  1671. end
  1672.  
  1673. local lastTick = 0
  1674.  
  1675. function move(time)
  1676. local amplitude = 1
  1677. local frequency = 1
  1678. local deltaTime = time - lastTick
  1679. lastTick = time
  1680.  
  1681. local climbFudge = 0
  1682. local setAngles = false
  1683.  
  1684. if (jumpAnimTime > 0) then
  1685. jumpAnimTime = jumpAnimTime - deltaTime
  1686. end
  1687.  
  1688. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  1689. playAnimation("fall", fallTransitionTime, Humanoid)
  1690. elseif (pose == "Seated") then
  1691. playAnimation("sit", 0.5, Humanoid)
  1692. return
  1693. elseif (pose == "Running") then
  1694. playAnimation("walk", 0.1, Humanoid)
  1695. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  1696. -- print("Wha " .. pose)
  1697. stopAllAnimations()
  1698. amplitude = 0.1
  1699. frequency = 1
  1700. setAngles = true
  1701. end
  1702.  
  1703. if (setAngles) then
  1704. local desiredAngle = amplitude * math.sin(time * frequency)
  1705.  
  1706. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  1707. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  1708. RightHip:SetDesiredAngle(-desiredAngle)
  1709. LeftHip:SetDesiredAngle(-desiredAngle)
  1710. end
  1711.  
  1712. -- Tool Animation handling
  1713. local tool = getTool()
  1714. if tool and tool:FindFirstChild("Handle") then
  1715.  
  1716. local animStringValueObject = getToolAnim(tool)
  1717.  
  1718. if animStringValueObject then
  1719. toolAnim = animStringValueObject.Value
  1720. -- message recieved, delete StringValue
  1721. animStringValueObject.Parent = nil
  1722. toolAnimTime = time + .3
  1723. end
  1724.  
  1725. if time > toolAnimTime then
  1726. toolAnimTime = 0
  1727. toolAnim = "None"
  1728. end
  1729.  
  1730. animateTool()
  1731. else
  1732. stopToolAnimations()
  1733. toolAnim = "None"
  1734. toolAnimInstance = nil
  1735. toolAnimTime = 0
  1736. end
  1737. end
  1738.  
  1739. -- connect events
  1740. Humanoid.Died:connect(onDied)
  1741. Humanoid.Running:connect(onRunning)
  1742. Humanoid.Jumping:connect(onJumping)
  1743. Humanoid.Climbing:connect(onClimbing)
  1744. Humanoid.GettingUp:connect(onGettingUp)
  1745. Humanoid.FreeFalling:connect(onFreeFall)
  1746. Humanoid.FallingDown:connect(onFallingDown)
  1747. Humanoid.Seated:connect(onSeated)
  1748. Humanoid.PlatformStanding:connect(onPlatformStanding)
  1749. Humanoid.Swimming:connect(onSwimming)
  1750.  
  1751. -- setup emote chat hook
  1752. game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
  1753. local emote = ""
  1754. if msg == "/e dance" then
  1755. emote = dances[math.random(1, #dances)]
  1756. elseif (string.sub(msg, 1, 3) == "/e ") then
  1757. emote = string.sub(msg, 4)
  1758. elseif (string.sub(msg, 1, 7) == "/emote ") then
  1759. emote = string.sub(msg, 8)
  1760. end
  1761.  
  1762. if (pose == "Standing" and emoteNames[emote] ~= nil) then
  1763. playAnimation(emote, 0.1, Humanoid)
  1764. end
  1765.  
  1766. end)
  1767.  
  1768.  
  1769. -- main program
  1770.  
  1771. -- initialize to idle
  1772. playAnimation("idle", 0.1, Humanoid)
  1773. pose = "Standing"
  1774.  
  1775. while Figure.Parent ~= nil do
  1776. local _, time = wait(0.1)
  1777. move(time)
  1778. end
  1779.  
  1780.  
  1781.  
  1782. end))
  1783. StringValue97.Name = "idle"
  1784. StringValue97.Parent = LocalScript96
  1785. Animation98.Name = "Animation1"
  1786. Animation98.Parent = StringValue97
  1787. Animation98.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1788. NumberValue99.Name = "Weight"
  1789. NumberValue99.Parent = Animation98
  1790. NumberValue99.Value = 9
  1791. Animation100.Name = "Animation2"
  1792. Animation100.Parent = StringValue97
  1793. Animation100.AnimationId = "http://www.roblox.com/asset/?id=180435792"
  1794. NumberValue101.Name = "Weight"
  1795. NumberValue101.Parent = Animation100
  1796. NumberValue101.Value = 1
  1797. StringValue102.Name = "walk"
  1798. StringValue102.Parent = LocalScript96
  1799. Animation103.Name = "WalkAnim"
  1800. Animation103.Parent = StringValue102
  1801. Animation103.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  1802. StringValue104.Name = "run"
  1803. StringValue104.Parent = LocalScript96
  1804. Animation105.Name = "RunAnim"
  1805. Animation105.Parent = StringValue104
  1806. Animation105.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  1807. StringValue106.Name = "jump"
  1808. StringValue106.Parent = LocalScript96
  1809. Animation107.Name = "JumpAnim"
  1810. Animation107.Parent = StringValue106
  1811. Animation107.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  1812. StringValue108.Name = "climb"
  1813. StringValue108.Parent = LocalScript96
  1814. Animation109.Name = "ClimbAnim"
  1815. Animation109.Parent = StringValue108
  1816. Animation109.AnimationId = "http://www.roblox.com/asset/?id=180436334"
  1817. StringValue110.Name = "toolnone"
  1818. StringValue110.Parent = LocalScript96
  1819. Animation111.Name = "ToolNoneAnim"
  1820. Animation111.Parent = StringValue110
  1821. Animation111.AnimationId = "http://www.roblox.com/asset/?id=182393478"
  1822. StringValue112.Name = "fall"
  1823. StringValue112.Parent = LocalScript96
  1824. Animation113.Name = "FallAnim"
  1825. Animation113.Parent = StringValue112
  1826. Animation113.AnimationId = "http://www.roblox.com/asset/?id=180436148"
  1827. StringValue114.Name = "sit"
  1828. StringValue114.Parent = LocalScript96
  1829. Animation115.Name = "SitAnim"
  1830. Animation115.Parent = StringValue114
  1831. Animation115.AnimationId = "http://www.roblox.com/asset/?id=178130996"
  1832. BodyColors116.Parent = Model29
  1833. BodyColors116.HeadColor = BrickColor.new("Light orange")
  1834. BodyColors116.LeftArmColor = BrickColor.new("Light orange")
  1835. BodyColors116.LeftLegColor = BrickColor.new("Really black")
  1836. BodyColors116.RightArmColor = BrickColor.new("Light orange")
  1837. BodyColors116.RightLegColor = BrickColor.new("Really black")
  1838. BodyColors116.TorsoColor = BrickColor.new("Light orange")
  1839. ShirtGraphic117.Parent = Model29
  1840. ShirtGraphic117.Graphic = "http://www.roblox.com/asset/?id=1158870851"
  1841. Pants118.Name = "Pants"
  1842. Pants118.Parent = Model29
  1843. Pants118.PantsTemplate = "http://www.roblox.com/asset/?id=1137160924"
  1844. Accessory119.Name = "Ultra-Fabulous Hair"
  1845. Accessory119.Parent = Model29
  1846. Part120.Name = "Handle"
  1847. Part120.Parent = Accessory119
  1848. Part120.Rotation = Vector3.new(0, 74.6100006, 0)
  1849. Part120.CanCollide = false
  1850. Part120.FormFactor = Enum.FormFactor.Symmetric
  1851. Part120.Size = Vector3.new(2, 2, 2)
  1852. Part120.CFrame = CFrame.new(11.7179575, 12.5000095, -7.52256012, 0.265469074, -2.08960715e-09, 0.964119375, 7.87137555e-09, 1, 4.1444221e-16, -0.964119375, 7.58894547e-09, 0.265469044)
  1853. Part120.BottomSurface = Enum.SurfaceType.Smooth
  1854. Part120.TopSurface = Enum.SurfaceType.Smooth
  1855. Part120.Position = Vector3.new(11.7179575, 12.5000095, -7.52256012)
  1856. Part120.Orientation = Vector3.new(0, 74.6100006, 0)
  1857. SpecialMesh121.Parent = Part120
  1858. SpecialMesh121.MeshId = "http://www.roblox.com/asset/?id=16627529"
  1859. SpecialMesh121.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  1860. SpecialMesh121.TextureId = "http://www.roblox.com/asset/?id=16627494"
  1861. SpecialMesh121.MeshType = Enum.MeshType.FileMesh
  1862. SpecialMesh121.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  1863. Attachment122.Name = "HairAttachment"
  1864. Attachment122.Parent = Part120
  1865. Attachment122.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1866. Attachment122.CFrame = CFrame.new(8.65838956e-09, 0.0999999046, -0.000272244215, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  1867. Attachment122.Position = Vector3.new(8.65838956e-09, 0.0999999046, -0.000272244215)
  1868. Attachment122.Axis = Vector3.new(1, -7.87137555e-09, 0)
  1869. Attachment122.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1870. Vector3Value123.Name = "OriginalSize"
  1871. Vector3Value123.Parent = Part120
  1872. Vector3Value123.Value = Vector3.new(2, 2, 2)
  1873. Weld124.Name = "AccessoryWeld"
  1874. Weld124.Parent = Part120
  1875. Weld124.C0 = CFrame.new(8.65838956e-09, 0.0999999046, -0.000272244215, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  1876. Weld124.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1877. Weld124.Part0 = Part120
  1878. Weld124.Part1 = Part30
  1879. Accessory125.Name = "Nerd Glasses"
  1880. Accessory125.Parent = Model29
  1881. Accessory125.AttachmentPos = Vector3.new(0, 0.300000012, 0.25)
  1882. Part126.Name = "Handle"
  1883. Part126.Parent = Accessory125
  1884. Part126.Rotation = Vector3.new(0, 74.6100006, 0)
  1885. Part126.CanCollide = false
  1886. Part126.FormFactor = Enum.FormFactor.Plate
  1887. Part126.Size = Vector3.new(1, 0.400000006, 1)
  1888. Part126.CFrame = CFrame.new(11.4769278, 12.2000093, -7.58892775, 0.265469074, -2.08960715e-09, 0.964119375, 7.87137555e-09, 1, 4.1444221e-16, -0.964119375, 7.58894547e-09, 0.265469044)
  1889. Part126.BottomSurface = Enum.SurfaceType.Smooth
  1890. Part126.TopSurface = Enum.SurfaceType.Smooth
  1891. Part126.Position = Vector3.new(11.4769278, 12.2000093, -7.58892775)
  1892. Part126.Orientation = Vector3.new(0, 74.6100006, 0)
  1893. SpecialMesh127.Parent = Part126
  1894. SpecialMesh127.MeshId = "http://www.roblox.com/asset/?id=11419729"
  1895. SpecialMesh127.TextureId = "http://www.roblox.com/asset/?id=112346956"
  1896. SpecialMesh127.MeshType = Enum.MeshType.FileMesh
  1897. Attachment128.Name = "FaceFrontAttachment"
  1898. Attachment128.Parent = Part126
  1899. Attachment128.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1900. Attachment128.CFrame = CFrame.new(3.93538357e-09, -0.199999809, -0.350272298, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  1901. Attachment128.Position = Vector3.new(3.93538357e-09, -0.199999809, -0.350272298)
  1902. Attachment128.Axis = Vector3.new(1, -7.87137555e-09, 0)
  1903. Attachment128.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1904. Vector3Value129.Name = "OriginalSize"
  1905. Vector3Value129.Parent = Part126
  1906. Vector3Value129.Value = Vector3.new(1, 0.400000006, 1)
  1907. Weld130.Name = "AccessoryWeld"
  1908. Weld130.Parent = Part126
  1909. Weld130.C0 = CFrame.new(3.93538357e-09, -0.199999809, -0.350272298, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  1910. Weld130.C1 = CFrame.new(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1911. Weld130.Part0 = Part126
  1912. Weld130.Part1 = Part30
  1913. Shirt131.Name = "Shirt"
  1914. Shirt131.Parent = Model29
  1915. Shirt131.ShirtTemplate = "http://www.roblox.com/asset/?id=759534964"
  1916. Accessory132.Name = "MoanaHat"
  1917. Accessory132.Parent = Model29
  1918. Accessory132.AttachmentPos = Vector3.new(0, -0.100000001, 0.209999993)
  1919. Part133.Name = "Handle"
  1920. Part133.Parent = Accessory132
  1921. Part133.Rotation = Vector3.new(0, 74.6100006, 0)
  1922. Part133.CanCollide = false
  1923. Part133.FormFactor = Enum.FormFactor.Symmetric
  1924. Part133.Size = Vector3.new(1.24999964, 1.1500001, 1.24000001)
  1925. Part133.CFrame = CFrame.new(11.5154924, 12.6000099, -7.57830858, 0.265469074, -2.08960715e-09, 0.964119375, 7.87137555e-09, 1, 4.1444221e-16, -0.964119375, 7.58894547e-09, 0.265469044)
  1926. Part133.BottomSurface = Enum.SurfaceType.Smooth
  1927. Part133.TopSurface = Enum.SurfaceType.Smooth
  1928. Part133.Position = Vector3.new(11.5154924, 12.6000099, -7.57830858)
  1929. Part133.Orientation = Vector3.new(0, 74.6100006, 0)
  1930. SpecialMesh134.Parent = Part133
  1931. SpecialMesh134.MeshId = "rbxassetid://1047580703"
  1932. SpecialMesh134.Scale = Vector3.new(0.680000007, 0.680000007, 0.680000007)
  1933. SpecialMesh134.TextureId = "rbxassetid://1047581552"
  1934. SpecialMesh134.MeshType = Enum.MeshType.FileMesh
  1935. SpecialMesh134.Scale = Vector3.new(0.680000007, 0.680000007, 0.680000007)
  1936. Attachment135.Name = "HatAttachment"
  1937. Attachment135.Parent = Part133
  1938. Attachment135.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1939. Attachment135.CFrame = CFrame.new(8.65838956e-09, 0, 0.209727749, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  1940. Attachment135.Position = Vector3.new(8.65838956e-09, 0, 0.209727749)
  1941. Attachment135.Axis = Vector3.new(1, -7.87137555e-09, 0)
  1942. Attachment135.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1943. Vector3Value136.Name = "OriginalSize"
  1944. Vector3Value136.Parent = Part133
  1945. Vector3Value136.Value = Vector3.new(1.24999964, 1.1500001, 1.24000001)
  1946. Weld137.Name = "AccessoryWeld"
  1947. Weld137.Parent = Part133
  1948. Weld137.C0 = CFrame.new(8.65838956e-09, 0, 0.209727749, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  1949. Weld137.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1950. Weld137.Part0 = Part133
  1951. Weld137.Part1 = Part30
  1952. Part138.Parent = Model0
  1953. Part138.BrickColor = BrickColor.new("Dark orange")
  1954. Part138.Size = Vector3.new(5.5, 4, 15.5)
  1955. Part138.CFrame = CFrame.new(-47.25, 3.2000289, 4.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1956. Part138.BottomSurface = Enum.SurfaceType.Smooth
  1957. Part138.TopSurface = Enum.SurfaceType.Smooth
  1958. Part138.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1959. Part138.Position = Vector3.new(-47.25, 3.2000289, 4.25)
  1960. Part138.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1961. Decal139.Parent = mas
  1962. Decal139.Texture = "http://www.roblox.com/asset/?id=67630773"
  1963. Decal139.Face = Enum.NormalId.Right
  1964. for i,v in pairs(mas:GetChildren()) do
  1965. v.Parent = workspace
  1966. pcall(function() v:MakeJoints() end)
  1967. end
  1968. mas:Destroy()
  1969. for i,v in pairs(cors) do
  1970. spawn(function()
  1971. pcall(v)
  1972. end)
  1973. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement