Advertisement
Guest User

612738 k!tty 12371278

a guest
Apr 27th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.92 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Pressed = false
  8. local Player = game.Players.LocalPlayer
  9. local c = Player.Character
  10. if not c or not c.Parent then
  11. c = Player.CharacterAdded:wait()
  12. end
  13.  
  14. local radio = Instance.new("Part",c)
  15. radio.Name = "Radio"
  16. radio.CanCollide = false
  17. radio.Anchored = true
  18. radio.FormFactor = "Custom"
  19. radio.Size = Vector3.new(2.5, 1, 0.4)
  20. radio.CFrame = c.Torso.CFrame * CFrame.new(-3.5,2,.2)
  21. radio.CFrame = radio.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0)
  22. radio.CFrame = radio.CFrame * CFrame.fromEulerAnglesXYZ(0,0,-.1)
  23.  
  24.  
  25. local sound = Instance.new("Sound",radio)
  26. sound.Name = "Music"
  27. sound.Looped = true
  28. sound.Volume = 1
  29.  
  30.  
  31.  
  32. player = game:service("Players").LocalPlayer
  33. char2 = player.Character
  34. Glow1 = Color3.new(0,0,0)
  35. Glow2 = Color3.new(1,0,0)
  36. Glow3 = Color3.new(0,1,0)
  37. Glow4 = Color3.new(0,0,1)
  38. GlowParticle = Instance.new("ParticleEmitter",radio)
  39. GlowParticle.LightEmission = 1
  40. GlowParticle.Color = ColorSequence.new(Glow2,Glow1)
  41. GlowParticle.Size = NumberSequence.new(0.4)
  42. GlowParticle.Texture = "http://www.roblox.com/asset/?id=118641183"
  43. GlowParticle.Transparency = NumberSequence.new(.3,.8)
  44. GlowParticle.LockedToPart = false
  45. GlowParticle.Lifetime = NumberRange.new(.5,1)
  46. GlowParticle.Rate= 200
  47. GlowParticle.Speed =NumberRange.new(1.5)
  48. GlowParticle.Acceleration = Vector3.new(0, 1, 0)
  49. GlowParticle.VelocitySpread = 100
  50.  
  51. GlowParticle2 = Instance.new("ParticleEmitter",radio)
  52. GlowParticle2.LightEmission = 1
  53. GlowParticle2.Color = ColorSequence.new(Glow3,Glow1)
  54. GlowParticle2.Size = NumberSequence.new(0.4)
  55. GlowParticle2.Texture = "http://www.roblox.com/asset/?id=118641183"
  56. GlowParticle2.Transparency = NumberSequence.new(.3,.8)
  57. GlowParticle2.LockedToPart = false
  58. GlowParticle2.Lifetime = NumberRange.new(.5,1)
  59. GlowParticle2.Rate= 200
  60. GlowParticle2.Speed =NumberRange.new(1.5)
  61. GlowParticle2.Acceleration = Vector3.new(0, 1, 0)
  62. GlowParticle2.VelocitySpread = 100
  63.  
  64. GlowParticle3 = Instance.new("ParticleEmitter",radio)
  65. GlowParticle3.LightEmission = 1
  66. GlowParticle3.Color = ColorSequence.new(Glow4,Glow1)
  67. GlowParticle3.Size = NumberSequence.new(0.4)
  68. GlowParticle3.Texture = "http://www.roblox.com/asset/?id=118641183"
  69. GlowParticle3.Transparency = NumberSequence.new(.3,.8)
  70. GlowParticle3.LockedToPart = false
  71. GlowParticle3.Lifetime = NumberRange.new(.5,1)
  72. GlowParticle3.Rate= 200
  73. GlowParticle3.Speed =NumberRange.new(1.5)
  74. GlowParticle3.Acceleration = Vector3.new(0, 1, 0)
  75. GlowParticle3.VelocitySpread = 100
  76.  
  77. wait (0)
  78. fat = Instance.new("BindableEvent", script)
  79. fat.Name = "Heartbeat"
  80.  
  81.  
  82. local charge = false
  83.  
  84. P = game.Players.LocalPlayer
  85. char = P.Character
  86. torso = char.Torso
  87. neck = char.Torso.Neck
  88. hum = char.Humanoid
  89. hum.MaxHealth = 987654321987654321987654321987654321987654321
  90. wait()
  91. hum.Health =hum.MaxHealth
  92. char.Head.face.Texture = "rbxassetid://176204308"
  93.  
  94.  
  95. p2 = game.Players.LocalPlayer
  96. char049 = p2.Character
  97. for i,v in pairs(char049:children()) do
  98. if v:IsA("Accessory") then
  99. v:Destroy()
  100. end
  101. end
  102.  
  103. local M69 = Instance.new("SpecialMesh")
  104. M69.Parent = torso
  105. M69.MeshId = "rbxassetid://48112070"
  106. M69.Scale = Vector3.new( 1.093, 1, 1)
  107.  
  108.  
  109.  
  110. char049.Shirt:Remove()
  111. for i,v in pairs(char049:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  112. wait()shirt = Instance.new("Shirt", char049)
  113. shirt.Name = "Shirt"
  114. pants = Instance.new("Pants", char049)
  115. pants.Name = "Pants"
  116.  
  117. char049.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=147949556"
  118. char049.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=145038586"
  119.  
  120.  
  121.  
  122. local BC = char["Body Colors"]
  123. BC.HeadColor = BrickColor.new("Fossil")
  124. BC.LeftArmColor = BrickColor.new("Fossil")
  125. BC.LeftLegColor = BrickColor.new("Fossil")
  126. BC.RightArmColor = BrickColor.new("Fossil")
  127. BC.RightLegColor = BrickColor.new("Fossil")
  128. BC.TorsoColor = BrickColor.new("Plum")
  129.  
  130.  
  131. Player=game:GetService("Players").LocalPlayer
  132. Character=Player.Character
  133.  
  134. -------------------------------------------------------
  135. local Orbd = Instance.new("Part", Character)
  136. Orbd.Name = "Orbd"
  137. Orbd.Shape = Enum.PartType.Ball
  138. Orbd.CanCollide = false
  139. Orbd.BrickColor = BrickColor.new("Really black")
  140. Orbd.Transparency = 0
  141. Orbd.Material = "Neon"
  142. Orbd.Size = Vector3.new(0.2, 0.2, 0.2)
  143. Orbd.TopSurface = Enum.SurfaceType.Smooth
  144. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  145.  
  146. local Weld = Instance.new("Weld", Orbd)
  147. Weld.Part0 = Character.Head
  148. Weld.Part1 = Orbd
  149. Weld.C1 = CFrame.new(-0.01, 0.2, 0.51)
  150.  
  151. ---------------------------------------------------------
  152. local Mask = Instance.new("Part", Character)
  153. Mask.Name = "Mask"
  154. Mask.CanCollide = false
  155. Mask.BrickColor = BrickColor.new("Sunrise")
  156. Mask.Transparency = 0
  157. Mask.Material = "Neon"
  158. Mask.Size = Vector3.new(0.1, 0.1, 0.1)
  159. Mask.TopSurface = Enum.SurfaceType.Smooth
  160. Mask.BottomSurface = Enum.SurfaceType.Smooth
  161.  
  162. local Weld = Instance.new("Weld", Mask)
  163. Weld.Part0 = Character.Head
  164. Weld.Part1 = Mask
  165. Weld.C1 = CFrame.new(0, 0.03, 0.5)
  166.  
  167. local M1 = Instance.new("SpecialMesh")
  168. M1.Parent = Mask
  169. M1.MeshId = "http://www.roblox.com/asset/?id=430736398"
  170. M1.Scale = Vector3.new( .3, .03, .1)
  171. ----------------------------------------------------------
  172. local Hood = Instance.new("Part", Character)
  173. Hood.Name = "Hair"
  174. Hood.CanCollide = false
  175. Hood.BrickColor = BrickColor.new("Dark indigo")
  176. Hood.Transparency = 0
  177. Hood.Material = "Neon"
  178. Hood.Size = Vector3.new(0.1, 0.1, 0.1)
  179. Hood.TopSurface = Enum.SurfaceType.Smooth
  180. Hood.BottomSurface = Enum.SurfaceType.Smooth
  181.  
  182. local Weld = Instance.new("Weld", Hood)
  183. Weld.Part0 = Character.Head
  184. Weld.Part1 = Hood
  185. Weld.C1 = CFrame.new(0, -0.5, 0)
  186.  
  187. local M2 = Instance.new("SpecialMesh")
  188. M2.Parent = Hood
  189. M2.MeshId = "http://www.roblox.com/asset/?id=362013001"
  190. M2.Scale = Vector3.new( 1, 1.1, 1.1)
  191.  
  192. ------------------------------------------------------
  193. local skin = Instance.new("Part", Character)
  194. skin.Name = "skin"
  195. skin.CanCollide = false
  196. skin.BrickColor = BrickColor.new("Fossil")
  197. skin.Transparency = 0
  198. skin.Material = "SmoothPlastic"
  199. skin.Size = Vector3.new(0.1, 0.1, 0.1)
  200. skin.TopSurface = Enum.SurfaceType.Smooth
  201. skin.BottomSurface = Enum.SurfaceType.Smooth
  202.  
  203. local Weld = Instance.new("Weld", skin)
  204. Weld.Part0 = Character.Torso
  205. Weld.Part1 = skin
  206. Weld.C1 = CFrame.new(0, -0.83, 0.5)
  207.  
  208. local M3 = Instance.new("SpecialMesh")
  209. M3.Parent = skin
  210. M3.MeshId = "http://www.roblox.com/asset/?id=518429841"
  211. M3.Scale = Vector3.new(0.0054, 0.0014, 0.0001)
  212.  
  213. ------------------------------------------------------
  214. local hair2 = Instance.new("Part", Character)
  215. hair2.Name = "Hair2"
  216. hair2.CanCollide = false
  217. hair2.BrickColor = BrickColor.new("Dark indigo")
  218. hair2.Transparency = 0
  219. hair2.Material = "Neon"
  220. hair2.Size = Vector3.new(0.1, 0.1, 0.1)
  221. hair2.TopSurface = Enum.SurfaceType.Smooth
  222. hair2.BottomSurface = Enum.SurfaceType.Smooth
  223.  
  224. local Weld = Instance.new("Weld", hair2)
  225. Weld.Part0 = Character.Head
  226. Weld.Part1 = hair2
  227. Weld.C1 = CFrame.new(0, 0.65, -0.05)
  228.  
  229. local M2 = Instance.new("SpecialMesh")
  230. M2.Parent = hair2
  231. M2.MeshId = "http://www.roblox.com/asset/?id=164382853"
  232. M2.Scale = Vector3.new( 1.1, 1.1, 1)
  233.  
  234. ------------------------------------------------------
  235. local hat2 = Instance.new("Part", Character)
  236. hat2.Name = "hat2"
  237. hat2.CanCollide = false
  238. hat2.BrickColor = BrickColor.new("Plum")
  239. hat2.Transparency = 1
  240. hat2.Material = "SmoothPlastic"
  241. hat2.Size = Vector3.new(0.1, 0.1, 0.1)
  242. hat2.TopSurface = Enum.SurfaceType.Smooth
  243. hat2.BottomSurface = Enum.SurfaceType.Smooth
  244.  
  245. local Weld = Instance.new("Weld", hat2)
  246. Weld.Part0 = Character.Head
  247. Weld.Part1 = hat2
  248. Weld.C1 = CFrame.new(0, -1, 0)
  249.  
  250. local M4 = Instance.new("SpecialMesh")
  251. M4.Parent = hat2
  252. M4.MeshId = "http://www.roblox.com/asset/?id=110852069"
  253. M4.Scale = Vector3.new( 0.8, 1, 1)
  254.  
  255.  
  256. ------------------------------------------------------
  257. local hat3 = Instance.new("Part", Character)
  258. hat3.Name = "SmoothPlastic"
  259. hat3.CanCollide = false
  260. hat3.BrickColor = BrickColor.new("Plum")
  261. hat3.Transparency = 1
  262. hat3.Material = "Neon"
  263. hat3.Size = Vector3.new(0.1, 0.1, 0.1)
  264. hat3.TopSurface = Enum.SurfaceType.Smooth
  265. hat3.BottomSurface = Enum.SurfaceType.Smooth
  266.  
  267. local Weld = Instance.new("Weld", hat3)
  268. Weld.Part0 = Character.Head
  269. Weld.Part1 = hat3
  270. Weld.C1 = CFrame.new(0, -0.8, 0)
  271.  
  272. local M5 = Instance.new("SpecialMesh")
  273. M5.Parent = hat3
  274. M5.MeshId = "http://www.roblox.com/asset/?id=104780903"
  275. M5.Scale = Vector3.new( 1.25, 1.1, 1.25)
  276.  
  277.  
  278. ------------------------------------------------------
  279. local tail2 = Instance.new("Part", Character)
  280. tail2.Name = "tail2"
  281. tail2.CanCollide = false
  282. tail2.BrickColor = BrickColor.new("White")
  283. tail2.Transparency = 1
  284. tail2.Material = "SmoothPlastic"
  285. tail2.Size = Vector3.new(0.1, 0.1, 0.1)
  286. tail2.TopSurface = Enum.SurfaceType.Smooth
  287. tail2.BottomSurface = Enum.SurfaceType.Smooth
  288.  
  289. local Weld = Instance.new("Weld", tail2)
  290. Weld.Part0 = Character.Torso
  291. Weld.Part1 = tail2
  292. Weld.C1 = CFrame.new(0, 0.63, -0.6)
  293.  
  294. local M7 = Instance.new("SpecialMesh")
  295. M7.Parent = tail2
  296. M7.MeshId = "http://www.roblox.com/asset/?id=518429841"
  297. M7.Scale = Vector3.new(0.0028, 0.0028, 0.0028)
  298. ------------------------------------------------------
  299. local tail3 = Instance.new("Part", Character)
  300. tail3.Name = "tail3"
  301. tail3.CanCollide = false
  302. tail3.BrickColor = BrickColor.new("Plum")
  303. tail3.Transparency = 1
  304. tail3.Material = "Neon"
  305. tail3.Size = Vector3.new(0.1, 0.1, 0.1)
  306. tail3.TopSurface = Enum.SurfaceType.Smooth
  307. tail3.BottomSurface = Enum.SurfaceType.Smooth
  308.  
  309. local Weld = Instance.new("Weld", tail3)
  310. Weld.Part0 = Character.Torso
  311. Weld.Part1 = tail3
  312. Weld.C1 = CFrame.new(-0.2, -0.2, -1.8)
  313.  
  314. local M2 = Instance.new("SpecialMesh")
  315. M2.Parent = tail3
  316. M2.MeshId = "http://www.roblox.com/asset/?id=170939831"
  317. M2.Scale = Vector3.new( 1, 1, 1)
  318. ------------------------------------------------------
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328. local Player = game.Players.localPlayer
  329. local Character = Player.Character
  330. local red = 255
  331. local green = 255
  332. local blue = 255
  333. local Humanoid = Character.Humanoid
  334. local mouse = Player:GetMouse()
  335. local m = Instance.new("Model", Character)
  336. m.Name = "WeaponModel"
  337. local LeftArm = Character["Left Arm"]
  338. local RightArm = Character["Right Arm"]
  339. local LeftLeg = Character["Left Leg"]
  340. local RightLeg = Character["Right Leg"]
  341. local Head = Character.Head
  342. local Torso = Character.Torso
  343. local cam = game.Workspace.CurrentCamera
  344. local RootPart = Character.HumanoidRootPart
  345. local RootJoint = RootPart.RootJoint
  346. local equipped = false
  347. local attack = false
  348. local Anim = "Idle"
  349. local idle = 0
  350. local attacktype = 1
  351. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  352. local velocity = RootPart.Velocity.y
  353. local sine = 0
  354. local change = 1
  355. local grabbed = false
  356. local cn = CFrame.new
  357. local mr = math.rad
  358. local angles = CFrame.Angles
  359. local ud = UDim2.new
  360. local c3 = Color3.new
  361. local lim = 0
  362. local st = 0
  363. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  364. local attacktype = 1
  365. local ZTarget, RocketTarget = nil, nil
  366. local euler = CFrame.fromEulerAnglesXYZ
  367. function clerp(a,b,t)
  368. local qa = {QuaternionFromCFrame(a)}
  369. local qb = {QuaternionFromCFrame(b)}
  370. local ax, ay, az = a.x, a.y, a.z
  371. local bx, by, bz = b.x, b.y, b.z
  372. local _t = 1-t
  373. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  374. end
  375.  
  376. function QuaternionFromCFrame(cf)
  377. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  378. local trace = m00 + m11 + m22
  379. if trace > 0 then
  380. local s = math.sqrt(1 + trace)
  381. local recip = 0.5/s
  382. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  383. else
  384. local i = 0
  385. if m11 > m00 then
  386. i = 1
  387. end
  388. if m22 > (i == 0 and m00 or m11) then
  389. i = 2
  390. end
  391. if i == 0 then
  392. local s = math.sqrt(m00-m11-m22+1)
  393. local recip = 0.5/s
  394. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  395. elseif i == 1 then
  396. local s = math.sqrt(m11-m22-m00+1)
  397. local recip = 0.5/s
  398. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  399. elseif i == 2 then
  400. local s = math.sqrt(m22-m00-m11+1)
  401. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  402. end
  403. end
  404. end
  405.  
  406. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  407. local xs, ys, zs = x + x, y + y, z + z
  408. local wx, wy, wz = w*xs, w*ys, w*zs
  409. local xx = x*xs
  410. local xy = x*ys
  411. local xz = x*zs
  412. local yy = y*ys
  413. local yz = y*zs
  414. local zz = z*zs
  415. 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))
  416. end
  417.  
  418. function QuaternionSlerp(a, b, t)
  419. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  420. local startInterp, finishInterp;
  421. if cosTheta >= 0.0001 then
  422. if (1 - cosTheta) > 0.0001 then
  423. local theta = math.acos(cosTheta)
  424. local invSinTheta = 1/math.sin(theta)
  425. startInterp = math.sin((1-t)*theta)*invSinTheta
  426. finishInterp = math.sin(t*theta)*invSinTheta
  427. else
  428. startInterp = 1-t
  429. finishInterp = t
  430. end
  431. else
  432. if (1+cosTheta) > 0.0001 then
  433. local theta = math.acos(-cosTheta)
  434. local invSinTheta = 1/math.sin(theta)
  435. startInterp = math.sin((t-1)*theta)*invSinTheta
  436. finishInterp = math.sin(t*theta)*invSinTheta
  437. else
  438. startInterp = t-1
  439. finishInterp = t
  440. end
  441. end
  442. 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
  443. end
  444. rayCast = function(Position, Direction, Range, Ignore)
  445. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  446. end
  447. local v = game.Players.localPlayer
  448. local torso = v.Character.Torso
  449. wait(0)
  450. local p = Instance.new("Part", v.Character)
  451. p.Name = "kit"
  452. p.BrickColor = BrickColor.new("Plum")
  453. p.Anchored = true
  454. p.Transparency = 0
  455. p.Material = "Plastic"
  456. p.CanCollide = false
  457. p.TopSurface = 0
  458. p.BottomSurface = 0
  459. p.Size = Vector3.new(0.2, 0.2, 0.2)
  460. p.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  461. local msh = Instance.new("SpecialMesh", p)
  462. msh.Scale = Vector3.new(0.55, 0.55, 0.55)
  463. msh.MeshId = "http://www.roblox.com/asset/?id=430736398"
  464. msh.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  465. local pn = Instance.new("Part", v.Character.kit)
  466. pn.Name = "D"
  467. pn.BrickColor = BrickColor.new("Plum")
  468. pn.Anchored = true
  469. pn.Transparency = 0
  470. pn.Material = "Plastic"
  471. pn.CanCollide = false
  472. pn.TopSurface = 0
  473. pn.BottomSurface = 0
  474. pn.Size = Vector3.new(0.2, 0.2, 0.2)
  475. pn.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  476. local mshn = Instance.new("SpecialMesh", pn)
  477. mshn.Scale = Vector3.new(0.55, 0.55, 0.55)
  478. mshn.MeshId = "http://www.roblox.com/asset/?id=430736398"
  479. mshn.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  480. local pn3 = Instance.new("Part", v.Character.kit)
  481. pn3.Name = "B"
  482. pn3.BrickColor = BrickColor.new("Fossil")
  483. pn3.Anchored = true
  484. pn3.Transparency = 0
  485. pn3.Material = "Plastic"
  486. pn3.CanCollide = false
  487. pn3.TopSurface = 0
  488. pn3.BottomSurface = 0
  489. pn3.Size = Vector3.new(0.2, 0.2, 0.2)
  490. pn3.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  491. local mshn3 = Instance.new("SpecialMesh", pn3)
  492. mshn3.Scale = Vector3.new(0.0054, 0.0054, 0.0054)
  493. mshn3.MeshId = "http://www.roblox.com/asset/?id=518429841"
  494. mshn3.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  495. local pn4 = Instance.new("Part", v.Character.kit)
  496. pn4.Name = "B"
  497. pn4.BrickColor = BrickColor.new("Fossil")
  498. pn4.Anchored = true
  499. pn4.Transparency = 0
  500. pn4.Material = "Plastic"
  501. pn4.CanCollide = false
  502. pn4.TopSurface = 0
  503. pn4.BottomSurface = 0
  504. pn4.Size = Vector3.new(0.2, 0.2, 0.2)
  505. pn4.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  506. local mshn4 = Instance.new("SpecialMesh", pn4)
  507. mshn4.Scale = Vector3.new(0.0054, 0.0054, 0.0054)
  508. mshn4.MeshId = "http://www.roblox.com/asset/?id=518429841"
  509. mshn4.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  510. local pn5 = Instance.new("Part", v.Character.kit)
  511. pn5.Name = "tail"
  512. pn5.Anchored = true
  513. pn5.Transparency = 0
  514. pn5.BrickColor = BrickColor.new("Plum")
  515. pn5.Material = "Plastic"
  516. pn5.CanCollide = false
  517. pn5.TopSurface = 0
  518. pn5.BottomSurface = 0
  519. pn5.Size = Vector3.new(0.2, 0.2, 0.2)
  520. pn5.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  521. local mshn5 = Instance.new("SpecialMesh", pn5)
  522. mshn5.Scale = Vector3.new(2, 2, 2)
  523. mshn5.MeshId = "http://www.roblox.com/asset/?id=188635159"
  524. mshn5.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  525. local pn6 = Instance.new("Part", v.Character.kit)
  526. pn6.Name = "B-Hair"
  527. pn6.Anchored = true
  528. pn6.Transparency = 0
  529. pn6.BrickColor = BrickColor.new("Dark indigo")
  530. pn6.Material = "Plastic"
  531. pn6.CanCollide = false
  532. pn6.TopSurface = 0
  533. pn6.BottomSurface = 0
  534. pn6.Size = Vector3.new(0.2, 0.2, 0.2)
  535. pn6.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  536. local mshn6 = Instance.new("SpecialMesh", pn6)
  537. mshn6.Scale = Vector3.new(.015, .03, .001)
  538. mshn6.MeshId = "http://www.roblox.com/asset/?id=521338357"
  539. local pn7 = Instance.new("Part", v.Character.kit)
  540. pn7.Name = "tail"
  541. pn7.Anchored = true
  542. pn7.Transparency = 0
  543. pn7.BrickColor = BrickColor.new("Plum")
  544. pn7.Material = "Plastic"
  545. pn7.CanCollide = false
  546. pn7.TopSurface = 0
  547. pn7.BottomSurface = 0
  548. pn7.Size = Vector3.new(0.2, 0.2, 0.2)
  549. pn7.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  550. local mshn7 = Instance.new("SpecialMesh", pn7)
  551. mshn7.Scale = Vector3.new(2, 2, 2)
  552. mshn7.MeshId = "http://www.roblox.com/asset/?id=188635159"
  553. mshn7.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  554. local pn8 = Instance.new("Part", v.Character.kit)
  555. pn8.Name = "tail"
  556. pn8.Anchored = true
  557. pn8.Transparency = 0
  558. pn8.BrickColor = BrickColor.new("Plum")
  559. pn8.Material = "Plastic"
  560. pn8.CanCollide = false
  561. pn8.TopSurface = 0
  562. pn8.BottomSurface = 0
  563. pn8.Size = Vector3.new(0.2, 0.2, 0.2)
  564. pn8.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  565. local mshn8 = Instance.new("SpecialMesh", pn8)
  566. mshn8.Scale = Vector3.new(2, 2, 2)
  567. mshn8.MeshId = "http://www.roblox.com/asset/?id=188635159"
  568. mshn8.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  569. local pn9 = Instance.new("Part", v.Character.kit)
  570. pn9.Name = "tail"
  571. pn9.Anchored = true
  572. pn9.Transparency = 0
  573. pn9.BrickColor = BrickColor.new("Plum")
  574. pn9.Material = "Plastic"
  575. pn9.CanCollide = false
  576. pn9.TopSurface = 0
  577. pn9.BottomSurface = 0
  578. pn9.Size = Vector3.new(0.2, 0.2, 0.2)
  579. pn9.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  580. local mshn9 = Instance.new("SpecialMesh", pn9)
  581. mshn9.Scale = Vector3.new(2, 2, 2)
  582. mshn9.MeshId = "http://www.roblox.com/asset/?id=188635159"
  583. mshn9.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  584. local pn0 = Instance.new("Part", v.Character.kit)
  585. pn0.Name = "ears"
  586. pn0.Anchored = true
  587. pn0.Transparency = 0
  588. pn0.BrickColor = BrickColor.new("Plum")
  589. pn0.Material = "Plastic"
  590. pn0.CanCollide = false
  591. pn0.TopSurface = 0
  592. pn0.BottomSurface = 0
  593. pn0.Size = Vector3.new(0.2, 0.2, 0.2)
  594. pn0.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  595. local mshn0 = Instance.new("SpecialMesh", pn0)
  596. mshn0.Scale = Vector3.new(0.5, 0.5, 0.5)
  597. mshn0.MeshId = "http://www.roblox.com/asset/?id=361948302"
  598. mshn0.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  599. p.Anchored = false
  600. local motor1 = Instance.new("Weld", torso)
  601. motor1.Part0 = p
  602. motor1.Part1 = torso
  603. motor1.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  604. motor1.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  605. pn.Anchored = false
  606. local motor2 = Instance.new("Weld", torso)
  607. motor2.Part0 = pn
  608. motor2.Part1 = torso
  609. motor2.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  610. motor2.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  611. pn3.Anchored = false
  612. local motor3 = Instance.new("Weld", torso)
  613. motor3.Part0 = pn3
  614. motor3.Part1 = torso
  615. motor3.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  616. motor3.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  617. pn4.Anchored = false
  618. local motor4 = Instance.new("Weld", torso)
  619. motor4.Part0 = pn4
  620. motor4.Part1 = torso
  621. motor4.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  622. motor4.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  623. pn5.Anchored = false
  624. local motor5 = Instance.new("Weld", pn5)
  625. motor5.Part0 = pn5
  626. motor5.Part1 = torso
  627. motor5.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  628. motor5.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  629. pn6.Anchored = false
  630. local motor6 = Instance.new("Weld", pn6)
  631. motor6.Part0 = pn6
  632. motor6.Part1 = Head
  633. motor6.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  634. motor6.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  635. pn7.Anchored = false
  636. local motor7 = Instance.new("Weld", pn7)
  637. motor7.Part0 = pn7
  638. motor7.Part1 = torso
  639. motor7.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  640. motor7.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  641. pn8.Anchored = false
  642. local motor8 = Instance.new("Weld", pn8)
  643. motor8.Part0 = pn8
  644. motor8.Part1 = torso
  645. motor8.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  646. motor8.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  647. pn9.Anchored = false
  648. local motor9 = Instance.new("Weld", pn9)
  649. motor9.Part0 = pn9
  650. motor9.Part1 = torso
  651. motor9.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  652. motor9.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  653. pn0.Anchored = false
  654. local motor0 = Instance.new("Weld", pn0)
  655. motor0.Part0 = pn0
  656. motor0.Part1 = v.Character.Head
  657. motor0.C0 = CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  658. game:GetService("RunService").Stepped:connect(function()
  659. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  660. velocity = RootPart.Velocity.y
  661. sine = sine + change
  662. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  663. if equipped == true or equipped == false then
  664. if RootPart.Velocity.y > 1 and hit == nil then
  665. Anim = "Jump"
  666. if attack == false then
  667. motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(2 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  668. motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(2 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  669. motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(2 + -0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  670. motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(2 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  671. motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  672. motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  673. motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  674. motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(110 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  675. motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(110 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  676. end
  677. else
  678. if RootPart.Velocity.y < -1 and hit == nil then
  679. Anim = "Fall"
  680. if attack == false then
  681. motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(-3 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  682. motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(-3 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  683. motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(-3 + -0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  684. motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(-3 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  685. motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  686. motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  687. motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  688. motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(180 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  689. motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(180 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  690. end
  691. else
  692. if Torsovelocity < 1 and hit ~= nil then
  693. Anim = "Idle"
  694. if attack == false then
  695. change = 1
  696. motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(-0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  697. motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(-0 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  698. motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(-0 + -0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  699. motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(-0 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  700. motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 60)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(10 + 0 * math.cos(sine / 25))), 0.1)
  701. motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  702. motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 70)), math.rad(0 + 5 * math.cos(sine / 35)), math.rad(-45 + 0 * math.cos(sine / 25))), 0.1)
  703. motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-10 + 5 * math.cos(sine / 55)), math.rad(0 + 5 * math.cos(sine / 55)), math.rad(-150 + 0 * math.cos(sine / 25))), 0.1)
  704. motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-20 + 5 * math.cos(sine / 65)), math.rad(0 + 5 * math.cos(sine / 60)), math.rad(-100 + 0 * math.cos(sine / 25))), 0.1)
  705. end
  706. else
  707. if Torsovelocity > 2 and hit ~= nil then
  708. Anim = "Walk"
  709. if attack == false then
  710. motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(2 + 2 * math.cos(sine / 5)), math.rad(0 + -1 * math.cos(sine / 5)), math.rad(0 + 1 * math.cos(sine / 5))), 0.1)
  711. motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(2 + -2 * math.cos(sine / 5)), math.rad(0 + -1 * math.cos(sine / 5)), math.rad(0 + 1 * math.cos(sine / 5))), 0.1)
  712. motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(0 + 0 * math.cos(sine / 5)), math.rad(0 + -0 * math.cos(sine / 5)), math.rad(0 + 0 * math.cos(sine / 5))), 0.1)
  713. motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(0 + 0 * math.cos(sine / 5)), math.rad(0 + -0 * math.cos(sine / 5)), math.rad(0 + 0 * math.cos(sine / 5))), 0.1)
  714. motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 30)), math.rad(45 + 10 * math.cos(sine / 20)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  715. motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  716. motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 30)), math.rad(45 + 10 * math.cos(sine / 20)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  717. motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 10 * math.cos(sine / -30)), math.rad(135 + -10 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  718. motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 10 * math.cos(sine / -30)), math.rad(135 + -10 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  719. end
  720. end
  721. end
  722. end
  723. end
  724. end
  725. end)
  726.  
  727.  
  728. newface = Instance.new("Decal",Head)
  729. newface.Texture = "rbxassetid://"
  730.  
  731.  
  732.  
  733.  
  734. --[[NIGHTOWLACE_WEAPONRY]]--
  735. maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor.Name
  736. secondcolor = "Really black"
  737.  
  738. wait(1 / 60)
  739. Effects = { }
  740. local Player = game.Players.localPlayer
  741. local Character = Player.Character
  742. local Humanoid = Character.Humanoid
  743. local mouse = Player:GetMouse()
  744. local LeftArm = Character["Left Arm"]
  745. local RightArm = Character["Right Arm"]
  746. local LeftLeg = Character["Left Leg"]
  747. local RightLeg = Character["Right Leg"]
  748. local Head = Character.Head
  749. local Torso = Character.Torso
  750. local cam = game.Workspace.CurrentCamera
  751. local RootPart = Character.HumanoidRootPart
  752. local RootJoint = RootPart.RootJoint
  753. local equipped = true
  754. local attack = false
  755. local Anim = 'Idle'
  756. local idle = 0
  757. local attacktype = 1
  758. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  759. local velocity = RootPart.Velocity.y
  760. local sine = 0
  761. local change = 1
  762. local grabbed = false
  763. local cn = CFrame.new
  764. local mr = math.rad
  765. local angles = CFrame.Angles
  766. local ud = UDim2.new
  767. local c3 = Color3.new
  768.  
  769. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  770. Humanoid.Animator:Destroy()
  771. Character.Animate:Destroy()
  772.  
  773. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  774. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  775. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  776.  
  777. RSH, LSH = nil, nil
  778.  
  779. RW = Instance.new("Weld")
  780. LW = Instance.new("Weld")
  781.  
  782. RH = Torso["Right Hip"]
  783. LH = Torso["Left Hip"]
  784.  
  785. RSH = Torso["Right Shoulder"]
  786. LSH = Torso["Left Shoulder"]
  787.  
  788. RSH.Parent = nil
  789. LSH.Parent = nil
  790.  
  791. RW.Name = "RW"
  792. RW.Part0 = Torso
  793. RW.C0 = cn(1.5, 0.5, 0)
  794. RW.C1 = cn(0, 0.5, 0)
  795. RW.Part1 = RightArm
  796. RW.Parent = Torso
  797.  
  798. LW.Name = "LW"
  799. LW.Part0 = Torso
  800. LW.C0 = cn(-1.5, 0.5, 0)
  801. LW.C1 = cn(0, 0.5, 0)
  802. LW.Part1 = LeftArm
  803. LW.Parent = Torso
  804.  
  805. function clerp(a, b, t)
  806. local qa = {
  807. QuaternionFromCFrame(a)
  808. }
  809. local qb = {
  810. QuaternionFromCFrame(b)
  811. }
  812. local ax, ay, az = a.x, a.y, a.z
  813. local bx, by, bz = b.x, b.y, b.z
  814. local _t = 1 - t
  815. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  816. end
  817.  
  818. function QuaternionFromCFrame(cf)
  819. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  820. local trace = m00 + m11 + m22
  821. if trace > 0 then
  822. local s = math.sqrt(1 + trace)
  823. local recip = 0.5 / s
  824. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  825. else
  826. local i = 0
  827. if m11 > m00 then
  828. i = 1
  829. end
  830. if m22 > (i == 0 and m00 or m11) then
  831. i = 2
  832. end
  833. if i == 0 then
  834. local s = math.sqrt(m00 - m11 - m22 + 1)
  835. local recip = 0.5 / s
  836. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  837. elseif i == 1 then
  838. local s = math.sqrt(m11 - m22 - m00 + 1)
  839. local recip = 0.5 / s
  840. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  841. elseif i == 2 then
  842. local s = math.sqrt(m22 - m00 - m11 + 1)
  843. local recip = 0.5 / s
  844. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  845. end
  846. end
  847. end
  848.  
  849. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  850. local xs, ys, zs = x + x, y + y, z + z
  851. local wx, wy, wz = w * xs, w * ys, w * zs
  852. local xx = x * xs
  853. local xy = x * ys
  854. local xz = x * zs
  855. local yy = y * ys
  856. local yz = y * zs
  857. local zz = z * zs
  858. 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))
  859. end
  860.  
  861. function QuaternionSlerp(a, b, t)
  862. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  863. local startInterp, finishInterp;
  864. if cosTheta >= 0.0001 then
  865. if (1 - cosTheta) > 0.0001 then
  866. local theta = math.acos(cosTheta)
  867. local invSinTheta = 1 / math.sin(theta)
  868. startInterp = math.sin((1 - t) * theta) * invSinTheta
  869. finishInterp = math.sin(t * theta) * invSinTheta
  870. else
  871. startInterp = 1 - t
  872. finishInterp = t
  873. end
  874. else
  875. if (1 + cosTheta) > 0.0001 then
  876. local theta = math.acos(-cosTheta)
  877. local invSinTheta = 1 / math.sin(theta)
  878. startInterp = math.sin((t - 1) * theta) * invSinTheta
  879. finishInterp = math.sin(t * theta) * invSinTheta
  880. else
  881. startInterp = t - 1
  882. finishInterp = t
  883. end
  884. end
  885. 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
  886. end
  887.  
  888. function swait(num)
  889. if num == 0 or num == nil then
  890. game:service'RunService'.RenderStepped:wait(0)
  891. else
  892. for i = 0, num do
  893. game:service'RunService'.RenderStepped:wait(0)
  894. end
  895. end
  896. end
  897.  
  898. local RbxUtility = LoadLibrary("RbxUtility")
  899. local Create = RbxUtility.Create
  900.  
  901. function RemoveOutlines(part)
  902. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  903. end
  904.  
  905. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  906. local Part = Create("Part"){
  907. formFactor = FormFactor,
  908. Parent = Parent,
  909. Reflectance = Reflectance,
  910. Transparency = Transparency,
  911. CanCollide = false,
  912. Locked = true,
  913. BrickColor = BrickColor.new(tostring(BColor)),
  914. Name = Name,
  915. Size = Size,
  916. Material = Material,
  917. }
  918. RemoveOutlines(Part)
  919. return Part
  920. end
  921.  
  922. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  923. local Msh = Create(Mesh){
  924. Parent = Part,
  925. Offset = OffSet,
  926. Scale = Scale,
  927. }
  928. if Mesh == "SpecialMesh" then
  929. Msh.MeshType = MeshType
  930. Msh.MeshId = MeshId
  931. end
  932. return Msh
  933. end
  934.  
  935. function CreateWeld(Parent, Part0, Part1, C0, C1)
  936. local Weld = Create("Weld"){
  937. Parent = Parent,
  938. Part0 = Part0,
  939. Part1 = Part1,
  940. C0 = C0,
  941. C1 = C1,
  942. }
  943. return Weld
  944. end
  945.  
  946. function rayCast(Position, Direction, Range, Ignore)
  947. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  948. end
  949.  
  950. function CreateSound(id, par, vol, pit)
  951. coroutine.resume(coroutine.create(function()
  952. local sou = Instance.new("Sound", par or workspace)
  953. sou.Volume = vol
  954. sou.Pitch = pit or 1
  955. sou.SoundId = id
  956. wait()
  957. sou:play()
  958. game:GetService("Debris"):AddItem(sou, 6)
  959. end))
  960. end
  961.  
  962. local function getclosest(obj, distance)
  963. local last, lastx = distance + 1
  964. for i, v in pairs(workspace:GetChildren()) do
  965. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  966. local t = v.Torso
  967. local dist = (t.Position - obj.Position).magnitude
  968. if dist <= distance then
  969. if dist < last then
  970. last = dist
  971. lastx = v
  972. end
  973. end
  974. end
  975. end
  976. return lastx
  977. end
  978.  
  979. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  980. for i, v in pairs(hit:GetChildren()) do
  981. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  982. local find = v:FindFirstChild("Hitz")
  983. if not find then
  984. if v.Parent:findFirstChild("Head") then
  985. local BillG = Create("BillboardGui"){
  986. Parent = v.Parent.Head,
  987. Size = UDim2.new(1, 0, 1, 0),
  988. Adornee = v.Parent.Head,
  989. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  990. }
  991. local TL = Create("TextLabel"){
  992. Parent = BillG,
  993. Size = UDim2.new(3, 3, 3, 3),
  994. BackgroundTransparency = 1,
  995. Text = tostring(damage).."-",
  996. TextColor3 = Color1.Color,
  997. TextStrokeColor3 = Color2.Color,
  998. TextStrokeTransparency = 0,
  999. TextXAlignment = Enum.TextXAlignment.Center,
  1000. TextYAlignment = Enum.TextYAlignment.Center,
  1001. FontSize = Enum.FontSize.Size18,
  1002. Font = "ArialBold",
  1003. }
  1004. coroutine.resume(coroutine.create(function()
  1005. wait(1)
  1006. for i = 0, 1, .1 do
  1007. wait(.1)
  1008. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  1009. end
  1010. BillG:Destroy()
  1011. end))
  1012. end
  1013. v.Health = v.Health - damage
  1014. local bool = Create("BoolValue"){
  1015. Parent = v,
  1016. Name = 'Hitz',
  1017. }
  1018. if HSound ~= nil and HPitch ~= nil then
  1019. CreateSound(HSound, hit, 1, HPitch)
  1020. end
  1021. game:GetService("Debris"):AddItem(bool, cooldown)
  1022. end
  1023. end
  1024. end
  1025. end
  1026.  
  1027.  
  1028. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1029. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1030. prt.Anchored = true
  1031. prt.CFrame = cframe
  1032. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1033. game:GetService("Debris"):AddItem(prt, 10)
  1034. if Type == 1 or Type == nil then
  1035. table.insert(Effects, {
  1036. prt,
  1037. "Block1",
  1038. delay,
  1039. x3,
  1040. y3,
  1041. z3,
  1042. msh
  1043. })
  1044. elseif Type == 2 then
  1045. table.insert(Effects, {
  1046. prt,
  1047. "Block2",
  1048. delay,
  1049. x3,
  1050. y3,
  1051. z3,
  1052. msh
  1053. })
  1054. end
  1055. end
  1056.  
  1057. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1058. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1059. prt.Anchored = true
  1060. prt.CFrame = cframe
  1061. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1062. game:GetService("Debris"):AddItem(prt, 10)
  1063. table.insert(Effects, {
  1064. prt,
  1065. "Cylinder",
  1066. delay,
  1067. x3,
  1068. y3,
  1069. z3,
  1070. msh
  1071. })
  1072. end
  1073.  
  1074. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1075. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1076. prt.Anchored = true
  1077. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  1078. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1079. game:GetService("Debris"):AddItem(prt, 10)
  1080. table.insert(Effects, {
  1081. prt,
  1082. "Cylinder",
  1083. delay,
  1084. x3,
  1085. y3,
  1086. z3,
  1087. msh
  1088. })
  1089. end
  1090.  
  1091. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1092. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1093. prt.Anchored = true
  1094. prt.CFrame = cframe
  1095. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1096. game:GetService("Debris"):AddItem(prt, 10)
  1097. table.insert(Effects, {
  1098. prt,
  1099. "Cylinder",
  1100. delay,
  1101. x3,
  1102. y3,
  1103. z3,
  1104. msh
  1105. })
  1106. end
  1107.  
  1108. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1109. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1110. prt.Anchored = true
  1111. prt.CFrame = cframe
  1112. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1113. game:GetService("Debris"):AddItem(prt, 10)
  1114. table.insert(Effects, {
  1115. prt,
  1116. "Cylinder",
  1117. delay,
  1118. x3,
  1119. y3,
  1120. z3,
  1121. msh
  1122. })
  1123. end
  1124.  
  1125. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1126. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1127. prt.Anchored = true
  1128. prt.CFrame = cframe
  1129. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1130. game:GetService("Debris"):AddItem(prt, 10)
  1131. table.insert(Effects, {
  1132. prt,
  1133. "Cylinder",
  1134. delay,
  1135. x3,
  1136. y3,
  1137. z3,
  1138. msh
  1139. })
  1140. end
  1141.  
  1142. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1143. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1144. prt.Anchored = true
  1145. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1146. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1147. local num = math.random(10, 50) / 1000
  1148. game:GetService("Debris"):AddItem(prt, 10)
  1149. table.insert(Effects, {
  1150. prt,
  1151. "Shatter",
  1152. num,
  1153. prt.CFrame,
  1154. math.random() - math.random(),
  1155. 0,
  1156. math.random(50, 100) / 100
  1157. })
  1158. end
  1159.  
  1160.  
  1161.  
  1162.  
  1163. for i = 0, 1, 0.05 do
  1164. swait()
  1165. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  1166. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
  1167. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  1168. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1169. if Torsovelocity > 2 then
  1170. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .2)
  1171. RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
  1172. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
  1173. elseif Torsovelocity < 1 then
  1174. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  1175. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  1176. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  1177. end
  1178. end
  1179. attack = false
  1180.  
  1181.  
  1182.  
  1183. game:GetService'RunService'.Stepped:connect(function()
  1184. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1185. velocity = RootPart.Velocity.y
  1186. sine = sine + change
  1187. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1188. if equipped == true or equipped == false then
  1189. if RootPart.Velocity.y > 1 and hit == nil then
  1190. Anim = "Jump"
  1191. if attack == false and Anim2 == false then
  1192. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1193. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1194. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), .1)
  1195. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1)
  1196. RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
  1197. LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
  1198. end
  1199.  
  1200. elseif RootPart.Velocity.y < -1 and hit == nil then
  1201. Anim = "Fall"
  1202. if attack == false and Anim2 == false then
  1203. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1204. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1205. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1)
  1206. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1)
  1207. RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1208. LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1209. end
  1210. elseif Torsovelocity < 1 and hit ~= nil then
  1211. Anim = "Idle"
  1212. if attack == false and Anim2 == false then
  1213. change = 0.8
  1214. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(-5), math.rad(5)), .1)
  1215. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 50)), math.rad(8), math.rad(-5)), .1)
  1216. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, 0.3) * angles(math.rad(30), math.rad(150), math.rad(-200 + 3 * math.cos(sine / 25))), 0.1)
  1217. LW.C0 = clerp(LW.C0, CFrame.new(-1.54, 0.5, 0.1) * angles(math.rad(0), math.rad(10), math.rad(0 - 4 * math.cos(sine / 25))), 0.1)
  1218. RH.C0 = clerp(RH.C0, cn(1, -.93 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-10 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(6 + 2 * math.cos(sine / 45))), .1)
  1219. LH.C0 = clerp(LH.C0, cn(-1, -.93 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-5 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(7 + 2 * math.cos(sine / 25))), .1)
  1220.  
  1221. end
  1222.  
  1223. elseif Torsovelocity > 1 and hit ~= nil then
  1224. Anim = "Walk"
  1225. if attack == false and Anim2 == false then
  1226. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(7 * math.cos(sine / 5))), .1)
  1227. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .1)
  1228. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(-7), math.rad(4 * math.cos(sine / 4))), .1)
  1229. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50 * math.cos(sine / 4)), math.rad(7), math.rad(4 * math.cos(sine / 4))), .1)
  1230. RH.C0 = clerp(RH.C0, cn(1, -1 + .2 * math.cos(sine / 3), 0) * RHCF * angles(math.rad(-2), math.rad(7), math.rad(50 * math.cos(sine / 4))), .1)
  1231. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 3), 0) * LHCF * angles(math.rad(-2), math.rad(-7), math.rad(50 * math.cos(sine / 4))), .1)
  1232.  
  1233. end
  1234. end
  1235. end
  1236.  
  1237. if equipped == true or equipped == false then
  1238. if RootPart.Velocity.y > 1 and hit == nil then
  1239. Anim = "Jump"
  1240. if attack == false and Anim2 == true then
  1241. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1242. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1243. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), .1)
  1244. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1)
  1245. RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
  1246. LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
  1247. end
  1248.  
  1249. elseif RootPart.Velocity.y < -1 and hit == nil then
  1250. Anim = "Fall"
  1251. if attack == false and Anim2 == true then
  1252. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1253. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1254. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1)
  1255. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1)
  1256. RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1257. LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1258. end
  1259. elseif Torsovelocity < 1 and hit ~= nil then
  1260. Anim = "Idle"
  1261. if attack == false and Anim2 == true then
  1262. change = 0.8
  1263. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1)
  1264. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(1 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
  1265. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  1266. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.1)
  1267. RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  1268. LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  1269. end
  1270.  
  1271. elseif Torsovelocity > 1 and hit ~= nil then
  1272. Anim = "Walk"
  1273. if attack == false and Anim2 == true then
  1274. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.02 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 5))), .2)
  1275. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
  1276. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .1)
  1277. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .1)
  1278. RH.C0 = clerp(RH.C0, cn(1, -1 + .2 * math.cos(sine / 3), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), .1)
  1279. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 3), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), .1)
  1280.  
  1281. end
  1282. end
  1283. end
  1284.  
  1285.  
  1286. if #Effects > 0 then
  1287. for e = 1, #Effects do
  1288. if Effects[e] ~= nil then
  1289. local Thing = Effects[e]
  1290. if Thing ~= nil then
  1291. local Part = Thing[1]
  1292. local Mode = Thing[2]
  1293. local Delay = Thing[3]
  1294. local IncX = Thing[4]
  1295. local IncY = Thing[5]
  1296. local IncZ = Thing[6]
  1297. if Thing[1].Transparency <= 1 then
  1298. if Thing[2] == "Block1" then
  1299. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1300. local Mesh = Thing[1].Mesh
  1301. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1302. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1303. elseif Thing[2] == "Block2" then
  1304. Thing[1].CFrame = Thing[1].CFrame
  1305. local Mesh = Thing[7]
  1306. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1307. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1308. elseif Thing[2] == "Cylinder" then
  1309. local Mesh = Thing[1].Mesh
  1310. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1311. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1312. elseif Thing[2] == "Blood" then
  1313. local Mesh = Thing[7]
  1314. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  1315. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1316. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1317. elseif Thing[2] == "Elec" then
  1318. local Mesh = Thing[1].Mesh
  1319. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1320. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1321. elseif Thing[2] == "Disappear" then
  1322. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1323. elseif Thing[2] == "Shatter" then
  1324. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1325. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1326. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1327. Thing[6] = Thing[6] + Thing[5]
  1328. end
  1329. else
  1330. Part.Parent = nil
  1331. table.remove(Effects, e)
  1332. end
  1333. end
  1334. end
  1335. end
  1336. end
  1337. end)
  1338.  
  1339.  
  1340. --------------
  1341. Anim2 = false
  1342. --------------
  1343. eye1 = true
  1344. eye2 = false
  1345. eye3 = false
  1346. --------------
  1347. mouth1 = true
  1348. mouth2 = false
  1349. mouth3 = false
  1350. mouth4 = false
  1351. mouth5 = false
  1352. mouth6 = false
  1353. mouth7 = false
  1354. --------------
  1355. bkit0 = false
  1356. bkit1 = true
  1357. bkit2 = false
  1358. --------------
  1359. torso1 = true
  1360. torso2 = false
  1361. --------------
  1362. Tail0 = false
  1363. Tail1 = true
  1364. Tail2 = false
  1365. Tail3 = false
  1366. --------------
  1367. Hair0 = false
  1368. Hair1 = true
  1369. Hair2 = false
  1370. Hair3 = false
  1371. --------------
  1372. Hat0 = false
  1373. Hat1 = true
  1374. Hat2 = false
  1375. Hat3 = false
  1376. local Playing = false
  1377.  
  1378. ---:Mini:-:Menu:---
  1379. char2 = game.Players.LocalPlayer.Character
  1380. iPlayer = game.Players.LocalPlayer.Name
  1381. local Gui = Instance.new('ScreenGui', game.Players[iPlayer].PlayerGui)
  1382. Gui.Name = 'Gui test'
  1383. local Pull = Instance.new('Frame', Gui)
  1384. Pull.Name = 'Grab'
  1385. Pull.Active = true
  1386. Pull.BackgroundColor3 = Color3.new(97/255,97/255,97/255)
  1387. Pull.BackgroundTransparency = 0
  1388. Pull.BorderSizePixel = 4
  1389. Pull.Position = UDim2.new(0.5,-318,0.5,-92)
  1390. Pull.Size = UDim2.new(0,120,0,50)
  1391. Pull.Draggable = true
  1392. Pull.BorderColor3 = Color3.new(97/255,97/255,97/255)
  1393.  
  1394. local Close = Instance.new('TextButton', Pull)
  1395. Close.Name = 'Close'
  1396. Close.BackgroundTransparency = 1
  1397. Close.Position = UDim2.new(1,-23,0,1)
  1398. Close.Size = UDim2.new(0,22,0,22)
  1399. Close.Font = 'SourceSans'
  1400. Close.FontSize = 'Size24'
  1401. Close.TextColor3 = Color3.new(255,255,255)
  1402. Close.Text = 'X'
  1403. Close.TextStrokeTransparency = 0.8
  1404.  
  1405. local Body = Instance.new('Frame', Pull)
  1406. Body.Name = 'Body'
  1407. Body.BackgroundColor3 = Color3.new(60/255,60/255,60/255)
  1408. Body.BackgroundTransparency = 0
  1409. Body.BorderSizePixel = 4
  1410. Body.Position = UDim2.new(0,0,0,52)
  1411. Body.Size = UDim2.new(0,847,0,212)
  1412. Body.BorderColor3 = Color3.new(97/255,97/255,97/255)
  1413.  
  1414.  
  1415. local Line = Instance.new('Frame', Body)
  1416. Line.Name = 'Line'
  1417. Line.BackgroundColor3 = Color3.new(60/255,60/255,60/255)
  1418. Line.BackgroundTransparency = 0
  1419. Line.BorderSizePixel = 2
  1420. Line.Position = UDim2.new(0,152.5,0,0)
  1421. Line.Size = UDim2.new(0,0.01,0,212)
  1422. Line.BorderColor3 = Color3.new(97/255,97/255,97/255)
  1423.  
  1424. local Line2 = Instance.new('Frame', Body)
  1425. Line2.Name = 'Line2'
  1426. Line2.BackgroundColor3 = Color3.new(60/255,60/255,60/255)
  1427. Line2.BackgroundTransparency = 0
  1428. Line2.BorderSizePixel = 2
  1429. Line2.Position = UDim2.new(0,306.5,0,0)
  1430. Line2.Size = UDim2.new(0,0.01,0,212)
  1431. Line2.BorderColor3 = Color3.new(97/255,97/255,97/255)
  1432.  
  1433.  
  1434.  
  1435. local Title = Instance.new('TextLabel', Pull)
  1436. Title.Name = 'Title'
  1437. Title.BackgroundTransparency = 1
  1438. Title.Position = UDim2.new(0,-50,0,0)
  1439. Title.Size = UDim2.new(0,200,1,0)
  1440. Title.Font = 'SourceSansLight'
  1441. Title.FontSize = 'Size48'
  1442. Title.Text = "Menu"
  1443. Title.TextColor3 = Color3.new(0.5,0,1)
  1444. Title.TextStrokeColor3 = Color3.new(74/255,74/255,74/255)
  1445. Title.TextStrokeTransparency = 0
  1446.  
  1447. local PlayerName = Instance.new('TextBox', Body)
  1448. PlayerName.Name = 'PlayerName'
  1449. PlayerName.BorderSizePixel = 0
  1450. PlayerName.Position = UDim2.new(0,8,0,10)
  1451. PlayerName.Size = UDim2.new(0,135,0,30)
  1452. PlayerName.Font = 'SourceSans'
  1453. PlayerName.FontSize = 'Size18'
  1454. PlayerName.Text = 'Name of the color'
  1455. PlayerName.BackgroundColor3 = Color3.new(255,255,255)
  1456. PlayerName.TextColor3 = Color3.new(0,0,0)
  1457. PlayerName.TextWrapped = true
  1458.  
  1459. local ColTex2 = Instance.new('TextBox', Body)
  1460. ColTex2.Name = 'ColTex2'
  1461. ColTex2.BorderSizePixel = 0
  1462. ColTex2.Position = UDim2.new(0,10,0,130)
  1463. ColTex2.Size = UDim2.new(0,135,0,30)
  1464. ColTex2.Font = 'SourceSans'
  1465. ColTex2.FontSize = 'Size18'
  1466. ColTex2.Text = 'Song id'
  1467. ColTex2.BackgroundColor3 = Color3.new(255,255,255)
  1468. ColTex2.TextColor3 = Color3.new(0,0,0)
  1469. ColTex2.TextWrapped = true
  1470.  
  1471. local ColTex3 = Instance.new('TextBox', Body)
  1472. ColTex3.Name = 'ColTex3'
  1473. ColTex3.BorderSizePixel = 0
  1474. ColTex3.Position = UDim2.new(0,590,0,50)-- 72,5
  1475. ColTex3.Size = UDim2.new(0,57.5,0,30)
  1476. ColTex3.Font = 'SourceSans'
  1477. ColTex3.FontSize = 'Size10'
  1478. ColTex3.Text = 'Shirt id'
  1479. ColTex3.BackgroundColor3 = Color3.new(255,255,255)
  1480. ColTex3.TextColor3 = Color3.new(0,0,0)
  1481. ColTex3.TextWrapped = true
  1482.  
  1483. local God = Instance.new('TextButton', Body)
  1484. God.Name = 'God'
  1485. God.BackgroundColor3 = Color3.new(21/255,142/255,255)
  1486. God.BackgroundTransparency = 0
  1487. God.BorderSizePixel = 2
  1488. God.Position = UDim2.new(0,10,0,50)
  1489. God.Size = UDim2.new(0,57.5,0,30) -- 135/2 = 57,5
  1490. God.Font = 'SourceSansBold'
  1491. God.FontSize = 'Size18'
  1492. God.Text = 'Skin col'
  1493. God.TextColor3 = Color3.new(255,255,255)
  1494. God.TextWrapped = true
  1495. God.BorderColor3 = Color3.new(97/255,97/255,97/255)
  1496. God.TextStrokeTransparency = 1
  1497. -- =====================================================================
  1498. local TpTo = God:Clone()
  1499. TpTo.Name = 'TpTo'
  1500. TpTo.Parent = Body
  1501. TpTo.Position = UDim2.new(0,500,0,130)
  1502. TpTo.Text = 'Play'
  1503. TpTo.BackgroundColor3 = Color3.new(.5,1,.5)
  1504. -- =====================================================================
  1505. local KillPlr = God:Clone()
  1506. KillPlr.Name = 'Shirtcol'
  1507. KillPlr.Parent = Body
  1508. KillPlr.Position = UDim2.new(0,10,0,90)
  1509. KillPlr.Text = 'Shirt col'
  1510. KillPlr.Size = UDim2.new(0,130,0,30)
  1511. -- =====================================================================
  1512. local Haircol = God:Clone()
  1513. Haircol.Name = 'Haircol'
  1514. Haircol.Parent = Body
  1515. Haircol.Position = UDim2.new(0,82.5,0,50)
  1516. Haircol.Text = 'Hair col'
  1517. -- =====================================================================
  1518.  
  1519. local TpMe = God:Clone()
  1520. TpMe.Name = 'Hat'
  1521. TpMe.Parent = Body
  1522. TpMe.Position = UDim2.new(0,164,0,90)
  1523. TpMe.Text = 'Hat 1'
  1524. TpMe.Size = UDim2.new(0,57.5,0,30)
  1525. TpMe.FontSize = 'Size18'
  1526. -- =====================================================================
  1527. local TpMe2 = God:Clone()
  1528. TpMe2.Name = 'Hair'
  1529. TpMe2.Parent = Body
  1530. TpMe2.Position = UDim2.new(0,236.5,0,50)
  1531. TpMe2.Text = 'Hair 1'
  1532. TpMe2.Size = UDim2.new(0,57.5,0,30)
  1533. TpMe2.FontSize = 'Size18'
  1534. -- =====================================================================
  1535. local G36K = God:Clone()
  1536. G36K.Name = 'SpawnG36k'
  1537. G36K.Parent = Body
  1538. G36K.Position = UDim2.new(0,162,0,10)
  1539. G36K.Text = 'Idle Pose'
  1540. G36K.Size = UDim2.new(0,135,0,30)
  1541. G36K.BackgroundColor3 = Color3.new(.5,1,.5)
  1542. G36K.FontSize = 'Size28'
  1543. -- =====================================================================
  1544. local Tail = God:Clone()
  1545. Tail.Name = 'Tail'
  1546. Tail.Parent = Body
  1547. Tail.Position = UDim2.new(0,164,0,50)
  1548. Tail.Text = 'Tail 1'
  1549. -- =====================================================================
  1550. local Torso2 = God:Clone()
  1551. Torso2.Name = 'Hair'
  1552. Torso2.Parent = Body
  1553. Torso2.Position = UDim2.new(0,236.5,0,90)
  1554. Torso2.Text = 'Torso 1'
  1555. Torso2.Size = UDim2.new(0,57.5,0,30)
  1556. Torso2.FontSize = 'Size18'
  1557. -- =====================================================================
  1558. local Bkit = God:Clone()
  1559. Bkit.Name = 'Bkit'
  1560. Bkit.Parent = Body
  1561. Bkit.Position = UDim2.new(0,164,0,130)
  1562. Bkit.Text = 'Bkit 1'
  1563. Bkit.Size = UDim2.new(0,57.5,0,30)
  1564. Bkit.FontSize = 'Size18'
  1565. -- =====================================================================
  1566. local Mouth = God:Clone()
  1567. Mouth.Name = 'Mouth'
  1568. Mouth.Parent = Body
  1569. Mouth.Position = UDim2.new(0,164,0,170)
  1570. Mouth.Text = 'Mouth 1'
  1571. Mouth.FontSize = 'Size18'
  1572. -- ===================================================================== (0,318.5,0,10)
  1573. local Eyes = God:Clone()
  1574. Eyes.Name = 'Eyes'
  1575. Eyes.Parent = Body
  1576. Eyes.Position = UDim2.new(0,236,0,130)
  1577. Eyes.Text = 'Eye 1'
  1578. Eyes.FontSize = 'Size18'
  1579. -- =====================================================================(0,391,0,10)
  1580. local mask = God:Clone()
  1581. mask.Name = 'mask'
  1582. mask.Parent = Body
  1583. mask.Position = UDim2.new(0,236,0,170)
  1584. mask.Text = 'Mask'
  1585. mask.FontSize = 'Size18'
  1586.  
  1587.  
  1588.  
  1589. -- =====================================================================
  1590. -- *********************************************************************
  1591. God.MouseButton1Down:connect(function()
  1592. BC.HeadColor = BrickColor.new(PlayerName.Text)
  1593. BC.LeftArmColor = BrickColor.new(PlayerName.Text)
  1594. BC.LeftLegColor = BrickColor.new(PlayerName.Text)
  1595. BC.RightArmColor = BrickColor.new(PlayerName.Text)
  1596. BC.RightLegColor = BrickColor.new(PlayerName.Text)
  1597. pn3.BrickColor = BrickColor.new(PlayerName.Text)
  1598. pn4.BrickColor = BrickColor.new(PlayerName.Text)
  1599. skin.BrickColor = BrickColor.new(PlayerName.Text)
  1600. end)
  1601. -- =====================================================================
  1602. KillPlr.MouseButton1Down:connect(function()
  1603. pn.BrickColor = BrickColor.new(PlayerName.Text)
  1604. p.BrickColor = BrickColor.new(PlayerName.Text)
  1605. pn0.BrickColor = BrickColor.new(PlayerName.Text)
  1606. BC.TorsoColor = BrickColor.new(PlayerName.Text)
  1607. hat2.BrickColor = BrickColor.new(PlayerName.Text)
  1608. hat3.BrickColor = BrickColor.new(PlayerName.Text)
  1609. pn5.BrickColor = BrickColor.new(PlayerName.Text)
  1610. pn7.BrickColor = BrickColor.new(PlayerName.Text)
  1611. pn8.BrickColor = BrickColor.new(PlayerName.Text)
  1612. pn9.BrickColor = BrickColor.new(PlayerName.Text)
  1613. tail3.BrickColor = BrickColor.new(PlayerName.Text)
  1614. end)
  1615. -- =====================================================================
  1616. TpTo.MouseButton1Down:connect(function()
  1617. if Playing == false and Pressed == false then
  1618. TpTo.BackgroundColor3 = Color3.new(1,.5,.5)
  1619. TpTo.Text = 'Stop'
  1620. Pressed = true
  1621. wait()
  1622. sound:Play()
  1623. Playing = true
  1624. end
  1625. if Playing == true and Pressed == false then
  1626. TpTo.BackgroundColor3 = Color3.new(.5,1,.5)
  1627. TpTo.Text = 'Play'
  1628. Pressed = true
  1629. wait()
  1630. sound:Stop()
  1631. Playing = false
  1632. end
  1633. wait()
  1634. Pressed = false
  1635. end)
  1636. -- =====================================================================
  1637. TpMe.MouseButton1Down:connect(function()
  1638. if Hat1 == true and Pressed == false then
  1639. TpMe.Text = 'Hat 2'
  1640. pn0.Transparency = 1
  1641. hat2.Transparency = 0
  1642. Pressed = true
  1643. wait()
  1644. Hat1 = false
  1645. Hat2 = true
  1646. end
  1647. if Hat2 == true and Pressed == false then
  1648. TpMe.Text = 'Hat 3'
  1649. hat2.Transparency = 1
  1650. hat3.Transparency = 0
  1651. Pressed = true
  1652. wait()
  1653. Hat2 = false
  1654. Hat3 = true
  1655. end
  1656. if Hat3 == true and Pressed == false then
  1657. TpMe.Text = 'Hat 0'
  1658. hat3.Transparency = 1
  1659. Pressed = true
  1660. wait()
  1661. Hat3 = false
  1662. Hat0 = true
  1663. end
  1664. if Hat0 == true and Pressed == false then
  1665. TpMe.Text = 'Hat 1'
  1666. pn0.Transparency = 0
  1667. Pressed = true
  1668. wait()
  1669. Hat3 = false
  1670. Hat1 = true
  1671. end
  1672. wait()
  1673. Pressed = false
  1674. end)
  1675. -- =====================================================================
  1676. G36K.MouseButton1Down:connect(function()
  1677. if Anim2 == false and Pressed == false then
  1678. G36K.BackgroundColor3 = Color3.new(1,.5,.5)
  1679. Pressed = true
  1680. wait()
  1681. Anim2 = true
  1682. end
  1683. if Anim2 == true and Pressed == false then
  1684. G36K.BackgroundColor3 = Color3.new(.5,1,.5)
  1685. Pressed = true
  1686. wait()
  1687. Anim2 = false
  1688. end
  1689. wait()
  1690. Pressed = false
  1691. end)
  1692. -- =====================================================================
  1693. TpMe2.MouseButton1Down:connect(function()
  1694. if Hair1 == true and Pressed == false then
  1695. TpMe2.Text = 'Hair 2'
  1696. Hood.Transparency = 1
  1697. pn6.Transparency = 1
  1698. hair2.Transparency = 0
  1699. Pressed = true
  1700. wait()
  1701. Hair1 = false
  1702. Hair2 = true
  1703. end
  1704. if Hair2 == true and Pressed == false then
  1705. TpMe2.Text = 'Hair 3'
  1706. Hood.Transparency = 0
  1707. pn6.Transparency = 1
  1708. hair2.Transparency = 1
  1709. Pressed = true
  1710. wait()
  1711. Hair2 = false
  1712. Hair3 = true
  1713. end
  1714. if Hair3 == true and Pressed == false then
  1715. TpMe2.Text = 'Hair 0'
  1716. Hood.Transparency = 1
  1717. pn6.Transparency = 1
  1718. hair2.Transparency = 1
  1719. Pressed = true
  1720. wait()
  1721. Hair3 = false
  1722. Hair0 = true
  1723. end
  1724. if Hair0 == true and Pressed == false then
  1725. TpMe2.Text = 'Hair 1'
  1726. Hood.Transparency = 0
  1727. pn6.Transparency = 0
  1728. hair2.Transparency = 0
  1729. Pressed = true
  1730. wait()
  1731. Hair0 = false
  1732. Hair1 = true
  1733. end
  1734. wait()
  1735. Pressed = false
  1736. end)
  1737. -- =====================================================================
  1738. Haircol.MouseButton1Down:connect(function()
  1739. hair2.BrickColor = BrickColor.new(PlayerName.Text)
  1740. Hood.BrickColor = BrickColor.new(PlayerName.Text)
  1741. pn6.BrickColor = BrickColor.new(PlayerName.Text)
  1742. end)
  1743. -- =====================================================================
  1744. Tail.MouseButton1Down:connect(function()
  1745. if Tail1 == true and Pressed == false then
  1746. Tail.Text = 'Tail 2'
  1747. pn5.Transparency = 1
  1748. pn7.Transparency = 1
  1749. pn8.Transparency = 1
  1750. pn9.Transparency = 1
  1751. tail2.Transparency = 0
  1752. Pressed = true
  1753. wait()
  1754. Tail1 = false
  1755. Tail2 = true
  1756. end
  1757. if Tail2 == true and Pressed == false then
  1758. Tail.Text = 'Tail 3'
  1759. tail2.Transparency = 1
  1760. tail3.Transparency = 0
  1761. Pressed = true
  1762. wait()
  1763. Tail2 = false
  1764. Tail3 = true
  1765. end
  1766. if Tail3 == true and Pressed == false then
  1767. Tail.Text = 'Tail 0'
  1768. tail3.Transparency = 1
  1769. Pressed = true
  1770. wait()
  1771. Tail3 = false
  1772. Tail0 = true
  1773. end
  1774. if Tail0 == true and Pressed == false then
  1775. Tail.Text = 'Tail 1'
  1776. pn5.Transparency = 0
  1777. pn7.Transparency = 0
  1778. pn8.Transparency = 0
  1779. pn9.Transparency = 0
  1780. Pressed = true
  1781. wait()
  1782. Tail0 = false
  1783. Tail1 = true
  1784. end
  1785. wait()
  1786. Pressed = false
  1787. end)
  1788. -- =====================================================================
  1789. Torso2.MouseButton1Down:connect(function()
  1790. if torso1 == true and Pressed == false then
  1791. Pressed = true
  1792. M69.MeshId = "rbxassetid://456901040"
  1793. M69.Scale = Vector3.new( 1, 1, 1)
  1794. Torso2.Text = 'Torso 2'
  1795. wait()
  1796. torso1 = false
  1797. torso2 = true
  1798. end
  1799. if torso2 == true and Pressed == false then
  1800. Pressed = true
  1801. M69.MeshId = "rbxassetid://48112070"
  1802. M69.Scale = Vector3.new( 1.093, 1, 1)
  1803. Torso2.Text = 'Torso 1'
  1804. wait()
  1805. torso1 = true
  1806. torso2 = false
  1807. end
  1808. wait()
  1809. Pressed = false
  1810. end)
  1811. -- =====================================================================
  1812. Bkit.MouseButton1Down:connect(function()
  1813. if bkit1 == true and Pressed == false then
  1814. Pressed = true
  1815. p.Transparency = 0
  1816. pn.Transparency = 0
  1817. pn3.Transparency = 1
  1818. pn4.Transparency = 1
  1819. skin.Transparency = 1
  1820. Bkit.Text = 'Bkit 2'
  1821. wait()
  1822. bkit1 = false
  1823. bkit2 = true
  1824. end
  1825. if bkit2 == true and Pressed == false then
  1826. Pressed = true
  1827. p.Transparency = 1
  1828. pn.Transparency = 1
  1829. pn3.Transparency = 1
  1830. pn4.Transparency = 1
  1831. skin.Transparency = 1
  1832. Bkit.Text = 'Bkit 0'
  1833. wait()
  1834. bkit2 = false
  1835. bkit0 = true
  1836. end
  1837. if bkit0 == true and Pressed == false then
  1838. Pressed = true
  1839. p.Transparency = 0
  1840. pn.Transparency = 0
  1841. pn3.Transparency = 0
  1842. pn4.Transparency = 0
  1843. skin.Transparency = 0
  1844. Bkit.Text = 'Bkit 1'
  1845. wait()
  1846. bkit0 = false
  1847. bkit1 = true
  1848. end
  1849. wait()
  1850. Pressed = false
  1851. end)
  1852. -- =====================================================================
  1853. Mouth.MouseButton1Down:connect(function()
  1854. ----2-----
  1855. if mouth1 == true and Pressed == false then
  1856. Mouth.Text = 'Mouth 2'
  1857. newface.Texture = "rbxassetid://186681690"
  1858. Orbd.Transparency = 1
  1859. Pressed = true
  1860. wait()
  1861. mouth1 = false
  1862. mouth2 = true
  1863. end
  1864. ----3-----
  1865. if mouth2 == true and Pressed == false then
  1866. Mouth.Text = 'Mouth 3'
  1867. newface.Texture = "rbxassetid://322781877"
  1868. Orbd.Transparency = 1
  1869. Pressed = true
  1870. wait()
  1871. mouth2 = false
  1872. mouth3 = true
  1873. end
  1874. ----4-----
  1875. if mouth3 == true and Pressed == false then
  1876. Mouth.Text = 'Mouth 4'
  1877. newface.Texture = "rbxassetid://186682603"
  1878. Orbd.Transparency = 1
  1879. Pressed = true
  1880. wait()
  1881. mouth3 = false
  1882. mouth4 = true
  1883. end
  1884. ----5-----
  1885. if mouth4 == true and Pressed == false then
  1886. Mouth.Text = 'Mouth 5'
  1887. newface.Texture = "rbxassetid://133379869"
  1888. Orbd.Transparency = 1
  1889. Pressed = true
  1890. wait()
  1891. mouth4 = false
  1892. mouth5 = true
  1893. end
  1894. ----6-----
  1895. if mouth5 == true and Pressed == false then
  1896. Mouth.Text = 'Mouth 6'
  1897. newface.Texture = "rbxassetid://186683091"
  1898. Orbd.Transparency = 1
  1899. Pressed = true
  1900. wait()
  1901. mouth5 = false
  1902. mouth6 = true
  1903. end
  1904. ----7-----
  1905. if mouth6 == true and Pressed == false then
  1906. Mouth.Text = 'Mouth 7'
  1907. newface.Texture = "rbxassetid://186682277"
  1908. Orbd.Transparency = 1
  1909. Pressed = true
  1910. wait()
  1911. mouth6 = false
  1912. mouth7 = true
  1913. end
  1914. ----1-----
  1915. if mouth7 == true and Pressed == false then
  1916. Mouth.Text = 'Mouth 1'
  1917. newface.Texture = "rbxassetid://"
  1918. Orbd.Transparency = 0
  1919. Pressed = true
  1920. wait()
  1921. mouth6 = false
  1922. mouth1 = true
  1923. end
  1924. ----------
  1925. wait()
  1926. Pressed = false
  1927. end)
  1928. -- =====================================================================
  1929. Eyes.MouseButton1Down:connect(function()
  1930. if eye3 == true and Pressed == false then
  1931. Pressed = true
  1932. char.Head.face.Texture = "rbxassetid://176204308"
  1933. Eyes.Text = 'Eye 1'
  1934. wait()
  1935. eye3 = false
  1936. eye1 = true
  1937. end
  1938. if eye1 == true and Pressed == false then
  1939. Pressed = true
  1940. char.Head.face.Texture = "rbxassetid://176210835"
  1941. Eyes.Text = 'Eye 2'
  1942. wait()
  1943. eye1 = false
  1944. eye2 = true
  1945. end
  1946. if eye2 == true and Pressed == false then
  1947. Pressed = true
  1948. char.Head.face.Texture = "rbxassetid://176206791"
  1949. Eyes.Text = 'Eye 3'
  1950. wait()
  1951. eye2 = false
  1952. eye3 = true
  1953. end
  1954. wait()
  1955. Pressed = false
  1956. end)
  1957. -- =====================================================================
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964. -- =====================================================================
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971. -- =====================================================================
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985. Close.MouseButton1Down:connect(function()
  1986. if Body.Visible == true then
  1987. Body.Visible = false
  1988. Close.Text = '+'
  1989. Title.FontSize = 'Size24'
  1990. Pull.Size = UDim2(0,125,0,12.5)
  1991. elseif Body.Visible == false then
  1992. Body.Visible = true
  1993. Close.Text = 'X'
  1994. Title.FontSize = 'Size48'
  1995. Graf_f.Size = UDim2(0,500,0,50)
  1996. end
  1997. end)
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003. ---------------------------------------------------------------------------------
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012. local mesh = Instance.new("SpecialMesh",radio)
  2013. mesh.MeshId = "http://www.roblox.com/asset/?id=151760030"
  2014. mesh.TextureId = "rbxassetid://151760072"
  2015. mesh.Scale = Vector3.new(.7, .7, .7)
  2016.  
  2017. local weld = Instance.new("Weld",radio)
  2018. weld.Part0 = c.Torso
  2019. weld.Part1 = radio
  2020. weld.C0 = c.Torso.CFrame:inverse()
  2021. weld.C1 = radio.CFrame:inverse()
  2022. radio.Anchored = false
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037. ColTex2.Changed:connect(function()
  2038. sound.SoundId = "rbxassetid://" .. ColTex2.Text
  2039. end)
  2040.  
  2041.  
  2042.  
  2043. while true do
  2044. if Playing then
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054. mesh.Scale = Vector3.new(.71, .71, .71)
  2055. wait(.00001)
  2056. mesh.Scale = Vector3.new(.709, .709, .709)
  2057. wait(.00001)
  2058. mesh.Scale = Vector3.new(.708, .708, .708)
  2059. wait(.00001)
  2060. mesh.Scale = Vector3.new(.707, .707, .707)
  2061. wait(.00001)
  2062. mesh.Scale = Vector3.new(.706, .706, .706)
  2063. wait(.00001)
  2064. mesh.Scale = Vector3.new(.705, .705, .705)
  2065. wait(.00001)
  2066. mesh.Scale = Vector3.new(.704, .704, .704)
  2067. wait(.00001)
  2068. mesh.Scale = Vector3.new(.703, .703, .703)
  2069. wait(.00001)
  2070. mesh.Scale = Vector3.new(.702, .702, .702)
  2071. wait(.00001)
  2072. mesh.Scale = Vector3.new(.701, .701, .701)
  2073. wait(.00001)
  2074.  
  2075.  
  2076.  
  2077.  
  2078. mesh.Scale = Vector3.new(.7, .7, .7)
  2079. end
  2080. wait(.2)
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087. end
  2088. ---made by 123jl123.....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement