Facebook
From Stained Bat, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 272
  1. Me = game.Players.LocalPlayer
  2. player = Me
  3. char = Me.Character
  4. chara = char
  5. larm = char["Left Arm"]
  6. rarm = char["Right Arm"]
  7. lleg = char["Left Leg"]
  8. rleg = char["Right Leg"]
  9. torso = char.Torso
  10. hed = char.Head
  11. mouse = player:GetMouse()
  12. lght = game.Lighting
  13. lichtact = false
  14. moosicact = false
  15. gotsagofest = true
  16.  
  17. chara.Humanoid.WalkSpeed = 10
  18. chara.Humanoid.JumpPower = 40
  19. local naeeym = Instance.new("BillboardGui",chara)
  20. naeeym.Size = UDim2.new(0,100,0,40)
  21. naeeym.StudsOffset = Vector3.new(0,2,0)
  22. naeeym.Adornee = chara.Torso
  23. local tecks = Instance.new("TextLabel",naeeym)
  24. tecks.BackgroundTransparency = 1
  25. tecks.BorderSizePixel = 0
  26. tecks.Text = "Little Dailu"
  27. tecks.Font = "Cartoon"
  28. tecks.FontSize = "Size36"
  29. tecks.TextStrokeTransparency = 0.5
  30. tecks.TextColor3 = Color3.new(0,0,0)
  31. rrer = BrickColor.new("Really red")
  32. tecks.TextStrokeColor3 = rrer.Color
  33. tecks.Size = UDim2.new(1,0,0.5,0)
  34. local licht = Instance.new("PointLight",chara.Torso)
  35. licht.Color = tecks.TextStrokeColor3
  36.  
  37. Meshes = {
  38.         Blast = '20329976',
  39.         Crown = '1323306',
  40.         Ring = '3270017',
  41.         Claw = '10681506',
  42.         Crystal = '9756362',
  43.         Coil = '9753878',
  44.         Cloud = '1095708',
  45. }
  46. clangsounds = {
  47.         '199149119',
  48.         '199149109',
  49.         '199149072',
  50.         '199149025',
  51.         '199148971'
  52. }
  53. hitsounds = {
  54.         '199149137',
  55.         '199149186',
  56.         '199149221',
  57.         '199149235',
  58.         '199149269',
  59.         '199149297'
  60. }
  61. blocksounds = {
  62.         '199148933',
  63.         '199148947'
  64. }
  65. armorsounds = {
  66.         '199149321',
  67.         '199149338',
  68.         '199149367',
  69.         '199149409',
  70.         '199149452'
  71. }
  72. woosh = {
  73.         Heavy1 = '320557353',
  74.         Heavy2 = '320557382',
  75.         Heavy3 = '320557453',
  76.         Heavy4 = '199144226',
  77.         Heavy5 = '203691447',
  78.         Heavy6 = '203691467',
  79.         Heavy7 = '203691492',
  80.         Light1 = '320557413',
  81.         Light2 = '320557487',
  82.         Light3 = '199145095',
  83.         Light4 = '199145146',
  84.         Light5 = '199145887',
  85.         Light6 = '199145913',
  86.         Light7 = '199145841',
  87.         Medium1 = '320557518',
  88.         Medium2 = '320557537',
  89.         Medium3 = '320557563',
  90.         Medium4 = '199145204'
  91. }
  92. music = {--i like music a lot
  93.         Breaking = '179281636',
  94.         FinalReckoning = '357375770',
  95.         NotDeadYet = '346175829',
  96.         Intense = '151514610',
  97.         JumpP1 = '160536628',
  98.         JumpP2 = '60536666',
  99.         SonsOfWar = '158929777',
  100.         WrathOfSea = '165520893',
  101.         ProtecTorsofEarth = '160542922',
  102.         SkyTitans = '179282324',
  103.         ArchAngel = '144043274',
  104.         Anticipation = '168614529',
  105.         TheMartyred = '186849544',
  106.         AwakeP1 = '335631255',
  107.         AwakeP2 = '335631297',
  108.         ReadyAimFireP1 = '342455387',
  109.         ReadyAimFireP2 = '342455399',
  110.         DarkLordP1 = '209567483',
  111.         DarkLordP2 = '209567529',
  112.         BloodDrainP1 = '162914123',
  113.         BloodDrainP2 = '162914203',
  114.         DanceOfSwords = '320473062',
  115.         Opal = '286415112',
  116.         Calamity = '190454307',
  117.         Hypnotica = '155968128',
  118.         Nemisis = '160453802',
  119.         Breathe = '276963903',
  120.         GateToTheRift = '270655227',
  121.         InfernalBeserking = '244143404',
  122.         Trust = '246184492',
  123.         AwakeningTheProject = '245121821',
  124.         BloodPain = '242545577',
  125.         Chaos = '247241693',
  126.         NightmareFictionHighStake = '248062278',
  127.         TheWhiteWeapon = '247236446',
  128.         Gale = '256851659',
  129.         ImperialCode = '256848383',
  130.         Blitzkrieg = '306431437',
  131.         RhapsodyRage = '348690251',
  132.         TheGodFist = '348541501',
  133.         BattleForSoul = '321185592',
  134.         TheDarkColossus = '305976780',
  135.         EmpireOfAngels = '302580452',
  136.         Kronos = '302205297',
  137.         Exorcist = '299796054',
  138.         CrimsonFlames = '297799220',
  139.         UltimatePower = '295753229',
  140.         DrivingInTheDark = '295753229',
  141.         AscendToPower = '293860654',
  142.         GodOfTheSun = '293612495',
  143.         DarkRider = '293861765',
  144.         Vengeance = '293375555',
  145.         SoundOfWar = '293376196',
  146.         HellsCrusaders = '293012202',
  147.         Legend = '293011823',
  148.         RisingSouls = '290524959'
  149. }
  150. misc = {
  151.         GroundSlam = '199145477',
  152.         LaserSlash = '199145497',
  153.         RailGunFire = '199145534',
  154.         Charge1 = '199145659',
  155.         Charge2 = '169380469',
  156.         Charge3 = '169380479',
  157.         EmptyGun = '203691822',
  158.         GunShoot = '203691837',
  159.         Stomp1 = '200632875',
  160.         Stomp2 = '200632561',
  161.         TelsaCannonCharge = '169445572',
  162.         TelsaCannonShoot = '169445602',
  163.         AncientHymm = '245313442'
  164. }
  165. wait(1 / 60)
  166. local Player = game.Players.localPlayer
  167. local Character = Player.Character
  168. local Humanoid = Character.Humanoid
  169. local mouse = Player:GetMouse()
  170. local m = Instance.new('Model', Character)
  171. m.Name = "WeaponModel"
  172. local LeftArm = Character["Left Arm"]
  173. local RightArm = Character["Right Arm"]
  174. local LeftLeg = Character["Left Leg"]
  175. local RightLeg = Character["Right Leg"]
  176. local Head = Character.Head
  177. local Torso = Character.Torso
  178. local cam = game.Workspace.CurrentCamera
  179. local RootPart = Character.HumanoidRootPart
  180. local RootJoint = RootPart.RootJoint
  181. --cam.CameraSubject = Head
  182. local equipped = false
  183. local attack = false
  184. local Anim = 'Idle'
  185. local idle = 0
  186. local sprint = false
  187. local battlestance = false
  188. local attacktype = 1
  189. local state = 'none'
  190. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  191. local velocity = RootPart.Velocity.y
  192. local sine = 0
  193. local change = 1
  194. local on = false
  195. local grabbed = false
  196. local skill1 = false
  197. local skill2 = false
  198. local skill3 = false
  199. local skill4 = false
  200. local cooldown1 = 0
  201. local cooldown2 = 0
  202. local cooldown3 = 0
  203. local cooldown4 = 0
  204. local co1 = 10--how long it will take for skill to cooldown
  205. local co2 = 15
  206. local co3 = 15
  207. local co4 = 25
  208. local inputserv = game:GetService('UserInputService')
  209. local typing = false
  210. local crit = false
  211. local critchance = 2--critical chance percentage
  212. local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage
  213. local critdamageaddmax = 7--maximum amount
  214. local maxstamina = 100--max amount of stamina
  215. local stamina = 0--stamina you start out with
  216. local skill1stam = 10--how much stamina is needed for a skill
  217. local skill2stam = 10
  218. local skill3stam = 20
  219. local skill4stam = 30
  220. local recovermana = 3--how much mana per second
  221. local defensevalue = 1--how much defense this character has
  222. local speedvalue = 1--how much speed this character has
  223. --speed is 16*speedvalue
  224. local mindamage = 5--self explanatory
  225. local maxdamage = 7--self explanatory
  226. local damagevalue = 1--how much damage this character has
  227. --damage is math.random(mindamage,maxdamage)*damagevalue
  228. --damage(hit, mindamage, maxdamage, 1, 1, RootPart)
  229. --asd
  230. local cn = CFrame.new-- make things easier :)
  231. local mr = math.rad
  232. local angles = CFrame.Angles
  233. local ud = UDim2.new
  234. local c3 = Color3.new
  235. local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
  236. --asd
  237. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  238. Humanoid.Animator:Destroy()
  239.  
  240. --Angles For RootJoint `~`
  241. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  242. --Save Shoulders/Hips
  243. RSH, LSH = nil, nil
  244. RHS, LHS = nil, nil
  245. --Shoulders
  246. RW = Instance.new("Weld")
  247. LW = Instance.new("Weld")
  248. --Hips
  249. RH = Instance.new("Weld")
  250. LH = Instance.new("Weld")
  251. --
  252. Player = Player
  253. ch = Character
  254. LHS = Torso["Left Hip"]
  255. RHS = Torso["Right Hip"]
  256. RSH = ch.Torso["Right Shoulder"]
  257. LSH = ch.Torso["Left Shoulder"]
  258. --
  259. RSH.Parent = nil
  260. LSH.Parent = nil
  261. --
  262. LHS.Parent = nil
  263. RHS.Parent = nil
  264. --
  265. RW.Name = "RW"
  266. RW.Part0 = ch.Torso
  267. RW.C0 = cn(1.5, 0.5, 0)
  268. RW.C1 = cn(0, 0.5, 0)
  269. RW.Part1 = ch["Right Arm"]
  270. RW.Parent = ch.Torso
  271. --
  272. LW.Name = "LW"
  273. LW.Part0 = ch.Torso
  274. LW.C0 = cn(-1.5, 0.5, 0)
  275. LW.C1 = cn(0, 0.5, 0)
  276. LW.Part1 = ch["Left Arm"]
  277. LW.Parent = ch.Torso
  278. --
  279. LH.Name = "LH"
  280. LH.Part0 = ch.Torso
  281. LH.C0 = cn(-0.5, -2, 0)
  282. LH.Part1 = ch["Left Leg"]
  283. LH.Parent = ch.Torso
  284. --
  285. RH.Name = "RH"
  286. RH.Part0 = ch.Torso
  287. RH.C0 = cn(0.5, -2, 0)
  288. RH.Part1 = ch["Right Leg"]
  289. RH.Parent = ch.Torso
  290.  
  291. local Flying = false
  292.  
  293. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  294.         if Flying == true then
  295.         if jump == "Jump" then
  296.                 Humanoid.Jump = false
  297.         end
  298.    end
  299. end)
  300.  
  301. Humanoid.CameraOffset = Vector3.new(0, -2, 0)
  302.  
  303. Torso.Transparency = 1
  304. Head.Transparency = 1
  305. LeftLeg.Transparency = 1
  306. RightLeg.Transparency = 1
  307. LeftArm.Transparency = 1
  308. RightArm.Transparency = 1
  309.  
  310. for i,v in pairs (Character:GetChildren()) do
  311. if v.ClassName == "Hat"
  312. then v:Destroy()
  313. end
  314. end
  315.  
  316. for i,v in pairs (Character.Head:GetChildren()) do
  317. if v.ClassName == "Decal"
  318. then v:Destroy()
  319. end
  320. end
  321.  
  322. Character.Animate:Destroy()
  323.  
  324. local scrn = Instance.new('ScreenGui')
  325. scrn.Parent = nil
  326.  
  327. function makeframe(par, trans, pos, size, color)
  328.         local frame = Instance.new('Frame', par)
  329.         frame.BackgroundTransparency = trans
  330.         frame.BorderSizePixel = 0
  331.         frame.Position = pos
  332.         frame.Size = size
  333.         frame.BackgroundColor3 = color
  334.         return frame
  335. end
  336. function makelabel(par, text)
  337.         local label = Instance.new('TextLabel', par)
  338.         label.BackgroundTransparency = 1
  339.         label.Size = ud(1, 0, 1, 0)
  340.         label.Position = ud(0, 0, 0, 0)
  341.         label.TextColor3 = c3(255, 255, 255)
  342.         label.TextStrokeTransparency = 0
  343.         label.FontSize = Enum.FontSize.Size32
  344.         label.Font = Enum.Font.SourceSansBold
  345.         label.BorderSizePixel = 0
  346.         label.TextScaled = true
  347.         label.Text = text
  348. end
  349. framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  350. framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  351. framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  352. framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  353. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  354. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  355. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  356. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  357. text1 = makelabel(framesk1, '[3] Skill3')
  358. text2 = makelabel(framesk2, '[4] Skill4')
  359. text3 = makelabel(framesk3, "[2] Skill2")
  360. text4 = makelabel(framesk4, '[1] Skill1')
  361. staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1))
  362. staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1))
  363. staminatext = makelabel(staminabar, 'Mana')
  364. healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
  365. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255))
  366. healthtext = makelabel(healthbar, 'Health')
  367.  
  368. local stats = Instance.new('Folder', Character)
  369. stats.Name = 'Stats'
  370. local block = Instance.new('BoolValue', stats)
  371. block.Name = 'Block'
  372. block.Value = false
  373. local stun = Instance.new('BoolValue', stats)
  374. stun.Name = 'Stun'
  375. stun.Value = false
  376. local defense = Instance.new('NumberValue', stats)
  377. defense.Name = 'Defence'
  378. defense.Value = defensevalue
  379. local speed = Instance.new('NumberValue', stats)
  380. speed.Name = 'Speed'
  381. speed.Value = speedvalue
  382. local damagea = Instance.new('NumberValue', stats)
  383. damagea.Name = 'Damage'
  384. damagea.Value = damagevalue
  385.  
  386. function atktype(s, e)
  387.         coroutine.resume(coroutine.create(function()
  388.                 attacktype = e
  389.                 wait(1.5)
  390.                 attacktype = s
  391.         end))
  392. end
  393.  
  394. function turncrit()
  395.         coroutine.resume(coroutine.create(function()
  396.                 print'CRITICAL!'
  397.                 crit = true
  398.                 wait(.25)
  399.                 crit = false
  400.         end))
  401. end
  402.  
  403. function subtractstamina(k)
  404.         if stamina >= k then
  405.                 stamina = stamina - k
  406.         end
  407. end
  408.  
  409. function clerp(a, b, t)
  410.         return a:lerp(b, t)
  411. end
  412.  
  413. function randomizer(percent)
  414.         local randomized = math.random(0, 100)
  415.         if randomized <= percent then
  416.                 return true
  417.         elseif randomized >= percent then
  418.                 return false
  419.         end
  420. end
  421.  
  422. local RbxUtility = LoadLibrary("RbxUtility")
  423. local Create = RbxUtility.Create
  424.  
  425. function RemoveOutlines(part)
  426.         part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  427. end
  428.        
  429. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  430.         local Part = Create("Part"){
  431.                 formFactor = FormFactor,
  432.                 Parent = Parent,
  433.                 Reflectance = Reflectance,
  434.                 Transparency = Transparency,
  435.                 CanCollide = false,
  436.                 Locked = true,
  437.                 BrickColor = BrickColor.new(tostring(BColor)),
  438.                 Name = Name,
  439.                 Size = Size,
  440.                 Material = Material,
  441.         }
  442.         RemoveOutlines(Part)
  443.         return Part
  444. end
  445.        
  446. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  447.         local Msh = Create(Mesh){
  448.                 Parent = Part,
  449.                 Offset = OffSet,
  450.                 Scale = Scale,
  451.         }
  452.         if Mesh == "SpecialMesh" then
  453.                 Msh.MeshType = MeshType
  454.                 Msh.MeshId = MeshId
  455.         end
  456.         return Msh
  457. end
  458.        
  459. function CreateWeld(Parent, Part0, Part1, C0, C1)
  460.         local Weld = Create("Weld"){
  461.                 Parent = Parent,
  462.                 Part0 = Part0,
  463.                 Part1 = Part1,
  464.                 C0 = C0,
  465.                 C1 = C1,
  466.         }
  467.         return Weld
  468. end
  469.  
  470. function rayCast(pos, dir, maxl, ignore)
  471.         return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
  472. end
  473.  
  474. musicOn = true
  475.  
  476. local z = Instance.new("Sound",char)
  477. z.Looped = true
  478. z.SoundId = "rbxassetid://858944086"
  479. z.Volume = 1
  480. if musicOn then
  481.         z:Play()
  482. end
  483.  
  484. --Effects
  485. function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
  486.         local p = Instance.new('Part', par or workspace)
  487.         p.CFrame = pos1
  488.         p.Anchored = true
  489.         p.Material = 'SmoothPlastic'
  490.         p.CanCollide = false
  491.         p.TopSurface = 0
  492.         p.Size = Vector3.new(1, 1, 1)
  493.         p.BottomSurface = 0
  494.         p.Transparency = trans
  495.         p.FormFactor = 'Custom'
  496.         RemoveOutlines(p)
  497.         local mesh = Instance.new('SpecialMesh', p)
  498.         mesh.Scale = size
  499.         if id ~= nil and type == nil then
  500.                 mesh.MeshId = 'rbxassetid://'..id
  501.         elseif id == nil and type ~= nil then
  502.                 mesh.MeshType = type
  503.         elseif id == nil and type == nil then
  504.                 mesh.MeshType = 'Brick'
  505.         end
  506.         coroutine.wrap(function()
  507.                 for i = 0, delay1, .1 do
  508.                         wait(1 / 60)
  509.                         p.CFrame = p.CFrame
  510.                         mesh.Scale = mesh.Scale + howmuch
  511.                         p.Transparency = p.Transparency + trans1
  512.                 end
  513.                 p:Destroy()
  514.         end)()
  515.         return p
  516. end
  517. function clangy(cframe)
  518.         wait(1 / 60)
  519.         local clang = {}
  520.         local dis = 0
  521.         local part = Instance.new('Part', nil)
  522.         part.CFrame = cframe
  523.         part.Anchored = true
  524.         part.CanCollide = false
  525.         part.BrickColor = BrickColor.new('Really red')
  526.         part.FormFactor = 'Custom'
  527.         part.Name = 'clanger'
  528.         part.Size = Vector3.new(.2, .2, .2)
  529.         part.TopSurface = 10
  530.         part.BottomSurface = 10
  531.         part.RightSurface = 10
  532.         part.LeftSurface = 10
  533.         part.BackSurface = 10
  534.         part.FrontSurface = 10
  535.         --part.Material='Neon'
  536.         part:BreakJoints()
  537.         local mesh = Instance.new('BlockMesh', part)
  538.         coroutine.wrap(function()
  539.                 for i = 1, 7 do
  540.                         wait(1 / 60)
  541.                         dis = dis + .2
  542.                         local partc = part:clone()
  543.                         partc.Parent = workspace
  544.                         partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  545.                         partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  546.                         table.insert(clang, partc)
  547.                 end
  548.                 for i, v in pairs(clang) do
  549.                         coroutine.wrap(function()
  550.                                 for i = 1, 10 do
  551.                                         wait(.01)
  552.                                         v.Transparency = v.Transparency + .1
  553.                                 end
  554.                                 v:destroy()
  555.                         end)()
  556.                 end
  557.         end)()
  558. end
  559. --damage effects
  560. function circle(color, pos1)
  561.         local p = Instance.new('Part', m)
  562.         p.BrickColor = BrickColor.new(color)
  563.         p.CFrame = pos1
  564.         p.Anchored = true
  565.         p.Material = 'Plastic'
  566.         p.CanCollide = false
  567.         p.TopSurface = 0
  568.         p.Size = Vector3.new(1, 1, 1)
  569.         p.BottomSurface = 0
  570.         p.Transparency = 0.35
  571.         p.FormFactor = 'Custom'
  572.         local mesh = Instance.new('CylinderMesh', p)
  573.         mesh.Scale = Vector3.new(0, 0, 0)
  574.         coroutine.wrap(function()
  575.                 for i = 0, 5, .1 do
  576.                         wait(1 / 60)
  577.                         p.CFrame = p.CFrame
  578.                         mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5)
  579.                         p.Transparency = p.Transparency + .025
  580.                 end
  581.                 p:Destroy()
  582.         end)()
  583. end
  584. function firespaz1(color, pos1)
  585.         local p = Instance.new('Part', m)
  586.         p.BrickColor = BrickColor.new(color)
  587.         p.CFrame = pos1
  588.         p.Anchored = true
  589.         p.Material = 'Plastic'
  590.         p.CanCollide = false
  591.         p.TopSurface = 0
  592.         p.Size = Vector3.new(1, 1, 1)
  593.         p.BottomSurface = 0
  594.         p.Transparency = 0.5
  595.         p.FormFactor = 'Custom'
  596.         local mesh = Instance.new('BlockMesh', p)
  597.         mesh.Scale = Vector3.new(1, 1, 1)
  598.         coroutine.wrap(function()
  599.                 for i = 0, 15, .1 do
  600.                         wait(1 / 30)
  601.                         p.CFrame = p.CFrame * CFrame.new(0, .1, 0)
  602.                         mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1)
  603.                         p.Transparency = p.Transparency + .025
  604.                 end
  605.                 p:Destroy()
  606.         end)()
  607. end
  608.  
  609. function pickrandom(tablesa)
  610.         local randomized = tablesa[math.random(1, #tablesa)]   
  611.         return randomized
  612. end
  613. function sound(id, pitch, volume, par, last)
  614.         local s = Instance.new('Sound', par or Torso)
  615.         s.SoundId = 'rbxassetid://'..id
  616.         s.Pitch = pitch or 1
  617.         s.Volume = volume or 1
  618.         wait()
  619.         s:play()
  620.         game.Debris:AddItem(s, last or 120)
  621. end
  622. function clangy(cframe)
  623.         wait(1 / 60)
  624.         local clang = {}
  625.         local dis = 0
  626.         local part = Instance.new('Part', nil)
  627.         part.CFrame = cframe
  628.         part.Anchored = true
  629.         part.CanCollide = false
  630.         part.BrickColor = BrickColor.new('Really red')
  631.         part.FormFactor = 'Custom'
  632.         part.Name = 'clanger'
  633.         part.Size = Vector3.new(.2, .2, .2)
  634.         part.TopSurface = 10
  635.         part.BottomSurface = 10
  636.         part.RightSurface = 10
  637.         part.LeftSurface = 10
  638.         part.BackSurface = 10
  639.         part.FrontSurface = 10
  640.         --part.Material='Neon'
  641.         part:BreakJoints()
  642.         local mesh = Instance.new('BlockMesh', part)
  643.         coroutine.wrap(function()
  644.                 for i = 1, 7 do
  645.                         wait(1 / 60)
  646.                         dis = dis + .2
  647.                         local partc = part:clone()
  648.                         partc.Parent = workspace
  649.                         partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  650.                         partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  651.                         table.insert(clang, partc)
  652.                 end
  653.                 for i, v in pairs(clang) do
  654.                         coroutine.wrap(function()
  655.                                 for i = 1, 10 do
  656.                                         wait(.01)
  657.                                         v.Transparency = v.Transparency + .1
  658.                                 end
  659.                                 v:destroy()
  660.                         end)()
  661.                 end
  662.         end)()
  663. end
  664. --damage effects
  665. --Effects
  666. so = function(id, par, vol, pit)
  667.         coroutine.resume(coroutine.create(function()
  668.                 local sou = Instance.new("Sound", par or workspace)
  669.                 sou.Volume = vol
  670.                 sou.Pitch = pit or 1
  671.                 sou.SoundId = id
  672.                 wait()
  673.                 sou:play()
  674.                 game:GetService("Debris"):AddItem(sou, 6)
  675.         end))
  676. end
  677.  
  678. local function getclosest(obj, distance)
  679.         local last, lastx = distance + 1
  680.         for i, v in pairs(workspace:GetChildren()) do
  681.                 if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  682.                         local t = v.Torso
  683.                         local dist = (t.Position - obj.Position).magnitude
  684.                         if dist <= distance then
  685.                                 if dist < last then
  686.                                         last = dist
  687.                                         lastx = v
  688.                                 end
  689.                         end
  690.                 end
  691.         end
  692.         return lastx
  693. end
  694.  
  695. function makegui(cframe, text)
  696.         local a = math.random(-10, 10) / 100
  697.         local c = Instance.new("Part")
  698.         c.Transparency = 1
  699.         Instance.new("BodyGyro").Parent = c
  700.         c.Parent = m
  701.         c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  702.         local f = Instance.new("BodyPosition")
  703.         f.P = 2000
  704.         f.D = 100
  705.         f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  706.         f.position = c.Position + Vector3.new(0, 3, 0)
  707.         f.Parent = c
  708.         game:GetService("Debris"):AddItem(c, .5 + 6)
  709.         c.CanCollide = false
  710.         m.Parent = workspace
  711.         c.CanCollide = false
  712.         local bg = Instance.new('BillboardGui', m)
  713.         bg.Adornee = c
  714.         bg.Size = UDim2.new(1, 0, 1, 0)
  715.         bg.StudsOffset = Vector3.new(0, 0, 0)
  716.         bg.AlwaysOnTop = false
  717.         local tl = Instance.new('TextLabel', bg)
  718.         tl.BackgroundTransparency = 1
  719.         tl.Size = UDim2.new(1, 0, 1, 0)
  720.         tl.Text = text
  721.         tl.Font = 'SourceSansBold'
  722.         tl.FontSize = 'Size42'
  723.         if crit == true then
  724.                 tl.TextColor3 = Color3.new(180 / 255, 0, 0)
  725.         else
  726.                 tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
  727.         end
  728.         tl.TextStrokeTransparency = 0
  729.         tl.TextScaled = true
  730.         tl.TextWrapped = true
  731.         coroutine.wrap(function()
  732.                 wait(2)
  733.                 for i = 1, 10 do
  734.                         wait()
  735.                         tl.TextTransparency = tl.TextTransparency + .1
  736.                 end
  737.         end)()
  738. end
  739.  
  740. function tag(hum, Player)
  741.         local creator = Instance.new('ObjectValue', hum)
  742.         creator.Value = Player
  743.         creator.Name = 'creator'
  744. end
  745. function untag(hum)
  746.         if hum ~= nil then
  747.                 local tag = hum:findFirstChild("creator")
  748.                 if tag ~= nil then
  749.                         tag.Parent = nil
  750.                 end
  751.         end
  752. end
  753.  
  754. function tagPlayer(h)
  755.         coroutine.wrap(function()
  756.                 tag(h, Player)
  757.                 wait(1)
  758.                 untag(h)
  759.         end)()
  760. end
  761. function damage(hit, mind, maxd, knock, type, prop)
  762.         --[[
  763.                 to apply it to a Player directly, make the first arg go to the Players Torso
  764.                 1 - normal type(damage and knockback)
  765.                 2 - drain type(damage no knockback)
  766.                 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
  767.                 4 - heal(heals target)
  768.                 5 - subtracts enemies defense
  769.                 6 - subtracts enemies speed
  770.                 7 -  
  771.         ]]
  772.         if hit.Name:lower() == 'Hitbox' then
  773.                 local pos = CFrame.new(0, 1, -1)
  774.                 sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6)
  775.                 coroutine.wrap(function()
  776.                         for i = 1, 4 do
  777.                                 clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0))
  778.                         end
  779.                 end)()
  780.         end
  781.         if hit.Parent == nil then
  782.                 return
  783.         end
  784.         local h = hit.Parent:FindFirstChild("Humanoid")
  785.         for i, v in pairs(hit.Parent:children()) do
  786.                 if v:IsA("Humanoid") then
  787.                         h = v
  788.                 end
  789.         end
  790.         if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
  791.                 h = hit.Parent.Parent:FindFirstChild('Humanoid')
  792.         end
  793.         if hit.Parent:IsA('Hat') then
  794.                 hit = hit.Parent.Parent:findFirstChild('Head')
  795.         end
  796.         local D = math.random(mind, maxd) * damagea.Value
  797.         if h.Parent:FindFirstChild('Stats') then
  798.                 D = D / h.Parent:FindFirstChild('Stats').Defence.Value
  799.         elseif not h.Parent:FindFirstChild('Stats') then
  800.                 D = D
  801.         end
  802.         if h then
  803.                 makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5)))
  804.         end
  805.         if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  806.                 if type == 1 then
  807.                         tagPlayer(h)
  808.                         local asd = randomizer(critchance)
  809.                         if asd == true then
  810.                                 turncrit()
  811.                         end
  812.                         if crit == false then
  813.                                 h.Health = h.Health - D
  814.                         else
  815.                                 h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  816.                         end
  817.                         so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  818.                         local vp = Instance.new('BodyVelocity')
  819.                         vp.P = 500
  820.                         vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  821.                         vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
  822.                         if knock > 0 then
  823.                                 vp.Parent = hit.Parent.Torso
  824.                         end
  825.                         game:GetService("Debris"):AddItem(vp, .5)
  826.                 elseif type == 2 then
  827.                         so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  828.                         local asd = randomizer(critchance)
  829.                         if asd == true then
  830.                                 turncrit()
  831.                         end
  832.                         if crit == false then
  833.                                 h.Health = h.Health - D
  834.                         else
  835.                                 h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  836.                         end
  837.                         tagPlayer(h)
  838.                 elseif type == 3 then
  839.                         tagPlayer(h)
  840.                         local asd = randomizer(critchance)
  841.                         if asd == true then
  842.                                 turncrit()
  843.                         end
  844.                         if crit == false then
  845.                                 h.Health = h.Health - D
  846.                         else
  847.                                 h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  848.                         end
  849.                         Character.Humanoid.Health = Character.Humanoid.Health + D / 2
  850.                         so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
  851.                         for i = 1, 10 do
  852.                                 firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
  853.                         end
  854.                 elseif type == 4 then
  855.                         h.Health = h.Health + D
  856.                         so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
  857.                         circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
  858.                 end
  859.         end
  860. end
  861.  
  862. function subtrackstamina(k)
  863.         if stamina >= k then
  864.                 stamina = stamina - k
  865.         end
  866. end
  867.  
  868. Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(2.39999986, 1.20000005, 1.39999998))
  869. 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))
  870. CreateMesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  871. LLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  872. 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))
  873. CreateMesh("SpecialMesh",LLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  874. LLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  875. 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))
  876. CreateMesh("SpecialMesh",LLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  877. NeckHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","NeckHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  878. 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))
  879. CreateMesh("SpecialMesh",NeckHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  880. RLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  881. 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))
  882. CreateMesh("SpecialMesh",RLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  883. RLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  884. 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))
  885. CreateMesh("SpecialMesh",RLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  886. TailHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","TailHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  887. 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))
  888. CreateMesh("SpecialMesh",TailHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  889. Wings=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wings",Vector3.new(1.38, 0.600000024, 0.400000006))
  890. 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))
  891. CreateMesh("SpecialMesh",Wings,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=188700920 ",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.928000093))
  892. HeadHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HeadHandleConnector",Vector3.new(0.799999774, 0.800000012, 1.19999993))
  893. 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))
  894. CreateMesh("SpecialMesh",HeadHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  895. HeadHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HeadHandle",Vector3.new(0.799999774, 0.800000012, 1.19999993))
  896. HeadHandleweld=CreateWeld(m,HeadHandleConnector,HeadHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(.5,.3,0))
  897. CreateMesh("SpecialMesh",HeadHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  898. BlinkPartL=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BlinkPartL",Vector3.new(0.430000007, 0.349999994, 0.209999993))
  899. 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))
  900. CreateMesh("SpecialMesh",BlinkPartL,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  901. BlinkPartR=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BlinkPartR",Vector3.new(0.430000007, 0.349999994, 0.209999919))
  902. 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))
  903. CreateMesh("SpecialMesh",BlinkPartR,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  904. Head=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Head",Vector3.new(1.59999979, 1, 1.19999993))
  905. 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))
  906. CreateMesh("SpecialMesh",Head,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  907. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003))
  908. 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))
  909. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  910. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006))
  911. 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))
  912. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  913. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006))
  914. 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))
  915. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  916. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003))
  917. 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))
  918. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  919. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917))
  920. 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))
  921. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  922. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917))
  923. 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))
  924. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  925. LLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  926. 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))
  927. CreateMesh("SpecialMesh",LLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  928. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  929. 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))
  930. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  931. LLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  932. 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))
  933. CreateMesh("SpecialMesh",LLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  934. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  935. 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))
  936. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  937. RLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  938. 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))
  939. CreateMesh("SpecialMesh",RLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  940. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  941. 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))
  942. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  943. RLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  944. 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))
  945. CreateMesh("SpecialMesh",RLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  946. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  947. 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))
  948. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  949. NeckHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","NeckHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  950. 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))
  951. CreateMesh("SpecialMesh",NeckHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  952. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.5999999, 0.800000012, 0.99999994))
  953. 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))
  954. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  955. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.5999999, 1, 1.39999998))
  956. 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))
  957. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  958. TailHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","TailHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  959. 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))
  960. CreateMesh("SpecialMesh",TailHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  961. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999974, 0.800000012, 0.99999994))
  962. 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))
  963. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  964. Tail2HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail2HandleConnector",Vector3.new(0.599999726, 0.800000012, 0.799999952))
  965. 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))
  966. CreateMesh("SpecialMesh",Tail2HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  967. Tail2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail2Handle",Vector3.new(0.599999726, 0.800000012, 0.799999952))
  968. 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))
  969. CreateMesh("SpecialMesh",Tail2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  970. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999974, 0.800000012, 0.799999952))
  971. 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))
  972. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  973. Tail3HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail3HandleConnector",Vector3.new(0.599999845, 0.800000012, 0.799999952))
  974. 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))
  975. CreateMesh("SpecialMesh",Tail3HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  976. Tail3Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail3Handle",Vector3.new(0.599999845, 0.800000012, 0.799999952))
  977. 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))
  978. CreateMesh("SpecialMesh",Tail3Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  979. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.79999983, 0.800000012, 0.200000003))
  980. 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))
  981. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  982. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003))
  983. 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))
  984. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  985. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003))
  986. 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))
  987. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  988. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999986, 0.800000012, 0.799999952))
  989. 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))
  990. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  991.  
  992. mouse.Button1Down:connect(function()
  993. end)
  994.  
  995. mouse.KeyDown:connect(function(k)
  996.         k = k:lower()
  997.         if k == "f" and attack == false and Flying == false then
  998.         Humanoid.CameraOffset = Vector3.new(0, -1, 0)
  999.         Humanoid.WalkSpeed = 25
  1000.         Flying = true
  1001.         elseif k == "f" and attack == false and Flying == true then
  1002.         Humanoid.CameraOffset = Vector3.new(0, -2, 0)
  1003.         Humanoid.WalkSpeed = 16
  1004.         Flying = false
  1005.         end
  1006. end)
  1007.  
  1008.  
  1009. inputserv.InputBegan:connect(function(k)
  1010.         if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then
  1011.         elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then
  1012.         elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then
  1013.         elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then
  1014.         end
  1015. end)
  1016.  
  1017. inputserv.InputBegan:connect(function(k)
  1018.         if k.KeyCode == Enum.KeyCode.Slash then
  1019.                 local fin = nil
  1020.                 typing = true
  1021.                 fin = inputserv.InputBegan:connect(function(k)
  1022.                         if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
  1023.                                 typing = false
  1024.                                 fin:disconnect()
  1025.                         end
  1026.                 end)
  1027.         end
  1028. end)
  1029.  
  1030. function updateskills()
  1031.         if cooldown1 <= co1 then
  1032.                 cooldown1 = cooldown1 + 1 / 30
  1033.         end
  1034.         if cooldown2 <= co2 then
  1035.                 cooldown2 = cooldown2 + 1 / 30
  1036.         end
  1037.         if cooldown3 <= co3 then
  1038.                 cooldown3 = cooldown3 + 1 / 30
  1039.         end
  1040.         if cooldown4 <= co4 then
  1041.                 cooldown4 = cooldown4 + 1 / 30
  1042.         end
  1043.         if stamina <= maxstamina then
  1044.                 stamina = stamina + recovermana / 30
  1045.         end
  1046. end
  1047.  
  1048. coroutine.resume(coroutine.create(function(Part,Weld)
  1049. while Part.Parent~=nil do
  1050. wait(5)
  1051. for i=0,1,0.2 do
  1052. wait()
  1053. BlinkPartR.Mesh.Scale = Vector3.new(.7-1*i,1,1)
  1054. end
  1055. for i=0,1,0.2 do
  1056. wait()
  1057. BlinkPartR.Mesh.Scale = Vector3.new(.7+.3*i,1,1)
  1058. end
  1059. end
  1060. end),BlinkPartR,BlinkPartRweld)
  1061.  
  1062. coroutine.resume(coroutine.create(function(Part,Weld)
  1063. while Part.Parent~=nil do
  1064. wait(5)
  1065. for i=0,1,0.2 do
  1066. wait()
  1067. BlinkPartL.Mesh.Scale = Vector3.new(.7-1*i,1,1)
  1068. end
  1069. for i=0,1,0.2 do
  1070. wait()
  1071. BlinkPartL.Mesh.Scale = Vector3.new(.7+.3*i,1,1)
  1072. end
  1073. end
  1074. end),BlinkPartL,BlinkPartLweld)
  1075.  
  1076. game:GetService'RunService'.Heartbeat:connect(function()
  1077.         updateskills()
  1078.         Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1079.         velocity = RootPart.Velocity.y
  1080.         sine = sine + change
  1081.         local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1082.         if equipped == true or equipped == false then
  1083.                 if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then
  1084.                         Anim = "Jump"
  1085.                         if attack == false then
  1086.                                 Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 2) * angles(math.rad(50), math.rad(0), math.rad(0)), .3)
  1087.                                 NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1088.                                 HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1089.                                 LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1090.                                 LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1091.                                 RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1092.                                 RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1093.                                 TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1094.                                 Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1095.                                 Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1096.                         end
  1097.                 elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then
  1098.                         Anim = "Fall"
  1099.                         if attack == false then
  1100.                                 Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 1) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1101.                                 NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3)
  1102.                                 HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1103.                                 LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1104.                                 LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1105.                                 RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1106.                                 RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1107.                                 TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1108.                                 Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1109.                                 Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1110.                         end
  1111.                 elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then
  1112.                         Anim = "Idle"
  1113.                         if attack == false and Flying == false then
  1114.                                 change = 1
  1115.                                 Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1116.                                 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)
  1117.                                 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)
  1118.                                 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)
  1119.                                 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)
  1120.                                 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)
  1121.                                 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)
  1122.                                 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)
  1123.                                 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)
  1124.                                 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)
  1125.                         elseif attack == false and Flying == true then
  1126.                                 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)
  1127.                                 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)
  1128.                                 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)
  1129.                                 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)
  1130.                                 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)
  1131.                                 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)
  1132.                                 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)
  1133.                                 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)
  1134.                                 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)
  1135.                                 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)
  1136.                         end
  1137.                 elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then
  1138.                         Anim = "Walk"
  1139.                         if attack == false and Flying == false then
  1140.                                 change = 1
  1141.                                 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)
  1142.                                 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)
  1143.                                 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)
  1144.                                 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)
  1145.                                 LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3)
  1146.                                 RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3)
  1147.                                 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)
  1148.                                 TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3)
  1149.                                 Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2*math.cos(sine/15))), .3)
  1150.                                 Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3)
  1151.                         elseif attack == false and Flying == true then
  1152.                                 change = 1
  1153.                                 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)
  1154.                                 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)
  1155.                                 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)
  1156.                                 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)
  1157.                                 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)
  1158.                                 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)
  1159.                                 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)
  1160.                                 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)
  1161.                                 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)
  1162.                                 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)
  1163.                         end
  1164.                 end
  1165.         end
  1166. end)