Advertisement
MESCRIPT

oof

Jul 31st, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 192.64 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. local chil = workspace:GetChildren()
  19. for i,v in pairs(chil) do
  20. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  21. v:Destroy()
  22. end
  23. end
  24. Camera0 = Instance.new("Camera")
  25. Part1 = Instance.new("Part")
  26. Model2 = Instance.new("Model")
  27. LocalScript3 = Instance.new("LocalScript")
  28. Model4 = Instance.new("Model")
  29. BodyColors5 = Instance.new("BodyColors")
  30. Humanoid6 = Instance.new("Humanoid")
  31. Part7 = Instance.new("Part")
  32. SpecialMesh8 = Instance.new("SpecialMesh")
  33. Sound9 = Instance.new("Sound")
  34. PitchShiftSoundEffect10 = Instance.new("PitchShiftSoundEffect")
  35. Dialog11 = Instance.new("Dialog")
  36. DialogChoice12 = Instance.new("DialogChoice")
  37. Script13 = Instance.new("Script")
  38. ParticleEmitter14 = Instance.new("ParticleEmitter")
  39. Part15 = Instance.new("Part")
  40. Motor6D16 = Instance.new("Motor6D")
  41. Part17 = Instance.new("Part")
  42. Part18 = Instance.new("Part")
  43. SpecialMesh19 = Instance.new("SpecialMesh")
  44. Part20 = Instance.new("Part")
  45. Part21 = Instance.new("Part")
  46. SpecialMesh22 = Instance.new("SpecialMesh")
  47. Part23 = Instance.new("Part")
  48. Motor6D24 = Instance.new("Motor6D")
  49. Motor6D25 = Instance.new("Motor6D")
  50. Motor6D26 = Instance.new("Motor6D")
  51. Motor6D27 = Instance.new("Motor6D")
  52. Motor6D28 = Instance.new("Motor6D")
  53. Decal29 = Instance.new("Decal")
  54. SpecialMesh30 = Instance.new("SpecialMesh")
  55. ParticleEmitter31 = Instance.new("ParticleEmitter")
  56. Sound32 = Instance.new("Sound")
  57. Script33 = Instance.new("Script")
  58. Sound34 = Instance.new("Sound")
  59. Sound35 = Instance.new("Sound")
  60. ParticleEmitter36 = Instance.new("ParticleEmitter")
  61. Camera37 = Instance.new("Camera")
  62. Script38 = Instance.new("Script")
  63. Script39 = Instance.new("Script")
  64. NumberValue40 = Instance.new("NumberValue")
  65. Script41 = Instance.new("Script")
  66. SpecialMesh42 = Instance.new("SpecialMesh")
  67. Script43 = Instance.new("Script")
  68. SelectionBox44 = Instance.new("SelectionBox")
  69. Sound45 = Instance.new("Sound")
  70. NumberValue46 = Instance.new("NumberValue")
  71. Script47 = Instance.new("Script")
  72. Script48 = Instance.new("Script")
  73. BillboardGui49 = Instance.new("BillboardGui")
  74. ImageLabel50 = Instance.new("ImageLabel")
  75. Sound51 = Instance.new("Sound")
  76. Script52 = Instance.new("Script")
  77. SpecialMesh53 = Instance.new("SpecialMesh")
  78. ParticleEmitter54 = Instance.new("ParticleEmitter")
  79. BodyPosition55 = Instance.new("BodyPosition")
  80. Sound56 = Instance.new("Sound")
  81. Sound57 = Instance.new("Sound")
  82. Script58 = Instance.new("Script")
  83. BrickColorValue59 = Instance.new("BrickColorValue")
  84. Script60 = Instance.new("Script")
  85. StringValue61 = Instance.new("StringValue")
  86. Animation62 = Instance.new("Animation")
  87. StringValue63 = Instance.new("StringValue")
  88. Animation64 = Instance.new("Animation")
  89. StringValue65 = Instance.new("StringValue")
  90. Animation66 = Instance.new("Animation")
  91. NumberValue67 = Instance.new("NumberValue")
  92. Animation68 = Instance.new("Animation")
  93. NumberValue69 = Instance.new("NumberValue")
  94. StringValue70 = Instance.new("StringValue")
  95. Animation71 = Instance.new("Animation")
  96. StringValue72 = Instance.new("StringValue")
  97. Animation73 = Instance.new("Animation")
  98. StringValue74 = Instance.new("StringValue")
  99. Animation75 = Instance.new("Animation")
  100. StringValue76 = Instance.new("StringValue")
  101. Animation77 = Instance.new("Animation")
  102. Script78 = Instance.new("Script")
  103. Script79 = Instance.new("Script")
  104. Sound80 = Instance.new("Sound")
  105. Model81 = Instance.new("Model")
  106. LocalScript82 = Instance.new("LocalScript")
  107. Model83 = Instance.new("Model")
  108. SpawnLocation84 = Instance.new("SpawnLocation")
  109. Decal85 = Instance.new("Decal")
  110. SpawnLocation86 = Instance.new("SpawnLocation")
  111. Decal87 = Instance.new("Decal")
  112. SpawnLocation88 = Instance.new("SpawnLocation")
  113. Decal89 = Instance.new("Decal")
  114. Part90 = Instance.new("Part")
  115. SpawnLocation91 = Instance.new("SpawnLocation")
  116. Decal92 = Instance.new("Decal")
  117. SpawnLocation93 = Instance.new("SpawnLocation")
  118. Decal94 = Instance.new("Decal")
  119. SpawnLocation95 = Instance.new("SpawnLocation")
  120. Decal96 = Instance.new("Decal")
  121. Part97 = Instance.new("Part")
  122. Part98 = Instance.new("Part")
  123. SpawnLocation99 = Instance.new("SpawnLocation")
  124. Decal100 = Instance.new("Decal")
  125. SpawnLocation101 = Instance.new("SpawnLocation")
  126. Decal102 = Instance.new("Decal")
  127. Part103 = Instance.new("Part")
  128. SpawnLocation104 = Instance.new("SpawnLocation")
  129. Decal105 = Instance.new("Decal")
  130. Camera0.Parent = mas
  131. Camera0.CFrame = CFrame.new(7.57795286, 9.13609123, 19.373188, 0.944127202, -0.029410284, 0.328266501, -1.86264515e-09, 0.996010542, 0.0892352834, -0.32958135, -0.0842494592, 0.940360606)
  132. Camera0.CoordinateFrame = CFrame.new(7.57795286, 9.13609123, 19.373188, 0.944127202, -0.029410284, 0.328266501, -1.86264515e-09, 0.996010542, 0.0892352834, -0.32958135, -0.0842494592, 0.940360606)
  133. Camera0.Focus = CFrame.new(-5.79797316, 5.50000715, -18.9438324, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  134. Camera0.focus = CFrame.new(-5.79797316, 5.50000715, -18.9438324, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  135. Part1.Name = "Baseplate"
  136. Part1.Parent = mas
  137. Part1.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  138. Part1.Position = Vector3.new(0, -10, 0)
  139. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  140. Part1.Size = Vector3.new(512, 20, 512)
  141. Part1.Anchored = true
  142. Part1.BrickColor = BrickColor.new("Dark stone grey")
  143. Part1.Locked = true
  144. Part1.brickColor = BrickColor.new("Dark stone grey")
  145. Part1.FormFactor = Enum.FormFactor.Symmetric
  146. Part1.formFactor = Enum.FormFactor.Symmetric
  147. Model2.Name = "CompiledScripts"
  148. Model2.Parent = mas
  149. LocalScript3.Name = "Script1"
  150. LocalScript3.Parent = Model2
  151. table.insert(cors,sandbox(LocalScript3,function()
  152.  
  153. --Converted with ttyyuu12345's model to script plugin v4
  154. function sandbox(var,func)
  155. local env = getfenv(func)
  156. local newenv = setmetatable({},{
  157. __index = function(self,k)
  158. if k=="script" then
  159. return var
  160. else
  161. return env[k]
  162. end
  163. end,
  164. })
  165. setfenv(func,newenv)
  166. return func
  167. end
  168. cors = {}
  169. mas = Instance.new("Model",game:GetService("Lighting"))
  170. local chil = workspace:GetChildren()
  171. for i,v in pairs(chil) do
  172. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  173. v:Destroy()
  174. end
  175. end
  176. Camera0 = Instance.new("Camera")
  177. Part1 = Instance.new("Part")
  178. Model2 = Instance.new("Model")
  179. Model3 = Instance.new("Model")
  180. Part4 = Instance.new("Part")
  181. SpecialMesh5 = Instance.new("SpecialMesh")
  182. Decal6 = Instance.new("Decal")
  183. Weld7 = Instance.new("Weld")
  184. Part8 = Instance.new("Part")
  185. Fire9 = Instance.new("Fire")
  186. Part10 = Instance.new("Part")
  187. Fire11 = Instance.new("Fire")
  188. Part12 = Instance.new("Part")
  189. Part13 = Instance.new("Part")
  190. Part14 = Instance.new("Part")
  191. Snap15 = Instance.new("Snap")
  192. Fire16 = Instance.new("Fire")
  193. Humanoid17 = Instance.new("Humanoid")
  194. Part18 = Instance.new("Part")
  195. Snap19 = Instance.new("Snap")
  196. CylinderMesh20 = Instance.new("CylinderMesh")
  197. Fire21 = Instance.new("Fire")
  198. Script22 = Instance.new("Script")
  199. Script23 = Instance.new("Script")
  200. Part24 = Instance.new("Part")
  201. Snap25 = Instance.new("Snap")
  202. Fire26 = Instance.new("Fire")
  203. Weld27 = Instance.new("Weld")
  204. BodyColors28 = Instance.new("BodyColors")
  205. Script29 = Instance.new("Script")
  206. Shirt30 = Instance.new("Shirt")
  207. Pants31 = Instance.new("Pants")
  208. Hat32 = Instance.new("Hat")
  209. Part33 = Instance.new("Part")
  210. SpecialMesh34 = Instance.new("SpecialMesh")
  211. Camera35 = Instance.new("Camera")
  212. Model36 = Instance.new("Model")
  213. Part37 = Instance.new("Part")
  214. SpecialMesh38 = Instance.new("SpecialMesh")
  215. Decal39 = Instance.new("Decal")
  216. Weld40 = Instance.new("Weld")
  217. Part41 = Instance.new("Part")
  218. Fire42 = Instance.new("Fire")
  219. Part43 = Instance.new("Part")
  220. Fire44 = Instance.new("Fire")
  221. Part45 = Instance.new("Part")
  222. Part46 = Instance.new("Part")
  223. Part47 = Instance.new("Part")
  224. Snap48 = Instance.new("Snap")
  225. Fire49 = Instance.new("Fire")
  226. Humanoid50 = Instance.new("Humanoid")
  227. Part51 = Instance.new("Part")
  228. Snap52 = Instance.new("Snap")
  229. CylinderMesh53 = Instance.new("CylinderMesh")
  230. Fire54 = Instance.new("Fire")
  231. Script55 = Instance.new("Script")
  232. Script56 = Instance.new("Script")
  233. Part57 = Instance.new("Part")
  234. Snap58 = Instance.new("Snap")
  235. Fire59 = Instance.new("Fire")
  236. Weld60 = Instance.new("Weld")
  237. BodyColors61 = Instance.new("BodyColors")
  238. Script62 = Instance.new("Script")
  239. Hat63 = Instance.new("Hat")
  240. Part64 = Instance.new("Part")
  241. SpecialMesh65 = Instance.new("SpecialMesh")
  242. Shirt66 = Instance.new("Shirt")
  243. Pants67 = Instance.new("Pants")
  244. Camera0.Parent = mas
  245. Camera0.CFrame = CFrame.new(-26.2206421, 12.0959606, -20.6886711, -0.0595999733, 0.408445835, -0.91083467, -0, 0.912456691, 0.409173191, 0.998222351, 0.0243867114, -0.0543823987)
  246. Camera0.CoordinateFrame = CFrame.new(-26.2206421, 12.0959606, -20.6886711, -0.0595999733, 0.408445835, -0.91083467, -0, 0.912456691, 0.409173191, 0.998222351, 0.0243867114, -0.0543823987)
  247. Camera0.Focus = CFrame.new(-6.11873436, 3.06560421, -19.4884644, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  248. Camera0.focus = CFrame.new(-6.11873436, 3.06560421, -19.4884644, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  249. Part1.Name = "Baseplate"
  250. Part1.Parent = mas
  251. Part1.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  252. Part1.Position = Vector3.new(0, -10, 0)
  253. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  254. Part1.Size = Vector3.new(512, 20, 512)
  255. Part1.Anchored = true
  256. Part1.BrickColor = BrickColor.new("Dark stone grey")
  257. Part1.Locked = true
  258. Part1.brickColor = BrickColor.new("Dark stone grey")
  259. Part1.FormFactor = Enum.FormFactor.Symmetric
  260. Part1.formFactor = Enum.FormFactor.Symmetric
  261. Model2.Parent = mas
  262. Model3.Name = "SSGSS Goku"
  263. Model3.Parent = Model2
  264. Part4.Name = "Head"
  265. Part4.Parent = Model3
  266. Part4.CFrame = CFrame.new(-4.13871002, 4.90002108, -11.4352522, 0, 0, 0.999999404, 0, 1.00000036, -1.74622983e-10, -1, 0, 0)
  267. Part4.Orientation = Vector3.new(0, 90, 0)
  268. Part4.Position = Vector3.new(-4.13871002, 4.90002108, -11.4352522)
  269. Part4.Rotation = Vector3.new(90, 89.9400024, 0)
  270. Part4.Color = Color3.new(1, 0.8, 0.6)
  271. Part4.Size = Vector3.new(2, 1, 1)
  272. Part4.BrickColor = BrickColor.new("Pastel brown")
  273. Part4.TopSurface = Enum.SurfaceType.Smooth
  274. Part4.brickColor = BrickColor.new("Pastel brown")
  275. Part4.FormFactor = Enum.FormFactor.Symmetric
  276. Part4.formFactor = Enum.FormFactor.Symmetric
  277. SpecialMesh5.Parent = Part4
  278. SpecialMesh5.Scale = Vector3.new(1.25, 1.25, 1.25)
  279. Decal6.Parent = Part4
  280. Decal6.Texture = "http://www.roblox.com/asset/?id=268802651"
  281. Weld7.Name = "HeadWeld"
  282. Weld7.Parent = Part4
  283. Weld7.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  284. Weld7.C1 = CFrame.new(0, -0.100000001, 0, 1, 0, -0, 0, 0.999999702, 0.000833332946, 0, -0.000833333062, 0.999999583)
  285. Weld7.Part0 = Part4
  286. Weld7.Part1 = Part33
  287. Weld7.part1 = Part33
  288. Part8.Name = "Left Arm"
  289. Part8.Parent = Model3
  290. Part8.CFrame = CFrame.new(-4.13871002, 3.40002298, -9.93525219, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  291. Part8.Orientation = Vector3.new(0, 90, 0)
  292. Part8.Position = Vector3.new(-4.13871002, 3.40002298, -9.93525219)
  293. Part8.Rotation = Vector3.new(0, 90, 0)
  294. Part8.Color = Color3.new(1, 0.8, 0.6)
  295. Part8.Size = Vector3.new(1, 2, 1)
  296. Part8.BrickColor = BrickColor.new("Pastel brown")
  297. Part8.brickColor = BrickColor.new("Pastel brown")
  298. Part8.FormFactor = Enum.FormFactor.Symmetric
  299. Part8.formFactor = Enum.FormFactor.Symmetric
  300. Fire9.Parent = Part8
  301. Fire9.Color = Color3.new(1, 0.709804, 0)
  302. Fire9.Enabled = false
  303. Fire9.Size = 30
  304. Fire9.Heat = 25
  305. Fire9.SecondaryColor = Color3.new(1, 0, 0)
  306. Fire9.size = 30
  307. Part10.Name = "Left Leg"
  308. Part10.Parent = Model3
  309. Part10.CFrame = CFrame.new(-4.13871002, 1.40002406, -10.9352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  310. Part10.Orientation = Vector3.new(0, 90, 0)
  311. Part10.Position = Vector3.new(-4.13871002, 1.40002406, -10.9352522)
  312. Part10.Rotation = Vector3.new(0, 90, 0)
  313. Part10.Color = Color3.new(1, 0.8, 0.6)
  314. Part10.Size = Vector3.new(1, 2, 1)
  315. Part10.BottomSurface = Enum.SurfaceType.Weld
  316. Part10.BrickColor = BrickColor.new("Pastel brown")
  317. Part10.brickColor = BrickColor.new("Pastel brown")
  318. Part10.FormFactor = Enum.FormFactor.Symmetric
  319. Part10.formFactor = Enum.FormFactor.Symmetric
  320. Fire11.Parent = Part10
  321. Fire11.Color = Color3.new(1, 0.709804, 0)
  322. Fire11.Enabled = false
  323. Fire11.Size = 30
  324. Fire11.Heat = 25
  325. Fire11.SecondaryColor = Color3.new(1, 0, 0)
  326. Fire11.size = 30
  327. Part12.Name = "Right Arm"
  328. Part12.Parent = Model3
  329. Part12.CFrame = CFrame.new(-4.13871002, 3.40002298, -12.9352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  330. Part12.Orientation = Vector3.new(0, 90, 0)
  331. Part12.Position = Vector3.new(-4.13871002, 3.40002298, -12.9352522)
  332. Part12.Rotation = Vector3.new(0, 90, 0)
  333. Part12.Color = Color3.new(1, 0.8, 0.6)
  334. Part12.Size = Vector3.new(1, 2, 1)
  335. Part12.BrickColor = BrickColor.new("Pastel brown")
  336. Part12.brickColor = BrickColor.new("Pastel brown")
  337. Part12.FormFactor = Enum.FormFactor.Symmetric
  338. Part12.formFactor = Enum.FormFactor.Symmetric
  339. Part13.Name = "Right Leg"
  340. Part13.Parent = Model3
  341. Part13.CFrame = CFrame.new(-4.13871002, 1.40002406, -11.9352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  342. Part13.Orientation = Vector3.new(0, 90, 0)
  343. Part13.Position = Vector3.new(-4.13871002, 1.40002406, -11.9352522)
  344. Part13.Rotation = Vector3.new(0, 90, 0)
  345. Part13.Color = Color3.new(1, 0.8, 0.6)
  346. Part13.Size = Vector3.new(1, 2, 1)
  347. Part13.BottomSurface = Enum.SurfaceType.Weld
  348. Part13.BrickColor = BrickColor.new("Pastel brown")
  349. Part13.brickColor = BrickColor.new("Pastel brown")
  350. Part13.FormFactor = Enum.FormFactor.Symmetric
  351. Part13.formFactor = Enum.FormFactor.Symmetric
  352. Part14.Name = "Torso"
  353. Part14.Parent = Model3
  354. Part14.CFrame = CFrame.new(-4.13871002, 3.40002298, -11.4352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  355. Part14.Orientation = Vector3.new(0, 90, 0)
  356. Part14.Position = Vector3.new(-4.13871002, 3.40002298, -11.4352522)
  357. Part14.Rotation = Vector3.new(0, 90, 0)
  358. Part14.Color = Color3.new(1, 0.8, 0.6)
  359. Part14.Size = Vector3.new(2, 2, 1)
  360. Part14.BrickColor = BrickColor.new("Pastel brown")
  361. Part14.LeftParamA = 0
  362. Part14.LeftParamB = 0
  363. Part14.LeftSurface = Enum.SurfaceType.Weld
  364. Part14.RightParamA = 0
  365. Part14.RightParamB = 0
  366. Part14.RightSurface = Enum.SurfaceType.Weld
  367. Part14.brickColor = BrickColor.new("Pastel brown")
  368. Part14.FormFactor = Enum.FormFactor.Symmetric
  369. Part14.formFactor = Enum.FormFactor.Symmetric
  370. Snap15.Name = "Neck"
  371. Snap15.Parent = Part14
  372. Snap15.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  373. Snap15.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  374. Fire16.Parent = Part14
  375. Fire16.Color = Color3.new(1, 0.709804, 0)
  376. Fire16.Enabled = false
  377. Fire16.Size = 30
  378. Fire16.Heat = 25
  379. Fire16.SecondaryColor = Color3.new(1, 0, 0)
  380. Fire16.size = 30
  381. Humanoid17.Name = "Morph"
  382. Humanoid17.Parent = Model3
  383. Humanoid17.Health = 0
  384. Humanoid17.LeftLeg = Part10
  385. Humanoid17.MaxHealth = 0
  386. Humanoid17.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  387. Humanoid17.RightLeg = Part13
  388. Humanoid17.Torso = Part14
  389. Humanoid17.WalkSpeed = 0
  390. Humanoid17.maxHealth = 0
  391. Part18.Name = "MorphButton"
  392. Part18.Parent = Model3
  393. Part18.CFrame = CFrame.new(-7.63871002, 0.600023985, -11.4352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  394. Part18.Orientation = Vector3.new(0, 90, 0)
  395. Part18.Position = Vector3.new(-7.63871002, 0.600023985, -11.4352522)
  396. Part18.Rotation = Vector3.new(0, 90, 0)
  397. Part18.Color = Color3.new(0.960784, 0.803922, 0.188235)
  398. Part18.Size = Vector3.new(4, 0.400000006, 4)
  399. Part18.BottomSurface = Enum.SurfaceType.Weld
  400. Part18.BrickColor = BrickColor.new("Bright yellow")
  401. Part18.LeftParamA = 0
  402. Part18.LeftParamB = 0
  403. Part18.Reflectance = 0.5
  404. Part18.RightParamA = 0
  405. Part18.RightParamB = 0
  406. Part18.TopSurface = Enum.SurfaceType.Smooth
  407. Part18.brickColor = BrickColor.new("Bright yellow")
  408. Part18.FormFactor = Enum.FormFactor.Plate
  409. Part18.formFactor = Enum.FormFactor.Plate
  410. Snap19.Name = "Neck"
  411. Snap19.Parent = Part18
  412. Snap19.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  413. Snap19.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  414. CylinderMesh20.Parent = Part18
  415. Fire21.Parent = Part18
  416. Fire21.Color = Color3.new(1, 1, 0)
  417. Fire21.Enabled = false
  418. Fire21.Size = 30
  419. Fire21.Heat = 25
  420. Fire21.SecondaryColor = Color3.new(1, 0, 0)
  421. Fire21.size = 30
  422. Script22.Name = "SmartMorphButton"
  423. Script22.Parent = Part18
  424. table.insert(cors,sandbox(Script22,function()
  425. -- Smart Morph script by CoolbuilderManClub
  426.  
  427. while (script:findFirstChild("InfoRemover") == nil) do wait(0.1) end
  428.  
  429. local g = Instance.new("ScreenGui")
  430. g.Name = "InfoBox"
  431.  
  432. local t = Instance.new("TextLabel")
  433. t.Name = "Info"
  434. t.Text = "Smart Morph Script By TankLeadfoot"
  435. t.BackgroundTransparency = 0
  436. t.BackgroundColor3 = Color3.new(0, 0, 0)
  437. t.BorderSizePixel = 0
  438. t.TextColor3 = Color3.new(1, 1, 1)
  439. t.Position = UDim2.new(0, 0, 0.95, 0)
  440. t.Size = UDim2.new(1, 0, 0.05, 0)
  441. t.Parent = g
  442.  
  443. local CanMorph = nil
  444. local Lock = nil
  445.  
  446. local s = script.InfoRemover:Clone()
  447. s.Parent = g
  448. s.Disabled = false
  449.  
  450. script.Parent.BrickColor = BrickColor.new("Bright yellow")
  451.  
  452. function onTouch(hit)
  453. if (Lock == nil) then
  454. Lock = true
  455. script.Parent.BrickColor = BrickColor.new("Medium stone grey")
  456.  
  457. CanMorph = nil
  458. BodyParts = hit.Parent:GetChildren()
  459. for i,b in pairs(BodyParts) do
  460. if (b.className == "Humanoid") then
  461. CanMorph = true
  462. end
  463. wait(0.1)
  464. end
  465. if (CanMorph == nil) then
  466. script.Parent.BrickColor = BrickColor.new("Bright yellow")
  467. Lock = nil
  468. return
  469. end
  470.  
  471. script.Parent.BrickColor = BrickColor.new("Black")
  472. g.Parent = game.Players:findFirstChild(hit.Parent.Name).PlayerGui
  473.  
  474. BodyParts = hit.Parent:GetChildren()
  475. for i,b in pairs(BodyParts) do
  476. if (b.className == "Hat") or (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
  477. b:Remove()
  478. end
  479. if (b.className == "Part") then
  480. if (b.Name == "Torso") then
  481. if (b:findFirstChild("roblox") ~= nil) then
  482. b.roblox:Remove()
  483. elseif (b:findFirstChild("Decal") ~= nil) then
  484. b.Decal:Remove()
  485. end
  486. end
  487. if (b.Name == "Head") then
  488. if (b:findFirstChild("Mesh") ~= nil) then
  489. b.Mesh:Remove()
  490. end
  491. end
  492. end
  493. wait(0.1)
  494. end
  495.  
  496. BodyParts = script.Parent.Parent:GetChildren()
  497. for i,b in pairs(BodyParts) do
  498. if (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
  499. b:Clone().Parent = hit.Parent
  500. end
  501. if (b.className == "BodyColors") and (hit.Parent:findFirstChild("Body Colors") ~= nil) then
  502. hit.Parent:findFirstChild("Body Colors").HeadColor= b.HeadColor
  503. hit.Parent:findFirstChild("Body Colors").LeftArmColor= b.LeftArmColor
  504. hit.Parent:findFirstChild("Body Colors").LeftLegColor= b.LeftLegColor
  505. hit.Parent:findFirstChild("Body Colors").RightArmColor= b.RightArmColor
  506. hit.Parent:findFirstChild("Body Colors").RightLegColor= b.RightLegColor
  507. hit.Parent:findFirstChild("Body Colors").TorsoColor= b.TorsoColor
  508. end
  509. if (b.className == "Part") then
  510. if (b.Name == "Torso") then
  511. if (b:findFirstChild("roblox") ~= nil) then
  512. b.roblox:Clone().Parent = hit.Parent.Torso
  513. elseif (script.Parent.Parent.Torso:findFirstChild("Decal") ~= nil) then
  514. b.Decal:Clone().Parent = hit.Parent.Torso
  515. end
  516. end
  517. if (b.Name == "Head") then
  518. if (b:findFirstChild("face") ~= nil) then
  519. hit.Parent.Head.face.Texture = b.face.Texture
  520. elseif (script.Parent.Parent.Head:findFirstChild("Decal") ~= nil) then
  521. hit.Parent.Head.face.Texture = b.Decal.Texture
  522. end
  523. if (b:findFirstChild("Mesh") ~= nil) then
  524. b.Mesh:Clone().Parent = hit.Parent.Head
  525. end
  526. end
  527. end
  528. if (b.className == "Hat") then
  529. local h = Instance.new("Hat")
  530. h.Name = b.Name
  531. h.AttachmentPos = b.AttachmentPos
  532. b.Handle:Clone().Parent = h
  533. h.Parent = hit.Parent
  534. end
  535. wait(0.1)
  536. end
  537.  
  538. g.Parent = nil
  539. script.Parent.BrickColor = BrickColor.new("Bright yellow")
  540. Lock = nil
  541. end
  542. end
  543.  
  544. script.Parent.Touched:connect(onTouch)
  545.  
  546. end))
  547. Script23.Name = "InfoRemover"
  548. Script23.Parent = Script22
  549. table.insert(cors,sandbox(Script23,function()
  550. script.Parent:Remove(wait(10))
  551.  
  552. end))
  553. Script23.Disabled = true
  554. Part24.Parent = Model3
  555. Part24.CFrame = CFrame.new(-6.13871002, 0.200023651, -11.4352522, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  556. Part24.Orientation = Vector3.new(0, 90, 0)
  557. Part24.Position = Vector3.new(-6.13871002, 0.200023651, -11.4352522)
  558. Part24.Rotation = Vector3.new(0, 90, 0)
  559. Part24.Color = Color3.new(0.854902, 0.521569, 0.254902)
  560. Part24.Size = Vector3.new(6, 0.400000006, 9)
  561. Part24.BottomSurface = Enum.SurfaceType.Weld
  562. Part24.BrickColor = BrickColor.new("Bright orange")
  563. Part24.LeftParamA = 0
  564. Part24.LeftParamB = 0
  565. Part24.Reflectance = 0.5
  566. Part24.RightParamA = 0
  567. Part24.RightParamB = 0
  568. Part24.TopSurface = Enum.SurfaceType.Smooth
  569. Part24.brickColor = BrickColor.new("Bright orange")
  570. Part24.FormFactor = Enum.FormFactor.Plate
  571. Part24.formFactor = Enum.FormFactor.Plate
  572. Snap25.Name = "Neck"
  573. Snap25.Parent = Part24
  574. Snap25.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  575. Snap25.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  576. Fire26.Parent = Part24
  577. Fire26.Color = Color3.new(1, 0.709804, 0)
  578. Fire26.Enabled = false
  579. Fire26.Size = 30
  580. Fire26.Heat = 25
  581. Fire26.SecondaryColor = Color3.new(1, 0, 0)
  582. Fire26.size = 30
  583. Weld27.Parent = Part24
  584. Weld27.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  585. Weld27.C1 = CFrame.new(-6.13871002, 10.0000238, -11.4352522, 0, 1, 0, 0, 0, -1, -1, 0, 0)
  586. Weld27.Part0 = Part24
  587. Weld27.Part1 = Part1
  588. Weld27.part1 = Part1
  589. BodyColors28.Parent = Model3
  590. BodyColors28.HeadColor = BrickColor.new("Pastel brown")
  591. BodyColors28.HeadColor3 = Color3.new(1, 0.8, 0.6)
  592. BodyColors28.LeftArmColor = BrickColor.new("Pastel brown")
  593. BodyColors28.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
  594. BodyColors28.LeftLegColor = BrickColor.new("Pastel brown")
  595. BodyColors28.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
  596. BodyColors28.RightArmColor = BrickColor.new("Pastel brown")
  597. BodyColors28.RightArmColor3 = Color3.new(1, 0.8, 0.6)
  598. BodyColors28.RightLegColor = BrickColor.new("Pastel brown")
  599. BodyColors28.RightLegColor3 = Color3.new(1, 0.8, 0.6)
  600. BodyColors28.TorsoColor = BrickColor.new("Pastel brown")
  601. BodyColors28.TorsoColor3 = Color3.new(1, 0.8, 0.6)
  602. Script29.Name = "How To Make A Morph"
  603. Script29.Parent = Model3
  604. table.insert(cors,sandbox(Script29,function()
  605. First Pick This Morph
  606. Then If You Want To Change Yourself (Not The Morph) Search For Pants,Shirt,Hat,
  607. If Your Done Making The Morph Go To Your Name And Press Plus (+) Button
  608. Then Copy Your Shirt And Pants If Your Done Copying The Shirt To The Morph
  609. Go Again To Your Name And Press Again Plus If U Minus(-) Your Character Beside Your Name
  610. If U Want To Put Hats At Your Morph Do # 9
  611. First Do Not Search For Hats At (Search) Beacuse If Do That It Wont Work So Dont Do That
  612. If U Copy Hats No Right Click And Press Copy Beacuse If U Copy It The Hat Will Fall
  613. So Grab Your Hats One By One To The Morph So It Will Work Tnx
  614. Message Me If You Dont Understand
  615. If U Cant Message Me If Im Online
  616. Meet Me At My Place This Is The Link See Number 13
  617. http://www.roblox.com/Im-Making-Morph-Here-place?id=101670864
  618. Tnx Pls Like My Morph Before Taking!!!
  619. If U Want To Be A Superhero Morph Or Robloxian 2.0
  620. First Pick The Morph U Want And Go In The Front Of It
  621. And Then Go To Your Character And Press Plus (+) To Copy It
  622. And Then 1 By 1 To Copy It
  623. Tnx For Making Morph!!
  624. Pls Enjoy!!!
  625. end))
  626. Shirt30.Name = "Shirt"
  627. Shirt30.Parent = Model3
  628. Shirt30.ShirtTemplate = "http://www.roblox.com/asset/?id=235808304"
  629. Pants31.Name = "Pants"
  630. Pants31.Parent = Model3
  631. Pants31.PantsTemplate = "http://www.roblox.com/asset/?id=235808401"
  632. Hat32.Name = "SuperSaiyanHair"
  633. Hat32.Parent = Model3
  634. Hat32.AttachmentForward = Vector3.new(0, -0.000833332946, -0.999999583)
  635. Hat32.AttachmentPoint = CFrame.new(0, -0.100000001, 0, 1, 0, -0, 0, 0.999999702, 0.000833332946, 0, -0.000833333062, 0.999999583)
  636. Hat32.AttachmentPos = Vector3.new(0, -0.100000001, 0)
  637. Hat32.AttachmentUp = Vector3.new(0, 0.999999702, -0.000833333062)
  638. Part33.Name = "Handle"
  639. Part33.Parent = Hat32
  640. Part33.CFrame = CFrame.new(-4.13862658, 5.50002146, -11.4352522, 0, 0.000833332422, 0.999998987, 0, 1, -0.000833333528, -1, 0, 0)
  641. Part33.Orientation = Vector3.new(0.0500000007, 90, 0)
  642. Part33.Position = Vector3.new(-4.13862658, 5.50002146, -11.4352522)
  643. Part33.Rotation = Vector3.new(90, 89.9199982, -90)
  644. Part33.Color = Color3.new(0, 1, 1)
  645. Part33.Size = Vector3.new(2, 2, 2)
  646. Part33.BottomSurface = Enum.SurfaceType.Smooth
  647. Part33.BrickColor = BrickColor.new("Toothpaste")
  648. Part33.CanCollide = false
  649. Part33.Material = Enum.Material.Neon
  650. Part33.TopSurface = Enum.SurfaceType.Smooth
  651. Part33.brickColor = BrickColor.new("Toothpaste")
  652. Part33.FormFactor = Enum.FormFactor.Symmetric
  653. Part33.formFactor = Enum.FormFactor.Symmetric
  654. SpecialMesh34.Parent = Part33
  655. SpecialMesh34.MeshId = "rbxassetid://430344159"
  656. SpecialMesh34.Offset = Vector3.new(-0.0500000007, 0.449999988, 0.5)
  657. SpecialMesh34.Scale = Vector3.new(5.5, 5.5, 5.5)
  658. SpecialMesh34.MeshType = Enum.MeshType.FileMesh
  659. Camera35.Name = "ThumbnailCamera"
  660. Camera35.Parent = Hat32
  661. Camera35.CFrame = CFrame.new(7.09014845, 4.30502892, 16.8996258, -0.979573905, -0.0921030194, 0.178751379, 7.4505806e-09, 0.888936162, 0.458031207, -0.201084614, 0.448675424, -0.87077862)
  662. Camera35.CameraType = Enum.CameraType.Custom
  663. Camera35.CoordinateFrame = CFrame.new(7.09014845, 4.30502892, 16.8996258, -0.979573905, -0.0921030194, 0.178751379, 7.4505806e-09, 0.888936162, 0.458031207, -0.201084614, 0.448675424, -0.87077862)
  664. Camera35.FieldOfView = 40
  665. Camera35.Focus = CFrame.new(6.73264551, 3.38896608, 18.6411839, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  666. Camera35.focus = CFrame.new(6.73264551, 3.38896608, 18.6411839, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  667. Model36.Name = "SSJ3 Goku"
  668. Model36.Parent = Model2
  669. Part37.Name = "Head"
  670. Part37.Parent = Model36
  671. Part37.CFrame = CFrame.new(-5.14130402, 4.90000677, -19.4327965, 0, -1.75787136e-08, 0.999999285, 0, 1.00000036, 1.72294676e-08, -1, 0, 0)
  672. Part37.Orientation = Vector3.new(0, 90, 0)
  673. Part37.Position = Vector3.new(-5.14130402, 4.90000677, -19.4327965)
  674. Part37.Rotation = Vector3.new(-90, 89.9300003, 90)
  675. Part37.Color = Color3.new(1, 0.8, 0.6)
  676. Part37.Size = Vector3.new(2, 1, 1)
  677. Part37.BrickColor = BrickColor.new("Pastel brown")
  678. Part37.TopSurface = Enum.SurfaceType.Smooth
  679. Part37.brickColor = BrickColor.new("Pastel brown")
  680. Part37.FormFactor = Enum.FormFactor.Symmetric
  681. Part37.formFactor = Enum.FormFactor.Symmetric
  682. SpecialMesh38.Parent = Part37
  683. SpecialMesh38.Scale = Vector3.new(1.25, 1.25, 1.25)
  684. Decal39.Parent = Part37
  685. Decal39.Texture = "http://www.roblox.com/asset/?id=231488603"
  686. Weld40.Name = "HeadWeld"
  687. Weld40.Parent = Part37
  688. Weld40.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  689. Weld40.C1 = CFrame.new(0, -0.100000001, 0, 1, 0, -0, 0, 0.999999702, 0.000833332946, 0, -0.000833333062, 0.999999583)
  690. Weld40.Part0 = Part37
  691. Weld40.Part1 = Part64
  692. Weld40.part1 = Part64
  693. Part41.Name = "Left Arm"
  694. Part41.Parent = Model36
  695. Part41.CFrame = CFrame.new(-5.14130402, 3.40001106, -17.9327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  696. Part41.Orientation = Vector3.new(0, 90, 0)
  697. Part41.Position = Vector3.new(-5.14130402, 3.40001106, -17.9327965)
  698. Part41.Rotation = Vector3.new(0, 90, 0)
  699. Part41.Color = Color3.new(1, 0.8, 0.6)
  700. Part41.Size = Vector3.new(1, 2, 1)
  701. Part41.BrickColor = BrickColor.new("Pastel brown")
  702. Part41.brickColor = BrickColor.new("Pastel brown")
  703. Part41.FormFactor = Enum.FormFactor.Symmetric
  704. Part41.formFactor = Enum.FormFactor.Symmetric
  705. Fire42.Parent = Part41
  706. Fire42.Color = Color3.new(1, 0.709804, 0)
  707. Fire42.Enabled = false
  708. Fire42.Size = 30
  709. Fire42.Heat = 25
  710. Fire42.SecondaryColor = Color3.new(1, 0, 0)
  711. Fire42.size = 30
  712. Part43.Name = "Left Leg"
  713. Part43.Parent = Model36
  714. Part43.CFrame = CFrame.new(-5.14127302, 1.40001905, -18.9327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  715. Part43.Orientation = Vector3.new(0, 90, 0)
  716. Part43.Position = Vector3.new(-5.14127302, 1.40001905, -18.9327965)
  717. Part43.Rotation = Vector3.new(0, 90, 0)
  718. Part43.Color = Color3.new(1, 0.8, 0.6)
  719. Part43.Size = Vector3.new(1, 2, 1)
  720. Part43.BottomSurface = Enum.SurfaceType.Weld
  721. Part43.BrickColor = BrickColor.new("Pastel brown")
  722. Part43.brickColor = BrickColor.new("Pastel brown")
  723. Part43.FormFactor = Enum.FormFactor.Symmetric
  724. Part43.formFactor = Enum.FormFactor.Symmetric
  725. Fire44.Parent = Part43
  726. Fire44.Color = Color3.new(1, 0.709804, 0)
  727. Fire44.Enabled = false
  728. Fire44.Size = 30
  729. Fire44.Heat = 25
  730. Fire44.SecondaryColor = Color3.new(1, 0, 0)
  731. Fire44.size = 30
  732. Part45.Name = "Right Arm"
  733. Part45.Parent = Model36
  734. Part45.CFrame = CFrame.new(-5.14127302, 3.3999939, -20.9327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  735. Part45.Orientation = Vector3.new(0, 90, 0)
  736. Part45.Position = Vector3.new(-5.14127302, 3.3999939, -20.9327965)
  737. Part45.Rotation = Vector3.new(0, 90, 0)
  738. Part45.Color = Color3.new(1, 0.8, 0.6)
  739. Part45.Size = Vector3.new(1, 2, 1)
  740. Part45.BrickColor = BrickColor.new("Pastel brown")
  741. Part45.brickColor = BrickColor.new("Pastel brown")
  742. Part45.FormFactor = Enum.FormFactor.Symmetric
  743. Part45.formFactor = Enum.FormFactor.Symmetric
  744. Part46.Name = "Right Leg"
  745. Part46.Parent = Model36
  746. Part46.CFrame = CFrame.new(-5.14127302, 1.39997196, -19.9327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  747. Part46.Orientation = Vector3.new(0, 90, 0)
  748. Part46.Position = Vector3.new(-5.14127302, 1.39997196, -19.9327965)
  749. Part46.Rotation = Vector3.new(0, 90, 0)
  750. Part46.Color = Color3.new(1, 0.8, 0.6)
  751. Part46.Size = Vector3.new(1, 2, 1)
  752. Part46.BottomSurface = Enum.SurfaceType.Weld
  753. Part46.BrickColor = BrickColor.new("Pastel brown")
  754. Part46.brickColor = BrickColor.new("Pastel brown")
  755. Part46.FormFactor = Enum.FormFactor.Symmetric
  756. Part46.formFactor = Enum.FormFactor.Symmetric
  757. Part47.Name = "Torso"
  758. Part47.Parent = Model36
  759. Part47.CFrame = CFrame.new(-5.14130402, 3.40001106, -19.4327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  760. Part47.Orientation = Vector3.new(0, 90, 0)
  761. Part47.Position = Vector3.new(-5.14130402, 3.40001106, -19.4327965)
  762. Part47.Rotation = Vector3.new(0, 90, 0)
  763. Part47.Color = Color3.new(1, 0.8, 0.6)
  764. Part47.Size = Vector3.new(2, 2, 1)
  765. Part47.BrickColor = BrickColor.new("Pastel brown")
  766. Part47.LeftParamA = 0
  767. Part47.LeftParamB = 0
  768. Part47.LeftSurface = Enum.SurfaceType.Weld
  769. Part47.RightParamA = 0
  770. Part47.RightParamB = 0
  771. Part47.RightSurface = Enum.SurfaceType.Weld
  772. Part47.brickColor = BrickColor.new("Pastel brown")
  773. Part47.FormFactor = Enum.FormFactor.Symmetric
  774. Part47.formFactor = Enum.FormFactor.Symmetric
  775. Snap48.Name = "Neck"
  776. Snap48.Parent = Part47
  777. Snap48.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  778. Snap48.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  779. Fire49.Parent = Part47
  780. Fire49.Color = Color3.new(1, 0.709804, 0)
  781. Fire49.Enabled = false
  782. Fire49.Size = 30
  783. Fire49.Heat = 25
  784. Fire49.SecondaryColor = Color3.new(1, 0, 0)
  785. Fire49.size = 30
  786. Humanoid50.Name = "Morph"
  787. Humanoid50.Parent = Model36
  788. Humanoid50.Health = 0
  789. Humanoid50.LeftLeg = Part43
  790. Humanoid50.MaxHealth = 0
  791. Humanoid50.RightLeg = Part46
  792. Humanoid50.Torso = Part47
  793. Humanoid50.WalkSpeed = 0
  794. Humanoid50.maxHealth = 0
  795. Part51.Name = "MorphButton"
  796. Part51.Parent = Model36
  797. Part51.CFrame = CFrame.new(-8.64122772, 0.600019991, -19.4327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  798. Part51.Orientation = Vector3.new(0, 90, 0)
  799. Part51.Position = Vector3.new(-8.64122772, 0.600019991, -19.4327965)
  800. Part51.Rotation = Vector3.new(0, 90, 0)
  801. Part51.Color = Color3.new(0.960784, 0.803922, 0.188235)
  802. Part51.Size = Vector3.new(4, 0.400000006, 4)
  803. Part51.BottomSurface = Enum.SurfaceType.Weld
  804. Part51.BrickColor = BrickColor.new("Bright yellow")
  805. Part51.LeftParamA = 0
  806. Part51.LeftParamB = 0
  807. Part51.Reflectance = 0.5
  808. Part51.RightParamA = 0
  809. Part51.RightParamB = 0
  810. Part51.TopSurface = Enum.SurfaceType.Smooth
  811. Part51.brickColor = BrickColor.new("Bright yellow")
  812. Part51.FormFactor = Enum.FormFactor.Plate
  813. Part51.formFactor = Enum.FormFactor.Plate
  814. Snap52.Name = "Neck"
  815. Snap52.Parent = Part51
  816. Snap52.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  817. Snap52.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  818. CylinderMesh53.Parent = Part51
  819. Fire54.Parent = Part51
  820. Fire54.Color = Color3.new(1, 1, 0)
  821. Fire54.Enabled = false
  822. Fire54.Size = 30
  823. Fire54.Heat = 25
  824. Fire54.SecondaryColor = Color3.new(1, 0, 0)
  825. Fire54.size = 30
  826. Script55.Name = "SmartMorphButton"
  827. Script55.Parent = Part51
  828. table.insert(cors,sandbox(Script55,function()
  829. -- Smart Morph script by CoolbuilderManClub
  830.  
  831. while (script:findFirstChild("InfoRemover") == nil) do wait(0.1) end
  832.  
  833. local g = Instance.new("ScreenGui")
  834. g.Name = "InfoBox"
  835.  
  836. local t = Instance.new("TextLabel")
  837. t.Name = "Info"
  838. t.Text = "Smart Morph Script By TankLeadfoot"
  839. t.BackgroundTransparency = 0
  840. t.BackgroundColor3 = Color3.new(0, 0, 0)
  841. t.BorderSizePixel = 0
  842. t.TextColor3 = Color3.new(1, 1, 1)
  843. t.Position = UDim2.new(0, 0, 0.95, 0)
  844. t.Size = UDim2.new(1, 0, 0.05, 0)
  845. t.Parent = g
  846.  
  847. local CanMorph = nil
  848. local Lock = nil
  849.  
  850. local s = script.InfoRemover:Clone()
  851. s.Parent = g
  852. s.Disabled = false
  853.  
  854. script.Parent.BrickColor = BrickColor.new("Bright yellow")
  855.  
  856. function onTouch(hit)
  857. if (Lock == nil) then
  858. Lock = true
  859. script.Parent.BrickColor = BrickColor.new("Medium stone grey")
  860.  
  861. CanMorph = nil
  862. BodyParts = hit.Parent:GetChildren()
  863. for i,b in pairs(BodyParts) do
  864. if (b.className == "Humanoid") then
  865. CanMorph = true
  866. end
  867. wait(0.1)
  868. end
  869. if (CanMorph == nil) then
  870. script.Parent.BrickColor = BrickColor.new("Bright yellow")
  871. Lock = nil
  872. return
  873. end
  874.  
  875. script.Parent.BrickColor = BrickColor.new("Black")
  876. g.Parent = game.Players:findFirstChild(hit.Parent.Name).PlayerGui
  877.  
  878. BodyParts = hit.Parent:GetChildren()
  879. for i,b in pairs(BodyParts) do
  880. if (b.className == "Hat") or (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
  881. b:Remove()
  882. end
  883. if (b.className == "Part") then
  884. if (b.Name == "Torso") then
  885. if (b:findFirstChild("roblox") ~= nil) then
  886. b.roblox:Remove()
  887. elseif (b:findFirstChild("Decal") ~= nil) then
  888. b.Decal:Remove()
  889. end
  890. end
  891. if (b.Name == "Head") then
  892. if (b:findFirstChild("Mesh") ~= nil) then
  893. b.Mesh:Remove()
  894. end
  895. end
  896. end
  897. wait(0.1)
  898. end
  899.  
  900. BodyParts = script.Parent.Parent:GetChildren()
  901. for i,b in pairs(BodyParts) do
  902. if (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
  903. b:Clone().Parent = hit.Parent
  904. end
  905. if (b.className == "BodyColors") and (hit.Parent:findFirstChild("Body Colors") ~= nil) then
  906. hit.Parent:findFirstChild("Body Colors").HeadColor= b.HeadColor
  907. hit.Parent:findFirstChild("Body Colors").LeftArmColor= b.LeftArmColor
  908. hit.Parent:findFirstChild("Body Colors").LeftLegColor= b.LeftLegColor
  909. hit.Parent:findFirstChild("Body Colors").RightArmColor= b.RightArmColor
  910. hit.Parent:findFirstChild("Body Colors").RightLegColor= b.RightLegColor
  911. hit.Parent:findFirstChild("Body Colors").TorsoColor= b.TorsoColor
  912. end
  913. if (b.className == "Part") then
  914. if (b.Name == "Torso") then
  915. if (b:findFirstChild("roblox") ~= nil) then
  916. b.roblox:Clone().Parent = hit.Parent.Torso
  917. elseif (script.Parent.Parent.Torso:findFirstChild("Decal") ~= nil) then
  918. b.Decal:Clone().Parent = hit.Parent.Torso
  919. end
  920. end
  921. if (b.Name == "Head") then
  922. if (b:findFirstChild("face") ~= nil) then
  923. hit.Parent.Head.face.Texture = b.face.Texture
  924. elseif (script.Parent.Parent.Head:findFirstChild("Decal") ~= nil) then
  925. hit.Parent.Head.face.Texture = b.Decal.Texture
  926. end
  927. if (b:findFirstChild("Mesh") ~= nil) then
  928. b.Mesh:Clone().Parent = hit.Parent.Head
  929. end
  930. end
  931. end
  932. if (b.className == "Hat") then
  933. local h = Instance.new("Hat")
  934. h.Name = b.Name
  935. h.AttachmentPos = b.AttachmentPos
  936. b.Handle:Clone().Parent = h
  937. h.Parent = hit.Parent
  938. end
  939. wait(0.1)
  940. end
  941.  
  942. g.Parent = nil
  943. script.Parent.BrickColor = BrickColor.new("Bright yellow")
  944. Lock = nil
  945. end
  946. end
  947.  
  948. script.Parent.Touched:connect(onTouch)
  949.  
  950. end))
  951. Script56.Name = "InfoRemover"
  952. Script56.Parent = Script55
  953. table.insert(cors,sandbox(Script56,function()
  954. script.Parent:Remove(wait(10))
  955.  
  956. end))
  957. Script56.Disabled = true
  958. Part57.Parent = Model36
  959. Part57.CFrame = CFrame.new(-7.14124298, 0.200023651, -19.4327965, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  960. Part57.Orientation = Vector3.new(0, 90, 0)
  961. Part57.Position = Vector3.new(-7.14124298, 0.200023651, -19.4327965)
  962. Part57.Rotation = Vector3.new(0, 90, 0)
  963. Part57.Color = Color3.new(0.854902, 0.521569, 0.254902)
  964. Part57.Size = Vector3.new(6, 0.400000006, 9)
  965. Part57.BottomSurface = Enum.SurfaceType.Weld
  966. Part57.BrickColor = BrickColor.new("Bright orange")
  967. Part57.LeftParamA = 0
  968. Part57.LeftParamB = 0
  969. Part57.Reflectance = 0.5
  970. Part57.RightParamA = 0
  971. Part57.RightParamB = 0
  972. Part57.TopSurface = Enum.SurfaceType.Smooth
  973. Part57.brickColor = BrickColor.new("Bright orange")
  974. Part57.FormFactor = Enum.FormFactor.Plate
  975. Part57.formFactor = Enum.FormFactor.Plate
  976. Snap58.Name = "Neck"
  977. Snap58.Parent = Part57
  978. Snap58.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  979. Snap58.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  980. Fire59.Parent = Part57
  981. Fire59.Color = Color3.new(1, 0.709804, 0)
  982. Fire59.Enabled = false
  983. Fire59.Size = 30
  984. Fire59.Heat = 25
  985. Fire59.SecondaryColor = Color3.new(1, 0, 0)
  986. Fire59.size = 30
  987. Weld60.Parent = Part57
  988. Weld60.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  989. Weld60.C1 = CFrame.new(-7.14124298, 10.0000238, -19.4327965, 0, 1, 0, 0, 0, -1, -1, 0, 0)
  990. Weld60.Part0 = Part57
  991. Weld60.Part1 = Part1
  992. Weld60.part1 = Part1
  993. BodyColors61.Parent = Model36
  994. BodyColors61.HeadColor = BrickColor.new("Pastel brown")
  995. BodyColors61.HeadColor3 = Color3.new(1, 0.8, 0.6)
  996. BodyColors61.LeftArmColor = BrickColor.new("Pastel brown")
  997. BodyColors61.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
  998. BodyColors61.LeftLegColor = BrickColor.new("Pastel brown")
  999. BodyColors61.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
  1000. BodyColors61.RightArmColor = BrickColor.new("Pastel brown")
  1001. BodyColors61.RightArmColor3 = Color3.new(1, 0.8, 0.6)
  1002. BodyColors61.RightLegColor = BrickColor.new("Pastel brown")
  1003. BodyColors61.RightLegColor3 = Color3.new(1, 0.8, 0.6)
  1004. BodyColors61.TorsoColor = BrickColor.new("Pastel brown")
  1005. BodyColors61.TorsoColor3 = Color3.new(1, 0.8, 0.6)
  1006. Script62.Name = "How To Make A Morph"
  1007. Script62.Parent = Model36
  1008. table.insert(cors,sandbox(Script62,function()
  1009. First Pick This Morph
  1010. Then If You Want To Change Yourself (Not The Morph) Search For Pants,Shirt,Hat,
  1011. If Your Done Making The Morph Go To Your Name And Press Plus (+) Button
  1012. Then Copy Your Shirt And Pants If Your Done Copying The Shirt To The Morph
  1013. Go Again To Your Name And Press Again Plus If U Minus(-) Your Character Beside Your Name
  1014. If U Want To Put Hats At Your Morph Do # 9
  1015. First Do Not Search For Hats At (Search) Beacuse If Do That It Wont Work So Dont Do That
  1016. If U Copy Hats No Right Click And Press Copy Beacuse If U Copy It The Hat Will Fall
  1017. So Grab Your Hats One By One To The Morph So It Will Work Tnx
  1018. Message Me If You Dont Understand
  1019. If U Cant Message Me If Im Online
  1020. Meet Me At My Place This Is The Link See Number 13
  1021. http://www.roblox.com/Im-Making-Morph-Here-place?id=101670864
  1022. Tnx Pls Like My Morph Before Taking!!!
  1023. If U Want To Be A Superhero Morph Or Robloxian 2.0
  1024. First Pick The Morph U Want And Go In The Front Of It
  1025. And Then Go To Your Character And Press Plus (+) To Copy It
  1026. And Then 1 By 1 To Copy It
  1027. Tnx For Making Morph!!
  1028. Pls Enjoy!!!
  1029. end))
  1030. Hat63.Name = "SuperSaiyan3Hair"
  1031. Hat63.Parent = Model36
  1032. Hat63.AttachmentForward = Vector3.new(0, -0.000833332946, -0.999999583)
  1033. Hat63.AttachmentPoint = CFrame.new(0, -0.100000001, 0, 1, 0, -0, 0, 0.999999702, 0.000833332946, 0, -0.000833333062, 0.999999583)
  1034. Hat63.AttachmentPos = Vector3.new(0, -0.100000001, 0)
  1035. Hat63.AttachmentUp = Vector3.new(0, 0.999999702, -0.000833333062)
  1036. Part64.Name = "Handle"
  1037. Part64.Parent = Hat63
  1038. Part64.CFrame = CFrame.new(-5.14122057, 5.50000715, -19.4327965, 0, 0.000833314785, 0.999998868, 0, 1, -0.000833316124, -1, 0, 0)
  1039. Part64.Orientation = Vector3.new(0.0500000007, 90, 0)
  1040. Part64.Position = Vector3.new(-5.14122057, 5.50000715, -19.4327965)
  1041. Part64.Rotation = Vector3.new(90, 89.9100037, -90)
  1042. Part64.Color = Color3.new(0.960784, 0.803922, 0.188235)
  1043. Part64.Size = Vector3.new(2, 2, 2)
  1044. Part64.BottomSurface = Enum.SurfaceType.Smooth
  1045. Part64.BrickColor = BrickColor.new("Bright yellow")
  1046. Part64.CanCollide = false
  1047. Part64.Material = Enum.Material.Neon
  1048. Part64.TopSurface = Enum.SurfaceType.Smooth
  1049. Part64.brickColor = BrickColor.new("Bright yellow")
  1050. Part64.FormFactor = Enum.FormFactor.Symmetric
  1051. Part64.formFactor = Enum.FormFactor.Symmetric
  1052. SpecialMesh65.Parent = Part64
  1053. SpecialMesh65.MeshId = "rbxassetid://437432504"
  1054. SpecialMesh65.Offset = Vector3.new(0.0199999996, -0.889999986, 1.29999995)
  1055. SpecialMesh65.Scale = Vector3.new(0.0500000007, 0.0500000007, 0.0350000001)
  1056. SpecialMesh65.MeshType = Enum.MeshType.FileMesh
  1057. Shirt66.Name = "Shirt"
  1058. Shirt66.Parent = Model36
  1059. Shirt66.ShirtTemplate = "http://www.roblox.com/asset/?id=233470894"
  1060. Pants67.Name = "Pants"
  1061. Pants67.Parent = Model36
  1062. Pants67.PantsTemplate = "http://www.roblox.com/asset/?id=270365252"
  1063. for i,v in pairs(mas:GetChildren()) do
  1064. v.Parent = game:GetService("Players").LocalPlayer.Character
  1065. pcall(function() v:MakeJoints() end)
  1066. end
  1067. mas:Destroy()
  1068. for i,v in pairs(cors) do
  1069. spawn(function()
  1070. pcall(v)
  1071. end)
  1072. end
  1073.  
  1074. end))
  1075. Model4.Name = "Sans"
  1076. Model4.Parent = mas
  1077. BodyColors5.Parent = Model4
  1078. BodyColors5.HeadColor = BrickColor.new("Light stone grey")
  1079. BodyColors5.HeadColor3 = Color3.new(0.898039, 0.894118, 0.87451)
  1080. BodyColors5.LeftArmColor = BrickColor.new("Light stone grey")
  1081. BodyColors5.LeftArmColor3 = Color3.new(0.898039, 0.894118, 0.87451)
  1082. BodyColors5.LeftLegColor = BrickColor.new("Light stone grey")
  1083. BodyColors5.LeftLegColor3 = Color3.new(0.898039, 0.894118, 0.87451)
  1084. BodyColors5.RightArmColor = BrickColor.new("Light stone grey")
  1085. BodyColors5.RightArmColor3 = Color3.new(0.898039, 0.894118, 0.87451)
  1086. BodyColors5.RightLegColor = BrickColor.new("Light stone grey")
  1087. BodyColors5.RightLegColor3 = Color3.new(0.898039, 0.894118, 0.87451)
  1088. BodyColors5.TorsoColor = BrickColor.new("Light stone grey")
  1089. BodyColors5.TorsoColor3 = Color3.new(0.898039, 0.894118, 0.87451)
  1090. Humanoid6.Parent = Model4
  1091. Humanoid6.Health = 50
  1092. Humanoid6.JumpPower = 100
  1093. Humanoid6.LeftLeg = Part18
  1094. Humanoid6.MaxHealth = 50
  1095. Humanoid6.RightLeg = Part21
  1096. Humanoid6.Torso = Part15
  1097. Humanoid6.WalkSpeed = 0.0099999997764826
  1098. Humanoid6.maxHealth = 50
  1099. Part7.Name = "Head"
  1100. Part7.Parent = Model4
  1101. Part7.CFrame = CFrame.new(0.705411971, 4.49999905, -19.0810223, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  1102. Part7.Orientation = Vector3.new(0, 179.660004, 0)
  1103. Part7.Position = Vector3.new(0.705411971, 4.49999905, -19.0810223)
  1104. Part7.Rotation = Vector3.new(-180, 0.340000004, -180)
  1105. Part7.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1106. Part7.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  1107. Part7.Size = Vector3.new(2, 1, 1)
  1108. Part7.BrickColor = BrickColor.new("Cool yellow")
  1109. Part7.TopSurface = Enum.SurfaceType.Smooth
  1110. Part7.brickColor = BrickColor.new("Cool yellow")
  1111. Part7.FormFactor = Enum.FormFactor.Symmetric
  1112. Part7.formFactor = Enum.FormFactor.Symmetric
  1113. SpecialMesh8.Parent = Part7
  1114. SpecialMesh8.MeshId = "rbxassetid://430073345"
  1115. SpecialMesh8.Offset = Vector3.new(0.109999999, -0.600000024, 0.100000001)
  1116. SpecialMesh8.TextureId = "rbxassetid://430073362"
  1117. SpecialMesh8.MeshType = Enum.MeshType.FileMesh
  1118. Sound9.Name = "Voice"
  1119. Sound9.Parent = Part7
  1120. Sound9.Looped = true
  1121. Sound9.SoundId = "rbxassetid://615716445"
  1122. Sound9.Volume = 2
  1123. PitchShiftSoundEffect10.Parent = Sound9
  1124. PitchShiftSoundEffect10.Octave = 0.5
  1125. Dialog11.Parent = Part7
  1126. Dialog11.GoodbyeDialog = "..."
  1127. Dialog11.InitialPrompt = "*Spare Sans?*"
  1128. DialogChoice12.Name = "Fight"
  1129. DialogChoice12.Parent = Dialog11
  1130. DialogChoice12.GoodbyeDialog = ".."
  1131. DialogChoice12.ResponseDialog = "... you're sparing me? finally. buddy. pal. i know how hard it must be... to make that choice. to go back on everything you've worked up to. i want you to know... i won't let it go to waste. ... c'mere, pal."
  1132. DialogChoice12.UserDialog = "Spare"
  1133. Script13.Parent = Dialog11
  1134. table.insert(cors,sandbox(Script13,function()
  1135. script.Parent.InUse = true
  1136. function clk(player, choice)
  1137. if choice == script.Parent.Fight then
  1138. local Charecter = game.Workspace:FindFirstChild("player")
  1139. local human = Charecter.Humanoid
  1140.  
  1141. local human = player:FindFirstChild("Humanoid")
  1142. for i= 1,999999999999999 do
  1143. human:TakeDamage(10)
  1144. wait(.1)
  1145. end
  1146. end
  1147. end
  1148. script.Parent.DialogChoiceSelected:connect(clk)
  1149.  
  1150. end))
  1151. ParticleEmitter14.Name = "SWet"
  1152. ParticleEmitter14.Parent = Part7
  1153. ParticleEmitter14.Speed = NumberRange.new(3, 3)
  1154. ParticleEmitter14.Enabled = false
  1155. ParticleEmitter14.ZOffset = 1
  1156. ParticleEmitter14.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
  1157. ParticleEmitter14.Acceleration = Vector3.new(0, -12, 0)
  1158. ParticleEmitter14.Rate = 50
  1159. Part15.Name = "HumanoidRootPart"
  1160. Part15.Parent = Model4
  1161. Part15.CFrame = CFrame.new(0.705411971, 2.99999905, -19.0810223, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  1162. Part15.Orientation = Vector3.new(0, 179.660004, 0)
  1163. Part15.Position = Vector3.new(0.705411971, 2.99999905, -19.0810223)
  1164. Part15.Rotation = Vector3.new(-180, 0.340000004, -180)
  1165. Part15.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1166. Part15.Transparency = 1
  1167. Part15.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  1168. Part15.Size = Vector3.new(2, 2, 1)
  1169. Part15.BottomSurface = Enum.SurfaceType.Smooth
  1170. Part15.BrickColor = BrickColor.new("Bright blue")
  1171. Part15.CanCollide = false
  1172. Part15.LeftParamA = 0
  1173. Part15.LeftParamB = 0
  1174. Part15.RightParamA = 0
  1175. Part15.RightParamB = 0
  1176. Part15.TopSurface = Enum.SurfaceType.Smooth
  1177. Part15.brickColor = BrickColor.new("Bright blue")
  1178. Part15.FormFactor = Enum.FormFactor.Symmetric
  1179. Part15.formFactor = Enum.FormFactor.Symmetric
  1180. Motor6D16.Name = "RootJoint"
  1181. Motor6D16.Parent = Part15
  1182. Motor6D16.MaxVelocity = 0.10000000149012
  1183. Motor6D16.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1184. Motor6D16.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1185. Motor6D16.Part0 = Part15
  1186. Motor6D16.Part1 = Part23
  1187. Motor6D16.part1 = Part23
  1188. Part17.Name = "Left Arm"
  1189. Part17.Parent = Model4
  1190. Part17.CFrame = CFrame.new(2.20538521, 2.99999905, -19.0720825, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  1191. Part17.Orientation = Vector3.new(0, 179.660004, 0)
  1192. Part17.Position = Vector3.new(2.20538521, 2.99999905, -19.0720825)
  1193. Part17.Rotation = Vector3.new(-180, 0.340000004, -180)
  1194. Part17.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1195. Part17.Transparency = 1
  1196. Part17.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  1197. Part17.Size = Vector3.new(1, 2, 1)
  1198. Part17.BrickColor = BrickColor.new("Cool yellow")
  1199. Part17.CanCollide = false
  1200. Part17.brickColor = BrickColor.new("Cool yellow")
  1201. Part17.FormFactor = Enum.FormFactor.Symmetric
  1202. Part17.formFactor = Enum.FormFactor.Symmetric
  1203. Part18.Name = "Left Leg"
  1204. Part18.Parent = Model4
  1205. Part18.CFrame = CFrame.new(1.20540309, 0.999999046, -19.078043, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  1206. Part18.Orientation = Vector3.new(0, 179.660004, 0)
  1207. Part18.Position = Vector3.new(1.20540309, 0.999999046, -19.078043)
  1208. Part18.Rotation = Vector3.new(-180, 0.340000004, -180)
  1209. Part18.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1210. Part18.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  1211. Part18.Size = Vector3.new(1, 2, 1)
  1212. Part18.BottomSurface = Enum.SurfaceType.Smooth
  1213. Part18.BrickColor = BrickColor.new("Bright blue")
  1214. Part18.CanCollide = false
  1215. Part18.brickColor = BrickColor.new("Bright blue")
  1216. Part18.FormFactor = Enum.FormFactor.Symmetric
  1217. Part18.formFactor = Enum.FormFactor.Symmetric
  1218. SpecialMesh19.Parent = Part18
  1219. SpecialMesh19.MeshId = "rbxassetid://430069778"
  1220. SpecialMesh19.Offset = Vector3.new(-0.0500000007, 0.0250000004, -0.100000001)
  1221. SpecialMesh19.TextureId = "rbxassetid://430070605"
  1222. SpecialMesh19.MeshType = Enum.MeshType.FileMesh
  1223. Part20.Name = "Right Arm"
  1224. Part20.Parent = Model4
  1225. Part20.CFrame = CFrame.new(-0.794561327, 2.99999905, -19.089962, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  1226. Part20.Orientation = Vector3.new(0, 179.660004, 0)
  1227. Part20.Position = Vector3.new(-0.794561327, 2.99999905, -19.089962)
  1228. Part20.Rotation = Vector3.new(-180, 0.340000004, -180)
  1229. Part20.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1230. Part20.Transparency = 1
  1231. Part20.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  1232. Part20.Size = Vector3.new(1, 2, 1)
  1233. Part20.BrickColor = BrickColor.new("Cool yellow")
  1234. Part20.CanCollide = false
  1235. Part20.brickColor = BrickColor.new("Cool yellow")
  1236. Part20.FormFactor = Enum.FormFactor.Symmetric
  1237. Part20.formFactor = Enum.FormFactor.Symmetric
  1238. Part21.Name = "Right Leg"
  1239. Part21.Parent = Model4
  1240. Part21.CFrame = CFrame.new(0.205420852, 0.999999046, -19.0840015, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  1241. Part21.Orientation = Vector3.new(0, 179.660004, 0)
  1242. Part21.Position = Vector3.new(0.205420852, 0.999999046, -19.0840015)
  1243. Part21.Rotation = Vector3.new(-180, 0.340000004, -180)
  1244. Part21.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1245. Part21.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  1246. Part21.Size = Vector3.new(1, 2, 1)
  1247. Part21.BottomSurface = Enum.SurfaceType.Smooth
  1248. Part21.BrickColor = BrickColor.new("Bright blue")
  1249. Part21.CanCollide = false
  1250. Part21.brickColor = BrickColor.new("Bright blue")
  1251. Part21.FormFactor = Enum.FormFactor.Symmetric
  1252. Part21.formFactor = Enum.FormFactor.Symmetric
  1253. SpecialMesh22.Parent = Part21
  1254. SpecialMesh22.MeshId = "rbxassetid://430070587"
  1255. SpecialMesh22.Offset = Vector3.new(0.200000003, 0, 0)
  1256. SpecialMesh22.TextureId = "rbxassetid://430070605"
  1257. SpecialMesh22.MeshType = Enum.MeshType.FileMesh
  1258. Part23.Name = "Torso"
  1259. Part23.Parent = Model4
  1260. Part23.CFrame = CFrame.new(0.705411971, 2.99999905, -19.0810223, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  1261. Part23.Orientation = Vector3.new(0, 179.660004, 0)
  1262. Part23.Position = Vector3.new(0.705411971, 2.99999905, -19.0810223)
  1263. Part23.Rotation = Vector3.new(-180, 0.340000004, -180)
  1264. Part23.Color = Color3.new(0.156863, 0.498039, 0.278431)
  1265. Part23.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  1266. Part23.Size = Vector3.new(2, 2, 1)
  1267. Part23.BrickColor = BrickColor.new("Dark green")
  1268. Part23.LeftParamA = 0
  1269. Part23.LeftParamB = 0
  1270. Part23.LeftSurface = Enum.SurfaceType.Weld
  1271. Part23.RightParamA = 0
  1272. Part23.RightParamB = 0
  1273. Part23.RightSurface = Enum.SurfaceType.Weld
  1274. Part23.brickColor = BrickColor.new("Dark green")
  1275. Part23.FormFactor = Enum.FormFactor.Symmetric
  1276. Part23.formFactor = Enum.FormFactor.Symmetric
  1277. Motor6D24.Name = "Right Shoulder"
  1278. Motor6D24.Parent = Part23
  1279. Motor6D24.MaxVelocity = 0.10000000149012
  1280. Motor6D24.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1281. Motor6D24.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1282. Motor6D24.Part0 = Part23
  1283. Motor6D24.Part1 = Part20
  1284. Motor6D24.part1 = Part20
  1285. Motor6D25.Name = "Left Shoulder"
  1286. Motor6D25.Parent = Part23
  1287. Motor6D25.MaxVelocity = 0.10000000149012
  1288. Motor6D25.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1289. Motor6D25.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1290. Motor6D25.Part0 = Part23
  1291. Motor6D25.Part1 = Part17
  1292. Motor6D25.part1 = Part17
  1293. Motor6D26.Name = "Right Hip"
  1294. Motor6D26.Parent = Part23
  1295. Motor6D26.MaxVelocity = 0.10000000149012
  1296. Motor6D26.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1297. Motor6D26.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1298. Motor6D26.Part0 = Part23
  1299. Motor6D26.Part1 = Part21
  1300. Motor6D26.part1 = Part21
  1301. Motor6D27.Name = "Left Hip"
  1302. Motor6D27.Parent = Part23
  1303. Motor6D27.MaxVelocity = 0.10000000149012
  1304. Motor6D27.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1305. Motor6D27.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1306. Motor6D27.Part0 = Part23
  1307. Motor6D27.Part1 = Part18
  1308. Motor6D27.part1 = Part18
  1309. Motor6D28.Name = "Neck"
  1310. Motor6D28.Parent = Part23
  1311. Motor6D28.MaxVelocity = 0.10000000149012
  1312. Motor6D28.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1313. Motor6D28.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1314. Motor6D28.Part0 = Part23
  1315. Motor6D28.Part1 = Part7
  1316. Motor6D28.part1 = Part7
  1317. Decal29.Name = "roblox"
  1318. Decal29.Parent = Part23
  1319. SpecialMesh30.Parent = Part23
  1320. SpecialMesh30.MeshId = "rbxassetid://430072717"
  1321. SpecialMesh30.Offset = Vector3.new(0.109999999, -0.300000012, 0.100000001)
  1322. SpecialMesh30.TextureId = "rbxassetid://430072723"
  1323. SpecialMesh30.MeshType = Enum.MeshType.FileMesh
  1324. ParticleEmitter31.Name = "MissGui"
  1325. ParticleEmitter31.Parent = Part23
  1326. ParticleEmitter31.LightInfluence = 1
  1327. ParticleEmitter31.Texture = "rbxassetid://893928449"
  1328. ParticleEmitter31.Acceleration = Vector3.new(0, -3, 0)
  1329. ParticleEmitter31.Lifetime = NumberRange.new(5, 5)
  1330. ParticleEmitter31.Rate = 0
  1331. Sound32.Name = "Magic"
  1332. Sound32.Parent = Part23
  1333. Sound32.Pitch = 0.94999998807907
  1334. Sound32.PlaybackSpeed = 0.94999998807907
  1335. Sound32.SoundId = "rbxassetid://446961725"
  1336. Sound32.Volume = 1
  1337. Script33.Name = "PushPack"
  1338. Script33.Parent = Part23
  1339. table.insert(cors,sandbox(Script33,function()
  1340. door = script.Parent
  1341.  
  1342. function onTouch(hit)
  1343. if hit.Parent == nil then return end
  1344. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1345. if h ~= nil then
  1346. hit.Parent.Torso.Velocity=door.CFrame.lookVector * 100 -- Push the Player back
  1347. script.Parent.Magic.Playing = true
  1348. end
  1349. end
  1350. door.Touched:connect(onTouch)
  1351. end))
  1352. Script33.Disabled = true
  1353. Sound34.Parent = Part23
  1354. Sound34.PlayOnRemove = true
  1355. Sound34.SoundId = "rbxassetid://427025525"
  1356. Sound34.Volume = 10
  1357. Sound35.Name = "HitSound"
  1358. Sound35.Parent = Part23
  1359. Sound35.SoundId = "rbxassetid://388826051"
  1360. Sound35.Volume = 5
  1361. ParticleEmitter36.Name = "Bleed"
  1362. ParticleEmitter36.Parent = Part23
  1363. ParticleEmitter36.Speed = NumberRange.new(3, 3)
  1364. ParticleEmitter36.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1365. ParticleEmitter36.Enabled = false
  1366. ParticleEmitter36.ZOffset = 1
  1367. ParticleEmitter36.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
  1368. ParticleEmitter36.Acceleration = Vector3.new(0, -12, 0)
  1369. ParticleEmitter36.EmissionDirection = Enum.NormalId.Front
  1370. ParticleEmitter36.Rate = 50
  1371. Camera37.Name = "ThumbnailCamera"
  1372. Camera37.Parent = Model4
  1373. Camera37.CFrame = CFrame.new(-14.8329964, 1.63690138, -18.4846897, 0.999122858, -0.00722842105, -0.0412463434, -0, 0.98498857, -0.172619238, 0.0418749452, 0.172467828, 0.984124601)
  1374. Camera37.CoordinateFrame = CFrame.new(-14.8329964, 1.63690138, -18.4846897, 0.999122858, -0.00722842105, -0.0412463434, -0, 0.98498857, -0.172619238, 0.0418749452, 0.172467828, 0.984124601)
  1375. Camera37.Focus = CFrame.new(-14.6267643, 2.49999905, -23.4053211, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1376. Camera37.focus = CFrame.new(-14.6267643, 2.49999905, -23.4053211, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1377. Script38.Name = "Sans_Main"
  1378. Script38.Parent = Model4
  1379. table.insert(cors,sandbox(Script38,function()
  1380. debris = game:GetService("Debris")
  1381. gui =false
  1382. ded = false
  1383. diffaculty= 0
  1384. Talk = script.Parent.TalkScript
  1385. function findNearestTorso(pos)
  1386. local list = game.Workspace:children()
  1387. local torso = nil
  1388. local dist = 300 + script.Parent.Humanoid.MaxHealth-script.Parent.Humanoid.Health --This Line Right Here
  1389. local temp = nil
  1390. local human = nil
  1391. local temp2 = nil
  1392. for x = 1, #list do
  1393. temp2 = list[x]
  1394. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  1395. temp = temp2:findFirstChild("Torso")
  1396. human = temp2:findFirstChildOfClass("Humanoid")
  1397. Friend = temp2:findFirstChild("Team")
  1398. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) and (Friend == nil) or (temp ~= nil) and (human ~= nil) and (human.Health > 0) and (Friend.Value ~= script.Parent.Team.Value) then
  1399. if (temp.Position - pos).magnitude < dist then
  1400. torso = temp
  1401. dist = (temp.Position - pos).magnitude
  1402. end
  1403. end
  1404. end
  1405. end
  1406. return torso
  1407. end
  1408. gui = false
  1409. function Dodge()
  1410. local orgin = script.Parent.Torso.Position
  1411. script.Parent.Humanoid.Health = script.Parent.Humanoid.MaxHealth
  1412. local direction = math.random(1,2)
  1413. if direction ==1 then script.Parent.Torso.Velocity = CFrame.Angles(0,math.pi/2,0)* script.Parent.Torso.CFrame.lookVector * (-100) end
  1414. if direction == 2 then script.Parent.Torso.Velocity = CFrame.Angles(0,math.pi/2,0)* script.Parent.Torso.CFrame.lookVector * (100) end
  1415. if ded == false then script.Parent.Humanoid.Sit = false end
  1416. if gui== false then
  1417. gui = true
  1418.  
  1419. if diffaculty ~= 28 and diffaculty ~=9 then
  1420. script.Parent.Torso.MissGui:Emit(1)
  1421. if diffaculty == 0 then
  1422. wait(.5)
  1423. script.Parent:MoveTo(orgin)
  1424. script.Parent.Torso.Velocity = script.Parent.Torso.Velocity*0
  1425. game:GetService("Chat"):Chat(script.Parent.Head, "What. you think im just gonna Stand there and take it?", "Red")
  1426. script.Parent.Head.Voice:Play()
  1427. wait(4)
  1428. script.Parent.Head.Voice:Stop()
  1429. wait(1)
  1430. script.Parent.Torso.PushPack.Disabled = false
  1431. Talk.Disabled = false
  1432. end
  1433. diffaculty = diffaculty+1
  1434. if diffaculty== 1 then
  1435. local target = findNearestTorso(script.Parent.Torso.Position)
  1436. if target ~= nil and ded == false then
  1437. for i = 1,15 do
  1438. Grattack(target.Position)
  1439. end
  1440.  
  1441. end
  1442. for i = 1,7 do
  1443. GasterBlaster()
  1444. end
  1445. for i = 1,5 do
  1446. for i = 1,7 do
  1447. if target ~= nil then
  1448. lookAt = (target.Position - script.Parent.Torso.Position).unit
  1449. Fire(lookAt)
  1450. end
  1451. end
  1452.  
  1453.  
  1454. wait(.1)
  1455. end
  1456.  
  1457. end
  1458. GasterBlaster()
  1459. print(diffaculty)
  1460. script.Parent.Megalovania.Playing = true
  1461.  
  1462. else
  1463.  
  1464. if diffaculty == 28 then
  1465. Talk.Disabled = true
  1466. script.Parent.Torso.Bleed.Enabled = true
  1467. script.Parent.Torso.Anchored = true
  1468. script.Parent.Head.SWet.Enabled= false
  1469. ded = true
  1470. script.Parent.Humanoid.Sit = true
  1471. script.Parent.Megalovania.Playing = false
  1472. script.Parent.Torso.HitSound:Play()
  1473. wait(1)
  1474. game:GetService("Chat"):Chat(script.Parent.Head, "... ... ... so... guess that's it, huh? ... just... don't say i didn't warn you. welp. i'm going to grillby's. papyrus, do you want anything?", "Red")
  1475. script.Parent.Head.Voice:Play()
  1476.  
  1477. wait(4)
  1478. script.Parent.Head.Voice:Stop()
  1479. script.Parent.Humanoid.Sit = false
  1480. wait(1)
  1481. game:GetService("Chat"):Chat(script.Parent.Head, "Papyrus, do you want anything?", "Red")
  1482. script.Parent.Head.Voice:Play()
  1483.  
  1484. wait(4)
  1485. script.Parent.Head.Voice:Stop()
  1486. script.Parent.Humanoid.Health = 0
  1487. wait()
  1488. script.Parent:Destroy()
  1489. else
  1490. script.Parent.Torso.Anchored = true
  1491. ded = true
  1492. game:GetService("Chat"):Chat(script.Parent.Head, "ugh... that being said... you, uh, really like swinging that thing around, huh?", "Red")
  1493. script.Parent.Megalovania.Playing = false
  1494. Talk.Disabled = true
  1495. Talk = script.Parent.TalkScript2
  1496. script.Parent.Head.Voice:Play()
  1497. wait(3)
  1498. script.Parent.Head.Voice:Stop()
  1499. wait(1)
  1500. game:GetService("Chat"):Chat(script.Parent.Head, "i know you didn't answer me before, but... somewhere in there. i can feel it. there's a glimmer of a good person inside of you. the memory of someone who once wanted to do the right thing. someone who, in another time, might have even been... a friend? c'mon, buddy. do you remember me? please, if you're listening... let's forget all of this, ok? just lay down your weapon, and... well, my job will be a lot easier.", "Red")
  1501. Talk.Disabled = true
  1502. script.Parent.Head.Voice:Play()
  1503. wait(3)
  1504. script.Parent.Head.Voice:Stop()
  1505. wait(1)
  1506. script.Parent.Head.Dialog.InUse = false
  1507.  
  1508. wait(10)
  1509.  
  1510.  
  1511.  
  1512. script.Parent.Head.Dialog.InUse= true
  1513. game:GetService("Chat"):Chat(script.Parent.Head, "welp, it was worth a shot. guess you like doing things the hard way, huh?", "Red")
  1514. Talk.Disabled = false
  1515. script.Parent.Head.Voice:Play()
  1516. wait(3)
  1517. script.Parent.Head.Voice:Stop()
  1518. wait(1)
  1519. script.Parent.Torso.Anchored = false
  1520. script.Parent.Megalovania.TimePosition = 0
  1521. script.Parent.Megalovania.Playing = true
  1522. ded = false
  1523. diffaculty = 10
  1524. end
  1525. end
  1526. wait(5)
  1527. script.Parent:MoveTo(orgin)
  1528. gui = false
  1529. end
  1530. end
  1531. function Grattack(Pos)
  1532. local missile = Instance.new("Part")
  1533. missile.Position = Pos+Vector3.new(math.random(-3,3),-1,math.random(-3,3))
  1534. local size = math.random(2,3)
  1535. missile.Size = Vector3.new(2,size,2)
  1536. missile.Anchored = true
  1537. missile.Transparency = 1
  1538. missile.BrickColor = BrickColor.White()
  1539. missile.Shape = 1
  1540. missile.BottomSurface = 0
  1541. missile.TopSurface = 0
  1542. missile.Elasticity = .05
  1543. missile.Friction = .7
  1544. missile.Name = "Bullet"
  1545. local force = Instance.new("BodyForce")
  1546. force.force = Vector3.new(0,missile:GetMass()*196.175,0)
  1547. force.Parent = missile
  1548. script.Mesh:Clone().Parent = missile
  1549. local new_script = script.Ground_Attack:clone()
  1550. new_script.Disabled = false
  1551. new_script.Parent = missile
  1552. debris:AddItem(missile,10)
  1553.  
  1554. missile.Parent = game.Workspace
  1555.  
  1556. end
  1557. function GasterBlaster()
  1558. local Blaster = Instance.new("Part")
  1559. Blaster.Position = script.Parent.Head.Position+Vector3.new(0,5,0)
  1560. Blaster.Size = Vector3.new(2,2,2)
  1561. local MainScript = script.Gaster_Blaster_Main:Clone()
  1562. MainScript.Parent = Blaster
  1563. Blaster.Parent = workspace
  1564. MainScript.Disabled = false
  1565. end
  1566.  
  1567. function Fire(v) -- this function is outside since it is defined by the actions part of the script
  1568.  
  1569. local noise = Vector3.new(math.random() - .7, math.random() - .7, math.random() - .7).unit
  1570. v = (v + (noise * diffaculty*.01)).unit
  1571.  
  1572. local spawnPos = script.Parent.Torso.Position
  1573.  
  1574. spawnPos = spawnPos + (v * 10)
  1575.  
  1576. local missile = Instance.new("Part")
  1577. missile.Position = spawnPos
  1578. local size = math.random(2,3)
  1579. missile.Size = Vector3.new(1,size,1)
  1580.  
  1581. missile.Velocity = v * 100
  1582. missile.BrickColor = BrickColor.White()
  1583. missile.Shape = 1
  1584. missile.BottomSurface = 0
  1585. missile.TopSurface = 0
  1586. missile.Elasticity = .05
  1587. missile.Friction = .7
  1588. missile.Name = "Bullet"
  1589. local force = Instance.new("BodyForce")
  1590. force.force = Vector3.new(0,missile:GetMass()*196.175,0)
  1591. force.Parent = missile
  1592. script.Mesh:Clone().Parent = missile
  1593. local new_script = script.LightScript:clone()
  1594. new_script.Disabled = false
  1595. new_script.Parent = missile
  1596. debris:AddItem(missile,10)
  1597.  
  1598. missile.Parent = game.Workspace
  1599. end
  1600. script.Parent.Humanoid.HealthChanged:connect(Dodge)
  1601. while true do
  1602. wait(0.1)
  1603. if diffaculty > 15 then
  1604. script.Parent.Head.SWet.Enabled = true
  1605. end
  1606. local target = findNearestTorso(script.Parent.Torso.Position)
  1607. if target ~= nil and ded == false then
  1608.  
  1609. lookAt = (target.Position - script.Parent.Torso.Position).unit
  1610. local rng = math.random(1,31-diffaculty)
  1611. script.Parent.Humanoid:MoveTo(target.Position, target)
  1612. if rng ==1 or rng ==3 then
  1613. local test = target.Parent:FindFirstChild("Stun")
  1614. if test == nil then
  1615. local stun = script.Stun:Clone()
  1616. stun.Parent = target.Parent
  1617. stun.Disabled = false
  1618. end
  1619. end
  1620. if (target.Position - script.Parent.Torso.Position).magnitude > 150 then
  1621. script.Parent:MoveTo(target.Position+Vector3.new(math.random(-70,70),math.random(0,0),math.random(-70,70)))
  1622. end
  1623. if rng == 2 or rng == 5 or rng == 4 then
  1624. GasterBlaster()
  1625. end
  1626. if rng > 2 then
  1627.  
  1628. for i = 1,1+diffaculty do
  1629. if target ~= nil then
  1630. lookAt = (target.Position - script.Parent.Torso.Position).unit
  1631. end
  1632. Fire(lookAt)
  1633. wait(.1)
  1634. end
  1635.  
  1636.  
  1637. if diffaculty > 9 then
  1638. for i = 1,10 do
  1639. Grattack(target.Position)
  1640. end
  1641. script.Parent.Torso.Magic:Play()
  1642. script.Parent:MoveTo(script.Parent.Torso.Position+Vector3.new(math.random(-30-diffaculty,30+diffaculty),math.random(0,0),math.random(-30-diffaculty,30+diffaculty)))
  1643. for i = 1,1+diffaculty do
  1644. if target ~= nil then
  1645. lookAt = (target.Position - script.Parent.Torso.Position).unit
  1646. end
  1647. Fire(lookAt)
  1648. wait(.1)
  1649. end
  1650.  
  1651. GasterBlaster()
  1652. wait(math.random(.1,1))
  1653. GasterBlaster()
  1654. end
  1655. end
  1656. wait()
  1657. script.Parent.Torso.Magic:Play()
  1658. script.Parent:MoveTo(script.Parent.Torso.Position+Vector3.new(math.random(-30,30),math.random(0,0),math.random(-30,30)))
  1659. wait(5-diffaculty*.1)
  1660. if (target.Position - script.Parent.Torso.Position).magnitude > 150 then
  1661. script.Parent:MoveTo(target.Position+Vector3.new(math.random(-70,70),math.random(0,0),math.random(-70,70)))
  1662. end
  1663. else
  1664. diffaculty = 0
  1665. script.Parent.Megalovania.Playing = false
  1666. script.Parent.Megalovania.TimePosition = 0
  1667. Talk.Disabled = true
  1668. local Aipath = workspace:FindFirstChild("Ai_Path")
  1669.  
  1670. if Aipath then
  1671. if workspace.Ai_Path:FindFirstChild("a")~=nil then script.Parent.Humanoid.WalkToPart = workspace.Ai_Path.a end
  1672. wait(2)
  1673. if workspace.Ai_Path:FindFirstChild("b")~=nil then script.Parent.Humanoid.WalkToPart = workspace.Ai_Path.b end
  1674. wait(2)
  1675. if workspace.Ai_Path:FindFirstChild("c")~=nil then script.Parent.Humanoid.WalkToPart = workspace.Ai_Path.c end
  1676. wait(2)
  1677. if workspace.Ai_Path:FindFirstChild("d")~=nil then script.Parent.Humanoid.WalkToPart = workspace.Ai_Path.d end
  1678. wait(2)
  1679. else
  1680.  
  1681. script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position+Vector3.new(math.random(-60,60),0,math.random(-60,60)))
  1682. wait(1)
  1683. end
  1684. end
  1685. end
  1686. end))
  1687. Script39.Name = "LightScript"
  1688. Script39.Parent = Script38
  1689. table.insert(cors,sandbox(Script39,function()
  1690. debris = game:GetService("Debris")
  1691. Bolt = script.Parent
  1692. damage = script.Damage.Value
  1693.  
  1694. function onTouched(hit)
  1695. if hit.Name ~= "Bullet" and hit.Parent.Name ~= "Sans" then
  1696.  
  1697.  
  1698. debris:AddItem(Bolt,1)
  1699. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1700. if humanoid then
  1701. if hit.Name == "Head" then
  1702. humanoid:TakeDamage(damage*2)
  1703.  
  1704. local ed =script.Effect:Clone()-- RAINBOWS RAINOW
  1705. ed.Parent = hit
  1706. ed.Disabled = false
  1707.  
  1708. end
  1709. if hit.Name~= "Head" then
  1710. humanoid:TakeDamage(damage)
  1711.  
  1712. local ed =script.Effect:Clone()-- RAINBOWS RAINOW
  1713. ed.Parent = hit
  1714. ed.Disabled = false
  1715.  
  1716. end
  1717. end
  1718. if humanoid == nil then
  1719. local humanoid = hit.Parent.Parent:FindFirstChild("Humanoid")
  1720. if humanoid == nil and hit.Name~= "Handle" then
  1721. hit:BreakJoints()
  1722. Bolt:Destroy()
  1723. end
  1724. if humanoid then
  1725. humanoid:TakeDamage(25)
  1726. end
  1727. end
  1728. end
  1729. end
  1730. Bolt.Touched:connect(onTouched)
  1731. end))
  1732. Script39.Disabled = true
  1733. NumberValue40.Name = "Damage"
  1734. NumberValue40.Parent = Script39
  1735. NumberValue40.Value = 1
  1736. Script41.Name = "Effect"
  1737. Script41.Parent = Script39
  1738. table.insert(cors,sandbox(Script41,function()
  1739. local human = script.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1740. wait(1)
  1741. for i=1,5 do
  1742. human:TakeDamage(1)
  1743. wait(.5)
  1744. end
  1745. script:Destroy()
  1746. end))
  1747. Script41.Disabled = true
  1748. SpecialMesh42.Parent = Script38
  1749. SpecialMesh42.MeshId = "rbxassetid://465130937"
  1750. SpecialMesh42.Scale = Vector3.new(0.0199999996, 0.0199999996, 0.0199999996)
  1751. SpecialMesh42.MeshType = Enum.MeshType.FileMesh
  1752. Script43.Name = "Ground_Attack"
  1753. Script43.Parent = Script38
  1754. table.insert(cors,sandbox(Script43,function()
  1755. debris = game:GetService("Debris")
  1756. Bolt = script.Parent
  1757. local damage = script.Damage.Value
  1758. script.Parent.CanCollide = false
  1759. script.SelectionBox.Adornee= script.Parent
  1760. script.Notice.Parent = script.Parent
  1761. script.Parent.Notice:Play()
  1762. active = false
  1763. wait(.3)
  1764. script.Parent.CanCollide = true
  1765. script.Parent.Transparency = 0
  1766. active = true
  1767. script.SelectionBox:Destroy()
  1768. function hitsome(hit)
  1769. if active == true then
  1770. if hit.Name ~= "Bullet" and hit.Parent.Name ~= "Sans" then
  1771.  
  1772.  
  1773. debris:AddItem(Bolt,5)
  1774. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1775. if humanoid then
  1776. if hit.Name == "Head" then
  1777. humanoid:TakeDamage(damage*2)
  1778.  
  1779. local ed =script.Effect:Clone()-- RAINBOWS RAINOW
  1780. ed.Parent = hit
  1781. ed.Disabled = false
  1782.  
  1783. end
  1784. if hit.Name~= "Head" then
  1785. humanoid:TakeDamage(damage)
  1786.  
  1787. local ed =script.Effect:Clone()-- RAINBOWS RAINOW
  1788. ed.Parent = hit
  1789. ed.Disabled = false
  1790.  
  1791. end
  1792. end
  1793. if humanoid == nil then
  1794. local humanoid = hit.Parent.Parent:FindFirstChild("Humanoid")
  1795. if humanoid == nil then
  1796. Bolt:Destroy()
  1797. end
  1798. if humanoid then
  1799. humanoid:TakeDamage(25)
  1800. end
  1801. end
  1802. end
  1803. end
  1804. end
  1805. script.Parent.Touched:connect(hitsome)
  1806.  
  1807. end))
  1808. Script43.Disabled = true
  1809. SelectionBox44.Parent = Script43
  1810. SelectionBox44.SurfaceColor = BrickColor.new("Really red")
  1811. SelectionBox44.SurfaceColor3 = Color3.new(1, 0, 0)
  1812. Sound45.Name = "Notice"
  1813. Sound45.Parent = Script43
  1814. Sound45.SoundId = "rbxassetid://401680588"
  1815. NumberValue46.Name = "Damage"
  1816. NumberValue46.Parent = Script43
  1817. NumberValue46.Value = 1
  1818. Script47.Name = "Effect"
  1819. Script47.Parent = Script43
  1820. table.insert(cors,sandbox(Script47,function()
  1821. local human = script.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1822. wait(1)
  1823. for i=1,5 do
  1824. human:TakeDamage(1)
  1825. wait(.5)
  1826. end
  1827. script:Destroy()
  1828. end))
  1829. Script47.Disabled = true
  1830. Script48.Name = "Stun"
  1831. Script48.Parent = Script38
  1832. table.insert(cors,sandbox(Script48,function()
  1833. local magic =script.Magic
  1834. local SoulGui= script.BlueSoul
  1835. local Humanoid = script.Parent:FindFirstChildOfClass("Humanoid")
  1836. magic.Parent= script.Parent.Torso
  1837. SoulGui.Parent=script.Parent.Torso
  1838.  
  1839.  
  1840.  
  1841. SoulGui.Enabled = true
  1842. magic:Play()
  1843.  
  1844. direction = math.random(1,5)
  1845. if direction == 1 then
  1846. script.Parent.Torso.Velocity = Vector3.new(0,400,0)
  1847. end
  1848. if direction == 2 then
  1849. script.Parent.Torso.Velocity = Vector3.new(0,400,0)
  1850. end
  1851. if direction == 3 then
  1852. script.Parent.Torso.Velocity = Vector3.new(400,0,0)
  1853. end
  1854. if direction == 4 then
  1855. script.Parent.Torso.Velocity = Vector3.new(-400,0,0)
  1856. end
  1857. if direction == 5 then
  1858. script.Parent.Torso.Velocity = Vector3.new(0,0,400)
  1859. end
  1860. wait(3)
  1861.  
  1862. if SoulGui then SoulGui:Destroy() end
  1863. if magic then magic:Destroy() end
  1864. script:Destroy()
  1865. end))
  1866. Script48.Disabled = true
  1867. BillboardGui49.Name = "BlueSoul"
  1868. BillboardGui49.Parent = Script48
  1869. BillboardGui49.Enabled = false
  1870. BillboardGui49.Size = UDim2.new(1, 0, 1, 0)
  1871. BillboardGui49.AlwaysOnTop = true
  1872. ImageLabel50.Name = "HitText"
  1873. ImageLabel50.Parent = BillboardGui49
  1874. ImageLabel50.Position = UDim2.new(-1, 0, -1, 0)
  1875. ImageLabel50.Size = UDim2.new(3, 0, 3, 0)
  1876. ImageLabel50.BackgroundColor = BrickColor.new("Institutional white")
  1877. ImageLabel50.BackgroundColor3 = Color3.new(1, 1, 1)
  1878. ImageLabel50.BackgroundTransparency = 1
  1879. ImageLabel50.Image = "rbxassetid://338425795"
  1880. Sound51.Name = "Magic"
  1881. Sound51.Parent = Script48
  1882. Sound51.SoundId = "rbxassetid://446961725"
  1883. Sound51.Volume = 5
  1884. Script52.Name = "Gaster_Blaster_Main"
  1885. Script52.Parent = Script38
  1886. table.insert(cors,sandbox(Script52,function()
  1887. script:WaitForChild("Charge").Parent = script.Parent
  1888. script:WaitForChild("Fire").Parent = script.Parent
  1889. script:WaitForChild("Mesh").Parent = script.Parent
  1890. script:WaitForChild("ParticleEmitter").Parent = script.Parent
  1891. script:WaitForChild("BodyPosition").Parent = script.Parent
  1892. script.Parent:WaitForChild("BodyPosition").Position = script.Parent.Position
  1893. function findTorso(pos)
  1894. local torso = nil
  1895. local dist = 1000
  1896. local child = workspace:children()
  1897. for i=1, #child do
  1898. if child[i].className == "Model" and child[i].Name ~= "Sans" then
  1899. local h = child[i]:findFirstChildOfClass("Humanoid")
  1900. if h ~= nil then
  1901. local check = child[i]:findFirstChild("Torso")
  1902. if check ~= nil and h.Health > 1 then
  1903. if (check.Position - pos).magnitude < dist then
  1904. torso = check
  1905. dist = (check.Position - pos).magnitude
  1906. end
  1907. end
  1908. end
  1909. end
  1910. end
  1911. return torso
  1912. end
  1913. function Fire(LookAt)
  1914. script.Parent.RotVelocity = Vector3.new(0,0,0)
  1915. wait(.1)
  1916. local ray = Ray.new(script.Parent.CFrame.p, (LookAt - script.Parent.CFrame.p).unit * 450)
  1917. local part, position = workspace:FindPartOnRay(ray, script.Parent, false, true)
  1918.  
  1919. local beam = Instance.new("Part", workspace)
  1920. beam.BrickColor = BrickColor.White()
  1921. beam.FormFactor = "Custom"
  1922. beam.Material = "Neon"
  1923. beam.Transparency = 0.25
  1924. beam.Anchored = true
  1925. beam.Locked = true
  1926. beam.CanCollide = false
  1927.  
  1928. local distance = (script.Parent.CFrame.p - position).magnitude
  1929.  
  1930. --debris:AddItem(beam,.01)
  1931.  
  1932. beam.Size = Vector3.new(0.5, 0.5, distance)
  1933. beam.CFrame = CFrame.new(script.Parent.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  1934.  
  1935. game:GetService("Debris"):AddItem(beam, 0.1)
  1936.  
  1937. if part then
  1938. local humanoid = part.Parent:FindFirstChildOfClass("Humanoid")
  1939.  
  1940. if not humanoid then
  1941. humanoid = part.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1942. end
  1943.  
  1944. if humanoid then
  1945. if humanoid.Parent.Name ~= "Sans" then
  1946. humanoid:TakeDamage(15)
  1947. local ed =script.Effect:Clone()-- RAINBOWS RAINOW
  1948. ed.Parent = humanoid
  1949. ed.Disabled = false
  1950. end
  1951. else
  1952. if part.Name~= "Handle" and part.Anchored == false then
  1953. part:BreakJoints()
  1954. part.Velocity = script.Parent.CFrame.lookVector*50
  1955. end
  1956. end
  1957.  
  1958. end
  1959.  
  1960. end
  1961. for i = 1,5 do
  1962. wait()
  1963. local torso = findTorso(script.Parent.Position)
  1964. if torso ~= nil then
  1965. script.Parent.CFrame = CFrame.new(script.Parent.Position, torso.Position)
  1966. local pos = torso.Position
  1967. script.Parent.Charge:Play()
  1968. script.Parent.ParticleEmitter.Enabled = true
  1969. wait(1.12)
  1970. script.Parent.ParticleEmitter.Enabled = false
  1971. script.Parent.Fire:Play()
  1972.  
  1973. for i= 1,10 do
  1974. Fire(pos)
  1975. end
  1976. script.Parent.Position= torso.Position + Vector3.new(math.random(-120,120),math.random(5,20),math.random(-120,120))
  1977. script.Parent.BodyPosition.Position = script.Parent.Position
  1978.  
  1979. end
  1980. end
  1981. wait()
  1982. script.Parent:Destroy()
  1983. end))
  1984. Script52.Disabled = true
  1985. SpecialMesh53.Parent = Script52
  1986. SpecialMesh53.MeshId = "http://www.roblox.com/asset/?id=14028428"
  1987. SpecialMesh53.Offset = Vector3.new(0, 1, 0)
  1988. SpecialMesh53.Scale = Vector3.new(2, 2, 2)
  1989. SpecialMesh53.VertexColor = Vector3.new(1000000, 10000, 10000)
  1990. SpecialMesh53.MeshType = Enum.MeshType.FileMesh
  1991. ParticleEmitter54.Parent = Script52
  1992. ParticleEmitter54.Speed = NumberRange.new(0, 0)
  1993. ParticleEmitter54.Enabled = false
  1994. ParticleEmitter54.LightInfluence = 1
  1995. ParticleEmitter54.EmissionDirection = Enum.NormalId.Front
  1996. ParticleEmitter54.Lifetime = NumberRange.new(1, 1)
  1997. ParticleEmitter54.LockedToPart = true
  1998. BodyPosition55.Parent = Script52
  1999. BodyPosition55.MaxForce = Vector3.new(400000, 400000, 400000)
  2000. BodyPosition55.maxForce = Vector3.new(400000, 400000, 400000)
  2001. Sound56.Name = "Fire"
  2002. Sound56.Parent = Script52
  2003. Sound56.SoundId = "rbxassetid://340722848"
  2004. Sound56.Volume = 5
  2005. Sound57.Name = "Charge"
  2006. Sound57.Parent = Script52
  2007. Sound57.SoundId = "rbxassetid://422747271"
  2008. Sound57.Volume = 2
  2009. Script58.Name = "Effect"
  2010. Script58.Parent = Script52
  2011. table.insert(cors,sandbox(Script58,function()
  2012. local human = script.Parent
  2013. wait(1)
  2014. for i=1,20 do
  2015. human:TakeDamage(1)
  2016. wait(.5)
  2017. end
  2018. script:Destroy()
  2019. end))
  2020. Script58.Disabled = true
  2021. BrickColorValue59.Name = "Team"
  2022. BrickColorValue59.Parent = Model4
  2023. Script60.Name = "Animate"
  2024. Script60.Parent = Model4
  2025. table.insert(cors,sandbox(Script60,function()
  2026. function waitForChild(parent, childName)
  2027. local child = parent:findFirstChild(childName)
  2028. if child then return child end
  2029. while true do
  2030. child = parent.ChildAdded:wait()
  2031. if child.Name==childName then return child end
  2032. end
  2033. end
  2034.  
  2035. local Figure = script.Parent
  2036. local Torso = waitForChild(Figure, "Torso")
  2037. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  2038. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  2039. local RightHip = waitForChild(Torso, "Right Hip")
  2040. local LeftHip = waitForChild(Torso, "Left Hip")
  2041. local Neck = waitForChild(Torso, "Neck")
  2042. local Humanoid = waitForChild(Figure, "Humanoid")
  2043. local pose = "Standing"
  2044.  
  2045. local currentAnim = ""
  2046. local currentAnimTrack = nil
  2047. local currentAnimKeyframeHandler = nil
  2048. local currentAnimSpeed = 1.0
  2049. local animTable = {}
  2050. local animNames = {
  2051. idle = {
  2052. { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
  2053. { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
  2054. },
  2055. walk = {
  2056. { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
  2057. },
  2058. run = {
  2059. { id = "run.xml", weight = 10 }
  2060. },
  2061. jump = {
  2062. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  2063. },
  2064. fall = {
  2065. { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
  2066. },
  2067. climb = {
  2068. { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
  2069. },
  2070. toolnone = {
  2071. { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
  2072. },
  2073. toolslash = {
  2074. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  2075. -- { id = "slash.xml", weight = 10 }
  2076. },
  2077. toollunge = {
  2078. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  2079. },
  2080. wave = {
  2081. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  2082. },
  2083. point = {
  2084. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  2085. },
  2086. dance = {
  2087. { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
  2088. { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
  2089. { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
  2090. },
  2091. dance2 = {
  2092. { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
  2093. { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
  2094. { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
  2095. },
  2096. dance3 = {
  2097. { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
  2098. { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
  2099. { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
  2100. },
  2101. laugh = {
  2102. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  2103. },
  2104. cheer = {
  2105. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  2106. },
  2107. }
  2108.  
  2109. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  2110. local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  2111.  
  2112. math.randomseed(tick())
  2113.  
  2114. function configureAnimationSet(name, fileList)
  2115. if (animTable[name] ~= nil) then
  2116. for _, connection in pairs(animTable[name].connections) do
  2117. connection:disconnect()
  2118. end
  2119. end
  2120. animTable[name] = {}
  2121. animTable[name].count = 0
  2122. animTable[name].totalWeight = 0
  2123. animTable[name].connections = {}
  2124.  
  2125. -- check for config values
  2126. local config = script:FindFirstChild(name)
  2127. if (config ~= nil) then
  2128. -- print("Loading anims " .. name)
  2129. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  2130. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  2131. local idx = 1
  2132. for _, childPart in pairs(config:GetChildren()) do
  2133. if (childPart:IsA("Animation")) then
  2134. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  2135. animTable[name][idx] = {}
  2136. animTable[name][idx].anim = childPart
  2137. local weightObject = childPart:FindFirstChild("Weight")
  2138. if (weightObject == nil) then
  2139. animTable[name][idx].weight = 1
  2140. else
  2141. animTable[name][idx].weight = weightObject.Value
  2142. end
  2143. animTable[name].count = animTable[name].count + 1
  2144. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  2145. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  2146. idx = idx + 1
  2147. end
  2148. end
  2149. end
  2150.  
  2151. -- fallback to defaults
  2152. if (animTable[name].count <= 0) then
  2153. for idx, anim in pairs(fileList) do
  2154. animTable[name][idx] = {}
  2155. animTable[name][idx].anim = Instance.new("Animation")
  2156. animTable[name][idx].anim.Name = name
  2157. animTable[name][idx].anim.AnimationId = anim.id
  2158. animTable[name][idx].weight = anim.weight
  2159. animTable[name].count = animTable[name].count + 1
  2160. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  2161. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  2162. end
  2163. end
  2164. end
  2165.  
  2166. -- Setup animation objects
  2167. function scriptChildModified(child)
  2168. local fileList = animNames[child.Name]
  2169. if (fileList ~= nil) then
  2170. configureAnimationSet(child.Name, fileList)
  2171. end
  2172. end
  2173.  
  2174. script.ChildAdded:connect(scriptChildModified)
  2175. script.ChildRemoved:connect(scriptChildModified)
  2176.  
  2177.  
  2178. for name, fileList in pairs(animNames) do
  2179. configureAnimationSet(name, fileList)
  2180. end
  2181.  
  2182. -- ANIMATION
  2183.  
  2184. -- declarations
  2185. local toolAnim = "None"
  2186. local toolAnimTime = 0
  2187.  
  2188. local jumpAnimTime = 0
  2189. local jumpAnimDuration = 0.3
  2190.  
  2191. local toolTransitionTime = 0.1
  2192. local fallTransitionTime = 0.3
  2193. local jumpMaxLimbVelocity = 0.75
  2194.  
  2195. -- functions
  2196.  
  2197. function stopAllAnimations()
  2198. local oldAnim = currentAnim
  2199.  
  2200. -- return to idle if finishing an emote
  2201. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  2202. oldAnim = "idle"
  2203. end
  2204.  
  2205. currentAnim = ""
  2206. if (currentAnimKeyframeHandler ~= nil) then
  2207. currentAnimKeyframeHandler:disconnect()
  2208. end
  2209.  
  2210. if (currentAnimTrack ~= nil) then
  2211. currentAnimTrack:Stop()
  2212. currentAnimTrack:Destroy()
  2213. currentAnimTrack = nil
  2214. end
  2215. return oldAnim
  2216. end
  2217.  
  2218. function setAnimationSpeed(speed)
  2219. if speed ~= currentAnimSpeed then
  2220. currentAnimSpeed = speed
  2221. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  2222. end
  2223. end
  2224.  
  2225. function keyFrameReachedFunc(frameName)
  2226. if (frameName == "End") then
  2227. -- print("Keyframe : ".. frameName)
  2228. local repeatAnim = stopAllAnimations()
  2229. local animSpeed = currentAnimSpeed
  2230. playAnimation(repeatAnim, 0.0, Humanoid)
  2231. setAnimationSpeed(animSpeed)
  2232. end
  2233. end
  2234.  
  2235. -- Preload animations
  2236. function playAnimation(animName, transitionTime, humanoid)
  2237. local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
  2238. if (animName ~= currentAnim and not idleFromEmote) then
  2239.  
  2240. if (currentAnimTrack ~= nil) then
  2241. currentAnimTrack:Stop(transitionTime)
  2242. currentAnimTrack:Destroy()
  2243. end
  2244.  
  2245. currentAnimSpeed = 1.0
  2246. local roll = math.random(1, animTable[animName].totalWeight)
  2247. local origRoll = roll
  2248. local idx = 1
  2249. while (roll > animTable[animName][idx].weight) do
  2250. roll = roll - animTable[animName][idx].weight
  2251. idx = idx + 1
  2252. end
  2253. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  2254. local anim = animTable[animName][idx].anim
  2255.  
  2256. -- load it to the humanoid; get AnimationTrack
  2257. currentAnimTrack = humanoid:LoadAnimation(anim)
  2258.  
  2259. -- play the animation
  2260. currentAnimTrack:Play(transitionTime)
  2261. currentAnim = animName
  2262.  
  2263. -- set up keyframe name triggers
  2264. if (currentAnimKeyframeHandler ~= nil) then
  2265. currentAnimKeyframeHandler:disconnect()
  2266. end
  2267. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  2268. end
  2269. end
  2270.  
  2271. -------------------------------------------------------------------------------------------
  2272. -------------------------------------------------------------------------------------------
  2273.  
  2274. local toolAnimName = ""
  2275. local toolAnimTrack = nil
  2276. local currentToolAnimKeyframeHandler = nil
  2277.  
  2278. function toolKeyFrameReachedFunc(frameName)
  2279. if (frameName == "End") then
  2280. -- print("Keyframe : ".. frameName)
  2281. local repeatAnim = stopToolAnimations()
  2282. playToolAnimation(repeatAnim, 0.0, Humanoid)
  2283. end
  2284. end
  2285.  
  2286.  
  2287. function playToolAnimation(animName, transitionTime, humanoid)
  2288. if (animName ~= toolAnimName) then
  2289.  
  2290. if (toolAnimTrack ~= nil) then
  2291. toolAnimTrack:Stop()
  2292. toolAnimTrack:Destroy()
  2293. transitionTime = 0
  2294. end
  2295.  
  2296. local roll = math.random(1, animTable[animName].totalWeight)
  2297. local origRoll = roll
  2298. local idx = 1
  2299. while (roll > animTable[animName][idx].weight) do
  2300. roll = roll - animTable[animName][idx].weight
  2301. idx = idx + 1
  2302. end
  2303. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  2304. local anim = animTable[animName][idx].anim
  2305.  
  2306. -- load it to the humanoid; get AnimationTrack
  2307. toolAnimTrack = humanoid:LoadAnimation(anim)
  2308.  
  2309. -- play the animation
  2310. toolAnimTrack:Play(transitionTime)
  2311. toolAnimName = animName
  2312.  
  2313. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  2314. end
  2315. end
  2316.  
  2317. function stopToolAnimations()
  2318. local oldAnim = toolAnimName
  2319.  
  2320. if (currentToolAnimKeyframeHandler ~= nil) then
  2321. currentToolAnimKeyframeHandler:disconnect()
  2322. end
  2323.  
  2324. toolAnimName = ""
  2325. if (toolAnimTrack ~= nil) then
  2326. toolAnimTrack:Stop()
  2327. toolAnimTrack:Destroy()
  2328. toolAnimTrack = nil
  2329. end
  2330.  
  2331.  
  2332. return oldAnim
  2333. end
  2334.  
  2335. -------------------------------------------------------------------------------------------
  2336. -------------------------------------------------------------------------------------------
  2337.  
  2338.  
  2339. function onRunning(speed)
  2340. if speed>0.01 then
  2341. playAnimation("walk", 0.1, Humanoid)
  2342. pose = "Running"
  2343. else
  2344. playAnimation("idle", 0.1, Humanoid)
  2345. pose = "Standing"
  2346. end
  2347. end
  2348.  
  2349. function onDied()
  2350. pose = "Dead"
  2351. end
  2352.  
  2353. function onJumping()
  2354. playAnimation("jump", 0.1, Humanoid)
  2355. jumpAnimTime = jumpAnimDuration
  2356. pose = "Jumping"
  2357. end
  2358.  
  2359. function onClimbing(speed)
  2360. playAnimation("climb", 0.1, Humanoid)
  2361. setAnimationSpeed(speed / 12.0)
  2362. pose = "Climbing"
  2363. end
  2364.  
  2365. function onGettingUp()
  2366. pose = "GettingUp"
  2367. end
  2368.  
  2369. function onFreeFall()
  2370. if (jumpAnimTime <= 0) then
  2371. playAnimation("fall", fallTransitionTime, Humanoid)
  2372. end
  2373. pose = "FreeFall"
  2374. end
  2375.  
  2376. function onFallingDown()
  2377. pose = "FallingDown"
  2378. end
  2379.  
  2380. function onSeated()
  2381. pose = "Seated"
  2382. end
  2383.  
  2384. function onPlatformStanding()
  2385. pose = "PlatformStanding"
  2386. end
  2387.  
  2388. function onSwimming(speed)
  2389. if speed>0 then
  2390. pose = "Running"
  2391. else
  2392. pose = "Standing"
  2393. end
  2394. end
  2395.  
  2396. function getTool()
  2397. for _, kid in ipairs(Figure:GetChildren()) do
  2398. if kid.className == "Tool" then return kid end
  2399. end
  2400. return nil
  2401. end
  2402.  
  2403. function getToolAnim(tool)
  2404. for _, c in ipairs(tool:GetChildren()) do
  2405. if c.Name == "toolanim" and c.className == "StringValue" then
  2406. return c
  2407. end
  2408. end
  2409. return nil
  2410. end
  2411.  
  2412. function animateTool()
  2413.  
  2414. if (toolAnim == "None") then
  2415. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  2416. return
  2417. end
  2418.  
  2419. if (toolAnim == "Slash") then
  2420. playToolAnimation("toolslash", 0, Humanoid)
  2421. return
  2422. end
  2423.  
  2424. if (toolAnim == "Lunge") then
  2425. playToolAnimation("toollunge", 0, Humanoid)
  2426. return
  2427. end
  2428. end
  2429.  
  2430. function moveSit()
  2431. RightShoulder.MaxVelocity = 0.15
  2432. LeftShoulder.MaxVelocity = 0.15
  2433. RightShoulder:SetDesiredAngle(3.14 /2)
  2434. LeftShoulder:SetDesiredAngle(-3.14 /2)
  2435. RightHip:SetDesiredAngle(3.14 /2)
  2436. LeftHip:SetDesiredAngle(-3.14 /2)
  2437. end
  2438.  
  2439. local lastTick = 0
  2440.  
  2441. function move(time)
  2442. local amplitude = 1
  2443. local frequency = 1
  2444. local deltaTime = time - lastTick
  2445. lastTick = time
  2446.  
  2447. local climbFudge = 0
  2448. local setAngles = false
  2449.  
  2450. if (jumpAnimTime > 0) then
  2451. jumpAnimTime = jumpAnimTime - deltaTime
  2452. end
  2453.  
  2454. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  2455. playAnimation("fall", fallTransitionTime, Humanoid)
  2456. elseif (pose == "Seated") then
  2457. stopAllAnimations()
  2458. moveSit()
  2459. return
  2460. elseif (pose == "Running") then
  2461. playAnimation("walk", 0.1, Humanoid)
  2462. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  2463. -- print("Wha " .. pose)
  2464. amplitude = 0.1
  2465. frequency = 1
  2466. setAngles = true
  2467. end
  2468.  
  2469. if (setAngles) then
  2470. desiredAngle = amplitude * math.sin(time * frequency)
  2471.  
  2472. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  2473. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  2474. RightHip:SetDesiredAngle(-desiredAngle)
  2475. LeftHip:SetDesiredAngle(-desiredAngle)
  2476. end
  2477.  
  2478. -- Tool Animation handling
  2479. local tool = getTool()
  2480. if tool then
  2481.  
  2482. animStringValueObject = getToolAnim(tool)
  2483.  
  2484. if animStringValueObject then
  2485. toolAnim = animStringValueObject.Value
  2486. -- message recieved, delete StringValue
  2487. animStringValueObject.Parent = nil
  2488. toolAnimTime = time + .3
  2489. end
  2490.  
  2491. if time > toolAnimTime then
  2492. toolAnimTime = 0
  2493. toolAnim = "None"
  2494. end
  2495.  
  2496. animateTool()
  2497. else
  2498. stopToolAnimations()
  2499. toolAnim = "None"
  2500. toolAnimTime = 0
  2501. end
  2502. end
  2503.  
  2504. -- connect events
  2505. Humanoid.Died:connect(onDied)
  2506. Humanoid.Running:connect(onRunning)
  2507. Humanoid.Jumping:connect(onJumping)
  2508. Humanoid.Climbing:connect(onClimbing)
  2509. Humanoid.GettingUp:connect(onGettingUp)
  2510. Humanoid.FreeFalling:connect(onFreeFall)
  2511. Humanoid.FallingDown:connect(onFallingDown)
  2512. Humanoid.Seated:connect(onSeated)
  2513. Humanoid.PlatformStanding:connect(onPlatformStanding)
  2514. Humanoid.Swimming:connect(onSwimming)
  2515.  
  2516. -- main program
  2517.  
  2518. local runService = game:service("RunService");
  2519.  
  2520. -- initialize to idle
  2521. playAnimation("idle", 0.1, Humanoid)
  2522. pose = "Standing"
  2523.  
  2524. while Figure.Parent~=nil do
  2525. local _, time = wait(0.1)
  2526. move(time)
  2527. end
  2528.  
  2529.  
  2530.  
  2531. end))
  2532. StringValue61.Name = "climb"
  2533. StringValue61.Parent = Script60
  2534. Animation62.Name = "ClimbAnim"
  2535. Animation62.Parent = StringValue61
  2536. Animation62.AnimationId = "http://www.roblox.com/asset/?id=125750800"
  2537. StringValue63.Name = "fall"
  2538. StringValue63.Parent = Script60
  2539. Animation64.Name = "FallAnim"
  2540. Animation64.Parent = StringValue63
  2541. Animation64.AnimationId = "http://www.roblox.com/asset/?id=125750759"
  2542. StringValue65.Name = "idle"
  2543. StringValue65.Parent = Script60
  2544. Animation66.Name = "Animation1"
  2545. Animation66.Parent = StringValue65
  2546. Animation66.AnimationId = "http://www.roblox.com/asset/?id=125750544"
  2547. NumberValue67.Name = "Weight"
  2548. NumberValue67.Parent = Animation66
  2549. NumberValue67.Value = 9
  2550. Animation68.Name = "Animation2"
  2551. Animation68.Parent = StringValue65
  2552. Animation68.AnimationId = "http://www.roblox.com/asset/?id=125750618"
  2553. NumberValue69.Name = "Weight"
  2554. NumberValue69.Parent = Animation68
  2555. NumberValue69.Value = 1
  2556. StringValue70.Name = "jump"
  2557. StringValue70.Parent = Script60
  2558. Animation71.Name = "JumpAnim"
  2559. Animation71.Parent = StringValue70
  2560. Animation71.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  2561. StringValue72.Name = "run"
  2562. StringValue72.Parent = Script60
  2563. Animation73.Name = "RunAnim"
  2564. Animation73.Parent = StringValue72
  2565. Animation73.AnimationId = "http://www.roblox.com/asset/?id=125749145"
  2566. StringValue74.Name = "toolnone"
  2567. StringValue74.Parent = Script60
  2568. Animation75.Name = "ToolNoneAnim"
  2569. Animation75.Parent = StringValue74
  2570. Animation75.AnimationId = "http://www.roblox.com/asset/?id=125750867"
  2571. StringValue76.Name = "walk"
  2572. StringValue76.Parent = Script60
  2573. Animation77.Name = "WalkAnim"
  2574. Animation77.Parent = StringValue76
  2575. Animation77.AnimationId = "http://www.roblox.com/asset/?id=125749145"
  2576. Script78.Name = "TalkScript"
  2577. Script78.Parent = Model4
  2578. table.insert(cors,sandbox(Script78,function()
  2579. --Credit to minecraftbeast78 for script.
  2580. chatnum = 1
  2581. Chats = {"our reports showed a massive anomaly in the timespace continuum. timelines jumping left and right, stopping and starting","until suddenly, everything ends.","heh heh heh... that's your fault isn't it?","you can't understand how this feels.","knowing that one day, without any warning... it's all going to be reset.","look. i gave up trying to go back a long time ago.","and getting to the surface doesn't really appeal anymore, either.","cause even if we do... we'll just end up right back here, without any memory of it, right?","to be blunt... it makes it kind of hard to give it my all.","or is that just a poor excuse for being lazy...? hell if i know. ","all i know is... seeing what comes next... i can't afford not to care anymore.",} --[[
  2582.  
  2583. Add chats above.
  2584. Put a comma between each chat and put each chat in quotes. ]]
  2585.  
  2586. Color = "Blue" --[[
  2587.  
  2588. Add color above.
  2589. Make sure it is Blue, Green, or Red.
  2590. Also, the first letter needs to be capitalized. ]]
  2591.  
  2592. WaitTime = 15 --[[
  2593.  
  2594. Add the amount of time until another chat appears.
  2595. The chat will disappear automatically after 6 to 7 seconds.
  2596. There is no need to mess with anything below. ]]
  2597. function chat(part, string)
  2598. ch = game:GetService("Chat"):Chat(part, string, Color)
  2599. script.Parent.Head.Voice:Play()
  2600. wait(3)
  2601. script.Parent.Head.Voice:Stop()
  2602. end
  2603.  
  2604. while wait(WaitTime) do
  2605. chat(script.Parent.Head, Chats[chatnum])
  2606. chatnum = chatnum+1
  2607. if chatnum > #Chats then
  2608. chatnum = 1
  2609. end
  2610. end
  2611.  
  2612.  
  2613.  
  2614.  
  2615. end))
  2616. Script78.Disabled = true
  2617. Script79.Name = "TalkScript2"
  2618. Script79.Parent = Model4
  2619. table.insert(cors,sandbox(Script79,function()
  2620. --Credit to minecraftbeast78 for script.
  2621. chatnum = 1
  2622. Chats = {"sounds strange, but before all this i was secretly hoping we could be friends. i always thought the anomaly was doing this cause they were unhappy." ,"and when they got what they wanted, they would stop all this.","and maybe all they needed was... i dunno. some good food, some bad laughs, some nice friends.","but that's ridiculous, right? yeah, you're the type of person who won't EVER be happy.","you'll keep consuming timelines over and over, until... well. hey. take it from me, kid. someday... you gotta learn when to QUIT.","and that day's TODAY","cause... y'see... all this fighting is really tiring me out.","and if you keep pushing me... then i'll be forced to use my special attack.","yeah, my special attack. sound familiar? well, get ready. cause after the next move, i'm going to use it. so, if you don't want to see it, now would be a good time to die. "} --[[
  2623.  
  2624. Add chats above.
  2625. Put a comma between each chat and put each chat in quotes. ]]
  2626.  
  2627. Color = "Blue" --[[
  2628.  
  2629. Add color above.
  2630. Make sure it is Blue, Green, or Red.
  2631. Also, the first letter needs to be capitalized. ]]
  2632.  
  2633. WaitTime = 15 --[[
  2634.  
  2635. Add the amount of time until another chat appears.
  2636. The chat will disappear automatically after 6 to 7 seconds.
  2637. There is no need to mess with anything below. ]]
  2638. function chat(part, string)
  2639. ch = game:GetService("Chat"):Chat(part, string, Color)
  2640. script.Parent.Head.Voice:Play()
  2641. wait(3)
  2642. script.Parent.Head.Voice:Stop()
  2643. end
  2644.  
  2645. while wait(WaitTime) do
  2646. chat(script.Parent.Head, Chats[chatnum])
  2647. chatnum = chatnum+1
  2648. if chatnum > #Chats then
  2649. chatnum = 1
  2650. end
  2651. end
  2652.  
  2653.  
  2654.  
  2655.  
  2656. end))
  2657. Script79.Disabled = true
  2658. Sound80.Name = "Megalovania"
  2659. Sound80.Parent = Model4
  2660. Sound80.SoundId = "rbxassetid://306370481"
  2661. Model81.Name = "CompiledScripts"
  2662. Model81.Parent = mas
  2663. LocalScript82.Name = "Script1"
  2664. LocalScript82.Parent = Model81
  2665. table.insert(cors,sandbox(LocalScript82,function()
  2666. --Converted with ttyyuu12345's model to script plugin v4
  2667. function sandbox(var,func)
  2668. local env = getfenv(func)
  2669. local newenv = setmetatable({},{
  2670. __index = function(self,k)
  2671. if k=="script" then
  2672. return var
  2673. else
  2674. return env[k]
  2675. end
  2676. end,
  2677. })
  2678. setfenv(func,newenv)
  2679. return func
  2680. end
  2681. cors = {}
  2682. mas = Instance.new("Model",game:GetService("Lighting"))
  2683. local chil = workspace:GetChildren()
  2684. for i,v in pairs(chil) do
  2685. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  2686. v:Destroy()
  2687. end
  2688. end
  2689. Camera0 = Instance.new("Camera")
  2690. Part1 = Instance.new("Part")
  2691. Model2 = Instance.new("Model")
  2692. LocalScript3 = Instance.new("LocalScript")
  2693. Model4 = Instance.new("Model")
  2694. BodyColors5 = Instance.new("BodyColors")
  2695. Humanoid6 = Instance.new("Humanoid")
  2696. Part7 = Instance.new("Part")
  2697. SpecialMesh8 = Instance.new("SpecialMesh")
  2698. Sound9 = Instance.new("Sound")
  2699. PitchShiftSoundEffect10 = Instance.new("PitchShiftSoundEffect")
  2700. Dialog11 = Instance.new("Dialog")
  2701. DialogChoice12 = Instance.new("DialogChoice")
  2702. Script13 = Instance.new("Script")
  2703. ParticleEmitter14 = Instance.new("ParticleEmitter")
  2704. Part15 = Instance.new("Part")
  2705. Motor6D16 = Instance.new("Motor6D")
  2706. Part17 = Instance.new("Part")
  2707. Part18 = Instance.new("Part")
  2708. SpecialMesh19 = Instance.new("SpecialMesh")
  2709. Part20 = Instance.new("Part")
  2710. Part21 = Instance.new("Part")
  2711. SpecialMesh22 = Instance.new("SpecialMesh")
  2712. Part23 = Instance.new("Part")
  2713. Motor6D24 = Instance.new("Motor6D")
  2714. Motor6D25 = Instance.new("Motor6D")
  2715. Motor6D26 = Instance.new("Motor6D")
  2716. Motor6D27 = Instance.new("Motor6D")
  2717. Motor6D28 = Instance.new("Motor6D")
  2718. Decal29 = Instance.new("Decal")
  2719. SpecialMesh30 = Instance.new("SpecialMesh")
  2720. ParticleEmitter31 = Instance.new("ParticleEmitter")
  2721. Sound32 = Instance.new("Sound")
  2722. Script33 = Instance.new("Script")
  2723. Sound34 = Instance.new("Sound")
  2724. Sound35 = Instance.new("Sound")
  2725. ParticleEmitter36 = Instance.new("ParticleEmitter")
  2726. Camera37 = Instance.new("Camera")
  2727. Script38 = Instance.new("Script")
  2728. Script39 = Instance.new("Script")
  2729. NumberValue40 = Instance.new("NumberValue")
  2730. Script41 = Instance.new("Script")
  2731. SpecialMesh42 = Instance.new("SpecialMesh")
  2732. Script43 = Instance.new("Script")
  2733. SelectionBox44 = Instance.new("SelectionBox")
  2734. Sound45 = Instance.new("Sound")
  2735. NumberValue46 = Instance.new("NumberValue")
  2736. Script47 = Instance.new("Script")
  2737. Script48 = Instance.new("Script")
  2738. BillboardGui49 = Instance.new("BillboardGui")
  2739. ImageLabel50 = Instance.new("ImageLabel")
  2740. Sound51 = Instance.new("Sound")
  2741. Script52 = Instance.new("Script")
  2742. SpecialMesh53 = Instance.new("SpecialMesh")
  2743. ParticleEmitter54 = Instance.new("ParticleEmitter")
  2744. BodyPosition55 = Instance.new("BodyPosition")
  2745. Sound56 = Instance.new("Sound")
  2746. Sound57 = Instance.new("Sound")
  2747. Script58 = Instance.new("Script")
  2748. BrickColorValue59 = Instance.new("BrickColorValue")
  2749. Script60 = Instance.new("Script")
  2750. StringValue61 = Instance.new("StringValue")
  2751. Animation62 = Instance.new("Animation")
  2752. StringValue63 = Instance.new("StringValue")
  2753. Animation64 = Instance.new("Animation")
  2754. StringValue65 = Instance.new("StringValue")
  2755. Animation66 = Instance.new("Animation")
  2756. NumberValue67 = Instance.new("NumberValue")
  2757. Animation68 = Instance.new("Animation")
  2758. NumberValue69 = Instance.new("NumberValue")
  2759. StringValue70 = Instance.new("StringValue")
  2760. Animation71 = Instance.new("Animation")
  2761. StringValue72 = Instance.new("StringValue")
  2762. Animation73 = Instance.new("Animation")
  2763. StringValue74 = Instance.new("StringValue")
  2764. Animation75 = Instance.new("Animation")
  2765. StringValue76 = Instance.new("StringValue")
  2766. Animation77 = Instance.new("Animation")
  2767. Script78 = Instance.new("Script")
  2768. Script79 = Instance.new("Script")
  2769. Sound80 = Instance.new("Sound")
  2770. Camera0.Parent = mas
  2771. Camera0.CFrame = CFrame.new(-5.53657913, 6.43760109, -16.6288605, 0.365646064, 0.471259266, -0.802631676, -0, 0.862345755, 0.50631988, 0.930754006, -0.185133874, 0.315313309)
  2772. Camera0.CoordinateFrame = CFrame.new(-5.53657913, 6.43760109, -16.6288605, 0.365646064, 0.471259266, -0.802631676, -0, 0.862345755, 0.50631988, 0.930754006, -0.185133874, 0.315313309)
  2773. Camera0.Focus = CFrame.new(0.705411971, 2.49999905, -19.0810223, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2774. Camera0.focus = CFrame.new(0.705411971, 2.49999905, -19.0810223, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2775. Part1.Name = "Baseplate"
  2776. Part1.Parent = mas
  2777. Part1.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2778. Part1.Position = Vector3.new(0, -10, 0)
  2779. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2780. Part1.Size = Vector3.new(512, 20, 512)
  2781. Part1.Anchored = true
  2782. Part1.BrickColor = BrickColor.new("Dark stone grey")
  2783. Part1.Locked = true
  2784. Part1.brickColor = BrickColor.new("Dark stone grey")
  2785. Part1.FormFactor = Enum.FormFactor.Symmetric
  2786. Part1.formFactor = Enum.FormFactor.Symmetric
  2787. Model2.Name = "CompiledScripts"
  2788. Model2.Parent = mas
  2789. LocalScript3.Name = "Script1"
  2790. LocalScript3.Parent = Model2
  2791. table.insert(cors,sandbox(LocalScript3,function()
  2792.  
  2793. --Converted with ttyyuu12345's model to script plugin v4
  2794. function sandbox(var,func)
  2795. local env = getfenv(func)
  2796. local newenv = setmetatable({},{
  2797. __index = function(self,k)
  2798. if k=="script" then
  2799. return var
  2800. else
  2801. return env[k]
  2802. end
  2803. end,
  2804. })
  2805. setfenv(func,newenv)
  2806. return func
  2807. end
  2808. cors = {}
  2809. mas = Instance.new("Model",game:GetService("Lighting"))
  2810. local chil = workspace:GetChildren()
  2811. for i,v in pairs(chil) do
  2812. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  2813. v:Destroy()
  2814. end
  2815. end
  2816. Camera0 = Instance.new("Camera")
  2817. Part1 = Instance.new("Part")
  2818. Model2 = Instance.new("Model")
  2819. Model3 = Instance.new("Model")
  2820. Part4 = Instance.new("Part")
  2821. SpecialMesh5 = Instance.new("SpecialMesh")
  2822. Decal6 = Instance.new("Decal")
  2823. Weld7 = Instance.new("Weld")
  2824. Part8 = Instance.new("Part")
  2825. Fire9 = Instance.new("Fire")
  2826. Part10 = Instance.new("Part")
  2827. Fire11 = Instance.new("Fire")
  2828. Part12 = Instance.new("Part")
  2829. Part13 = Instance.new("Part")
  2830. Part14 = Instance.new("Part")
  2831. Snap15 = Instance.new("Snap")
  2832. Fire16 = Instance.new("Fire")
  2833. Humanoid17 = Instance.new("Humanoid")
  2834. Part18 = Instance.new("Part")
  2835. Snap19 = Instance.new("Snap")
  2836. CylinderMesh20 = Instance.new("CylinderMesh")
  2837. Fire21 = Instance.new("Fire")
  2838. Script22 = Instance.new("Script")
  2839. Script23 = Instance.new("Script")
  2840. Part24 = Instance.new("Part")
  2841. Snap25 = Instance.new("Snap")
  2842. Fire26 = Instance.new("Fire")
  2843. Weld27 = Instance.new("Weld")
  2844. BodyColors28 = Instance.new("BodyColors")
  2845. Script29 = Instance.new("Script")
  2846. Shirt30 = Instance.new("Shirt")
  2847. Pants31 = Instance.new("Pants")
  2848. Hat32 = Instance.new("Hat")
  2849. Part33 = Instance.new("Part")
  2850. SpecialMesh34 = Instance.new("SpecialMesh")
  2851. Camera35 = Instance.new("Camera")
  2852. Model36 = Instance.new("Model")
  2853. Part37 = Instance.new("Part")
  2854. SpecialMesh38 = Instance.new("SpecialMesh")
  2855. Decal39 = Instance.new("Decal")
  2856. Weld40 = Instance.new("Weld")
  2857. Part41 = Instance.new("Part")
  2858. Fire42 = Instance.new("Fire")
  2859. Part43 = Instance.new("Part")
  2860. Fire44 = Instance.new("Fire")
  2861. Part45 = Instance.new("Part")
  2862. Part46 = Instance.new("Part")
  2863. Part47 = Instance.new("Part")
  2864. Snap48 = Instance.new("Snap")
  2865. Fire49 = Instance.new("Fire")
  2866. Humanoid50 = Instance.new("Humanoid")
  2867. Part51 = Instance.new("Part")
  2868. Snap52 = Instance.new("Snap")
  2869. CylinderMesh53 = Instance.new("CylinderMesh")
  2870. Fire54 = Instance.new("Fire")
  2871. Script55 = Instance.new("Script")
  2872. Script56 = Instance.new("Script")
  2873. Part57 = Instance.new("Part")
  2874. Snap58 = Instance.new("Snap")
  2875. Fire59 = Instance.new("Fire")
  2876. Weld60 = Instance.new("Weld")
  2877. BodyColors61 = Instance.new("BodyColors")
  2878. Script62 = Instance.new("Script")
  2879. Hat63 = Instance.new("Hat")
  2880. Part64 = Instance.new("Part")
  2881. SpecialMesh65 = Instance.new("SpecialMesh")
  2882. Shirt66 = Instance.new("Shirt")
  2883. Pants67 = Instance.new("Pants")
  2884. Camera0.Parent = mas
  2885. Camera0.CFrame = CFrame.new(-26.2206421, 12.0959606, -20.6886711, -0.0595999733, 0.408445835, -0.91083467, -0, 0.912456691, 0.409173191, 0.998222351, 0.0243867114, -0.0543823987)
  2886. Camera0.CoordinateFrame = CFrame.new(-26.2206421, 12.0959606, -20.6886711, -0.0595999733, 0.408445835, -0.91083467, -0, 0.912456691, 0.409173191, 0.998222351, 0.0243867114, -0.0543823987)
  2887. Camera0.Focus = CFrame.new(-6.11873436, 3.06560421, -19.4884644, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2888. Camera0.focus = CFrame.new(-6.11873436, 3.06560421, -19.4884644, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2889. Part1.Name = "Baseplate"
  2890. Part1.Parent = mas
  2891. Part1.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2892. Part1.Position = Vector3.new(0, -10, 0)
  2893. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2894. Part1.Size = Vector3.new(512, 20, 512)
  2895. Part1.Anchored = true
  2896. Part1.BrickColor = BrickColor.new("Dark stone grey")
  2897. Part1.Locked = true
  2898. Part1.brickColor = BrickColor.new("Dark stone grey")
  2899. Part1.FormFactor = Enum.FormFactor.Symmetric
  2900. Part1.formFactor = Enum.FormFactor.Symmetric
  2901. Model2.Parent = mas
  2902. Model3.Name = "SSGSS Goku"
  2903. Model3.Parent = Model2
  2904. Part4.Name = "Head"
  2905. Part4.Parent = Model3
  2906. Part4.CFrame = CFrame.new(-4.13871002, 4.90002108, -11.4352522, 0, 0, 0.999999404, 0, 1.00000036, -1.74622983e-10, -1, 0, 0)
  2907. Part4.Orientation = Vector3.new(0, 90, 0)
  2908. Part4.Position = Vector3.new(-4.13871002, 4.90002108, -11.4352522)
  2909. Part4.Rotation = Vector3.new(90, 89.9400024, 0)
  2910. Part4.Color = Color3.new(1, 0.8, 0.6)
  2911. Part4.Size = Vector3.new(2, 1, 1)
  2912. Part4.BrickColor = BrickColor.new("Pastel brown")
  2913. Part4.TopSurface = Enum.SurfaceType.Smooth
  2914. Part4.brickColor = BrickColor.new("Pastel brown")
  2915. Part4.FormFactor = Enum.FormFactor.Symmetric
  2916. Part4.formFactor = Enum.FormFactor.Symmetric
  2917. SpecialMesh5.Parent = Part4
  2918. SpecialMesh5.Scale = Vector3.new(1.25, 1.25, 1.25)
  2919. Decal6.Parent = Part4
  2920. Decal6.Texture = "http://www.roblox.com/asset/?id=268802651"
  2921. Weld7.Name = "HeadWeld"
  2922. Weld7.Parent = Part4
  2923. Weld7.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2924. Weld7.C1 = CFrame.new(0, -0.100000001, 0, 1, 0, -0, 0, 0.999999702, 0.000833332946, 0, -0.000833333062, 0.999999583)
  2925. Weld7.Part0 = Part4
  2926. Weld7.Part1 = Part33
  2927. Weld7.part1 = Part33
  2928. Part8.Name = "Left Arm"
  2929. Part8.Parent = Model3
  2930. Part8.CFrame = CFrame.new(-4.13871002, 3.40002298, -9.93525219, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2931. Part8.Orientation = Vector3.new(0, 90, 0)
  2932. Part8.Position = Vector3.new(-4.13871002, 3.40002298, -9.93525219)
  2933. Part8.Rotation = Vector3.new(0, 90, 0)
  2934. Part8.Color = Color3.new(1, 0.8, 0.6)
  2935. Part8.Size = Vector3.new(1, 2, 1)
  2936. Part8.BrickColor = BrickColor.new("Pastel brown")
  2937. Part8.brickColor = BrickColor.new("Pastel brown")
  2938. Part8.FormFactor = Enum.FormFactor.Symmetric
  2939. Part8.formFactor = Enum.FormFactor.Symmetric
  2940. Fire9.Parent = Part8
  2941. Fire9.Color = Color3.new(1, 0.709804, 0)
  2942. Fire9.Enabled = false
  2943. Fire9.Size = 30
  2944. Fire9.Heat = 25
  2945. Fire9.SecondaryColor = Color3.new(1, 0, 0)
  2946. Fire9.size = 30
  2947. Part10.Name = "Left Leg"
  2948. Part10.Parent = Model3
  2949. Part10.CFrame = CFrame.new(-4.13871002, 1.40002406, -10.9352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2950. Part10.Orientation = Vector3.new(0, 90, 0)
  2951. Part10.Position = Vector3.new(-4.13871002, 1.40002406, -10.9352522)
  2952. Part10.Rotation = Vector3.new(0, 90, 0)
  2953. Part10.Color = Color3.new(1, 0.8, 0.6)
  2954. Part10.Size = Vector3.new(1, 2, 1)
  2955. Part10.BottomSurface = Enum.SurfaceType.Weld
  2956. Part10.BrickColor = BrickColor.new("Pastel brown")
  2957. Part10.brickColor = BrickColor.new("Pastel brown")
  2958. Part10.FormFactor = Enum.FormFactor.Symmetric
  2959. Part10.formFactor = Enum.FormFactor.Symmetric
  2960. Fire11.Parent = Part10
  2961. Fire11.Color = Color3.new(1, 0.709804, 0)
  2962. Fire11.Enabled = false
  2963. Fire11.Size = 30
  2964. Fire11.Heat = 25
  2965. Fire11.SecondaryColor = Color3.new(1, 0, 0)
  2966. Fire11.size = 30
  2967. Part12.Name = "Right Arm"
  2968. Part12.Parent = Model3
  2969. Part12.CFrame = CFrame.new(-4.13871002, 3.40002298, -12.9352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2970. Part12.Orientation = Vector3.new(0, 90, 0)
  2971. Part12.Position = Vector3.new(-4.13871002, 3.40002298, -12.9352522)
  2972. Part12.Rotation = Vector3.new(0, 90, 0)
  2973. Part12.Color = Color3.new(1, 0.8, 0.6)
  2974. Part12.Size = Vector3.new(1, 2, 1)
  2975. Part12.BrickColor = BrickColor.new("Pastel brown")
  2976. Part12.brickColor = BrickColor.new("Pastel brown")
  2977. Part12.FormFactor = Enum.FormFactor.Symmetric
  2978. Part12.formFactor = Enum.FormFactor.Symmetric
  2979. Part13.Name = "Right Leg"
  2980. Part13.Parent = Model3
  2981. Part13.CFrame = CFrame.new(-4.13871002, 1.40002406, -11.9352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2982. Part13.Orientation = Vector3.new(0, 90, 0)
  2983. Part13.Position = Vector3.new(-4.13871002, 1.40002406, -11.9352522)
  2984. Part13.Rotation = Vector3.new(0, 90, 0)
  2985. Part13.Color = Color3.new(1, 0.8, 0.6)
  2986. Part13.Size = Vector3.new(1, 2, 1)
  2987. Part13.BottomSurface = Enum.SurfaceType.Weld
  2988. Part13.BrickColor = BrickColor.new("Pastel brown")
  2989. Part13.brickColor = BrickColor.new("Pastel brown")
  2990. Part13.FormFactor = Enum.FormFactor.Symmetric
  2991. Part13.formFactor = Enum.FormFactor.Symmetric
  2992. Part14.Name = "Torso"
  2993. Part14.Parent = Model3
  2994. Part14.CFrame = CFrame.new(-4.13871002, 3.40002298, -11.4352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2995. Part14.Orientation = Vector3.new(0, 90, 0)
  2996. Part14.Position = Vector3.new(-4.13871002, 3.40002298, -11.4352522)
  2997. Part14.Rotation = Vector3.new(0, 90, 0)
  2998. Part14.Color = Color3.new(1, 0.8, 0.6)
  2999. Part14.Size = Vector3.new(2, 2, 1)
  3000. Part14.BrickColor = BrickColor.new("Pastel brown")
  3001. Part14.LeftParamA = 0
  3002. Part14.LeftParamB = 0
  3003. Part14.LeftSurface = Enum.SurfaceType.Weld
  3004. Part14.RightParamA = 0
  3005. Part14.RightParamB = 0
  3006. Part14.RightSurface = Enum.SurfaceType.Weld
  3007. Part14.brickColor = BrickColor.new("Pastel brown")
  3008. Part14.FormFactor = Enum.FormFactor.Symmetric
  3009. Part14.formFactor = Enum.FormFactor.Symmetric
  3010. Snap15.Name = "Neck"
  3011. Snap15.Parent = Part14
  3012. Snap15.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3013. Snap15.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3014. Fire16.Parent = Part14
  3015. Fire16.Color = Color3.new(1, 0.709804, 0)
  3016. Fire16.Enabled = false
  3017. Fire16.Size = 30
  3018. Fire16.Heat = 25
  3019. Fire16.SecondaryColor = Color3.new(1, 0, 0)
  3020. Fire16.size = 30
  3021. Humanoid17.Name = "Morph"
  3022. Humanoid17.Parent = Model3
  3023. Humanoid17.Health = 0
  3024. Humanoid17.LeftLeg = Part10
  3025. Humanoid17.MaxHealth = 0
  3026. Humanoid17.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  3027. Humanoid17.RightLeg = Part13
  3028. Humanoid17.Torso = Part14
  3029. Humanoid17.WalkSpeed = 0
  3030. Humanoid17.maxHealth = 0
  3031. Part18.Name = "MorphButton"
  3032. Part18.Parent = Model3
  3033. Part18.CFrame = CFrame.new(-7.63871002, 0.600023985, -11.4352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  3034. Part18.Orientation = Vector3.new(0, 90, 0)
  3035. Part18.Position = Vector3.new(-7.63871002, 0.600023985, -11.4352522)
  3036. Part18.Rotation = Vector3.new(0, 90, 0)
  3037. Part18.Color = Color3.new(0.960784, 0.803922, 0.188235)
  3038. Part18.Size = Vector3.new(4, 0.400000006, 4)
  3039. Part18.BottomSurface = Enum.SurfaceType.Weld
  3040. Part18.BrickColor = BrickColor.new("Bright yellow")
  3041. Part18.LeftParamA = 0
  3042. Part18.LeftParamB = 0
  3043. Part18.Reflectance = 0.5
  3044. Part18.RightParamA = 0
  3045. Part18.RightParamB = 0
  3046. Part18.TopSurface = Enum.SurfaceType.Smooth
  3047. Part18.brickColor = BrickColor.new("Bright yellow")
  3048. Part18.FormFactor = Enum.FormFactor.Plate
  3049. Part18.formFactor = Enum.FormFactor.Plate
  3050. Snap19.Name = "Neck"
  3051. Snap19.Parent = Part18
  3052. Snap19.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3053. Snap19.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3054. CylinderMesh20.Parent = Part18
  3055. Fire21.Parent = Part18
  3056. Fire21.Color = Color3.new(1, 1, 0)
  3057. Fire21.Enabled = false
  3058. Fire21.Size = 30
  3059. Fire21.Heat = 25
  3060. Fire21.SecondaryColor = Color3.new(1, 0, 0)
  3061. Fire21.size = 30
  3062. Script22.Name = "SmartMorphButton"
  3063. Script22.Parent = Part18
  3064. table.insert(cors,sandbox(Script22,function()
  3065. -- Smart Morph script by CoolbuilderManClub
  3066.  
  3067. while (script:findFirstChild("InfoRemover") == nil) do wait(0.1) end
  3068.  
  3069. local g = Instance.new("ScreenGui")
  3070. g.Name = "InfoBox"
  3071.  
  3072. local t = Instance.new("TextLabel")
  3073. t.Name = "Info"
  3074. t.Text = "Smart Morph Script By TankLeadfoot"
  3075. t.BackgroundTransparency = 0
  3076. t.BackgroundColor3 = Color3.new(0, 0, 0)
  3077. t.BorderSizePixel = 0
  3078. t.TextColor3 = Color3.new(1, 1, 1)
  3079. t.Position = UDim2.new(0, 0, 0.95, 0)
  3080. t.Size = UDim2.new(1, 0, 0.05, 0)
  3081. t.Parent = g
  3082.  
  3083. local CanMorph = nil
  3084. local Lock = nil
  3085.  
  3086. local s = script.InfoRemover:Clone()
  3087. s.Parent = g
  3088. s.Disabled = false
  3089.  
  3090. script.Parent.BrickColor = BrickColor.new("Bright yellow")
  3091.  
  3092. function onTouch(hit)
  3093. if (Lock == nil) then
  3094. Lock = true
  3095. script.Parent.BrickColor = BrickColor.new("Medium stone grey")
  3096.  
  3097. CanMorph = nil
  3098. BodyParts = hit.Parent:GetChildren()
  3099. for i,b in pairs(BodyParts) do
  3100. if (b.className == "Humanoid") then
  3101. CanMorph = true
  3102. end
  3103. wait(0.1)
  3104. end
  3105. if (CanMorph == nil) then
  3106. script.Parent.BrickColor = BrickColor.new("Bright yellow")
  3107. Lock = nil
  3108. return
  3109. end
  3110.  
  3111. script.Parent.BrickColor = BrickColor.new("Black")
  3112. g.Parent = game.Players:findFirstChild(hit.Parent.Name).PlayerGui
  3113.  
  3114. BodyParts = hit.Parent:GetChildren()
  3115. for i,b in pairs(BodyParts) do
  3116. if (b.className == "Hat") or (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
  3117. b:Remove()
  3118. end
  3119. if (b.className == "Part") then
  3120. if (b.Name == "Torso") then
  3121. if (b:findFirstChild("roblox") ~= nil) then
  3122. b.roblox:Remove()
  3123. elseif (b:findFirstChild("Decal") ~= nil) then
  3124. b.Decal:Remove()
  3125. end
  3126. end
  3127. if (b.Name == "Head") then
  3128. if (b:findFirstChild("Mesh") ~= nil) then
  3129. b.Mesh:Remove()
  3130. end
  3131. end
  3132. end
  3133. wait(0.1)
  3134. end
  3135.  
  3136. BodyParts = script.Parent.Parent:GetChildren()
  3137. for i,b in pairs(BodyParts) do
  3138. if (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
  3139. b:Clone().Parent = hit.Parent
  3140. end
  3141. if (b.className == "BodyColors") and (hit.Parent:findFirstChild("Body Colors") ~= nil) then
  3142. hit.Parent:findFirstChild("Body Colors").HeadColor= b.HeadColor
  3143. hit.Parent:findFirstChild("Body Colors").LeftArmColor= b.LeftArmColor
  3144. hit.Parent:findFirstChild("Body Colors").LeftLegColor= b.LeftLegColor
  3145. hit.Parent:findFirstChild("Body Colors").RightArmColor= b.RightArmColor
  3146. hit.Parent:findFirstChild("Body Colors").RightLegColor= b.RightLegColor
  3147. hit.Parent:findFirstChild("Body Colors").TorsoColor= b.TorsoColor
  3148. end
  3149. if (b.className == "Part") then
  3150. if (b.Name == "Torso") then
  3151. if (b:findFirstChild("roblox") ~= nil) then
  3152. b.roblox:Clone().Parent = hit.Parent.Torso
  3153. elseif (script.Parent.Parent.Torso:findFirstChild("Decal") ~= nil) then
  3154. b.Decal:Clone().Parent = hit.Parent.Torso
  3155. end
  3156. end
  3157. if (b.Name == "Head") then
  3158. if (b:findFirstChild("face") ~= nil) then
  3159. hit.Parent.Head.face.Texture = b.face.Texture
  3160. elseif (script.Parent.Parent.Head:findFirstChild("Decal") ~= nil) then
  3161. hit.Parent.Head.face.Texture = b.Decal.Texture
  3162. end
  3163. if (b:findFirstChild("Mesh") ~= nil) then
  3164. b.Mesh:Clone().Parent = hit.Parent.Head
  3165. end
  3166. end
  3167. end
  3168. if (b.className == "Hat") then
  3169. local h = Instance.new("Hat")
  3170. h.Name = b.Name
  3171. h.AttachmentPos = b.AttachmentPos
  3172. b.Handle:Clone().Parent = h
  3173. h.Parent = hit.Parent
  3174. end
  3175. wait(0.1)
  3176. end
  3177.  
  3178. g.Parent = nil
  3179. script.Parent.BrickColor = BrickColor.new("Bright yellow")
  3180. Lock = nil
  3181. end
  3182. end
  3183.  
  3184. script.Parent.Touched:connect(onTouch)
  3185.  
  3186. end))
  3187. Script23.Name = "InfoRemover"
  3188. Script23.Parent = Script22
  3189. table.insert(cors,sandbox(Script23,function()
  3190. script.Parent:Remove(wait(10))
  3191.  
  3192. end))
  3193. Script23.Disabled = true
  3194. Part24.Parent = Model3
  3195. Part24.CFrame = CFrame.new(-6.13871002, 0.200023651, -11.4352522, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3196. Part24.Orientation = Vector3.new(0, 90, 0)
  3197. Part24.Position = Vector3.new(-6.13871002, 0.200023651, -11.4352522)
  3198. Part24.Rotation = Vector3.new(0, 90, 0)
  3199. Part24.Color = Color3.new(0.854902, 0.521569, 0.254902)
  3200. Part24.Size = Vector3.new(6, 0.400000006, 9)
  3201. Part24.BottomSurface = Enum.SurfaceType.Weld
  3202. Part24.BrickColor = BrickColor.new("Bright orange")
  3203. Part24.LeftParamA = 0
  3204. Part24.LeftParamB = 0
  3205. Part24.Reflectance = 0.5
  3206. Part24.RightParamA = 0
  3207. Part24.RightParamB = 0
  3208. Part24.TopSurface = Enum.SurfaceType.Smooth
  3209. Part24.brickColor = BrickColor.new("Bright orange")
  3210. Part24.FormFactor = Enum.FormFactor.Plate
  3211. Part24.formFactor = Enum.FormFactor.Plate
  3212. Snap25.Name = "Neck"
  3213. Snap25.Parent = Part24
  3214. Snap25.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3215. Snap25.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3216. Fire26.Parent = Part24
  3217. Fire26.Color = Color3.new(1, 0.709804, 0)
  3218. Fire26.Enabled = false
  3219. Fire26.Size = 30
  3220. Fire26.Heat = 25
  3221. Fire26.SecondaryColor = Color3.new(1, 0, 0)
  3222. Fire26.size = 30
  3223. Weld27.Parent = Part24
  3224. Weld27.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  3225. Weld27.C1 = CFrame.new(-6.13871002, 10.0000238, -11.4352522, 0, 1, 0, 0, 0, -1, -1, 0, 0)
  3226. Weld27.Part0 = Part24
  3227. Weld27.Part1 = Part1
  3228. Weld27.part1 = Part1
  3229. BodyColors28.Parent = Model3
  3230. BodyColors28.HeadColor = BrickColor.new("Pastel brown")
  3231. BodyColors28.HeadColor3 = Color3.new(1, 0.8, 0.6)
  3232. BodyColors28.LeftArmColor = BrickColor.new("Pastel brown")
  3233. BodyColors28.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
  3234. BodyColors28.LeftLegColor = BrickColor.new("Pastel brown")
  3235. BodyColors28.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
  3236. BodyColors28.RightArmColor = BrickColor.new("Pastel brown")
  3237. BodyColors28.RightArmColor3 = Color3.new(1, 0.8, 0.6)
  3238. BodyColors28.RightLegColor = BrickColor.new("Pastel brown")
  3239. BodyColors28.RightLegColor3 = Color3.new(1, 0.8, 0.6)
  3240. BodyColors28.TorsoColor = BrickColor.new("Pastel brown")
  3241. BodyColors28.TorsoColor3 = Color3.new(1, 0.8, 0.6)
  3242. Script29.Name = "How To Make A Morph"
  3243. Script29.Parent = Model3
  3244. table.insert(cors,sandbox(Script29,function()
  3245. First Pick This Morph
  3246. Then If You Want To Change Yourself (Not The Morph) Search For Pants,Shirt,Hat,
  3247. If Your Done Making The Morph Go To Your Name And Press Plus (+) Button
  3248. Then Copy Your Shirt And Pants If Your Done Copying The Shirt To The Morph
  3249. Go Again To Your Name And Press Again Plus If U Minus(-) Your Character Beside Your Name
  3250. If U Want To Put Hats At Your Morph Do # 9
  3251. First Do Not Search For Hats At (Search) Beacuse If Do That It Wont Work So Dont Do That
  3252. If U Copy Hats No Right Click And Press Copy Beacuse If U Copy It The Hat Will Fall
  3253. So Grab Your Hats One By One To The Morph So It Will Work Tnx
  3254. Message Me If You Dont Understand
  3255. If U Cant Message Me If Im Online
  3256. Meet Me At My Place This Is The Link See Number 13
  3257. http://www.roblox.com/Im-Making-Morph-Here-place?id=101670864
  3258. Tnx Pls Like My Morph Before Taking!!!
  3259. If U Want To Be A Superhero Morph Or Robloxian 2.0
  3260. First Pick The Morph U Want And Go In The Front Of It
  3261. And Then Go To Your Character And Press Plus (+) To Copy It
  3262. And Then 1 By 1 To Copy It
  3263. Tnx For Making Morph!!
  3264. Pls Enjoy!!!
  3265. end))
  3266. Shirt30.Name = "Shirt"
  3267. Shirt30.Parent = Model3
  3268. Shirt30.ShirtTemplate = "http://www.roblox.com/asset/?id=235808304"
  3269. Pants31.Name = "Pants"
  3270. Pants31.Parent = Model3
  3271. Pants31.PantsTemplate = "http://www.roblox.com/asset/?id=235808401"
  3272. Hat32.Name = "SuperSaiyanHair"
  3273. Hat32.Parent = Model3
  3274. Hat32.AttachmentForward = Vector3.new(0, -0.000833332946, -0.999999583)
  3275. Hat32.AttachmentPoint = CFrame.new(0, -0.100000001, 0, 1, 0, -0, 0, 0.999999702, 0.000833332946, 0, -0.000833333062, 0.999999583)
  3276. Hat32.AttachmentPos = Vector3.new(0, -0.100000001, 0)
  3277. Hat32.AttachmentUp = Vector3.new(0, 0.999999702, -0.000833333062)
  3278. Part33.Name = "Handle"
  3279. Part33.Parent = Hat32
  3280. Part33.CFrame = CFrame.new(-4.13862658, 5.50002146, -11.4352522, 0, 0.000833332422, 0.999998987, 0, 1, -0.000833333528, -1, 0, 0)
  3281. Part33.Orientation = Vector3.new(0.0500000007, 90, 0)
  3282. Part33.Position = Vector3.new(-4.13862658, 5.50002146, -11.4352522)
  3283. Part33.Rotation = Vector3.new(90, 89.9199982, -90)
  3284. Part33.Color = Color3.new(0, 1, 1)
  3285. Part33.Size = Vector3.new(2, 2, 2)
  3286. Part33.BottomSurface = Enum.SurfaceType.Smooth
  3287. Part33.BrickColor = BrickColor.new("Toothpaste")
  3288. Part33.CanCollide = false
  3289. Part33.Material = Enum.Material.Neon
  3290. Part33.TopSurface = Enum.SurfaceType.Smooth
  3291. Part33.brickColor = BrickColor.new("Toothpaste")
  3292. Part33.FormFactor = Enum.FormFactor.Symmetric
  3293. Part33.formFactor = Enum.FormFactor.Symmetric
  3294. SpecialMesh34.Parent = Part33
  3295. SpecialMesh34.MeshId = "rbxassetid://430344159"
  3296. SpecialMesh34.Offset = Vector3.new(-0.0500000007, 0.449999988, 0.5)
  3297. SpecialMesh34.Scale = Vector3.new(5.5, 5.5, 5.5)
  3298. SpecialMesh34.MeshType = Enum.MeshType.FileMesh
  3299. Camera35.Name = "ThumbnailCamera"
  3300. Camera35.Parent = Hat32
  3301. Camera35.CFrame = CFrame.new(7.09014845, 4.30502892, 16.8996258, -0.979573905, -0.0921030194, 0.178751379, 7.4505806e-09, 0.888936162, 0.458031207, -0.201084614, 0.448675424, -0.87077862)
  3302. Camera35.CameraType = Enum.CameraType.Custom
  3303. Camera35.CoordinateFrame = CFrame.new(7.09014845, 4.30502892, 16.8996258, -0.979573905, -0.0921030194, 0.178751379, 7.4505806e-09, 0.888936162, 0.458031207, -0.201084614, 0.448675424, -0.87077862)
  3304. Camera35.FieldOfView = 40
  3305. Camera35.Focus = CFrame.new(6.73264551, 3.38896608, 18.6411839, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3306. Camera35.focus = CFrame.new(6.73264551, 3.38896608, 18.6411839, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3307. Model36.Name = "SSJ3 Goku"
  3308. Model36.Parent = Model2
  3309. Part37.Name = "Head"
  3310. Part37.Parent = Model36
  3311. Part37.CFrame = CFrame.new(-5.14130402, 4.90000677, -19.4327965, 0, -1.75787136e-08, 0.999999285, 0, 1.00000036, 1.72294676e-08, -1, 0, 0)
  3312. Part37.Orientation = Vector3.new(0, 90, 0)
  3313. Part37.Position = Vector3.new(-5.14130402, 4.90000677, -19.4327965)
  3314. Part37.Rotation = Vector3.new(-90, 89.9300003, 90)
  3315. Part37.Color = Color3.new(1, 0.8, 0.6)
  3316. Part37.Size = Vector3.new(2, 1, 1)
  3317. Part37.BrickColor = BrickColor.new("Pastel brown")
  3318. Part37.TopSurface = Enum.SurfaceType.Smooth
  3319. Part37.brickColor = BrickColor.new("Pastel brown")
  3320. Part37.FormFactor = Enum.FormFactor.Symmetric
  3321. Part37.formFactor = Enum.FormFactor.Symmetric
  3322. SpecialMesh38.Parent = Part37
  3323. SpecialMesh38.Scale = Vector3.new(1.25, 1.25, 1.25)
  3324. Decal39.Parent = Part37
  3325. Decal39.Texture = "http://www.roblox.com/asset/?id=231488603"
  3326. Weld40.Name = "HeadWeld"
  3327. Weld40.Parent = Part37
  3328. Weld40.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3329. Weld40.C1 = CFrame.new(0, -0.100000001, 0, 1, 0, -0, 0, 0.999999702, 0.000833332946, 0, -0.000833333062, 0.999999583)
  3330. Weld40.Part0 = Part37
  3331. Weld40.Part1 = Part64
  3332. Weld40.part1 = Part64
  3333. Part41.Name = "Left Arm"
  3334. Part41.Parent = Model36
  3335. Part41.CFrame = CFrame.new(-5.14130402, 3.40001106, -17.9327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  3336. Part41.Orientation = Vector3.new(0, 90, 0)
  3337. Part41.Position = Vector3.new(-5.14130402, 3.40001106, -17.9327965)
  3338. Part41.Rotation = Vector3.new(0, 90, 0)
  3339. Part41.Color = Color3.new(1, 0.8, 0.6)
  3340. Part41.Size = Vector3.new(1, 2, 1)
  3341. Part41.BrickColor = BrickColor.new("Pastel brown")
  3342. Part41.brickColor = BrickColor.new("Pastel brown")
  3343. Part41.FormFactor = Enum.FormFactor.Symmetric
  3344. Part41.formFactor = Enum.FormFactor.Symmetric
  3345. Fire42.Parent = Part41
  3346. Fire42.Color = Color3.new(1, 0.709804, 0)
  3347. Fire42.Enabled = false
  3348. Fire42.Size = 30
  3349. Fire42.Heat = 25
  3350. Fire42.SecondaryColor = Color3.new(1, 0, 0)
  3351. Fire42.size = 30
  3352. Part43.Name = "Left Leg"
  3353. Part43.Parent = Model36
  3354. Part43.CFrame = CFrame.new(-5.14127302, 1.40001905, -18.9327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  3355. Part43.Orientation = Vector3.new(0, 90, 0)
  3356. Part43.Position = Vector3.new(-5.14127302, 1.40001905, -18.9327965)
  3357. Part43.Rotation = Vector3.new(0, 90, 0)
  3358. Part43.Color = Color3.new(1, 0.8, 0.6)
  3359. Part43.Size = Vector3.new(1, 2, 1)
  3360. Part43.BottomSurface = Enum.SurfaceType.Weld
  3361. Part43.BrickColor = BrickColor.new("Pastel brown")
  3362. Part43.brickColor = BrickColor.new("Pastel brown")
  3363. Part43.FormFactor = Enum.FormFactor.Symmetric
  3364. Part43.formFactor = Enum.FormFactor.Symmetric
  3365. Fire44.Parent = Part43
  3366. Fire44.Color = Color3.new(1, 0.709804, 0)
  3367. Fire44.Enabled = false
  3368. Fire44.Size = 30
  3369. Fire44.Heat = 25
  3370. Fire44.SecondaryColor = Color3.new(1, 0, 0)
  3371. Fire44.size = 30
  3372. Part45.Name = "Right Arm"
  3373. Part45.Parent = Model36
  3374. Part45.CFrame = CFrame.new(-5.14127302, 3.3999939, -20.9327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  3375. Part45.Orientation = Vector3.new(0, 90, 0)
  3376. Part45.Position = Vector3.new(-5.14127302, 3.3999939, -20.9327965)
  3377. Part45.Rotation = Vector3.new(0, 90, 0)
  3378. Part45.Color = Color3.new(1, 0.8, 0.6)
  3379. Part45.Size = Vector3.new(1, 2, 1)
  3380. Part45.BrickColor = BrickColor.new("Pastel brown")
  3381. Part45.brickColor = BrickColor.new("Pastel brown")
  3382. Part45.FormFactor = Enum.FormFactor.Symmetric
  3383. Part45.formFactor = Enum.FormFactor.Symmetric
  3384. Part46.Name = "Right Leg"
  3385. Part46.Parent = Model36
  3386. Part46.CFrame = CFrame.new(-5.14127302, 1.39997196, -19.9327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  3387. Part46.Orientation = Vector3.new(0, 90, 0)
  3388. Part46.Position = Vector3.new(-5.14127302, 1.39997196, -19.9327965)
  3389. Part46.Rotation = Vector3.new(0, 90, 0)
  3390. Part46.Color = Color3.new(1, 0.8, 0.6)
  3391. Part46.Size = Vector3.new(1, 2, 1)
  3392. Part46.BottomSurface = Enum.SurfaceType.Weld
  3393. Part46.BrickColor = BrickColor.new("Pastel brown")
  3394. Part46.brickColor = BrickColor.new("Pastel brown")
  3395. Part46.FormFactor = Enum.FormFactor.Symmetric
  3396. Part46.formFactor = Enum.FormFactor.Symmetric
  3397. Part47.Name = "Torso"
  3398. Part47.Parent = Model36
  3399. Part47.CFrame = CFrame.new(-5.14130402, 3.40001106, -19.4327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  3400. Part47.Orientation = Vector3.new(0, 90, 0)
  3401. Part47.Position = Vector3.new(-5.14130402, 3.40001106, -19.4327965)
  3402. Part47.Rotation = Vector3.new(0, 90, 0)
  3403. Part47.Color = Color3.new(1, 0.8, 0.6)
  3404. Part47.Size = Vector3.new(2, 2, 1)
  3405. Part47.BrickColor = BrickColor.new("Pastel brown")
  3406. Part47.LeftParamA = 0
  3407. Part47.LeftParamB = 0
  3408. Part47.LeftSurface = Enum.SurfaceType.Weld
  3409. Part47.RightParamA = 0
  3410. Part47.RightParamB = 0
  3411. Part47.RightSurface = Enum.SurfaceType.Weld
  3412. Part47.brickColor = BrickColor.new("Pastel brown")
  3413. Part47.FormFactor = Enum.FormFactor.Symmetric
  3414. Part47.formFactor = Enum.FormFactor.Symmetric
  3415. Snap48.Name = "Neck"
  3416. Snap48.Parent = Part47
  3417. Snap48.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3418. Snap48.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3419. Fire49.Parent = Part47
  3420. Fire49.Color = Color3.new(1, 0.709804, 0)
  3421. Fire49.Enabled = false
  3422. Fire49.Size = 30
  3423. Fire49.Heat = 25
  3424. Fire49.SecondaryColor = Color3.new(1, 0, 0)
  3425. Fire49.size = 30
  3426. Humanoid50.Name = "Morph"
  3427. Humanoid50.Parent = Model36
  3428. Humanoid50.Health = 0
  3429. Humanoid50.LeftLeg = Part43
  3430. Humanoid50.MaxHealth = 0
  3431. Humanoid50.RightLeg = Part46
  3432. Humanoid50.Torso = Part47
  3433. Humanoid50.WalkSpeed = 0
  3434. Humanoid50.maxHealth = 0
  3435. Part51.Name = "MorphButton"
  3436. Part51.Parent = Model36
  3437. Part51.CFrame = CFrame.new(-8.64122772, 0.600019991, -19.4327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  3438. Part51.Orientation = Vector3.new(0, 90, 0)
  3439. Part51.Position = Vector3.new(-8.64122772, 0.600019991, -19.4327965)
  3440. Part51.Rotation = Vector3.new(0, 90, 0)
  3441. Part51.Color = Color3.new(0.960784, 0.803922, 0.188235)
  3442. Part51.Size = Vector3.new(4, 0.400000006, 4)
  3443. Part51.BottomSurface = Enum.SurfaceType.Weld
  3444. Part51.BrickColor = BrickColor.new("Bright yellow")
  3445. Part51.LeftParamA = 0
  3446. Part51.LeftParamB = 0
  3447. Part51.Reflectance = 0.5
  3448. Part51.RightParamA = 0
  3449. Part51.RightParamB = 0
  3450. Part51.TopSurface = Enum.SurfaceType.Smooth
  3451. Part51.brickColor = BrickColor.new("Bright yellow")
  3452. Part51.FormFactor = Enum.FormFactor.Plate
  3453. Part51.formFactor = Enum.FormFactor.Plate
  3454. Snap52.Name = "Neck"
  3455. Snap52.Parent = Part51
  3456. Snap52.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3457. Snap52.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3458. CylinderMesh53.Parent = Part51
  3459. Fire54.Parent = Part51
  3460. Fire54.Color = Color3.new(1, 1, 0)
  3461. Fire54.Enabled = false
  3462. Fire54.Size = 30
  3463. Fire54.Heat = 25
  3464. Fire54.SecondaryColor = Color3.new(1, 0, 0)
  3465. Fire54.size = 30
  3466. Script55.Name = "SmartMorphButton"
  3467. Script55.Parent = Part51
  3468. table.insert(cors,sandbox(Script55,function()
  3469. -- Smart Morph script by CoolbuilderManClub
  3470.  
  3471. while (script:findFirstChild("InfoRemover") == nil) do wait(0.1) end
  3472.  
  3473. local g = Instance.new("ScreenGui")
  3474. g.Name = "InfoBox"
  3475.  
  3476. local t = Instance.new("TextLabel")
  3477. t.Name = "Info"
  3478. t.Text = "Smart Morph Script By TankLeadfoot"
  3479. t.BackgroundTransparency = 0
  3480. t.BackgroundColor3 = Color3.new(0, 0, 0)
  3481. t.BorderSizePixel = 0
  3482. t.TextColor3 = Color3.new(1, 1, 1)
  3483. t.Position = UDim2.new(0, 0, 0.95, 0)
  3484. t.Size = UDim2.new(1, 0, 0.05, 0)
  3485. t.Parent = g
  3486.  
  3487. local CanMorph = nil
  3488. local Lock = nil
  3489.  
  3490. local s = script.InfoRemover:Clone()
  3491. s.Parent = g
  3492. s.Disabled = false
  3493.  
  3494. script.Parent.BrickColor = BrickColor.new("Bright yellow")
  3495.  
  3496. function onTouch(hit)
  3497. if (Lock == nil) then
  3498. Lock = true
  3499. script.Parent.BrickColor = BrickColor.new("Medium stone grey")
  3500.  
  3501. CanMorph = nil
  3502. BodyParts = hit.Parent:GetChildren()
  3503. for i,b in pairs(BodyParts) do
  3504. if (b.className == "Humanoid") then
  3505. CanMorph = true
  3506. end
  3507. wait(0.1)
  3508. end
  3509. if (CanMorph == nil) then
  3510. script.Parent.BrickColor = BrickColor.new("Bright yellow")
  3511. Lock = nil
  3512. return
  3513. end
  3514.  
  3515. script.Parent.BrickColor = BrickColor.new("Black")
  3516. g.Parent = game.Players:findFirstChild(hit.Parent.Name).PlayerGui
  3517.  
  3518. BodyParts = hit.Parent:GetChildren()
  3519. for i,b in pairs(BodyParts) do
  3520. if (b.className == "Hat") or (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
  3521. b:Remove()
  3522. end
  3523. if (b.className == "Part") then
  3524. if (b.Name == "Torso") then
  3525. if (b:findFirstChild("roblox") ~= nil) then
  3526. b.roblox:Remove()
  3527. elseif (b:findFirstChild("Decal") ~= nil) then
  3528. b.Decal:Remove()
  3529. end
  3530. end
  3531. if (b.Name == "Head") then
  3532. if (b:findFirstChild("Mesh") ~= nil) then
  3533. b.Mesh:Remove()
  3534. end
  3535. end
  3536. end
  3537. wait(0.1)
  3538. end
  3539.  
  3540. BodyParts = script.Parent.Parent:GetChildren()
  3541. for i,b in pairs(BodyParts) do
  3542. if (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
  3543. b:Clone().Parent = hit.Parent
  3544. end
  3545. if (b.className == "BodyColors") and (hit.Parent:findFirstChild("Body Colors") ~= nil) then
  3546. hit.Parent:findFirstChild("Body Colors").HeadColor= b.HeadColor
  3547. hit.Parent:findFirstChild("Body Colors").LeftArmColor= b.LeftArmColor
  3548. hit.Parent:findFirstChild("Body Colors").LeftLegColor= b.LeftLegColor
  3549. hit.Parent:findFirstChild("Body Colors").RightArmColor= b.RightArmColor
  3550. hit.Parent:findFirstChild("Body Colors").RightLegColor= b.RightLegColor
  3551. hit.Parent:findFirstChild("Body Colors").TorsoColor= b.TorsoColor
  3552. end
  3553. if (b.className == "Part") then
  3554. if (b.Name == "Torso") then
  3555. if (b:findFirstChild("roblox") ~= nil) then
  3556. b.roblox:Clone().Parent = hit.Parent.Torso
  3557. elseif (script.Parent.Parent.Torso:findFirstChild("Decal") ~= nil) then
  3558. b.Decal:Clone().Parent = hit.Parent.Torso
  3559. end
  3560. end
  3561. if (b.Name == "Head") then
  3562. if (b:findFirstChild("face") ~= nil) then
  3563. hit.Parent.Head.face.Texture = b.face.Texture
  3564. elseif (script.Parent.Parent.Head:findFirstChild("Decal") ~= nil) then
  3565. hit.Parent.Head.face.Texture = b.Decal.Texture
  3566. end
  3567. if (b:findFirstChild("Mesh") ~= nil) then
  3568. b.Mesh:Clone().Parent = hit.Parent.Head
  3569. end
  3570. end
  3571. end
  3572. if (b.className == "Hat") then
  3573. local h = Instance.new("Hat")
  3574. h.Name = b.Name
  3575. h.AttachmentPos = b.AttachmentPos
  3576. b.Handle:Clone().Parent = h
  3577. h.Parent = hit.Parent
  3578. end
  3579. wait(0.1)
  3580. end
  3581.  
  3582. g.Parent = nil
  3583. script.Parent.BrickColor = BrickColor.new("Bright yellow")
  3584. Lock = nil
  3585. end
  3586. end
  3587.  
  3588. script.Parent.Touched:connect(onTouch)
  3589.  
  3590. end))
  3591. Script56.Name = "InfoRemover"
  3592. Script56.Parent = Script55
  3593. table.insert(cors,sandbox(Script56,function()
  3594. script.Parent:Remove(wait(10))
  3595.  
  3596. end))
  3597. Script56.Disabled = true
  3598. Part57.Parent = Model36
  3599. Part57.CFrame = CFrame.new(-7.14124298, 0.200023651, -19.4327965, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3600. Part57.Orientation = Vector3.new(0, 90, 0)
  3601. Part57.Position = Vector3.new(-7.14124298, 0.200023651, -19.4327965)
  3602. Part57.Rotation = Vector3.new(0, 90, 0)
  3603. Part57.Color = Color3.new(0.854902, 0.521569, 0.254902)
  3604. Part57.Size = Vector3.new(6, 0.400000006, 9)
  3605. Part57.BottomSurface = Enum.SurfaceType.Weld
  3606. Part57.BrickColor = BrickColor.new("Bright orange")
  3607. Part57.LeftParamA = 0
  3608. Part57.LeftParamB = 0
  3609. Part57.Reflectance = 0.5
  3610. Part57.RightParamA = 0
  3611. Part57.RightParamB = 0
  3612. Part57.TopSurface = Enum.SurfaceType.Smooth
  3613. Part57.brickColor = BrickColor.new("Bright orange")
  3614. Part57.FormFactor = Enum.FormFactor.Plate
  3615. Part57.formFactor = Enum.FormFactor.Plate
  3616. Snap58.Name = "Neck"
  3617. Snap58.Parent = Part57
  3618. Snap58.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3619. Snap58.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3620. Fire59.Parent = Part57
  3621. Fire59.Color = Color3.new(1, 0.709804, 0)
  3622. Fire59.Enabled = false
  3623. Fire59.Size = 30
  3624. Fire59.Heat = 25
  3625. Fire59.SecondaryColor = Color3.new(1, 0, 0)
  3626. Fire59.size = 30
  3627. Weld60.Parent = Part57
  3628. Weld60.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  3629. Weld60.C1 = CFrame.new(-7.14124298, 10.0000238, -19.4327965, 0, 1, 0, 0, 0, -1, -1, 0, 0)
  3630. Weld60.Part0 = Part57
  3631. Weld60.Part1 = Part1
  3632. Weld60.part1 = Part1
  3633. BodyColors61.Parent = Model36
  3634. BodyColors61.HeadColor = BrickColor.new("Pastel brown")
  3635. BodyColors61.HeadColor3 = Color3.new(1, 0.8, 0.6)
  3636. BodyColors61.LeftArmColor = BrickColor.new("Pastel brown")
  3637. BodyColors61.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
  3638. BodyColors61.LeftLegColor = BrickColor.new("Pastel brown")
  3639. BodyColors61.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
  3640. BodyColors61.RightArmColor = BrickColor.new("Pastel brown")
  3641. BodyColors61.RightArmColor3 = Color3.new(1, 0.8, 0.6)
  3642. BodyColors61.RightLegColor = BrickColor.new("Pastel brown")
  3643. BodyColors61.RightLegColor3 = Color3.new(1, 0.8, 0.6)
  3644. BodyColors61.TorsoColor = BrickColor.new("Pastel brown")
  3645. BodyColors61.TorsoColor3 = Color3.new(1, 0.8, 0.6)
  3646. Script62.Name = "How To Make A Morph"
  3647. Script62.Parent = Model36
  3648. table.insert(cors,sandbox(Script62,function()
  3649. First Pick This Morph
  3650. Then If You Want To Change Yourself (Not The Morph) Search For Pants,Shirt,Hat,
  3651. If Your Done Making The Morph Go To Your Name And Press Plus (+) Button
  3652. Then Copy Your Shirt And Pants If Your Done Copying The Shirt To The Morph
  3653. Go Again To Your Name And Press Again Plus If U Minus(-) Your Character Beside Your Name
  3654. If U Want To Put Hats At Your Morph Do # 9
  3655. First Do Not Search For Hats At (Search) Beacuse If Do That It Wont Work So Dont Do That
  3656. If U Copy Hats No Right Click And Press Copy Beacuse If U Copy It The Hat Will Fall
  3657. So Grab Your Hats One By One To The Morph So It Will Work Tnx
  3658. Message Me If You Dont Understand
  3659. If U Cant Message Me If Im Online
  3660. Meet Me At My Place This Is The Link See Number 13
  3661. http://www.roblox.com/Im-Making-Morph-Here-place?id=101670864
  3662. Tnx Pls Like My Morph Before Taking!!!
  3663. If U Want To Be A Superhero Morph Or Robloxian 2.0
  3664. First Pick The Morph U Want And Go In The Front Of It
  3665. And Then Go To Your Character And Press Plus (+) To Copy It
  3666. And Then 1 By 1 To Copy It
  3667. Tnx For Making Morph!!
  3668. Pls Enjoy!!!
  3669. end))
  3670. Hat63.Name = "SuperSaiyan3Hair"
  3671. Hat63.Parent = Model36
  3672. Hat63.AttachmentForward = Vector3.new(0, -0.000833332946, -0.999999583)
  3673. Hat63.AttachmentPoint = CFrame.new(0, -0.100000001, 0, 1, 0, -0, 0, 0.999999702, 0.000833332946, 0, -0.000833333062, 0.999999583)
  3674. Hat63.AttachmentPos = Vector3.new(0, -0.100000001, 0)
  3675. Hat63.AttachmentUp = Vector3.new(0, 0.999999702, -0.000833333062)
  3676. Part64.Name = "Handle"
  3677. Part64.Parent = Hat63
  3678. Part64.CFrame = CFrame.new(-5.14122057, 5.50000715, -19.4327965, 0, 0.000833314785, 0.999998868, 0, 1, -0.000833316124, -1, 0, 0)
  3679. Part64.Orientation = Vector3.new(0.0500000007, 90, 0)
  3680. Part64.Position = Vector3.new(-5.14122057, 5.50000715, -19.4327965)
  3681. Part64.Rotation = Vector3.new(90, 89.9100037, -90)
  3682. Part64.Color = Color3.new(0.960784, 0.803922, 0.188235)
  3683. Part64.Size = Vector3.new(2, 2, 2)
  3684. Part64.BottomSurface = Enum.SurfaceType.Smooth
  3685. Part64.BrickColor = BrickColor.new("Bright yellow")
  3686. Part64.CanCollide = false
  3687. Part64.Material = Enum.Material.Neon
  3688. Part64.TopSurface = Enum.SurfaceType.Smooth
  3689. Part64.brickColor = BrickColor.new("Bright yellow")
  3690. Part64.FormFactor = Enum.FormFactor.Symmetric
  3691. Part64.formFactor = Enum.FormFactor.Symmetric
  3692. SpecialMesh65.Parent = Part64
  3693. SpecialMesh65.MeshId = "rbxassetid://437432504"
  3694. SpecialMesh65.Offset = Vector3.new(0.0199999996, -0.889999986, 1.29999995)
  3695. SpecialMesh65.Scale = Vector3.new(0.0500000007, 0.0500000007, 0.0350000001)
  3696. SpecialMesh65.MeshType = Enum.MeshType.FileMesh
  3697. Shirt66.Name = "Shirt"
  3698. Shirt66.Parent = Model36
  3699. Shirt66.ShirtTemplate = "http://www.roblox.com/asset/?id=233470894"
  3700. Pants67.Name = "Pants"
  3701. Pants67.Parent = Model36
  3702. Pants67.PantsTemplate = "http://www.roblox.com/asset/?id=270365252"
  3703. for i,v in pairs(mas:GetChildren()) do
  3704. v.Parent = game:GetService("Players").LocalPlayer.Character
  3705. pcall(function() v:MakeJoints() end)
  3706. end
  3707. mas:Destroy()
  3708. for i,v in pairs(cors) do
  3709. spawn(function()
  3710. pcall(v)
  3711. end)
  3712. end
  3713.  
  3714. end))
  3715. Model4.Name = "Sans"
  3716. Model4.Parent = mas
  3717. BodyColors5.Parent = Model4
  3718. BodyColors5.HeadColor = BrickColor.new("Light stone grey")
  3719. BodyColors5.HeadColor3 = Color3.new(0.898039, 0.894118, 0.87451)
  3720. BodyColors5.LeftArmColor = BrickColor.new("Light stone grey")
  3721. BodyColors5.LeftArmColor3 = Color3.new(0.898039, 0.894118, 0.87451)
  3722. BodyColors5.LeftLegColor = BrickColor.new("Light stone grey")
  3723. BodyColors5.LeftLegColor3 = Color3.new(0.898039, 0.894118, 0.87451)
  3724. BodyColors5.RightArmColor = BrickColor.new("Light stone grey")
  3725. BodyColors5.RightArmColor3 = Color3.new(0.898039, 0.894118, 0.87451)
  3726. BodyColors5.RightLegColor = BrickColor.new("Light stone grey")
  3727. BodyColors5.RightLegColor3 = Color3.new(0.898039, 0.894118, 0.87451)
  3728. BodyColors5.TorsoColor = BrickColor.new("Light stone grey")
  3729. BodyColors5.TorsoColor3 = Color3.new(0.898039, 0.894118, 0.87451)
  3730. Humanoid6.Parent = Model4
  3731. Humanoid6.Health = 50
  3732. Humanoid6.JumpPower = 100
  3733. Humanoid6.LeftLeg = Part18
  3734. Humanoid6.MaxHealth = 50
  3735. Humanoid6.RightLeg = Part21
  3736. Humanoid6.Torso = Part15
  3737. Humanoid6.WalkSpeed = 0.0099999997764826
  3738. Humanoid6.maxHealth = 50
  3739. Part7.Name = "Head"
  3740. Part7.Parent = Model4
  3741. Part7.CFrame = CFrame.new(0.705411971, 4.49999905, -19.0810223, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  3742. Part7.Orientation = Vector3.new(0, 179.660004, 0)
  3743. Part7.Position = Vector3.new(0.705411971, 4.49999905, -19.0810223)
  3744. Part7.Rotation = Vector3.new(-180, 0.340000004, -180)
  3745. Part7.Color = Color3.new(0.992157, 0.917647, 0.552941)
  3746. Part7.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  3747. Part7.Size = Vector3.new(2, 1, 1)
  3748. Part7.BrickColor = BrickColor.new("Cool yellow")
  3749. Part7.TopSurface = Enum.SurfaceType.Smooth
  3750. Part7.brickColor = BrickColor.new("Cool yellow")
  3751. Part7.FormFactor = Enum.FormFactor.Symmetric
  3752. Part7.formFactor = Enum.FormFactor.Symmetric
  3753. SpecialMesh8.Parent = Part7
  3754. SpecialMesh8.MeshId = "rbxassetid://430073345"
  3755. SpecialMesh8.Offset = Vector3.new(0.109999999, -0.600000024, 0.100000001)
  3756. SpecialMesh8.TextureId = "rbxassetid://430073362"
  3757. SpecialMesh8.MeshType = Enum.MeshType.FileMesh
  3758. Sound9.Name = "Voice"
  3759. Sound9.Parent = Part7
  3760. Sound9.Looped = true
  3761. Sound9.SoundId = "rbxassetid://615716445"
  3762. Sound9.Volume = 2
  3763. PitchShiftSoundEffect10.Parent = Sound9
  3764. PitchShiftSoundEffect10.Octave = 0.5
  3765. Dialog11.Parent = Part7
  3766. Dialog11.GoodbyeDialog = "..."
  3767. Dialog11.InitialPrompt = "*Spare Sans?*"
  3768. DialogChoice12.Name = "Fight"
  3769. DialogChoice12.Parent = Dialog11
  3770. DialogChoice12.GoodbyeDialog = ".."
  3771. DialogChoice12.ResponseDialog = "... you're sparing me? finally. buddy. pal. i know how hard it must be... to make that choice. to go back on everything you've worked up to. i want you to know... i won't let it go to waste. ... c'mere, pal."
  3772. DialogChoice12.UserDialog = "Spare"
  3773. Script13.Parent = Dialog11
  3774. table.insert(cors,sandbox(Script13,function()
  3775. script.Parent.InUse = true
  3776. function clk(player, choice)
  3777. if choice == script.Parent.Fight then
  3778. local Charecter = game.Workspace:FindFirstChild("player")
  3779. local human = Charecter.Humanoid
  3780.  
  3781. local human = player:FindFirstChild("Humanoid")
  3782. for i= 1,999999999999999 do
  3783. human:TakeDamage(10)
  3784. wait(.1)
  3785. end
  3786. end
  3787. end
  3788. script.Parent.DialogChoiceSelected:connect(clk)
  3789.  
  3790. end))
  3791. ParticleEmitter14.Name = "SWet"
  3792. ParticleEmitter14.Parent = Part7
  3793. ParticleEmitter14.Speed = NumberRange.new(3, 3)
  3794. ParticleEmitter14.Enabled = false
  3795. ParticleEmitter14.ZOffset = 1
  3796. ParticleEmitter14.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
  3797. ParticleEmitter14.Acceleration = Vector3.new(0, -12, 0)
  3798. ParticleEmitter14.Rate = 50
  3799. Part15.Name = "HumanoidRootPart"
  3800. Part15.Parent = Model4
  3801. Part15.CFrame = CFrame.new(0.705411971, 2.99999905, -19.0810223, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  3802. Part15.Orientation = Vector3.new(0, 179.660004, 0)
  3803. Part15.Position = Vector3.new(0.705411971, 2.99999905, -19.0810223)
  3804. Part15.Rotation = Vector3.new(-180, 0.340000004, -180)
  3805. Part15.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  3806. Part15.Transparency = 1
  3807. Part15.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  3808. Part15.Size = Vector3.new(2, 2, 1)
  3809. Part15.BottomSurface = Enum.SurfaceType.Smooth
  3810. Part15.BrickColor = BrickColor.new("Bright blue")
  3811. Part15.CanCollide = false
  3812. Part15.LeftParamA = 0
  3813. Part15.LeftParamB = 0
  3814. Part15.RightParamA = 0
  3815. Part15.RightParamB = 0
  3816. Part15.TopSurface = Enum.SurfaceType.Smooth
  3817. Part15.brickColor = BrickColor.new("Bright blue")
  3818. Part15.FormFactor = Enum.FormFactor.Symmetric
  3819. Part15.formFactor = Enum.FormFactor.Symmetric
  3820. Motor6D16.Name = "RootJoint"
  3821. Motor6D16.Parent = Part15
  3822. Motor6D16.MaxVelocity = 0.10000000149012
  3823. Motor6D16.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3824. Motor6D16.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3825. Motor6D16.Part0 = Part15
  3826. Motor6D16.Part1 = Part23
  3827. Motor6D16.part1 = Part23
  3828. Part17.Name = "Left Arm"
  3829. Part17.Parent = Model4
  3830. Part17.CFrame = CFrame.new(2.20538521, 2.99999905, -19.0720825, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  3831. Part17.Orientation = Vector3.new(0, 179.660004, 0)
  3832. Part17.Position = Vector3.new(2.20538521, 2.99999905, -19.0720825)
  3833. Part17.Rotation = Vector3.new(-180, 0.340000004, -180)
  3834. Part17.Color = Color3.new(0.992157, 0.917647, 0.552941)
  3835. Part17.Transparency = 1
  3836. Part17.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  3837. Part17.Size = Vector3.new(1, 2, 1)
  3838. Part17.BrickColor = BrickColor.new("Cool yellow")
  3839. Part17.CanCollide = false
  3840. Part17.brickColor = BrickColor.new("Cool yellow")
  3841. Part17.FormFactor = Enum.FormFactor.Symmetric
  3842. Part17.formFactor = Enum.FormFactor.Symmetric
  3843. Part18.Name = "Left Leg"
  3844. Part18.Parent = Model4
  3845. Part18.CFrame = CFrame.new(1.20540309, 0.999999046, -19.078043, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  3846. Part18.Orientation = Vector3.new(0, 179.660004, 0)
  3847. Part18.Position = Vector3.new(1.20540309, 0.999999046, -19.078043)
  3848. Part18.Rotation = Vector3.new(-180, 0.340000004, -180)
  3849. Part18.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  3850. Part18.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  3851. Part18.Size = Vector3.new(1, 2, 1)
  3852. Part18.BottomSurface = Enum.SurfaceType.Smooth
  3853. Part18.BrickColor = BrickColor.new("Bright blue")
  3854. Part18.CanCollide = false
  3855. Part18.brickColor = BrickColor.new("Bright blue")
  3856. Part18.FormFactor = Enum.FormFactor.Symmetric
  3857. Part18.formFactor = Enum.FormFactor.Symmetric
  3858. SpecialMesh19.Parent = Part18
  3859. SpecialMesh19.MeshId = "rbxassetid://430069778"
  3860. SpecialMesh19.Offset = Vector3.new(-0.0500000007, 0.0250000004, -0.100000001)
  3861. SpecialMesh19.TextureId = "rbxassetid://430070605"
  3862. SpecialMesh19.MeshType = Enum.MeshType.FileMesh
  3863. Part20.Name = "Right Arm"
  3864. Part20.Parent = Model4
  3865. Part20.CFrame = CFrame.new(-0.794561327, 2.99999905, -19.089962, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  3866. Part20.Orientation = Vector3.new(0, 179.660004, 0)
  3867. Part20.Position = Vector3.new(-0.794561327, 2.99999905, -19.089962)
  3868. Part20.Rotation = Vector3.new(-180, 0.340000004, -180)
  3869. Part20.Color = Color3.new(0.992157, 0.917647, 0.552941)
  3870. Part20.Transparency = 1
  3871. Part20.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  3872. Part20.Size = Vector3.new(1, 2, 1)
  3873. Part20.BrickColor = BrickColor.new("Cool yellow")
  3874. Part20.CanCollide = false
  3875. Part20.brickColor = BrickColor.new("Cool yellow")
  3876. Part20.FormFactor = Enum.FormFactor.Symmetric
  3877. Part20.formFactor = Enum.FormFactor.Symmetric
  3878. Part21.Name = "Right Leg"
  3879. Part21.Parent = Model4
  3880. Part21.CFrame = CFrame.new(0.205420852, 0.999999046, -19.0840015, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  3881. Part21.Orientation = Vector3.new(0, 179.660004, 0)
  3882. Part21.Position = Vector3.new(0.205420852, 0.999999046, -19.0840015)
  3883. Part21.Rotation = Vector3.new(-180, 0.340000004, -180)
  3884. Part21.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  3885. Part21.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  3886. Part21.Size = Vector3.new(1, 2, 1)
  3887. Part21.BottomSurface = Enum.SurfaceType.Smooth
  3888. Part21.BrickColor = BrickColor.new("Bright blue")
  3889. Part21.CanCollide = false
  3890. Part21.brickColor = BrickColor.new("Bright blue")
  3891. Part21.FormFactor = Enum.FormFactor.Symmetric
  3892. Part21.formFactor = Enum.FormFactor.Symmetric
  3893. SpecialMesh22.Parent = Part21
  3894. SpecialMesh22.MeshId = "rbxassetid://430070587"
  3895. SpecialMesh22.Offset = Vector3.new(0.200000003, 0, 0)
  3896. SpecialMesh22.TextureId = "rbxassetid://430070605"
  3897. SpecialMesh22.MeshType = Enum.MeshType.FileMesh
  3898. Part23.Name = "Torso"
  3899. Part23.Parent = Model4
  3900. Part23.CFrame = CFrame.new(0.705411971, 2.99999905, -19.0810223, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
  3901. Part23.Orientation = Vector3.new(0, 179.660004, 0)
  3902. Part23.Position = Vector3.new(0.705411971, 2.99999905, -19.0810223)
  3903. Part23.Rotation = Vector3.new(-180, 0.340000004, -180)
  3904. Part23.Color = Color3.new(0.156863, 0.498039, 0.278431)
  3905. Part23.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
  3906. Part23.Size = Vector3.new(2, 2, 1)
  3907. Part23.BrickColor = BrickColor.new("Dark green")
  3908. Part23.LeftParamA = 0
  3909. Part23.LeftParamB = 0
  3910. Part23.LeftSurface = Enum.SurfaceType.Weld
  3911. Part23.RightParamA = 0
  3912. Part23.RightParamB = 0
  3913. Part23.RightSurface = Enum.SurfaceType.Weld
  3914. Part23.brickColor = BrickColor.new("Dark green")
  3915. Part23.FormFactor = Enum.FormFactor.Symmetric
  3916. Part23.formFactor = Enum.FormFactor.Symmetric
  3917. Motor6D24.Name = "Right Shoulder"
  3918. Motor6D24.Parent = Part23
  3919. Motor6D24.MaxVelocity = 0.10000000149012
  3920. Motor6D24.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  3921. Motor6D24.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  3922. Motor6D24.Part0 = Part23
  3923. Motor6D24.Part1 = Part20
  3924. Motor6D24.part1 = Part20
  3925. Motor6D25.Name = "Left Shoulder"
  3926. Motor6D25.Parent = Part23
  3927. Motor6D25.MaxVelocity = 0.10000000149012
  3928. Motor6D25.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3929. Motor6D25.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3930. Motor6D25.Part0 = Part23
  3931. Motor6D25.Part1 = Part17
  3932. Motor6D25.part1 = Part17
  3933. Motor6D26.Name = "Right Hip"
  3934. Motor6D26.Parent = Part23
  3935. Motor6D26.MaxVelocity = 0.10000000149012
  3936. Motor6D26.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  3937. Motor6D26.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  3938. Motor6D26.Part0 = Part23
  3939. Motor6D26.Part1 = Part21
  3940. Motor6D26.part1 = Part21
  3941. Motor6D27.Name = "Left Hip"
  3942. Motor6D27.Parent = Part23
  3943. Motor6D27.MaxVelocity = 0.10000000149012
  3944. Motor6D27.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3945. Motor6D27.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3946. Motor6D27.Part0 = Part23
  3947. Motor6D27.Part1 = Part18
  3948. Motor6D27.part1 = Part18
  3949. Motor6D28.Name = "Neck"
  3950. Motor6D28.Parent = Part23
  3951. Motor6D28.MaxVelocity = 0.10000000149012
  3952. Motor6D28.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3953. Motor6D28.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3954. Motor6D28.Part0 = Part23
  3955. Motor6D28.Part1 = Part7
  3956. Motor6D28.part1 = Part7
  3957. Decal29.Name = "roblox"
  3958. Decal29.Parent = Part23
  3959. SpecialMesh30.Parent = Part23
  3960. SpecialMesh30.MeshId = "rbxassetid://430072717"
  3961. SpecialMesh30.Offset = Vector3.new(0.109999999, -0.300000012, 0.100000001)
  3962. SpecialMesh30.TextureId = "rbxassetid://430072723"
  3963. SpecialMesh30.MeshType = Enum.MeshType.FileMesh
  3964. ParticleEmitter31.Name = "MissGui"
  3965. ParticleEmitter31.Parent = Part23
  3966. ParticleEmitter31.LightInfluence = 1
  3967. ParticleEmitter31.Texture = "rbxassetid://893928449"
  3968. ParticleEmitter31.Acceleration = Vector3.new(0, -3, 0)
  3969. ParticleEmitter31.Lifetime = NumberRange.new(5, 5)
  3970. ParticleEmitter31.Rate = 0
  3971. Sound32.Name = "Magic"
  3972. Sound32.Parent = Part23
  3973. Sound32.Pitch = 0.94999998807907
  3974. Sound32.PlaybackSpeed = 0.94999998807907
  3975. Sound32.SoundId = "rbxassetid://446961725"
  3976. Sound32.Volume = 1
  3977. Script33.Name = "PushPack"
  3978. Script33.Parent = Part23
  3979. table.insert(cors,sandbox(Script33,function()
  3980. door = script.Parent
  3981.  
  3982. function onTouch(hit)
  3983. if hit.Parent == nil then return end
  3984. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  3985. if h ~= nil then
  3986. hit.Parent.Torso.Velocity=door.CFrame.lookVector * 100 -- Push the Player back
  3987. script.Parent.Magic.Playing = true
  3988. end
  3989. end
  3990. door.Touched:connect(onTouch)
  3991. end))
  3992. Script33.Disabled = true
  3993. Sound34.Parent = Part23
  3994. Sound34.PlayOnRemove = true
  3995. Sound34.SoundId = "rbxassetid://427025525"
  3996. Sound34.Volume = 10
  3997. Sound35.Name = "HitSound"
  3998. Sound35.Parent = Part23
  3999. Sound35.SoundId = "rbxassetid://388826051"
  4000. Sound35.Volume = 5
  4001. ParticleEmitter36.Name = "Bleed"
  4002. ParticleEmitter36.Parent = Part23
  4003. ParticleEmitter36.Speed = NumberRange.new(3, 3)
  4004. ParticleEmitter36.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  4005. ParticleEmitter36.Enabled = false
  4006. ParticleEmitter36.ZOffset = 1
  4007. ParticleEmitter36.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
  4008. ParticleEmitter36.Acceleration = Vector3.new(0, -12, 0)
  4009. ParticleEmitter36.EmissionDirection = Enum.NormalId.Front
  4010. ParticleEmitter36.Rate = 50
  4011. Camera37.Name = "ThumbnailCamera"
  4012. Camera37.Parent = Model4
  4013. Camera37.CFrame = CFrame.new(-14.8329964, 1.63690138, -18.4846897, 0.999122858, -0.00722842105, -0.0412463434, -0, 0.98498857, -0.172619238, 0.0418749452, 0.172467828, 0.984124601)
  4014. Camera37.CoordinateFrame = CFrame.new(-14.8329964, 1.63690138, -18.4846897, 0.999122858, -0.00722842105, -0.0412463434, -0, 0.98498857, -0.172619238, 0.0418749452, 0.172467828, 0.984124601)
  4015. Camera37.Focus = CFrame.new(-14.6267643, 2.49999905, -23.4053211, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4016. Camera37.focus = CFrame.new(-14.6267643, 2.49999905, -23.4053211, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4017. Script38.Name = "Sans_Main"
  4018. Script38.Parent = Model4
  4019. table.insert(cors,sandbox(Script38,function()
  4020. debris = game:GetService("Debris")
  4021. gui =false
  4022. ded = false
  4023. diffaculty= 0
  4024. Talk = script.Parent.TalkScript
  4025. function findNearestTorso(pos)
  4026. local list = game.Workspace:children()
  4027. local torso = nil
  4028. local dist = 300 + script.Parent.Humanoid.MaxHealth-script.Parent.Humanoid.Health --This Line Right Here
  4029. local temp = nil
  4030. local human = nil
  4031. local temp2 = nil
  4032. for x = 1, #list do
  4033. temp2 = list[x]
  4034. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  4035. temp = temp2:findFirstChild("Torso")
  4036. human = temp2:findFirstChildOfClass("Humanoid")
  4037. Friend = temp2:findFirstChild("Team")
  4038. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) and (Friend == nil) or (temp ~= nil) and (human ~= nil) and (human.Health > 0) and (Friend.Value ~= script.Parent.Team.Value) then
  4039. if (temp.Position - pos).magnitude < dist then
  4040. torso = temp
  4041. dist = (temp.Position - pos).magnitude
  4042. end
  4043. end
  4044. end
  4045. end
  4046. return torso
  4047. end
  4048. gui = false
  4049. function Dodge()
  4050. local orgin = script.Parent.Torso.Position
  4051. script.Parent.Humanoid.Health = script.Parent.Humanoid.MaxHealth
  4052. local direction = math.random(1,2)
  4053. if direction ==1 then script.Parent.Torso.Velocity = CFrame.Angles(0,math.pi/2,0)* script.Parent.Torso.CFrame.lookVector * (-100) end
  4054. if direction == 2 then script.Parent.Torso.Velocity = CFrame.Angles(0,math.pi/2,0)* script.Parent.Torso.CFrame.lookVector * (100) end
  4055. if ded == false then script.Parent.Humanoid.Sit = false end
  4056. if gui== false then
  4057. gui = true
  4058.  
  4059. if diffaculty ~= 28 and diffaculty ~=9 then
  4060. script.Parent.Torso.MissGui:Emit(1)
  4061. if diffaculty == 0 then
  4062. wait(.5)
  4063. script.Parent:MoveTo(orgin)
  4064. script.Parent.Torso.Velocity = script.Parent.Torso.Velocity*0
  4065. game:GetService("Chat"):Chat(script.Parent.Head, "What. you think im just gonna Stand there and take it?", "Red")
  4066. script.Parent.Head.Voice:Play()
  4067. wait(4)
  4068. script.Parent.Head.Voice:Stop()
  4069. wait(1)
  4070. script.Parent.Torso.PushPack.Disabled = false
  4071. Talk.Disabled = false
  4072. end
  4073. diffaculty = diffaculty+1
  4074. if diffaculty== 1 then
  4075. local target = findNearestTorso(script.Parent.Torso.Position)
  4076. if target ~= nil and ded == false then
  4077. for i = 1,15 do
  4078. Grattack(target.Position)
  4079. end
  4080.  
  4081. end
  4082. for i = 1,7 do
  4083. GasterBlaster()
  4084. end
  4085. for i = 1,5 do
  4086. for i = 1,7 do
  4087. if target ~= nil then
  4088. lookAt = (target.Position - script.Parent.Torso.Position).unit
  4089. Fire(lookAt)
  4090. end
  4091. end
  4092.  
  4093.  
  4094. wait(.1)
  4095. end
  4096.  
  4097. end
  4098. GasterBlaster()
  4099. print(diffaculty)
  4100. script.Parent.Megalovania.Playing = true
  4101.  
  4102. else
  4103.  
  4104. if diffaculty == 28 then
  4105. Talk.Disabled = true
  4106. script.Parent.Torso.Bleed.Enabled = true
  4107. script.Parent.Torso.Anchored = true
  4108. script.Parent.Head.SWet.Enabled= false
  4109. ded = true
  4110. script.Parent.Humanoid.Sit = true
  4111. script.Parent.Megalovania.Playing = false
  4112. script.Parent.Torso.HitSound:Play()
  4113. wait(1)
  4114. game:GetService("Chat"):Chat(script.Parent.Head, "... ... ... so... guess that's it, huh? ... just... don't say i didn't warn you. welp. i'm going to grillby's. papyrus, do you want anything?", "Red")
  4115. script.Parent.Head.Voice:Play()
  4116.  
  4117. wait(4)
  4118. script.Parent.Head.Voice:Stop()
  4119. script.Parent.Humanoid.Sit = false
  4120. wait(1)
  4121. game:GetService("Chat"):Chat(script.Parent.Head, "Papyrus, do you want anything?", "Red")
  4122. script.Parent.Head.Voice:Play()
  4123.  
  4124. wait(4)
  4125. script.Parent.Head.Voice:Stop()
  4126. script.Parent.Humanoid.Health = 0
  4127. wait()
  4128. script.Parent:Destroy()
  4129. else
  4130. script.Parent.Torso.Anchored = true
  4131. ded = true
  4132. game:GetService("Chat"):Chat(script.Parent.Head, "ugh... that being said... you, uh, really like swinging that thing around, huh?", "Red")
  4133. script.Parent.Megalovania.Playing = false
  4134. Talk.Disabled = true
  4135. Talk = script.Parent.TalkScript2
  4136. script.Parent.Head.Voice:Play()
  4137. wait(3)
  4138. script.Parent.Head.Voice:Stop()
  4139. wait(1)
  4140. game:GetService("Chat"):Chat(script.Parent.Head, "i know you didn't answer me before, but... somewhere in there. i can feel it. there's a glimmer of a good person inside of you. the memory of someone who once wanted to do the right thing. someone who, in another time, might have even been... a friend? c'mon, buddy. do you remember me? please, if you're listening... let's forget all of this, ok? just lay down your weapon, and... well, my job will be a lot easier.", "Red")
  4141. Talk.Disabled = true
  4142. script.Parent.Head.Voice:Play()
  4143. wait(3)
  4144. script.Parent.Head.Voice:Stop()
  4145. wait(1)
  4146. script.Parent.Head.Dialog.InUse = false
  4147.  
  4148. wait(10)
  4149.  
  4150.  
  4151.  
  4152. script.Parent.Head.Dialog.InUse= true
  4153. game:GetService("Chat"):Chat(script.Parent.Head, "welp, it was worth a shot. guess you like doing things the hard way, huh?", "Red")
  4154. Talk.Disabled = false
  4155. script.Parent.Head.Voice:Play()
  4156. wait(3)
  4157. script.Parent.Head.Voice:Stop()
  4158. wait(1)
  4159. script.Parent.Torso.Anchored = false
  4160. script.Parent.Megalovania.TimePosition = 0
  4161. script.Parent.Megalovania.Playing = true
  4162. ded = false
  4163. diffaculty = 10
  4164. end
  4165. end
  4166. wait(5)
  4167. script.Parent:MoveTo(orgin)
  4168. gui = false
  4169. end
  4170. end
  4171. function Grattack(Pos)
  4172. local missile = Instance.new("Part")
  4173. missile.Position = Pos+Vector3.new(math.random(-3,3),-1,math.random(-3,3))
  4174. local size = math.random(2,3)
  4175. missile.Size = Vector3.new(2,size,2)
  4176. missile.Anchored = true
  4177. missile.Transparency = 1
  4178. missile.BrickColor = BrickColor.White()
  4179. missile.Shape = 1
  4180. missile.BottomSurface = 0
  4181. missile.TopSurface = 0
  4182. missile.Elasticity = .05
  4183. missile.Friction = .7
  4184. missile.Name = "Bullet"
  4185. local force = Instance.new("BodyForce")
  4186. force.force = Vector3.new(0,missile:GetMass()*196.175,0)
  4187. force.Parent = missile
  4188. script.Mesh:Clone().Parent = missile
  4189. local new_script = script.Ground_Attack:clone()
  4190. new_script.Disabled = false
  4191. new_script.Parent = missile
  4192. debris:AddItem(missile,10)
  4193.  
  4194. missile.Parent = game.Workspace
  4195.  
  4196. end
  4197. function GasterBlaster()
  4198. local Blaster = Instance.new("Part")
  4199. Blaster.Position = script.Parent.Head.Position+Vector3.new(0,5,0)
  4200. Blaster.Size = Vector3.new(2,2,2)
  4201. local MainScript = script.Gaster_Blaster_Main:Clone()
  4202. MainScript.Parent = Blaster
  4203. Blaster.Parent = workspace
  4204. MainScript.Disabled = false
  4205. end
  4206.  
  4207. function Fire(v) -- this function is outside since it is defined by the actions part of the script
  4208.  
  4209. local noise = Vector3.new(math.random() - .7, math.random() - .7, math.random() - .7).unit
  4210. v = (v + (noise * diffaculty*.01)).unit
  4211.  
  4212. local spawnPos = script.Parent.Torso.Position
  4213.  
  4214. spawnPos = spawnPos + (v * 10)
  4215.  
  4216. local missile = Instance.new("Part")
  4217. missile.Position = spawnPos
  4218. local size = math.random(2,3)
  4219. missile.Size = Vector3.new(1,size,1)
  4220.  
  4221. missile.Velocity = v * 100
  4222. missile.BrickColor = BrickColor.White()
  4223. missile.Shape = 1
  4224. missile.BottomSurface = 0
  4225. missile.TopSurface = 0
  4226. missile.Elasticity = .05
  4227. missile.Friction = .7
  4228. missile.Name = "Bullet"
  4229. local force = Instance.new("BodyForce")
  4230. force.force = Vector3.new(0,missile:GetMass()*196.175,0)
  4231. force.Parent = missile
  4232. script.Mesh:Clone().Parent = missile
  4233. local new_script = script.LightScript:clone()
  4234. new_script.Disabled = false
  4235. new_script.Parent = missile
  4236. debris:AddItem(missile,10)
  4237.  
  4238. missile.Parent = game.Workspace
  4239. end
  4240. script.Parent.Humanoid.HealthChanged:connect(Dodge)
  4241. while true do
  4242. wait(0.1)
  4243. if diffaculty > 15 then
  4244. script.Parent.Head.SWet.Enabled = true
  4245. end
  4246. local target = findNearestTorso(script.Parent.Torso.Position)
  4247. if target ~= nil and ded == false then
  4248.  
  4249. lookAt = (target.Position - script.Parent.Torso.Position).unit
  4250. local rng = math.random(1,31-diffaculty)
  4251. script.Parent.Humanoid:MoveTo(target.Position, target)
  4252. if rng ==1 or rng ==3 then
  4253. local test = target.Parent:FindFirstChild("Stun")
  4254. if test == nil then
  4255. local stun = script.Stun:Clone()
  4256. stun.Parent = target.Parent
  4257. stun.Disabled = false
  4258. end
  4259. end
  4260. if (target.Position - script.Parent.Torso.Position).magnitude > 150 then
  4261. script.Parent:MoveTo(target.Position+Vector3.new(math.random(-70,70),math.random(0,0),math.random(-70,70)))
  4262. end
  4263. if rng == 2 or rng == 5 or rng == 4 then
  4264. GasterBlaster()
  4265. end
  4266. if rng > 2 then
  4267.  
  4268. for i = 1,1+diffaculty do
  4269. if target ~= nil then
  4270. lookAt = (target.Position - script.Parent.Torso.Position).unit
  4271. end
  4272. Fire(lookAt)
  4273. wait(.1)
  4274. end
  4275.  
  4276.  
  4277. if diffaculty > 9 then
  4278. for i = 1,10 do
  4279. Grattack(target.Position)
  4280. end
  4281. script.Parent.Torso.Magic:Play()
  4282. script.Parent:MoveTo(script.Parent.Torso.Position+Vector3.new(math.random(-30-diffaculty,30+diffaculty),math.random(0,0),math.random(-30-diffaculty,30+diffaculty)))
  4283. for i = 1,1+diffaculty do
  4284. if target ~= nil then
  4285. lookAt = (target.Position - script.Parent.Torso.Position).unit
  4286. end
  4287. Fire(lookAt)
  4288. wait(.1)
  4289. end
  4290.  
  4291. GasterBlaster()
  4292. wait(math.random(.1,1))
  4293. GasterBlaster()
  4294. end
  4295. end
  4296. wait()
  4297. script.Parent.Torso.Magic:Play()
  4298. script.Parent:MoveTo(script.Parent.Torso.Position+Vector3.new(math.random(-30,30),math.random(0,0),math.random(-30,30)))
  4299. wait(5-diffaculty*.1)
  4300. if (target.Position - script.Parent.Torso.Position).magnitude > 150 then
  4301. script.Parent:MoveTo(target.Position+Vector3.new(math.random(-70,70),math.random(0,0),math.random(-70,70)))
  4302. end
  4303. else
  4304. diffaculty = 0
  4305. script.Parent.Megalovania.Playing = false
  4306. script.Parent.Megalovania.TimePosition = 0
  4307. Talk.Disabled = true
  4308. local Aipath = workspace:FindFirstChild("Ai_Path")
  4309.  
  4310. if Aipath then
  4311. if workspace.Ai_Path:FindFirstChild("a")~=nil then script.Parent.Humanoid.WalkToPart = workspace.Ai_Path.a end
  4312. wait(2)
  4313. if workspace.Ai_Path:FindFirstChild("b")~=nil then script.Parent.Humanoid.WalkToPart = workspace.Ai_Path.b end
  4314. wait(2)
  4315. if workspace.Ai_Path:FindFirstChild("c")~=nil then script.Parent.Humanoid.WalkToPart = workspace.Ai_Path.c end
  4316. wait(2)
  4317. if workspace.Ai_Path:FindFirstChild("d")~=nil then script.Parent.Humanoid.WalkToPart = workspace.Ai_Path.d end
  4318. wait(2)
  4319. else
  4320.  
  4321. script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position+Vector3.new(math.random(-60,60),0,math.random(-60,60)))
  4322. wait(1)
  4323. end
  4324. end
  4325. end
  4326. end))
  4327. Script39.Name = "LightScript"
  4328. Script39.Parent = Script38
  4329. table.insert(cors,sandbox(Script39,function()
  4330. debris = game:GetService("Debris")
  4331. Bolt = script.Parent
  4332. damage = script.Damage.Value
  4333.  
  4334. function onTouched(hit)
  4335. if hit.Name ~= "Bullet" and hit.Parent.Name ~= "Sans" then
  4336.  
  4337.  
  4338. debris:AddItem(Bolt,1)
  4339. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  4340. if humanoid then
  4341. if hit.Name == "Head" then
  4342. humanoid:TakeDamage(damage*2)
  4343.  
  4344. local ed =script.Effect:Clone()-- RAINBOWS RAINOW
  4345. ed.Parent = hit
  4346. ed.Disabled = false
  4347.  
  4348. end
  4349. if hit.Name~= "Head" then
  4350. humanoid:TakeDamage(damage)
  4351.  
  4352. local ed =script.Effect:Clone()-- RAINBOWS RAINOW
  4353. ed.Parent = hit
  4354. ed.Disabled = false
  4355.  
  4356. end
  4357. end
  4358. if humanoid == nil then
  4359. local humanoid = hit.Parent.Parent:FindFirstChild("Humanoid")
  4360. if humanoid == nil and hit.Name~= "Handle" then
  4361. hit:BreakJoints()
  4362. Bolt:Destroy()
  4363. end
  4364. if humanoid then
  4365. humanoid:TakeDamage(25)
  4366. end
  4367. end
  4368. end
  4369. end
  4370. Bolt.Touched:connect(onTouched)
  4371. end))
  4372. Script39.Disabled = true
  4373. NumberValue40.Name = "Damage"
  4374. NumberValue40.Parent = Script39
  4375. NumberValue40.Value = 1
  4376. Script41.Name = "Effect"
  4377. Script41.Parent = Script39
  4378. table.insert(cors,sandbox(Script41,function()
  4379. local human = script.Parent.Parent:FindFirstChildOfClass("Humanoid")
  4380. wait(1)
  4381. for i=1,5 do
  4382. human:TakeDamage(1)
  4383. wait(.5)
  4384. end
  4385. script:Destroy()
  4386. end))
  4387. Script41.Disabled = true
  4388. SpecialMesh42.Parent = Script38
  4389. SpecialMesh42.MeshId = "rbxassetid://465130937"
  4390. SpecialMesh42.Scale = Vector3.new(0.0199999996, 0.0199999996, 0.0199999996)
  4391. SpecialMesh42.MeshType = Enum.MeshType.FileMesh
  4392. Script43.Name = "Ground_Attack"
  4393. Script43.Parent = Script38
  4394. table.insert(cors,sandbox(Script43,function()
  4395. debris = game:GetService("Debris")
  4396. Bolt = script.Parent
  4397. local damage = script.Damage.Value
  4398. script.Parent.CanCollide = false
  4399. script.SelectionBox.Adornee= script.Parent
  4400. script.Notice.Parent = script.Parent
  4401. script.Parent.Notice:Play()
  4402. active = false
  4403. wait(.3)
  4404. script.Parent.CanCollide = true
  4405. script.Parent.Transparency = 0
  4406. active = true
  4407. script.SelectionBox:Destroy()
  4408. function hitsome(hit)
  4409. if active == true then
  4410. if hit.Name ~= "Bullet" and hit.Parent.Name ~= "Sans" then
  4411.  
  4412.  
  4413. debris:AddItem(Bolt,5)
  4414. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  4415. if humanoid then
  4416. if hit.Name == "Head" then
  4417. humanoid:TakeDamage(damage*2)
  4418.  
  4419. local ed =script.Effect:Clone()-- RAINBOWS RAINOW
  4420. ed.Parent = hit
  4421. ed.Disabled = false
  4422.  
  4423. end
  4424. if hit.Name~= "Head" then
  4425. humanoid:TakeDamage(damage)
  4426.  
  4427. local ed =script.Effect:Clone()-- RAINBOWS RAINOW
  4428. ed.Parent = hit
  4429. ed.Disabled = false
  4430.  
  4431. end
  4432. end
  4433. if humanoid == nil then
  4434. local humanoid = hit.Parent.Parent:FindFirstChild("Humanoid")
  4435. if humanoid == nil then
  4436. Bolt:Destroy()
  4437. end
  4438. if humanoid then
  4439. humanoid:TakeDamage(25)
  4440. end
  4441. end
  4442. end
  4443. end
  4444. end
  4445. script.Parent.Touched:connect(hitsome)
  4446.  
  4447. end))
  4448. Script43.Disabled = true
  4449. SelectionBox44.Parent = Script43
  4450. SelectionBox44.SurfaceColor = BrickColor.new("Really red")
  4451. SelectionBox44.SurfaceColor3 = Color3.new(1, 0, 0)
  4452. Sound45.Name = "Notice"
  4453. Sound45.Parent = Script43
  4454. Sound45.SoundId = "rbxassetid://401680588"
  4455. NumberValue46.Name = "Damage"
  4456. NumberValue46.Parent = Script43
  4457. NumberValue46.Value = 1
  4458. Script47.Name = "Effect"
  4459. Script47.Parent = Script43
  4460. table.insert(cors,sandbox(Script47,function()
  4461. local human = script.Parent.Parent:FindFirstChildOfClass("Humanoid")
  4462. wait(1)
  4463. for i=1,5 do
  4464. human:TakeDamage(1)
  4465. wait(.5)
  4466. end
  4467. script:Destroy()
  4468. end))
  4469. Script47.Disabled = true
  4470. Script48.Name = "Stun"
  4471. Script48.Parent = Script38
  4472. table.insert(cors,sandbox(Script48,function()
  4473. local magic =script.Magic
  4474. local SoulGui= script.BlueSoul
  4475. local Humanoid = script.Parent:FindFirstChildOfClass("Humanoid")
  4476. magic.Parent= script.Parent.Torso
  4477. SoulGui.Parent=script.Parent.Torso
  4478.  
  4479.  
  4480.  
  4481. SoulGui.Enabled = true
  4482. magic:Play()
  4483.  
  4484. direction = math.random(1,5)
  4485. if direction == 1 then
  4486. script.Parent.Torso.Velocity = Vector3.new(0,400,0)
  4487. end
  4488. if direction == 2 then
  4489. script.Parent.Torso.Velocity = Vector3.new(0,400,0)
  4490. end
  4491. if direction == 3 then
  4492. script.Parent.Torso.Velocity = Vector3.new(400,0,0)
  4493. end
  4494. if direction == 4 then
  4495. script.Parent.Torso.Velocity = Vector3.new(-400,0,0)
  4496. end
  4497. if direction == 5 then
  4498. script.Parent.Torso.Velocity = Vector3.new(0,0,400)
  4499. end
  4500. wait(3)
  4501.  
  4502. if SoulGui then SoulGui:Destroy() end
  4503. if magic then magic:Destroy() end
  4504. script:Destroy()
  4505. end))
  4506. Script48.Disabled = true
  4507. BillboardGui49.Name = "BlueSoul"
  4508. BillboardGui49.Parent = Script48
  4509. BillboardGui49.Enabled = false
  4510. BillboardGui49.Size = UDim2.new(1, 0, 1, 0)
  4511. BillboardGui49.AlwaysOnTop = true
  4512. ImageLabel50.Name = "HitText"
  4513. ImageLabel50.Parent = BillboardGui49
  4514. ImageLabel50.Position = UDim2.new(-1, 0, -1, 0)
  4515. ImageLabel50.Size = UDim2.new(3, 0, 3, 0)
  4516. ImageLabel50.BackgroundColor = BrickColor.new("Institutional white")
  4517. ImageLabel50.BackgroundColor3 = Color3.new(1, 1, 1)
  4518. ImageLabel50.BackgroundTransparency = 1
  4519. ImageLabel50.Image = "rbxassetid://338425795"
  4520. Sound51.Name = "Magic"
  4521. Sound51.Parent = Script48
  4522. Sound51.SoundId = "rbxassetid://446961725"
  4523. Sound51.Volume = 5
  4524. Script52.Name = "Gaster_Blaster_Main"
  4525. Script52.Parent = Script38
  4526. table.insert(cors,sandbox(Script52,function()
  4527. script:WaitForChild("Charge").Parent = script.Parent
  4528. script:WaitForChild("Fire").Parent = script.Parent
  4529. script:WaitForChild("Mesh").Parent = script.Parent
  4530. script:WaitForChild("ParticleEmitter").Parent = script.Parent
  4531. script:WaitForChild("BodyPosition").Parent = script.Parent
  4532. script.Parent:WaitForChild("BodyPosition").Position = script.Parent.Position
  4533. function findTorso(pos)
  4534. local torso = nil
  4535. local dist = 1000
  4536. local child = workspace:children()
  4537. for i=1, #child do
  4538. if child[i].className == "Model" and child[i].Name ~= "Sans" then
  4539. local h = child[i]:findFirstChildOfClass("Humanoid")
  4540. if h ~= nil then
  4541. local check = child[i]:findFirstChild("Torso")
  4542. if check ~= nil and h.Health > 1 then
  4543. if (check.Position - pos).magnitude < dist then
  4544. torso = check
  4545. dist = (check.Position - pos).magnitude
  4546. end
  4547. end
  4548. end
  4549. end
  4550. end
  4551. return torso
  4552. end
  4553. function Fire(LookAt)
  4554. script.Parent.RotVelocity = Vector3.new(0,0,0)
  4555. wait(.1)
  4556. local ray = Ray.new(script.Parent.CFrame.p, (LookAt - script.Parent.CFrame.p).unit * 450)
  4557. local part, position = workspace:FindPartOnRay(ray, script.Parent, false, true)
  4558.  
  4559. local beam = Instance.new("Part", workspace)
  4560. beam.BrickColor = BrickColor.White()
  4561. beam.FormFactor = "Custom"
  4562. beam.Material = "Neon"
  4563. beam.Transparency = 0.25
  4564. beam.Anchored = true
  4565. beam.Locked = true
  4566. beam.CanCollide = false
  4567.  
  4568. local distance = (script.Parent.CFrame.p - position).magnitude
  4569.  
  4570. --debris:AddItem(beam,.01)
  4571.  
  4572. beam.Size = Vector3.new(0.5, 0.5, distance)
  4573. beam.CFrame = CFrame.new(script.Parent.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4574.  
  4575. game:GetService("Debris"):AddItem(beam, 0.1)
  4576.  
  4577. if part then
  4578. local humanoid = part.Parent:FindFirstChildOfClass("Humanoid")
  4579.  
  4580. if not humanoid then
  4581. humanoid = part.Parent.Parent:FindFirstChildOfClass("Humanoid")
  4582. end
  4583.  
  4584. if humanoid then
  4585. if humanoid.Parent.Name ~= "Sans" then
  4586. humanoid:TakeDamage(15)
  4587. local ed =script.Effect:Clone()-- RAINBOWS RAINOW
  4588. ed.Parent = humanoid
  4589. ed.Disabled = false
  4590. end
  4591. else
  4592. if part.Name~= "Handle" and part.Anchored == false then
  4593. part:BreakJoints()
  4594. part.Velocity = script.Parent.CFrame.lookVector*50
  4595. end
  4596. end
  4597.  
  4598. end
  4599.  
  4600. end
  4601. for i = 1,5 do
  4602. wait()
  4603. local torso = findTorso(script.Parent.Position)
  4604. if torso ~= nil then
  4605. script.Parent.CFrame = CFrame.new(script.Parent.Position, torso.Position)
  4606. local pos = torso.Position
  4607. script.Parent.Charge:Play()
  4608. script.Parent.ParticleEmitter.Enabled = true
  4609. wait(1.12)
  4610. script.Parent.ParticleEmitter.Enabled = false
  4611. script.Parent.Fire:Play()
  4612.  
  4613. for i= 1,10 do
  4614. Fire(pos)
  4615. end
  4616. script.Parent.Position= torso.Position + Vector3.new(math.random(-120,120),math.random(5,20),math.random(-120,120))
  4617. script.Parent.BodyPosition.Position = script.Parent.Position
  4618.  
  4619. end
  4620. end
  4621. wait()
  4622. script.Parent:Destroy()
  4623. end))
  4624. Script52.Disabled = true
  4625. SpecialMesh53.Parent = Script52
  4626. SpecialMesh53.MeshId = "http://www.roblox.com/asset/?id=14028428"
  4627. SpecialMesh53.Offset = Vector3.new(0, 1, 0)
  4628. SpecialMesh53.Scale = Vector3.new(2, 2, 2)
  4629. SpecialMesh53.VertexColor = Vector3.new(1000000, 10000, 10000)
  4630. SpecialMesh53.MeshType = Enum.MeshType.FileMesh
  4631. ParticleEmitter54.Parent = Script52
  4632. ParticleEmitter54.Speed = NumberRange.new(0, 0)
  4633. ParticleEmitter54.Enabled = false
  4634. ParticleEmitter54.LightInfluence = 1
  4635. ParticleEmitter54.EmissionDirection = Enum.NormalId.Front
  4636. ParticleEmitter54.Lifetime = NumberRange.new(1, 1)
  4637. ParticleEmitter54.LockedToPart = true
  4638. BodyPosition55.Parent = Script52
  4639. BodyPosition55.MaxForce = Vector3.new(400000, 400000, 400000)
  4640. BodyPosition55.maxForce = Vector3.new(400000, 400000, 400000)
  4641. Sound56.Name = "Fire"
  4642. Sound56.Parent = Script52
  4643. Sound56.SoundId = "rbxassetid://340722848"
  4644. Sound56.Volume = 5
  4645. Sound57.Name = "Charge"
  4646. Sound57.Parent = Script52
  4647. Sound57.SoundId = "rbxassetid://422747271"
  4648. Sound57.Volume = 2
  4649. Script58.Name = "Effect"
  4650. Script58.Parent = Script52
  4651. table.insert(cors,sandbox(Script58,function()
  4652. local human = script.Parent
  4653. wait(1)
  4654. for i=1,20 do
  4655. human:TakeDamage(1)
  4656. wait(.5)
  4657. end
  4658. script:Destroy()
  4659. end))
  4660. Script58.Disabled = true
  4661. BrickColorValue59.Name = "Team"
  4662. BrickColorValue59.Parent = Model4
  4663. Script60.Name = "Animate"
  4664. Script60.Parent = Model4
  4665. table.insert(cors,sandbox(Script60,function()
  4666. function waitForChild(parent, childName)
  4667. local child = parent:findFirstChild(childName)
  4668. if child then return child end
  4669. while true do
  4670. child = parent.ChildAdded:wait()
  4671. if child.Name==childName then return child end
  4672. end
  4673. end
  4674.  
  4675. local Figure = script.Parent
  4676. local Torso = waitForChild(Figure, "Torso")
  4677. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  4678. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  4679. local RightHip = waitForChild(Torso, "Right Hip")
  4680. local LeftHip = waitForChild(Torso, "Left Hip")
  4681. local Neck = waitForChild(Torso, "Neck")
  4682. local Humanoid = waitForChild(Figure, "Humanoid")
  4683. local pose = "Standing"
  4684.  
  4685. local currentAnim = ""
  4686. local currentAnimTrack = nil
  4687. local currentAnimKeyframeHandler = nil
  4688. local currentAnimSpeed = 1.0
  4689. local animTable = {}
  4690. local animNames = {
  4691. idle = {
  4692. { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
  4693. { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
  4694. },
  4695. walk = {
  4696. { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
  4697. },
  4698. run = {
  4699. { id = "run.xml", weight = 10 }
  4700. },
  4701. jump = {
  4702. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  4703. },
  4704. fall = {
  4705. { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
  4706. },
  4707. climb = {
  4708. { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
  4709. },
  4710. toolnone = {
  4711. { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
  4712. },
  4713. toolslash = {
  4714. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  4715. -- { id = "slash.xml", weight = 10 }
  4716. },
  4717. toollunge = {
  4718. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  4719. },
  4720. wave = {
  4721. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  4722. },
  4723. point = {
  4724. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  4725. },
  4726. dance = {
  4727. { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
  4728. { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
  4729. { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
  4730. },
  4731. dance2 = {
  4732. { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
  4733. { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
  4734. { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
  4735. },
  4736. dance3 = {
  4737. { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
  4738. { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
  4739. { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
  4740. },
  4741. laugh = {
  4742. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  4743. },
  4744. cheer = {
  4745. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  4746. },
  4747. }
  4748.  
  4749. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  4750. local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  4751.  
  4752. math.randomseed(tick())
  4753.  
  4754. function configureAnimationSet(name, fileList)
  4755. if (animTable[name] ~= nil) then
  4756. for _, connection in pairs(animTable[name].connections) do
  4757. connection:disconnect()
  4758. end
  4759. end
  4760. animTable[name] = {}
  4761. animTable[name].count = 0
  4762. animTable[name].totalWeight = 0
  4763. animTable[name].connections = {}
  4764.  
  4765. -- check for config values
  4766. local config = script:FindFirstChild(name)
  4767. if (config ~= nil) then
  4768. -- print("Loading anims " .. name)
  4769. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  4770. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  4771. local idx = 1
  4772. for _, childPart in pairs(config:GetChildren()) do
  4773. if (childPart:IsA("Animation")) then
  4774. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  4775. animTable[name][idx] = {}
  4776. animTable[name][idx].anim = childPart
  4777. local weightObject = childPart:FindFirstChild("Weight")
  4778. if (weightObject == nil) then
  4779. animTable[name][idx].weight = 1
  4780. else
  4781. animTable[name][idx].weight = weightObject.Value
  4782. end
  4783. animTable[name].count = animTable[name].count + 1
  4784. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  4785. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  4786. idx = idx + 1
  4787. end
  4788. end
  4789. end
  4790.  
  4791. -- fallback to defaults
  4792. if (animTable[name].count <= 0) then
  4793. for idx, anim in pairs(fileList) do
  4794. animTable[name][idx] = {}
  4795. animTable[name][idx].anim = Instance.new("Animation")
  4796. animTable[name][idx].anim.Name = name
  4797. animTable[name][idx].anim.AnimationId = anim.id
  4798. animTable[name][idx].weight = anim.weight
  4799. animTable[name].count = animTable[name].count + 1
  4800. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  4801. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  4802. end
  4803. end
  4804. end
  4805.  
  4806. -- Setup animation objects
  4807. function scriptChildModified(child)
  4808. local fileList = animNames[child.Name]
  4809. if (fileList ~= nil) then
  4810. configureAnimationSet(child.Name, fileList)
  4811. end
  4812. end
  4813.  
  4814. script.ChildAdded:connect(scriptChildModified)
  4815. script.ChildRemoved:connect(scriptChildModified)
  4816.  
  4817.  
  4818. for name, fileList in pairs(animNames) do
  4819. configureAnimationSet(name, fileList)
  4820. end
  4821.  
  4822. -- ANIMATION
  4823.  
  4824. -- declarations
  4825. local toolAnim = "None"
  4826. local toolAnimTime = 0
  4827.  
  4828. local jumpAnimTime = 0
  4829. local jumpAnimDuration = 0.3
  4830.  
  4831. local toolTransitionTime = 0.1
  4832. local fallTransitionTime = 0.3
  4833. local jumpMaxLimbVelocity = 0.75
  4834.  
  4835. -- functions
  4836.  
  4837. function stopAllAnimations()
  4838. local oldAnim = currentAnim
  4839.  
  4840. -- return to idle if finishing an emote
  4841. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  4842. oldAnim = "idle"
  4843. end
  4844.  
  4845. currentAnim = ""
  4846. if (currentAnimKeyframeHandler ~= nil) then
  4847. currentAnimKeyframeHandler:disconnect()
  4848. end
  4849.  
  4850. if (currentAnimTrack ~= nil) then
  4851. currentAnimTrack:Stop()
  4852. currentAnimTrack:Destroy()
  4853. currentAnimTrack = nil
  4854. end
  4855. return oldAnim
  4856. end
  4857.  
  4858. function setAnimationSpeed(speed)
  4859. if speed ~= currentAnimSpeed then
  4860. currentAnimSpeed = speed
  4861. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  4862. end
  4863. end
  4864.  
  4865. function keyFrameReachedFunc(frameName)
  4866. if (frameName == "End") then
  4867. -- print("Keyframe : ".. frameName)
  4868. local repeatAnim = stopAllAnimations()
  4869. local animSpeed = currentAnimSpeed
  4870. playAnimation(repeatAnim, 0.0, Humanoid)
  4871. setAnimationSpeed(animSpeed)
  4872. end
  4873. end
  4874.  
  4875. -- Preload animations
  4876. function playAnimation(animName, transitionTime, humanoid)
  4877. local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
  4878. if (animName ~= currentAnim and not idleFromEmote) then
  4879.  
  4880. if (currentAnimTrack ~= nil) then
  4881. currentAnimTrack:Stop(transitionTime)
  4882. currentAnimTrack:Destroy()
  4883. end
  4884.  
  4885. currentAnimSpeed = 1.0
  4886. local roll = math.random(1, animTable[animName].totalWeight)
  4887. local origRoll = roll
  4888. local idx = 1
  4889. while (roll > animTable[animName][idx].weight) do
  4890. roll = roll - animTable[animName][idx].weight
  4891. idx = idx + 1
  4892. end
  4893. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  4894. local anim = animTable[animName][idx].anim
  4895.  
  4896. -- load it to the humanoid; get AnimationTrack
  4897. currentAnimTrack = humanoid:LoadAnimation(anim)
  4898.  
  4899. -- play the animation
  4900. currentAnimTrack:Play(transitionTime)
  4901. currentAnim = animName
  4902.  
  4903. -- set up keyframe name triggers
  4904. if (currentAnimKeyframeHandler ~= nil) then
  4905. currentAnimKeyframeHandler:disconnect()
  4906. end
  4907. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  4908. end
  4909. end
  4910.  
  4911. -------------------------------------------------------------------------------------------
  4912. -------------------------------------------------------------------------------------------
  4913.  
  4914. local toolAnimName = ""
  4915. local toolAnimTrack = nil
  4916. local currentToolAnimKeyframeHandler = nil
  4917.  
  4918. function toolKeyFrameReachedFunc(frameName)
  4919. if (frameName == "End") then
  4920. -- print("Keyframe : ".. frameName)
  4921. local repeatAnim = stopToolAnimations()
  4922. playToolAnimation(repeatAnim, 0.0, Humanoid)
  4923. end
  4924. end
  4925.  
  4926.  
  4927. function playToolAnimation(animName, transitionTime, humanoid)
  4928. if (animName ~= toolAnimName) then
  4929.  
  4930. if (toolAnimTrack ~= nil) then
  4931. toolAnimTrack:Stop()
  4932. toolAnimTrack:Destroy()
  4933. transitionTime = 0
  4934. end
  4935.  
  4936. local roll = math.random(1, animTable[animName].totalWeight)
  4937. local origRoll = roll
  4938. local idx = 1
  4939. while (roll > animTable[animName][idx].weight) do
  4940. roll = roll - animTable[animName][idx].weight
  4941. idx = idx + 1
  4942. end
  4943. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  4944. local anim = animTable[animName][idx].anim
  4945.  
  4946. -- load it to the humanoid; get AnimationTrack
  4947. toolAnimTrack = humanoid:LoadAnimation(anim)
  4948.  
  4949. -- play the animation
  4950. toolAnimTrack:Play(transitionTime)
  4951. toolAnimName = animName
  4952.  
  4953. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  4954. end
  4955. end
  4956.  
  4957. function stopToolAnimations()
  4958. local oldAnim = toolAnimName
  4959.  
  4960. if (currentToolAnimKeyframeHandler ~= nil) then
  4961. currentToolAnimKeyframeHandler:disconnect()
  4962. end
  4963.  
  4964. toolAnimName = ""
  4965. if (toolAnimTrack ~= nil) then
  4966. toolAnimTrack:Stop()
  4967. toolAnimTrack:Destroy()
  4968. toolAnimTrack = nil
  4969. end
  4970.  
  4971.  
  4972. return oldAnim
  4973. end
  4974.  
  4975. -------------------------------------------------------------------------------------------
  4976. -------------------------------------------------------------------------------------------
  4977.  
  4978.  
  4979. function onRunning(speed)
  4980. if speed>0.01 then
  4981. playAnimation("walk", 0.1, Humanoid)
  4982. pose = "Running"
  4983. else
  4984. playAnimation("idle", 0.1, Humanoid)
  4985. pose = "Standing"
  4986. end
  4987. end
  4988.  
  4989. function onDied()
  4990. pose = "Dead"
  4991. end
  4992.  
  4993. function onJumping()
  4994. playAnimation("jump", 0.1, Humanoid)
  4995. jumpAnimTime = jumpAnimDuration
  4996. pose = "Jumping"
  4997. end
  4998.  
  4999. function onClimbing(speed)
  5000. playAnimation("climb", 0.1, Humanoid)
  5001. setAnimationSpeed(speed / 12.0)
  5002. pose = "Climbing"
  5003. end
  5004.  
  5005. function onGettingUp()
  5006. pose = "GettingUp"
  5007. end
  5008.  
  5009. function onFreeFall()
  5010. if (jumpAnimTime <= 0) then
  5011. playAnimation("fall", fallTransitionTime, Humanoid)
  5012. end
  5013. pose = "FreeFall"
  5014. end
  5015.  
  5016. function onFallingDown()
  5017. pose = "FallingDown"
  5018. end
  5019.  
  5020. function onSeated()
  5021. pose = "Seated"
  5022. end
  5023.  
  5024. function onPlatformStanding()
  5025. pose = "PlatformStanding"
  5026. end
  5027.  
  5028. function onSwimming(speed)
  5029. if speed>0 then
  5030. pose = "Running"
  5031. else
  5032. pose = "Standing"
  5033. end
  5034. end
  5035.  
  5036. function getTool()
  5037. for _, kid in ipairs(Figure:GetChildren()) do
  5038. if kid.className == "Tool" then return kid end
  5039. end
  5040. return nil
  5041. end
  5042.  
  5043. function getToolAnim(tool)
  5044. for _, c in ipairs(tool:GetChildren()) do
  5045. if c.Name == "toolanim" and c.className == "StringValue" then
  5046. return c
  5047. end
  5048. end
  5049. return nil
  5050. end
  5051.  
  5052. function animateTool()
  5053.  
  5054. if (toolAnim == "None") then
  5055. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  5056. return
  5057. end
  5058.  
  5059. if (toolAnim == "Slash") then
  5060. playToolAnimation("toolslash", 0, Humanoid)
  5061. return
  5062. end
  5063.  
  5064. if (toolAnim == "Lunge") then
  5065. playToolAnimation("toollunge", 0, Humanoid)
  5066. return
  5067. end
  5068. end
  5069.  
  5070. function moveSit()
  5071. RightShoulder.MaxVelocity = 0.15
  5072. LeftShoulder.MaxVelocity = 0.15
  5073. RightShoulder:SetDesiredAngle(3.14 /2)
  5074. LeftShoulder:SetDesiredAngle(-3.14 /2)
  5075. RightHip:SetDesiredAngle(3.14 /2)
  5076. LeftHip:SetDesiredAngle(-3.14 /2)
  5077. end
  5078.  
  5079. local lastTick = 0
  5080.  
  5081. function move(time)
  5082. local amplitude = 1
  5083. local frequency = 1
  5084. local deltaTime = time - lastTick
  5085. lastTick = time
  5086.  
  5087. local climbFudge = 0
  5088. local setAngles = false
  5089.  
  5090. if (jumpAnimTime > 0) then
  5091. jumpAnimTime = jumpAnimTime - deltaTime
  5092. end
  5093.  
  5094. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  5095. playAnimation("fall", fallTransitionTime, Humanoid)
  5096. elseif (pose == "Seated") then
  5097. stopAllAnimations()
  5098. moveSit()
  5099. return
  5100. elseif (pose == "Running") then
  5101. playAnimation("walk", 0.1, Humanoid)
  5102. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  5103. -- print("Wha " .. pose)
  5104. amplitude = 0.1
  5105. frequency = 1
  5106. setAngles = true
  5107. end
  5108.  
  5109. if (setAngles) then
  5110. desiredAngle = amplitude * math.sin(time * frequency)
  5111.  
  5112. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  5113. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  5114. RightHip:SetDesiredAngle(-desiredAngle)
  5115. LeftHip:SetDesiredAngle(-desiredAngle)
  5116. end
  5117.  
  5118. -- Tool Animation handling
  5119. local tool = getTool()
  5120. if tool then
  5121.  
  5122. animStringValueObject = getToolAnim(tool)
  5123.  
  5124. if animStringValueObject then
  5125. toolAnim = animStringValueObject.Value
  5126. -- message recieved, delete StringValue
  5127. animStringValueObject.Parent = nil
  5128. toolAnimTime = time + .3
  5129. end
  5130.  
  5131. if time > toolAnimTime then
  5132. toolAnimTime = 0
  5133. toolAnim = "None"
  5134. end
  5135.  
  5136. animateTool()
  5137. else
  5138. stopToolAnimations()
  5139. toolAnim = "None"
  5140. toolAnimTime = 0
  5141. end
  5142. end
  5143.  
  5144. -- connect events
  5145. Humanoid.Died:connect(onDied)
  5146. Humanoid.Running:connect(onRunning)
  5147. Humanoid.Jumping:connect(onJumping)
  5148. Humanoid.Climbing:connect(onClimbing)
  5149. Humanoid.GettingUp:connect(onGettingUp)
  5150. Humanoid.FreeFalling:connect(onFreeFall)
  5151. Humanoid.FallingDown:connect(onFallingDown)
  5152. Humanoid.Seated:connect(onSeated)
  5153. Humanoid.PlatformStanding:connect(onPlatformStanding)
  5154. Humanoid.Swimming:connect(onSwimming)
  5155.  
  5156. -- main program
  5157.  
  5158. local runService = game:service("RunService");
  5159.  
  5160. -- initialize to idle
  5161. playAnimation("idle", 0.1, Humanoid)
  5162. pose = "Standing"
  5163.  
  5164. while Figure.Parent~=nil do
  5165. local _, time = wait(0.1)
  5166. move(time)
  5167. end
  5168.  
  5169.  
  5170.  
  5171. end))
  5172. StringValue61.Name = "climb"
  5173. StringValue61.Parent = Script60
  5174. Animation62.Name = "ClimbAnim"
  5175. Animation62.Parent = StringValue61
  5176. Animation62.AnimationId = "http://www.roblox.com/asset/?id=125750800"
  5177. StringValue63.Name = "fall"
  5178. StringValue63.Parent = Script60
  5179. Animation64.Name = "FallAnim"
  5180. Animation64.Parent = StringValue63
  5181. Animation64.AnimationId = "http://www.roblox.com/asset/?id=125750759"
  5182. StringValue65.Name = "idle"
  5183. StringValue65.Parent = Script60
  5184. Animation66.Name = "Animation1"
  5185. Animation66.Parent = StringValue65
  5186. Animation66.AnimationId = "http://www.roblox.com/asset/?id=125750544"
  5187. NumberValue67.Name = "Weight"
  5188. NumberValue67.Parent = Animation66
  5189. NumberValue67.Value = 9
  5190. Animation68.Name = "Animation2"
  5191. Animation68.Parent = StringValue65
  5192. Animation68.AnimationId = "http://www.roblox.com/asset/?id=125750618"
  5193. NumberValue69.Name = "Weight"
  5194. NumberValue69.Parent = Animation68
  5195. NumberValue69.Value = 1
  5196. StringValue70.Name = "jump"
  5197. StringValue70.Parent = Script60
  5198. Animation71.Name = "JumpAnim"
  5199. Animation71.Parent = StringValue70
  5200. Animation71.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  5201. StringValue72.Name = "run"
  5202. StringValue72.Parent = Script60
  5203. Animation73.Name = "RunAnim"
  5204. Animation73.Parent = StringValue72
  5205. Animation73.AnimationId = "http://www.roblox.com/asset/?id=125749145"
  5206. StringValue74.Name = "toolnone"
  5207. StringValue74.Parent = Script60
  5208. Animation75.Name = "ToolNoneAnim"
  5209. Animation75.Parent = StringValue74
  5210. Animation75.AnimationId = "http://www.roblox.com/asset/?id=125750867"
  5211. StringValue76.Name = "walk"
  5212. StringValue76.Parent = Script60
  5213. Animation77.Name = "WalkAnim"
  5214. Animation77.Parent = StringValue76
  5215. Animation77.AnimationId = "http://www.roblox.com/asset/?id=125749145"
  5216. Script78.Name = "TalkScript"
  5217. Script78.Parent = Model4
  5218. table.insert(cors,sandbox(Script78,function()
  5219. --Credit to minecraftbeast78 for script.
  5220. chatnum = 1
  5221. Chats = {"our reports showed a massive anomaly in the timespace continuum. timelines jumping left and right, stopping and starting","until suddenly, everything ends.","heh heh heh... that's your fault isn't it?","you can't understand how this feels.","knowing that one day, without any warning... it's all going to be reset.","look. i gave up trying to go back a long time ago.","and getting to the surface doesn't really appeal anymore, either.","cause even if we do... we'll just end up right back here, without any memory of it, right?","to be blunt... it makes it kind of hard to give it my all.","or is that just a poor excuse for being lazy...? hell if i know. ","all i know is... seeing what comes next... i can't afford not to care anymore.",} --[[
  5222.  
  5223. Add chats above.
  5224. Put a comma between each chat and put each chat in quotes. ]]
  5225.  
  5226. Color = "Blue" --[[
  5227.  
  5228. Add color above.
  5229. Make sure it is Blue, Green, or Red.
  5230. Also, the first letter needs to be capitalized. ]]
  5231.  
  5232. WaitTime = 15 --[[
  5233.  
  5234. Add the amount of time until another chat appears.
  5235. The chat will disappear automatically after 6 to 7 seconds.
  5236. There is no need to mess with anything below. ]]
  5237. function chat(part, string)
  5238. ch = game:GetService("Chat"):Chat(part, string, Color)
  5239. script.Parent.Head.Voice:Play()
  5240. wait(3)
  5241. script.Parent.Head.Voice:Stop()
  5242. end
  5243.  
  5244. while wait(WaitTime) do
  5245. chat(script.Parent.Head, Chats[chatnum])
  5246. chatnum = chatnum+1
  5247. if chatnum > #Chats then
  5248. chatnum = 1
  5249. end
  5250. end
  5251.  
  5252.  
  5253.  
  5254.  
  5255. end))
  5256. Script78.Disabled = true
  5257. Script79.Name = "TalkScript2"
  5258. Script79.Parent = Model4
  5259. table.insert(cors,sandbox(Script79,function()
  5260. --Credit to minecraftbeast78 for script.
  5261. chatnum = 1
  5262. Chats = {"sounds strange, but before all this i was secretly hoping we could be friends. i always thought the anomaly was doing this cause they were unhappy." ,"and when they got what they wanted, they would stop all this.","and maybe all they needed was... i dunno. some good food, some bad laughs, some nice friends.","but that's ridiculous, right? yeah, you're the type of person who won't EVER be happy.","you'll keep consuming timelines over and over, until... well. hey. take it from me, kid. someday... you gotta learn when to QUIT.","and that day's TODAY","cause... y'see... all this fighting is really tiring me out.","and if you keep pushing me... then i'll be forced to use my special attack.","yeah, my special attack. sound familiar? well, get ready. cause after the next move, i'm going to use it. so, if you don't want to see it, now would be a good time to die. "} --[[
  5263.  
  5264. Add chats above.
  5265. Put a comma between each chat and put each chat in quotes. ]]
  5266.  
  5267. Color = "Blue" --[[
  5268.  
  5269. Add color above.
  5270. Make sure it is Blue, Green, or Red.
  5271. Also, the first letter needs to be capitalized. ]]
  5272.  
  5273. WaitTime = 15 --[[
  5274.  
  5275. Add the amount of time until another chat appears.
  5276. The chat will disappear automatically after 6 to 7 seconds.
  5277. There is no need to mess with anything below. ]]
  5278. function chat(part, string)
  5279. ch = game:GetService("Chat"):Chat(part, string, Color)
  5280. script.Parent.Head.Voice:Play()
  5281. wait(3)
  5282. script.Parent.Head.Voice:Stop()
  5283. end
  5284.  
  5285. while wait(WaitTime) do
  5286. chat(script.Parent.Head, Chats[chatnum])
  5287. chatnum = chatnum+1
  5288. if chatnum > #Chats then
  5289. chatnum = 1
  5290. end
  5291. end
  5292.  
  5293.  
  5294.  
  5295.  
  5296. end))
  5297. Script79.Disabled = true
  5298. Sound80.Name = "Megalovania"
  5299. Sound80.Parent = Model4
  5300. Sound80.SoundId = "rbxassetid://306370481"
  5301. for i,v in pairs(mas:GetChildren()) do
  5302. v.Parent = game:GetService("Players").LocalPlayer.Character
  5303. pcall(function() v:MakeJoints() end)
  5304. end
  5305. mas:Destroy()
  5306. for i,v in pairs(cors) do
  5307. spawn(function()
  5308. pcall(v)
  5309. end)
  5310. end
  5311.  
  5312. end))
  5313. Model83.Name = "Spawns"
  5314. Model83.Parent = mas
  5315. SpawnLocation84.Parent = Model83
  5316. SpawnLocation84.CFrame = CFrame.new(-5.79797316, 5.50000715, -18.9438324, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5317. SpawnLocation84.Position = Vector3.new(-5.79797316, 5.50000715, -18.9438324)
  5318. SpawnLocation84.Size = Vector3.new(6, 1, 6)
  5319. SpawnLocation84.Anchored = true
  5320. SpawnLocation84.BottomSurface = Enum.SurfaceType.Smooth
  5321. SpawnLocation84.TopSurface = Enum.SurfaceType.Smooth
  5322. Decal85.Parent = SpawnLocation84
  5323. Decal85.Texture = "rbxasset://textures/SpawnLocation.png"
  5324. Decal85.Face = Enum.NormalId.Top
  5325. SpawnLocation86.Parent = Model83
  5326. SpawnLocation86.CFrame = CFrame.new(-5.79797316, 5.50000715, -11.9438324, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5327. SpawnLocation86.Position = Vector3.new(-5.79797316, 5.50000715, -11.9438324)
  5328. SpawnLocation86.Size = Vector3.new(6, 1, 6)
  5329. SpawnLocation86.Anchored = true
  5330. SpawnLocation86.BottomSurface = Enum.SurfaceType.Smooth
  5331. SpawnLocation86.TopSurface = Enum.SurfaceType.Smooth
  5332. Decal87.Parent = SpawnLocation86
  5333. Decal87.Texture = "rbxasset://textures/SpawnLocation.png"
  5334. Decal87.Face = Enum.NormalId.Top
  5335. SpawnLocation88.Parent = Model83
  5336. SpawnLocation88.CFrame = CFrame.new(-12.7979736, 5.50000715, -18.9438324, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5337. SpawnLocation88.Position = Vector3.new(-12.7979736, 5.50000715, -18.9438324)
  5338. SpawnLocation88.Size = Vector3.new(6, 1, 6)
  5339. SpawnLocation88.Anchored = true
  5340. SpawnLocation88.BottomSurface = Enum.SurfaceType.Smooth
  5341. SpawnLocation88.TopSurface = Enum.SurfaceType.Smooth
  5342. Decal89.Parent = SpawnLocation88
  5343. Decal89.Texture = "rbxasset://textures/SpawnLocation.png"
  5344. Decal89.Face = Enum.NormalId.Top
  5345. Part90.Parent = Model83
  5346. Part90.CFrame = CFrame.new(-5.79797316, 5.50000715, -7.94383192, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5347. Part90.Position = Vector3.new(-5.79797316, 5.50000715, -7.94383192)
  5348. Part90.Size = Vector3.new(24, 1, 2)
  5349. Part90.BottomSurface = Enum.SurfaceType.Smooth
  5350. Part90.TopSurface = Enum.SurfaceType.Smooth
  5351. SpawnLocation91.Parent = Model83
  5352. SpawnLocation91.CFrame = CFrame.new(1.20202601, 5.50000715, -11.9438324, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5353. SpawnLocation91.Position = Vector3.new(1.20202601, 5.50000715, -11.9438324)
  5354. SpawnLocation91.Size = Vector3.new(6, 1, 6)
  5355. SpawnLocation91.Anchored = true
  5356. SpawnLocation91.BottomSurface = Enum.SurfaceType.Smooth
  5357. SpawnLocation91.TopSurface = Enum.SurfaceType.Smooth
  5358. Decal92.Parent = SpawnLocation91
  5359. Decal92.Texture = "rbxasset://textures/SpawnLocation.png"
  5360. Decal92.Face = Enum.NormalId.Top
  5361. SpawnLocation93.Parent = Model83
  5362. SpawnLocation93.CFrame = CFrame.new(1.20202601, 5.50000715, -25.9438324, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5363. SpawnLocation93.Position = Vector3.new(1.20202601, 5.50000715, -25.9438324)
  5364. SpawnLocation93.Size = Vector3.new(6, 1, 6)
  5365. SpawnLocation93.Anchored = true
  5366. SpawnLocation93.BottomSurface = Enum.SurfaceType.Smooth
  5367. SpawnLocation93.TopSurface = Enum.SurfaceType.Smooth
  5368. Decal94.Parent = SpawnLocation93
  5369. Decal94.Texture = "rbxasset://textures/SpawnLocation.png"
  5370. Decal94.Face = Enum.NormalId.Top
  5371. SpawnLocation95.Parent = Model83
  5372. SpawnLocation95.CFrame = CFrame.new(1.20202601, 5.50000715, -18.9438324, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5373. SpawnLocation95.Position = Vector3.new(1.20202601, 5.50000715, -18.9438324)
  5374. SpawnLocation95.Size = Vector3.new(6, 1, 6)
  5375. SpawnLocation95.Anchored = true
  5376. SpawnLocation95.BottomSurface = Enum.SurfaceType.Smooth
  5377. SpawnLocation95.TopSurface = Enum.SurfaceType.Smooth
  5378. Decal96.Parent = SpawnLocation95
  5379. Decal96.Texture = "rbxasset://textures/SpawnLocation.png"
  5380. Decal96.Face = Enum.NormalId.Top
  5381. Part97.Parent = Model83
  5382. Part97.CFrame = CFrame.new(-5.79797316, 5.50000715, -29.9438324, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5383. Part97.Position = Vector3.new(-5.79797316, 5.50000715, -29.9438324)
  5384. Part97.Size = Vector3.new(24, 1, 2)
  5385. Part97.BottomSurface = Enum.SurfaceType.Smooth
  5386. Part97.TopSurface = Enum.SurfaceType.Smooth
  5387. Part98.Parent = Model83
  5388. Part98.CFrame = CFrame.new(-16.7979736, 5.50000715, -18.9438324, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5389. Part98.Orientation = Vector3.new(0, -90, 0)
  5390. Part98.Position = Vector3.new(-16.7979736, 5.50000715, -18.9438324)
  5391. Part98.Rotation = Vector3.new(0, -90, 0)
  5392. Part98.Size = Vector3.new(20, 1, 2)
  5393. Part98.BottomSurface = Enum.SurfaceType.Smooth
  5394. Part98.TopSurface = Enum.SurfaceType.Smooth
  5395. SpawnLocation99.Parent = Model83
  5396. SpawnLocation99.CFrame = CFrame.new(-12.7979736, 5.50000715, -25.9438324, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5397. SpawnLocation99.Position = Vector3.new(-12.7979736, 5.50000715, -25.9438324)
  5398. SpawnLocation99.Size = Vector3.new(6, 1, 6)
  5399. SpawnLocation99.Anchored = true
  5400. SpawnLocation99.BottomSurface = Enum.SurfaceType.Smooth
  5401. SpawnLocation99.TopSurface = Enum.SurfaceType.Smooth
  5402. Decal100.Parent = SpawnLocation99
  5403. Decal100.Texture = "rbxasset://textures/SpawnLocation.png"
  5404. Decal100.Face = Enum.NormalId.Top
  5405. SpawnLocation101.Parent = Model83
  5406. SpawnLocation101.CFrame = CFrame.new(-12.7979736, 5.50000715, -11.9438324, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5407. SpawnLocation101.Position = Vector3.new(-12.7979736, 5.50000715, -11.9438324)
  5408. SpawnLocation101.Size = Vector3.new(6, 1, 6)
  5409. SpawnLocation101.Anchored = true
  5410. SpawnLocation101.BottomSurface = Enum.SurfaceType.Smooth
  5411. SpawnLocation101.TopSurface = Enum.SurfaceType.Smooth
  5412. Decal102.Parent = SpawnLocation101
  5413. Decal102.Texture = "rbxasset://textures/SpawnLocation.png"
  5414. Decal102.Face = Enum.NormalId.Top
  5415. Part103.Parent = Model83
  5416. Part103.CFrame = CFrame.new(5.20202589, 5.50000715, -18.9438324, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5417. Part103.Orientation = Vector3.new(0, -90, 0)
  5418. Part103.Position = Vector3.new(5.20202589, 5.50000715, -18.9438324)
  5419. Part103.Rotation = Vector3.new(0, -90, 0)
  5420. Part103.Size = Vector3.new(20, 1, 2)
  5421. Part103.BottomSurface = Enum.SurfaceType.Smooth
  5422. Part103.TopSurface = Enum.SurfaceType.Smooth
  5423. SpawnLocation104.Parent = Model83
  5424. SpawnLocation104.CFrame = CFrame.new(-5.79797316, 5.50000715, -25.9438324, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5425. SpawnLocation104.Position = Vector3.new(-5.79797316, 5.50000715, -25.9438324)
  5426. SpawnLocation104.Size = Vector3.new(6, 1, 6)
  5427. SpawnLocation104.Anchored = true
  5428. SpawnLocation104.BottomSurface = Enum.SurfaceType.Smooth
  5429. SpawnLocation104.TopSurface = Enum.SurfaceType.Smooth
  5430. Decal105.Parent = SpawnLocation104
  5431. Decal105.Texture = "rbxasset://textures/SpawnLocation.png"
  5432. Decal105.Face = Enum.NormalId.Top
  5433. for i,v in pairs(mas:GetChildren()) do
  5434. v.Parent = script
  5435. pcall(function() v:MakeJoints() end)
  5436. end
  5437. mas:Destroy()
  5438. for i,v in pairs(cors) do
  5439. spawn(function()
  5440. pcall(v)
  5441. end)
  5442. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement