Advertisement
okban

3423423

Apr 24th, 2018
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.22 KB | None | 0 0
  1. -- unganda shall not fall
  2. --[[
  3. Uganda knuckles
  4. By: KYLETHORNTON
  5.  
  6. --]]
  7.  
  8. local p = game.Players.LocalPlayer.Character
  9. local weld = Instance.new("Weld",p.Torso)
  10. weld.Part0 = p.Torso
  11.  
  12. local train = Instance.new("Part",p.Torso)
  13. train.Orientation = Vector3.new(0, -100, 0)
  14. train.Anchored = true
  15. train.CanCollide = false
  16. train.Size = Vector3.new(1,1,1)
  17. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  18. weld.Part1 = train
  19. weld.C1 = CFrame.new(0,0.7,0) * CFrame.Angles(0,math.rad(-360),0)
  20. train.Anchored = false
  21. local TrainMesh = Instance.new("SpecialMesh",train)
  22. TrainMesh.MeshType = Enum.MeshType.FileMesh
  23. TrainMesh.Scale = Vector3.new(-0.048, 0.033, -0.06)
  24. TrainMesh.MeshId = "rbxassetid://461238674"
  25. TrainMesh.TextureId = "rbxassetid://461238680"
  26.  
  27. p.Humanoid.WalkSpeed = 16;
  28.  
  29.  
  30.  
  31.  
  32. local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
  33. train.Touched:connect(function(p)
  34. if p.Parent then
  35. if p.Parent:IsA("Model") then
  36. if game.Players:FindFirstChild(p.Parent.Name) then
  37. if p.Parent.Name ~= game.Players.LocalPlayer.Name then
  38. local Whistle = SFX(0)
  39. Whistle:Play()
  40. end
  41. end
  42. end
  43. end
  44. end)
  45.  
  46. local Music = SFX(0)
  47. Music.Looped = true;
  48. wait(0)
  49. Music:Play();
  50. -- ~CL 2016
  51. wait(0.1)
  52. local Player = game.Players.localPlayer
  53. local Character = Player.Character
  54. local Humanoid = Character.Humanoid
  55. local Mouse = Player:GetMouse()
  56. local LeftArm = Character["Left Arm"]
  57. local RightArm = Character["Right Arm"]
  58. local LeftLeg = Character["Left Leg"]
  59. local RightLeg = Character["Right Leg"]
  60. local Head = Character.Head
  61. local Torso = Character.Torso
  62. local Camera = game.Workspace.CurrentCamera
  63. local RootPart = Character.HumanoidRootPart
  64. local RootJoint = RootPart.RootJoint
  65. local attack = false
  66. local Anim = 'Idle'
  67. local attacktype = 1
  68. local delays = false
  69. local play = true
  70. local targetted = nil
  71. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  72. local velocity = RootPart.Velocity.y
  73. local sine = 0
  74. local change = 1
  75. local doe = 0
  76. local Create = LoadLibrary("RbxUtility").Create
  77. Humanoid.WalkSpeed = 16
  78. spawn(function()
  79. while wait() do
  80. RightArm.Transparency = 1
  81. LeftArm.Transparency = 1
  82. Torso.Transparency = 1
  83. RightLeg.Transparency = 0
  84. LeftLeg.Transparency = 0
  85. end
  86. end)
  87. wait(0.1)
  88. function sandbox(var,func)
  89. local env = getfenv(func)
  90. local newenv = setmetatable({},{
  91. __index = function(self,k)
  92. if k=="script" then
  93. return var
  94. else
  95. return env[k]
  96. end
  97. end,
  98. })
  99. setfenv(func,newenv)
  100. return func
  101. end
  102. cors = {}
  103. mas = Instance.new("Model",game:GetService("Lighting"))
  104. Script0 = Instance.new("Script")
  105. Sound1 = Instance.new("Sound")
  106. Sound2 = Instance.new("Sound")
  107. Sound3 = Instance.new("Sound")
  108. Script0.Name = "sound's"
  109. Script0.Parent = mas
  110. table.insert(cors,sandbox(Script0,function()
  111. --Uganda sound--
  112.  
  113. function onKeyPress(inputObject, gameProcessedEvent)
  114. if inputObject.KeyCode == Enum.KeyCode.F8 then
  115. script.Sound:Play()
  116. local WEEB = Instance.new("Sound",Torso)
  117. WEEB.Volume=0
  118. WEEB.Pitch=0
  119. WEEB.SoundId=""
  120. WEEB.Looped=true
  121. wait()
  122. WEEB:play()
  123.  
  124. end
  125. end
  126.  
  127.  
  128. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  129.  
  130. function onKeyPress(inputObject, gameProcessedEvent)
  131. if inputObject.KeyCode == Enum.KeyCode.E then
  132. script.Sound2:Play()
  133.  
  134. end
  135. end
  136.  
  137.  
  138. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  139.  
  140. function onKeyPress(inputObject, gameProcessedEvent)
  141. if inputObject.KeyCode == Enum.KeyCode.T then
  142. script.Sound3:Play()
  143.  
  144. end
  145. end
  146.  
  147.  
  148. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  149. end))
  150. Sound1.Parent = Script0
  151. Sound1.SoundId = "rbxassetid://182586143"
  152. Sound1.Volume = 10
  153. Sound2.Name = "Sound2"
  154. Sound2.Parent = Script0
  155. Sound2.SoundId = "rbxassetid://1295525558"
  156. Sound2.Volume = 1
  157. Sound3.Name = "Sound3"
  158. Sound3.Parent = Script0
  159. Sound3.SoundId = "rbxassetid://1322795266"
  160. Sound3.Volume = 5
  161. for i,v in pairs(mas:GetChildren()) do
  162. v.Parent = game:GetService("Players").LocalPlayer.Character
  163. pcall(function() v:MakeJoints() end)
  164. end
  165. mas:Destroy()
  166. for i,v in pairs(cors) do
  167. spawn(function()
  168. pcall(v)
  169. end)
  170. end
  171. wait(1)
  172. --[[
  173. ==================================]}
  174. //{Script: Memuto
  175. //{User: Solavenge
  176. ==================================]}
  177. //{Controls:
  178. // F - Toggle Memes
  179. ==================================]}
  180. --]]
  181.  
  182. Player=game:GetService("Players").LocalPlayer
  183. Character=Player.Character
  184. PlayerGui=Player.PlayerGui
  185. Backpack=Player.Backpack
  186. Torso=Character.Torso
  187. Head=Character.Head
  188. Humanoid=Character.Humanoid
  189. m=Instance.new('Model',Character)
  190. LeftArm=Character["Left Arm"]
  191. LeftLeg=Character["Left Leg"]
  192. RightArm=Character["Right Arm"]
  193. RightLeg=Character["Right Leg"]
  194. LS=Torso["Left Shoulder"]
  195. LH=Torso["Left Hip"]
  196. RS=Torso["Right Shoulder"]
  197. RH=Torso["Right Hip"]
  198. Neck=Torso.Neck
  199. it=Instance.new
  200. attacktype=1
  201. vt=Vector3.new
  202. cf=CFrame.new
  203. euler=CFrame.fromEulerAnglesXYZ
  204. angles=CFrame.Angles
  205. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  206. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  207. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  208. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  209. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  210. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  211. RootPart=Character.HumanoidRootPart
  212. RootJoint=RootPart.RootJoint
  213. RootCF=euler(-1.57,0,3.14)
  214. attack = false
  215. attackdebounce = false
  216. deb=false
  217. equipped=true
  218. hand=false
  219. MMouse=nil
  220. combo=0
  221. mana=0
  222. cam=workspace.CurrentCamera
  223. RocketTarget=nil
  224. Targetting=false
  225. trispeed=.2
  226. attackmode='none'
  227. local idle=0
  228. local Anim="Idle"
  229. local Effects={}
  230. local gun=false
  231. local shoot=false
  232. local issprinting=false
  233. local memeing=false
  234. player=nil
  235. mouse=Player:GetMouse()
  236. --save shoulders
  237. RSH, LSH=nil, nil
  238. --welds
  239. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  240. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  241. LH=Torso["Left Hip"]
  242. RH=Torso["Right Hip"]
  243. TorsoColor=Torso.BrickColor
  244. function NoOutline(Part)
  245. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  246. end
  247. player=Player
  248. ch=Character
  249. RSH=ch.Torso["Right Shoulder"]
  250. LSH=ch.Torso["Left Shoulder"]
  251. --
  252. RSH.Parent=nil
  253. LSH.Parent=nil
  254. --
  255. RW.Name="Right Shoulder"
  256. RW.Part0=ch.Torso
  257. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  258. RW.C1=cf(0, 0.5, 0)
  259. RW.Part1=ch["Right Arm"]
  260. RW.Parent=ch.Torso
  261. --
  262. LW.Name="Left Shoulder"
  263. LW.Part0=ch.Torso
  264. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  265. LW.C1=cf(0, 0.5, 0)
  266. LW.Part1=ch["Left Arm"]
  267. LW.Parent=ch.Torso
  268.  
  269. if Humanoid:findFirstChild("Animate") then
  270. Humanoid:findFirstChild("Animate"):Destroy()
  271. elseif Character:findFirstChild("Animate") then
  272. Character:findFirstChild("Animate"):Destroy()
  273. end
  274.  
  275.  
  276. local WEEB = Instance.new("Sound",Torso)
  277. WEEB.Volume=0
  278. WEEB.Pitch=0
  279. WEEB.SoundId=""
  280. WEEB.Looped=true
  281. wait()
  282. WEEB:play()
  283.  
  284.  
  285. local Stats=Instance.new("BoolValue")
  286. Stats.Name="Stats"
  287. Stats.Parent=Character
  288. local Atk=Instance.new("NumberValue")
  289. Atk.Name="Damage"
  290. Atk.Parent=Stats
  291. Atk.Value=1
  292. local Def=Instance.new("NumberValue")
  293. Def.Name="Defense"
  294. Def.Parent=Stats
  295. Def.Value=1
  296. local Speed=Instance.new("NumberValue")
  297. Speed.Name="Speed"
  298. Speed.Parent=Stats
  299. Speed.Value=1
  300. local Mvmt=Instance.new("NumberValue")
  301. Mvmt.Name="Movement"
  302. Mvmt.Parent=Stats
  303. Mvmt.Value=1
  304.  
  305.  
  306. local donum=0
  307.  
  308. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  309. local fp=it("Part")
  310. fp.formFactor=formfactor
  311. fp.Parent=parent
  312. fp.Reflectance=reflectance
  313. fp.Transparency=transparency
  314. fp.CanCollide=false
  315. fp.Locked=true
  316. fp.BrickColor=brickcolor
  317. fp.Name=name
  318. fp.Size=size
  319. fp.Position=Torso.Position
  320. NoOutline(fp)
  321. fp.Material="SmoothPlastic"
  322. fp:BreakJoints()
  323. return fp
  324. end
  325.  
  326. function part2(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  327. local fp = Instance.new("Part")
  328. fp.formFactor = formfactor
  329. fp.Parent = parent
  330. fp.Reflectance = reflectance
  331. fp.Transparency = transparency
  332. fp.CanCollide = false
  333. fp.Locked = true
  334. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  335. fp.Name = name
  336. fp.Size = size
  337. fp.Position = Character.Torso.Position
  338. fp.Material = material
  339.  
  340. NoOutline(fp)
  341. return fp
  342. end
  343.  
  344. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  345. local mesh=it(Mesh)
  346. mesh.Parent=part
  347. if Mesh=="SpecialMesh" then
  348. mesh.MeshType=meshtype
  349. mesh.MeshId=meshid
  350. end
  351. mesh.Offset=offset
  352. mesh.Scale=scale
  353. return mesh
  354. end
  355.  
  356. function weld(parent,part0,part1,c0)
  357. local weld=it("Weld")
  358. weld.Parent=parent
  359. weld.Part0=part0
  360. weld.Part1=part1
  361. weld.C0=c0
  362. return weld
  363. end
  364.  
  365. function weld2(parent, part0, part1, c0, c1)
  366. local Weld = Instance.new("Weld")
  367. Weld.Parent = parent
  368. Weld.Part0 = part0
  369. Weld.Part1 = part1
  370. Weld.C0 = c0
  371. Weld.C1 = c1
  372.  
  373. return Weld
  374. end
  375.  
  376. local Color1=Torso.BrickColor
  377.  
  378. local bodvel=Instance.new("BodyVelocity")
  379. local bg=Instance.new("BodyGyro")
  380.  
  381. ArtificialHB = Instance.new("BindableEvent", script)
  382. ArtificialHB.Name = "Heartbeat"
  383.  
  384. script:WaitForChild("Heartbeat")
  385.  
  386. frame = 1 / 60
  387. tf = 0
  388. allowframeloss = true
  389. tossremainder = false
  390. lastframe = tick()
  391. script.Heartbeat:Fire()
  392.  
  393. game:GetService("RunService").Heartbeat:connect(function(s, p)
  394. tf = tf + s
  395. if tf >= frame then
  396. if allowframeloss then
  397. script.Heartbeat:Fire()
  398. lastframe = tick()
  399. else
  400. for i = 1, math.floor(tf / frame) do
  401. script.Heartbeat:Fire()
  402. end
  403. lastframe = tick()
  404. end
  405. if tossremainder then
  406. tf = 0
  407. else
  408. tf = tf - frame * math.floor(tf / frame)
  409. end
  410. end
  411. end)
  412.  
  413. function swait(num)
  414. if num == 0 or num == nil then
  415. ArtificialHB.Event:wait()
  416. else
  417. for i = 0, num do
  418. ArtificialHB.Event:wait()
  419. end
  420. end
  421. end
  422.  
  423.  
  424. so = function(id,par,vol,pit)
  425. coroutine.resume(coroutine.create(function()
  426. local sou = Instance.new("Sound",par or workspace)
  427. sou.Volume=vol
  428. sou.Pitch=pit or 1
  429. sou.SoundId=id
  430. swait()
  431. sou:play()
  432. game:GetService("Debris"):AddItem(sou,6)
  433. end))
  434. end
  435.  
  436. function clerp(a,b,t)
  437. local qa = {QuaternionFromCFrame(a)}
  438. local qb = {QuaternionFromCFrame(b)}
  439. local ax, ay, az = a.x, a.y, a.z
  440. local bx, by, bz = b.x, b.y, b.z
  441. local _t = 1-t
  442. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  443. end
  444.  
  445. function QuaternionFromCFrame(cf)
  446. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  447. local trace = m00 + m11 + m22
  448. if trace > 0 then
  449. local s = math.sqrt(1 + trace)
  450. local recip = 0.5/s
  451. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  452. else
  453. local i = 0
  454. if m11 > m00 then
  455. i = 1
  456. end
  457. if m22 > (i == 0 and m00 or m11) then
  458. i = 2
  459. end
  460. if i == 0 then
  461. local s = math.sqrt(m00-m11-m22+1)
  462. local recip = 0.5/s
  463. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  464. elseif i == 1 then
  465. local s = math.sqrt(m11-m22-m00+1)
  466. local recip = 0.5/s
  467. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  468. elseif i == 2 then
  469. local s = math.sqrt(m22-m00-m11+1)
  470. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  471. end
  472. end
  473. end
  474.  
  475. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  476. local xs, ys, zs = x + x, y + y, z + z
  477. local wx, wy, wz = w*xs, w*ys, w*zs
  478. local xx = x*xs
  479. local xy = x*ys
  480. local xz = x*zs
  481. local yy = y*ys
  482. local yz = y*zs
  483. local zz = z*zs
  484. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  485. end
  486.  
  487. function QuaternionSlerp(a, b, t)
  488. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  489. local startInterp, finishInterp;
  490. if cosTheta >= 0.0001 then
  491. if (1 - cosTheta) > 0.0001 then
  492. local theta = math.acos(cosTheta)
  493. local invSinTheta = 1/math.sin(theta)
  494. startInterp = math.sin((1-t)*theta)*invSinTheta
  495. finishInterp = math.sin(t*theta)*invSinTheta
  496. else
  497. startInterp = 1-t
  498. finishInterp = t
  499. end
  500. else
  501. if (1+cosTheta) > 0.0001 then
  502. local theta = math.acos(-cosTheta)
  503. local invSinTheta = 1/math.sin(theta)
  504. startInterp = math.sin((t-1)*theta)*invSinTheta
  505. finishInterp = math.sin(t*theta)*invSinTheta
  506. else
  507. startInterp = t-1
  508. finishInterp = t
  509. end
  510. end
  511. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  512. end
  513.  
  514. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  515. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  516. end
  517.  
  518. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) --bm1
  519. if hit.Parent == nil then
  520. return
  521. end
  522. local h = hit.Parent:FindFirstChild("Humanoid")
  523. for _, v in pairs(hit.Parent:children()) do
  524. if v:IsA("Humanoid") then
  525. h = v
  526. end
  527. end
  528. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  529. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  530. if hit.Parent.DebounceHit.Value == true then
  531. return
  532. end
  533. end
  534. if h.MaxHealth >= math.huge then
  535. hit:BreakJoints()
  536. end
  537. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  538. return
  539. end]]
  540. -- hs(hit,1.2)
  541. local c = Instance.new("ObjectValue")
  542. c.Name = "creator"
  543. c.Value = game:service("Players").LocalPlayer
  544. c.Parent = h
  545.  
  546. game:GetService("Debris"):AddItem(c, .5)
  547. if HitSound ~= nil and HitPitch ~= nil then
  548. so(HitSound, hit, 1, HitPitch)
  549. end
  550. local Damage = math.random(minim, maxim)
  551. -- h:TakeDamage(Damage)
  552. local blocked = false
  553. local block = hit.Parent:findFirstChild("Block")
  554. if block ~= nil then
  555. if block.className == "IntValue" then
  556. if block.Value > 0 then
  557. blocked = true
  558. block.Value = block.Value - 1
  559. print(block.Value)
  560. end
  561. end
  562. end
  563. if blocked == false then
  564. -- h:TakeDamage(Damage)
  565. h.Health = h.Health - Damage
  566. if Damage ~= 0 then
  567. ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
  568. end
  569. else
  570. h.Health = h.Health - (Damage / 2)
  571. if Damage ~=0 then
  572. ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
  573. end
  574. end
  575. if Type == "Knockdown" then
  576. local hum = hit.Parent.Humanoid
  577. hum.PlatformStand = true
  578. coroutine.resume(coroutine.create(function(HHumanoid)
  579. swait(1)
  580. HHumanoid.PlatformStand = false
  581. end), hum)
  582. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  583. local bodvol = Instance.new("BodyVelocity")
  584. bodvol.velocity = angle * knockback
  585. bodvol.P = 5000
  586. bodvol.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  587. bodvol.Parent = hit
  588.  
  589. local rl = Instance.new("BodyAngularVelocity")
  590. rl.P = 3000
  591. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  592. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  593. rl.Parent = hit
  594.  
  595. game:GetService("Debris"):AddItem(bodvol, .5)
  596. game:GetService("Debris"):AddItem(rl, .5)
  597. elseif Type == "Plat" then
  598. local hum = hit.Parent.Humanoid
  599. hum.PlatformStand = true
  600. coroutine.resume(coroutine.create(function(HHumanoid)
  601. swait(2)
  602. HHumanoid.PlatformStand = false
  603. end), hum)
  604.  
  605. local rl = Instance.new("BodyAngularVelocity")
  606. rl.P = 3000
  607. rl.maxTorque = Vector3.new(100, 100, 100) * 500
  608. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  609. rl.Parent = hit
  610.  
  611. game:GetService("Debris"):AddItem(rl, .5)
  612. elseif Type == "Normal" then
  613. local vp = Instance.new("BodyVelocity")
  614. vp.P = 500
  615. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  616. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  617.  
  618. if knockback > 0 then
  619. vp.Parent = hit.Parent.Torso
  620. end
  621. game:GetService("Debris"):AddItem(vp, .5)
  622. elseif Type == "Up" then
  623. local bodyVelocity = Instance.new("BodyVelocity")
  624. bodyVelocity.velocity = vt(0, 20, 0)
  625. bodyVelocity.P = 5000
  626. bodyVelocity.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  627. bodyVelocity.Parent = hit
  628.  
  629. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  630. elseif Type == "Snare" then
  631. local bp = Instance.new("BodyPosition")
  632. bp.P = 2000
  633. bp.D = 100
  634. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  635. bp.position = hit.Parent.Torso.Position
  636. bp.Parent = hit.Parent.Torso
  637. game:GetService("Debris"):AddItem(bp, 1)
  638.  
  639. elseif Type == "Freeze" then
  640. local BodPos = Instance.new("BodyPosition")
  641. BodPos.P = 50000
  642. BodPos.D = 1000
  643. BodPos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  644. BodPos.position = hit.Parent.Torso.Position
  645. BodPos.Parent = hit.Parent.Torso
  646.  
  647. local BodGy = Instance.new("BodyGyro")
  648. BodGy.maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge
  649. BodGy.P = 20e+003
  650. BodGy.Parent = hit.Parent.Torso
  651. BodGy.cframe = hit.Parent.Torso.CFrame
  652.  
  653. hit.Parent.Torso.Anchored = true
  654. coroutine.resume(coroutine.create(function(Part)
  655. swait(1.5)
  656. Part.Anchored = false
  657. end), hit.Parent.Torso)
  658. game:GetService("Debris"):AddItem(BodPos, 3)
  659. game:GetService("Debris"):AddItem(BodGy, 3)
  660.  
  661.  
  662. elseif Type=="Target" then
  663. if Targetting==false then
  664. ZTarget=hit.Parent.Torso
  665. coroutine.resume(coroutine.create(function(Part)
  666. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  667. swait(5)
  668. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  669. end),ZTarget)
  670. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  671. targetgui=Instance.new("BillboardGui")
  672. targetgui.Parent=ZTarget
  673. targetgui.Size=UDim2.new(10,100,10,100)
  674. targ=Instance.new("ImageLabel")
  675. targ.Parent=targetgui
  676. targ.BackgroundTransparency=1
  677. targ.Image="rbxassetid://4834067"
  678. targ.Size=UDim2.new(1,0,1,0)
  679. cam.CameraType="Scriptable"
  680. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  681. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  682. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  683. Targetting=true
  684. RocketTarget=ZTarget
  685. for i=1,Property do
  686. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  687. swait()
  688. end
  689. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  690. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  691. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  692. end
  693. Targetting=false
  694. RocketTarget=nil
  695. targetgui.Parent=nil
  696. cam.CameraType="Custom"
  697. end
  698. end
  699.  
  700. local debounce = Instance.new("BoolValue")
  701. debounce.Name = "DebounceHit"
  702. debounce.Parent = hit.Parent
  703. debounce.Value = true
  704. game:GetService("Debris"):AddItem(debounce, Delay)
  705. c = Instance.new("ObjectValue")
  706. c.Name = "creator"
  707. c.Value = Player
  708. c.Parent = h
  709. game:GetService("Debris"):AddItem(c, .5)
  710. end
  711. end
  712.  
  713. function ShowDamage2(Pos, Text, Time, Color)
  714. local Rate = (1 / 30)
  715. local Pos = (Pos or Vector3.new(0, 0, 0))
  716. local Text = (Text or "")
  717. local Time = (Time or 2)
  718. local Color = (Color or Color3.new(1, 0, 0))
  719. local EffectPart = part2("Custom", workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  720. EffectPart.Anchored = true
  721. local BillboardGui = Instance.new("BillboardGui")
  722. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  723. BillboardGui.Adornee = EffectPart
  724. BillboardGui.Parent = EffectPart
  725.  
  726. local TextLabel = Instance.new("TextLabel")
  727. TextLabel.BackgroundTransparency = 1
  728. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  729. TextLabel.Text = Text
  730. TextLabel.TextColor3 = Color
  731. TextLabel.TextScaled = true
  732. TextLabel.Font = Enum.Font.ArialBold
  733. TextLabel.Parent = BillboardGui
  734.  
  735. game.Debris:AddItem(EffectPart, (Time + 0.1))
  736. EffectPart.Parent = game:GetService("Workspace")
  737. delay(0, function()
  738. local Frames = (Time / Rate)
  739. for Frame = 1, Frames do
  740. wait(Rate)
  741. local Percent = (Frame / Frames)
  742. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  743. TextLabel.TextTransparency = Percent
  744. end
  745. if EffectPart and EffectPart.Parent then
  746. EffectPart:Destroy()
  747. end
  748. end)
  749. end
  750.  
  751. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  752. local prt = part2(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  753. prt.Anchored = true
  754. prt.CFrame = cframe
  755. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  756. coroutine.resume(coroutine.create(function()
  757. for i = 0, 1, 0.05 do
  758. wait()
  759. prt.Transparency = i
  760. msh.Scale = msh.Scale + vt(x2, y2, z2)
  761. end
  762. prt.Parent = nil
  763. end))
  764. end
  765.  
  766. function weld(parent, part0, part1, c0, c1)
  767. local Weld = Instance.new("Weld")
  768. Weld.Parent = parent
  769. Weld.Part0 = part0
  770. Weld.Part1 = part1
  771. Weld.C0 = c0
  772. Weld.C1 = c1
  773.  
  774. return Weld
  775. end
  776.  
  777. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  778. for _, c in pairs(workspace:children()) do
  779. local hum = c:findFirstChild("Humanoid")
  780. if hum ~= nil then
  781. local head = c:findFirstChild("Torso")
  782. if head ~= nil then
  783. local targ = head.Position - Part.Position
  784. local mag = targ.magnitude
  785. if mag <= magni and c.Name ~= Player.Name then
  786. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  787. end
  788. end
  789. end
  790. end
  791. end
  792.  
  793. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  794. local prt = part2(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  795. prt.Anchored = true
  796. prt.CFrame = cframe
  797. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  798. game:GetService("Debris"):AddItem(prt, 2)
  799. coroutine.resume(coroutine.create(function(Part, Mesh)
  800. for i = 0, 1, delay do
  801. swait()
  802. Part.CFrame = Part.CFrame
  803. Part.Transparency = i
  804. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  805. end
  806. Part.Parent = nil
  807. end), prt, msh)
  808. end
  809.  
  810. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  811. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  812. prt.Anchored=true
  813. prt.CFrame=cframe
  814. local msh = mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  815. game:GetService("Debris"):AddItem(prt,2)
  816. coroutine.resume(coroutine.create(function(Part,Mesh)
  817. for i=0,1,delay do
  818. swait()
  819. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  820. Part.Transparency=i
  821. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  822. end
  823. Part.Parent=nil
  824. end),prt,msh)
  825. end
  826.  
  827.  
  828. user=game:service'Players'.localPlayer
  829. char=user.Character
  830. mouse=user:GetMouse()
  831.  
  832.  
  833. local function weldBetween(a, b, name)
  834. local weld = Instance.new("ManualWeld")
  835. weld.Part0 = a
  836. weld.Part1 = b
  837. weld.C0 = CFrame.new()
  838. weld.C1 = b.CFrame:inverse() * a.CFrame
  839. weld.Parent = a
  840. weld.Name=name or 'weldb1'
  841. weld.Parent=m
  842. return weld;
  843. end
  844.  
  845.  
  846. player=game.Players.localPlayer
  847. char=player.Character
  848. Effects={}
  849. vt=Vector3.new
  850. cf=CFrame.new
  851. euler=CFrame.fromEulerAnglesXYZ
  852. m=Instance.new("Model",char)
  853.  
  854. mouse.Button1Down:connect(function()
  855. print("NEIN")
  856. end)
  857.  
  858. local mdel = false
  859.  
  860. mouse.KeyDown:connect(function(k)
  861. k=k:lower()
  862. if k=='f' then
  863. if attack==false then
  864. ToggleMemes()
  865. end
  866. end
  867. end)
  868.  
  869. function ToggleMemes()
  870. if memeing == true and mdel == false then
  871. memeing = false
  872. issprinting=false
  873. Humanoid.WalkSpeed = 16
  874. mdel = true
  875. for i = 10,0,-0.1 do
  876. wait(0.05)
  877. WEEB.Volume = 0
  878. end
  879. WEEB.Pitch = 0
  880. mdel = false
  881. elseif memeing == false and mdel == false then
  882. memeing = true
  883. issprinting=true
  884. Humanoid.WalkSpeed=35
  885. WEEB.Pitch = 1
  886. WEEB.Volume = 10
  887. mdel = true
  888. for i = 0,1,.1 do
  889. wait(0.05)
  890. WEEB.Volume = 10
  891. end
  892. mdel = false
  893. end
  894. end
  895.  
  896. local function CFrameFromTopBack(at, top, back)
  897. local right = top:Cross(back)
  898. return CFrame.new(at.x, at.y, at.z,
  899. right.x, top.x, back.x,
  900. right.y, top.y, back.y,
  901. right.z, top.z, back.z)
  902. end
  903.  
  904. function Triangle(a, b, c)
  905. local edg1 = (c-a):Dot((b-a).unit)
  906. local edg2 = (a-b):Dot((c-b).unit)
  907. local edg3 = (b-c):Dot((a-c).unit)
  908. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  909. a, b, c = a, b, c
  910. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  911. a, b, c = b, c, a
  912. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  913. a, b, c = c, a, b
  914. else
  915. assert(false, "unreachable")
  916. end
  917.  
  918. local len1 = (c-a):Dot((b-a).unit)
  919. local len2 = (b-a).magnitude - len1
  920. local width = (a + (b-a).unit*len1 - c).magnitude
  921.  
  922. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  923.  
  924. local list = {}
  925.  
  926. if len1 > 0.01 then
  927. local w1 = Instance.new('WedgePart', m)
  928. game:GetService("Debris"):AddItem(w1,5)
  929. w1.Material = "SmoothPlastic"
  930. w1.FormFactor = 'Custom'
  931. w1.BrickColor = TorsoColor
  932. w1.Transparency = 0
  933. w1.Reflectance = 0
  934. w1.Material = "SmoothPlastic"
  935. w1.CanCollide = false
  936. NoOutline(w1)
  937. local sz = Vector3.new(0.2, width, len1)
  938. w1.Size = sz
  939. local sp = Instance.new("SpecialMesh",w1)
  940. sp.MeshType = "Wedge"
  941. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  942. w1:BreakJoints()
  943. w1.Anchored = true
  944. w1.Parent = workspace
  945. w1.Transparency = 0.7
  946. table.insert(Effects,{w1,"Disappear",.01})
  947. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  948. table.insert(list,w1)
  949. end
  950.  
  951. if len2 > 0.01 then
  952. local w2 = Instance.new('WedgePart', m)
  953. game:GetService("Debris"):AddItem(w2,5)
  954. w2.Material = "SmoothPlastic"
  955. w2.FormFactor = 'Custom'
  956. w2.BrickColor = TorsoColor
  957. w2.Transparency = 0
  958. w2.Reflectance = 0
  959. w2.Material = "SmoothPlastic"
  960. w2.CanCollide = false
  961. NoOutline(w2)
  962. local sz = Vector3.new(0.2, width, len2)
  963. w2.Size = sz
  964. local sp = Instance.new("SpecialMesh",w2)
  965. sp.MeshType = "Wedge"
  966. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  967. w2:BreakJoints()
  968. w2.Anchored = true
  969. w2.Parent = workspace
  970. w2.Transparency = 0.7
  971. table.insert(Effects,{w2,"Disappear",.01})
  972. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  973. table.insert(list,w2)
  974. end
  975. return unpack(list)
  976. end
  977.  
  978. function NoOutline(Part)
  979. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  980. end
  981.  
  982. local sine = 0
  983. local change = 1
  984. local val = 0
  985.  
  986. if #Effects>0 then
  987. --table.insert(Effects,{prt,"Block1",delay})
  988. for e=1,#Effects do
  989. if Effects[e]~=nil then
  990. --for j=1,#Effects[e] do
  991. local Thing=Effects[e]
  992. if Thing~=nil then
  993. local Part=Thing[1]
  994. local Mode=Thing[2]
  995. local Delay=Thing[3]
  996. local IncX=Thing[4]
  997. local IncY=Thing[5]
  998. local IncZ=Thing[6]
  999. if Thing[1].Transparency<=1 then
  1000. if Thing[2]=="Block1" then
  1001. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1002. Mesh=Thing[1].Mesh
  1003. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1004. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1005. elseif Thing[2]=="Cylinder" then
  1006. Mesh=Thing[1].Mesh
  1007. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1008. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1009. elseif Thing[2]=="Blood" then
  1010. Mesh=Thing[1].Mesh
  1011. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1012. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1013. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1014. elseif Thing[2]=="Elec" then
  1015. Mesh=Thing[1].Mesh
  1016. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1017. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1018. elseif Thing[2]=="Disappear" then
  1019. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1020. end
  1021. else
  1022. Part.Parent=nil
  1023. table.remove(Effects,e)
  1024. end
  1025. end
  1026. --end
  1027. end
  1028. end
  1029. end
  1030.  
  1031. cn = CFrame.new
  1032. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1033. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1034. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1035. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1036.  
  1037. local mananum=0
  1038. while true do
  1039. swait()
  1040. sine = sine + change
  1041. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1042. local velderp=RootPart.Velocity.y
  1043. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1044. if equipped==true or equipped==false then
  1045. if attack==false then
  1046. idle=idle+1
  1047. else
  1048. idle=0
  1049. end
  1050. if idle>=500 then
  1051. if attack==false then
  1052. --Sheath()
  1053. end
  1054. end
  1055. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1056. Anim="Jump"
  1057. if attack==false then
  1058. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  1059. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1060. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1061. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
  1062. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1063. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  1064. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1065. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.3)
  1066. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.3)
  1067. end
  1068. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1069. Anim="Fall"
  1070. if attack==false then
  1071. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  1072. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1073. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1074. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
  1075. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1076. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  1077. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1078. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.3)
  1079. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.3)
  1080. end
  1081. elseif torvel<1 and hitfloor~=nil then
  1082. Anim="Idle"
  1083. if attack==false then
  1084. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .3)
  1085. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .3)
  1086. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.3)
  1087. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.3)
  1088. RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3)
  1089. LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3)
  1090. end
  1091. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1092. Anim="Walk"
  1093. if attack==false then
  1094. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 5)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 10))), .2)
  1095. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 10)) + RootPart.RotVelocity.Y / 15), .2)
  1096. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 * math.cos(sine / 13)), math.rad(0), math.rad(4 * math.cos(sine / 13))), .2)
  1097. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 13)), math.rad(0), math.rad(4 * math.cos(sine / 13))), .2)
  1098. RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 7))), .3)
  1099. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 7))), .3)
  1100. end
  1101. elseif torvel>=22 and issprinting==true and hitfloor~=nil then
  1102. Anim="Run"
  1103. if attack==false then
  1104. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, -0.05 + .1 * 2.5 * math.cos(sine / 2)) * angles(math.rad(50), math.rad(2) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 2))), .2)
  1105. Torso.Neck.C0 = clerp(Torso.Neck.C0, cn(0, 1.1, -0.2, -1, -0, -0, 0, 0, 1, 0, 1, 0) * angles(math.rad(-50), math.rad(0), math.rad(-5 * math.cos(sine / 10)) + RootPart.RotVelocity.Y / 15), .2)
  1106. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.4) * angles(math.rad(75 * math.cos(6 / 2)), math.rad(-5), math.rad(25 * math.cos(sine / 3))), .2)
  1107. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.4) * angles(math.rad(75 * math.cos(6 / 2)), math.rad(5), math.rad(25 * math.cos(sine / 3))), .2)
  1108. RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(55 * math.cos(sine / 3))), .3)
  1109. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(55 * math.cos(sine / 3))), .3)
  1110. end
  1111. end
  1112. end
  1113. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement