SHARE
TWEET

Naruto Run fe ver

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