Advertisement
Animescapetower

Ssoz

Mar 27th, 2018
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.02 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. SpecialMesh2 = Instance.new("SpecialMesh")
  22. Attachment3 = Instance.new("Attachment")
  23. Attachment4 = Instance.new("Attachment")
  24. Attachment5 = Instance.new("Attachment")
  25. Attachment6 = Instance.new("Attachment")
  26. Decal7 = Instance.new("Decal")
  27. BillboardGui8 = Instance.new("BillboardGui")
  28. TextLabel9 = Instance.new("TextLabel")
  29. BillboardGui10 = Instance.new("BillboardGui")
  30. TextLabel11 = Instance.new("TextLabel")
  31. Part12 = Instance.new("Part")
  32. Motor6D13 = Instance.new("Motor6D")
  33. Part14 = Instance.new("Part")
  34. Attachment15 = Instance.new("Attachment")
  35. Part16 = Instance.new("Part")
  36. Part17 = Instance.new("Part")
  37. Attachment18 = Instance.new("Attachment")
  38. Weld19 = Instance.new("Weld")
  39. Part20 = Instance.new("Part")
  40. Part21 = Instance.new("Part")
  41. Decal22 = Instance.new("Decal")
  42. Motor6D23 = Instance.new("Motor6D")
  43. Motor6D24 = Instance.new("Motor6D")
  44. Motor6D25 = Instance.new("Motor6D")
  45. Motor6D26 = Instance.new("Motor6D")
  46. Motor6D27 = Instance.new("Motor6D")
  47. Attachment28 = Instance.new("Attachment")
  48. Attachment29 = Instance.new("Attachment")
  49. Attachment30 = Instance.new("Attachment")
  50. Attachment31 = Instance.new("Attachment")
  51. Attachment32 = Instance.new("Attachment")
  52. Attachment33 = Instance.new("Attachment")
  53. Attachment34 = Instance.new("Attachment")
  54. Attachment35 = Instance.new("Attachment")
  55. Sound36 = Instance.new("Sound")
  56. Sound37 = Instance.new("Sound")
  57. Sound38 = Instance.new("Sound")
  58. Sound39 = Instance.new("Sound")
  59. Sound40 = Instance.new("Sound")
  60. Sound41 = Instance.new("Sound")
  61. Sound42 = Instance.new("Sound")
  62. Sound43 = Instance.new("Sound")
  63. Sound44 = Instance.new("Sound")
  64. Sound45 = Instance.new("Sound")
  65. Sound46 = Instance.new("Sound")
  66. ParticleEmitter47 = Instance.new("ParticleEmitter")
  67. Script48 = Instance.new("Script")
  68. ParticleEmitter49 = Instance.new("ParticleEmitter")
  69. Script50 = Instance.new("Script")
  70. ParticleEmitter51 = Instance.new("ParticleEmitter")
  71. Script52 = Instance.new("Script")
  72. ParticleEmitter53 = Instance.new("ParticleEmitter")
  73. Script54 = Instance.new("Script")
  74. Part55 = Instance.new("Part")
  75. BillboardGui56 = Instance.new("BillboardGui")
  76. ImageLabel57 = Instance.new("ImageLabel")
  77. Script58 = Instance.new("Script")
  78. Humanoid59 = Instance.new("Humanoid")
  79. Accessory60 = Instance.new("Accessory")
  80. Part61 = Instance.new("Part")
  81. SpecialMesh62 = Instance.new("SpecialMesh")
  82. Attachment63 = Instance.new("Attachment")
  83. Vector3Value64 = Instance.new("Vector3Value")
  84. Weld65 = Instance.new("Weld")
  85. Accessory66 = Instance.new("Accessory")
  86. Part67 = Instance.new("Part")
  87. SpecialMesh68 = Instance.new("SpecialMesh")
  88. Attachment69 = Instance.new("Attachment")
  89. Vector3Value70 = Instance.new("Vector3Value")
  90. Weld71 = Instance.new("Weld")
  91. Accessory72 = Instance.new("Accessory")
  92. Part73 = Instance.new("Part")
  93. SpecialMesh74 = Instance.new("SpecialMesh")
  94. Attachment75 = Instance.new("Attachment")
  95. Weld76 = Instance.new("Weld")
  96. Pants77 = Instance.new("Pants")
  97. Shirt78 = Instance.new("Shirt")
  98. Accessory79 = Instance.new("Accessory")
  99. Part80 = Instance.new("Part")
  100. SpecialMesh81 = Instance.new("SpecialMesh")
  101. Attachment82 = Instance.new("Attachment")
  102. Weld83 = Instance.new("Weld")
  103. ShirtGraphic84 = Instance.new("ShirtGraphic")
  104. Script85 = Instance.new("Script")
  105. StringValue86 = Instance.new("StringValue")
  106. Animation87 = Instance.new("Animation")
  107. StringValue88 = Instance.new("StringValue")
  108. Animation89 = Instance.new("Animation")
  109. StringValue90 = Instance.new("StringValue")
  110. Animation91 = Instance.new("Animation")
  111. NumberValue92 = Instance.new("NumberValue")
  112. Animation93 = Instance.new("Animation")
  113. NumberValue94 = Instance.new("NumberValue")
  114. StringValue95 = Instance.new("StringValue")
  115. Animation96 = Instance.new("Animation")
  116. StringValue97 = Instance.new("StringValue")
  117. Animation98 = Instance.new("Animation")
  118. StringValue99 = Instance.new("StringValue")
  119. Animation100 = Instance.new("Animation")
  120. StringValue101 = Instance.new("StringValue")
  121. Animation102 = Instance.new("Animation")
  122. StringValue103 = Instance.new("StringValue")
  123. Animation104 = Instance.new("Animation")
  124. Script105 = Instance.new("Script")
  125. LocalScript106 = Instance.new("LocalScript")
  126. ObjectValue107 = Instance.new("ObjectValue")
  127. Script108 = Instance.new("Script")
  128. Script109 = Instance.new("Script")
  129. Script110 = Instance.new("Script")
  130. Script111 = Instance.new("Script")
  131. Tool112 = Instance.new("Tool")
  132. Script113 = Instance.new("Script")
  133. Part114 = Instance.new("Part")
  134. SpecialMesh115 = Instance.new("SpecialMesh")
  135. Sound116 = Instance.new("Sound")
  136. Sound117 = Instance.new("Sound")
  137. Sound118 = Instance.new("Sound")
  138. LocalScript119 = Instance.new("LocalScript")
  139. Model0.Name = "Salvo_Starly"
  140. Model0.Parent = mas
  141. Model0.PrimaryPart = Part12
  142. Part1.Name = "Head"
  143. Part1.Parent = Model0
  144. Part1.BrickColor = BrickColor.new("Pastel brown")
  145. Part1.FormFactor = Enum.FormFactor.Symmetric
  146. Part1.Size = Vector3.new(2, 1, 1)
  147. Part1.CFrame = CFrame.new(-34.0500069, 4.50002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  148. Part1.TopSurface = Enum.SurfaceType.Smooth
  149. Part1.Color = Color3.new(1, 0.8, 0.6)
  150. Part1.Position = Vector3.new(-34.0500069, 4.50002766, -63.68993)
  151. Part1.Color = Color3.new(1, 0.8, 0.6)
  152. SpecialMesh2.Parent = Part1
  153. SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
  154. SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
  155. Attachment3.Name = "HatAttachment"
  156. Attachment3.Parent = Part1
  157. Attachment3.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  158. Attachment3.Position = Vector3.new(0, 0.600000024, 0)
  159. Attachment4.Name = "HairAttachment"
  160. Attachment4.Parent = Part1
  161. Attachment4.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  162. Attachment4.Position = Vector3.new(0, 0.600000024, 0)
  163. Attachment5.Name = "FaceFrontAttachment"
  164. Attachment5.Parent = Part1
  165. Attachment5.CFrame = CFrame.new(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  166. Attachment5.Position = Vector3.new(0, 0, -0.600000024)
  167. Attachment6.Name = "FaceCenterAttachment"
  168. Attachment6.Parent = Part1
  169. Decal7.Name = "face"
  170. Decal7.Parent = Part1
  171. Decal7.Texture = "http://www.roblox.com/asset/?id=31117192"
  172. BillboardGui8.Name = "LevelGUI"
  173. BillboardGui8.Parent = Part1
  174. BillboardGui8.Size = UDim2.new(10, 0, 2, 0)
  175. BillboardGui8.Active = true
  176. BillboardGui8.AlwaysOnTop = true
  177. BillboardGui8.StudsOffset = Vector3.new(0, 1.5, 0)
  178. TextLabel9.Name = "Level"
  179. TextLabel9.Parent = BillboardGui8
  180. TextLabel9.Transparency = 1
  181. TextLabel9.Size = UDim2.new(1, 0, 0.699999988, 0)
  182. TextLabel9.Text = "Level 800"
  183. TextLabel9.Position = UDim2.new(-0.00999999978, 0, 0.0700000003, 0)
  184. TextLabel9.BackgroundColor3 = Color3.new(1, 0, 0)
  185. TextLabel9.BackgroundTransparency = 1
  186. TextLabel9.BorderColor3 = Color3.new(0.0627451, 0.92549, 1)
  187. TextLabel9.Font = Enum.Font.SourceSansBold
  188. TextLabel9.FontSize = Enum.FontSize.Size11
  189. TextLabel9.TextColor3 = Color3.new(0, 1, 1)
  190. TextLabel9.TextScaled = true
  191. TextLabel9.TextStrokeColor3 = Color3.new(1, 0, 0)
  192. TextLabel9.TextStrokeTransparency = 0
  193. TextLabel9.TextWrapped = true
  194. BillboardGui10.Name = "NameGUI"
  195. BillboardGui10.Parent = Part1
  196. BillboardGui10.Size = UDim2.new(10, 0, 2, 0)
  197. BillboardGui10.Active = true
  198. BillboardGui10.AlwaysOnTop = true
  199. BillboardGui10.StudsOffset = Vector3.new(0, 1.5, 0)
  200. TextLabel11.Name = "Name"
  201. TextLabel11.Parent = BillboardGui10
  202. TextLabel11.Transparency = 1
  203. TextLabel11.Size = UDim2.new(1, 0, 0.699999988, 0)
  204. TextLabel11.Text = "Salvo_Starly(What mode)"
  205. TextLabel11.Position = UDim2.new(0, 0, 0, -12)
  206. TextLabel11.BackgroundColor3 = Color3.new(1, 0, 0)
  207. TextLabel11.BackgroundTransparency = 1
  208. TextLabel11.BorderColor3 = Color3.new(0.0627451, 0.92549, 1)
  209. TextLabel11.Font = Enum.Font.SourceSansBold
  210. TextLabel11.FontSize = Enum.FontSize.Size48
  211. TextLabel11.TextColor3 = Color3.new(0, 0, 0)
  212. TextLabel11.TextScaled = true
  213. TextLabel11.TextStrokeColor3 = Color3.new(1, 0, 0)
  214. TextLabel11.TextStrokeTransparency = 0
  215. TextLabel11.TextWrapped = true
  216. Part12.Name = "HumanoidRootPart"
  217. Part12.Parent = Model0
  218. Part12.Transparency = 1
  219. Part12.CanCollide = false
  220. Part12.FormFactor = Enum.FormFactor.Symmetric
  221. Part12.Size = Vector3.new(2, 2, 1)
  222. Part12.CFrame = CFrame.new(-34.0500069, 3.00002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  223. Part12.BottomSurface = Enum.SurfaceType.Smooth
  224. Part12.TopSurface = Enum.SurfaceType.Smooth
  225. Part12.Position = Vector3.new(-34.0500069, 3.00002766, -63.68993)
  226. Motor6D13.Name = "RootJoint"
  227. Motor6D13.Parent = Part12
  228. Motor6D13.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  229. Motor6D13.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  230. Motor6D13.Part0 = Part12
  231. Motor6D13.Part1 = Part21
  232. Motor6D13.MaxVelocity = 0.10000000149012
  233. Part14.Name = "Left Arm"
  234. Part14.Parent = Model0
  235. Part14.BrickColor = BrickColor.new("Pastel brown")
  236. Part14.CanCollide = false
  237. Part14.FormFactor = Enum.FormFactor.Symmetric
  238. Part14.Size = Vector3.new(1, 2, 1)
  239. Part14.CFrame = CFrame.new(-35.5500069, 3.00002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  240. Part14.Color = Color3.new(1, 0.8, 0.6)
  241. Part14.Position = Vector3.new(-35.5500069, 3.00002766, -63.68993)
  242. Part14.Color = Color3.new(1, 0.8, 0.6)
  243. Attachment15.Name = "LeftShoulderAttachment"
  244. Attachment15.Parent = Part14
  245. Attachment15.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  246. Attachment15.Position = Vector3.new(0, 1, 0)
  247. Part16.Name = "Left Leg"
  248. Part16.Parent = Model0
  249. Part16.BrickColor = BrickColor.new("Really black")
  250. Part16.CanCollide = false
  251. Part16.FormFactor = Enum.FormFactor.Symmetric
  252. Part16.Size = Vector3.new(1, 2, 1)
  253. Part16.CFrame = CFrame.new(-34.5500069, 1.00002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  254. Part16.BottomSurface = Enum.SurfaceType.Smooth
  255. Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  256. Part16.Position = Vector3.new(-34.5500069, 1.00002766, -63.68993)
  257. Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  258. Part17.Name = "Right Arm"
  259. Part17.Parent = Model0
  260. Part17.BrickColor = BrickColor.new("Pastel brown")
  261. Part17.CanCollide = false
  262. Part17.FormFactor = Enum.FormFactor.Symmetric
  263. Part17.Size = Vector3.new(1, 2, 1)
  264. Part17.CFrame = CFrame.new(-32.5500069, 3.00002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  265. Part17.Color = Color3.new(1, 0.8, 0.6)
  266. Part17.Position = Vector3.new(-32.5500069, 3.00002766, -63.68993)
  267. Part17.Color = Color3.new(1, 0.8, 0.6)
  268. Attachment18.Name = "RightShoulderAttachment"
  269. Attachment18.Parent = Part17
  270. Attachment18.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  271. Attachment18.Position = Vector3.new(0, 1, 0)
  272. Weld19.Name = "RightGrip"
  273. Weld19.Parent = Part17
  274. Weld19.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, -0)
  275. Weld19.C1 = CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  276. Weld19.Part0 = Part17
  277. Weld19.Part1 = Part114
  278. Part20.Name = "Right Leg"
  279. Part20.Parent = Model0
  280. Part20.BrickColor = BrickColor.new("Really black")
  281. Part20.CanCollide = false
  282. Part20.FormFactor = Enum.FormFactor.Symmetric
  283. Part20.Size = Vector3.new(1, 2, 1)
  284. Part20.CFrame = CFrame.new(-33.5500069, 1.00002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  285. Part20.BottomSurface = Enum.SurfaceType.Smooth
  286. Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  287. Part20.Position = Vector3.new(-33.5500069, 1.00002766, -63.68993)
  288. Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  289. Part21.Name = "Torso"
  290. Part21.Parent = Model0
  291. Part21.BrickColor = BrickColor.new("Really red")
  292. Part21.FormFactor = Enum.FormFactor.Symmetric
  293. Part21.Size = Vector3.new(2, 2, 1)
  294. Part21.CFrame = CFrame.new(-34.0500069, 3.00002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  295. Part21.LeftSurface = Enum.SurfaceType.Weld
  296. Part21.RightSurface = Enum.SurfaceType.Weld
  297. Part21.Color = Color3.new(1, 0, 0)
  298. Part21.Position = Vector3.new(-34.0500069, 3.00002766, -63.68993)
  299. Part21.Color = Color3.new(1, 0, 0)
  300. Decal22.Name = "roblox"
  301. Decal22.Parent = Part21
  302. Motor6D23.Name = "Right Shoulder"
  303. Motor6D23.Parent = Part21
  304. Motor6D23.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  305. Motor6D23.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  306. Motor6D23.Part0 = Part21
  307. Motor6D23.Part1 = Part17
  308. Motor6D23.MaxVelocity = 0.10000000149012
  309. Motor6D24.Name = "Right Hip"
  310. Motor6D24.Parent = Part21
  311. Motor6D24.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  312. Motor6D24.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  313. Motor6D24.Part0 = Part21
  314. Motor6D24.Part1 = Part20
  315. Motor6D24.MaxVelocity = 0.10000000149012
  316. Motor6D25.Name = "Neck"
  317. Motor6D25.Parent = Part21
  318. Motor6D25.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  319. Motor6D25.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  320. Motor6D25.Part0 = Part21
  321. Motor6D25.Part1 = Part1
  322. Motor6D25.MaxVelocity = 0.10000000149012
  323. Motor6D26.Name = "Left Shoulder"
  324. Motor6D26.Parent = Part21
  325. Motor6D26.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  326. Motor6D26.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  327. Motor6D26.Part0 = Part21
  328. Motor6D26.Part1 = Part14
  329. Motor6D26.MaxVelocity = 0.10000000149012
  330. Motor6D27.Name = "Left Hip"
  331. Motor6D27.Parent = Part21
  332. Motor6D27.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  333. Motor6D27.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  334. Motor6D27.Part0 = Part21
  335. Motor6D27.Part1 = Part16
  336. Motor6D27.MaxVelocity = 0.10000000149012
  337. Attachment28.Name = "WaistFrontAttachment"
  338. Attachment28.Parent = Part21
  339. Attachment28.CFrame = CFrame.new(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  340. Attachment28.Position = Vector3.new(0, -1, -0.5)
  341. Attachment29.Name = "WaistCenterAttachment"
  342. Attachment29.Parent = Part21
  343. Attachment29.CFrame = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  344. Attachment29.Position = Vector3.new(0, -1, 0)
  345. Attachment30.Name = "WaistBackAttachment"
  346. Attachment30.Parent = Part21
  347. Attachment30.CFrame = CFrame.new(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  348. Attachment30.Position = Vector3.new(0, -1, 0.5)
  349. Attachment31.Name = "RightCollarAttachment"
  350. Attachment31.Parent = Part21
  351. Attachment31.CFrame = CFrame.new(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  352. Attachment31.Position = Vector3.new(1, 1, 0)
  353. Attachment32.Name = "NeckAttachment"
  354. Attachment32.Parent = Part21
  355. Attachment32.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  356. Attachment32.Position = Vector3.new(0, 1, 0)
  357. Attachment33.Name = "LeftCollarAttachment"
  358. Attachment33.Parent = Part21
  359. Attachment33.CFrame = CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  360. Attachment33.Position = Vector3.new(-1, 1, 0)
  361. Attachment34.Name = "BodyFrontAttachment"
  362. Attachment34.Parent = Part21
  363. Attachment34.CFrame = CFrame.new(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  364. Attachment34.Position = Vector3.new(0, 0, -0.5)
  365. Attachment35.Name = "BodyBackAttachment"
  366. Attachment35.Parent = Part21
  367. Attachment35.CFrame = CFrame.new(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  368. Attachment35.Position = Vector3.new(0, 0, 0.5)
  369. Sound36.Name = "DMG"
  370. Sound36.Parent = Part21
  371. Sound36.Pitch = 1.25
  372. Sound36.SoundId = "rbxassetid://138087186"
  373. Sound36.Volume = 1
  374. Sound37.Name = "DMG2"
  375. Sound37.Parent = Part21
  376. Sound37.SoundId = "rbxassetid://131237241"
  377. Sound37.Volume = 1
  378. Sound38.Name = "FinalFlash"
  379. Sound38.Parent = Part21
  380. Sound38.Pitch = 1.5
  381. Sound38.SoundId = "rbxassetid://161251144"
  382. Sound38.Volume = 1
  383. Sound39.Name = "Miss"
  384. Sound39.Parent = Part21
  385. Sound39.SoundId = "rbxassetid://174413237"
  386. Sound40.Name = "SaiyanEnergy"
  387. Sound40.Parent = Part21
  388. Sound40.Pitch = 6
  389. Sound40.SoundId = "rbxassetid://98333808"
  390. Sound40.Volume = 1
  391. Sound41.Name = "SaiyanEnergy2"
  392. Sound41.Parent = Part21
  393. Sound41.SoundId = "rbxassetid://491515754"
  394. Sound41.Volume = 1
  395. Sound41.Looped = true
  396. Sound42.Name = "Teleport"
  397. Sound42.Parent = Part21
  398. Sound42.Pitch = 2
  399. Sound42.SoundId = "rbxassetid://216782105"
  400. Sound42.Volume = 1
  401. Sound43.Name = "Voice1"
  402. Sound43.Parent = Part21
  403. Sound43.Pitch = 1.2000000476837
  404. Sound43.SoundId = "rbxassetid://159490394"
  405. Sound43.Volume = 1
  406. Sound44.Name = "Voice2"
  407. Sound44.Parent = Part21
  408. Sound44.Pitch = 0.30000001192093
  409. Sound44.SoundId = "rbxassetid://132236830"
  410. Sound44.Volume = 1
  411. Sound45.Name = "Voice3"
  412. Sound45.Parent = Part21
  413. Sound45.Pitch = 1.2000000476837
  414. Sound45.SoundId = "rbxassetid://190995007"
  415. Sound45.Volume = 1
  416. Sound46.Name = "Voice4"
  417. Sound46.Parent = Part21
  418. Sound46.Pitch = 6
  419. Sound46.SoundId = "rbxassetid://216782105"
  420. Sound46.Volume = 1
  421. ParticleEmitter47.Name = "Aura1"
  422. ParticleEmitter47.Parent = Part21
  423. ParticleEmitter47.Transparency = NumberSequence.new(1,1)
  424. ParticleEmitter47.Size = NumberSequence.new(10,7.3749995231628,2.1875,9.875,0,10)
  425. ParticleEmitter47.Color = ColorSequence.new(Color3.new(0.117647, 0.117647, 0.117647),Color3.new(0.333333, 1, 0),Color3.new(0.243137, 0.729412, 0),Color3.new(0.117647, 0.117647, 0.117647))
  426. ParticleEmitter47.LightEmission = 1.1799999475479
  427. ParticleEmitter47.Texture = "rbxassetid://260611998"
  428. ParticleEmitter47.ZOffset = 1
  429. ParticleEmitter47.Lifetime = NumberRange.new(1, 1)
  430. ParticleEmitter47.Rate = 120
  431. ParticleEmitter47.Speed = NumberRange.new(15, 15)
  432. ParticleEmitter47.Color = ColorSequence.new(Color3.new(0.117647, 0.117647, 0.117647),Color3.new(0.333333, 1, 0),Color3.new(0.243137, 0.729412, 0),Color3.new(0.117647, 0.117647, 0.117647))
  433. Script48.Parent = ParticleEmitter47
  434. table.insert(cors,sandbox(Script48,function()
  435. while true do --Loop
  436. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --Insert decal's first texture
  437. wait(0.04)
  438. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --second texture
  439. wait(0.04) --wait 1 second, you can change this and make it different for every one
  440. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
  441. wait(0.04)
  442. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
  443. wait(0.04)
  444. end
  445. end))
  446. ParticleEmitter49.Name = "Aura2"
  447. ParticleEmitter49.Parent = Part21
  448. ParticleEmitter49.Transparency = NumberSequence.new(1,1)
  449. ParticleEmitter49.Size = NumberSequence.new(0.20000000298023,9.6875,3.6874997615814,7.5,3,0.87499976158142,0.56249976158142,0.20000000298023)
  450. ParticleEmitter49.Color = ColorSequence.new(Color3.new(0.333333, 0.666667, 1),Color3.new(1, 1, 0),Color3.new(0.403922, 0.478431, 0.223529),Color3.new(0.333333, 0.666667, 1))
  451. ParticleEmitter49.LightEmission = 0.55000001192093
  452. ParticleEmitter49.Lifetime = NumberRange.new(1, 1)
  453. ParticleEmitter49.Rate = 50
  454. ParticleEmitter49.Speed = NumberRange.new(2, 2)
  455. ParticleEmitter49.VelocitySpread = 50
  456. ParticleEmitter49.Color = ColorSequence.new(Color3.new(0.333333, 0.666667, 1),Color3.new(1, 1, 0),Color3.new(0.403922, 0.478431, 0.223529),Color3.new(0.333333, 0.666667, 1))
  457. Script50.Parent = ParticleEmitter49
  458. table.insert(cors,sandbox(Script50,function()
  459. while true do --Loop
  460. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965396" --Insert decal's first texture
  461. wait(0.04)
  462. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965513" --second texture
  463. wait(0.04) --wait 1 second, you can change this and make it different for every one
  464. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965632"
  465. wait(0.04)
  466. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965664"
  467. wait(0.04)
  468. end
  469. end))
  470. ParticleEmitter51.Name = "BlackAura"
  471. ParticleEmitter51.Parent = Part21
  472. ParticleEmitter51.Transparency = NumberSequence.new(1,1)
  473. ParticleEmitter51.Size = NumberSequence.new(7,7)
  474. ParticleEmitter51.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.333333, 1, 1),Color3.new(1, 1, 0),Color3.new(1, 0, 1),Color3.new(0.333333, 0, 1),Color3.new(0, 0, 1),Color3.new(0.333333, 0, 0.498039),Color3.new(1, 0, 0),Color3.new(0.333333, 1, 0),Color3.new(1, 1, 1),Color3.new(1, 0.666667, 0))
  475. ParticleEmitter51.LightEmission = 1
  476. ParticleEmitter51.Texture = "rbxassetid://358965396"
  477. ParticleEmitter51.Lifetime = NumberRange.new(1, 1)
  478. ParticleEmitter51.Speed = NumberRange.new(9, 9)
  479. ParticleEmitter51.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.333333, 1, 1),Color3.new(1, 1, 0),Color3.new(1, 0, 1),Color3.new(0.333333, 0, 1),Color3.new(0, 0, 1),Color3.new(0.333333, 0, 0.498039),Color3.new(1, 0, 0),Color3.new(0.333333, 1, 0),Color3.new(1, 1, 1),Color3.new(1, 0.666667, 0))
  480. Script52.Parent = ParticleEmitter51
  481. table.insert(cors,sandbox(Script52,function()
  482. while true do --Loop
  483. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965396" --Insert decal's first texture
  484. wait(0.04)
  485. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965513" --second texture
  486. wait(0.04) --wait 1 second, you can change this and make it different for every one
  487. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965632"
  488. wait(0.04)
  489. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965664"
  490. wait(0.04)
  491. end
  492. end))
  493. ParticleEmitter53.Name = "BlackAura2"
  494. ParticleEmitter53.Parent = Part21
  495. ParticleEmitter53.Transparency = NumberSequence.new(1,1)
  496. ParticleEmitter53.Size = NumberSequence.new(10,10)
  497. ParticleEmitter53.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0),Color3.new(1, 1, 0),Color3.new(1, 1, 0.498039),Color3.new(0.666667, 0, 0))
  498. ParticleEmitter53.LightEmission = 1
  499. ParticleEmitter53.Texture = "rbxassetid://260611998"
  500. ParticleEmitter53.ZOffset = 1
  501. ParticleEmitter53.Lifetime = NumberRange.new(1, 1)
  502. ParticleEmitter53.Speed = NumberRange.new(10, 10)
  503. ParticleEmitter53.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0),Color3.new(1, 1, 0),Color3.new(1, 1, 0.498039),Color3.new(0.666667, 0, 0))
  504. Script54.Parent = ParticleEmitter53
  505. table.insert(cors,sandbox(Script54,function()
  506. while true do --Loop
  507. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --Insert decal's first texture
  508. wait(0.04)
  509. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --second texture
  510. wait(0.04) --wait 1 second, you can change this and make it different for every one
  511. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
  512. wait(0.04)
  513. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
  514. wait(0.04)
  515. end
  516. end))
  517. Part55.Name = "TeleportEffect"
  518. Part55.Parent = Part21
  519. Part55.Material = Enum.Material.SmoothPlastic
  520. Part55.BrickColor = BrickColor.new("Institutional white")
  521. Part55.Transparency = 1
  522. Part55.Rotation = Vector3.new(0, -90, 0)
  523. Part55.Anchored = true
  524. Part55.CanCollide = false
  525. Part55.FormFactor = Enum.FormFactor.Custom
  526. Part55.Size = Vector3.new(2, 2, 1)
  527. Part55.CFrame = CFrame.new(-39.1299629, 6.19000292, -202.647049, 4.64180347e-22, 7.54698154e-22, -1, -5.23691863e-22, 1, 7.54698154e-22, 1, 5.23691863e-22, 4.64180347e-22)
  528. Part55.BottomSurface = Enum.SurfaceType.Smooth
  529. Part55.TopSurface = Enum.SurfaceType.Smooth
  530. Part55.Color = Color3.new(0.972549, 0.972549, 0.972549)
  531. Part55.Position = Vector3.new(-39.1299629, 6.19000292, -202.647049)
  532. Part55.Orientation = Vector3.new(0, -90, 0)
  533. Part55.Color = Color3.new(0.972549, 0.972549, 0.972549)
  534. BillboardGui56.Name = "Gui"
  535. BillboardGui56.Parent = Part55
  536. BillboardGui56.Size = UDim2.new(5, 0, 5, 0)
  537. BillboardGui56.Active = true
  538. ImageLabel57.Name = "Image"
  539. ImageLabel57.Parent = BillboardGui56
  540. ImageLabel57.Transparency = 1
  541. ImageLabel57.Size = UDim2.new(2.5, 0, 2.5, 0)
  542. ImageLabel57.Position = UDim2.new(0, -40, 0, -40)
  543. ImageLabel57.Active = true
  544. ImageLabel57.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
  545. ImageLabel57.BackgroundTransparency = 1
  546. ImageLabel57.Image = "rbxassetid://507458850"
  547. Script58.Parent = Part55
  548. table.insert(cors,sandbox(Script58,function()
  549. e = game:GetService("ReplicatedStorage")
  550. script.Parent.Parent = e
  551. script:Destroy()
  552. end))
  553. Humanoid59.Parent = Model0
  554. Humanoid59.RightLeg = Part20
  555. Humanoid59.LeftLeg = Part16
  556. Humanoid59.Torso = Part12
  557. Accessory60.Name = "FoxEarsw"
  558. Accessory60.Parent = Model0
  559. Accessory60.AttachmentPos = Vector3.new(0, 0.340000004, 0.25)
  560. Part61.Name = "Handle"
  561. Part61.Parent = Accessory60
  562. Part61.CanCollide = false
  563. Part61.FormFactor = Enum.FormFactor.Custom
  564. Part61.Size = Vector3.new(1.60002756, 0.800000012, 1.59999776)
  565. Part61.CFrame = CFrame.new(-34.0500069, 5.10002756, -63.68993, 1, -7.87137555e-09, -3.02998127e-15, 7.87137555e-09, 1, 4.14442554e-16, 3.02998127e-15, -4.1444258e-16, 1)
  566. Part61.BottomSurface = Enum.SurfaceType.Smooth
  567. Part61.TopSurface = Enum.SurfaceType.Smooth
  568. Part61.Position = Vector3.new(-34.0500069, 5.10002756, -63.68993)
  569. SpecialMesh62.Parent = Part61
  570. SpecialMesh62.MeshId = "rbxassetid://787921134"
  571. SpecialMesh62.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  572. SpecialMesh62.TextureId = "rbxassetid://787921603"
  573. SpecialMesh62.MeshType = Enum.MeshType.FileMesh
  574. SpecialMesh62.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  575. Attachment63.Name = "HatAttachment"
  576. Attachment63.Parent = Part61
  577. Attachment63.Rotation = Vector3.new(2.37458114e-14, 1.73605135e-13, -4.50996595e-07)
  578. Attachment63.CFrame = CFrame.new(0, 0, 0, 1, 7.87137555e-09, 3.02998127e-15, -7.87137555e-09, 1, -4.1444258e-16, -3.02998127e-15, 4.14442554e-16, 1)
  579. Attachment63.Axis = Vector3.new(1, -7.87137555e-09, -3.02998127e-15)
  580. Attachment63.Orientation = Vector3.new(2.37458114e-14, 1.73605135e-13, -4.50996595e-07)
  581. Vector3Value64.Name = "OriginalSize"
  582. Vector3Value64.Parent = Part61
  583. Vector3Value64.Value = Vector3.new(1.60002756, 0.800000012, 1.59999776)
  584. Weld65.Name = "AccessoryWeld"
  585. Weld65.Parent = Part61
  586. Weld65.C0 = CFrame.new(0, 0, 0, 1, 7.87137555e-09, 3.02998127e-15, -7.87137555e-09, 1, -4.1444258e-16, -3.02998127e-15, 4.14442554e-16, 1)
  587. Weld65.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  588. Weld65.Part0 = Part61
  589. Weld65.Part1 = Part1
  590. Accessory66.Name = "MessyHairBrown"
  591. Accessory66.Parent = Model0
  592. Accessory66.AttachmentPos = Vector3.new(0.100000001, 0.400000006, -0.200000003)
  593. Part67.Name = "Handle"
  594. Part67.Parent = Accessory66
  595. Part67.CanCollide = false
  596. Part67.FormFactor = Enum.FormFactor.Custom
  597. Part67.Size = Vector3.new(1.99999928, 1.79999995, 2.00000024)
  598. Part67.CFrame = CFrame.new(-34.1500053, 4.60002756, -63.4896584, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
  599. Part67.BottomSurface = Enum.SurfaceType.Smooth
  600. Part67.TopSurface = Enum.SurfaceType.Smooth
  601. Part67.Position = Vector3.new(-34.1500053, 4.60002756, -63.4896584)
  602. SpecialMesh68.Parent = Part67
  603. SpecialMesh68.MeshId = "http://www.roblox.com/asset/?id=76056263"
  604. SpecialMesh68.TextureId = "http://www.roblox.com/asset/?id=323471838 "
  605. SpecialMesh68.MeshType = Enum.MeshType.FileMesh
  606. Attachment69.Name = "HairAttachment"
  607. Attachment69.Parent = Part67
  608. Attachment69.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  609. Attachment69.CFrame = CFrame.new(0.100000009, 0.5, -0.200272247, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  610. Attachment69.Position = Vector3.new(0.100000009, 0.5, -0.200272247)
  611. Attachment69.Axis = Vector3.new(1, -7.87137555e-09, 0)
  612. Attachment69.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  613. Vector3Value70.Name = "OriginalSize"
  614. Vector3Value70.Parent = Part67
  615. Vector3Value70.Value = Vector3.new(1.99999928, 1.79999995, 2.00000024)
  616. Weld71.Name = "AccessoryWeld"
  617. Weld71.Parent = Part67
  618. Weld71.C0 = CFrame.new(0.100000009, 0.5, -0.200272247, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  619. Weld71.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  620. Weld71.Part0 = Part67
  621. Weld71.Part1 = Part1
  622. Accessory72.Name = "WolfTail"
  623. Accessory72.Parent = Model0
  624. Accessory72.AttachmentPos = Vector3.new(0, 0.340000004, 0.25)
  625. Part73.Name = "Handle"
  626. Part73.Parent = Accessory72
  627. Part73.CanCollide = false
  628. Part73.FormFactor = Enum.FormFactor.Custom
  629. Part73.Size = Vector3.new(1.60002756, 0.800000012, 1.59999776)
  630. Part73.CFrame = CFrame.new(-34.0500069, 1.75002766, -62.2899284, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  631. Part73.BottomSurface = Enum.SurfaceType.Smooth
  632. Part73.TopSurface = Enum.SurfaceType.Smooth
  633. Part73.Position = Vector3.new(-34.0500069, 1.75002766, -62.2899284)
  634. SpecialMesh74.Parent = Part73
  635. SpecialMesh74.MeshId = "rbxassetid://791316026"
  636. SpecialMesh74.TextureId = "rbxassetid://791316654"
  637. SpecialMesh74.MeshType = Enum.MeshType.FileMesh
  638. Attachment75.Name = "WaistBackAttachment"
  639. Attachment75.Parent = Part73
  640. Attachment75.CFrame = CFrame.new(0, 0.25, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  641. Attachment75.Position = Vector3.new(0, 0.25, -0.899999976)
  642. Weld76.Name = "AccessoryWeld"
  643. Weld76.Parent = Part73
  644. Weld76.C0 = CFrame.new(0, 0.25, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  645. Weld76.C1 = CFrame.new(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  646. Weld76.Part0 = Part73
  647. Weld76.Part1 = Part21
  648. Pants77.Name = "Pants"
  649. Pants77.Parent = Model0
  650. Pants77.PantsTemplate = "http://www.roblox.com/asset/?id=230493472"
  651. Shirt78.Name = "Shirt"
  652. Shirt78.Parent = Model0
  653. Shirt78.ShirtTemplate = "http://www.roblox.com/asset/?id=140377805"
  654. Accessory79.Name = "LargeTasseledScarf"
  655. Accessory79.Parent = Model0
  656. Accessory79.AttachmentPos = Vector3.new(-0.023, 1.5, 0.00999999978)
  657. Part80.Name = "Handle"
  658. Part80.Parent = Accessory79
  659. Part80.CanCollide = false
  660. Part80.FormFactor = Enum.FormFactor.Custom
  661. Part80.Size = Vector3.new(1.59999967, 2.27000189, 1.79999995)
  662. Part80.CFrame = CFrame.new(-34.0270081, 3.50002789, -63.6996574, 1, 6.83440315e-31, 0, -6.83440315e-31, 1, 0, 0, 0, 1)
  663. Part80.BottomSurface = Enum.SurfaceType.Smooth
  664. Part80.TopSurface = Enum.SurfaceType.Smooth
  665. Part80.Position = Vector3.new(-34.0270081, 3.50002789, -63.6996574)
  666. SpecialMesh81.Parent = Part80
  667. SpecialMesh81.MeshId = "http://www.roblox.com/asset/?id=99856331 "
  668. SpecialMesh81.TextureId = "http://www.roblox.com/asset/?id=99856307 "
  669. SpecialMesh81.MeshType = Enum.MeshType.FileMesh
  670. Attachment82.Name = "NeckAttachment"
  671. Attachment82.Parent = Part80
  672. Attachment82.Rotation = Vector3.new(0, 0, 3.91582454e-29)
  673. Attachment82.CFrame = CFrame.new(-0.0229999404, 0.499999762, 0.00972763635, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
  674. Attachment82.Position = Vector3.new(-0.0229999404, 0.499999762, 0.00972763635)
  675. Attachment82.Axis = Vector3.new(1, 6.83440315e-31, 0)
  676. Attachment82.Orientation = Vector3.new(0, 0, 3.91582454e-29)
  677. Weld83.Name = "AccessoryWeld"
  678. Weld83.Parent = Part80
  679. Weld83.C0 = CFrame.new(-0.0229999404, 0.499999762, 0.00972763635, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
  680. Weld83.C1 = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  681. Weld83.Part0 = Part80
  682. Weld83.Part1 = Part21
  683. ShirtGraphic84.Parent = Model0
  684. ShirtGraphic84.Graphic = "http://www.roblox.com/asset/?id=735465029"
  685. Script85.Name = "Animate"
  686. Script85.Parent = Model0
  687. table.insert(cors,sandbox(Script85,function()
  688. function waitForChild(parent, childName)
  689. local child = parent:findFirstChild(childName)
  690. if child then return child end
  691. while true do
  692. child = parent.ChildAdded:wait()
  693. if child.Name==childName then return child end
  694. end
  695. end
  696.  
  697. local Figure = script.Parent
  698. local Torso = waitForChild(Figure, "Torso")
  699. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  700. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  701. local RightHip = waitForChild(Torso, "Right Hip")
  702. local LeftHip = waitForChild(Torso, "Left Hip")
  703. local Neck = waitForChild(Torso, "Neck")
  704. local Humanoid = waitForChild(Figure, "Humanoid")
  705. local pose = "Standing"
  706.  
  707. local currentAnim = ""
  708. local currentAnimTrack = nil
  709. local currentAnimKeyframeHandler = nil
  710. local oldAnimTrack = nil
  711. local animTable = {}
  712. local animNames = {
  713. idle = {
  714. { id = "http://www.roblox.com/asset/?id=529667700", weight = 9 },
  715. { id = "http://www.roblox.com/asset/?id=529667700", weight = 1 }
  716. },
  717. walk = {
  718. { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
  719. },
  720. run = {
  721. { id = "run.xml", weight = 10 }
  722. },
  723. jump = {
  724. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  725. },
  726. fall = {
  727. { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  728. },
  729. climb = {
  730. { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  731. },
  732. sit = {
  733. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  734. },
  735. toolnone = {
  736. { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  737. },
  738. toolslash = {
  739. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  740. -- { id = "slash.xml", weight = 10 }
  741. },
  742. toollunge = {
  743. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  744. },
  745. wave = {
  746. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  747. },
  748. point = {
  749. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  750. },
  751. dance = {
  752. { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  753. { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  754. { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  755. },
  756. dance2 = {
  757. { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  758. { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  759. { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  760. },
  761. dance3 = {
  762. { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  763. { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  764. { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  765. },
  766. laugh = {
  767. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  768. },
  769. cheer = {
  770. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  771. },
  772. }
  773.  
  774. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  775. local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  776.  
  777. math.randomseed(tick())
  778.  
  779. function configureAnimationSet(name, fileList)
  780. if (animTable[name] ~= nil) then
  781. for _, connection in pairs(animTable[name].connections) do
  782. connection:disconnect()
  783. end
  784. end
  785. animTable[name] = {}
  786. animTable[name].count = 0
  787. animTable[name].totalWeight = 0
  788. animTable[name].connections = {}
  789.  
  790. -- check for config values
  791. local config = script:FindFirstChild(name)
  792. if (config ~= nil) then
  793. -- print("Loading anims " .. name)
  794. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  795. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  796. local idx = 1
  797. for _, childPart in pairs(config:GetChildren()) do
  798. if (childPart:IsA("Animation")) then
  799. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  800. animTable[name][idx] = {}
  801. animTable[name][idx].anim = childPart
  802. local weightObject = childPart:FindFirstChild("Weight")
  803. if (weightObject == nil) then
  804. animTable[name][idx].weight = 1
  805. else
  806. animTable[name][idx].weight = weightObject.Value
  807. end
  808. animTable[name].count = animTable[name].count + 1
  809. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  810. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  811. idx = idx + 1
  812. end
  813. end
  814. end
  815.  
  816. -- fallback to defaults
  817. if (animTable[name].count <= 0) then
  818. for idx, anim in pairs(fileList) do
  819. animTable[name][idx] = {}
  820. animTable[name][idx].anim = Instance.new("Animation")
  821. animTable[name][idx].anim.Name = name
  822. animTable[name][idx].anim.AnimationId = anim.id
  823. animTable[name][idx].weight = anim.weight
  824. animTable[name].count = animTable[name].count + 1
  825. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  826. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  827. end
  828. end
  829. end
  830.  
  831. -- Setup animation objects
  832. function scriptChildModified(child)
  833. local fileList = animNames[child.Name]
  834. if (fileList ~= nil) then
  835. configureAnimationSet(child.Name, fileList)
  836. end
  837. end
  838.  
  839. script.ChildAdded:connect(scriptChildModified)
  840. script.ChildRemoved:connect(scriptChildModified)
  841.  
  842.  
  843. for name, fileList in pairs(animNames) do
  844. configureAnimationSet(name, fileList)
  845. end
  846.  
  847. -- ANIMATION
  848.  
  849. -- declarations
  850. local toolAnim = "None"
  851. local toolAnimTime = 0
  852.  
  853. local jumpAnimTime = 0
  854. local jumpAnimDuration = 0.3
  855.  
  856. local toolTransitionTime = 0.1
  857. local fallTransitionTime = 0.3
  858. local jumpMaxLimbVelocity = 0.75
  859.  
  860. -- functions
  861.  
  862. function stopAllAnimations()
  863. local oldAnim = currentAnim
  864.  
  865. -- return to idle if finishing an emote
  866. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  867. oldAnim = "idle"
  868. end
  869.  
  870. currentAnim = ""
  871. currentAnimInstance = nil
  872. if (currentAnimKeyframeHandler ~= nil) then
  873. currentAnimKeyframeHandler:disconnect()
  874. end
  875.  
  876. if (currentAnimTrack ~= nil) then
  877. currentAnimTrack:Stop()
  878. currentAnimTrack:Destroy()
  879. currentAnimTrack = nil
  880. end
  881. return oldAnim
  882. end
  883.  
  884. function setAnimationSpeed(speed)
  885. if speed ~= currentAnimSpeed then
  886. currentAnimSpeed = speed
  887. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  888. end
  889. end
  890.  
  891. function keyFrameReachedFunc(frameName)
  892. if (frameName == "End") then
  893.  
  894. local repeatAnim = currentAnim
  895. -- return to idle if finishing an emote
  896. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  897. repeatAnim = "idle"
  898. end
  899.  
  900. local animSpeed = currentAnimSpeed
  901. playAnimation(repeatAnim, 0.0, Humanoid)
  902. setAnimationSpeed(animSpeed)
  903. end
  904. end
  905.  
  906. -- Preload animations
  907. function playAnimation(animName, transitionTime, humanoid)
  908.  
  909. local roll = math.random(1, animTable[animName].totalWeight)
  910. local origRoll = roll
  911. local idx = 1
  912. while (roll > animTable[animName][idx].weight) do
  913. roll = roll - animTable[animName][idx].weight
  914. idx = idx + 1
  915. end
  916. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  917. local anim = animTable[animName][idx].anim
  918.  
  919. -- switch animation
  920. if (anim ~= currentAnimInstance) then
  921.  
  922. if (currentAnimTrack ~= nil) then
  923. currentAnimTrack:Stop(transitionTime)
  924. currentAnimTrack:Destroy()
  925. end
  926.  
  927. currentAnimSpeed = 1.0
  928.  
  929. -- load it to the humanoid; get AnimationTrack
  930. currentAnimTrack = humanoid:LoadAnimation(anim)
  931.  
  932. -- play the animation
  933. currentAnimTrack:Play(transitionTime)
  934. currentAnim = animName
  935. currentAnimInstance = anim
  936.  
  937. -- set up keyframe name triggers
  938. if (currentAnimKeyframeHandler ~= nil) then
  939. currentAnimKeyframeHandler:disconnect()
  940. end
  941. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  942.  
  943. end
  944.  
  945. end
  946.  
  947. -------------------------------------------------------------------------------------------
  948. -------------------------------------------------------------------------------------------
  949.  
  950. local toolAnimName = ""
  951. local toolAnimTrack = nil
  952. local toolAnimInstance = nil
  953. local currentToolAnimKeyframeHandler = nil
  954.  
  955. function toolKeyFrameReachedFunc(frameName)
  956. if (frameName == "End") then
  957. -- print("Keyframe : ".. frameName)
  958. playToolAnimation(toolAnimName, 0.0, Humanoid)
  959. end
  960. end
  961.  
  962.  
  963. function playToolAnimation(animName, transitionTime, humanoid)
  964.  
  965. local roll = math.random(1, animTable[animName].totalWeight)
  966. local origRoll = roll
  967. local idx = 1
  968. while (roll > animTable[animName][idx].weight) do
  969. roll = roll - animTable[animName][idx].weight
  970. idx = idx + 1
  971. end
  972. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  973. local anim = animTable[animName][idx].anim
  974.  
  975. if (toolAnimInstance ~= anim) then
  976.  
  977. if (toolAnimTrack ~= nil) then
  978. toolAnimTrack:Stop()
  979. toolAnimTrack:Destroy()
  980. transitionTime = 0
  981. end
  982.  
  983. -- load it to the humanoid; get AnimationTrack
  984. toolAnimTrack = humanoid:LoadAnimation(anim)
  985.  
  986. -- play the animation
  987. toolAnimTrack:Play(transitionTime)
  988. toolAnimName = animName
  989. toolAnimInstance = anim
  990.  
  991. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  992. end
  993. end
  994.  
  995. function stopToolAnimations()
  996. local oldAnim = toolAnimName
  997.  
  998. if (currentToolAnimKeyframeHandler ~= nil) then
  999. currentToolAnimKeyframeHandler:disconnect()
  1000. end
  1001.  
  1002. toolAnimName = ""
  1003. toolAnimInstance = nil
  1004. if (toolAnimTrack ~= nil) then
  1005. toolAnimTrack:Stop()
  1006. toolAnimTrack:Destroy()
  1007. toolAnimTrack = nil
  1008. end
  1009.  
  1010.  
  1011. return oldAnim
  1012. end
  1013.  
  1014. -------------------------------------------------------------------------------------------
  1015. -------------------------------------------------------------------------------------------
  1016.  
  1017.  
  1018. function onRunning(speed)
  1019. if speed>0.01 then
  1020. playAnimation("walk", 0.1, Humanoid)
  1021. if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  1022. setAnimationSpeed(speed / 14.5)
  1023. end
  1024. pose = "Running"
  1025. else
  1026. playAnimation("idle", 0.1, Humanoid)
  1027. pose = "Standing"
  1028. end
  1029. end
  1030.  
  1031. function onDied()
  1032. pose = "Dead"
  1033. end
  1034.  
  1035. function onJumping()
  1036. playAnimation("jump", 0.1, Humanoid)
  1037. jumpAnimTime = jumpAnimDuration
  1038. pose = "Jumping"
  1039. end
  1040.  
  1041. function onClimbing(speed)
  1042. playAnimation("climb", 0.1, Humanoid)
  1043. setAnimationSpeed(speed / 12.0)
  1044. pose = "Climbing"
  1045. end
  1046.  
  1047. function onGettingUp()
  1048. pose = "GettingUp"
  1049. end
  1050.  
  1051. function onFreeFall()
  1052. if (jumpAnimTime <= 0) then
  1053. playAnimation("fall", fallTransitionTime, Humanoid)
  1054. end
  1055. pose = "FreeFall"
  1056. end
  1057.  
  1058. function onFallingDown()
  1059. pose = "FallingDown"
  1060. end
  1061.  
  1062. function onSeated()
  1063. pose = "Seated"
  1064. end
  1065.  
  1066. function onPlatformStanding()
  1067. pose = "PlatformStanding"
  1068. end
  1069.  
  1070. function onSwimming(speed)
  1071. if speed>0 then
  1072. pose = "Running"
  1073. else
  1074. pose = "Standing"
  1075. end
  1076. end
  1077.  
  1078. function getTool()
  1079. for _, kid in ipairs(Figure:GetChildren()) do
  1080. if kid.className == "Tool" then return kid end
  1081. end
  1082. return nil
  1083. end
  1084.  
  1085. function getToolAnim(tool)
  1086. for _, c in ipairs(tool:GetChildren()) do
  1087. if c.Name == "toolanim" and c.className == "StringValue" then
  1088. return c
  1089. end
  1090. end
  1091. return nil
  1092. end
  1093.  
  1094. function animateTool()
  1095.  
  1096. if (toolAnim == "None") then
  1097. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  1098. return
  1099. end
  1100.  
  1101. if (toolAnim == "Slash") then
  1102. playToolAnimation("toolslash", 0, Humanoid)
  1103. return
  1104. end
  1105.  
  1106. if (toolAnim == "Lunge") then
  1107. playToolAnimation("toollunge", 0, Humanoid)
  1108. return
  1109. end
  1110. end
  1111.  
  1112. function moveSit()
  1113. RightShoulder.MaxVelocity = 0.15
  1114. LeftShoulder.MaxVelocity = 0.15
  1115. RightShoulder:SetDesiredAngle(3.14 /2)
  1116. LeftShoulder:SetDesiredAngle(-3.14 /2)
  1117. RightHip:SetDesiredAngle(3.14 /2)
  1118. LeftHip:SetDesiredAngle(-3.14 /2)
  1119. end
  1120.  
  1121. local lastTick = 0
  1122.  
  1123. function move(time)
  1124. local amplitude = 1
  1125. local frequency = 1
  1126. local deltaTime = time - lastTick
  1127. lastTick = time
  1128.  
  1129. local climbFudge = 0
  1130. local setAngles = false
  1131.  
  1132. if (jumpAnimTime > 0) then
  1133. jumpAnimTime = jumpAnimTime - deltaTime
  1134. end
  1135.  
  1136. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  1137. playAnimation("fall", fallTransitionTime, Humanoid)
  1138. elseif (pose == "Seated") then
  1139. playAnimation("sit", 0.5, Humanoid)
  1140. return
  1141. elseif (pose == "Running") then
  1142. playAnimation("walk", 0.1, Humanoid)
  1143. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  1144. -- print("Wha " .. pose)
  1145. stopAllAnimations()
  1146. amplitude = 0.1
  1147. frequency = 1
  1148. setAngles = true
  1149. end
  1150.  
  1151. if (setAngles) then
  1152. desiredAngle = amplitude * math.sin(time * frequency)
  1153.  
  1154. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  1155. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  1156. RightHip:SetDesiredAngle(-desiredAngle)
  1157. LeftHip:SetDesiredAngle(-desiredAngle)
  1158. end
  1159.  
  1160. -- Tool Animation handling
  1161. local tool = getTool()
  1162. if tool and tool:FindFirstChild("Handle") then
  1163.  
  1164. animStringValueObject = getToolAnim(tool)
  1165.  
  1166. if animStringValueObject then
  1167. toolAnim = animStringValueObject.Value
  1168. -- message recieved, delete StringValue
  1169. animStringValueObject.Parent = nil
  1170. toolAnimTime = time + .3
  1171. end
  1172.  
  1173. if time > toolAnimTime then
  1174. toolAnimTime = 0
  1175. toolAnim = "None"
  1176. end
  1177.  
  1178. animateTool()
  1179. else
  1180. stopToolAnimations()
  1181. toolAnim = "None"
  1182. toolAnimInstance = nil
  1183. toolAnimTime = 0
  1184. end
  1185. end
  1186.  
  1187. -- connect events
  1188. Humanoid.Died:connect(onDied)
  1189. Humanoid.Running:connect(onRunning)
  1190. Humanoid.Jumping:connect(onJumping)
  1191. Humanoid.Climbing:connect(onClimbing)
  1192. Humanoid.GettingUp:connect(onGettingUp)
  1193. Humanoid.FreeFalling:connect(onFreeFall)
  1194. Humanoid.FallingDown:connect(onFallingDown)
  1195. Humanoid.Seated:connect(onSeated)
  1196. Humanoid.PlatformStanding:connect(onPlatformStanding)
  1197. Humanoid.Swimming:connect(onSwimming)
  1198.  
  1199. -- setup emote chat hook
  1200. game.Players.LocalPlayer.Chatted:connect(function(msg)
  1201. local emote = ""
  1202. if (string.sub(msg, 1, 3) == "/e ") then
  1203. emote = string.sub(msg, 4)
  1204. elseif (string.sub(msg, 1, 7) == "/emote ") then
  1205. emote = string.sub(msg, 8)
  1206. end
  1207.  
  1208. if (pose == "Standing" and emoteNames[emote] ~= nil) then
  1209. playAnimation(emote, 0.1, Humanoid)
  1210. end
  1211.  
  1212. end)
  1213.  
  1214.  
  1215. -- main program
  1216.  
  1217. local runService = game:service("RunService");
  1218.  
  1219. -- initialize to idle
  1220. playAnimation("idle", 0.1, Humanoid)
  1221. pose = "Standing"
  1222.  
  1223. while Figure.Parent~=nil do
  1224. local _, time = wait(0.1)
  1225. move(time)
  1226. end
  1227.  
  1228.  
  1229.  
  1230. end))
  1231. StringValue86.Name = "climb"
  1232. StringValue86.Parent = Script85
  1233. Animation87.Name = "ClimbAnim"
  1234. Animation87.Parent = StringValue86
  1235. Animation87.AnimationId = "http://www.roblox.com/asset/?id=180436334"
  1236. StringValue88.Name = "fall"
  1237. StringValue88.Parent = Script85
  1238. Animation89.Name = "FallAnim"
  1239. Animation89.Parent = StringValue88
  1240. Animation89.AnimationId = "http://www.roblox.com/asset/?id=180436148"
  1241. StringValue90.Name = "idle"
  1242. StringValue90.Parent = Script85
  1243. Animation91.Name = "Animation1"
  1244. Animation91.Parent = StringValue90
  1245. Animation91.AnimationId = "rbxassetid://529667700"
  1246. NumberValue92.Name = "Weight"
  1247. NumberValue92.Parent = Animation91
  1248. NumberValue92.Value = 9
  1249. Animation93.Name = "Animation2"
  1250. Animation93.Parent = StringValue90
  1251. Animation93.AnimationId = "rbxassetid://529667700"
  1252. NumberValue94.Name = "Weight"
  1253. NumberValue94.Parent = Animation93
  1254. NumberValue94.Value = 1
  1255. StringValue95.Name = "jump"
  1256. StringValue95.Parent = Script85
  1257. Animation96.Name = "JumpAnim"
  1258. Animation96.Parent = StringValue95
  1259. Animation96.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  1260. StringValue97.Name = "run"
  1261. StringValue97.Parent = Script85
  1262. Animation98.Name = "RunAnim"
  1263. Animation98.Parent = StringValue97
  1264. Animation98.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  1265. StringValue99.Name = "sit"
  1266. StringValue99.Parent = Script85
  1267. Animation100.Name = "SitAnim"
  1268. Animation100.Parent = StringValue99
  1269. Animation100.AnimationId = "http://www.roblox.com/asset/?id=178130996"
  1270. StringValue101.Name = "toolnone"
  1271. StringValue101.Parent = Script85
  1272. Animation102.Name = "ToolNoneAnim"
  1273. Animation102.Parent = StringValue101
  1274. Animation102.AnimationId = "http://www.roblox.com/asset/?id=182393478"
  1275. StringValue103.Name = "walk"
  1276. StringValue103.Parent = Script85
  1277. Animation104.Name = "WalkAnim"
  1278. Animation104.Parent = StringValue103
  1279. Animation104.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  1280. Script105.Name = "Ragdoller"
  1281. Script105.Parent = Model0
  1282. table.insert(cors,sandbox(Script105,function()
  1283. print("Ragdoll script activated")
  1284. Gibs = game.Workspace
  1285.  
  1286. function getKillerOfHumanoidIfStillInGame(humanoid)
  1287. local tag = humanoid:findFirstChild("creator")
  1288. if tag ~= nil then
  1289. local killer = tag.Value
  1290. if killer.Parent ~= nil then
  1291. return killer
  1292. end
  1293. end
  1294. return nil
  1295. end
  1296.  
  1297. function OnDeath(Character)
  1298. local svch = Character
  1299. local hum = Character:findFirstChild("Humanoid")
  1300. local getkiller = getKillerOfHumanoidIfStillInGame(hum)
  1301. Character.Archivable = true
  1302. local chrclone = Character:clone()
  1303. Character.Archivable = false
  1304.  
  1305. local ch = chrclone:GetChildren()
  1306. local i
  1307. for i = 1,#ch do
  1308. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  1309. ch[i]:remove()
  1310. end
  1311. end
  1312. local function Scan(ch)
  1313. local e
  1314. for e = 1,#ch do
  1315. Scan(ch[e]:GetChildren())
  1316. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1317. ch[e]:remove()
  1318. end
  1319. end
  1320. end
  1321. Scan(chrclone:GetChildren())
  1322.  
  1323. local hum2 = chrclone:findFirstChild("Humanoid")
  1324.  
  1325.  
  1326. if hum2 ~= nil then
  1327. hum2.Name = "Humanoid2"
  1328. hum2.PlatformStand = true
  1329. hum2.Sit = true
  1330. hum2.MaxHealth = 0
  1331. hum2.Health = 0
  1332. end
  1333.  
  1334. local ch = Character:GetChildren()
  1335. local i
  1336. for i = 1,#ch do
  1337. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1338. ch[i]:remove()
  1339. end
  1340. end
  1341.  
  1342. wait(0.2)
  1343.  
  1344. local ch = Character:GetChildren()
  1345. local i
  1346. for i = 1,#ch do
  1347. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1348. ch[i]:remove()
  1349. end
  1350. end
  1351. Character = chrclone
  1352. local Torso = Character.Torso
  1353. local movevector = Vector3.new()
  1354.  
  1355. if Torso then
  1356. if getkiller ~= nil then
  1357. if getkiller.Character ~= nil then
  1358. local killtors = getkiller.Character:findFirstChild("Torso")
  1359. if killtors ~= nil then
  1360. movevector = CFrame.new(killtors.Position,Torso.Position).lookVector
  1361. end
  1362. end
  1363. end
  1364. local Head = Character:FindFirstChild("Head")
  1365. if Head then
  1366. local Neck = Instance.new("Weld")
  1367. Neck.Name = "Neck"
  1368. Neck.Part0 = Torso
  1369. Neck.Part1 = Head
  1370. Neck.C0 = CFrame.new(0, 1.5, 0)
  1371. Neck.C1 = CFrame.new()
  1372. Neck.Parent = Torso
  1373.  
  1374. local nsc = script.CamAttach:clone()
  1375. nsc.CamPart.Value = hum2.Parent.Head
  1376. nsc.Disabled = false
  1377. nsc.Parent = svch
  1378. end
  1379. local Limb = Character:FindFirstChild("Right Arm")
  1380. if Limb then
  1381.  
  1382. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  1383. local Joint = Instance.new("Glue")
  1384. Joint.Name = "RightShoulder"
  1385. Joint.Part0 = Torso
  1386. Joint.Part1 = Limb
  1387. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1388. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1389. Joint.Parent = Torso
  1390.  
  1391. local B = Instance.new("Part")
  1392. B.TopSurface = 0
  1393. B.BottomSurface = 0
  1394. B.formFactor = "Symmetric"
  1395. B.Size = Vector3.new(1, 1, 1)
  1396. B.Transparency = 1
  1397. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1398. B.Parent = Character
  1399. local W = Instance.new("Weld")
  1400. W.Part0 = Limb
  1401. W.Part1 = B
  1402. W.C0 = CFrame.new(0, -0.5, 0)
  1403. W.Parent = Limb
  1404.  
  1405. end
  1406. local Limb = Character:FindFirstChild("Left Arm")
  1407. if Limb then
  1408.  
  1409. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  1410. local Joint = Instance.new("Glue")
  1411. Joint.Name = "LeftShoulder"
  1412. Joint.Part0 = Torso
  1413. Joint.Part1 = Limb
  1414. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1415. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1416. Joint.Parent = Torso
  1417.  
  1418. local B = Instance.new("Part")
  1419. B.TopSurface = 0
  1420. B.BottomSurface = 0
  1421. B.formFactor = "Symmetric"
  1422. B.Size = Vector3.new(1, 1, 1)
  1423. B.Transparency = 1
  1424. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1425. B.Parent = Character
  1426. local W = Instance.new("Weld")
  1427. W.Part0 = Limb
  1428. W.Part1 = B
  1429. W.C0 = CFrame.new(0, -0.5, 0)
  1430. W.Parent = Limb
  1431.  
  1432. end
  1433. local Limb = Character:FindFirstChild("Right Leg")
  1434. if Limb then
  1435.  
  1436. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  1437. local Joint = Instance.new("Glue")
  1438. Joint.Name = "RightHip"
  1439. Joint.Part0 = Torso
  1440. Joint.Part1 = Limb
  1441. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1442. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1443. Joint.Parent = Torso
  1444.  
  1445. local B = Instance.new("Part")
  1446. B.TopSurface = 0
  1447. B.BottomSurface = 0
  1448. B.formFactor = "Symmetric"
  1449. B.Size = Vector3.new(1, 1, 1)
  1450. B.Transparency = 1
  1451. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1452. B.Parent = Character
  1453. local W = Instance.new("Weld")
  1454. W.Part0 = Limb
  1455. W.Part1 = B
  1456. W.C0 = CFrame.new(0, -0.5, 0)
  1457. W.Parent = Limb
  1458.  
  1459. end
  1460. local Limb = Character:FindFirstChild("Left Leg")
  1461. if Limb then
  1462.  
  1463. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  1464. local Joint = Instance.new("Glue")
  1465. Joint.Name = "LeftHip"
  1466. Joint.Part0 = Torso
  1467. Joint.Part1 = Limb
  1468. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1469. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1470. Joint.Parent = Torso
  1471.  
  1472. local B = Instance.new("Part")
  1473. B.TopSurface = 0
  1474. B.BottomSurface = 0
  1475. B.formFactor = "Symmetric"
  1476. B.Size = Vector3.new(1, 1, 1)
  1477. B.Transparency = 1
  1478. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1479. B.Parent = Character
  1480. local W = Instance.new("Weld")
  1481. W.Part0 = Limb
  1482. W.Part1 = B
  1483. W.C0 = CFrame.new(0, -0.5, 0)
  1484. W.Parent = Limb
  1485.  
  1486. end
  1487. --[
  1488. local Bar = Instance.new("Part")
  1489. Bar.TopSurface = 0
  1490. Bar.BottomSurface = 0
  1491. Bar.formFactor = "Symmetric"
  1492. Bar.Size = Vector3.new(1, 1, 1)
  1493. Bar.Transparency = 1
  1494. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  1495. Bar.Parent = Character
  1496. local Weld = Instance.new("Weld")
  1497. Weld.Part0 = Torso
  1498. Weld.Part1 = Bar
  1499. Weld.C0 = CFrame.new(0, 0.5, 0)
  1500. Weld.Parent = Torso
  1501. --]]
  1502. end
  1503. Character.Parent = Gibs
  1504. game.Debris:AddItem(Character, 12)
  1505. if movevector ~= Vector3.new() then
  1506. for i = 1,10 do
  1507. wait()
  1508. Torso.Velocity = movevector * 30
  1509. end
  1510. end
  1511. end
  1512.  
  1513. script.Parent.Humanoid.Died:connect(function()
  1514. OnDeath(script.Parent)
  1515. end)
  1516.  
  1517.  
  1518. end))
  1519. LocalScript106.Name = "CamAttach"
  1520. LocalScript106.Parent = Script105
  1521. LocalScript106.Disabled = true
  1522. table.insert(cors,sandbox(LocalScript106,function()
  1523. wait()
  1524. game.Workspace.CurrentCamera.CameraSubject = script.CamPart.Value
  1525. end))
  1526. ObjectValue107.Name = "CamPart"
  1527. ObjectValue107.Parent = LocalScript106
  1528. Script108.Name = "Respawn"
  1529. Script108.Parent = Model0
  1530. table.insert(cors,sandbox(Script108,function()
  1531. name="Humanoid"
  1532.  
  1533. robo=script.Parent:clone()
  1534.  
  1535. while true do
  1536. wait(1)
  1537. if script.Parent.Humanoid.Health<1 then
  1538. robot=robo:clone()
  1539. robot.Parent=script.Parent.Parent
  1540. robot:makeJoints()
  1541. script.Parent:remove()
  1542. end
  1543. end
  1544.  
  1545.  
  1546.  
  1547.  
  1548. end))
  1549. Script109.Name = "zCharacter"
  1550. Script109.Parent = Model0
  1551. table.insert(cors,sandbox(Script109,function()
  1552. char = script.Parent
  1553.  
  1554. boot1 = char.Leg1.Part
  1555. boot1.Parent = char
  1556. boot1.CFrame = char['Left Leg'].CFrame
  1557. WeldL1 = Instance.new("Weld")
  1558. WeldL1.Parent = char['Left Leg']
  1559. WeldL1.Part0 = char['Left Leg']
  1560. WeldL1.Part1 = boot1
  1561. WeldL1.C0 = CFrame.new(0,-0.6,0)
  1562. boot2 = char.Leg2.Part
  1563. boot2.Parent = char
  1564. boot2.CFrame = char['Right Leg'].CFrame
  1565. WeldL2 = Instance.new("Weld")
  1566. WeldL2.Parent = char['Right Leg']
  1567. WeldL2.Part0 = char['Right Leg']
  1568. WeldL2.Part1 = boot2
  1569. WeldL2.C0 = CFrame.new(0,-0.6,0)
  1570.  
  1571. end))
  1572. Script110.Name = "zFollow"
  1573. Script110.Parent = Model0
  1574. table.insert(cors,sandbox(Script110,function()
  1575. s = script.Parent wait(0.5)
  1576. local larm = s:FindFirstChild("Left Arm")
  1577. local rarm = s:FindFirstChild("Right Arm")
  1578.  
  1579. function findNearestTorso(pos)
  1580. local list = game.Workspace:children()
  1581. local torso = nil
  1582. local dist = 400
  1583. local temp = nil
  1584. local human = nil
  1585. local temp2 = nil
  1586. for x = 1, #list do
  1587. temp2 = list[x]
  1588. if (temp2.className == "Model") and (temp2 ~= s) then
  1589. temp = temp2:FindFirstChild("Torso")
  1590. h = temp2:FindFirstChild("Humanoid")
  1591. if (temp ~= nil) and (h ~= nil) and (h.Health > 0) then
  1592. if (temp.Position - pos).magnitude < dist then
  1593. torso = temp
  1594. dist = (temp.Position - pos).magnitude
  1595. end
  1596. end
  1597. end
  1598. end
  1599. return torso
  1600. end
  1601.  
  1602. while true do
  1603. wait(0.1)
  1604. local antibug = s:FindFirstChild("Torso")
  1605. if antibug ~= nil then
  1606. local target = findNearestTorso(antibug.Position)
  1607. if target ~= nil then
  1608. s.Humanoid:MoveTo(target.Position, target)
  1609. end
  1610. end
  1611. end
  1612. end))
  1613. Script111.Name = "zSpecial"
  1614. Script111.Parent = Model0
  1615. table.insert(cors,sandbox(Script111,function()
  1616. s = script.Parent
  1617.  
  1618. if s.Humanoid.Health > 0 then
  1619. bd = s.HumanoidRootPart.RootJoint
  1620. a1 = s.Torso:FindFirstChild("Left Shoulder")
  1621. a2 = s.Torso:FindFirstChild("Right Shoulder")
  1622. l1 = s.Torso:FindFirstChild("Left Hip")
  1623. l2 = s.Torso:FindFirstChild("Right Hip")
  1624. combo = false
  1625. Tele = false
  1626. transformed = false
  1627. hits = 0
  1628. end
  1629.  
  1630. --[[Basic Stats]]
  1631. attack = 50 --[[Combo Damage]]
  1632. force = 1000 --[[Energy Damage]]
  1633. needed = 100 --[[Hits for Special]]
  1634.  
  1635. function HalfReset()
  1636. if s.Humanoid.Health > 0 then
  1637. bd.C0 = bd.C1 * CFrame.new(0,0,0)
  1638. a1.C0 = a1.C1 * CFrame.new(0,0,1.5)
  1639. a2.C0 = a2.C1 * CFrame.new(0,0,1.5)
  1640. l1.C0 = l1.C1 * CFrame.new(0,-2,0.5)
  1641. l2.C0 = l2.C1 * CFrame.new(0,-2,0.5)
  1642. end
  1643. end
  1644.  
  1645. function FullReset()
  1646. if s.Humanoid.Health > 0 then
  1647. HalfReset()
  1648. combo = false
  1649. end
  1650. end
  1651.  
  1652. function Attack()
  1653. if combo == false and s.Humanoid.Health > 0 then
  1654. combo = true
  1655. local audio = math.random(1,2) --[[Random Play]]
  1656. if audio == 1 then s.Torso.Voice2:Play() s.Torso.Miss:Play() else s.Torso.Voice3:Play() s.Torso.Miss:Play() end
  1657. for i = 1,5 do wait()
  1658. a1.C0 = a1.C0 * CFrame.Angles(0,0,-0.32)
  1659. a2.C0 = a2.C0 * CFrame.Angles(0,0,0.32)
  1660. end
  1661. for i = 1,5 do wait()
  1662. bd.C0 = bd.C0 * CFrame.Angles(0,0,0.1)
  1663. a2.C0 = a2.C0 * CFrame.Angles(0.2,0,0)
  1664. end
  1665. local audio = math.random(1,2) --[[Random Play]]
  1666. if audio == 1 then s.Torso.Voice3:Play() s.Torso.Miss:Play() else s.Torso.Voice2:Play() s.Torso.Miss:Play() end
  1667. for i = 1,5 do wait()
  1668. bd.C0 = bd.C0 * CFrame.Angles(0,0,-0.2)
  1669. a2.C0 = a2.C0 * CFrame.Angles(-0.3,0,0)
  1670. end
  1671. for i = 1,5 do wait()
  1672. bd.C0 = bd.C0 * CFrame.Angles(0,0,0.2)
  1673. a1.C0 = a1.C0 * CFrame.Angles(0.2,0,0)
  1674. end
  1675. for i = 1,5 do wait()
  1676. bd.C0 = bd.C0 * CFrame.Angles(0,0,0.1)
  1677. a1.C0 = a1.C0 * CFrame.Angles(-0.3,0,0)
  1678. end
  1679. local audio = math.random(1,2) --[[Random Play]]
  1680. if audio == 1 then s.Torso.Miss:Play() else s.Torso.Miss:Play() end
  1681. FullReset()
  1682. end
  1683. end
  1684.  
  1685. function teleport()
  1686. if Tele == false then
  1687. Tele = true
  1688. wait(0.05)
  1689. s.Torso.Teleport:Play()
  1690. local effect = game.ReplicatedStorage.TeleportEffect:clone()
  1691. effect.Parent = s
  1692. effect.CFrame = s.Torso.CFrame * CFrame.Angles(0,5,0)
  1693. s.Torso.CFrame = s.Torso.CFrame * CFrame.new(0,0,-10)
  1694. wait(0.6)
  1695. effect:Destroy()
  1696. Tele = false
  1697. end
  1698. end
  1699.  
  1700. function Kamehameha()
  1701. if s.Humanoid.Health > 0 then
  1702. game:GetService("Chat"):Chat(s.Head,"Dark Flash!!",Enum.ChatColor.Red)
  1703. s.Torso.Voice4:Play()
  1704. script.Parent.Wep.Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=72012794"
  1705. script.Parent.Wep.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=72012761"
  1706. local ball = Instance.new("Part")
  1707. ball.BrickColor = script.Parent.Torso.BrickColor
  1708. ball.Material = "Neon"
  1709. ball.TopSurface = "Smooth"
  1710. ball.BottomSurface = "Smooth"
  1711. ball.FormFactor = "Custom"
  1712. ball.Size = Vector3.new(10,10,10)
  1713. ball.Transparency = 0
  1714. ball.Anchored = true
  1715. ball.CanCollide = false
  1716. ball.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
  1717. ball2 = Instance.new("Part")
  1718. ball2.BrickColor = BrickColor.new("Toothpaste")
  1719. ball2.Material = "Neon"
  1720. ball2.TopSurface = "Smooth"
  1721. ball2.BottomSurface = "Smooth"
  1722. ball2.FormFactor = "Custom"
  1723. ball2.Size = Vector3.new(15,15,15)
  1724. ball2.Transparency = 0.5
  1725. ball2.Anchored = true
  1726. ball2.CanCollide = false
  1727. ball2.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
  1728. local mesh = Instance.new("SpecialMesh")
  1729. mesh.MeshType = "Sphere"
  1730. mesh.Parent = ball
  1731. local mesh2 = Instance.new("SpecialMesh")
  1732. mesh2.MeshType = "Sphere"
  1733. mesh2.Parent = ball2
  1734. ball.Parent = game.Workspace
  1735. ball2.Parent = game.Workspace
  1736. a1.C0 = a1.C0 * CFrame.Angles(0,0,-1.6)
  1737. a2.C0 = a2.C0 * CFrame.Angles(0,0,1.6)
  1738. a1.C0 = a1.C0 * CFrame.Angles(1,0,0)
  1739. a2.C0 = a2.C0 * CFrame.Angles(1,0,0)
  1740. ball.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
  1741. ball2.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
  1742. s.Torso.FinalFlash:Play()
  1743. local beam = Instance.new("Part")
  1744. beam.BrickColor = BrickColor.new("Dark blue")
  1745. beam.Material = "Neon"
  1746. beam.TopSurface = "Smooth"
  1747. beam.BottomSurface = "Smooth"
  1748. beam.FormFactor = "Custom"
  1749. beam.Size = Vector3.new(10,100,10)
  1750. beam.Transparency = 0
  1751. beam.Anchored = true
  1752. beam.CanCollide = false
  1753. beam.CFrame = s.Torso.CFrame * CFrame.new(0,1,-8)
  1754. beam.CFrame = beam.CFrame * CFrame.Angles(1.6,0,0)
  1755. beam2 = Instance.new("Part")
  1756. beam2.BrickColor = BrickColor.new("Lime Green")
  1757. beam2.Material = "Neon"
  1758. beam2.TopSurface = "Smooth"
  1759. beam2.BottomSurface = "Smooth"
  1760. beam2.FormFactor = "Custom"
  1761. beam2.Size = Vector3.new(15,100,15)
  1762. beam2.Transparency = 0.5
  1763. beam2.Anchored = true
  1764. beam2.CanCollide = false
  1765. beam2.CFrame = s.Torso.CFrame * CFrame.new(0,1,-8)
  1766. beam2.CFrame = beam2.CFrame * CFrame.Angles(1.6,0,0)
  1767. local mesh = Instance.new("SpecialMesh")
  1768. mesh.Scale = Vector3.new(0.75,0.1,0.75)
  1769. mesh.Parent = beam
  1770. local mesh2 = Instance.new("SpecialMesh")
  1771. mesh2.Scale = Vector3.new(0.75,0.1,0.75)
  1772. mesh2.Parent = beam2
  1773. beam.Parent = game.Workspace
  1774. beam2.Parent = game.Workspace
  1775. beam2.Touched:connect(function(hit)
  1776. local h = hit.Parent:FindFirstChild("Humanoid")
  1777. if h ~= nil then
  1778. local hax = h.Parent:FindFirstChild("ForceField")
  1779. if hax == nil then
  1780. h.Health = h.Health - 5
  1781. h.Torso.CFrame = h.Torso.CFrame * CFrame.new(0,0,-2)
  1782. wait()
  1783. end
  1784. end
  1785. end)
  1786. for i = 1,40 do wait()
  1787. beam.CFrame = beam.CFrame * CFrame.new(0,-5,0)
  1788. beam2.CFrame = beam2.CFrame * CFrame.new(0,-5,0)
  1789. mesh.Scale = mesh.Scale + Vector3.new(0,0.1,0)
  1790. mesh2.Scale = mesh2.Scale + Vector3.new(0,0.1,0)
  1791. ball.Transparency = ball.Transparency + 0.025
  1792. ball2.Transparency = ball2.Transparency + 0.0125
  1793. beam.Transparency = beam.Transparency + 0.025
  1794. beam2.Transparency = beam2.Transparency + 0.0125
  1795. end
  1796. script.Parent.Wep.Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
  1797. script.Parent.Wep.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=20577502"
  1798. ball:Destroy()
  1799. ball2:Destroy()
  1800. beam:Destroy()
  1801. beam2:Destroy()
  1802. FullReset()
  1803. end
  1804. end
  1805.  
  1806. s.Humanoid.HealthChanged:connect(function()
  1807. if s.Humanoid.Health == s.Humanoid.Health - 500000 then
  1808. attack = attack + 10
  1809. force = force + 10
  1810. s.Humanoid.Health = s.Humanoid.Health + 100
  1811. end
  1812. if transformed == false and s.Humanoid.Health <= 40000 then
  1813. transformed = true
  1814. game:GetService("Chat"):Chat(s.Head,"Im Dark Aura Anime",Enum.ChatColor.Red)
  1815. ex2 = Instance.new("Explosion")
  1816. ex2.Position = s.Torso.Position
  1817. ex2.BlastPressure = 0
  1818. ex2.Parent = workspace
  1819. s.Torso.Voice2:Play()
  1820. s.Humanoid.Health = s.Humanoid.Health + 50000
  1821. s.Torso.BlackAura.Transparency = NumberSequence.new(0)
  1822. s.Torso.BlackAura2.Transparency = NumberSequence.new(0)
  1823. s.Torso.SaiyanEnergy:Play()
  1824. FullReset()
  1825. attack = attack + 13
  1826. force = force + 20
  1827. end
  1828. if transformed == true and s.Humanoid.Health <= 20000 then
  1829. game:GetService("Chat"):Chat(s.Head,"You have no chance againts me No foolin around!!",Enum.ChatColor.Red)
  1830. s.Torso.Voice1:Play()
  1831. ex2 = Instance.new("Explosion")
  1832. ex2.Position = s.Torso.Position
  1833. ex2.BlastPressure = 0
  1834. ex2.Parent = workspace
  1835. s.Humanoid.Health = s.Humanoid.Health + 10000
  1836. s.Humanoid.WalkSpeed = s.Humanoid.WalkSpeed * 2
  1837. s.Torso.BlackAura:Destroy()
  1838. s.Torso.BlackAura2:Destroy()
  1839. s.Torso.Aura1.Transparency = NumberSequence.new(0.3)
  1840. s.Torso.Aura2.Transparency = NumberSequence.new(0.3)
  1841. s.Head.Decal.Texture = "rbxassetid://601974383"
  1842. s.Torso.SaiyanEnergy:Play()
  1843. s.Torso.SaiyanEnergy2:Play()
  1844. ball2.BrickColor = BrickColor.new("Toothpaste")
  1845. beam2.BrickColor = BrickColor.new("Toothpaste")
  1846. FullReset()
  1847. attack = attack + 10
  1848. force = force + 10
  1849. end
  1850. end)
  1851.  
  1852. s.Torso.Touched:connect(function(hit)
  1853. local h = hit.Parent:FindFirstChild("Humanoid")
  1854. if h ~= nil then
  1855. if hits < needed and s.Humanoid.Health > 0 then
  1856. local audio = math.random(1,2) --[[Random Play]]
  1857. if audio == 1 then s.Torso.DMG:Play() else s.Torso.DMG2:Play() end
  1858. h.Health = h.Health - attack
  1859. hits = hits + 1
  1860. Attack()
  1861. else
  1862. hits = 0
  1863. local ay = math.random(1,2)
  1864. if ay == 1 then
  1865. Kamehameha()
  1866. else
  1867. teleport()
  1868. end
  1869. end
  1870. end
  1871. end)
  1872. end))
  1873. Tool112.Name = "Wep"
  1874. Tool112.Parent = Model0
  1875. Tool112.TextureId = "http://www.roblox.com/asset/?id=20577515"
  1876. Tool112.GripForward = Vector3.new(-1, -0, -0)
  1877. Tool112.GripPos = Vector3.new(0, 0, -1.70000005)
  1878. Tool112.GripRight = Vector3.new(0, 1, 0)
  1879. Tool112.GripUp = Vector3.new(0, 0, 1)
  1880. Script113.Name = "SwordScript"
  1881. Script113.Parent = Tool112
  1882. table.insert(cors,sandbox(Script113,function()
  1883. -------- OMG HAX
  1884.  
  1885. r = game:service("RunService")
  1886.  
  1887.  
  1888. local damage = 5
  1889.  
  1890.  
  1891. local slash_damage = 12
  1892. local lunge_damage = 16
  1893.  
  1894. sword = script.Parent.Handle
  1895. Tool = script.Parent
  1896.  
  1897.  
  1898. local SlashSound = Instance.new("Sound")
  1899. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1900. SlashSound.Parent = sword
  1901. SlashSound.Volume = .7
  1902.  
  1903. local LungeSound = Instance.new("Sound")
  1904. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  1905. LungeSound.Parent = sword
  1906. LungeSound.Volume = .6
  1907.  
  1908. local UnsheathSound = Instance.new("Sound")
  1909. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1910. UnsheathSound.Parent = sword
  1911. UnsheathSound.Volume = 1
  1912.  
  1913.  
  1914. function blow(hit)
  1915. local humanoid = hit.Parent:findFirstChild("Humanoid")
  1916. local vCharacter = Tool.Parent
  1917. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  1918. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  1919. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  1920. -- final check, make sure sword is in-hand
  1921.  
  1922. local right_arm = vCharacter:FindFirstChild("Right Arm")
  1923. if (right_arm ~= nil) then
  1924. local joint = right_arm:FindFirstChild("RightGrip")
  1925. if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  1926. tagHumanoid(humanoid, vPlayer)
  1927. humanoid:TakeDamage(damage)
  1928. wait(1)
  1929. untagHumanoid(humanoid)
  1930. end
  1931. end
  1932.  
  1933.  
  1934. end
  1935. end
  1936.  
  1937.  
  1938. function tagHumanoid(humanoid, player)
  1939. local creator_tag = Instance.new("ObjectValue")
  1940. creator_tag.Value = player
  1941. creator_tag.Name = "creator"
  1942. creator_tag.Parent = humanoid
  1943. end
  1944.  
  1945. function untagHumanoid(humanoid)
  1946. if humanoid ~= nil then
  1947. local tag = humanoid:findFirstChild("creator")
  1948. if tag ~= nil then
  1949. tag.Parent = nil
  1950. end
  1951. end
  1952. end
  1953.  
  1954.  
  1955. function attack()
  1956. damage = slash_damage
  1957. SlashSound:play()
  1958. local anim = Instance.new("StringValue")
  1959. anim.Name = "toolanim"
  1960. anim.Value = "Slash"
  1961. anim.Parent = Tool
  1962. end
  1963.  
  1964. function lunge()
  1965. damage = lunge_damage
  1966.  
  1967. LungeSound:play()
  1968.  
  1969. local anim = Instance.new("StringValue")
  1970. anim.Name = "toolanim"
  1971. anim.Value = "Lunge"
  1972. anim.Parent = Tool
  1973.  
  1974.  
  1975. force = Instance.new("BodyVelocity")
  1976. force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80
  1977. force.Parent = Tool.Parent.Torso
  1978. wait(.2)
  1979. swordOut()
  1980. wait(.2)
  1981. force.Parent = nil
  1982. wait(.4)
  1983. swordUp()
  1984.  
  1985. damage = slash_damage
  1986. end
  1987.  
  1988. function swordUp()
  1989. Tool.GripForward = Vector3.new(-1,0,0)
  1990. Tool.GripRight = Vector3.new(0,1,0)
  1991. Tool.GripUp = Vector3.new(0,0,1)
  1992. end
  1993.  
  1994. function swordOut()
  1995. Tool.GripForward = Vector3.new(0,0,1)
  1996. Tool.GripRight = Vector3.new(0,1,0)
  1997. Tool.GripUp = Vector3.new(1,0,0)
  1998. end
  1999.  
  2000. function swordAcross()
  2001. -- parry
  2002. end
  2003.  
  2004.  
  2005. Tool.Enabled = true
  2006. local last_attack = 0
  2007. function onActivated()
  2008.  
  2009. if not Tool.Enabled then
  2010. return
  2011. end
  2012.  
  2013. Tool.Enabled = false
  2014.  
  2015. local character = Tool.Parent;
  2016. local humanoid = character.Humanoid
  2017. if humanoid == nil then
  2018. print("Humanoid not found")
  2019. return
  2020. end
  2021.  
  2022. t = r.Stepped:wait()
  2023.  
  2024. if (t - last_attack < .2) then
  2025. lunge()
  2026. else
  2027. attack()
  2028. end
  2029.  
  2030. last_attack = t
  2031.  
  2032. --wait(.5)
  2033.  
  2034. Tool.Enabled = true
  2035. end
  2036.  
  2037.  
  2038. function onEquipped()
  2039. UnsheathSound:play()
  2040. end
  2041.  
  2042.  
  2043. script.Parent.Activated:connect(onActivated)
  2044. script.Parent.Equipped:connect(onEquipped)
  2045.  
  2046.  
  2047. connection = sword.Touched:connect(blow)
  2048.  
  2049.  
  2050.  
  2051. end))
  2052. Part114.Name = "Handle"
  2053. Part114.Parent = Tool112
  2054. Part114.BrickColor = BrickColor.new("Dark stone grey")
  2055. Part114.Rotation = Vector3.new(-180, 0, -90)
  2056. Part114.CanCollide = false
  2057. Part114.FormFactor = Enum.FormFactor.Plate
  2058. Part114.Size = Vector3.new(1, 0.800000012, 5)
  2059. Part114.CFrame = CFrame.new(-32.5500069, 2.00002766, -65.3899307, 0, 1, 0, 1, 0, 0, 0, 0, -1)
  2060. Part114.BottomSurface = Enum.SurfaceType.Smooth
  2061. Part114.TopSurface = Enum.SurfaceType.Smooth
  2062. Part114.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2063. Part114.Position = Vector3.new(-32.5500069, 2.00002766, -65.3899307)
  2064. Part114.Orientation = Vector3.new(0, 180, 90)
  2065. Part114.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2066. SpecialMesh115.Parent = Part114
  2067. SpecialMesh115.MeshId = "http://www.roblox.com/asset/?id=11442510"
  2068. SpecialMesh115.Scale = Vector3.new(1.70000005, 1.70000005, 1.70000005)
  2069. SpecialMesh115.TextureId = "rbxassetid://20577502"
  2070. SpecialMesh115.MeshType = Enum.MeshType.FileMesh
  2071. SpecialMesh115.Scale = Vector3.new(1.70000005, 1.70000005, 1.70000005)
  2072. Sound116.Parent = Part114
  2073. Sound116.SoundId = "rbxasset://sounds/swordslash.wav"
  2074. Sound116.Volume = 0.69999998807907
  2075. Sound117.Parent = Part114
  2076. Sound117.SoundId = "rbxasset://sounds/swordlunge.wav"
  2077. Sound117.Volume = 0.60000002384186
  2078. Sound118.Parent = Part114
  2079. Sound118.SoundId = "rbxasset://sounds/unsheath.wav"
  2080. Sound118.Volume = 1
  2081. LocalScript119.Name = "Local Gui"
  2082. LocalScript119.Parent = Tool112
  2083. for i,v in pairs(mas:GetChildren()) do
  2084. v.Parent = workspace
  2085. pcall(function() v:MakeJoints() end)
  2086. end
  2087. mas:Destroy()
  2088. for i,v in pairs(cors) do
  2089. spawn(function()
  2090. pcall(v)
  2091. end)
  2092. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement