Advertisement
Scorpion2

Playful royal cat

Jan 5th, 2018
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 109.17 KB | None | 0 0
  1. game.Workspace.BlackKash.Humanoid.MaxHealth = 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999e+999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  2. plr = game.Players.LocalPlayer
  3. char = plr.Character
  4. ff = Instance.new('ForceField', char)
  5. ff.Visible = false
  6. --[[disappear,
  7. appear,
  8. transform, 1-9
  9. dance,
  10. guns, ot
  11. guns, out
  12. guns, in
  13. guns, explodingbullet
  14. guns, smokebullet
  15. guns, normalbullet
  16. ride,
  17. unride,
  18. ]]--
  19. char = game.Players.LocalPlayer.Character
  20. plr = game.Players.LocalPlayer
  21. char.Archivable = true
  22.  
  23. folder = Instance.new('Folder', game.Workspace.CurrentCamera)
  24. folder.Name = 'DataValue'
  25. nvm = Instance.new('NumberValue', game.Workspace.CurrentCamera)
  26. nvm.Value = 0
  27. nvm.Name = "IsGunsOut"
  28. nvm2 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
  29. nvm2.Value = 1
  30. nvm2.Name = "IsFollowMode"
  31. nvm3 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
  32. nvm3.Value = 0
  33. nvm3.Name = "IsRideMode"
  34. nvm4 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
  35. nvm4.Value = 0
  36. nvm4.Name = "IsVisible"
  37. nvm5 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
  38. nvm5.Value = 0
  39. nvm5.Name = "IsBulletType"
  40.  
  41. nvm.Parent = folder
  42. nvm2.Parent = folder
  43. nvm3.Parent = folder
  44. nvm4.Parent = folder
  45. nvm5.Parent = folder
  46.  
  47. bg1 = char:Clone()
  48. bg1.Archivable = false
  49. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  50.  
  51. bgname1 = math.random(1, 10)
  52. if bgname1 == 1 then
  53. bg1.Name = "John"
  54. end
  55. if bgname1 == 2 then
  56. bg1.Name = "Max"
  57. end
  58. if bgname1 == 3 then
  59. bg1.Name = "Christian"
  60. end
  61. if bgname1 == 4 then
  62. bg1.Name = "Laurence"
  63. end
  64. if bgname1 == 5 then
  65. bg1.Name = "Kelvin"
  66. end
  67. if bgname1 == 6 then
  68. bg1.Name = "Johvany"
  69. end
  70. if bgname1 == 7 then
  71. bg1.Name = "Scott"
  72. end
  73. if bgname1 == 8 then
  74. bg1.Name = "Jonathan"
  75. end
  76. if bgname1 == 9 then
  77. bg1.Name = "Darryl"
  78. end
  79. if bgname1 == 10 then
  80. bg1.Name = "Archie"
  81. end
  82.  
  83. bgpoint1 = Instance.new('Part', char)
  84. bgpoint1.Anchored = false
  85. bgpoint1.CanCollide = false
  86. bgpoint1.Transparency = 1
  87. bgpoint1.Size = Vector3.new(0.2,0.2,0.2)
  88.  
  89. Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
  90. Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  91. Weld.Part1 = bgpoint1
  92. Weld.C1 = CFrame.new(10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  93.  
  94. bg2 = char:Clone()
  95. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  96. bg2.Archivable = false
  97. bgname2 = math.random(1, 10)
  98. if bgname2 == 1 then
  99. bg2.Name = "John"
  100. end
  101. if bgname2 == 2 then
  102. bg2.Name = "Max"
  103. end
  104. if bgname2 == 3 then
  105. bg2.Name = "Christian"
  106. end
  107. if bgname2 == 4 then
  108. bg2.Name = "Kevin"
  109. end
  110. if bgname2 == 5 then
  111. bg2.Name = "Steven"
  112. end
  113. if bgname2 == 6 then
  114. bg2.Name = "Steve"
  115. end
  116. if bgname2 == 7 then
  117. bg2.Name = "David"
  118. end
  119. if bgname2 == 8 then
  120. bg2.Name = "Michael"
  121. end
  122. if bgname2 == 9 then
  123. bg2.Name = "Robert"
  124. end
  125. if bgname2 == 10 then
  126. bg2.Name = "James"
  127. end
  128.  
  129. bgpoint2 = Instance.new('Part', char)
  130. bgpoint2.Anchored = false
  131. bgpoint2.CanCollide = false
  132. bgpoint2.Transparency = 1
  133. bgpoint2.Size = Vector3.new(0.2,0.2,0.2)
  134.  
  135. Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
  136. Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  137. Weld.Part1 = bgpoint2
  138. Weld.C1 = CFrame.new(-10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  139.  
  140. for _,c in pairs(bg2:GetChildren()) do
  141. if c:IsA('Accessory') then
  142. c:Destroy()
  143. end
  144. end
  145.  
  146. for _,c in pairs(bg1:GetChildren()) do
  147. if c:IsA('Accessory') then
  148. c:Destroy()
  149. end
  150. end
  151.  
  152. for _,c in pairs(bg2:GetChildren()) do
  153. if c:IsA('CharacterMesh') then
  154. c:Destroy()
  155. end
  156. end
  157.  
  158. for _,c in pairs(bg1:GetChildren()) do
  159. if c:IsA('CharacterMesh') then
  160. c:Destroy()
  161. end
  162. end
  163.  
  164. for _,c in pairs(bg2:GetChildren()) do
  165. if c:IsA('Shirt') then
  166. c:Destroy()
  167. shirt = Instance.new("Shirt", bg2)
  168. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
  169. end
  170. end
  171.  
  172. for _,c in pairs(bg1:GetChildren()) do
  173. if c:IsA('Pants') then
  174. c:Destroy()
  175. pants = Instance.new("Pants", bg1)
  176. pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
  177. end
  178. end
  179.  
  180. for _,c in pairs(bg2:GetChildren()) do
  181. if c:IsA('Pants') then
  182. c:Destroy()
  183. pants = Instance.new("Pants", bg2)
  184. pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
  185. end
  186. end
  187.  
  188. for _,c in pairs(bg1:GetChildren()) do
  189. if c:IsA('Shirt') then
  190. c:Destroy()
  191. shirt = Instance.new("Shirt", bg1)
  192. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
  193. end
  194. end
  195.  
  196. bg2.Parent = char
  197. bg1.Parent = char
  198. bg2.Torso.CFrame = bgpoint2.CFrame
  199. bg1.Torso.CFrame = bgpoint1.CFrame
  200.  
  201. health = game.Players.LocalPlayer.Character.Humanoid.Health
  202. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function()
  203. if game.Players.LocalPlayer.Character.Humanoid.Health < health then
  204. bgheal = math.random(1, 2)
  205. if bgheal == 1 then
  206. bgpoint1.CFrame = char.Torso.CFrame
  207. Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
  208. Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  209. Weld.Part1 = bgpoint1
  210. Weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
  211. wait(3.5)
  212. char.Humanoid.Health = char.Humanoid.Health + 50
  213. bgpoint1.CFrame = char.Torso.CFrame * CFrame.new(0,0.1,0)
  214. Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
  215. Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  216. Weld.Part1 = bgpoint1
  217. Weld.C1 = CFrame.new(10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  218. end
  219. if bgheal == 2 then
  220. bgpoint2.CFrame = char.Torso.CFrame
  221. Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
  222. Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  223. Weld.Part1 = bgpoint2
  224. Weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
  225. wait(3.5)
  226. char.Humanoid.Health = char.Humanoid.Health + 50
  227. bgpoint2.CFrame = char.Torso.CFrame * CFrame.new(0,0.1,0)
  228. Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
  229. Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  230. Weld.Part1 = bgpoint2
  231. Weld.C1 = CFrame.new(-10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  232. end
  233. end
  234. health = game.Players.LocalPlayer.Character.Humanoid.Health
  235. end)
  236.  
  237. bgskin = math.random(1, 2)
  238. if bgskin == 1 then
  239. r = bg1:getChildren()
  240. for i = 1, #r do
  241. if r[i].className == "Part" then
  242. r[i].BrickColor = BrickColor.new('Institutional white')
  243. end
  244. end
  245. end
  246. if bgskin == 1 then
  247. a = bg2:getChildren()
  248. for i = 1, #a do
  249. if a[i].className == "Part" then
  250. a[i].BrickColor = BrickColor.new('Institutional white')
  251. end
  252. end
  253. end
  254.  
  255. game.Players.LocalPlayer.Chatted:connect(function(say)
  256.  
  257. if say == "disappear," then
  258. bg1["Head"].Transparency = 1
  259. bg1["Left Arm"].Transparency = 1
  260. bg1["Left Leg"].Transparency = 1
  261. bg1["Right Leg"].Transparency = 1
  262. bg1["Right Arm"].Transparency = 1
  263. bg1["Torso"].Transparency = 1
  264. bg1.Head.face.Transparency = 1
  265.  
  266. bg2["Head"].Transparency = 1
  267. bg2["Left Arm"].Transparency = 1
  268. bg2["Left Leg"].Transparency = 1
  269. bg2["Right Leg"].Transparency = 1
  270. bg2["Right Arm"].Transparency = 1
  271. bg2["Torso"].Transparency = 1
  272. bg2.Head.face.Transparency = 1
  273.  
  274. brick22 = Instance.new("Part")
  275. brick22.CanCollide = false
  276. brick22.Anchored = true
  277. brick22.CFrame = bg1.Torso.CFrame
  278. brick22.Transparency = 1
  279. brick22.Parent = game.Workspace
  280. brick222 = Instance.new("Part")
  281. brick222.CanCollide = false
  282. brick222.Anchored = true
  283. brick222.CFrame = bg2.Torso.CFrame
  284. brick222.Transparency = 1
  285. brick222.Parent = game.Workspace
  286. local sou2 = Instance.new("Sound")
  287. sou2.Pitch = 1
  288. sou2.Volume = 1
  289. sou2.SoundId = "rbxassetid://722960601"
  290. sou2.Parent = bg1.Torso
  291. sou2:Play()
  292. local pe2 = Instance.new("ParticleEmitter")
  293. pe2.Acceleration = Vector3.new(0, 8, 0)
  294. pe2.Lifetime = NumberRange.new(1, 1.5)
  295. pe2.Rate = 20000
  296. pe2.RotSpeed = NumberRange.new(-30, 30)
  297. pe2.Rotation = NumberRange.new(0, 360)
  298. pe2.Size = NumberSequence.new({
  299. NumberSequenceKeypoint.new(0, 4.38, 0),
  300. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  301. NumberSequenceKeypoint.new(1, 1.48, 0)
  302. })
  303. pe2.Texture = "rbxassetid://244221440"
  304. pe2.Transparency = NumberSequence.new({
  305. NumberSequenceKeypoint.new(0, 0, 0),
  306. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  307. NumberSequenceKeypoint.new(1, 1, 1)
  308. })
  309. pe2.ZOffset = 5
  310. pe2.VelocitySpread = 360
  311. pe2.Parent = brick22
  312. pe2.Enabled = true
  313. clpe2 = pe2:Clone()
  314. clpe2.Parent = brick222
  315. wait(0.25)
  316. pe2.Enabled = false
  317. clpe2.Enabled = false
  318. nvm4.Value = 1
  319. bg1.Humanoid.HipHeight = 10000
  320. bg2.Humanoid.HipHeight = 10000
  321. end
  322.  
  323. if say == "appear," then
  324. bg1.Humanoid.HipHeight = 0
  325. bg2.Humanoid.HipHeight = 0
  326. bg1.Torso.CFrame = bgpoint1.CFrame
  327. bg2.Torso.CFrame = bgpoint2.CFrame
  328.  
  329. bg1["Head"].Transparency = 0
  330. bg1["Left Arm"].Transparency = 0
  331. bg1["Left Leg"].Transparency = 0
  332. bg1["Right Leg"].Transparency = 0
  333. bg1["Right Arm"].Transparency = 0
  334. bg1["Torso"].Transparency = 0
  335. bg1.Head.face.Transparency = 0
  336.  
  337. bg2["Head"].Transparency = 0
  338. bg2["Left Arm"].Transparency = 0
  339. bg2["Left Leg"].Transparency = 0
  340. bg2["Right Leg"].Transparency = 0
  341. bg2["Right Arm"].Transparency = 0
  342. bg2["Torso"].Transparency = 0
  343. bg2.Head.face.Transparency = 0
  344.  
  345. brick223 = Instance.new("Part")
  346. brick223.CanCollide = false
  347. brick223.Anchored = true
  348. brick223.CFrame = bg1.Torso.CFrame
  349. brick223.Transparency = 1
  350. brick223.Parent = game.Workspace
  351. brick2223 = Instance.new("Part")
  352. brick2223.CanCollide = false
  353. brick2223.Anchored = true
  354. brick2223.CFrame = bg2.Torso.CFrame
  355. brick2223.Transparency = 1
  356. brick2223.Parent = game.Workspace
  357. local sou23 = Instance.new("Sound")
  358. sou23.Pitch = 1
  359. sou23.Volume = 1
  360. sou23.SoundId = "rbxassetid://722960601"
  361. sou23.Parent = bg1.Torso
  362. sou23:Play()
  363. local pe2 = Instance.new("ParticleEmitter")
  364. pe2.Acceleration = Vector3.new(0, 8, 0)
  365. pe2.Lifetime = NumberRange.new(1, 1.5)
  366. pe2.Rate = 20000
  367. pe2.RotSpeed = NumberRange.new(-30, 30)
  368. pe2.Rotation = NumberRange.new(0, 360)
  369. pe2.Size = NumberSequence.new({
  370. NumberSequenceKeypoint.new(0, 4.38, 0),
  371. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  372. NumberSequenceKeypoint.new(1, 1.48, 0)
  373. })
  374. pe2.Texture = "rbxassetid://244221440"
  375. pe2.Transparency = NumberSequence.new({
  376. NumberSequenceKeypoint.new(0, 0, 0),
  377. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  378. NumberSequenceKeypoint.new(1, 1, 1)
  379. })
  380. pe2.ZOffset = 5
  381. pe2.VelocitySpread = 360
  382. pe2.Parent = brick223
  383. pe2.Enabled = true
  384. clpe2 = pe2:Clone()
  385. clpe2.Parent = brick2223
  386. wait(0.25)
  387. pe2.Enabled = false
  388. clpe2.Enabled = false
  389. nvm4.Value = 0
  390. end
  391.  
  392. if say == "transform, 9" then
  393. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  394. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  395.  
  396. a = bg1.Head:getChildren()
  397. for i = 1, #a do
  398. if a[i].className == "Part" then
  399. a[i]:Destroy()
  400. end
  401. end
  402.  
  403. b = bg2.Head:getChildren()
  404. for i = 1, #b do
  405. if b[i].className == "Part" then
  406. b[i]:Destroy()
  407. end
  408. end
  409.  
  410. for _,c in pairs(bg2:GetChildren()) do
  411. if c:IsA('Shirt') then
  412. c:Destroy()
  413. shirt = Instance.new("Shirt", bg2)
  414. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=70292296"
  415. end
  416. end
  417.  
  418. for _,c in pairs(bg1:GetChildren()) do
  419. if c:IsA('Pants') then
  420. c:Destroy()
  421. pants = Instance.new("Pants", bg1)
  422. pants.PantsTemplate = "http://www.roblox.com/asset/?id=31728834"
  423. end
  424. end
  425.  
  426. for _,c in pairs(bg2:GetChildren()) do
  427. if c:IsA('Pants') then
  428. c:Destroy()
  429. pants = Instance.new("Pants", bg2)
  430. pants.PantsTemplate = "http://www.roblox.com/asset/?id=31728834"
  431. end
  432. end
  433.  
  434. for _,c in pairs(bg1:GetChildren()) do
  435. if c:IsA('Shirt') then
  436. c:Destroy()
  437. shirt = Instance.new("Shirt", bg1)
  438. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=70292296"
  439. end
  440. end
  441.  
  442. hair = Instance.new("Part", bg1.Head)
  443. hairmesh = Instance.new("SpecialMesh", hair)
  444. hairmesh.MeshId = "http://www.roblox.com/asset/?id=1038653"
  445. hairmesh.TextureId = "http://www.roblox.com/asset/?id=1038654"
  446. hair.BrickColor = BrickColor.new('Pearl')
  447. hairmesh.Scale = Vector3.new(1, 1, 1)
  448. hair.Transparency = 0
  449. hair.CanCollide = false
  450. hair.Name = "plrhair"
  451. hair.Anchored = false
  452. clhair = hair:Clone()
  453. clhair.Parent = bg2.Head
  454. Weld = Instance.new("Weld", bg1)
  455. Weld.Part0 = bg1.Head
  456. Weld.Part1 = hair
  457. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  458. Weld = Instance.new("Weld", bg2)
  459. Weld.Part0 = bg2.Head
  460. Weld.Part1 = clhair
  461. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  462.  
  463. brick = Instance.new("Part")
  464. brick.CanCollide = false
  465. brick.Anchored = true
  466. brick.CFrame = bg1.Torso.CFrame
  467. brick.Transparency = 1
  468. brick.Parent = game.Workspace
  469. brick2 = Instance.new("Part")
  470. brick2.CanCollide = false
  471. brick2.Anchored = true
  472. brick2.CFrame = bg2.Torso.CFrame
  473. brick2.Transparency = 1
  474. brick2.Parent = game.Workspace
  475. local sou = Instance.new("Sound")
  476. sou.Pitch = 1
  477. sou.Volume = 1
  478. sou.SoundId = "rbxassetid://722960601"
  479. sou.Parent = bg1.Torso
  480. sou:Play()
  481. local pe = Instance.new("ParticleEmitter")
  482. pe.Acceleration = Vector3.new(0, 8, 0)
  483. pe.Lifetime = NumberRange.new(1, 1.5)
  484. pe.Rate = 20000
  485. pe.RotSpeed = NumberRange.new(-30, 30)
  486. pe.Rotation = NumberRange.new(0, 360)
  487. pe.Size = NumberSequence.new({
  488. NumberSequenceKeypoint.new(0, 4.38, 0),
  489. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  490. NumberSequenceKeypoint.new(1, 1.48, 0)
  491. })
  492. pe.Texture = "rbxassetid://244221440"
  493. pe.Transparency = NumberSequence.new({
  494. NumberSequenceKeypoint.new(0, 0, 0),
  495. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  496. NumberSequenceKeypoint.new(1, 1, 1)
  497. })
  498. pe.ZOffset = 5
  499. pe.VelocitySpread = 360
  500. pe.Parent = brick
  501. pe.Enabled = true
  502. clpe = pe:Clone()
  503. clpe.Parent = brick2
  504. wait(0.25)
  505. pe.Enabled = false
  506. clpe.Enabled = false
  507. while wait() do
  508. if not sou.IsPlaying then
  509. sou:Destroy()
  510. end
  511. end
  512. end
  513.  
  514. if say == "transform, 8" then
  515. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
  516. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
  517.  
  518. a = bg1.Head:getChildren()
  519. for i = 1, #a do
  520. if a[i].className == "Part" then
  521. a[i]:Destroy()
  522. end
  523. end
  524.  
  525. b = bg2.Head:getChildren()
  526. for i = 1, #b do
  527. if b[i].className == "Part" then
  528. b[i]:Destroy()
  529. end
  530. end
  531.  
  532. for _,c in pairs(bg2:GetChildren()) do
  533. if c:IsA('Shirt') then
  534. c:Destroy()
  535. shirt = Instance.new("Shirt", bg2)
  536. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=11380099"
  537. end
  538. end
  539.  
  540. for _,c in pairs(bg1:GetChildren()) do
  541. if c:IsA('Pants') then
  542. c:Destroy()
  543. pants = Instance.new("Pants", bg1)
  544. pants.PantsTemplate = "http://www.roblox.com/asset/?id=11380110"
  545. end
  546. end
  547.  
  548. for _,c in pairs(bg2:GetChildren()) do
  549. if c:IsA('Pants') then
  550. c:Destroy()
  551. pants = Instance.new("Pants", bg2)
  552. pants.PantsTemplate = "http://www.roblox.com/asset/?id=11380110"
  553. end
  554. end
  555.  
  556. for _,c in pairs(bg1:GetChildren()) do
  557. if c:IsA('Shirt') then
  558. c:Destroy()
  559. shirt = Instance.new("Shirt", bg1)
  560. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=11380099"
  561. end
  562. end
  563.  
  564. hair = Instance.new("Part", bg1.Head)
  565. hairmesh = Instance.new("SpecialMesh", hair)
  566. hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
  567. hairmesh.TextureId = "http://www.roblox.com/asset/?id=5808536"
  568. hair.BrickColor = BrickColor.new('Pearl')
  569. hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  570. hair.Transparency = 0
  571. hair.CanCollide = false
  572. hair.Name = "plrhair"
  573. hair.Anchored = false
  574. clhair = hair:Clone()
  575. clhair.Parent = bg2.Head
  576. Weld = Instance.new("Weld", bg1)
  577. Weld.Part0 = bg1.Head
  578. Weld.Part1 = hair
  579. Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  580. Weld = Instance.new("Weld", bg2)
  581. Weld.Part0 = bg2.Head
  582. Weld.Part1 = clhair
  583. Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  584.  
  585. brick = Instance.new("Part")
  586. brick.CanCollide = false
  587. brick.Anchored = true
  588. brick.CFrame = bg1.Torso.CFrame
  589. brick.Transparency = 1
  590. brick.Parent = game.Workspace
  591. brick2 = Instance.new("Part")
  592. brick2.CanCollide = false
  593. brick2.Anchored = true
  594. brick2.CFrame = bg2.Torso.CFrame
  595. brick2.Transparency = 1
  596. brick2.Parent = game.Workspace
  597. local sou = Instance.new("Sound")
  598. sou.Pitch = 1
  599. sou.Volume = 1
  600. sou.SoundId = "rbxassetid://722960601"
  601. sou.Parent = bg1.Torso
  602. sou:Play()
  603. local pe = Instance.new("ParticleEmitter")
  604. pe.Acceleration = Vector3.new(0, 8, 0)
  605. pe.Lifetime = NumberRange.new(1, 1.5)
  606. pe.Rate = 20000
  607. pe.RotSpeed = NumberRange.new(-30, 30)
  608. pe.Rotation = NumberRange.new(0, 360)
  609. pe.Size = NumberSequence.new({
  610. NumberSequenceKeypoint.new(0, 4.38, 0),
  611. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  612. NumberSequenceKeypoint.new(1, 1.48, 0)
  613. })
  614. pe.Texture = "rbxassetid://244221440"
  615. pe.Transparency = NumberSequence.new({
  616. NumberSequenceKeypoint.new(0, 0, 0),
  617. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  618. NumberSequenceKeypoint.new(1, 1, 1)
  619. })
  620. pe.ZOffset = 5
  621. pe.VelocitySpread = 360
  622. pe.Parent = brick
  623. pe.Enabled = true
  624. clpe = pe:Clone()
  625. clpe.Parent = brick2
  626. wait(0.25)
  627. pe.Enabled = false
  628. clpe.Enabled = false
  629. while wait() do
  630. if not sou.IsPlaying then
  631. sou:Destroy()
  632. end
  633. end
  634. end
  635.  
  636.  
  637. if say == "transform, 4" then
  638.  
  639. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
  640. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
  641.  
  642. a = bg1.Head:getChildren()
  643. for i = 1, #a do
  644. if a[i].className == "Part" then
  645. a[i]:Destroy()
  646. end
  647. end
  648.  
  649. b = bg2.Head:getChildren()
  650. for i = 1, #b do
  651. if b[i].className == "Part" then
  652. b[i]:Destroy()
  653. end
  654. end
  655.  
  656. for _,c in pairs(bg2:GetChildren()) do
  657. if c:IsA('Shirt') then
  658. c:Destroy()
  659. shirt = Instance.new("Shirt", bg2)
  660. shirt.ShirtTemplate = "rbxassetid://519774803"
  661. end
  662. end
  663.  
  664. for _,c in pairs(bg1:GetChildren()) do
  665. if c:IsA('Pants') then
  666. c:Destroy()
  667. pants = Instance.new("Pants", bg1)
  668. pants.PantsTemplate = "rbxassetid://519782833"
  669. end
  670. end
  671.  
  672. for _,c in pairs(bg2:GetChildren()) do
  673. if c:IsA('Pants') then
  674. c:Destroy()
  675. pants = Instance.new("Pants", bg2)
  676. pants.PantsTemplate = "rbxassetid://519782833"
  677. end
  678. end
  679.  
  680. for _,c in pairs(bg1:GetChildren()) do
  681. if c:IsA('Shirt') then
  682. c:Destroy()
  683. shirt = Instance.new("Shirt", bg1)
  684. shirt.ShirtTemplate = "rbxassetid://519774803"
  685. end
  686. end
  687.  
  688. hair = Instance.new("Part", bg1.Head)
  689. hairmesh = Instance.new("SpecialMesh", hair)
  690. hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
  691. hairmesh.TextureId = "http://www.roblox.com/asset/?id=1309894"
  692. hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  693. hair.Transparency = 0
  694. hair.CanCollide = false
  695. hair.Name = "plrhair"
  696. hair.Anchored = false
  697. clhair = hair:Clone()
  698. clhair.Parent = bg2.Head
  699. Weld = Instance.new("Weld", bg1)
  700. Weld.Part0 = bg1.Head
  701. Weld.Part1 = hair
  702. Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  703. Weld = Instance.new("Weld", bg2)
  704. Weld.Part0 = bg2.Head
  705. Weld.Part1 = clhair
  706. Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  707.  
  708. brick = Instance.new("Part")
  709. brick.CanCollide = false
  710. brick.Anchored = true
  711. brick.CFrame = bg1.Torso.CFrame
  712. brick.Transparency = 1
  713. brick.Parent = game.Workspace
  714. brick2 = Instance.new("Part")
  715. brick2.CanCollide = false
  716. brick2.Anchored = true
  717. brick2.CFrame = bg2.Torso.CFrame
  718. brick2.Transparency = 1
  719. brick2.Parent = game.Workspace
  720. local sou = Instance.new("Sound")
  721. sou.Pitch = 1
  722. sou.Volume = 1
  723. sou.SoundId = "rbxassetid://722960601"
  724. sou.Parent = bg1.Torso
  725. sou:Play()
  726. local pe = Instance.new("ParticleEmitter")
  727. pe.Acceleration = Vector3.new(0, 8, 0)
  728. pe.Lifetime = NumberRange.new(1, 1.5)
  729. pe.Rate = 20000
  730. pe.RotSpeed = NumberRange.new(-30, 30)
  731. pe.Rotation = NumberRange.new(0, 360)
  732. pe.Size = NumberSequence.new({
  733. NumberSequenceKeypoint.new(0, 4.38, 0),
  734. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  735. NumberSequenceKeypoint.new(1, 1.48, 0)
  736. })
  737. pe.Texture = "rbxassetid://244221440"
  738. pe.Transparency = NumberSequence.new({
  739. NumberSequenceKeypoint.new(0, 0, 0),
  740. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  741. NumberSequenceKeypoint.new(1, 1, 1)
  742. })
  743. pe.ZOffset = 5
  744. pe.VelocitySpread = 360
  745. pe.Parent = brick
  746. pe.Enabled = true
  747. clpe = pe:Clone()
  748. clpe.Parent = brick2
  749. wait(0.25)
  750. pe.Enabled = false
  751. clpe.Enabled = false
  752. while wait() do
  753. if not sou.IsPlaying then
  754. sou:Destroy()
  755. end
  756. end
  757. end
  758.  
  759. if say == "transform, 3" then
  760. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  761. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  762.  
  763.  
  764. a = bg1.Head:getChildren()
  765. for i = 1, #a do
  766. if a[i].className == "Part" then
  767. a[i]:Destroy()
  768. end
  769. end
  770.  
  771. b = bg2.Head:getChildren()
  772. for i = 1, #b do
  773. if b[i].className == "Part" then
  774. b[i]:Destroy()
  775. end
  776. end
  777.  
  778. for _,c in pairs(bg2:GetChildren()) do
  779. if c:IsA('Shirt') then
  780. c:Destroy()
  781. shirt = Instance.new("Shirt", bg2)
  782. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=108783381"
  783. end
  784. end
  785.  
  786. for _,c in pairs(bg1:GetChildren()) do
  787. if c:IsA('Pants') then
  788. c:Destroy()
  789. pants = Instance.new("Pants", bg1)
  790. pants.PantsTemplate = "http://www.roblox.com/asset/?id=412444864"
  791. end
  792. end
  793.  
  794. for _,c in pairs(bg2:GetChildren()) do
  795. if c:IsA('Pants') then
  796. c:Destroy()
  797. pants = Instance.new("Pants", bg2)
  798. pants.PantsTemplate = "http://www.roblox.com/asset/?id=412444864"
  799. end
  800. end
  801.  
  802. for _,c in pairs(bg1:GetChildren()) do
  803. if c:IsA('Shirt') then
  804. c:Destroy()
  805. shirt = Instance.new("Shirt", bg1)
  806. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=108783381"
  807.  
  808. hair = Instance.new("Part", bg1.Head)
  809. hairmesh = Instance.new("SpecialMesh", hair)
  810. hairmesh.MeshId = "http://www.roblox.com/asset/?id=1028788"
  811. hairmesh.TextureId = "http://www.roblox.com/asset/?id=1028787"
  812. hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  813. hair.Transparency = 0
  814. hair.CanCollide = false
  815. hair.Name = "plrhair"
  816. hair.Anchored = false
  817. clhair = hair:Clone()
  818. clhair.Parent = bg2.Head
  819. Weld = Instance.new("Weld", bg1)
  820. Weld.Part0 = bg1.Head
  821. Weld.Part1 = hair
  822. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  823. Weld = Instance.new("Weld", bg2)
  824. Weld.Part0 = bg2.Head
  825. Weld.Part1 = clhair
  826. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  827.  
  828.  
  829. hair3 = Instance.new("Part", bg1.Head)
  830. hairmesh3 = Instance.new("SpecialMesh", hair3)
  831. hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
  832. hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
  833. hairmesh3.Scale = Vector3.new(1, 1, 1)
  834. hair3.Transparency = 0
  835. hair3.CanCollide = false
  836. hair3.Name = "plrhair"
  837. hair3.Anchored = false
  838. clhair3 = hair3:Clone()
  839. clhair3.Parent = bg2.Head
  840. Weld = Instance.new("Weld", bg1)
  841. Weld.Part0 = bg1.Head
  842. Weld.Part1 = hair3
  843. Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  844. Weld = Instance.new("Weld", bg2)
  845. Weld.Part0 = bg2.Head
  846. Weld.Part1 = clhair3
  847. Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  848.  
  849. brick = Instance.new("Part")
  850. brick.CanCollide = false
  851. brick.Anchored = true
  852. brick.CFrame = bg1.Torso.CFrame
  853. brick.Transparency = 1
  854. brick.Parent = game.Workspace
  855. brick2 = Instance.new("Part")
  856. brick2.CanCollide = false
  857. brick2.Anchored = true
  858. brick2.CFrame = bg2.Torso.CFrame
  859. brick2.Transparency = 1
  860. brick2.Parent = game.Workspace
  861. local sou = Instance.new("Sound")
  862. sou.Pitch = 1
  863. sou.Volume = 1
  864. sou.SoundId = "rbxassetid://722960601"
  865. sou.Parent = bg1.Torso
  866. sou:Play()
  867. local pe = Instance.new("ParticleEmitter")
  868. pe.Acceleration = Vector3.new(0, 8, 0)
  869. pe.Lifetime = NumberRange.new(1, 1.5)
  870. pe.Rate = 20000
  871. pe.RotSpeed = NumberRange.new(-30, 30)
  872. pe.Rotation = NumberRange.new(0, 360)
  873. pe.Size = NumberSequence.new({
  874. NumberSequenceKeypoint.new(0, 4.38, 0),
  875. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  876. NumberSequenceKeypoint.new(1, 1.48, 0)
  877. })
  878. pe.Texture = "rbxassetid://244221440"
  879. pe.Transparency = NumberSequence.new({
  880. NumberSequenceKeypoint.new(0, 0, 0),
  881. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  882. NumberSequenceKeypoint.new(1, 1, 1)
  883. })
  884. pe.ZOffset = 5
  885. pe.VelocitySpread = 360
  886. pe.Parent = brick
  887. pe.Enabled = true
  888. clpe = pe:Clone()
  889. clpe.Parent = brick2
  890. wait(0.25)
  891. pe.Enabled = false
  892. clpe.Enabled = false
  893. while wait() do
  894. if not sou.IsPlaying then
  895. sou:Destroy()
  896. end
  897. end
  898. end
  899. end
  900. end
  901.  
  902. if say == "transform, 1" then
  903. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  904. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  905.  
  906.  
  907. a = bg1.Head:getChildren()
  908. for i = 1, #a do
  909. if a[i].className == "Part" then
  910. a[i]:Destroy()
  911. end
  912. end
  913.  
  914. b = bg2.Head:getChildren()
  915. for i = 1, #b do
  916. if b[i].className == "Part" then
  917. b[i]:Destroy()
  918. end
  919. end
  920.  
  921. for _,c in pairs(bg2:GetChildren()) do
  922. if c:IsA('Shirt') then
  923. c:Destroy()
  924. shirt = Instance.new("Shirt", bg2)
  925. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
  926. end
  927. end
  928.  
  929. for _,c in pairs(bg1:GetChildren()) do
  930. if c:IsA('Pants') then
  931. c:Destroy()
  932. pants = Instance.new("Pants", bg1)
  933. pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
  934. end
  935. end
  936.  
  937. for _,c in pairs(bg2:GetChildren()) do
  938. if c:IsA('Pants') then
  939. c:Destroy()
  940. pants = Instance.new("Pants", bg2)
  941. pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
  942. end
  943. end
  944.  
  945. for _,c in pairs(bg1:GetChildren()) do
  946. if c:IsA('Shirt') then
  947. c:Destroy()
  948. shirt = Instance.new("Shirt", bg1)
  949. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
  950. end
  951. end
  952.  
  953.  
  954. brick = Instance.new("Part")
  955. brick.CanCollide = false
  956. brick.Anchored = true
  957. brick.CFrame = bg1.Torso.CFrame
  958. brick.Transparency = 1
  959. brick.Parent = game.Workspace
  960. brick2 = Instance.new("Part")
  961. brick2.CanCollide = false
  962. brick2.Anchored = true
  963. brick2.CFrame = bg2.Torso.CFrame
  964. brick2.Transparency = 1
  965. brick2.Parent = game.Workspace
  966. local sou = Instance.new("Sound")
  967. sou.Pitch = 1
  968. sou.Volume = 1
  969. sou.SoundId = "rbxassetid://722960601"
  970. sou.Parent = bg1.Torso
  971. sou:Play()
  972. local pe = Instance.new("ParticleEmitter")
  973. pe.Acceleration = Vector3.new(0, 8, 0)
  974. pe.Lifetime = NumberRange.new(1, 1.5)
  975. pe.Rate = 20000
  976. pe.RotSpeed = NumberRange.new(-30, 30)
  977. pe.Rotation = NumberRange.new(0, 360)
  978. pe.Size = NumberSequence.new({
  979. NumberSequenceKeypoint.new(0, 4.38, 0),
  980. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  981. NumberSequenceKeypoint.new(1, 1.48, 0)
  982. })
  983. pe.Texture = "rbxassetid://244221440"
  984. pe.Transparency = NumberSequence.new({
  985. NumberSequenceKeypoint.new(0, 0, 0),
  986. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  987. NumberSequenceKeypoint.new(1, 1, 1)
  988. })
  989. pe.ZOffset = 5
  990. pe.VelocitySpread = 360
  991. pe.Parent = brick
  992. pe.Enabled = true
  993. clpe = pe:Clone()
  994. clpe.Parent = brick2
  995. wait(0.25)
  996. pe.Enabled = false
  997. clpe.Enabled = false
  998. while wait() do
  999. if not sou.IsPlaying then
  1000. sou:Destroy()
  1001. end
  1002. end
  1003. end
  1004.  
  1005. if say == "transform, 7" then
  1006. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=119839939"
  1007. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=119839939"
  1008.  
  1009. a = bg1.Head:getChildren()
  1010. for i = 1, #a do
  1011. if a[i].className == "Part" then
  1012. a[i]:Destroy()
  1013. end
  1014. end
  1015.  
  1016. b = bg2.Head:getChildren()
  1017. for i = 1, #b do
  1018. if b[i].className == "Part" then
  1019. b[i]:Destroy()
  1020. end
  1021. end
  1022.  
  1023. for _,c in pairs(bg2:GetChildren()) do
  1024. if c:IsA('Shirt') then
  1025. c:Destroy()
  1026. shirt = Instance.new("Shirt", bg2)
  1027. shirt.ShirtTemplate = "rbxassetid://575169492"
  1028. end
  1029. end
  1030.  
  1031. for _,c in pairs(bg1:GetChildren()) do
  1032. if c:IsA('Pants') then
  1033. c:Destroy()
  1034. pants = Instance.new("Pants", bg1)
  1035. pants.PantsTemplate = "rbxassetid://768690244"
  1036. end
  1037. end
  1038.  
  1039. for _,c in pairs(bg2:GetChildren()) do
  1040. if c:IsA('Pants') then
  1041. c:Destroy()
  1042. pants = Instance.new("Pants", bg2)
  1043. pants.PantsTemplate = "rbxassetid://768690244"
  1044. end
  1045. end
  1046.  
  1047. for _,c in pairs(bg1:GetChildren()) do
  1048. if c:IsA('Shirt') then
  1049. c:Destroy()
  1050. shirt = Instance.new("Shirt", bg1)
  1051. shirt.ShirtTemplate = "rbxassetid://575169492"
  1052. end
  1053. end
  1054.  
  1055. hair = Instance.new("Part", bg1.Head)
  1056. hairmesh = Instance.new("SpecialMesh", hair)
  1057. hairmesh.MeshId = "http://www.roblox.com/asset/?id=14394711"
  1058. hairmesh.TextureId = "http://www.roblox.com/asset/?id=14394687"
  1059. hairmesh.Scale = Vector3.new(1, 0.95, 0.85)
  1060. hair.Transparency = 0
  1061. hair.CanCollide = false
  1062. hair.Name = "plrhair"
  1063. hair.Anchored = false
  1064. clhair = hair:Clone()
  1065. clhair.Parent = bg2.Head
  1066. Weld = Instance.new("Weld", bg1)
  1067. Weld.Part0 = bg1.Head
  1068. Weld.Part1 = hair
  1069. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1070. Weld = Instance.new("Weld", bg2)
  1071. Weld.Part0 = bg2.Head
  1072. Weld.Part1 = clhair
  1073. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1074.  
  1075. brick = Instance.new("Part")
  1076. brick.CanCollide = false
  1077. brick.Anchored = true
  1078. brick.CFrame = bg1.Torso.CFrame
  1079. brick.Transparency = 1
  1080. brick.Parent = game.Workspace
  1081. brick2 = Instance.new("Part")
  1082. brick2.CanCollide = false
  1083. brick2.Anchored = true
  1084. brick2.CFrame = bg2.Torso.CFrame
  1085. brick2.Transparency = 1
  1086. brick2.Parent = game.Workspace
  1087. local sou = Instance.new("Sound")
  1088. sou.Pitch = 1
  1089. sou.Volume = 1
  1090. sou.SoundId = "rbxassetid://722960601"
  1091. sou.Parent = bg1.Torso
  1092. sou:Play()
  1093. local pe = Instance.new("ParticleEmitter")
  1094. pe.Acceleration = Vector3.new(0, 8, 0)
  1095. pe.Lifetime = NumberRange.new(1, 1.5)
  1096. pe.Rate = 20000
  1097. pe.RotSpeed = NumberRange.new(-30, 30)
  1098. pe.Rotation = NumberRange.new(0, 360)
  1099. pe.Size = NumberSequence.new({
  1100. NumberSequenceKeypoint.new(0, 4.38, 0),
  1101. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  1102. NumberSequenceKeypoint.new(1, 1.48, 0)
  1103. })
  1104. pe.Texture = "rbxassetid://244221440"
  1105. pe.Transparency = NumberSequence.new({
  1106. NumberSequenceKeypoint.new(0, 0, 0),
  1107. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  1108. NumberSequenceKeypoint.new(1, 1, 1)
  1109. })
  1110. pe.ZOffset = 5
  1111. pe.VelocitySpread = 360
  1112. pe.Parent = brick
  1113. pe.Enabled = true
  1114. clpe = pe:Clone()
  1115. clpe.Parent = brick2
  1116. wait(0.25)
  1117. pe.Enabled = false
  1118. clpe.Enabled = false
  1119. while wait() do
  1120. if not sou.IsPlaying then
  1121. sou:Destroy()
  1122. end
  1123. end
  1124. end
  1125.  
  1126. if say == "transform, 6" then
  1127. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
  1128. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
  1129.  
  1130. a = bg1.Head:getChildren()
  1131. for i = 1, #a do
  1132. if a[i].className == "Part" then
  1133. a[i]:Destroy()
  1134. end
  1135. end
  1136.  
  1137. b = bg2.Head:getChildren()
  1138. for i = 1, #b do
  1139. if b[i].className == "Part" then
  1140. b[i]:Destroy()
  1141. end
  1142. end
  1143.  
  1144. for _,c in pairs(bg2:GetChildren()) do
  1145. if c:IsA('Shirt') then
  1146. c:Destroy()
  1147. shirt = Instance.new("Shirt", bg2)
  1148. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=4904066"
  1149. end
  1150. end
  1151.  
  1152. for _,c in pairs(bg1:GetChildren()) do
  1153. if c:IsA('Pants') then
  1154. c:Destroy()
  1155. pants = Instance.new("Pants", bg1)
  1156. pants.PantsTemplate = "http://www.roblox.com/asset/?id=2577832"
  1157. end
  1158. end
  1159.  
  1160. for _,c in pairs(bg2:GetChildren()) do
  1161. if c:IsA('Pants') then
  1162. c:Destroy()
  1163. pants = Instance.new("Pants", bg2)
  1164. pants.PantsTemplate = "http://www.roblox.com/asset/?id=2577832"
  1165. end
  1166. end
  1167.  
  1168. for _,c in pairs(bg1:GetChildren()) do
  1169. if c:IsA('Shirt') then
  1170. c:Destroy()
  1171. shirt = Instance.new("Shirt", bg1)
  1172. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=4904066"
  1173. end
  1174. end
  1175.  
  1176.  
  1177. hair = Instance.new("Part", bg1.Head)
  1178. hairmesh = Instance.new("SpecialMesh", hair)
  1179. hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
  1180. hairmesh.TextureId = "http://www.roblox.com/asset/?id=1309894"
  1181. hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  1182. hair.Transparency = 0
  1183. hair.CanCollide = false
  1184. hair.Name = "plrhair"
  1185. hair.Anchored = false
  1186. clhair = hair:Clone()
  1187. clhair.Parent = bg2.Head
  1188. Weld = Instance.new("Weld", bg1)
  1189. Weld.Part0 = bg1.Head
  1190. Weld.Part1 = hair
  1191. Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1192. Weld = Instance.new("Weld", bg2)
  1193. Weld.Part0 = bg2.Head
  1194. Weld.Part1 = clhair
  1195. Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1196.  
  1197.  
  1198. hair = Instance.new("Part", bg1.Head)
  1199. hairmesh = Instance.new("SpecialMesh", hair)
  1200. hairmesh.MeshId = "http://www.roblox.com/asset/?id=25648271"
  1201. hairmesh.TextureId = "http://www.roblox.com/asset/?id=28664001"
  1202. hairmesh.Scale = Vector3.new(1.3, 1.35, 1.3)
  1203. hair.Transparency = 0
  1204. hair.CanCollide = false
  1205. hair.Name = "plrhair"
  1206. hair.Anchored = false
  1207. clhair = hair:Clone()
  1208. clhair.Parent = bg2.Head
  1209. Weld = Instance.new("Weld", bg1)
  1210. Weld.Part0 = bg1.Head
  1211. Weld.Part1 = hair
  1212. Weld.C1 = CFrame.new(0, -0.60, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1213. Weld = Instance.new("Weld", bg2)
  1214. Weld.Part0 = bg2.Head
  1215. Weld.Part1 = clhair
  1216. Weld.C1 = CFrame.new(0, -0.60, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1217.  
  1218. brick = Instance.new("Part")
  1219. brick.CanCollide = false
  1220. brick.Anchored = true
  1221. brick.CFrame = bg1.Torso.CFrame
  1222. brick.Transparency = 1
  1223. brick.Parent = game.Workspace
  1224. brick2 = Instance.new("Part")
  1225. brick2.CanCollide = false
  1226. brick2.Anchored = true
  1227. brick2.CFrame = bg2.Torso.CFrame
  1228. brick2.Transparency = 1
  1229. brick2.Parent = game.Workspace
  1230. local sou = Instance.new("Sound")
  1231. sou.Pitch = 1
  1232. sou.Volume = 1
  1233. sou.SoundId = "rbxassetid://722960601"
  1234. sou.Parent = bg1.Torso
  1235. sou:Play()
  1236. local pe = Instance.new("ParticleEmitter")
  1237. pe.Acceleration = Vector3.new(0, 8, 0)
  1238. pe.Lifetime = NumberRange.new(1, 1.5)
  1239. pe.Rate = 20000
  1240. pe.RotSpeed = NumberRange.new(-30, 30)
  1241. pe.Rotation = NumberRange.new(0, 360)
  1242. pe.Size = NumberSequence.new({
  1243. NumberSequenceKeypoint.new(0, 4.38, 0),
  1244. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  1245. NumberSequenceKeypoint.new(1, 1.48, 0)
  1246. })
  1247. pe.Texture = "rbxassetid://244221440"
  1248. pe.Transparency = NumberSequence.new({
  1249. NumberSequenceKeypoint.new(0, 0, 0),
  1250. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  1251. NumberSequenceKeypoint.new(1, 1, 1)
  1252. })
  1253. pe.ZOffset = 5
  1254. pe.VelocitySpread = 360
  1255. pe.Parent = brick
  1256. pe.Enabled = true
  1257. clpe = pe:Clone()
  1258. clpe.Parent = brick2
  1259. wait(0.25)
  1260. pe.Enabled = false
  1261. clpe.Enabled = false
  1262. while wait() do
  1263. if not sou.IsPlaying then
  1264. sou:Destroy()
  1265. end
  1266. end
  1267. end
  1268.  
  1269. if say == "transform, 5" then
  1270. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  1271. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  1272.  
  1273. a = bg1.Head:getChildren()
  1274. for i = 1, #a do
  1275. if a[i].className == "Part" then
  1276. a[i]:Destroy()
  1277. end
  1278. end
  1279.  
  1280. b = bg2.Head:getChildren()
  1281. for i = 1, #b do
  1282. if b[i].className == "Part" then
  1283. b[i]:Destroy()
  1284. end
  1285. end
  1286.  
  1287. for _,c in pairs(bg2:GetChildren()) do
  1288. if c:IsA('Shirt') then
  1289. c:Destroy()
  1290. shirt = Instance.new("Shirt", bg2)
  1291. shirt.ShirtTemplate = "rbxassetid://146364138"
  1292. end
  1293. end
  1294.  
  1295. for _,c in pairs(bg1:GetChildren()) do
  1296. if c:IsA('Pants') then
  1297. c:Destroy()
  1298. pants = Instance.new("Pants", bg1)
  1299. pants.PantsTemplate = "rbxassetid://195399271"
  1300. end
  1301. end
  1302.  
  1303. for _,c in pairs(bg2:GetChildren()) do
  1304. if c:IsA('Pants') then
  1305. c:Destroy()
  1306. pants = Instance.new("Pants", bg2)
  1307. pants.PantsTemplate = "rbxassetid://195399271"
  1308. end
  1309. end
  1310.  
  1311. for _,c in pairs(bg1:GetChildren()) do
  1312. if c:IsA('Shirt') then
  1313. c:Destroy()
  1314. shirt = Instance.new("Shirt", bg1)
  1315. shirt.ShirtTemplate = "rbxassetid://175602621"
  1316. end
  1317. end
  1318.  
  1319. hair = Instance.new("Part", bg1.Head)
  1320. hairmesh = Instance.new("SpecialMesh", hair)
  1321. hairmesh.MeshId = "http://www.roblox.com/asset/?id=16190466"
  1322. hairmesh.TextureId = "http://www.roblox.com/asset/?id=59293792"
  1323. hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  1324. hair.Transparency = 0
  1325. hair.CanCollide = false
  1326. hair.Name = "plrhair"
  1327. hair.Anchored = false
  1328. clhair = hair:Clone()
  1329. clhair.Parent = bg2.Head
  1330. clhair.Mesh.TextureId = "http://www.roblox.com/asset/?id=114723589"
  1331. clhair.Mesh.MeshId = "http://www.roblox.com/asset/?id=16101994"
  1332. clhair.Mesh.Scale = Vector3.new(1.02,1.02,1.02)
  1333. Weld = Instance.new("Weld", bg1)
  1334. Weld.Part0 = bg1.Head
  1335. Weld.Part1 = hair
  1336. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1337. Weld = Instance.new("Weld", bg2)
  1338. Weld.Part0 = bg2.Head
  1339. Weld.Part1 = clhair
  1340. Weld.C1 = CFrame.new(0, -0.14, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1341.  
  1342. hair3 = Instance.new("Part", bg1.Head)
  1343. hairmesh3 = Instance.new("SpecialMesh", hair3)
  1344. hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
  1345. hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
  1346. hairmesh3.Scale = Vector3.new(1, 1, 1)
  1347. hair3.Transparency = 0
  1348. hair3.CanCollide = false
  1349. hair3.Name = "plrhair"
  1350. hair3.Anchored = false
  1351. clhair3 = hair3:Clone()
  1352. clhair3.Parent = bg2.Head
  1353. Weld = Instance.new("Weld", bg1)
  1354. Weld.Part0 = bg1.Head
  1355. Weld.Part1 = hair3
  1356. Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1357. Weld = Instance.new("Weld", bg2)
  1358. Weld.Part0 = bg2.Head
  1359. Weld.Part1 = clhair3
  1360. Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1361.  
  1362. brick = Instance.new("Part")
  1363. brick.CanCollide = false
  1364. brick.Anchored = true
  1365. brick.CFrame = bg1.Torso.CFrame
  1366. brick.Transparency = 1
  1367. brick.Parent = game.Workspace
  1368. brick2 = Instance.new("Part")
  1369. brick2.CanCollide = false
  1370. brick2.Anchored = true
  1371. brick2.CFrame = bg2.Torso.CFrame
  1372. brick2.Transparency = 1
  1373. brick2.Parent = game.Workspace
  1374. local sou = Instance.new("Sound")
  1375. sou.Pitch = 1
  1376. sou.Volume = 1
  1377. sou.SoundId = "rbxassetid://722960601"
  1378. sou.Parent = bg1.Torso
  1379. sou:Play()
  1380. local pe = Instance.new("ParticleEmitter")
  1381. pe.Acceleration = Vector3.new(0, 8, 0)
  1382. pe.Lifetime = NumberRange.new(1, 1.5)
  1383. pe.Rate = 20000
  1384. pe.RotSpeed = NumberRange.new(-30, 30)
  1385. pe.Rotation = NumberRange.new(0, 360)
  1386. pe.Size = NumberSequence.new({
  1387. NumberSequenceKeypoint.new(0, 4.38, 0),
  1388. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  1389. NumberSequenceKeypoint.new(1, 1.48, 0)
  1390. })
  1391. pe.Texture = "rbxassetid://244221440"
  1392. pe.Transparency = NumberSequence.new({
  1393. NumberSequenceKeypoint.new(0, 0, 0),
  1394. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  1395. NumberSequenceKeypoint.new(1, 1, 1)
  1396. })
  1397. pe.ZOffset = 5
  1398. pe.VelocitySpread = 360
  1399. pe.Parent = brick
  1400. pe.Enabled = true
  1401. clpe = pe:Clone()
  1402. clpe.Parent = brick2
  1403. wait(0.25)
  1404. pe.Enabled = false
  1405. clpe.Enabled = false
  1406. while wait() do
  1407. if not sou.IsPlaying then
  1408. sou:Destroy()
  1409. end
  1410. end
  1411. end
  1412.  
  1413.  
  1414. if say == "transform, 2" then
  1415. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  1416. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  1417.  
  1418. a = bg1.Head:getChildren()
  1419. for i = 1, #a do
  1420. if a[i].className == "Part" then
  1421. a[i]:Destroy()
  1422. end
  1423. end
  1424.  
  1425. b = bg2.Head:getChildren()
  1426. for i = 1, #b do
  1427. if b[i].className == "Part" then
  1428. b[i]:Destroy()
  1429. end
  1430. end
  1431. hair = Instance.new("Part", bg1.Head)
  1432. hairmesh = Instance.new("SpecialMesh", hair)
  1433. hairmesh.MeshId = "http://www.roblox.com/asset/?id=28035864"
  1434. hairmesh.TextureId = "http://www.roblox.com/asset/?id=28035854"
  1435. hairmesh.Scale = Vector3.new(1.03, 1.03, 0.98)
  1436. hair.Transparency = 0
  1437. hair.CanCollide = false
  1438. hair.Name = "plrhair"
  1439. hair.Anchored = false
  1440. clhair = hair:Clone()
  1441. clhair.Parent = bg2.Head
  1442. Weld = Instance.new("Weld", bg1)
  1443. Weld.Part0 = bg1.Head
  1444. Weld.Part1 = hair
  1445. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1446. Weld = Instance.new("Weld", bg2)
  1447. Weld.Part0 = bg2.Head
  1448. Weld.Part1 = clhair
  1449. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1450.  
  1451. hair3 = Instance.new("Part", bg1.Head)
  1452. hairmesh3 = Instance.new("SpecialMesh", hair3)
  1453. hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
  1454. hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
  1455. hairmesh3.Scale = Vector3.new(1, 1, 1)
  1456. hair3.Transparency = 0
  1457. hair3.CanCollide = false
  1458. hair3.Name = "plrhair"
  1459. hair3.Anchored = false
  1460. clhair3 = hair3:Clone()
  1461. clhair3.Parent = bg2.Head
  1462. Weld = Instance.new("Weld", bg1)
  1463. Weld.Part0 = bg1.Head
  1464. Weld.Part1 = hair3
  1465. Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1466. Weld = Instance.new("Weld", bg2)
  1467. Weld.Part0 = bg2.Head
  1468. Weld.Part1 = clhair3
  1469. Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1470.  
  1471. for _,c in pairs(bg1:GetChildren()) do
  1472. if c:IsA('Pants') then
  1473. c:Destroy()
  1474. pants = Instance.new("Pants", bg1)
  1475. pants.PantsTemplate = "http://www.roblox.com/asset/?id=747111515"
  1476. end
  1477. end
  1478.  
  1479. for _,c in pairs(bg1:GetChildren()) do
  1480. if c:IsA('Shirt') then
  1481. c:Destroy()
  1482. shirt = Instance.new("Shirt", bg1)
  1483. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153259531"
  1484. end
  1485. end
  1486.  
  1487. for _,c in pairs(bg2:GetChildren()) do
  1488. if c:IsA('Pants') then
  1489. c:Destroy()
  1490. pants = Instance.new("Pants", bg2)
  1491. pants.PantsTemplate = "http://www.roblox.com/asset/?id=747111515"
  1492. end
  1493. end
  1494.  
  1495. for _,c in pairs(bg2:GetChildren()) do
  1496. if c:IsA('Shirt') then
  1497. c:Destroy()
  1498. shirt = Instance.new("Shirt", bg2)
  1499. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153259531"
  1500. end
  1501. end
  1502.  
  1503. brick = Instance.new("Part")
  1504. brick.CanCollide = false
  1505. brick.Anchored = true
  1506. brick.CFrame = bg1.Torso.CFrame
  1507. brick.Transparency = 1
  1508. brick.Parent = game.Workspace
  1509. brick2 = Instance.new("Part")
  1510. brick2.CanCollide = false
  1511. brick2.Anchored = true
  1512. brick2.CFrame = bg2.Torso.CFrame
  1513. brick2.Transparency = 1
  1514. brick2.Parent = game.Workspace
  1515. local sou = Instance.new("Sound")
  1516. sou.Pitch = 1
  1517. sou.Volume = 1
  1518. sou.SoundId = "rbxassetid://722960601"
  1519. sou.Parent = bg1.Torso
  1520. sou:Play()
  1521. local pe = Instance.new("ParticleEmitter")
  1522. pe.Acceleration = Vector3.new(0, 8, 0)
  1523. pe.Lifetime = NumberRange.new(1, 1.5)
  1524. pe.Rate = 20000
  1525. pe.RotSpeed = NumberRange.new(-30, 30)
  1526. pe.Rotation = NumberRange.new(0, 360)
  1527. pe.Size = NumberSequence.new({
  1528. NumberSequenceKeypoint.new(0, 4.38, 0),
  1529. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  1530. NumberSequenceKeypoint.new(1, 1.48, 0)
  1531. })
  1532. pe.Texture = "rbxassetid://244221440"
  1533. pe.Transparency = NumberSequence.new({
  1534. NumberSequenceKeypoint.new(0, 0, 0),
  1535. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  1536. NumberSequenceKeypoint.new(1, 1, 1)
  1537. })
  1538. pe.ZOffset = 5
  1539. pe.VelocitySpread = 360
  1540. pe.Parent = brick
  1541. pe.Enabled = true
  1542. clpe = pe:Clone()
  1543. clpe.Parent = brick2
  1544. wait(0.25)
  1545. pe.Enabled = false
  1546. clpe.Enabled = false
  1547. while wait() do
  1548. if not sou.IsPlaying then
  1549. sou:Destroy()
  1550. end
  1551. end
  1552. end
  1553.  
  1554.  
  1555. if say == "guns, normalbullet" then
  1556. nvm5.Value = 0
  1557. end
  1558.  
  1559. if say == "guns, explodingbullet" then
  1560. nvm5.Value = 1
  1561. end
  1562.  
  1563. if say == "guns, smokebullet" then
  1564. nvm5.Value = 2
  1565. end
  1566.  
  1567. if say == "guns, out" then
  1568. nvm.Value = 1
  1569. Mouse = plr:GetMouse()
  1570.  
  1571. Mouse.Button1Down:connect(function()
  1572. if nvm.Value == 1 then
  1573. randomg = math.random(1,2)
  1574. if randomg == 1 then
  1575. bullet = Instance.new('Part', game.Workspace)
  1576. bullet.Touched:connect(function(hit)
  1577. if hit.Parent:FindFirstChild("Humanoid") then
  1578. hit.Parent:BreakJoints()
  1579. end
  1580. end)
  1581. if nvm5.Value == 0 then
  1582. bullet.Anchored = false
  1583. bullet.CanCollide = false
  1584. bullet.Size = Vector3.new(0.2,0.2,0.2)
  1585. bullet.BrickColor = BrickColor.new('Really black')
  1586. bullet.CFrame = Mouse.Hit
  1587. bullet.Name = 'Bullet'
  1588. game.Debris:AddItem(bullet, 1)
  1589. local shoot2 = Instance.new("Sound", bg2["Right Arm"])
  1590. shoot2.SoundId="rbxassetid://180955656"
  1591. shoot2:Play()
  1592. bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, Mouse.Hit.p)
  1593. end
  1594.  
  1595. if nvm5.Value == 1 then
  1596. bullet.CFrame = Mouse.Hit
  1597. local Ex = Instance.new("Explosion", Workspace)
  1598. Ex.BlastRadius = 16
  1599. Ex.DestroyJointRadiusPercent = 0.5
  1600. Ex.Position = Mouse.Hit.p
  1601. bullet.Anchored = false
  1602. bullet.CanCollide = false
  1603. bullet.Size = Vector3.new(0.2,0.2,0.2)
  1604. bullet.BrickColor = BrickColor.new('Really black')
  1605. bullet.Name = 'Bullet'
  1606. game.Debris:AddItem(bullet, 1)
  1607. local shoot2 = Instance.new("Sound", bg2["Right Arm"])
  1608. shoot2.SoundId="rbxassetid://180955656"
  1609. shoot2:Play()
  1610. bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, Mouse.Hit.p)
  1611. end
  1612.  
  1613.  
  1614. if nvm5.Value == 2 then
  1615. bullet.CFrame = Mouse.Hit
  1616. x1 = Instance.new("Smoke", bullet)
  1617. x1.Color = Color3.new(0.596078, 0.596078, 0.596078)
  1618. x1.Opacity = 0.89999997615814
  1619. x1.RiseVelocity = 20
  1620. x1.Size = 45
  1621. bullet.Anchored = false
  1622. bullet.CanCollide = false
  1623. bullet.Size = Vector3.new(0.2,0.2,0.2)
  1624. bullet.BrickColor = BrickColor.new('Really black')
  1625. bullet.Name = 'Bullet'
  1626. game.Debris:AddItem(bullet, 5)
  1627. local shoot2 = Instance.new("Sound", bg2["Right Arm"])
  1628. shoot2.SoundId="rbxassetid://180955656"
  1629. shoot2:Play()
  1630. bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, Mouse.Hit.p)
  1631. end
  1632.  
  1633. end
  1634. if randomg == 2 then
  1635. bullet = Instance.new('Part', game.Workspace)
  1636. bullet.Touched:connect(function(hit)
  1637. if hit.Parent:FindFirstChild("Humanoid") then
  1638. hit.Parent:BreakJoints()
  1639. end
  1640. end)
  1641. if nvm5.Value == 0 then
  1642. bullet.Anchored = false
  1643. bullet.CanCollide = false
  1644. bullet.Size = Vector3.new(0.2,0.2,0.2)
  1645. bullet.BrickColor = BrickColor.new('Really black')
  1646. bullet.CFrame = Mouse.Hit
  1647. bullet.Name = 'Bullet'
  1648. game.Debris:AddItem(bullet, 1)
  1649. local shoot2 = Instance.new("Sound", bg2["Right Arm"])
  1650. shoot2.SoundId="rbxassetid://180955656"
  1651. shoot2:Play()
  1652. bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, Mouse.Hit.p)
  1653. end
  1654.  
  1655. if nvm5.Value == 1 then
  1656. bullet.CFrame = Mouse.Hit
  1657. local Ex = Instance.new("Explosion", Workspace)
  1658. Ex.BlastRadius = 16
  1659. Ex.DestroyJointRadiusPercent = 0.5
  1660. Ex.Position = Mouse.Hit.p
  1661. bullet.Anchored = false
  1662. bullet.CanCollide = false
  1663. bullet.Size = Vector3.new(0.2,0.2,0.2)
  1664. bullet.BrickColor = BrickColor.new('Really black')
  1665. bullet.Name = 'Bullet'
  1666. game.Debris:AddItem(bullet, 1)
  1667. local shoot2 = Instance.new("Sound", bg2["Right Arm"])
  1668. shoot2.SoundId="rbxassetid://180955656"
  1669. shoot2:Play()
  1670. bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, Mouse.Hit.p)
  1671. end
  1672.  
  1673. if nvm5.Value == 2 then
  1674. bullet.CFrame = Mouse.Hit
  1675. x1 = Instance.new("Smoke", bullet)
  1676. x1.Color = Color3.new(0.596078, 0.596078, 0.596078)
  1677. x1.Opacity = 0.89999997615814
  1678. x1.RiseVelocity = 20
  1679. x1.Size = 45
  1680. bullet.Anchored = false
  1681. bullet.CanCollide = false
  1682. bullet.Size = Vector3.new(0.2,0.2,0.2)
  1683. bullet.BrickColor = BrickColor.new('Really black')
  1684. bullet.Name = 'Bullet'
  1685. game.Debris:AddItem(bullet, 50)
  1686. local shoot2 = Instance.new("Sound", bg2["Right Arm"])
  1687. shoot2.SoundId="rbxassetid://180955656"
  1688. shoot2:Play()
  1689. bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, Mouse.Hit.p)
  1690. wait(4)
  1691. x1.Enabled = false
  1692. end
  1693.  
  1694. end
  1695. end
  1696. end)
  1697.  
  1698. part1 = Instance.new("Part")
  1699. part1.Parent = char
  1700. part1.Transparency = 0
  1701. part1.BrickColor = BrickColor.new('Really black')
  1702. part1.TopSurface = 0
  1703. part1.BottomSurface = 0
  1704. part1.CanCollide = false
  1705. part1.Anchored = false
  1706. gun = Instance.new("SpecialMesh", part1)
  1707. gun.MeshId = "rbxassetid://4372594"
  1708. gun.Scale = Vector3.new(1, 1, 1)
  1709. part1.CFrame = bg1["Right Arm"].CFrame * CFrame.new(0, 1, 1.75)
  1710. Weld5 = Instance.new("Weld", bg1)
  1711. Weld5.Part0 = bg1["Right Arm"]
  1712. Weld5.Part1 = part1
  1713. Weld5.C1 = CFrame.Angles(math.rad(-83),math.rad(180),math.rad(180)) * CFrame.new(0, 1.50, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1714.  
  1715. part2 = Instance.new("Part")
  1716. part2.Parent = char
  1717. part2.Transparency = 0
  1718. part2.BrickColor = BrickColor.new('Really black')
  1719. part2.TopSurface = 0
  1720. part2.BottomSurface = 0
  1721. part2.CanCollide = false
  1722. part2.Anchored = false
  1723. gun2 = Instance.new("SpecialMesh", part2)
  1724. gun2.MeshId = "rbxassetid://4372594"
  1725. gun2.Scale = Vector3.new(1, 1, 1)
  1726. part2.CFrame = bg2["Right Arm"].CFrame * CFrame.new(0, 1, 1.75)
  1727. Weld10 = Instance.new("Weld", bg1)
  1728. Weld10.Part0 = bg2["Right Arm"]
  1729. Weld10.Part1 = part2
  1730. Weld10.C1 = CFrame.Angles(math.rad(-83),math.rad(180),math.rad(180)) * CFrame.new(0, 1.50, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1731.  
  1732. charbg1 = bg1
  1733. arm = {charbg1["Right Arm"]}
  1734. charbg1.Torso["Right Shoulder"].Archivable = true
  1735. mc = charbg1.Torso["Right Shoulder"]:Clone()
  1736. weld = Instance.new("Weld", arm[1])
  1737. weld.Part0 = charbg1.Torso
  1738. weld.Part1 = weld.Parent
  1739. weld.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
  1740.  
  1741. charbg2 = bg2
  1742. arm = {charbg2["Right Arm"]}
  1743. charbg2.Torso["Right Shoulder"].Archivable = true
  1744. mc3 = charbg2.Torso["Right Shoulder"]:Clone()
  1745. weld12 = Instance.new("Weld", arm[1])
  1746. weld12.Part0 = charbg2.Torso
  1747. weld12.Part1 = weld12.Parent
  1748. weld12.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
  1749. end
  1750.  
  1751. if say == "dance," then
  1752. dance1 = math.random(1,7)
  1753. if dance1 == 1 then
  1754. local animation = Instance.new("Animation")
  1755. animation.AnimationId = "rbxassetid://27789359"
  1756. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1757. animTrack:Play()
  1758. end
  1759. if dance1 == 2 then
  1760. local animation = Instance.new("Animation")
  1761. animation.AnimationId = "rbxassetid://30196114"
  1762. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1763. animTrack:Play()
  1764. end
  1765. if dance1 == 3 then
  1766. local animation = Instance.new("Animation")
  1767. animation.AnimationId = "rbxassetid://248263260"
  1768. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1769. animTrack:Play()
  1770. end
  1771. if dance1 == 4 then
  1772. local animation = Instance.new("Animation")
  1773. animation.AnimationId = "rbxassetid://45834924"
  1774. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1775. animTrack:Play()
  1776. end
  1777. if dance1 == 5 then
  1778. local animation = Instance.new("Animation")
  1779. animation.AnimationId = "rbxassetid://33796059"
  1780. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1781. animTrack:Play()
  1782. end
  1783. if dance1 == 6 then
  1784. local animation = Instance.new("Animation")
  1785. animation.AnimationId = "rbxassetid://28488254"
  1786. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1787. animTrack:Play()
  1788. end
  1789. if dance1 == 7 then
  1790. local animation = Instance.new("Animation")
  1791. animation.AnimationId = "rbxassetid://52155728"
  1792. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1793. animTrack:Play()
  1794. end
  1795.  
  1796. dance2 = math.random(1,7)
  1797. if dance2 == 1 then
  1798. local animation = Instance.new("Animation")
  1799. animation.AnimationId = "rbxassetid://27789359"
  1800. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1801. animTrack:Play()
  1802. end
  1803. if dance2 == 2 then
  1804. local animation = Instance.new("Animation")
  1805. animation.AnimationId = "rbxassetid://30196114"
  1806. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1807. animTrack:Play()
  1808. end
  1809. if dance2 == 3 then
  1810. local animation = Instance.new("Animation")
  1811. animation.AnimationId = "rbxassetid://248263260"
  1812. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1813. animTrack:Play()
  1814. end
  1815. if dance2 == 4 then
  1816. local animation = Instance.new("Animation")
  1817. animation.AnimationId = "rbxassetid://45834924"
  1818. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1819. animTrack:Play()
  1820. end
  1821. if dance2 == 5 then
  1822. local animation = Instance.new("Animation")
  1823. animation.AnimationId = "rbxassetid://33796059"
  1824. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1825. animTrack:Play()
  1826. end
  1827. if dance2 == 6 then
  1828. local animation = Instance.new("Animation")
  1829. animation.AnimationId = "rbxassetid://28488254"
  1830. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1831. animTrack:Play()
  1832. end
  1833. if dance2 == 7 then
  1834. local animation = Instance.new("Animation")
  1835. animation.AnimationId = "rbxassetid://52155728"
  1836. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1837. animTrack:Play()
  1838. end
  1839. end
  1840.  
  1841. if say == "focus," then
  1842. local animation = Instance.new("Animation")
  1843. animation.AnimationId = "rbxassetid://0"
  1844. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1845. animTrack:Play()
  1846.  
  1847. local animation = Instance.new("Animation")
  1848. animation.AnimationId = "rbxassetid://0"
  1849. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1850. animTrack:Play()
  1851. end
  1852.  
  1853. if say == "guns, in" then
  1854. nvm.Value = 0
  1855. weld:Destroy()
  1856. mc.Parent = charbg1.Torso
  1857.  
  1858. Weld10:Destroy()
  1859. Weld5:Destroy()
  1860. part1:Destroy()
  1861. part2:Destroy()
  1862.  
  1863. weld12:Destroy()
  1864. mc3.Parent = charbg2.Torso
  1865. end
  1866.  
  1867. if say == "unride," then
  1868. nvm3.Value = 0
  1869. nvm2.Value = 1
  1870. if bg1.Head:FindFirstChild('noobweld') then
  1871. bg1.Head.noobweld:Destroy()
  1872. end
  1873. if char.Head:FindFirstChild('firstweld') then
  1874. char.Head.firstweld:Destroy()
  1875. end
  1876. bg2.Humanoid.WalkSpeed = 16
  1877. bg1.Humanoid.Sit = false
  1878. bg2.Humanoid.Sit = false
  1879. char.Humanoid.Sit = false
  1880. end
  1881.  
  1882. if say == "ride," then
  1883. Mouse = plr:GetMouse()
  1884. nvm2.Value = 0
  1885. nvm3.Value = 1
  1886. p = Instance.new('Weld', plr.Character.Head)
  1887. p.Part0 = plr.Character:FindFirstChild("Torso") or plr.Character:FindFirstChild("UpperTorso")
  1888. p.Part1 = bg1:FindFirstChild("Torso") or bg1:FindFirstChild("UpperTorso")
  1889. p.Name = 'firstweld'
  1890. p.C0 = CFrame.new(0,-2.2,-.50)
  1891. a = Instance.new('Weld', bg1.Head)
  1892. a.Part0 = bg1:FindFirstChild("Torso") or bg1:FindFirstChild("UpperTorso")
  1893. a.Part1 = bg2:FindFirstChild("Torso") or bg2:FindFirstChild("UpperTorso")
  1894. a.C0 = CFrame.new(0,-2.2,-.50)
  1895. a.Name = 'noobweld'
  1896. plr.Character.Humanoid.Sit = true
  1897. bg1.Humanoid.Sit = true
  1898. while wait() do
  1899. if nvm3.Value == 1 then
  1900. bg2.Humanoid:MoveTo(Mouse.Hit.p)
  1901. plr.Character.Humanoid.Sit = true
  1902. bg1.Humanoid.Sit = true
  1903. bg1.Humanoid.Health = bg1.Humanoid.Health + 100
  1904. bg2.Humanoid.Health = bg2.Humanoid.Health + 100
  1905. bg2.Humanoid.WalkSpeed = 65
  1906. end
  1907. end
  1908.  
  1909. if say == "spy," then
  1910. signal = Instance.new('Part', game.ReplicatedStorage)
  1911. local ply = game.Players:GetPlayers()[math.random(game.Players.NumPlayers)]
  1912. bgchoose = math.random(1, 2)
  1913. if bgchoose == 1 then
  1914.  
  1915. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20722053"
  1916.  
  1917. for _,c in pairs(bg1:GetChildren()) do
  1918. if c:IsA('Pants') then
  1919. c:Destroy()
  1920. pants = Instance.new("Pants", bg1)
  1921. pants.PantsTemplate = "http://www.roblox.com/asset/?id=144076759"
  1922. end
  1923. end
  1924.  
  1925. for _,c in pairs(bg1:GetChildren()) do
  1926. if c:IsA('Shirt') then
  1927. c:Destroy()
  1928. shirt = Instance.new("Shirt", bg1)
  1929. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=382538058"
  1930. end
  1931. end
  1932.  
  1933. hair = Instance.new("Part", bg1.Head)
  1934. hairmesh = Instance.new("SpecialMesh", hair)
  1935. hairmesh.MeshId = "rbxassetid://494950128"
  1936. hairmesh.Scale = Vector3.new(1, 1, 1)
  1937. hair.Transparency = 0
  1938. hair.CanCollide = false
  1939. hair.Name = "plrhair"
  1940. hair.Anchored = false
  1941. hair.BrickColor = BrickColor.new("Really red")
  1942. Weld = Instance.new("Weld", bg1)
  1943. Weld.Part0 = bg1.Head
  1944. Weld.Part1 = hair
  1945. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1946. while wait() do
  1947. if game.ReplicatedStorage:FindFirstChild('Part') then
  1948. bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, ply.Character.Torso.Position)
  1949. end
  1950. end
  1951.  
  1952. if bgchoose == 2 then
  1953.  
  1954. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20418518"
  1955.  
  1956. for _,c in pairs(bg2:GetChildren()) do
  1957. if c:IsA('Pants') then
  1958. c:Destroy()
  1959. pants = Instance.new("Pants", bg2)
  1960. pants.PantsTemplate = "http://www.roblox.com/asset/?id=442560707"
  1961. end
  1962. end
  1963.  
  1964. for _,c in pairs(bg2:GetChildren()) do
  1965. if c:IsA('Shirt') then
  1966. c:Destroy()
  1967. shirt = Instance.new("Shirt", bg2)
  1968. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=442557590"
  1969. end
  1970. end
  1971.  
  1972. hair1 = Instance.new("Part", bg2.Head)
  1973. hairmesh1 = Instance.new("SpecialMesh", hair1)
  1974. hairmesh1.MeshId = "rbxassetid://494950128"
  1975. hairmesh1.Scale = Vector3.new(1, 1, 1)
  1976. hair1.Transparency = 0
  1977. hair1.CanCollide = false
  1978. hair1.Name = "plrhair"
  1979. hair1.Anchored = false
  1980. hair1.BrickColor = BrickColor.new("Really black")
  1981. Weld1 = Instance.new("Weld", bg2)
  1982. Weld1.Part0 = bg2.Head
  1983. Weld1.Part1 = hair1
  1984. Weld1.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1985. signal2 = Instance.new('Part', game.ReplicatedStorage)
  1986. signal2.Name = "Part2"
  1987. while wait() do
  1988. if game.ReplicatedStorage:FindFirstChild('Part2') then
  1989. bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, ply.Character.Torso.Position)
  1990. end
  1991. end
  1992. end
  1993. end
  1994. end
  1995. end
  1996. end)
  1997.  
  1998. game:GetService('RunService').RenderStepped:connect(function()
  1999. if nvm2.Value == 1 then
  2000. bg1.Humanoid.Health = bg1.Humanoid.Health + 5000
  2001. bg2.Humanoid.Health = bg2.Humanoid.Health + 5000
  2002. bg1.Humanoid:MoveTo(bgpoint1.Position)
  2003. bg2.Humanoid:MoveTo(bgpoint2.Position)
  2004. if bg1.Humanoid.PlatformStand == true then
  2005. bg1.Humanoid.PlatformStand = false
  2006. end
  2007. if bg2.Humanoid.PlatformStand == true then
  2008. bg2.Humanoid.PlatformStand = false
  2009. end
  2010. if bg1.Humanoid.Sit == true then
  2011. bg1.Humanoid.Sit = false
  2012. end
  2013. if bg2.Humanoid.Sit == true then
  2014. bg2.Humanoid.Sit = false
  2015. end
  2016. for _,v in pairs(workspace:children()) do
  2017. if v:IsA('Model') and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
  2018. if (v.HumanoidRootPart.Position-bg1.Torso.Position).magnitude <=2 then
  2019. bg1.Humanoid.Jump=true
  2020. end
  2021. end
  2022. end
  2023. for _,v in pairs(workspace:children()) do
  2024. if v:IsA('Model') and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
  2025. if (v.HumanoidRootPart.Position-bg2.Torso.Position).magnitude <=2 then
  2026. bg2.Humanoid.Jump=true
  2027. end
  2028. end
  2029. end
  2030. if (game.Players.LocalPlayer.Character.Torso.Position - bg2.Torso.Position).magnitude <= 20 then
  2031. bg2.Humanoid.WalkSpeed = 16
  2032. else
  2033. bg2.Humanoid.WalkSpeed = 55
  2034. end
  2035. if (game.Players.LocalPlayer.Character.Torso.Position - bg1.Torso.Position).magnitude <= 20 then
  2036. bg1.Humanoid.WalkSpeed = 16
  2037. else
  2038. bg1.Humanoid.WalkSpeed = 55
  2039. end
  2040. end
  2041. end)
  2042. for i, v in pairs(game.Players.LocalPlayer.Backpack:children()) do
  2043. if v.className == "HopperBin" and v.Name == "PPATTA's Trap Script" then
  2044. v:Destroy()
  2045. end
  2046. end
  2047.  
  2048. local player = game:service("Players").LocalPlayer
  2049. local mouse = player:GetMouse()
  2050. local char = player.Character
  2051. local Torsoz = char:findFirstChild("Torso")
  2052. local RA = char:findFirstChild("Right Arm")
  2053. local LA = char:findFirstChild("Left Arm")
  2054. local RL = char:findFirstChild("Right Leg")
  2055. local LL = char:findFirstChild("Left Leg")
  2056. local H = char:findFirstChild("Head")
  2057. local RS = Torsoz:findFirstChild("Right Shoulder")
  2058. local LS = Torsoz:findFirstChild("Left Shoulder")
  2059. local RH = Torsoz:findFirstChild("Right Hip")
  2060. local LH = Torsoz:findFirstChild("Left Hip")
  2061. local N = Torsoz:findFirstChild("Neck")
  2062. local NV = Vector3.new()
  2063. local Main
  2064. local Traps = {}
  2065. local Projectiles = {}
  2066. local Bolts = {}
  2067.  
  2068. local bin = Instance.new("HopperBin")
  2069. bin.Name = "PPATTA's Trap Script"
  2070. bin.Parent = player.Backpack
  2071.  
  2072. local P = Instance.new("Part")
  2073. P.Anchored = false
  2074. P.CanCollide = false
  2075. P.Name = "Part"
  2076. P.formFactor = "Custom"
  2077. P.Size = Vector3.new(0.2,0.2,0.2)
  2078. P.BrickColor = BrickColor.new("Black")
  2079. P.Locked = true
  2080. P.TopSurface = 10
  2081. P.BottomSurface = 10
  2082. P.FrontSurface = 10
  2083. P.BackSurface = 10
  2084. P.LeftSurface = 10
  2085. P.RightSurface = 10
  2086.  
  2087. local AnimJoints = {}
  2088.  
  2089. function GetWeld(weld)
  2090. local obj
  2091. for i, v in pairs(AnimJoints) do
  2092. if v[1] == weld then
  2093. obj = v
  2094. break
  2095. end
  2096. end
  2097. if not obj then
  2098. obj = {weld,NV}
  2099. table.insert(AnimJoints,obj)
  2100. end
  2101. return weld.C0.p, obj[2]
  2102. end
  2103.  
  2104. function SetWeld(weld, i, loops, origpos,origangle, nextpos,nextangle,smooth)
  2105. smooth = smooth or 1
  2106. local obj
  2107. for i, v in pairs(AnimJoints) do
  2108. if v[1] == weld then
  2109. obj = v
  2110. break
  2111. end
  2112. end
  2113. if not obj then
  2114. obj = {weld,NV}
  2115. table.insert(AnimJoints,obj)
  2116. end
  2117.  
  2118. local perc = (smooth == 1 and math.sin((math.pi/2)/loops*i)) or i/loops
  2119.  
  2120. local tox,toy,toz = 0,0,0
  2121. tox = math.abs(origangle.x - nextangle.x) *perc
  2122. toy = math.abs(origangle.y - nextangle.y) *perc
  2123. toz = math.abs(origangle.z - nextangle.z) *perc
  2124. tox = (origangle.x > nextangle.x and -tox) or tox
  2125. toy = (origangle.y > nextangle.y and -toy) or toy
  2126. toz = (origangle.z > nextangle.z and -toz) or toz
  2127.  
  2128. local tox2,toy2,toz2 = 0,0,0
  2129. tox2 = math.abs(origpos.x - nextpos.x) *perc
  2130. toy2 = math.abs(origpos.y - nextpos.y) *perc
  2131. toz2 = math.abs(origpos.z - nextpos.z) *perc
  2132. tox2 = (origpos.x > nextpos.x and -tox2) or tox2
  2133. toy2 = (origpos.y > nextpos.y and -toy2) or toy2
  2134. toz2 = (origpos.z > nextpos.z and -toz2) or toz2
  2135.  
  2136. obj[2] = Vector3.new(origangle.x + tox, origangle.y + toy, origangle.z + toz)
  2137. weld.C0 = CFrame.new(origpos.x + tox2,origpos.y + toy2,origpos.z + toz2) * CFrame.Angles(origangle.x + tox,origangle.y + toy,origangle.z + toz)
  2138. end
  2139.  
  2140. function RAY(pos, dir, collidedlist, startpos, endpos, distleft)
  2141. collidedlist = collidedlist or {char}
  2142. startpos = startpos or pos
  2143. distleft = distleft or dir.unit * dir.magnitude
  2144. endpos = endpos or pos + distleft
  2145. local ray = Ray.new(pos, distleft)
  2146. local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
  2147. if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then
  2148. if hitz.CanCollide == false then
  2149. table.insert(collidedlist, hitz)
  2150. local newpos = enz
  2151. local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
  2152. if newdistleft ~= NV then
  2153. return RAY(newpos-(dir*0.01), dir, collidedlist, startpos, endpos, newdistleft+(dir*0.01))
  2154. end
  2155. end
  2156. end
  2157. return hitz, enz, ray
  2158. end
  2159.  
  2160. function FindSurface(part, position)
  2161. local obj = part.CFrame:pointToObjectSpace(position)
  2162. local siz = part.Size/2
  2163. for i,v in pairs(Enum.NormalId:GetEnumItems()) do
  2164. local vec = Vector3.FromNormalId(v)
  2165. local wvec = part.CFrame:vectorToWorldSpace(vec)
  2166. local vz = (obj)/(siz*vec)
  2167. if (math.abs(vz.X-1) < 0.01 or math.abs(vz.Y-1) < 0.01 or math.abs(vz.Z-1) < 0.01) then
  2168. return wvec,vec
  2169. end
  2170. end
  2171. if part.className == "WedgePart" then
  2172. local pos = (part.CFrame * CFrame.new(0,part.Size.y/2,part.Size.z/2)).p
  2173. local apos = (part.CFrame * CFrame.Angles(-math.atan2(part.CFrame:pointToObjectSpace(pos).y,part.CFrame:pointToObjectSpace(pos).z),0,0) * CFrame.new(0,1,0)).p
  2174. local wvec,vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos)
  2175. return wvec,vec
  2176. elseif part.className == "Part" and (part.Shape == Enum.PartType.Ball or part.Shape == Enum.PartType.Cylinder) then
  2177. return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit)
  2178. end
  2179. end
  2180.  
  2181. function CreateTrap(target,pos)
  2182. local m = Instance.new("Model", char)
  2183. m.Name = "Trap"
  2184.  
  2185. local cframe = CFrame.new()
  2186. local anchor = true
  2187.  
  2188. if not target:IsA("Terrain") then
  2189. local wvec,vec = FindSurface(target,pos)
  2190. cframe = CFrame.new(NV,wvec) * CFrame.Angles(-math.pi/2,0,0)
  2191. anchor = target.Anchored
  2192. end
  2193.  
  2194. local c = P:Clone()
  2195. c.Parent = m
  2196. c.Anchored = anchor
  2197. c.CanCollide = true
  2198. c.CFrame = (cframe +pos) * CFrame.Angles(0,math.rad(math.random(1,360)),0)
  2199. c.BrickColor = BrickColor.new("Dark stone grey")
  2200. local light = Instance.new("PointLight", c)
  2201. light.Brightness = 2
  2202. light.Range = 7
  2203. light.Color = Color3.new(1,0.8,0.1)
  2204. local mesh = Instance.new("CylinderMesh",c)
  2205. mesh.Scale = Vector3.new(0.2,0.4,0.2) *5
  2206. if not anchor then
  2207. local newpos = target.CFrame:toObjectSpace(c.CFrame)
  2208. local w = Instance.new("Weld",c)
  2209. w.Part0 = target
  2210. w.Part1 = c
  2211. w.C0 = newpos
  2212. end
  2213.  
  2214. local tabl = {}
  2215. for i = 1, 3 do
  2216. local p = P:Clone()
  2217. p.Parent = m
  2218. p.Anchored = anchor
  2219. p.CFrame = c.CFrame * CFrame.Angles(0,math.pi*2/3*i,0) * CFrame.new(0,0.04,-0.12) * CFrame.Angles(-math.pi/2 +0.05,0,0) * CFrame.new(0,0.55,0)
  2220. local mesh = Instance.new("SpecialMesh",p)
  2221. mesh.MeshType = "Wedge"
  2222. mesh.Scale = Vector3.new(0.15,1.2,0.16) *5
  2223. if not anchor then
  2224. local w = Instance.new("Weld",p)
  2225. w.Part0 = c
  2226. w.Part1 = p
  2227. w.C0 = CFrame.Angles(0,math.pi*2/3*i,0) * CFrame.new(0,0.04,-0.12) * CFrame.Angles(-math.pi/2 +0.05,0,0) * CFrame.new(0,0.55,0)
  2228. end
  2229.  
  2230. for j = -1,1,2 do
  2231. local p = P:Clone()
  2232. p.Parent = m
  2233. p.Anchored = anchor
  2234. p.Transparency = 0.6
  2235. p.BrickColor = BrickColor.new("Institutional white")
  2236. p.CFrame = c.CFrame * CFrame.new(0,0.2,0) * CFrame.Angles(0,math.pi*2/3*i,0) * CFrame.new(0.32*j,0,-0.55) * CFrame.Angles(0.06,0,-math.pi/2*j)
  2237. local mesh = Instance.new("SpecialMesh",p)
  2238. mesh.MeshType = "Wedge"
  2239. mesh.Scale = Vector3.new(0.03,0.6,1.1) *5
  2240. if not anchor then
  2241. local w = Instance.new("Weld",p)
  2242. w.Part0 = c
  2243. w.Part1 = p
  2244. w.C0 = CFrame.new(0,0.2,0) * CFrame.Angles(0,math.pi*2/3*i,0) * CFrame.new(0.32*j,0,-0.55) * CFrame.Angles(0.06,0,-math.pi/2*j)
  2245. end
  2246. table.insert(tabl,p)
  2247. end
  2248. end
  2249.  
  2250. table.insert(Traps,{m,c,tabl,0,light})
  2251. end
  2252.  
  2253. function Build()
  2254. for i, v in pairs(char:children()) do
  2255. if v.className == "Model" and (v.Name == "" or v.Name == "Trap" or v.Name == "TrapProjectile") then
  2256. v:Destroy()
  2257. end
  2258. end
  2259. local mdl = Instance.new("Model", char)
  2260. mdl.Name = ""
  2261.  
  2262. end
  2263. Build()
  2264.  
  2265. function Throw(aim)
  2266. local mdl = Instance.new("Model",char)
  2267. mdl.Name = "TrapProjectile"
  2268. local p = P:Clone()
  2269. p.Parent = mdl
  2270. p.Anchored = true
  2271. p.Size = Vector3.new(0.5,0.5,1.5)
  2272. p.CFrame = CFrame.new(Torsoz.Position,Torsoz.Position+aim)
  2273. table.insert(Projectiles,{mdl,p,aim,0.05})
  2274. end
  2275.  
  2276. function JumbleBolt(bolt)
  2277. local lastpos = bolt[2][3]
  2278. for i, v in pairs(bolt) do
  2279. if i == 1 then
  2280. bolt[1] = bolt[1] - 1
  2281. else
  2282. local point = v[4] * CFrame.new(math.random(-100,100)*v[5]/200,math.random(-100,100)*v[5]/200,0)
  2283. v[1].CFrame = CFrame.new((lastpos+point.p)/2,point.p)
  2284. v[2].Scale = Vector3.new(0.1,0.1,(lastpos-point.p).magnitude) *5
  2285. lastpos = point.p
  2286. end
  2287. end
  2288. end
  2289.  
  2290. function Bolt(par,start,endpos,jumble)
  2291. jumble = jumble or 8
  2292. local dist = (start - endpos).magnitude
  2293. if dist < 200 then
  2294. local tab = {jumble}
  2295. local dir = (endpos - start).unit
  2296. local jump = dist/math.floor(dist)
  2297. local lastpos = start
  2298. local lastraw
  2299. for i = 1, math.floor(dist) do
  2300. local rawpoint = CFrame.new(start,endpos) + dir*jump*i
  2301. local point = rawpoint
  2302. if i ~= math.floor(dist) then
  2303. point = point * CFrame.new(math.random(-100,100)*jump/200,math.random(-100,100)*jump/200,0)
  2304. end
  2305. local p = P:Clone()
  2306. p.Parent = par
  2307. p.Anchored = true
  2308. p.BrickColor = BrickColor.new("Really black")
  2309. p.CFrame = CFrame.new((lastpos+point.p)/2,point.p)
  2310. local mesh = Instance.new("BlockMesh",p)
  2311. mesh.Scale = Vector3.new(0.1,0.1,(lastpos-point.p).magnitude) *5
  2312. game:GetService("Debris"):AddItem(p,5)
  2313. table.insert(tab,{p,mesh,start,rawpoint,jump})
  2314. lastpos = point.p
  2315. lastraw = rawpoint
  2316. end
  2317. table.insert(Bolts,tab)
  2318. end
  2319. end
  2320.  
  2321. function Explode(pos,bolts)
  2322. local mdl = Instance.new("Model",char)
  2323. mdl.Name = "Explosion"
  2324. local p = P:Clone()
  2325. p.Parent = mdl
  2326. p.Anchored = true
  2327. p.CanCollide = false
  2328. p.CFrame = CFrame.new(pos)
  2329. local l = Instance.new("PointLight",p)
  2330. l.Color = Color3.new(0.5,0.1,1)
  2331. l.Range = 10
  2332. l.Brightness = 2
  2333. game:GetService("Debris"):AddItem(mdl,0.7)
  2334. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  2335. if v.Character ~= nil then
  2336. if v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  2337. if (v.Character.Torso.Position - pos).magnitude < 6.5 then
  2338. v.Character.Humanoid:TakeDamage(math.random(30,45))
  2339. end
  2340. end
  2341. end
  2342. end
  2343. for i = 1, bolts do
  2344. local dist = math.random(38,64) /10
  2345. local dir = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50)).unit
  2346. Bolt(mdl,pos,pos+dir*dist)
  2347. end
  2348. end
  2349.  
  2350. function Detonate()
  2351. for i, v in pairs(Traps) do
  2352. Explode(v[2].Position,10)
  2353. v[1]:Destroy()
  2354. Traps[i] = nil
  2355. end
  2356. end
  2357.  
  2358. function B1D(mouse)
  2359. --[[if mouse.Target and #Traps < 6 then
  2360. CreateTrap(mouse.Hit.p,mouse.Target)
  2361. end ]]
  2362. if #Traps + #Projectiles < 6 then
  2363. Throw((mouse.Hit.p - Torsoz.Position).unit)
  2364. end
  2365. --Bolt(char,Torsoz.Position,mouse.Hit.p)
  2366. --Explode(mouse.Hit.p,10)
  2367. end
  2368.  
  2369. function KD(key, mouse)
  2370. if key == "e" then
  2371. Detonate()
  2372. --[[elseif key == "r" then
  2373. for i, v in pairs(Traps) do
  2374. v[1]:Destroy()
  2375. Traps[i] = nil
  2376. end ]]
  2377. end
  2378. end
  2379.  
  2380. function Equip()
  2381. end
  2382.  
  2383. function Unequip()
  2384. end
  2385.  
  2386. bin.Selected:connect(function(mouse)
  2387. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  2388. mouse.Button1Down:connect(function() B1D(mouse) end)
  2389. mouse.KeyDown:connect(function(key) KD(key, mouse) end)
  2390. end)
  2391.  
  2392. bin.Deselected:connect(function()
  2393. end)
  2394.  
  2395. local jumpcount = 0
  2396. game:GetService("RunService").Stepped:connect(function()
  2397. jumpcount = (jumpcount%2) + 1
  2398. for i, trap in pairs(Traps) do
  2399. trap[4] = (trap[4] + 1) %2
  2400. if trap[4] == 0 then
  2401. local randum = math.random()
  2402. local zaptrans = 0.3 + 0.45*randum
  2403. trap[5].Brightness = 0.8 + 2.8*randum --math.random(-65,60)/100
  2404. for j, v in pairs(trap[3]) do
  2405. v.Transparency = zaptrans
  2406. end
  2407. end
  2408. end
  2409.  
  2410. for i, proj in pairs(Projectiles) do
  2411. local spd = (proj[3]*3) + Vector3.new(0,proj[4],0)
  2412. local hitz,enz = RAY(proj[2].Position,spd)
  2413. if hitz then
  2414. proj[1]:Destroy()
  2415. CreateTrap(hitz,enz)
  2416. table.remove(Projectiles,i)
  2417. else
  2418. proj[2].CFrame = CFrame.new(NV,spd) + proj[2].Position + spd
  2419. proj[4] = proj[4] - 0.05
  2420. end
  2421. end
  2422.  
  2423. if jumpcount == 1 then
  2424. for i, bolt in pairs(Bolts) do
  2425. JumbleBolt(bolt)
  2426. if bolt[1] <= 0 then
  2427. for j, v in pairs(bolt) do
  2428. if j ~= 1 then
  2429. v[1]:Destroy()
  2430. end
  2431. end
  2432. table.remove(Bolts,i)
  2433. end
  2434. end
  2435. end
  2436. end)
  2437. local p = game.Players.LocalPlayer
  2438. local plr = game.Players.LocalPlayer
  2439. local chr = plr.Character
  2440. local maus = plr:GetMouse()
  2441. local PGui=plr.PlayerGui
  2442. local lleg = chr["Left Leg"]
  2443. local rleg = chr["Right Leg"]
  2444. local larm = chr["Left Arm"]
  2445. local rarm = chr["Right Arm"]
  2446. local hed = chr.Head
  2447. local rutprt = chr.HumanoidRootPart
  2448. local torso = chr.Torso
  2449. local otheranims=false
  2450. local armmovement=false
  2451. local equipped=false
  2452. chr.Animate.Disabled=true
  2453. local RunSpeed=40
  2454. local WlkSpeed=20
  2455. local CrawlSpeed=10
  2456. local CrawlDashSpeed=20
  2457. local runnin=false
  2458. local tik=0
  2459. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  2460. local Meows={"60871617","151742282","138093919"}
  2461. local leftnekoface="260195370"
  2462. local rightnekoface="260196558"
  2463. local swing="Right"
  2464. local armanim=""
  2465. local hitdb=false
  2466.  
  2467. local RightNekoColor=BrickColor.new("Really black")
  2468. local LeftNekoColor=BrickColor.new("Institutional white")
  2469.  
  2470.  
  2471.  
  2472. coroutine.wrap(function()
  2473. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  2474. function Lerp(a, b, i)
  2475. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  2476. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  2477. local calx = com1[1] + (com2[1] - com1[1]) * i
  2478. local caly = com1[2] + (com2[2] - com1[2]) * i
  2479. local calz = com1[3] + (com2[3] - com1[3]) * i
  2480. local cala = com1[4] + (com2[4] - com1[4]) * i
  2481. local calb = com1[5] + (com2[5] - com1[5]) * i
  2482. local calc = com1[6] + (com2[6] - com1[6]) * i
  2483. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  2484. end
  2485. function TwnSingleNumber(s,f,m)
  2486. local wot=s+(f-s)*m
  2487. return wot
  2488. end
  2489. function TwnVector3(q,w,e)
  2490. local begin={q.x,q.y,q.z}
  2491. local ending={w.x,w.y,w.z}
  2492. local bgx=begin[1]+(ending[1]-begin[1])*e
  2493. local bgy=begin[2]+(ending[2]-begin[2])*e
  2494. local bgz=begin[3]+(ending[3]-begin[3])*e
  2495. return Vector3.new(bgx,bgy,bgz)
  2496. end
  2497. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  2498. wld = Instance.new("Weld", wp1)
  2499. wld.Part0 = wp0
  2500. wld.Part1 = wp1
  2501. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  2502. end
  2503. function Avg(a, b)
  2504. return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
  2505. end
  2506.  
  2507. newWeld(law, torso, larm, -1.5, 0.5, 0)
  2508. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  2509. newWeld(llw, torso, lleg, -.5, -2, 0)
  2510. newWeld(rlw, torso, rleg, .5, -2, 0)
  2511. newWeld(hw, torso, hed, 0, 1.5, 0)
  2512. local rutwald=Instance.new('Weld',rutprt)
  2513. rutwald.Part0=rutprt
  2514. rutwald.Part1=torso
  2515. rutwald.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  2516. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  2517. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  2518. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  2519. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  2520.  
  2521.  
  2522. local anim = "Idling"
  2523. local lastanim = "Idling"
  2524. local val = 0
  2525. local syne = 0
  2526. local num = 0
  2527. local runtime = 0
  2528.  
  2529.  
  2530.  
  2531.  
  2532. local NekoNekoKnuckles=Instance.new("Model",chr)
  2533. NekoNekoKnuckles.Name="Neko Neko Knuckles"
  2534. local RightNeko=Instance.new("Model",NekoNekoKnuckles)
  2535. RightNeko.Name="Right Neko"
  2536. local LeftNeko=Instance.new("Model",NekoNekoKnuckles)
  2537. LeftNeko.Name="Left Neko"
  2538.  
  2539.  
  2540.  
  2541.  
  2542.  
  2543.  
  2544. --[[ Right Neko ]]--
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550. local rn1=Instance.new("Part",RightNeko)
  2551. rn1.Name="RightHandle"
  2552. rn1.Material="SmoothPlastic"
  2553. rn1.TopSurface=10
  2554. rn1.BottomSurface=10
  2555. rn1.LeftSurface=10
  2556. rn1.RightSurface=10
  2557. rn1.FrontSurface=10
  2558. rn1.BackSurface=10
  2559. rn1.BrickColor=RightNekoColor
  2560. rn1.formFactor=3
  2561. rn1.Size=Vector3.new(1.1,1.3,1.1)
  2562. rn1.CanCollide=false
  2563. rn1:breakJoints''
  2564. local rn1w=Instance.new("Weld",rn1)
  2565. rn1w.Part0=rn1
  2566. rn1w.Part1=rarm
  2567. rn1w.C0=CFrame.new(0,.4,0)
  2568.  
  2569. local rn2=Instance.new("Part",RightNeko)
  2570. rn2.Name="RightHandle"
  2571. rn2.Material="SmoothPlastic"
  2572. rn2.TopSurface=10
  2573. rn2.BottomSurface=10
  2574. rn2.LeftSurface=10
  2575. rn2.RightSurface=10
  2576. rn2.FrontSurface=10
  2577. rn2.BackSurface=10
  2578. rn2.BrickColor=RightNekoColor
  2579. rn2.formFactor=3
  2580. rn2.Size=Vector3.new(1.2,.4,1.2)
  2581. rn2.CanCollide=false
  2582. rn2:breakJoints''
  2583. local rn2w=Instance.new("Weld",rn2)
  2584. rn2w.Part0=rn2
  2585. rn2w.Part1=rarm
  2586. rn2w.C0=CFrame.new(0,-.1,0)
  2587.  
  2588. local rnbell=Instance.new("Part",RightNeko)
  2589. rnbell.Name="RightBell"
  2590. rnbell.Material="SmoothPlastic"
  2591. rnbell.TopSurface=10
  2592. rnbell.BottomSurface=10
  2593. rnbell.LeftSurface=10
  2594. rnbell.RightSurface=10
  2595. rnbell.FrontSurface=10
  2596. rnbell.BackSurface=10
  2597. rnbell.BrickColor=BrickColor.new("Institutional white")
  2598. rnbell.Reflectance=.6
  2599. rnbell.formFactor=3
  2600. rnbell.Size=Vector3.new(.45,.45,.45)
  2601. rnbell.CanCollide=false
  2602. rnbell:breakJoints''
  2603. local rnbellw=Instance.new("Weld",rnbell)
  2604. rnbellw.Part0=rnbell
  2605. rnbellw.Part1=rarm
  2606. rnbellw.C0=CFrame.new(0,.3,.65)
  2607. local rnbellm=Instance.new("SpecialMesh",rnbell)
  2608. rnbellm.MeshType="Sphere"
  2609.  
  2610. local rnbf=Instance.new("PointLight",rnbell)
  2611. rnbf.Shadows=true
  2612. rnbf.Range=15
  2613. rnbf.Brightness=0
  2614.  
  2615. local rnding=Instance.new("Sound",rnbell)
  2616. rnding.SoundId="http://www.roblox.com/asset?id=138134386"
  2617. rnding.Volume=.2
  2618.  
  2619. local rn3=Instance.new("Part",RightNeko)
  2620. rn3.Name="RightHead"
  2621. rn3.Material="SmoothPlastic"
  2622. rn3.TopSurface=10
  2623. rn3.BottomSurface=10
  2624. rn3.LeftSurface=10
  2625. rn3.RightSurface=10
  2626. rn3.FrontSurface=10
  2627. rn3.BackSurface=10
  2628. rn3.BrickColor=RightNekoColor
  2629. rn3.formFactor=3
  2630. rn3.Size=Vector3.new(1.575,1.65,1.575)
  2631. rn3.CanCollide=false
  2632. rn3:breakJoints''
  2633. local rn3w=Instance.new("Weld",rn3)
  2634. rn3w.Part0=rn3
  2635. rn3w.Part1=rarm
  2636. rn3w.C0=CFrame.new(0,.95,0)
  2637. local rn3m=Instance.new("SpecialMesh",rn3)
  2638. rn3m.MeshType="Sphere"
  2639.  
  2640. local rnface=Instance.new("Decal",rn3)
  2641. rnface.Texture="http://www.roblox.com/asset?id="..rightnekoface
  2642. rnface.Face="Bottom"
  2643.  
  2644. local rnpunch=Instance.new("Sound",rn3)
  2645. rnpunch.SoundId="http://www.roblox.com/asset?id=146163534"
  2646. rnpunch.Volume=.3
  2647.  
  2648. rn3.Touched:connect(function(hit)
  2649. if hit and swing=="Right" and crawling and armmovement and crawldig then
  2650. local j=2
  2651. for jx=-j,j,4 do
  2652. for jy=-j,j,4 do
  2653. for jz=-j,j,4 do
  2654. local spot=workspace.Terrain:WorldToCell(rn3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  2655. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  2656. end
  2657. end
  2658. end
  2659. end
  2660. coroutine.wrap(function()
  2661. if hit and swing=="Right" and armmovement then
  2662. coroutine.resume(coroutine.create(function()
  2663. local j=2
  2664. for jx=-j,j,4 do
  2665. for jy=-j,j,4 do
  2666. for jz=-j,j,4 do
  2667. local spot=workspace.Terrain:WorldToCell(rn3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  2668. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  2669. end
  2670. end
  2671. end
  2672. end))
  2673. if hit.Parent then
  2674. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
  2675. local hawm=hit.Parent and hyoom and hit.Parent.Parent
  2676. if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and not hitdb then
  2677. hitdb=true
  2678. local nyaa=Instance.new("Sound",rn3)
  2679. nyaa.SoundId="http://www.roblox.com/asset?id="..Meows[math.random(1,#Meows)]
  2680. nyaa:Play''
  2681. rnpunch:Play''
  2682. game:service'Debris':AddItem(nyaa,2)
  2683. if hyoom.Parent and hyoom.Parent:findFirstChild("Torso") then
  2684. local asd=Instance.new("BodyVelocity",hyoom.Parent.Torso)
  2685. asd.maxForce=Vector3.new(1/0,1/0,1/0)
  2686. asd.velocity=((rn3.CFrame.p-hyoom.Parent.Torso.CFrame.p).unit*-20)+Vector3.new(0,10,0)
  2687. game:service'Debris':AddItem(asd,.2)
  2688. end
  2689. hyoom.Sit=true
  2690. if crawling then
  2691. hyoom.Health=hyoom.Health-(math.random(15,20)*(hyoom.MaxHealth/100))
  2692. wait(.5)
  2693. hitdb=false
  2694. else
  2695. hyoom.Health=hyoom.Health-(math.random(20,40)*(hyoom.MaxHealth/100))
  2696. wait(1)
  2697. hitdb=false
  2698. end
  2699. end
  2700. end
  2701. end
  2702. end)()
  2703. end)
  2704.  
  2705. local rn4=Instance.new("Part",RightNeko)
  2706. rn4.Name="RightHandle"
  2707. rn4.Material="SmoothPlastic"
  2708. rn4.TopSurface=10
  2709. rn4.BottomSurface=10
  2710. rn4.LeftSurface=10
  2711. rn4.RightSurface=10
  2712. rn4.FrontSurface=10
  2713. rn4.BackSurface=10
  2714. rn4.BrickColor=RightNekoColor
  2715. rn4.formFactor=3
  2716. rn4.Size=Vector3.new(1.575,.2,1.575)
  2717. rn4.CanCollide=false
  2718. rn4:breakJoints''
  2719. local rn4w=Instance.new("Weld",rn4)
  2720. rn4w.Part0=rn4
  2721. rn4w.Part1=rn3
  2722. rn4w.C0=CFrame.new(0,-.75,.15)*CFrame.Angles(math.rad(90),0,0)
  2723. local rn4m=Instance.new("SpecialMesh",rn4)
  2724. rn4m.Scale=Vector3.new(1.2,1.2,1.2)
  2725. rn4m.MeshId="http://www.roblox.com/asset?id=1374148"
  2726. rn4m.TextureId="http://www.roblox.com/asset?id=1374132"
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738. local ln1=Instance.new("Part",LeftNeko)
  2739. ln1.Name="LeftHandle"
  2740. ln1.Material="SmoothPlastic"
  2741. ln1.TopSurface=10
  2742. ln1.BottomSurface=10
  2743. ln1.LeftSurface=10
  2744. ln1.RightSurface=10
  2745. ln1.FrontSurface=10
  2746. ln1.BackSurface=10
  2747. ln1.BrickColor=LeftNekoColor
  2748. ln1.formFactor=3
  2749. ln1.Size=Vector3.new(1.1,1.3,1.1)
  2750. ln1.CanCollide=false
  2751. ln1:breakJoints''
  2752. local ln1w=Instance.new("Weld",ln1)
  2753. ln1w.Part0=ln1
  2754. ln1w.Part1=larm
  2755. ln1w.C0=CFrame.new(0,.4,0)
  2756.  
  2757. local ln2=Instance.new("Part",LeftNeko)
  2758. ln2.Name="LeftHandle"
  2759. ln2.Material="SmoothPlastic"
  2760. ln2.TopSurface=10
  2761. ln2.BottomSurface=10
  2762. ln2.LeftSurface=10
  2763. ln2.RightSurface=10
  2764. ln2.FrontSurface=10
  2765. ln2.BackSurface=10
  2766. ln2.BrickColor=LeftNekoColor
  2767. ln2.formFactor=3
  2768. ln2.Size=Vector3.new(1.2,.4,1.2)
  2769. ln2.CanCollide=false
  2770. ln2:breakJoints''
  2771. local ln2w=Instance.new("Weld",ln2)
  2772. ln2w.Part0=ln2
  2773. ln2w.Part1=larm
  2774. ln2w.C0=CFrame.new(0,-.1,0)
  2775.  
  2776. local lnbell=Instance.new("Part",LeftNeko)
  2777. lnbell.Name="LeftBell"
  2778. lnbell.Material="SmoothPlastic"
  2779. lnbell.TopSurface=10
  2780. lnbell.BottomSurface=10
  2781. lnbell.LeftSurface=10
  2782. lnbell.RightSurface=10
  2783. lnbell.FrontSurface=10
  2784. lnbell.BackSurface=10
  2785. lnbell.BrickColor=BrickColor.new("Institutional white")
  2786. lnbell.Reflectance=.6
  2787. lnbell.formFactor=3
  2788. lnbell.Size=Vector3.new(.45,.45,.45)
  2789. lnbell.CanCollide=false
  2790. lnbell:breakJoints''
  2791. local lnbellw=Instance.new("Weld",lnbell)
  2792. lnbellw.Part0=lnbell
  2793. lnbellw.Part1=larm
  2794. lnbellw.C0=CFrame.new(0,.3,.65)
  2795. local lnbellm=Instance.new("SpecialMesh",lnbell)
  2796. lnbellm.MeshType="Sphere"
  2797.  
  2798. local lnbf=Instance.new("PointLight",lnbell)
  2799. lnbf.Shadows=true
  2800. lnbf.Range=15
  2801. lnbf.Brightness=0
  2802.  
  2803. local lnding=Instance.new("Sound",lnbell)
  2804. lnding.SoundId="http://www.roblox.com/asset?id=138134386"
  2805. lnding.Volume=.2
  2806.  
  2807. local ln3=Instance.new("Part",LeftNeko)
  2808. ln3.Name="LeftHead"
  2809. ln3.Material="SmoothPlastic"
  2810. ln3.TopSurface=10
  2811. ln3.BottomSurface=10
  2812. ln3.LeftSurface=10
  2813. ln3.RightSurface=10
  2814. ln3.FrontSurface=10
  2815. ln3.BackSurface=10
  2816. ln3.BrickColor=LeftNekoColor
  2817. ln3.formFactor=3
  2818. ln3.Size=Vector3.new(1.575,1.65,1.575)
  2819. ln3.CanCollide=false
  2820. ln3:breakJoints''
  2821. local ln3w=Instance.new("Weld",ln3)
  2822. ln3w.Part0=ln3
  2823. ln3w.Part1=larm
  2824. ln3w.C0=CFrame.new(0,.95,0)
  2825. local ln3m=Instance.new("SpecialMesh",ln3)
  2826. ln3m.MeshType="Sphere"
  2827.  
  2828. local lnface=Instance.new("Decal",ln3)
  2829. lnface.Texture="http://www.roblox.com/asset?id="..leftnekoface
  2830. lnface.Face="Bottom"
  2831.  
  2832.  
  2833. local lnpunch=Instance.new("Sound",ln3)
  2834. lnpunch.SoundId="http://www.roblox.com/asset?id=146163534"
  2835. lnpunch.Volume=.3
  2836.  
  2837. ln3.Touched:connect(function(hit)
  2838. if hit and swing=="Left" and crawling and armmovement and crawldig then
  2839. local j=2
  2840. for jx=-j,j,4 do
  2841. for jy=-j,j,4 do
  2842. for jz=-j,j,4 do
  2843. local spot=workspace.Terrain:WorldToCell(ln3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  2844. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  2845. end
  2846. end
  2847. end
  2848. end
  2849. coroutine.wrap(function()
  2850. if hit and swing=="Left" and armmovement then
  2851. coroutine.resume(coroutine.create(function()
  2852. local j=2
  2853. for jx=-j,j,4 do
  2854. for jy=-j,j,4 do
  2855. for jz=-j,j,4 do
  2856. local spot=workspace.Terrain:WorldToCell(ln3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  2857. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  2858. end
  2859. end
  2860. end
  2861. end))
  2862. if hit.Parent then
  2863. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
  2864. local hawm=hit.Parent and hyoom and hit.Parent.Parent
  2865. if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and not hitdb then
  2866.  
  2867. hitdb=true
  2868. local nyaa=Instance.new("Sound",rn3)
  2869. nyaa.SoundId="http://www.roblox.com/asset?id="..Meows[math.random(1,#Meows)]
  2870. nyaa:Play''
  2871. rnpunch:Play''
  2872. game:service'Debris':AddItem(nyaa,3)
  2873. if hyoom.Parent:findFirstChild("Torso") then
  2874. local asd=Instance.new("BodyVelocity",hyoom.Parent.Torso)
  2875. asd.maxForce=Vector3.new(1/0,1/0,1/0)
  2876. asd.velocity=((ln3.CFrame.p-hyoom.Parent.Torso.CFrame.p).unit*-20)+Vector3.new(0,10,0)
  2877. game:service'Debris':AddItem(asd,.2)
  2878. end
  2879. hyoom.Sit=true
  2880. if crawling then
  2881. hyoom.Health=hyoom.Health-(math.random(15,20)*(hyoom.MaxHealth/100))
  2882. wait(.5)
  2883. hitdb=false
  2884. else
  2885. hyoom.Health=hyoom.Health-(math.random(20,40)*(hyoom.MaxHealth/100))
  2886. wait(1)
  2887. hitdb=false
  2888. end
  2889. end
  2890. end
  2891. end
  2892. end)()
  2893. end)
  2894.  
  2895. local ln4=Instance.new("Part",LeftNeko)
  2896. ln4.Name="LeftHandle"
  2897. ln4.Material="SmoothPlastic"
  2898. ln4.TopSurface=10
  2899. ln4.BottomSurface=10
  2900. ln4.LeftSurface=10
  2901. ln4.RightSurface=10
  2902. ln4.FrontSurface=10
  2903. ln4.BackSurface=10
  2904. ln4.BrickColor=LeftNekoColor
  2905. ln4.formFactor=3
  2906. ln4.Size=Vector3.new(1.575,.2,1.575)
  2907. ln4.CanCollide=false
  2908. ln4:breakJoints''
  2909. local ln4w=Instance.new("Weld",ln4)
  2910. ln4w.Part0=ln4
  2911. ln4w.Part1=ln3
  2912. ln4w.C0=CFrame.new(0,-.75,.15)*CFrame.Angles(math.rad(90),0,0)
  2913. local ln4m=Instance.new("SpecialMesh",ln4)
  2914. ln4m.Scale=Vector3.new(1.2,1.2,1.2)
  2915. ln4m.MeshId="http://www.roblox.com/asset?id=1374148"
  2916. ln4m.TextureId="http://www.roblox.com/asset?id=59596104"
  2917.  
  2918.  
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924. maus.KeyDown:connect(function(kei)
  2925. if string.byte(kei)==48 and not otheranims and not sitting and not disabled then
  2926. runnin=true
  2927. end
  2928. if string.byte(kei)==48 and crawling and not sitting and not disabled then
  2929. crawldash=true
  2930. end
  2931. if kei=='w' then fldb.w=true end
  2932. if kei=='a' then fldb.a=true end
  2933. if kei=='s' then fldb.s=true end
  2934. if kei=='d' then fldb.d=true end
  2935.  
  2936.  
  2937. if string.byte(kei)==50 and not crawling then
  2938. if crouching then
  2939. otheranims=false
  2940. crouching=false
  2941. chr.Humanoid.WalkSpeed=18
  2942. elseif not crouching and not otheranims then
  2943. otheranims=true
  2944. crouching=true
  2945. anim="Crouching"
  2946. end
  2947. end
  2948.  
  2949. if kei=='j' and not otheranims and not armmovement and not disabled and not lit then
  2950. otheranims=true
  2951. anim="PreSuperJump"
  2952. chr.Humanoid.WalkSpeed=0
  2953. jumpcharge=true
  2954. end
  2955.  
  2956. if kei=='c' and not armmovement and not sitting and not disabled then
  2957. if (torso.Velocity*Vector3.new(1,0,1)).magnitude>=RunSpeed-2.5 and not otheranims and not crawling then
  2958. otheranims=true
  2959. anim="Sliding"
  2960. local tempvelocity=Instance.new('BodyVelocity',rutprt)
  2961. tempvelocity.Name="TemporaryVelocity"
  2962. tempvelocity.maxForce=Vector3.new(math.huge,0,math.huge)
  2963. tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed
  2964. coroutine.resume(coroutine.create(function()
  2965. local totesvelocity=RunSpeed
  2966. repeat
  2967. if (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude<=1 then otheranims=false tempvelocity:destroy''
  2968. elseif (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude>1 then
  2969. totesvelocity=totesvelocity-(2.5*(RunSpeed/100))
  2970. tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*totesvelocity
  2971. end
  2972. wait''
  2973. until tempvelocity.Parent==nil
  2974. end))
  2975. elseif (torso.Velocity*Vector3.new(1,0,1)).magnitude<=RunSpeed-2.5 then
  2976. if not crawling then otheranims=true anim='PreCrawl' wait'.2' crawling=true chr.Humanoid.WalkSpeed=8
  2977. elseif crawling then crawling=false otheranims=false chr.Humanoid.WalkSpeed=WlkSpeed end
  2978. end
  2979. end
  2980. end)
  2981. maus.KeyUp:connect(function(kei)
  2982. if string.byte(kei)==48 and not otheranims and not sitting and not disabled then
  2983. runnin=false
  2984. end
  2985. if string.byte(kei)==48 and crawling then
  2986. crawldash=false
  2987. end
  2988. if kei=='w' then fldb.w=false end
  2989. if kei=='a' then fldb.a=false end
  2990. if kei=='s' then fldb.s=false end
  2991. if kei=='d' then fldb.d=false end
  2992. if kei=="c" and rutprt:findFirstChild("TemporaryVelocity") and otheranims then
  2993. otheranims=false
  2994. rutprt["TemporaryVelocity"]:destroy''
  2995. end
  2996.  
  2997. if kei=='j' and otheranims and jumpcharge then
  2998. if running then chr.Humanoid.WalkSpeed=RunSpeed else chr.Humanoid.WalkSpeed=WlkSpeed end
  2999. chr.Humanoid.Jump=true
  3000. anim="SuperJump"
  3001. local aasdd=Instance.new("BodyVelocity",rutprt)
  3002. aasdd.maxForce=Vector3.new(0,1/0,0)
  3003. aasdd.velocity=Vector3.new(0,jumpheight,0)
  3004. game:service'Debris':AddItem(aasdd,.175)
  3005. jumpcharge=false
  3006. wait(.3)
  3007. otheranims=false
  3008. end
  3009. end)
  3010.  
  3011. maus.Button1Down:connect(function()
  3012. if not sitting and not disabled and not armmovement and equipped and crawling then
  3013. crawldig=true
  3014. armmovement=true
  3015. armanim="Digging"
  3016. end
  3017. if not otheranims and not sitting and not disabled and not armmovement and equipped then
  3018. armmovement=true
  3019. armanim=swing.."Swing1"
  3020. wait(.25)
  3021. armanim=swing.."Swing2"
  3022. if swing=="Right" then
  3023. rnding:Play()
  3024. coroutine.resume(coroutine.create(function()
  3025. wait(.65)
  3026. rnding:Stop()
  3027. end))
  3028. else
  3029. lnding:Play()
  3030. coroutine.resume(coroutine.create(function()
  3031. wait(.65)
  3032. lnding:Stop()
  3033. end))
  3034. end
  3035. wait(.3)
  3036. armmovement=false
  3037. if swing=="Right" then swing="Left"
  3038. else
  3039. swing="Right"
  3040. end
  3041. end
  3042. end)
  3043.  
  3044. maus.Button1Up:connect(function()
  3045. if armmovement and crawldig then
  3046. crawldig=false
  3047. armmovement=false
  3048. end
  3049. end)
  3050.  
  3051.  
  3052.  
  3053. chr.Humanoid.Changed:connect(function(chng)
  3054. if crouching or crawling or disabled then
  3055. if chng=='Jump' then
  3056. chr.Humanoid.Jump=false
  3057. end
  3058. end
  3059. end)
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.  
  3070.  
  3071.  
  3072.  
  3073.  
  3074. game:service'RunService'.RenderStepped:connect(function()
  3075. syne=syne+1
  3076. if not otheranims and not swimming then
  3077. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not dnc and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  3078. anim="Idling"
  3079.  
  3080. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-5 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  3081. anim="Walking"
  3082. dnc=false
  3083.  
  3084. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  3085. anim="Sprinting"
  3086. dnc=false
  3087.  
  3088. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  3089. anim='Jumping'
  3090. dnc=false
  3091.  
  3092. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  3093. anim='Falling'
  3094. dnc=false
  3095.  
  3096. end
  3097. end
  3098.  
  3099. if otheranims and crawling then
  3100. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then
  3101. anim="IdleCrawl"
  3102. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 12 and not chr.Humanoid.Jump then
  3103. anim="Crawling"
  3104. idled=false
  3105. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 12 and not chr.Humanoid.Jump then
  3106. anim="SpeedCrawling"
  3107. idled=false
  3108. end end
  3109.  
  3110. if anim~=lastanim then runtime=0 syne=0 end
  3111. lastanim=anim
  3112. idlesineinc=35
  3113. if anim=="Idling" then
  3114. if not armmovement and not equipped then
  3115. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(10)),.1)
  3116. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-10)),.1)
  3117. elseif not armmovement and equipped then
  3118. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.4+math.cos(syne/idlesineinc)/25,.1)*CFrame.Angles(math.rad(105),math.rad(-15),math.rad(-20)),.1)
  3119. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.1,.20+math.cos(syne/idlesineinc)/25,-.65)*CFrame.Angles(math.rad(90),math.rad(10),math.rad(15)),.1)
  3120. end
  3121. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  3122. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  3123. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  3124. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  3125. end
  3126.  
  3127. if anim=="Walking" then
  3128. if not armmovement and not equipped then
  3129. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(8)),.1)
  3130. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(8)),.1)
  3131. elseif not armmovement and equipped then
  3132. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.425,-.2)*CFrame.Angles(math.rad(40),math.rad(10),math.rad(5)),.1)
  3133. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.425,-.2)*CFrame.Angles(math.rad(40),math.rad(-10),math.rad(-5)),.1)
  3134. end
  3135.  
  3136. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8-math.sin(syne/6)/8,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
  3137. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8+math.sin(syne/6)/8,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
  3138. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
  3139. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.2+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/8,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
  3140. end
  3141.  
  3142. if anim=="Sprinting" then
  3143. if not armmovement and not equipped then
  3144. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,math.cos(syne/4)/15)*CFrame.Angles(-math.cos(syne/2.5)/5+math.rad(-55),0,math.rad(12.5)),.1)
  3145. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,-math.cos(syne/4)/15)*CFrame.Angles(-math.cos(syne/2.5)/5+math.rad(-55),0,math.rad(-12.5)),.1)
  3146. elseif not armmovement and equipped then
  3147. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.5,-.1)*CFrame.Angles(math.rad(-5),math.rad(10),math.rad(35)),.1)
  3148. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.5,-.1)*CFrame.Angles(math.rad(-5),math.rad(-10),math.rad(-35)),.1)
  3149. end
  3150. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55+math.cos(syne/4)/20,-1.5-math.sin(syne/4)/2.5,-(math.cos(syne/4)*2.5)-.05)*CFrame.Angles(math.cos(syne/4)*2+math.rad(-10),0,math.rad(-2.5)),.1)
  3151. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55-math.cos(syne/4)/20,-1.5+math.sin(syne/4)/2.5,math.cos(syne/4)*2.5-.05)*CFrame.Angles(-(math.cos(syne/4)*2)+math.rad(-10),0,math.rad(2.5)),.1)
  3152. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.55+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(20),-math.cos(syne/2.5)/8,0),.1)
  3153. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.cos(syne/2.5)/8+math.rad(-25),math.cos(syne/2.5)/8,math.cos(syne/4)/15+math.sin(rutprt.RotVelocity.y/2)/4),.1)
  3154. end
  3155.  
  3156. if anim=="Jumping" then
  3157. if not armmovement then
  3158. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  3159. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  3160. end
  3161. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  3162. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  3163. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  3164. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
  3165. end
  3166.  
  3167. if anim=="Falling" then
  3168. if not armmovement then
  3169. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  3170. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  3171. end
  3172. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  3173. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  3174. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
  3175. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
  3176. end
  3177.  
  3178. if anim=="Sliding" then
  3179. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1)
  3180. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  3181. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  3182. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.95,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.1)
  3183. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(-60),0),.1)
  3184. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(45),math.rad(85),math.rad(0)),.1)
  3185. end
  3186.  
  3187.  
  3188. if armmovement then
  3189. if armanim=="RightSwing1" then
  3190. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.25+math.cos(syne/idlesineinc)/25,1.2)*CFrame.Angles(math.rad(95),math.rad(-15),math.rad(15)),.2)
  3191. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.35+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(45),math.rad(10),math.rad(10)),.2)
  3192. end
  3193. if armanim=="RightSwing2" then
  3194. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.8,.3+math.cos(syne/idlesineinc)/25,-.8)*CFrame.Angles(math.rad(95),math.rad(15),math.rad(-15)),.5)
  3195. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.45+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(45),math.rad(10),math.rad(-10)),.5)
  3196. end
  3197. if armanim=="LeftSwing1" then
  3198. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.25+math.cos(syne/idlesineinc)/25,1.2)*CFrame.Angles(math.rad(95),math.rad(10),math.rad(15)),.2)
  3199. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.35+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(45),math.rad(10),math.rad(10)),.2)
  3200. end
  3201. if armanim=="LeftSwing2" then
  3202. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.8,.3+math.cos(syne/idlesineinc)/25,-.8)*CFrame.Angles(math.rad(95),math.rad(-15),math.rad(15)),.5)
  3203. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.45+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(45),math.rad(10),math.rad(10)),.5)
  3204. end
  3205. if armanim=="Digging" then
  3206. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.25, 1.1+math.cos(syne), -.1)* CFrame.Angles(math.rad(179), 0, math.rad(-25)), 0.5)
  3207. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.25, 1.1-(math.cos(syne)), -.1) * CFrame.Angles(math.rad(179), 0, math.rad(25)), 0.5)
  3208. end
  3209. end
  3210.  
  3211. if jumpcharge and jumpheight<150 then jumpheight=jumpheight+3 elseif not jumpcharge then jumpheight=20 end
  3212.  
  3213. if anim=="PreSuperJump" then
  3214. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.06)
  3215. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.06)
  3216. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,.3)*CFrame.Angles(math.rad(-40),0,math.rad(-2.5)),.06)
  3217. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.6,-.65)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.06)
  3218. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(40),0,0),.06)
  3219. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.6,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.06)
  3220. end
  3221.  
  3222. if anim=="SuperJump" then
  3223. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(20)),.1)
  3224. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(-20)),.1)
  3225. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(-2.5)),.2)
  3226. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(2.5)),.2)
  3227. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(30),0,0),.1)
  3228. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  3229. chr.Humanoid.Jump=true
  3230. end
  3231.  
  3232. if anim=="Crouching" then
  3233. if not armmovement then
  3234. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.4, .35, -.225) * CFrame.Angles(math.rad(70), 0, math.rad(-15)), 0.075)
  3235. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4, .35, -.225) * CFrame.Angles(math.rad(70), 0, math.rad(15)), 0.075)
  3236. end
  3237. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -.55, -1) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.075)
  3238. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.65, -1.275) * CFrame.Angles(math.rad(60), 0, math.rad(-0)), 0.075)
  3239. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(5),0,0),.05)
  3240. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-2,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),0.075)
  3241. end
  3242.  
  3243. if anim=="PreCrawl" then
  3244. if not armmovement then
  3245. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.45, .75, -.15)* CFrame.Angles(math.rad(140), 0, math.rad(-25)), 0.15)
  3246. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.45, .75, -.15) * CFrame.Angles(math.rad(140), 0, math.rad(25)), 0.15)
  3247. end
  3248. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.15)
  3249. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(-0)), 0.15)
  3250. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,.25)*CFrame.Angles(math.rad(72.5),0,0),.15)
  3251. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-2.2,0)*CFrame.Angles(math.rad(-80),math.rad(0),math.rad(0)),0.15)
  3252. end
  3253.  
  3254. if crawling then
  3255.  
  3256.  
  3257.  
  3258. if anim=='Crawling' then
  3259. chr.Humanoid.WalkSpeed=CrawlSpeed-math.cos(syne/5)*5
  3260. if not armmovement then
  3261. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.25, 1-math.cos(syne/10)/2, -.35+math.cos(syne/10)/8) * CFrame.Angles(math.rad(155)+math.sin(syne/10)/9, 0, math.rad(-25)+math.cos(syne/10)/13),.175)
  3262. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.25, 1+math.cos(syne/10)/2, -.35-math.cos(syne/10)/8) * CFrame.Angles(math.rad(155)-math.sin(syne/10)/9, 0, math.rad(25)-math.cos(syne/10)/13), .175)
  3263. end
  3264. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.525, -1.5-math.cos(syne/10)/3, -.3+math.cos(syne/10)/10) * CFrame.Angles(math.rad(-5)-math.cos(syne/10)/9, 0, math.rad(0)-math.cos(syne/10)/15), .175)
  3265. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.525, -1.5+math.cos(syne/10)/3, -.3-math.cos(syne/10)/10) * CFrame.Angles(math.rad(-5)+math.cos(syne/10)/9, 0, math.rad(-0)-math.cos(syne/10)/15), 0.175)
  3266. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,math.cos(syne/30)/20+.25)*CFrame.Angles(math.cos(syne/30)/25+math.rad(75),math.rad(4),0),.175)
  3267. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-2.2,0)*CFrame.Angles(math.rad(-82)+math.cos(syne/5)/12,math.cos(syne/10)/15,math.cos(syne/5)/15),0.15)
  3268. end
  3269.  
  3270. if anim=='SpeedCrawling' then
  3271. if not armmovement then
  3272. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.25, 1-math.cos(syne/5)/2, -.35+math.cos(syne/5)/12) * CFrame.Angles(math.rad(155)-math.cos(syne/5)/14, 0, math.rad(-25)+math.cos(syne/5)/13),.175)
  3273. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.25, 1+math.cos(syne/5)/2, -.35-math.cos(syne/5)/12) * CFrame.Angles(math.rad(155)+math.cos(syne/5)/14, 0, math.rad(25)-math.cos(syne/5)/13), .175)
  3274. end
  3275. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.525, -1.5-math.cos(syne/5)/3, -.3+math.cos(syne/5)/10) * CFrame.Angles(math.rad(-5)-math.cos(syne/5)/9, 0, math.rad(0)-math.cos(syne/5)/15), .175)
  3276. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.525, -1.5+math.cos(syne/5)/3, -.3-math.cos(syne/5)/10) * CFrame.Angles(math.rad(-5)+math.cos(syne/5)/9, 0, math.rad(-0)-math.cos(syne/5)/15), 0.175)
  3277. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,math.cos(syne/15)/20+.25)*CFrame.Angles(math.cos(syne/15)/25+math.rad(75),math.rad(4),0),.175)
  3278. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-2.2,0)*CFrame.Angles(math.rad(-82)+math.cos(syne/2.5)/12,math.cos(syne/5)/15,math.cos(syne/2.5)/15),0.15)
  3279. end
  3280. end
  3281.  
  3282. if crouching then chr.Humanoid.WalkSpeed=0 end
  3283.  
  3284. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  3285.  
  3286. if runnin and not disabled and not otheranims and not sitting then
  3287. chr.Humanoid.WalkSpeed=RunSpeed
  3288. elseif not runnin and not disabled and not otheranims and not sitting then
  3289. chr.Humanoid.WalkSpeed=WlkSpeed
  3290. elseif not runnin and not disabled and otheranims and crawling and not crawldash and not sitting then
  3291. chr.Humanoid.WalkSpeed=CrawlSpeed
  3292. elseif not runnin and not disabled and otheranims and crawling and crawldash and not sitting then
  3293. chr.Humanoid.WalkSpeed=CrawlDashSpeed
  3294. end
  3295. end)
  3296.  
  3297. local hp=Instance.new("HopperBin",plr.Backpack)
  3298. hp.Name="Neko Neko Knuckles"
  3299. hp.Selected:connect(function()
  3300. equipped=true
  3301. end)
  3302. hp.Deselected:connect(function()
  3303. equipped=false
  3304. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement