Advertisement
Guest User

Untitled

a guest
Feb 20th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --------------------------This is an Official script from Duelist--------------------------
  2. ---{-------------------- -------------------}---
  3. ---{-------------------- / \ -------------------}---
  4. ---{-------------------- II -------------------}---
  5. ---{-------------------- II -------------------}---
  6. ---{-------------------- II -------------------}---
  7. ---{-------------------- A========A -------------------}---
  8. ---{-------------------- II -------------------}---
  9. ---{-------------------- II -------------------}---
  10. ---{-------------------- W -------------------}---
  11. -------------------------------------------------------------------------------------------------------------
  12. --i used stravants Beautifier so it might look a bit wonky
  13. Meshes = {
  14. Blast = '20329976',
  15. Crown = '1323306',
  16. Ring = '3270017',
  17. Claw = '10681506',
  18. Crystal = '9756362',
  19. Coil = '9753878',
  20. Cloud = '1095708',
  21. }
  22. m = game:service'Players'.LocalPlayer:GetMouse()
  23. game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  24. local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  25. txtfag.Adornee = Hello
  26. txtfag.Name = "Hi there :3"
  27. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  28. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  29. local textfag = Instance.new("TextLabel", txtfag)
  30. textfag.Size = UDim2.new(6, 0, 1, 0)
  31. textfag.FontSize = "Size8"
  32. textfag.TextScaled = true
  33. textfag.TextTransparency = 0
  34. textfag.BackgroundTransparency = 1
  35. textfag.TextTransparency = 0
  36. textfag.TextStrokeTransparency = 0
  37. textfag.Font = "Cartoon"
  38. textfag.TextStrokeColor3 = Color3.fromRGB(34,139,34)
  39. textfag.Text = "Edit by GAMEKILLERTOY =3 (For me)"
  40. wait(2)
  41. textfag.Text = "Let's Drag On!"
  42. wait(1.7)
  43. textfag.Text = "Forest The Lil' Dragon"
  44. m.KeyDown:connect(function(k)
  45. if k == "1" then
  46. textfag.Text = "Hi there! Im Forest! =3"
  47. wait(2.9)
  48. textfag.Text = " Forest The Lil' Dragon"
  49. end
  50. end)
  51. m.KeyDown:connect(function(k)
  52. if k == "2" then
  53. textfag.Text = "L0L"
  54. wait(2.9)
  55. textfag.Text = " Forest The Lil' Dragon"
  56. end
  57. end)
  58. m.KeyDown:connect(function(k)
  59. if k == "3" then
  60. textfag.Text = "w0t"
  61. wait(2.9)
  62. textfag.Text = " Forest The Lil' Dragon"
  63. end
  64. end)
  65.  
  66. m.KeyDown:connect(function(k)
  67. if k == "4" then
  68. textfag.Text = "Yeet!"
  69. wait(2.9)
  70. textfag.Text = " Forest The Lil' Dragon"
  71. end
  72. end)
  73. m.KeyDown:connect(function(k)
  74. if k == "5" then
  75. textfag.Text = "Nah..."
  76. wait(2.9)
  77. textfag.Text = " Forest The Lil' Dragon"
  78. end
  79. end)
  80. m.KeyDown:connect(function(k)
  81. if k == "6" then
  82. textfag.Text = "HOLY WINGZ!"
  83. wait(2.9)
  84. textfag.Text = " Forest The Lil' Dragon"
  85. end
  86. end)
  87. m.KeyDown:connect(function(k)
  88. if k == "7" then
  89. textfag.Text = "Rawr! <3"
  90. wait(1.9)
  91. textfag.Text = " Forest The Lil' Dragon"
  92. end
  93. end)
  94. m.KeyDown:connect(function(k)
  95. if k == "m" then
  96. textfag.Text = "WHAT THE..."
  97. wait(2.9)
  98. textfag.Text = " Forest The Lil' Dragon"
  99. end
  100. end)
  101. m.KeyDown:connect(function(k)
  102. if k == "n" then
  103. textfag.Text = "Im sooooo cute! =3"
  104. wait(2.9)
  105. textfag.Text = " Forest The Lil' Dragon"
  106. end
  107. end)
  108. m.KeyDown:connect(function(k)
  109. if k == "8" then
  110. textfag.Text = "Wew im c00l o.O"
  111. wait(2.2)
  112. textfag.Text = " Forest The Lil' Dragon"
  113. end
  114. end)
  115. m.KeyDown:connect(function(k)
  116. if k == "b" then
  117. textfag.Text = "Haha so funny..."
  118. wait(2.9)
  119. textfag.Text = " Forest The Lil' Dragon"
  120. end
  121. end)
  122. m.KeyDown:connect(function(k)
  123. if k == "9" then
  124. textfag.Text = "Song time! =3"
  125. wait(1.7)
  126. textfag.Text = " Forest The Lil' Dragon"
  127.  
  128. --ffghjkgh67
  129.  
  130. --Script Builder Radio!
  131.  
  132. local Player = game.Players.LocalPlayer
  133. local c = Player.Character
  134. if not c or not c.Parent then
  135. c = Player.CharacterAdded:wait()
  136. end
  137.  
  138. wait(1)
  139.  
  140. local radio = Instance.new("Part",c)
  141. radio.Name = "Radio"
  142. radio.CanCollide = True
  143. BrickColor = Color3.fromRGB(34,139,34)
  144. radio.Anchored = true
  145. radio.FormFactor = "Custom"
  146. radio.Size = Vector3.new(4, 4, 4)
  147. radio.CFrame = c.Torso.CFrame * CFrame.new(0,3,0)
  148. radio.CFrame = radio.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0)
  149. radio.CFrame = radio.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0)
  150. local mesh = Instance.new("SpecialMesh",radio)
  151. mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  152.  
  153. local weld = Instance.new("Weld",radio)
  154. weld.Part0 = c.Torso
  155. weld.Part1 = radio
  156. weld.C0 = c.Torso.CFrame:inverse()
  157. weld.C1 = radio.CFrame:inverse()
  158. radio.Anchored = false
  159.  
  160. local sound = Instance.new("Sound",radio)
  161. sound.Name = "Music"
  162. sound.Looped = true
  163. sound.Volume = 1
  164. Instance.new("DistortionSoundEffect", sound).Level = 0
  165.  
  166. local gui = Instance.new("ScreenGui",Player.PlayerGui)
  167.  
  168. local frame = Instance.new("Frame",gui)
  169. frame.BackgroundColor3 = Color3.new(58/255,58/255,58/255)
  170. frame.BorderColor3 = Color3.new(0,0,0)
  171. frame.BorderSizePixel = 2
  172. frame.Size = UDim2.new(0,300,0,200)
  173. frame.Position = UDim2.new(0,20,.5,-100)
  174.  
  175. local playb = Instance.new("TextButton",frame)
  176. playb.BackgroundColor3 = Color3.new(0,85/255,0)
  177. playb.BorderColor3 = Color3.new(0,0,0)
  178. playb.BorderSizePixel = 2
  179. playb.Size = UDim2.new(.3,0,.2,0)
  180. playb.Position = UDim2.new(.1,0,.7,0)
  181. playb.Text = "Pl0y"
  182. playb.TextColor3 = Color3.new(255,255,255)
  183. playb.TextScaled = true
  184.  
  185. local stopb = Instance.new("TextButton",frame)
  186. stopb.BackgroundColor3 = Color3.new(170/255,0,0)
  187. stopb.BorderColor3 = Color3.new(0,0,0)
  188. stopb.BorderSizePixel = 2
  189. stopb.Size = UDim2.new(.3,0,.2,0)
  190. stopb.Position = UDim2.new(.6,0,.7,0)
  191. stopb.Text = "St0p"
  192. stopb.TextColor3 = Color3.new(255,255,255)
  193. stopb.TextScaled = true
  194.  
  195. local stipb = Instance.new("TextBox",frame)
  196. stipb.BackgroundColor3 = Color3.new(0,0,127/255)
  197. stipb.BorderColor3 = Color3.new(0,0,0)
  198. stipb.BorderSizePixel = 2
  199. stipb:TweenSize(UDim2.new(.5,0,.25,0),"Out","Quad",1,true)
  200. stipb.Position = UDim2.new(.25,0,.3,0)
  201. stipb.Text = "SoundId"
  202. stipb.TextColor3 = Color3.new(255,255,255)
  203. stipb.TextScaled = true
  204.  
  205. local label = Instance.new("TextLabel",frame)
  206. label.Text = "Pasted in by GAMEKILLERTOY! Also Used by Meti2000"
  207. label.TextScaled = true
  208. label:TweenSize(UDim2.new(1,0,.2,0))
  209. label.TextColor3 = Color3.new(255,255,255)
  210. label.BackgroundTransparency = 1
  211. --stipb.Size = UDim2.new(1,0,.2,0)
  212.  
  213. local Playing = false
  214.  
  215. stipb.Changed:connect(function()
  216. sound.SoundId = "rbxassetid://" .. stipb.Text
  217. end)
  218.  
  219. playb.MouseButton1Click:connect(function()
  220. sound:Play()
  221. Playing = true
  222. end)
  223.  
  224. stopb.MouseButton1Click:connect(function()
  225. sound:Stop()
  226. Playing = false
  227. end)
  228.  
  229. while true do
  230. if Playing then
  231. mesh.Scale = Vector3.new(2.1,2.1,2.1)
  232. wait(.2)
  233. mesh.Scale = Vector3.new(2,2,2)
  234. end
  235. wait(.2)
  236. end
  237. wait(3)
  238. textfag.Text = game.Players.LocalPlayer.Character.Name.." Forest The Lil' Dragon"
  239.  
  240. end
  241. end)
  242. clangsounds = {
  243. '199149119',
  244. '199149109',
  245. '199149072',
  246. '199149025',
  247. '199148971'
  248. }
  249. hitsounds = {
  250. '199149137',
  251. '199149186',
  252. '199149221',
  253. '199149235',
  254. '199149269',
  255. '199149297'
  256. }
  257. blocksounds = {
  258. '199148933',
  259. '199148947'
  260. }
  261. armorsounds = {
  262. '199149321',
  263. '199149338',
  264. '199149367',
  265. '199149409',
  266. '199149452'
  267. }
  268. woosh = {
  269. Heavy1 = '320557353',
  270. Heavy2 = '320557382',
  271. Heavy3 = '320557453',
  272. Heavy4 = '199144226',
  273. Heavy5 = '203691447',
  274. Heavy6 = '203691467',
  275. Heavy7 = '203691492',
  276. Light1 = '320557413',
  277. Light2 = '320557487',
  278. Light3 = '199145095',
  279. Light4 = '199145146',
  280. Light5 = '199145887',
  281. Light6 = '199145913',
  282. Light7 = '199145841',
  283. Medium1 = '320557518',
  284. Medium2 = '320557537',
  285. Medium3 = '320557563',
  286. Medium4 = '199145204'
  287. }
  288. music = {--i like music a lot
  289. Breaking = '179281636',
  290. FinalReckoning = '357375770',
  291. NotDeadYet = '346175829',
  292. Intense = '151514610',
  293. JumpP1 = '160536628',
  294. JumpP2 = '60536666',
  295. SonsOfWar = '158929777',
  296. WrathOfSea = '165520893',
  297. ProtecTorsofEarth = '160542922',
  298. SkyTitans = '179282324',
  299. ArchAngel = '144043274',
  300. Anticipation = '168614529',
  301. TheMartyred = '186849544',
  302. AwakeP1 = '335631255',
  303. AwakeP2 = '335631297',
  304. ReadyAimFireP1 = '342455387',
  305. ReadyAimFireP2 = '342455399',
  306. DarkLordP1 = '209567483',
  307. DarkLordP2 = '209567529',
  308. BloodDrainP1 = '162914123',
  309. BloodDrainP2 = '162914203',
  310. DanceOfSwords = '320473062',
  311. Opal = '286415112',
  312. Calamity = '190454307',
  313. Hypnotica = '155968128',
  314. Nemisis = '160453802',
  315. Breathe = '276963903',
  316. GateToTheRift = '270655227',
  317. InfernalBeserking = '244143404',
  318. Trust = '246184492',
  319. AwakeningTheProject = '245121821',
  320. BloodPain = '242545577',
  321. Chaos = '247241693',
  322. NightmareFictionHighStake = '248062278',
  323. TheWhiteWeapon = '247236446',
  324. Gale = '256851659',
  325. ImperialCode = '256848383',
  326. Blitzkrieg = '306431437',
  327. RhapsodyRage = '348690251',
  328. TheGodFist = '348541501',
  329. BattleForSoul = '321185592',
  330. TheDarkColossus = '305976780',
  331. EmpireOfAngels = '302580452',
  332. Kronos = '302205297',
  333. Exorcist = '299796054',
  334. CrimsonFlames = '297799220',
  335. UltimatePower = '295753229',
  336. DrivingInTheDark = '295753229',
  337. AscendToPower = '293860654',
  338. GodOfTheSun = '293612495',
  339. DarkRider = '293861765',
  340. Vengeance = '293375555',
  341. SoundOfWar = '293376196',
  342. HellsCrusaders = '293012202',
  343. Legend = '293011823',
  344. RisingSouls = '290524959'
  345. }
  346. misc = {
  347. GroundSlam = '199145477',
  348. LaserSlash = '199145497',
  349. RailGunFire = '199145534',
  350. Charge1 = '199145659',
  351. Charge2 = '169380469',
  352. Charge3 = '169380479',
  353. EmptyGun = '203691822',
  354. GunShoot = '203691837',
  355. Stomp1 = '200632875',
  356. Stomp2 = '200632561',
  357. TelsaCannonCharge = '169445572',
  358. TelsaCannonShoot = '169445602',
  359. AncientHymm = '245313442'
  360. }
  361. wait(1 / 60)
  362. local Player = game.Players.localPlayer
  363. local Character = Player.Character
  364. local Humanoid = Character.Humanoid
  365. local mouse = Player:GetMouse()
  366. local m = Instance.new('Model', Character)
  367. m.Name = "WeaponModel"
  368. local LeftArm = Character["Left Arm"]
  369. local RightArm = Character["Right Arm"]
  370. local LeftLeg = Character["Left Leg"]
  371. local RightLeg = Character["Right Leg"]
  372. local Head = Character.Head
  373. local Torso = Character.Torso
  374. local cam = game.Workspace.CurrentCamera
  375. local RootPart = Character.HumanoidRootPart
  376. local RootJoint = RootPart.RootJoint
  377. --cam.CameraSubject = Head
  378. local equipped = false
  379. local attack = false
  380. local Anim = 'Idle'
  381. local idle = 0
  382. local sprint = false
  383. local battlestance = false
  384. local attacktype = 1
  385. local state = 'none'
  386. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  387. local velocity = RootPart.Velocity.y
  388. local sine = 0
  389. local change = 1
  390. local on = false
  391. local grabbed = false
  392. local skill1 = false
  393. local skill2 = false
  394. local skill3 = false
  395. local skill4 = false
  396. local cooldown1 = 0
  397. local cooldown2 = 0
  398. local cooldown3 = 0
  399. local cooldown4 = 0
  400. local co1 = 10--how long it will take for skill to cooldown
  401. local co2 = 15
  402. local co3 = 15
  403. local co4 = 25
  404. local inputserv = game:GetService('UserInputService')
  405. local typing = false
  406. local crit = false
  407. local critchance = 2--critical chance percentage
  408. local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage
  409. local critdamageaddmax = 7--maximum amount
  410. local maxstamina = 100--max amount of stamina
  411. local stamina = 0--stamina you start out with
  412. local skill1stam = 10--how much stamina is needed for a skill
  413. local skill2stam = 10
  414. local skill3stam = 20
  415. local skill4stam = 30
  416. local recovermana = 3--how much mana per second
  417. local defensevalue = 1--how much defense this character has
  418. local speedvalue = 1--how much speed this character has
  419. --speed is 16*speedvalue
  420. local mindamage = 5--self explanatory
  421. local maxdamage = 7--self explanatory
  422. local damagevalue = 1--how much damage this character has
  423. --damage is math.random(mindamage,maxdamage)*damagevalue
  424. --damage(hit, mindamage, maxdamage, 1, 1, RootPart)
  425. --asd
  426. local cn = CFrame.new-- make things easier :)
  427. local mr = math.rad
  428. local angles = CFrame.Angles
  429. local ud = UDim2.new
  430. local c3 = Color3.new
  431. local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
  432. --asd
  433. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  434. Humanoid.Animator:Destroy()
  435.  
  436. --Angles For RootJoint `~`
  437. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  438. --Save Shoulders/Hips
  439. RSH, LSH = nil, nil
  440. RHS, LHS = nil, nil
  441. --Shoulders
  442. RW = Instance.new("Weld")
  443. LW = Instance.new("Weld")
  444. --Hips
  445. RH = Instance.new("Weld")
  446. LH = Instance.new("Weld")
  447. --
  448. Player = Player
  449. ch = Character
  450. LHS = Torso["Left Hip"]
  451. RHS = Torso["Right Hip"]
  452. RSH = ch.Torso["Right Shoulder"]
  453. LSH = ch.Torso["Left Shoulder"]
  454. --
  455. RSH.Parent = nil
  456. LSH.Parent = nil
  457. --
  458. LHS.Parent = nil
  459. RHS.Parent = nil
  460. --
  461. RW.Name = "RW"
  462. RW.Part0 = ch.Torso
  463. RW.C0 = cn(1.5, 0.5, 0)
  464. RW.C1 = cn(0, 0.5, 0)
  465. RW.Part1 = ch["Right Arm"]
  466. RW.Parent = ch.Torso
  467. --
  468. LW.Name = "LW"
  469. LW.Part0 = ch.Torso
  470. LW.C0 = cn(-1.5, 0.5, 0)
  471. LW.C1 = cn(0, 0.5, 0)
  472. LW.Part1 = ch["Left Arm"]
  473. LW.Parent = ch.Torso
  474. --
  475. LH.Name = "LH"
  476. LH.Part0 = ch.Torso
  477. LH.C0 = cn(-0.5, -2, 0)
  478. LH.Part1 = ch["Left Leg"]
  479. LH.Parent = ch.Torso
  480. --
  481. RH.Name = "RH"
  482. RH.Part0 = ch.Torso
  483. RH.C0 = cn(0.5, -2, 0)
  484. RH.Part1 = ch["Right Leg"]
  485. RH.Parent = ch.Torso
  486.  
  487. local Flying = false
  488.  
  489. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  490. if Flying == true then
  491. if jump == "Jump" then
  492. Humanoid.Jump = true
  493. end
  494. end
  495. end)
  496.  
  497. Humanoid.CameraOffset = Vector3.new(0, -2, 0)
  498.  
  499. Torso.Transparency = 1
  500. Head.Transparency = 1
  501. LeftLeg.Transparency = 1
  502. RightLeg.Transparency = 1
  503. LeftArm.Transparency = 1
  504. RightArm.Transparency = 1
  505.  
  506. for i,v in pairs (Character:GetChildren()) do
  507. if v.ClassName == "Handle"
  508. then v:Destroy()
  509. end
  510. end
  511.  
  512. for i,v in pairs (Character.Head:GetChildren()) do
  513. if v.ClassName == "Decal"
  514. then v:Destroy()
  515. end
  516. end
  517.  
  518. Character.Animate:Destroy()
  519.  
  520. local scrn = Instance.new('ScreenGui')
  521. scrn.Parent = nil
  522.  
  523. function makeframe(par, trans, pos, size, color)
  524. local frame = Instance.new('Frame', par)
  525. frame.BackgroundTransparency = trans
  526. frame.BorderSizePixel = 0
  527. frame.Position = pos
  528. frame.Size = size
  529. frame.BackgroundColor3 = color
  530. return frame
  531. end
  532. function makelabel(par, text)
  533. local label = Instance.new('TextLabel', par)
  534. label.BackgroundTransparency = 1
  535. label.Size = ud(1, 0, 1, 0)
  536. label.Position = ud(0, 0, 0, 0)
  537. label.TextColor3 = c3(255, 255, 255)
  538. label.TextStrokeTransparency = 0
  539. label.FontSize = Enum.FontSize.Size32
  540. label.Font = Enum.Font.SourceSansBold
  541. label.BorderSizePixel = 0
  542. label.TextScaled = true
  543. label.Text = text
  544. end
  545. framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  546. framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  547. framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  548. framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  549. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  550. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  551. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  552. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  553. text1 = makelabel(framesk1, '[3] Skill3')
  554. text2 = makelabel(framesk2, '[4] Skill4')
  555. text3 = makelabel(framesk3, "[2] Skill2")
  556. text4 = makelabel(framesk4, '[1] Skill1')
  557. staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1))
  558. staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1))
  559. staminatext = makelabel(staminabar, 'Mana')
  560. healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
  561. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255))
  562. healthtext = makelabel(healthbar, 'Health')
  563.  
  564. local stats = Instance.new('Folder', Character)
  565. stats.Name = 'Stats'
  566. local block = Instance.new('BoolValue', stats)
  567. block.Name = 'Block'
  568. block.Value = false
  569. local stun = Instance.new('BoolValue', stats)
  570. stun.Name = 'Stun'
  571. stun.Value = false
  572. local defense = Instance.new('NumberValue', stats)
  573. defense.Name = 'Defence'
  574. defense.Value = defensevalue
  575. local speed = Instance.new('NumberValue', stats)
  576. speed.Name = 'Speed'
  577. speed.Value = speedvalue
  578. local damagea = Instance.new('NumberValue', stats)
  579. damagea.Name = 'Damage'
  580. damagea.Value = damagevalue
  581.  
  582. function atktype(s, e)
  583. coroutine.resume(coroutine.create(function()
  584. attacktype = e
  585. wait(1.5)
  586. attacktype = s
  587. end))
  588. end
  589.  
  590. function turncrit()
  591. coroutine.resume(coroutine.create(function()
  592. print'CRITICAL!'
  593. crit = true
  594. wait(.25)
  595. crit = false
  596. end))
  597. end
  598.  
  599. function subtractstamina(k)
  600. if stamina >= k then
  601. stamina = stamina - k
  602. end
  603. end
  604.  
  605. function clerp(a, b, t)
  606. return a:lerp(b, t)
  607. end
  608.  
  609. function randomizer(percent)
  610. local randomized = math.random(0, 100)
  611. if randomized <= percent then
  612. return true
  613. elseif randomized >= percent then
  614. return false
  615. end
  616. end
  617.  
  618. local RbxUtility = LoadLibrary("RbxUtility")
  619. local Create = RbxUtility.Create
  620.  
  621. function RemoveOutlines(part)
  622. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  623. end
  624.  
  625. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  626. local Part = Create("Part"){
  627. formFactor = FormFactor,
  628. Parent = Parent,
  629. Reflectance = Reflectance,
  630. Transparency = Transparency,
  631. CanCollide = false,
  632. Locked = true,
  633. BrickColor = BrickColor.new(tostring(BColor)),
  634. Name = Name,
  635. Size = Size,
  636. Material = Material,
  637. }
  638. RemoveOutlines(Part)
  639. return Part
  640. end
  641.  
  642. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  643. local Msh = Create(Mesh){
  644. Parent = Part,
  645. Offset = OffSet,
  646. Scale = Scale,
  647. }
  648. if Mesh == "SpecialMesh" then
  649. Msh.MeshType = MeshType
  650. Msh.MeshId = MeshId
  651. end
  652. return Msh
  653. end
  654.  
  655. function CreateWeld(Parent, Part0, Part1, C0, C1)
  656. local Weld = Create("Weld"){
  657. Parent = Parent,
  658. Part0 = Part0,
  659. Part1 = Part1,
  660. C0 = C0,
  661. C1 = C1,
  662. }
  663. return Weld
  664. end
  665.  
  666. function rayCast(pos, dir, maxl, ignore)
  667. return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
  668. end
  669. --Effects
  670. function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
  671. local p = Instance.new('Part', par or workspace)
  672. p.CFrame = pos1
  673. p.Anchored = true
  674. p.Material = 'SmoothPlastic'
  675. p.CanCollide = false
  676. p.TopSurface = 0
  677. p.Size = Vector3.new(1, 1, 1)
  678. p.BottomSurface = 0
  679. p.Transparency = trans
  680. p.FormFactor = 'Custom'
  681. RemoveOutlines(p)
  682. local mesh = Instance.new('SpecialMesh', p)
  683. mesh.Scale = size
  684. if id ~= nil and type == nil then
  685. mesh.MeshId = 'rbxassetid://'..id
  686. elseif id == nil and type ~= nil then
  687. mesh.MeshType = type
  688. elseif id == nil and type == nil then
  689. mesh.MeshType = 'Brick'
  690. end
  691. coroutine.wrap(function()
  692. for i = 0, delay1, .1 do
  693. wait(1 / 60)
  694. p.CFrame = p.CFrame
  695. mesh.Scale = mesh.Scale + howmuch
  696. p.Transparency = p.Transparency + trans1
  697. end
  698. p:Destroy()
  699. end)()
  700. return p
  701. end
  702. function clangy(cframe)
  703. wait(1 / 60)
  704. local clang = {}
  705. local dis = 0
  706. local part = Instance.new('Part', nil)
  707. part.CFrame = cframe
  708. part.Anchored = true
  709. part.CanCollide = true
  710. part.BrickColor = BrickColor.new('New Yeller')
  711. part.FormFactor = 'Custom'
  712. part.Name = 'clanger'
  713. part.Size = Vector3.new(.2, .2, .2)
  714. part.TopSurface = 10
  715. part.BottomSurface = 10
  716. part.RightSurface = 10
  717. part.LeftSurface = 10
  718. part.BackSurface = 10
  719. part.FrontSurface = 10
  720. --part.Material='Neon'
  721. part:BreakJoints()
  722. local mesh = Instance.new('BlockMesh', part)
  723. coroutine.wrap(function()
  724. for i = 1, 7 do
  725. wait(1 / 60)
  726. dis = dis + .2
  727. local partc = part:clone()
  728. partc.Parent = workspace
  729. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  730. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  731. table.insert(clang, partc)
  732. end
  733. for i, v in pairs(clang) do
  734. coroutine.wrap(function()
  735. for i = 1, 10 do
  736. wait(.01)
  737. v.Transparency = v.Transparency + .1
  738. end
  739. v:destroy()
  740. end)()
  741. end
  742. end)()
  743. end
  744. --damage effects
  745. function circle(color, pos1)
  746. local p = Instance.new('Part', m)
  747. p.BrickColor = BrickColor.new(color)
  748. p.CFrame = pos1
  749. p.Anchored = true
  750. p.Material = 'Plastic'
  751. p.CanCollide = true
  752. p.TopSurface = 0
  753. p.Size = Vector3.new(1, 1, 1)
  754. p.BottomSurface = 0
  755. p.Transparency = 0.35
  756. p.FormFactor = 'Custom'
  757. local mesh = Instance.new('CylinderMesh', p)
  758. mesh.Scale = Vector3.new(0, 0, 0)
  759. coroutine.wrap(function()
  760. for i = 0, 5, .1 do
  761. wait(1 / 60)
  762. p.CFrame = p.CFrame
  763. mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5)
  764. p.Transparency = p.Transparency + .025
  765. end
  766. p:Destroy()
  767. end)()
  768. end
  769. function firespaz1(color, pos1)
  770. local p = Instance.new('Part', m)
  771. p.BrickColor = BrickColor.new(color)
  772. p.CFrame = pos1
  773. p.Anchored = true
  774. p.Material = 'Plastic'
  775. p.CanCollide = true
  776. p.TopSurface = 0
  777. p.Size = Vector3.new(1, 1, 1)
  778. p.BottomSurface = 0
  779. p.Transparency = 0.5
  780. p.FormFactor = 'Custom'
  781. local mesh = Instance.new('BlockMesh', p)
  782. mesh.Scale = Vector3.new(1, 1, 1)
  783. coroutine.wrap(function()
  784. for i = 0, 15, .1 do
  785. wait(1 / 30)
  786. p.CFrame = p.CFrame * CFrame.new(0, .1, 0)
  787. mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1)
  788. p.Transparency = p.Transparency + .025
  789. end
  790. p:Destroy()
  791. end)()
  792. end
  793.  
  794. function pickrandom(tablesa)
  795. local randomized = tablesa[math.random(1, #tablesa)]
  796. return randomized
  797. end
  798. function sound(id, pitch, volume, par, last)
  799. local s = Instance.new('Sound', par or Torso)
  800. s.SoundId = 'rbxassetid://'..id
  801. s.Pitch = pitch or 1
  802. s.Volume = volume or 1
  803. wait()
  804. s:play()
  805. game.Debris:AddItem(s, last or 120)
  806. end
  807. function clangy(cframe)
  808. wait(1 / 60)
  809. local clang = {}
  810. local dis = 0
  811. local part = Instance.new('Part', nil)
  812. part.CFrame = cframe
  813. part.Anchored = true
  814. part.CanCollide = true
  815. part.BrickColor = BrickColor.new('New Yeller')
  816. part.FormFactor = 'Custom'
  817. part.Name = 'clanger'
  818. part.Size = Vector3.new(.2, .2, .2)
  819. part.TopSurface = 10
  820. part.BottomSurface = 10
  821. part.RightSurface = 10
  822. part.LeftSurface = 10
  823. part.BackSurface = 10
  824. part.FrontSurface = 10
  825. --part.Material='Neon'
  826. part:BreakJoints()
  827. local mesh = Instance.new('BlockMesh', part)
  828. coroutine.wrap(function()
  829. for i = 1, 7 do
  830. wait(1 / 60)
  831. dis = dis + .2
  832. local partc = part:clone()
  833. partc.Parent = workspace
  834. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  835. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  836. table.insert(clang, partc)
  837. end
  838. for i, v in pairs(clang) do
  839. coroutine.wrap(function()
  840. for i = 1, 10 do
  841. wait(.01)
  842. v.Transparency = v.Transparency + .1
  843. end
  844. v:destroy()
  845. end)()
  846. end
  847. end)()
  848. end
  849. --damage effects
  850. --Effects
  851. so = function(id, par, vol, pit)
  852. coroutine.resume(coroutine.create(function()
  853. local sou = Instance.new("Sound", par or workspace)
  854. sou.Volume = vol
  855. sou.Pitch = pit or 1
  856. sou.SoundId = id
  857. wait()
  858. sou:play()
  859. game:GetService("Debris"):AddItem(sou, 6)
  860. end))
  861. end
  862.  
  863. local function getclosest(obj, distance)
  864. local last, lastx = distance + 1
  865. for i, v in pairs(workspace:GetChildren()) do
  866. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  867. local t = v.Torso
  868. local dist = (t.Position - obj.Position).magnitude
  869. if dist <= distance then
  870. if dist < last then
  871. last = dist
  872. lastx = v
  873. end
  874. end
  875. end
  876. end
  877. return lastx
  878. end
  879.  
  880. function makegui(cframe, text)
  881. local a = math.random(-10, 10) / 100
  882. local c = Instance.new("Part")
  883. c.Transparency = 1
  884. Instance.new("BodyGyro").Parent = c
  885. c.Parent = m
  886. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  887. local f = Instance.new("BodyPosition")
  888. f.P = 2000
  889. f.D = 100
  890. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  891. f.position = c.Position + Vector3.new(0, 3, 0)
  892. f.Parent = c
  893. game:GetService("Debris"):AddItem(c, .5 + 6)
  894. c.CanCollide = false
  895. m.Parent = workspace
  896. c.CanCollide = false
  897. local bg = Instance.new('BillboardGui', m)
  898. bg.Adornee = c
  899. bg.Size = UDim2.new(1, 0, 1, 0)
  900. bg.StudsOffset = Vector3.new(0, 0, 0)
  901. bg.AlwaysOnTop = false
  902. local tl = Instance.new('TextLabel', bg)
  903. tl.BackgroundTransparency = 1
  904. tl.Size = UDim2.new(1, 0, 1, 0)
  905. tl.Text = text
  906. tl.Font = 'SourceSansBold'
  907. tl.FontSize = 'Size42'
  908. if crit == true then
  909. tl.TextColor3 = Color3.new(180 / 255, 0, 0)
  910. else
  911. tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
  912. end
  913. tl.TextStrokeTransparency = 0
  914. tl.TextScaled = true
  915. tl.TextWrapped = true
  916. coroutine.wrap(function()
  917. wait(2)
  918. for i = 1, 10 do
  919. wait()
  920. tl.TextTransparency = tl.TextTransparency + .1
  921. end
  922. end)()
  923. end
  924.  
  925. function tag(hum, Player)
  926. local creator = Instance.new('ObjectValue', hum)
  927. creator.Value = Player
  928. creator.Name = 'creator'
  929. end
  930. function untag(hum)
  931. if hum ~= nil then
  932. local tag = hum:findFirstChild("creator")
  933. if tag ~= nil then
  934. tag.Parent = nil
  935. end
  936. end
  937. end
  938.  
  939. function tagPlayer(h)
  940. coroutine.wrap(function()
  941. tag(h, Player)
  942. wait(1)
  943. untag(h)
  944. end)()
  945. end
  946. function damage(hit, mind, maxd, knock, type, prop)
  947. --[[
  948. to apply it to a Player directly, make the first arg go to the Players Torso
  949. 1 - normal type(damage and knockback)
  950. 2 - drain type(damage no knockback)
  951. 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
  952. 4 - heal(heals target)
  953. 5 - subtracts enemies defense
  954. 6 - subtracts enemies speed
  955. 7 -
  956. ]]
  957. if hit.Name:lower() == 'Hitbox' then
  958. local pos = CFrame.new(0, 1, -1)
  959. sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6)
  960. coroutine.wrap(function()
  961. for i = 1, 4 do
  962. clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0))
  963. end
  964. end)()
  965. end
  966. if hit.Parent == nil then
  967. return
  968. end
  969. local h = hit.Parent:FindFirstChild("Humanoid")
  970. for i, v in pairs(hit.Parent:children()) do
  971. if v:IsA("Humanoid") then
  972. h = v
  973. end
  974. end
  975. if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
  976. h = hit.Parent.Parent:FindFirstChild('Humanoid')
  977. end
  978. if hit.Parent:IsA('Hat') then
  979. hit = hit.Parent.Parent:findFirstChild('Head')
  980. end
  981. local D = math.random(mind, maxd) * damagea.Value
  982. if h.Parent:FindFirstChild('Stats') then
  983. D = D / h.Parent:FindFirstChild('Stats').Defence.Value
  984. elseif not h.Parent:FindFirstChild('Stats') then
  985. D = D
  986. end
  987. if h then
  988. makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5)))
  989. end
  990. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  991. if type == 1 then
  992. tagPlayer(h)
  993. local asd = randomizer(critchance)
  994. if asd == true then
  995. turncrit()
  996. end
  997. if crit == false then
  998. h.Health = h.Health - D
  999. else
  1000. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  1001. end
  1002. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  1003. local vp = Instance.new('BodyVelocity')
  1004. vp.P = 500
  1005. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1006. vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
  1007. if knock > 0 then
  1008. vp.Parent = hit.Parent.Torso
  1009. end
  1010. game:GetService("Debris"):AddItem(vp, .5)
  1011. elseif type == 2 then
  1012. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  1013. local asd = randomizer(critchance)
  1014. if asd == true then
  1015. turncrit()
  1016. end
  1017. if crit == false then
  1018. h.Health = h.Health - D
  1019. else
  1020. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  1021. end
  1022. tagPlayer(h)
  1023. elseif type == 3 then
  1024. tagPlayer(h)
  1025. local asd = randomizer(critchance)
  1026. if asd == true then
  1027. turncrit()
  1028. end
  1029. if crit == false then
  1030. h.Health = h.Health - D
  1031. else
  1032. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  1033. end
  1034. Character.Humanoid.Health = Character.Humanoid.Health + D / 2
  1035. so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
  1036. for i = 1, 10 do
  1037. firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
  1038. end
  1039. elseif type == 4 then
  1040. h.Health = h.Health + D
  1041. so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
  1042. circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
  1043. end
  1044. end
  1045. end
  1046.  
  1047. function subtrackstamina(k)
  1048. if stamina >= k then
  1049. stamina = stamina - k
  1050. end
  1051. end
  1052.  
  1053. Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(2.39999986, 1.20000005, 1.39999998))
  1054. Handleweld=CreateWeld(m,Torso,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.200019836, 2.05684233, -1.52587891e-005, -3.33786011e-006, 5.10364771e-007, -1.00000072, 7.4505806e-007, 0.999990106, 5.23030758e-006, 0.999992847, 1.10268593e-006, -2.98023224e-006))
  1055. CreateMesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1056. LLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1057. LLeg1Connectorweld=CreateWeld(m,Handle,LLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.271961212, 0.323261261, 0.554561615, 0.953878522, 0.237942964, 0.183013678, -0.270872086, 0.945040286, 0.183021933, -0.12940976, -0.224147677, 0.965908945))
  1058. CreateMesh("SpecialMesh",LLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1059. LLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1060. LLeg2Connectorweld=CreateWeld(m,Handle,LLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.286304474, 0.549964905, 0.383785248, 0.87001282, -0.368683487, -0.327339649, 0.475172013, 0.804078519, 0.357260257, 0.131499231, -0.466358542, 0.874748588))
  1061. CreateMesh("SpecialMesh",LLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1062. NeckHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","NeckHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  1063. NeckHandleConnectorweld=CreateWeld(m,Handle,NeckHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800014496, 2.2649765e-006, -1.52587891e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  1064. CreateMesh("SpecialMesh",NeckHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1065. RLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1066. RLeg2Connectorweld=CreateWeld(m,Handle,RLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.284488678, 0.502339363, -0.511051178, 0.866028607, -0.433008194, 0.249994621, 0.482959986, 0.853833973, -0.194110557, -0.12941049, 0.288845479, 0.948575199))
  1067. CreateMesh("SpecialMesh",RLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1068. RLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1069. RLeg1Connectorweld=CreateWeld(m,Handle,RLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.434127808, 0.261667252, -0.51184082, 0.953878462, 0.277202159, 0.115192153, -0.270872086, 0.960207343, -0.0678096935, -0.129410967, 0.0334844999, 0.991011441))
  1070. CreateMesh("SpecialMesh",RLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1071. TailHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","TailHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  1072. TailHandleConnectorweld=CreateWeld(m,Handle,TailHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.800014496, -4.17232513e-006, -1.14440918e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  1073. CreateMesh("SpecialMesh",TailHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1074. Wings=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wings",Vector3.new(1.38, 0.600000024, 0.400000006))
  1075. Wingsweld=CreateWeld(m,Handle,Wings,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00999832153, -1.35054588, -0.870742798, -3.57603994e-007, 1.84772534e-006, 0.999992847, 0.707109332, 0.707094491, -2.27373675e-013, -0.707105219, 0.707105219, 0))
  1076. CreateMesh("SpecialMesh",Wings,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1072890649 ",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.928000150))
  1077. HeadHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HeadHandleConnector",Vector3.new(0.799999774, 0.800000012, 1.19999993))
  1078. HeadHandleConnectorweld=CreateWeld(m, NeckHandleConnector, HeadHandleConnector, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.13883209, -1.22878647, -4.95910645e-005, 0.965921879, -0.258816749, -8.3394184e-007, 0.258814901, 0.965910494, 1.70232727e-006, 7.33734851e-009, -1.24428539e-008, 0.999992847))
  1079. CreateMesh("SpecialMesh",HeadHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1080. HeadHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HeadHandle",Vector3.new(0.799999774, 0.800000012, 1.19999993))
  1081. HeadHandleweld=CreateWeld(m,HeadHandleConnector,HeadHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(.5,.3,0))
  1082. CreateMesh("SpecialMesh",HeadHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1083. BlinkPartL=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BlinkPartL",Vector3.new(0.430000007, 0.349999994, 0.209999993))
  1084. BlinkPartLweld=CreateWeld(m,HeadHandle,BlinkPartL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.627552032, -0.15424633, 0.675392151, 0.965920627, 3.52720974e-007, 0.258818448, -3.27823614e-007, 0.999994576, -4.27638327e-007, -0.258816987, 3.32397349e-007, 0.965925992))
  1085. CreateMesh("SpecialMesh",BlinkPartL,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1086. BlinkPartR=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BlinkPartR",Vector3.new(0.430000007, 0.349999994, 0.209999919))
  1087. BlinkPartRweld=CreateWeld(m,HeadHandle,BlinkPartR,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668586731, 0.0254650116, 0.6536026, 0.963257611, 0.166627169, -0.210616693, 0.170450777, -0.985360563, 7.06354513e-007, -0.207533255, -0.035900455, -0.977568686))
  1088. CreateMesh("SpecialMesh",BlinkPartR,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1089. Head=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Head",Vector3.new(1.59999979, 1, 1.19999993))
  1090. Headweld=CreateWeld(m,HeadHandle,Head,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399993896, -0.100018501, -3.81469727e-006, 0.999994338, -7.45053441e-008, 0, 4.59620352e-013, 0.999994516, 5.40012479e-013, -6.82121026e-013, -1.62003744e-012, 1))
  1091. CreateMesh("SpecialMesh",Head,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1092. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Shamrock","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003))
  1093. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268547058, 0.0147666931, 0.492343903, 0.266456544, 0.961500287, -0.0669870079, -0.937416613, 0.24235782, -0.249999925, -0.22414504, 0.129409671, 0.965918422))
  1094. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1095. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006))
  1096. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.35981369, -0.0811252594, -0.392364502, 0.499998569, 0.866011322, 1.38495011e-007, -0.836511791, 0.482955486, 0.258817196, 0.224141717, -0.129405871, 0.965918958))
  1097. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1098. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006))
  1099. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.359809875, -0.0811347961, 0.392364502, 0.500002265, 0.866017759, 4.3843329e-009, -0.836509109, 0.48296532, -0.25881812, -0.224141061, 0.129409656, 0.965926051))
  1100. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1101. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Shamrock","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003))
  1102. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268550873, 0.0147647858, -0.492359161, 0.266456187, 0.961500764, 0.066986382, -0.937418401, 0.242359444, 0.249994203, 0.224138066, -0.129404321, 0.965920031))
  1103. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1104. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Shamrock","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917))
  1105. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148231506, -0.399997711, 0.999991596, -8.94065053e-008, -6.82121026e-013, -4.47030253e-008, 0.999991894, -1.00897068e-012, -4.54747351e-013, -1.05160325e-012, 1))
  1106. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1107. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Shamrock","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917))
  1108. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148216248, 0.399990082, 0.999985158, -5.96041865e-008, -1.13686838e-012, -8.94065053e-008, 0.999985576, -1.15107923e-012, -6.82121026e-013, -1.44950718e-012, 1))
  1109. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1110. LLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1111. LLeg1Handleweld=CreateWeld(m,LLeg1Connector,LLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0365982056, 0.0366020203, 0.193164825, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503))
  1112. CreateMesh("SpecialMesh",LLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1113. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  1114. Partweld=CreateWeld(m,LLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.299993515, 7.62939453e-006, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503))
  1115. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1116. LLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1117. LLeg2Handleweld=CreateWeld(m,LLeg2Connector,LLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0654640198, 0.0714416504, 0.174942017, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668))
  1118. CreateMesh("SpecialMesh",LLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1119. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  1120. Partweld=CreateWeld(m,LLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.300003052, 0, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668))
  1121. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1122. RLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1123. RLeg1Handleweld=CreateWeld(m,RLeg1Connector,RLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874))
  1124. CreateMesh("SpecialMesh",RLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1125. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  1126. Partweld=CreateWeld(m,RLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, 0.299995422, 7.62939453e-006, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874))
  1127. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1128. RLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1129. RLeg2Handleweld=CreateWeld(m,RLeg2Connector,RLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0499954224, 0.038819313, -0.189697266, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768))
  1130. CreateMesh("SpecialMesh",RLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1131. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  1132. Partweld=CreateWeld(m,RLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.299996376, -7.62939453e-006, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768))
  1133. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1134. NeckHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","NeckHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  1135. NeckHandleweld=CreateWeld(m,NeckHandleConnector,NeckHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  1136. CreateMesh("SpecialMesh",NeckHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1137. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.5999999, 0.800000012, 0.99999994))
  1138. Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.673364639, 0.315284729, 1.14440918e-005, 0.499996573, 0.866005898, 1.41687553e-006, -0.866028965, 0.499994099, 1.24860276e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  1139. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1140. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.5999999, 1, 1.39999998))
  1141. Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.456003189, -0.000812530518, 1.52587891e-005, 0.707109332, 0.707094491, 1.05421987e-006, -0.707105219, 0.707105219, 1.56317299e-006, 2.27782948e-009, -3.0485694e-009, 0.999992847))
  1142. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1143. TailHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","TailHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  1144. TailHandleweld=CreateWeld(m,TailHandleConnector,TailHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.90734863e-006, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  1145. CreateMesh("SpecialMesh",TailHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1146. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999974, 0.800000012, 0.99999994))
  1147. Partweld=CreateWeld(m,TailHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299999237, 3.57627869e-007, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  1148. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1149. Tail2HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail2HandleConnector",Vector3.new(0.599999726, 0.800000012, 0.799999952))
  1150. Tail2HandleConnectorweld=CreateWeld(m,TailHandle,Tail2HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.674129486, -0.0147686005, -0.00961303711, 0.999255121, 0.0334871411, -0.0192402583, -0.0341572762, 0.998781741, -0.0350642987, 0.0180421956, 0.0356986672, 0.999185622))
  1151. CreateMesh("SpecialMesh",Tail2HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1152. Tail2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail2Handle",Vector3.new(0.599999726, 0.800000012, 0.799999952))
  1153. Tail2Handleweld=CreateWeld(m,Tail2HandleConnector,Tail2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993))
  1154. CreateMesh("SpecialMesh",Tail2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1155. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999974, 0.800000012, 0.799999952))
  1156. Partweld=CreateWeld(m,Tail2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399993896, -2.86102295e-006, 3.81469727e-006, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993))
  1157. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1158. Tail3HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail3HandleConnector",Vector3.new(0.599999845, 0.800000012, 0.799999952))
  1159. Tail3HandleConnectorweld=CreateWeld(m,Tail2Handle,Tail3HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.933692932, 0.152185202, 0.0128250122, 0.989802122, -0.139427915, 0.0292246509, 0.138289496, 0.989660025, 0.0377997532, -0.0341934189, -0.0333709307, 0.998850942))
  1160. CreateMesh("SpecialMesh",Tail3HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1161. Tail3Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail3Handle",Vector3.new(0.599999845, 0.800000012, 0.799999952))
  1162. Tail3Handleweld=CreateWeld(m,Tail3HandleConnector,Tail3Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
  1163. CreateMesh("SpecialMesh",Tail3Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1164. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Shamrock","Part",Vector3.new(1.79999983, 0.800000012, 0.200000003))
  1165. Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04519272, 0.064440012, -0.0208930969, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
  1166. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1167. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Shamrock","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003))
  1168. Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.11207199, 0.0611591339, 0.00499725342, 0.965926647, -0.258816153, -5.12227416e-008, 0.258816123, 0.965926647, -1.83936208e-007, 9.68575478e-008, 1.64000085e-007, 1))
  1169. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1170. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Shamrock","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003))
  1171. Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.07800674, 0.0849123001, -0.020816803, 0.965926468, 0.258816481, 2.40281224e-007, -0.258821636, 0.965915978, -1.06403604e-006, -1.3038516e-006, 2.83645932e-006, 0.999992907))
  1172. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1173. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999986, 0.800000012, 0.799999952))
  1174. Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400001526, -2.14576721e-006, -3.81469727e-006, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
  1175. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1176.  
  1177. mouse.Button1Down:connect(function()
  1178. end)
  1179.  
  1180. mouse.KeyDown:connect(function(k)
  1181. k = k:lower()
  1182. if k == "f" and attack == false and Flying == false then
  1183. Humanoid.CameraOffset = Vector3.new(0, -1, 0)
  1184. Humanoid.WalkSpeed = 100
  1185. Flying = true
  1186. elseif k == "f" and attack == false and Flying == true then
  1187. Humanoid.CameraOffset = Vector3.new(0, -2, 0)
  1188. Humanoid.WalkSpeed = 16
  1189. Flying = false
  1190. end
  1191. end)
  1192.  
  1193.  
  1194. inputserv.InputBegan:connect(function(k)
  1195. if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then
  1196. elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then
  1197. elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then
  1198. elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then
  1199. end
  1200. end)
  1201.  
  1202. inputserv.InputBegan:connect(function(k)
  1203. if k.KeyCode == Enum.KeyCode.Slash then
  1204. local fin = nil
  1205. typing = true
  1206. fin = inputserv.InputBegan:connect(function(k)
  1207. if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
  1208. typing = false
  1209. fin:disconnect()
  1210. end
  1211. end)
  1212. end
  1213. end)
  1214.  
  1215. function updateskills()
  1216. if cooldown1 <= co1 then
  1217. cooldown1 = cooldown1 + 1 / 30
  1218. end
  1219. if cooldown2 <= co2 then
  1220. cooldown2 = cooldown2 + 1 / 30
  1221. end
  1222. if cooldown3 <= co3 then
  1223. cooldown3 = cooldown3 + 1 / 30
  1224. end
  1225. if cooldown4 <= co4 then
  1226. cooldown4 = cooldown4 + 1 / 30
  1227. end
  1228. if stamina <= maxstamina then
  1229. stamina = stamina + recovermana / 30
  1230. end
  1231. end
  1232.  
  1233. coroutine.resume(coroutine.create(function(Part,Weld)
  1234. while Part.Parent~=nil do
  1235. wait(5)
  1236. for i=0,1,0.2 do
  1237. wait()
  1238. BlinkPartR.Mesh.Scale = Vector3.new(.7-1*i,1,1)
  1239. end
  1240. for i=0,1,0.2 do
  1241. wait()
  1242. BlinkPartR.Mesh.Scale = Vector3.new(.7+.3*i,1,1)
  1243. end
  1244. end
  1245. end),BlinkPartR,BlinkPartRweld)
  1246.  
  1247. coroutine.resume(coroutine.create(function(Part,Weld)
  1248. while Part.Parent~=nil do
  1249. wait(5)
  1250. for i=0,1,0.2 do
  1251. wait()
  1252. BlinkPartL.Mesh.Scale = Vector3.new(.7-1*i,1,1)
  1253. end
  1254. for i=0,1,0.2 do
  1255. wait()
  1256. BlinkPartL.Mesh.Scale = Vector3.new(.7+.3*i,1,1)
  1257. end
  1258. end
  1259. end),BlinkPartL,BlinkPartLweld)
  1260.  
  1261. game:GetService'RunService'.Heartbeat:connect(function()
  1262. updateskills()
  1263. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1264. velocity = RootPart.Velocity.y
  1265. sine = sine + change
  1266. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1267. if equipped == true or equipped == false then
  1268. if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then
  1269. Anim = "Jump"
  1270. if attack == false then
  1271. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 2) * angles(math.rad(50), math.rad(0), math.rad(0)), .3)
  1272. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1273. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1274. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1275. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1276. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1277. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1278. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1279. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1280. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1281. end
  1282. elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then
  1283. Anim = "Fall"
  1284. if attack == false then
  1285. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 1) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1286. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3)
  1287. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1288. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1289. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1290. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1291. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1292. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1293. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1294. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1295. end
  1296. elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then
  1297. Anim = "Idle"
  1298. if attack == false and Flying == false then
  1299. change = 1
  1300. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1301. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+1.5*math.cos(sine/10))), .3)
  1302. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-5+1.5*math.cos(sine/10))), .3)
  1303. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
  1304. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
  1305. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
  1306. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
  1307. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(15*math.cos(sine/15)), math.rad(5*math.cos(sine/25))), .3)
  1308. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(-15*math.cos(sine/15)), math.rad(20*math.cos(sine/15)), math.rad(2*math.cos(sine/15))), .3)
  1309. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(15*math.cos(sine/15)), math.rad(10*math.cos(sine/15)), math.rad(0)), .3)
  1310. elseif attack == false and Flying == true then
  1311. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 2) * angles(math.rad(40+2*math.cos(sine/10)), math.rad(0), math.rad(0)), .3)
  1312. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+3*math.cos(sine/10))), .3)
  1313. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20-3*math.cos(sine/10))), .3)
  1314. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
  1315. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
  1316. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
  1317. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
  1318. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20-3*math.cos(sine/10))), .3)
  1319. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+2*math.cos(sine/10))), .3)
  1320. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15-1.5*math.cos(sine/10))), .3)
  1321. end
  1322. elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then
  1323. Anim = "Walk"
  1324. if attack == false and Flying == false then
  1325. change = 1
  1326. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(1.5+1*math.cos(sine/10)), math.rad(0), math.rad(0)), .3)
  1327. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3)
  1328. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+1.5*math.cos(sine/10))), .3)
  1329. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3)
  1330. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3)
  1331. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3)
  1332. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3)
  1333. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3)
  1334. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2*math.cos(sine/15))), .3)
  1335. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3)
  1336. elseif attack == false and Flying == true then
  1337. change = 1
  1338. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 1) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1339. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+1*math.cos(sine/10))), .3)
  1340. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20+1*math.cos(sine/10))), .3)
  1341. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
  1342. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
  1343. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
  1344. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
  1345. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10-3*math.cos(sine/10))), .3)
  1346. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3)
  1347. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3-1.5*math.cos(sine/10))), .3)
  1348. end
  1349. end
  1350. end
  1351. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement