Advertisement
HenloMyDude

eyozen npc

Aug 30th, 2019
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.50 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. Part2 = Instance.new("Part")
  22. Part3 = Instance.new("Part")
  23. Part4 = Instance.new("Part")
  24. Part5 = Instance.new("Part")
  25. Part6 = Instance.new("Part")
  26. Motor6D7 = Instance.new("Motor6D")
  27. Motor6D8 = Instance.new("Motor6D")
  28. Motor6D9 = Instance.new("Motor6D")
  29. Motor6D10 = Instance.new("Motor6D")
  30. Motor6D11 = Instance.new("Motor6D")
  31. BodyForce12 = Instance.new("BodyForce")
  32. Humanoid13 = Instance.new("Humanoid")
  33. Script14 = Instance.new("Script")
  34. Part15 = Instance.new("Part")
  35. Motor6D16 = Instance.new("Motor6D")
  36. Model0.Name = "Eyo-zen"
  37. Model0.Parent = mas
  38. Part1.Name = "Left Leg"
  39. Part1.Parent = Model0
  40. Part1.CFrame = CFrame.new(152.5, 1.00000012, 85.5, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  41. Part1.Position = Vector3.new(152.5, 1.00000012, 85.5)
  42. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  43. Part1.Size = Vector3.new(1, 2, 1)
  44. Part1.BottomSurface = Enum.SurfaceType.Smooth
  45. Part1.BrickColor = BrickColor.new("Institutional white")
  46. Part1.TopSurface = Enum.SurfaceType.Smooth
  47. Part1.brickColor = BrickColor.new("Institutional white")
  48. Part2.Name = "Head"
  49. Part2.Parent = Model0
  50. Part2.CFrame = CFrame.new(153, 4.5, 85.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  51. Part2.Position = Vector3.new(153, 4.5, 85.5)
  52. Part2.Color = Color3.new(0.972549, 0.972549, 0.972549)
  53. Part2.Transparency = 1
  54. Part2.Size = Vector3.new(2, 1, 1)
  55. Part2.BottomSurface = Enum.SurfaceType.Smooth
  56. Part2.BrickColor = BrickColor.new("Institutional white")
  57. Part2.TopSurface = Enum.SurfaceType.Smooth
  58. Part2.brickColor = BrickColor.new("Institutional white")
  59. Part3.Name = "Left Arm"
  60. Part3.Parent = Model0
  61. Part3.CFrame = CFrame.new(151.5, 3, 85.5, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  62. Part3.Position = Vector3.new(151.5, 3, 85.5)
  63. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  64. Part3.Size = Vector3.new(1, 2, 1)
  65. Part3.BottomSurface = Enum.SurfaceType.Smooth
  66. Part3.BrickColor = BrickColor.new("Institutional white")
  67. Part3.TopSurface = Enum.SurfaceType.Smooth
  68. Part3.brickColor = BrickColor.new("Institutional white")
  69. Part4.Name = "Right Leg"
  70. Part4.Parent = Model0
  71. Part4.CFrame = CFrame.new(153.5, 1.00000012, 85.5, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  72. Part4.Position = Vector3.new(153.5, 1.00000012, 85.5)
  73. Part4.Color = Color3.new(0.972549, 0.972549, 0.972549)
  74. Part4.Size = Vector3.new(1, 2, 1)
  75. Part4.BottomSurface = Enum.SurfaceType.Smooth
  76. Part4.BrickColor = BrickColor.new("Institutional white")
  77. Part4.TopSurface = Enum.SurfaceType.Smooth
  78. Part4.brickColor = BrickColor.new("Institutional white")
  79. Part5.Name = "Right Arm"
  80. Part5.Parent = Model0
  81. Part5.CFrame = CFrame.new(154.5, 3, 85.5, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  82. Part5.Position = Vector3.new(154.5, 3, 85.5)
  83. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  84. Part5.Size = Vector3.new(1, 2, 1)
  85. Part5.BottomSurface = Enum.SurfaceType.Smooth
  86. Part5.BrickColor = BrickColor.new("Institutional white")
  87. Part5.TopSurface = Enum.SurfaceType.Smooth
  88. Part5.brickColor = BrickColor.new("Institutional white")
  89. Part6.Name = "Torso"
  90. Part6.Parent = Model0
  91. Part6.CFrame = CFrame.new(153, 3, 85.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  92. Part6.Position = Vector3.new(153, 3, 85.5)
  93. Part6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  94. Part6.Size = Vector3.new(2, 2, 1)
  95. Part6.BottomSurface = Enum.SurfaceType.Smooth
  96. Part6.BrickColor = BrickColor.new("Institutional white")
  97. Part6.TopSurface = Enum.SurfaceType.Smooth
  98. Part6.brickColor = BrickColor.new("Institutional white")
  99. Motor6D7.Name = "Left Hip"
  100. Motor6D7.Parent = Part6
  101. Motor6D7.MaxVelocity = 0.10000000149012
  102. Motor6D7.C0 = CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  103. Motor6D7.C1 = CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  104. Motor6D7.Part0 = Part6
  105. Motor6D7.Part1 = Part1
  106. Motor6D7.part1 = Part1
  107. Motor6D8.Name = "Left Shoulder"
  108. Motor6D8.Parent = Part6
  109. Motor6D8.MaxVelocity = 0.10000000149012
  110. Motor6D8.C0 = CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  111. Motor6D8.C1 = CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  112. Motor6D8.Part0 = Part6
  113. Motor6D8.Part1 = Part3
  114. Motor6D8.part1 = Part3
  115. Motor6D9.Name = "Neck"
  116. Motor6D9.Parent = Part6
  117. Motor6D9.MaxVelocity = 0.10000000149012
  118. Motor6D9.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  119. Motor6D9.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  120. Motor6D9.Part0 = Part6
  121. Motor6D9.Part1 = Part2
  122. Motor6D9.part1 = Part2
  123. Motor6D10.Name = "Right Hip"
  124. Motor6D10.Parent = Part6
  125. Motor6D10.MaxVelocity = 0.10000000149012
  126. Motor6D10.C0 = CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  127. Motor6D10.C1 = CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  128. Motor6D10.Part0 = Part6
  129. Motor6D10.Part1 = Part4
  130. Motor6D10.part1 = Part4
  131. Motor6D11.Name = "Right Shoulder"
  132. Motor6D11.Parent = Part6
  133. Motor6D11.MaxVelocity = 0.10000000149012
  134. Motor6D11.C0 = CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  135. Motor6D11.C1 = CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  136. Motor6D11.Part0 = Part6
  137. Motor6D11.Part1 = Part5
  138. Motor6D11.part1 = Part5
  139. BodyForce12.Name = "RepulsionForce"
  140. BodyForce12.Parent = Part6
  141. BodyForce12.Force = Vector3.new(0, 0, 0)
  142. BodyForce12.force = Vector3.new(0, 0, 0)
  143. Humanoid13.Parent = Model0
  144. Humanoid13.LeftLeg = Part1
  145. Humanoid13.RightLeg = Part4
  146. Humanoid13.Torso = Part15
  147. Script14.Name = "Eye"
  148. Script14.Parent = Model0
  149. table.insert(cors,sandbox(Script14,function()
  150.  
  151. local char = script.Parent
  152. local hum = char.Humanoid
  153. local hed = char.Head
  154. local root = char.HumanoidRootPart
  155. local rootj = root.RootJoint
  156. local tors = char.Torso
  157. local ra = char["Right Arm"]
  158. local la = char["Left Arm"]
  159. local rl = char["Right Leg"]
  160. local ll = char["Left Leg"]
  161. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  162. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  163. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  164. local maincolor = BrickColor.new("Institutional white")
  165.  
  166. -------------------------------------------------------
  167. --Start Good Stuff--
  168. -------------------------------------------------------
  169. cam = game.Workspace.CurrentCamera
  170. CF = CFrame.new
  171. angles = CFrame.Angles
  172. attack = false
  173. Euler = CFrame.fromEulerAnglesXYZ
  174. Rad = math.rad
  175. IT = Instance.new
  176. BrickC = BrickColor.new
  177. Cos = math.cos
  178. Acos = math.acos
  179. Sin = math.sin
  180. Asin = math.asin
  181. Abs = math.abs
  182. Mrandom = math.random
  183. Floor = math.floor
  184. -------------------------------------------------------
  185. --End Good Stuff--
  186. -------------------------------------------------------
  187. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  188. RSH, LSH = nil, nil
  189. RW = Instance.new("Weld")
  190. LW = Instance.new("Weld")
  191. RH = tors["Right Hip"]
  192. LH = tors["Left Hip"]
  193. RSH = tors["Right Shoulder"]
  194. LSH = tors["Left Shoulder"]
  195. RSH.Parent = nil
  196. LSH.Parent = nil
  197. RW.Name = "RW"
  198. RW.Part0 = tors
  199. RW.C0 = CF(1.5, 0.5, 0)
  200. RW.C1 = CF(0, 0.5, 0)
  201. RW.Part1 = ra
  202. RW.Parent = tors
  203. LW.Name = "LW"
  204. LW.Part0 = tors
  205. LW.C0 = CF(-1.5, 0.5, 0)
  206. LW.C1 = CF(0, 0.5, 0)
  207. LW.Part1 = la
  208. LW.Parent = tors
  209. Effects = {}
  210. -------------------------------------------------------
  211. --Start HeartBeat--
  212. -------------------------------------------------------
  213. ArtificialHB = Instance.new("BindableEvent", script)
  214. ArtificialHB.Name = "Heartbeat"
  215. script:WaitForChild("Heartbeat")
  216.  
  217. frame = 1 / 60
  218. tf = 0
  219. allowframeloss = false
  220. tossremainder = false
  221.  
  222.  
  223. lastframe = tick()
  224. script.Heartbeat:Fire()
  225.  
  226.  
  227. game:GetService("RunService").Heartbeat:connect(function(s, p)
  228. tf = tf + s
  229. if tf >= frame then
  230. if allowframeloss then
  231. script.Heartbeat:Fire()
  232. lastframe = tick()
  233. else
  234. for i = 1, math.floor(tf / frame) do
  235. script.Heartbeat:Fire()
  236. end
  237. lastframe = tick()
  238. end
  239. if tossremainder then
  240. tf = 0
  241. else
  242. tf = tf - frame * math.floor(tf / frame)
  243. end
  244. end
  245. end)
  246. -------------------------------------------------------
  247. --End HeartBeat--
  248. -------------------------------------------------------
  249.  
  250. local necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  251. local top = Instance.new("Shirt")
  252. top.ShirtTemplate = "rbxassetid://338740550"
  253. top.Parent = char
  254. top.Name = "Cloth"
  255. local bottom = Instance.new("Pants")
  256. bottom.PantsTemplate = "rbxassetid://338750779"
  257. bottom.Parent = char
  258. bottom.Name = "Cloth"
  259.  
  260. function swait(num)
  261. if num == 0 or num == nil then
  262. game:service("RunService").Stepped:wait(0)
  263. else
  264. for i = 0, num do
  265. game:service("RunService").Stepped:wait(0)
  266. end
  267. end
  268. end
  269. function thread(f)
  270. coroutine.resume(coroutine.create(f))
  271. end
  272. function clerp(a, b, t)
  273. local qa = {
  274. QuaternionFromCFrame(a)
  275. }
  276. local qb = {
  277. QuaternionFromCFrame(b)
  278. }
  279. local ax, ay, az = a.x, a.y, a.z
  280. local bx, by, bz = b.x, b.y, b.z
  281. local _t = 1 - t
  282. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  283. end
  284. function QuaternionFromCFrame(cf)
  285. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  286. local trace = m00 + m11 + m22
  287. if trace > 0 then
  288. local s = math.sqrt(1 + trace)
  289. local recip = 0.5 / s
  290. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  291. else
  292. local i = 0
  293. if m00 < m11 then
  294. i = 1
  295. end
  296. if m22 > (i == 0 and m00 or m11) then
  297. i = 2
  298. end
  299. if i == 0 then
  300. local s = math.sqrt(m00 - m11 - m22 + 1)
  301. local recip = 0.5 / s
  302. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  303. elseif i == 1 then
  304. local s = math.sqrt(m11 - m22 - m00 + 1)
  305. local recip = 0.5 / s
  306. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  307. elseif i == 2 then
  308. local s = math.sqrt(m22 - m00 - m11 + 1)
  309. local recip = 0.5 / s
  310. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  311. end
  312. end
  313. end
  314. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  315. local xs, ys, zs = x + x, y + y, z + z
  316. local wx, wy, wz = w * xs, w * ys, w * zs
  317. local xx = x * xs
  318. local xy = x * ys
  319. local xz = x * zs
  320. local yy = y * ys
  321. local yz = y * zs
  322. local zz = z * zs
  323. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  324. end
  325. function QuaternionSlerp(a, b, t)
  326. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  327. local startInterp, finishInterp
  328. if cosTheta >= 1.0E-4 then
  329. if 1 - cosTheta > 1.0E-4 then
  330. local theta = math.acos(cosTheta)
  331. local invSinTheta = 1 / Sin(theta)
  332. startInterp = Sin((1 - t) * theta) * invSinTheta
  333. finishInterp = Sin(t * theta) * invSinTheta
  334. else
  335. startInterp = 1 - t
  336. finishInterp = t
  337. end
  338. elseif 1 + cosTheta > 1.0E-4 then
  339. local theta = math.acos(-cosTheta)
  340. local invSinTheta = 1 / Sin(theta)
  341. startInterp = Sin((t - 1) * theta) * invSinTheta
  342. finishInterp = Sin(t * theta) * invSinTheta
  343. else
  344. startInterp = t - 1
  345. finishInterp = t
  346. end
  347. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  348. end
  349. function rayCast(Position, Direction, Range, Ignore)
  350. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  351. end
  352. local RbxUtility = LoadLibrary("RbxUtility")
  353. local Create = RbxUtility.Create
  354.  
  355. -------------------------------------------------------
  356. --End Damage Function Customization--
  357. -------------------------------------------------------
  358.  
  359. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  360. for _, c in pairs(workspace:children()) do
  361. local hum = c:findFirstChild("Humanoid")
  362. if hum ~= nil then
  363. local head = c:findFirstChild("Head")
  364. if head ~= nil then
  365. local targ = head.Position - Part.Position
  366. local mag = targ.magnitude
  367. if magni >= mag and c.Name ~= plr.Name then
  368. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  369. end
  370. end
  371. end
  372. end
  373. end
  374.  
  375.  
  376. CFuncs = {
  377. Part = {
  378. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  379. local Part = Create("Part")({
  380. Parent = Parent,
  381. Reflectance = Reflectance,
  382. Transparency = Transparency,
  383. CanCollide = false,
  384. Locked = true,
  385. BrickColor = BrickColor.new(tostring(BColor)),
  386. Name = Name,
  387. Size = Size,
  388. Material = Material
  389. })
  390. RemoveOutlines(Part)
  391. return Part
  392. end
  393. },
  394. Mesh = {
  395. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  396. local Msh = Create(Mesh)({
  397. Parent = Part,
  398. Offset = OffSet,
  399. Scale = Scale
  400. })
  401. if Mesh == "SpecialMesh" then
  402. Msh.MeshType = MeshType
  403. Msh.MeshId = MeshId
  404. end
  405. return Msh
  406. end
  407. },
  408. Mesh = {
  409. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  410. local Msh = Create(Mesh)({
  411. Parent = Part,
  412. Offset = OffSet,
  413. Scale = Scale
  414. })
  415. if Mesh == "SpecialMesh" then
  416. Msh.MeshType = MeshType
  417. Msh.MeshId = MeshId
  418. end
  419. return Msh
  420. end
  421. },
  422. Weld = {
  423. Create = function(Parent, Part0, Part1, C0, C1)
  424. local Weld = Create("Weld")({
  425. Parent = Parent,
  426. Part0 = Part0,
  427. Part1 = Part1,
  428. C0 = C0,
  429. C1 = C1
  430. })
  431. return Weld
  432. end
  433. },
  434. Sound = {
  435. Create = function(id, par, vol, pit)
  436. coroutine.resume(coroutine.create(function()
  437. local S = Create("Sound")({
  438. Volume = vol,
  439. Pitch = pit or 1,
  440. SoundId = id,
  441. Parent = par or workspace
  442. })
  443. wait()
  444. S:play()
  445. game:GetService("Debris"):AddItem(S, 6)
  446. end))
  447. end
  448. },
  449. ParticleEmitter = {
  450. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  451. local fp = Create("ParticleEmitter")({
  452. Parent = Parent,
  453. Color = ColorSequence.new(Color1, Color2),
  454. LightEmission = LightEmission,
  455. Size = Size,
  456. Texture = Texture,
  457. Transparency = Transparency,
  458. ZOffset = ZOffset,
  459. Acceleration = Accel,
  460. Drag = Drag,
  461. LockedToPart = LockedToPart,
  462. VelocityInheritance = VelocityInheritance,
  463. EmissionDirection = EmissionDirection,
  464. Enabled = Enabled,
  465. Lifetime = LifeTime,
  466. Rate = Rate,
  467. Rotation = Rotation,
  468. RotSpeed = RotSpeed,
  469. Speed = Speed,
  470. VelocitySpread = VelocitySpread
  471. })
  472. return fp
  473. end
  474. }
  475. }
  476. function RemoveOutlines(part)
  477. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  478. end
  479. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  480. local Part = Create("Part")({
  481. formFactor = FormFactor,
  482. Parent = Parent,
  483. Reflectance = Reflectance,
  484. Transparency = Transparency,
  485. CanCollide = false,
  486. Locked = true,
  487. BrickColor = BrickColor.new(tostring(BColor)),
  488. Name = Name,
  489. Size = Size,
  490. Material = Material
  491. })
  492. RemoveOutlines(Part)
  493. return Part
  494. end
  495. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  496. local Msh = Create(Mesh)({
  497. Parent = Part,
  498. Offset = OffSet,
  499. Scale = Scale
  500. })
  501. if Mesh == "SpecialMesh" then
  502. Msh.MeshType = MeshType
  503. Msh.MeshId = MeshId
  504. end
  505. return Msh
  506. end
  507. function CreateWeld(Parent, Part0, Part1, C0, C1)
  508. local Weld = Create("Weld")({
  509. Parent = Parent,
  510. Part0 = Part0,
  511. Part1 = Part1,
  512. C0 = C0,
  513. C1 = C1
  514. })
  515. return Weld
  516. end
  517.  
  518.  
  519. -------------------------------------------------------
  520. --Start Effect Function--
  521. -------------------------------------------------------
  522. EffectModel = Instance.new("Model", char)
  523. Effects = {
  524. Block = {
  525. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  526. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  527. prt.Anchored = true
  528. prt.CFrame = cframe
  529. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  530. game:GetService("Debris"):AddItem(prt, 10)
  531. if Type == 1 or Type == nil then
  532. table.insert(Effects, {
  533. prt,
  534. "Block1",
  535. delay,
  536. x3,
  537. y3,
  538. z3,
  539. msh
  540. })
  541. elseif Type == 2 then
  542. table.insert(Effects, {
  543. prt,
  544. "Block2",
  545. delay,
  546. x3,
  547. y3,
  548. z3,
  549. msh
  550. })
  551. else
  552. table.insert(Effects, {
  553. prt,
  554. "Block3",
  555. delay,
  556. x3,
  557. y3,
  558. z3,
  559. msh
  560. })
  561. end
  562. end
  563. },
  564. Sphere = {
  565. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  566. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  567. prt.Anchored = true
  568. prt.CFrame = cframe
  569. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  570. game:GetService("Debris"):AddItem(prt, 10)
  571. table.insert(Effects, {
  572. prt,
  573. "Cylinder",
  574. delay,
  575. x3,
  576. y3,
  577. z3,
  578. msh
  579. })
  580. end
  581. },
  582. Cylinder = {
  583. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  584. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  585. prt.Anchored = true
  586. prt.CFrame = cframe
  587. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  588. game:GetService("Debris"):AddItem(prt, 10)
  589. table.insert(Effects, {
  590. prt,
  591. "Cylinder",
  592. delay,
  593. x3,
  594. y3,
  595. z3,
  596. msh
  597. })
  598. end
  599. },
  600. Wave = {
  601. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  602. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  603. prt.Anchored = true
  604. prt.CFrame = cframe
  605. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  606. game:GetService("Debris"):AddItem(prt, 10)
  607. table.insert(Effects, {
  608. prt,
  609. "Cylinder",
  610. delay,
  611. x3 / 60,
  612. y3 / 60,
  613. z3 / 60,
  614. msh
  615. })
  616. end
  617. },
  618. Ring = {
  619. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  620. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  621. prt.Anchored = true
  622. prt.CFrame = cframe
  623. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  624. game:GetService("Debris"):AddItem(prt, 10)
  625. table.insert(Effects, {
  626. prt,
  627. "Cylinder",
  628. delay,
  629. x3,
  630. y3,
  631. z3,
  632. msh
  633. })
  634. end
  635. },
  636. Break = {
  637. Create = function(brickcolor, cframe, x1, y1, z1)
  638. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  639. prt.Anchored = true
  640. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  641. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  642. local num = math.random(10, 50) / 1000
  643. game:GetService("Debris"):AddItem(prt, 10)
  644. table.insert(Effects, {
  645. prt,
  646. "Shatter",
  647. num,
  648. prt.CFrame,
  649. math.random() - math.random(),
  650. 0,
  651. math.random(50, 100) / 100
  652. })
  653. end
  654. },
  655. Spiral = {
  656. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  657. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  658. prt.Anchored = true
  659. prt.CFrame = cframe
  660. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  661. game:GetService("Debris"):AddItem(prt, 10)
  662. table.insert(Effects, {
  663. prt,
  664. "Cylinder",
  665. delay,
  666. x3,
  667. y3,
  668. z3,
  669. msh
  670. })
  671. end
  672. },
  673. Push = {
  674. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  675. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  676. prt.Anchored = true
  677. prt.CFrame = cframe
  678. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  679. game:GetService("Debris"):AddItem(prt, 10)
  680. table.insert(Effects, {
  681. prt,
  682. "Cylinder",
  683. delay,
  684. x3,
  685. y3,
  686. z3,
  687. msh
  688. })
  689. end
  690. }
  691. }
  692. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  693. local fp = IT("Part")
  694. fp.formFactor = formfactor
  695. fp.Parent = parent
  696. fp.Reflectance = reflectance
  697. fp.Transparency = transparency
  698. fp.CanCollide = false
  699. fp.Locked = true
  700. fp.BrickColor = brickcolor
  701. fp.Name = name
  702. fp.Size = size
  703. fp.Position = tors.Position
  704. RemoveOutlines(fp)
  705. fp.Material = "SmoothPlastic"
  706. fp:BreakJoints()
  707. return fp
  708. end
  709.  
  710. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  711. local mesh = IT(Mesh)
  712. mesh.Parent = part
  713. if Mesh == "SpecialMesh" then
  714. mesh.MeshType = meshtype
  715. if meshid ~= "nil" then
  716. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  717. end
  718. end
  719. mesh.Offset = offset
  720. mesh.Scale = scale
  721. return mesh
  722. end
  723.  
  724. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  725. local type = type
  726. local rng = Instance.new("Part", char)
  727. rng.Anchored = true
  728. rng.BrickColor = color
  729. rng.CanCollide = false
  730. rng.FormFactor = 3
  731. rng.Name = "Ring"
  732. rng.Material = "Neon"
  733. rng.Size = Vector3.new(1, 1, 1)
  734. rng.Transparency = 0
  735. rng.TopSurface = 0
  736. rng.BottomSurface = 0
  737. rng.CFrame = pos
  738. local rngm = Instance.new("SpecialMesh", rng)
  739. rngm.MeshType = MType
  740. rngm.Scale = scale
  741. local scaler2 = 1
  742. if type == "Add" then
  743. scaler2 = 1 * value
  744. elseif type == "Divide" then
  745. scaler2 = 1 / value
  746. end
  747. coroutine.resume(coroutine.create(function()
  748. for i = 0, 10 / bonuspeed, 0.1 do
  749. swait()
  750. if type == "Add" then
  751. scaler2 = scaler2 - 0.01 * value / bonuspeed
  752. elseif type == "Divide" then
  753. scaler2 = scaler2 - 0.01 / value * bonuspeed
  754. end
  755. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  756. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  757. end
  758. rng:Destroy()
  759. end))
  760. end
  761.  
  762. function Eviscerate(dude)
  763. if dude.Name ~= char then
  764. local bgf = IT("BodyGyro", dude.Head)
  765. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  766. local val = IT("BoolValue", dude)
  767. val.Name = "IsHit"
  768. local ds = coroutine.wrap(function()
  769. dude:WaitForChild("Head"):BreakJoints()
  770. wait(0.5)
  771. target = nil
  772. coroutine.resume(coroutine.create(function()
  773. for i, v in pairs(dude:GetChildren()) do
  774. if v:IsA("Accessory") then
  775. v:Destroy()
  776. end
  777. if v:IsA("Humanoid") then
  778. v:Destroy()
  779. end
  780. if v:IsA("CharacterMesh") then
  781. v:Destroy()
  782. end
  783. if v:IsA("Model") then
  784. v:Destroy()
  785. end
  786. if v:IsA("Part") or v:IsA("MeshPart") then
  787. for x, o in pairs(v:GetChildren()) do
  788. if o:IsA("Decal") then
  789. o:Destroy()
  790. end
  791. end
  792. coroutine.resume(coroutine.create(function()
  793. v.Material = "Neon"
  794. v.CanCollide = false
  795. local PartEmmit1 = IT("ParticleEmitter", v)
  796. PartEmmit1.LightEmission = 1
  797. PartEmmit1.Texture = "rbxassetid://284205403"
  798. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  799. PartEmmit1.Rate = 150
  800. PartEmmit1.Lifetime = NumberRange.new(1)
  801. PartEmmit1.Size = NumberSequence.new({
  802. NumberSequenceKeypoint.new(0, 0.75, 0),
  803. NumberSequenceKeypoint.new(1, 0, 0)
  804. })
  805. PartEmmit1.Transparency = NumberSequence.new({
  806. NumberSequenceKeypoint.new(0, 0, 0),
  807. NumberSequenceKeypoint.new(1, 1, 0)
  808. })
  809. PartEmmit1.Speed = NumberRange.new(0, 0)
  810. PartEmmit1.VelocitySpread = 30000
  811. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  812. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  813. local BodPoss = IT("BodyPosition", v)
  814. BodPoss.P = 3000
  815. BodPoss.D = 1000
  816. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  817. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  818. v.Color = maincolor.Color
  819. coroutine.resume(coroutine.create(function()
  820. for i = 0, 49 do
  821. swait(1)
  822. v.Transparency = v.Transparency + 0.08
  823. end
  824. wait(0.5)
  825. PartEmmit1.Enabled = false
  826. wait(3)
  827. v:Destroy()
  828. dude:Destroy()
  829. end))
  830. end))
  831. end
  832. end
  833. end))
  834. end)
  835. ds()
  836. end
  837. end
  838.  
  839. function FindNearestHead(Position, Distance, SinglePlayer)
  840. if SinglePlayer then
  841. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  842. end
  843. local List = {}
  844. for i, v in pairs(workspace:GetChildren()) do
  845. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  846. table.insert(List, v)
  847. end
  848. end
  849. return List
  850. end
  851.  
  852. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  853. local type = type
  854. local rng = Instance.new("Part", char)
  855. rng.Anchored = true
  856. rng.BrickColor = color
  857. rng.CanCollide = false
  858. rng.FormFactor = 3
  859. rng.Name = "Ring"
  860. rng.Material = "Neon"
  861. rng.Size = Vector3.new(1, 1, 1)
  862. rng.Transparency = 0
  863. rng.TopSurface = 0
  864. rng.BottomSurface = 0
  865. rng.CFrame = pos
  866. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  867. local rngm = Instance.new("SpecialMesh", rng)
  868. rngm.MeshType = MType
  869. rngm.Scale = Vector3.new(x1, y1, z1)
  870. local scaler2 = 1
  871. local speeder = FastSpeed
  872. if type == "Add" then
  873. scaler2 = 1 * value
  874. elseif type == "Divide" then
  875. scaler2 = 1 / value
  876. end
  877. coroutine.resume(coroutine.create(function()
  878. for i = 0, 10 / bonuspeed, 0.1 do
  879. swait()
  880. if type == "Add" then
  881. scaler2 = scaler2 - 0.01 * value / bonuspeed
  882. elseif type == "Divide" then
  883. scaler2 = scaler2 - 0.01 / value * bonuspeed
  884. end
  885. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  886. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  887. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  888. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  889. end
  890. rng:Destroy()
  891. end))
  892. end
  893.  
  894. function SoulSteal(dude)
  895. if dude.Name ~= char then
  896. local bgf = IT("BodyGyro", dude.Head)
  897. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  898. local val = IT("BoolValue", dude)
  899. val.Name = "IsHit"
  900. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  901. local soulst = coroutine.wrap(function()
  902. local soul = Instance.new("Part",dude)
  903. soul.Size = Vector3.new(1,1,1)
  904. soul.CanCollide = false
  905. soul.Anchored = false
  906. soul.Position = torso.Position
  907. soul.Transparency = 1
  908. local PartEmmit1 = IT("ParticleEmitter", soul)
  909. PartEmmit1.LightEmission = 1
  910. PartEmmit1.Texture = "rbxassetid://569507414"
  911. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  912. PartEmmit1.Rate = 250
  913. PartEmmit1.Lifetime = NumberRange.new(1.6)
  914. PartEmmit1.Size = NumberSequence.new({
  915. NumberSequenceKeypoint.new(0, 1, 0),
  916. NumberSequenceKeypoint.new(1, 0, 0)
  917. })
  918. PartEmmit1.Transparency = NumberSequence.new({
  919. NumberSequenceKeypoint.new(0, 0, 0),
  920. NumberSequenceKeypoint.new(1, 1, 0)
  921. })
  922. PartEmmit1.Speed = NumberRange.new(0, 0)
  923. PartEmmit1.VelocitySpread = 30000
  924. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  925. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  926. local BodPoss = IT("BodyPosition", soul)
  927. BodPoss.P = 3000
  928. BodPoss.D = 1000
  929. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  930. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  931. wait(1.6)
  932. soul.Touched:connect(function(hit)
  933. if hit.Parent == char then
  934. soul:Destroy()
  935. end
  936. end)
  937. wait(1.2)
  938. while soul do
  939. swait()
  940. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  941. BodPoss.Position = tors.Position
  942. end
  943. end)
  944. soulst()
  945. end
  946. end
  947. function FaceMouse()
  948. local Cam = workspace.CurrentCamera
  949. return {
  950. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  951. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  952. }
  953. end
  954. -------------------------------------------------------
  955. --End Effect Function--
  956. -------------------------------------------------------
  957. function Cso(ID, PARENT, VOLUME, PITCH)
  958. local NSound = nil
  959. coroutine.resume(coroutine.create(function()
  960. NSound = IT("Sound", PARENT)
  961. NSound.Volume = VOLUME
  962. NSound.Pitch = PITCH
  963. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  964. swait()
  965. NSound:play()
  966. game:GetService("Debris"):AddItem(NSound, 10)
  967. end))
  968. return NSound
  969. end
  970. function CameraEnshaking(Length, Intensity)
  971. coroutine.resume(coroutine.create(function()
  972. local intensity = 1 * Intensity
  973. local rotM = 0.01 * Intensity
  974. for i = 0, Length, 0.1 do
  975. swait()
  976. intensity = intensity - 0.05 * Intensity / Length
  977. rotM = rotM - 5.0E-4 * Intensity / Length
  978. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  979. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  980. end
  981. hum.CameraOffset = Vector3.new(0, 0, 0)
  982. end))
  983. end
  984. -------------------------------------------------------
  985. --End Important Functions--
  986. -------------------------------------------------------
  987.  
  988.  
  989. -------------------------------------------------------
  990. --Start Customization--
  991. -------------------------------------------------------
  992. local Player_Size = 1
  993. if Player_Size ~= 1 then
  994. root.Size = root.Size * Player_Size
  995. tors.Size = tors.Size * Player_Size
  996. hed.Size = hed.Size * Player_Size
  997. ra.Size = ra.Size * Player_Size
  998. la.Size = la.Size * Player_Size
  999. rl.Size = rl.Size * Player_Size
  1000. ll.Size = ll.Size * Player_Size
  1001. ----------------------------------------------------------------------------------
  1002. rootj.Parent = root
  1003. neck.Parent = tors
  1004. RW.Parent = tors
  1005. LW.Parent = tors
  1006. RH.Parent = tors
  1007. LH.Parent = tors
  1008. ----------------------------------------------------------------------------------
  1009. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1010. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1011. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1012. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1013. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1014. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1015. ----------------------------------------------------------------------------------
  1016. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1017. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1018. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1019. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1020. --hat.Parent = Character
  1021. end
  1022. ----------------------------------------------------------------------------------
  1023. local SONG = 1494452913
  1024. local SONG2 = 1130685064
  1025. local Music = Instance.new("Sound",tors)
  1026. Music.Volume = 2.5
  1027. Music.Looped = true
  1028. Music.Pitch = 1 --Pitcher
  1029. ----------------------------------------------------------------------------------
  1030. local equipped = false
  1031. local idle = 0
  1032. local change = 1
  1033. local val = 0
  1034. local toim = 0
  1035. local idleanim = 0.4
  1036. local sine = 0
  1037. local Sit = 1
  1038. ----------------------------------------------------------------------------------
  1039. hum.WalkSpeed = 10
  1040. hum.JumpPower = 57
  1041. ----------------------------------------------------------------------------------
  1042.  
  1043. ----------------------------------------------------------------------------------
  1044.  
  1045. --[[
  1046. Thanks for using Build-To-Lua by jarredbcv.
  1047. ]]--
  1048.  
  1049. New = function(Object, Parent, Name, Data)
  1050. local Object = Instance.new(Object)
  1051. for Index, Value in pairs(Data or {}) do
  1052. Object[Index] = Value
  1053. end
  1054. Object.Parent = Parent
  1055. Object.Name = Name
  1056. return Object
  1057. end
  1058.  
  1059. Eyo = New("Model",char,"Eyo",{})
  1060. Eye = New("Part",Eyo,"Eye",{BrickColor = BrickColor.new("Institutional white"),Shape = Enum.PartType.Ball,Size = Vector3.new(1.96000075, 1.96000075, 1.96000075),CFrame = CFrame.new(-137.175568, 1.33095813, -17.0833168, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1061. Pupil = New("Part",Eyo,"Pupil",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.37000075, 0.37000075, 0.37000075),CFrame = CFrame.new(-137.235779, 1.42530513, -18.0334377, 1.00000072, -7.15256022e-07, 3.57628181e-07, -7.15256022e-07, 1.00000036, 2.01165761e-07, 3.57628181e-07, 2.01165761e-07, 1.00000215),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1062. mot = New("Motor",Pupil,"mot",{Part0 = Pupil,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),C1 = CFrame.new(-0.0602111816, 0.0943470001, -0.950120926, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
  1063. TopHat2 = New("Part",Eyo,"TopHat2",{BrickColor = BrickColor.new("Really black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0500000007, 1, 1),CFrame = CFrame.new(-137.740799, 2.24810791, -17.0272255, 0.458347857, 0.877660632, -0.140108809, -0.888243496, 0.446898967, -0.106327571, -0.0307050757, 0.173186749, 0.984412611),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1064. mot = New("Motor",TopHat2,"mot",{Part0 = TopHat2,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 0.458347201, -0.88824302, -0.0307050198, 0.877660394, 0.446899265, 0.173186243, -0.140109047, -0.106327735, 0.98441118),C1 = CFrame.new(-0.565231323, 0.917149663, 0.0560913086, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
  1065. TopHat1 = New("Part",Eyo,"TopHat1",{BrickColor = BrickColor.new("Really black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.54000056, 1.80000043, 0.780000567),CFrame = CFrame.new(-138.100586, 2.94428444, -17.0250435, 0.457500041, 0.889210463, 3.57628181e-07, -0.88921082, 0.45749861, 2.01165761e-07, -1.52640816e-08, 4.10039718e-07, 1.00000215),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1066. mot = New("Motor",TopHat1,"mot",{Part0 = TopHat1,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 0.457499385, -0.889210343, -5.08804376e-09, 0.889210224, 0.457498908, 1.36679802e-07, 1.1920929e-07, 6.70552254e-08, 1.00000072),C1 = CFrame.new(-0.925018311, 1.61332572, 0.0582733154, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
  1067. OuterPupil = New("Part",Eyo,"OuterPupil",{BrickColor = BrickColor.new("Alder"),Material = Enum.Material.Neon,Shape = Enum.PartType.Ball,Size = Vector3.new(1.0000006, 1.0000006, 1.0000006),CFrame = CFrame.new(-137.20755, 1.40179217, -17.6748943, 1.00000072, -7.15256022e-07, 3.57628181e-07, -7.15256022e-07, 1.00000036, 2.01165761e-07, 3.57628181e-07, 2.01165761e-07, 1.00000215),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.705882, 0.501961, 1),})
  1068. mot = New("Motor",OuterPupil,"mot",{Part0 = OuterPupil,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),C1 = CFrame.new(-0.0319824219, 0.0708340406, -0.59157753, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
  1069. TopHat3 = New("Part",Eyo,"TopHat3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.779999912, 0.5, 0.769999981),CFrame = CFrame.new(-138.460098, 3.63034701, -17.0150394, -0.258819818, -0.455481321, 0.851792634, -5.44427401e-08, 0.881841302, 0.471547186, -0.965928435, 0.122045919, -0.228237376),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1070. Mesh = New("SpecialMesh",TopHat3,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  1071. mot = New("Motor",TopHat3,"mot",{Part0 = TopHat3,Part1 = Eye,C0 = CFrame.new(0, 0, 0, -0.258819461, -4.83165614e-08, -0.965926886, -0.455480665, 0.881840825, 0.122045726, 0.851792514, 0.471547544, -0.228237316),C1 = CFrame.new(-1.28453064, 2.29938841, 0.068277359, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
  1072.  
  1073. local NewInstance = function(instance,parent,properties)
  1074. local inst = Instance.new(instance,parent)
  1075. if(properties)then
  1076. for i,v in next, properties do
  1077. pcall(function() inst[i] = v end)
  1078. end
  1079. end
  1080. return inst;
  1081. end
  1082.  
  1083. local HW = NewInstance('Weld',char,{Part0=tors, Part1=Eye, C0 = CF(0,4,0) * angles(0,0,0)})
  1084.  
  1085. hed.Transparency = 1
  1086. change = 1
  1087.  
  1088. attack = true
  1089. equipped = true
  1090. neck = tors.Neck
  1091. Player_Size = 1
  1092.  
  1093. function Taunt1()
  1094. attack = true
  1095. hum.WalkSpeed = 0
  1096. for i = 0, 9, 0.1 do
  1097. swait()
  1098. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.15)
  1099. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1100. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(78), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(15)), 0.15)
  1101. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-78), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-15)), 0.15)
  1102. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-9), Rad(0), Rad(155 + 25 * Sin(sine / 2.5))), 0.12)
  1103. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1104. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1105. end
  1106. attack = false
  1107. hum.WalkSpeed = 10
  1108. end
  1109.  
  1110. VALUE1 = false
  1111. attack = false
  1112.  
  1113. while true do
  1114. swait()
  1115. sine = sine + change
  1116. if attack == false then
  1117. VALUE1 = false
  1118. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1119. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1120. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1121. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1122. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1123. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1124. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1125.  
  1126.  
  1127. if VALUE1 == false and math.random(1,700) == 1 then
  1128. coroutine.resume(coroutine.create(function()
  1129. VALUE1 = true
  1130. Taunt1()
  1131. VALUE1 = false
  1132.  
  1133. end))
  1134. end
  1135. end
  1136. end
  1137.  
  1138. --[[
  1139. while true do
  1140. swait()
  1141. sine = sine + change
  1142. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1143. local velderp = root.Velocity.y
  1144. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1145. if equipped == true or equipped == false then
  1146. if attack == false then
  1147. idle = idle + 1
  1148. else
  1149. idle = 0
  1150. end
  1151. if 1 < root.Velocity.y and hitfloor == nil then
  1152. Anim = "Jump"
  1153. if attack == false then
  1154. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1155. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1156. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1157. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1158. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1159. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1160. end
  1161. elseif -1 > root.Velocity.y and hitfloor == nil then
  1162. Anim = "Fall"
  1163. if attack == false then
  1164. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1165. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1166. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1167. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1168. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1169. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1170. end
  1171. elseif torvel < 1 and hitfloor ~= nil then
  1172. Anim = "Idle"
  1173. change = .5
  1174. if attack == false then
  1175. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1176. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1177. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1178. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1179. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1180. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1181. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1182. end
  1183. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1184. Anim = "Walk"
  1185. change = 1
  1186. if attack == false then
  1187. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15)
  1188. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1189. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1190. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1191. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1192. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1193. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1194. end
  1195. elseif torvel >= 25 and hitfloor ~= nil then
  1196. Anim = "Sprint"
  1197. change = 1.35
  1198. if attack == false then
  1199. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  1200. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1201. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1202. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1203. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1204. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1205. end
  1206. end
  1207. end
  1208. for _, c in pairs(char:GetChildren()) do
  1209. if c.ClassName == "Part" and c.Name ~= "Detail" then
  1210. --c.Material = "Fabric"
  1211. if c:FindFirstChildOfClass("ParticleEmitter") then
  1212. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1213. end
  1214. if c ~= hed then
  1215. --c.Color = C3(0,0,0)
  1216. else
  1217. c.Color = Color3.new(1,1,1)
  1218. end
  1219. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1220. c:remove()
  1221. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1222. c:remove()
  1223. end
  1224. end
  1225. end
  1226. ]]--
  1227. end))
  1228. Part15.Name = "HumanoidRootPart"
  1229. Part15.Parent = Model0
  1230. Part15.CFrame = CFrame.new(153, 3, 85.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1231. Part15.Position = Vector3.new(153, 3, 85.5)
  1232. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1233. Part15.Transparency = 1
  1234. Part15.Size = Vector3.new(2, 2, 1)
  1235. Part15.BottomSurface = Enum.SurfaceType.Smooth
  1236. Part15.BrickColor = BrickColor.new("Institutional white")
  1237. Part15.TopSurface = Enum.SurfaceType.Smooth
  1238. Part15.brickColor = BrickColor.new("Institutional white")
  1239. Motor6D16.Name = "RootJoint"
  1240. Motor6D16.Parent = Part15
  1241. Motor6D16.MaxVelocity = 0.10000000149012
  1242. Motor6D16.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1243. Motor6D16.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1244. Motor6D16.Part0 = Part15
  1245. Motor6D16.Part1 = Part6
  1246. Motor6D16.part1 = Part6
  1247. for i,v in pairs(mas:GetChildren()) do
  1248. v.Parent = workspace
  1249. pcall(function() v:MakeJoints() end)
  1250. end
  1251. mas:Destroy()
  1252. for i,v in pairs(cors) do
  1253. spawn(function()
  1254. pcall(v)
  1255. end)
  1256. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement