Advertisement
SmokeDelsin

rnbows

Jul 22nd, 2015
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wait(5)
  2. Player = game.Players.LocalPlayer
  3. Mouse = Player:GetMouse()
  4. Teleporting = false
  5. Animation = Instance.new("Animation" , Player.Character)
  6.  
  7. Animation.AnimationId = "http://www.roblox.com/asset?id=251590041"
  8. function Teleport(Key)
  9.  
  10. Key=Key:lower()
  11. if Key == "q" and Teleporting == false then
  12. Teleporting = true
  13.  
  14. local Shockwave = Instance.new("Part")
  15. Shockwave.Parent = workspace
  16. Shockwave.Anchored = true
  17. Shockwave.CanCollide = false
  18. Shockwave.CFrame = Player.Character.Torso.CFrame
  19. Shockwave.BrickColor=BrickColor.new("Navy blue")
  20. Shockwave.Shape ="Ball"
  21. Shockwave.TopSurface = 0
  22. Shockwave.BottomSurface = 0
  23. Shockwave.Size = Vector3.new(10,10,10)
  24. Shockwave.Transparency = 0.5
  25. Shockwave.Reflectance = 0.2
  26.  
  27. Shockwave.CFrame = Player.Character.Torso.CFrame
  28. local Weld = Instance.new("Weld")
  29. Weld.Parent = Shockwave
  30. Weld.Part0 = Player.Character.Torso
  31. Weld.C0 = Player.Character.Torso.CFrame:inverse()
  32. Weld.Part1= Shockwave
  33. Weld.C1=Shockwave.CFrame:inverse()
  34.  
  35.  
  36. local Shine = Instance.new("PointLight")
  37. Shine.Parent = Shockwave
  38.  
  39. Shine.Brightness = 1000
  40. Shine.Color = Color3.new(255,255,0)
  41. Shine.Range = 12
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50. for x = 1,9 do
  51. Shockwave.Size = Shockwave.Size -Vector3.new(1,1,1)
  52. Shockwave.CFrame = Player.Character.Torso.CFrame
  53.  
  54. wait(0.05)
  55. end
  56. game.Debris:AddItem(Shockwave,0.5)
  57.  
  58.  
  59. local TargetHumanoid = Mouse.Target.Parent:FindFirstChild("Humanoid")
  60.  
  61. if Mouse.Target ~= nil and TargetHumanoid== nil then
  62.  
  63.  
  64.  
  65. Player.Character.Torso.CFrame = Mouse.Hit* CFrame.new(0,5,0)
  66.  
  67.  
  68.  
  69. local Light = Instance.new("Part")
  70. Light.Parent = workspace
  71. Light.Anchored = true
  72. Light.CanCollide = false
  73. Light.CFrame = Player.Character.Torso.CFrame
  74. Light.BrickColor=BrickColor.new("Navy blue")
  75. Light.Shape ="Ball"
  76. Light.TopSurface = 0
  77. Light.BottomSurface = 0
  78. Light.formFactor ="Custom"
  79. Light.Reflectance = 0.2
  80.  
  81.  
  82. local LightShine = Instance.new("PointLight")
  83. LightShine.Parent = Light
  84. LightShine.Brightness = 12000
  85. LightShine.Color = Color3.new(255,255,0)
  86. LightShine.Range = 12
  87.  
  88. for i = 1 , 4 do
  89.  
  90. Light.Size = Light.Size*Vector3.new(1,2,0)
  91. Light.Transparency = Light.Transparency +0.20
  92. LightShine.Range = LightShine.Range +2
  93. wait(0.1)
  94. end
  95. game.Debris:AddItem(Light , 0.1)
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107. elseif Mouse.Target.Parent:FindFirstChild("Humanoid")~=nil then
  108. print(Mouse.Target)
  109. local TargetTorso = Mouse.Target.Parent:FindFirstChild("Torso")
  110.  
  111.  
  112. Player.Character.Torso.Anchored = false
  113.  
  114.  
  115. Player.Character.Torso.CFrame = TargetTorso.CFrame * CFrame.new(2,2.5,-1.4)
  116.  
  117.  
  118. local AnimationTrack = Player.Character.Humanoid:LoadAnimation(Animation)--Humanoid is a variable for humanoid
  119. AnimationTrack:Play()
  120.  
  121.  
  122. local LL = Player.Character:FindFirstChild("Left Leg")
  123. LL.Transparency = 0.8
  124. LL.Reflectance = 0.8
  125. LL.CanCollide = false
  126. local LLlight = Instance.new("PointLight")
  127. LLlight.Parent = LL
  128. LLlight.Color = Color3.new(255,255,0)
  129.  
  130.  
  131.  
  132.  
  133. local ContactBall = Instance.new("Part")
  134. ContactBall.Shape="Ball"
  135. ContactBall.Transparency = 0
  136. ContactBall.CanCollide = false
  137. ContactBall.CFrame = LL.CFrame *CFrame.new(0,-1,0)
  138. ContactBall.Parent = workspace
  139. ContactBall.Size = Vector3.new(2,2,2)
  140. ContactBall.Color = Color3.new(255,255,0)
  141. ContactBall.TopSurface = 0
  142. ContactBall.BottomSurface = 0
  143. ContactBall.Transparency = 0.9
  144.  
  145.  
  146. TargetHumanoid.Health = TargetHumanoid.Health -30
  147. local BV = Instance.new("BodyVelocity")
  148. BV.Parent = TargetTorso
  149. BV.maxForce = Vector3.new(math.huge ,math.huge,math.huge)
  150. BV.velocity = TargetTorso.CFrame.lookVector*-40
  151.  
  152.  
  153. local F = TargetTorso:WaitForChild("BodyVelocity")
  154. game.Debris:AddItem(BV,1)
  155. wait(1)
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168. local LightWeld = Instance.new("Weld")
  169. LightWeld.Part0 = LL
  170. LightWeld.C0 = LL.CFrame:inverse()
  171. LightWeld.Part1 = ContactBall
  172. LightWeld.C1 = ContactBall.CFrame:inverse()
  173. LightWeld.Parent = ContactBall
  174. LLlight.Range = 0
  175. for c = 1,10 do
  176.  
  177. LLlight.Range = LLlight.Range+2
  178. wait(0.05)
  179. end
  180.  
  181. game.Debris:AddItem(ContactBall,1)
  182. game.Debris:AddItem(LLlight , 1)
  183.  
  184. wait(1)
  185. LL.Transparency = 0
  186. LL.Reflectance = 0
  187. LL.CanCollide = true
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194. Player.Character.Torso.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,0,-2)
  195. Player.Character.Torso.Anchored = false
  196. Player.Character.Humanoid.Jump = true
  197. wait(0.2)
  198. Player.Character.Humanoid.Jump = true
  199.  
  200.  
  201.  
  202. end
  203. wait(2)
  204. Teleporting = false
  205. end
  206.  
  207.  
  208. end
  209.  
  210.  
  211.  
  212. Mouse.KeyDown:connect(Teleport)
  213.  
  214.  
  215. local plr=game.Players.Otics
  216. local chr=plr.Character
  217. local mouse = plr:GetMouse()
  218. local PGui=plr.PlayerGui
  219. local lleg = chr["Left Leg"]
  220. local rleg = chr["Right Leg"]
  221. local larm = chr["Left Arm"]
  222. local rarm = chr["Right Arm"]
  223. local hed = chr.Head
  224. local rutprt = chr.HumanoidRootPart
  225. local torso = chr.Torso
  226. local otheranims=false
  227. local armmovement=false
  228. chr.Animate.Disabled=true
  229. local RunSpeed=30
  230. local WlkSpeed=18
  231. local runnin=false
  232. local disabled=false
  233. local tik=0
  234. local height=1
  235. local raising=false
  236. local lowering=false
  237. local pseudohead=hed:Clone()
  238. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  239. pseudohead.Name='PseudoHead'
  240. pseudohead.Parent=chr.Head
  241. local pseudoweld=Instance.new('Weld',torso)
  242. pseudoweld.Part0=hed
  243. pseudoweld.Name='PseudoHedWld'
  244. pseudoweld.Part1=pseudohead
  245. hed.Transparency=1
  246.  
  247. coroutine.resume(coroutine.create(function()
  248. local rate=.05
  249. local Hats={}
  250. for i,x in pairs(chr:GetChildren()) do if x:IsA("Hat") then table.insert(Hats,x) x.Handle.Mesh.TextureId="http://www.roblox.com/asset?id=25701026"
  251. end
  252. end
  253. local lam=Instance.new("SpecialMesh",larm)
  254. lam.MeshId="http://www.roblox.com/asset?id=12221505"
  255. lam.TextureId="http://www.roblox.com/asset?id=25701026"
  256. local ram=Instance.new("SpecialMesh",rarm)
  257. ram.MeshId="http://www.roblox.com/asset?id=12221505"
  258. ram.TextureId="http://www.roblox.com/asset?id=25701026"
  259. local rlm=Instance.new("SpecialMesh",rleg)
  260. rlm.MeshId="http://www.roblox.com/asset?id=12221626"
  261. rlm.TextureId="http://www.roblox.com/asset?id=25701026"
  262. local llm=Instance.new("SpecialMesh",lleg)
  263. llm.MeshId="http://www.roblox.com/asset?id=12221626"
  264. llm.TextureId="http://www.roblox.com/asset?id=25701026"
  265. local trm=Instance.new("SpecialMesh",torso)
  266. trm.MeshId="http://www.roblox.com/asset?id=12221758"
  267. trm.TextureId="http://www.roblox.com/asset?id=25701026"
  268. local hem=Instance.new("SpecialMesh",hed)
  269. hem.MeshId="rbxasset://fonts/head.mesh"
  270. hem.TextureId="http://www.roblox.com/asset?id=25701026"
  271. local hem2=Instance.new("SpecialMesh",pseudohead)
  272. hem2.MeshId="rbxasset://fonts/head.mesh"
  273. hem2.TextureId="http://www.roblox.com/asset?id=25701026"
  274. local asd=Instance.new('PointLight',torso)
  275. asd.Brightness=123
  276. asd.Range=12
  277. asd.Shadows=true
  278.  
  279. while wait'0' do
  280. for a=0,1,rate do
  281. lam.VertexColor=Vector3.new(a,0,-a+1)
  282. ram.VertexColor=Vector3.new(a,0,-a+1)
  283. rlm.VertexColor=Vector3.new(a,0,-a+1)
  284. llm.VertexColor=Vector3.new(a,0,-a+1)
  285. trm.VertexColor=Vector3.new(a,0,-a+1)
  286. hem.VertexColor=Vector3.new(a,0,-a+1)
  287. hem2.VertexColor=Vector3.new(a,0,-a+1)
  288. asd.Color=Color3.new(a,0,-a+1)
  289. coroutine.wrap(function()
  290. for x=1,#Hats do
  291. Hats[x].Handle.Mesh.VertexColor=Vector3.new(a,0,-a+1)
  292. end
  293. end)()
  294. wait''
  295. end
  296. for a=0,1,rate do
  297. lam.VertexColor=Vector3.new(-a+1,a,0)
  298. ram.VertexColor=Vector3.new(-a+1,a,0)
  299. rlm.VertexColor=Vector3.new(-a+1,a,0)
  300. llm.VertexColor=Vector3.new(-a+1,a,0)
  301. trm.VertexColor=Vector3.new(-a+1,a,0)
  302. hem.VertexColor=Vector3.new(-a+1,a,0)
  303. hem2.VertexColor=Vector3.new(-a+1,a,0)
  304. asd.Color=Color3.new(-a+1,a,0)
  305. coroutine.wrap(function()
  306. for x=1,#Hats do
  307. Hats[x].Handle.Mesh.VertexColor=Vector3.new(-a+1,a,0)
  308. end
  309. end)()
  310. wait''
  311. end
  312. for a=0,1,rate do
  313. lam.VertexColor=Vector3.new(0,-a+1,a)
  314. ram.VertexColor=Vector3.new(0,-a+1,a)
  315. rlm.VertexColor=Vector3.new(0,-a+1,a)
  316. llm.VertexColor=Vector3.new(0,-a+1,a)
  317. trm.VertexColor=Vector3.new(0,-a+1,a)
  318. hem.VertexColor=Vector3.new(0,-a+1,a)
  319. hem2.VertexColor=Vector3.new(0,-a+1,a)
  320. asd.Color=Color3.new(0,-a+1,a)
  321. coroutine.wrap(function()
  322. for x=1,#Hats do
  323. Hats[x].Handle.Mesh.VertexColor=Vector3.new(0,-a+1,a)
  324. end
  325. end)()
  326. wait''
  327. end
  328. end
  329. end))
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339. coroutine.wrap(function()
  340. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  341.  
  342. local flap=Instance.new("Sound",torso)
  343. flap.Volume=.3
  344. flap.Pitch=1
  345. flap.SoundId="http://www.roblox.com/asset?id=90820031"
  346.  
  347. function Lerp(a, b, i)
  348. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  349. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  350. local calx = com1[1] + (com2[1] - com1[1]) * i
  351. local caly = com1[2] + (com2[2] - com1[2]) * i
  352. local calz = com1[3] + (com2[3] - com1[3]) * i
  353. local cala = com1[4] + (com2[4] - com1[4]) * i
  354. local calb = com1[5] + (com2[5] - com1[5]) * i
  355. local calc = com1[6] + (com2[6] - com1[6]) * i
  356. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  357. end
  358.  
  359. function TwnSingleNumber(s,f,m)
  360. local wot=s+(f-s)*m
  361. return wot
  362. end
  363.  
  364. function TwnVector3(q,w,e)
  365. local begin={q.x,q.y,q.z}
  366. local ending={w.x,w.y,w.z}
  367. local bgx=begin[1]+(ending[1]-begin[1])*e
  368. local bgy=begin[2]+(ending[2]-begin[2])*e
  369. local bgz=begin[3]+(ending[3]-begin[3])*e
  370. return Vector3.new(bgx,bgy,bgz)
  371. end
  372.  
  373. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  374. wld = Instance.new("Weld", wp1)
  375. wld.Part0 = wp0
  376. wld.Part1 = wp1
  377. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  378. end
  379.  
  380. newWeld(law, torso, larm, -1.5, 0.5, 0)
  381. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  382. newWeld(llw, torso, lleg, -.5, -2, 0)
  383. newWeld(rlw, torso, rleg, .5, -2, 0)
  384. newWeld(hw, torso, hed, 0, 1.5, 0)
  385. local rutwald=Instance.new('Weld',rutprt)
  386. rutwald.Part0=rutprt
  387. rutwald.Part1=torso
  388. rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  389. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  390. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  391. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  392. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  393.  
  394. local anim = "Idling"
  395. local lastanim = "Idling"
  396. local val = 0
  397. local syne = 0
  398. local num = 0
  399. local runtime = 0
  400.  
  401. --[[local pseudohead=hed:Clone()
  402. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  403. pseudohead.Name='PseudoHead'
  404. pseudohead.Parent=chr.Head
  405. local pseudoweld=Instance.new('Weld',torso)
  406. pseudoweld.Part0=hed
  407. pseudoweld.Name='PseudoHedWld'
  408. pseudoweld.Part1=pseudohead
  409. hed.Transparency=1]]
  410.  
  411.  
  412.  
  413. maus.KeyDown:connect(function(kei)
  414. if string.byte(kei)==48 and not otheranims and not disabled then
  415. chr.Humanoid.WalkSpeed=RunSpeed
  416. runnin=true
  417. end
  418. if kei=="z" and not otheranims and not disabled and not lowering then
  419. raising=true
  420. end
  421. if kei=="x" and not otheranims and not disabled and not raising then
  422. lowering=true
  423. end
  424. end)
  425.  
  426. maus.KeyUp:connect(function(kei)
  427. if string.byte(kei)==48 and not otheranims and not disabled then
  428. chr.Humanoid.WalkSpeed=WlkSpeed
  429. runnin=false
  430. end
  431. if kei=="z" and not otheranims and not disabled then
  432. raising=false
  433. end
  434. if kei=="x" and not otheranims and not disabled then
  435. lowering=false
  436. end
  437. end)
  438.  
  439. game:service'RunService'.RenderStepped:connect(function()
  440. if raising and not lowering then height=height+.2
  441. elseif lowering and not raising then height=height-.2
  442. end
  443. if height>50 then height=50
  444. elseif height<-.75 then height=-.75
  445. end
  446. syne=syne+1
  447. if not otheranims then
  448. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not dnc and torso.Velocity.y<5 and torso.Velocity.y>-5 then
  449. anim="Idling"
  450.  
  451. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < 25 and torso.Velocity.y<5 and torso.Velocity.y>-5 then
  452. anim="Walking"
  453. dnc=false
  454.  
  455. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 25 and torso.Velocity.y<5 and torso.Velocity.y>-5 then
  456. anim="Sprinting"
  457. dnc=false
  458.  
  459. elseif torso.Velocity.y>5 then
  460. anim='Jumping'
  461. dnc=false
  462.  
  463. elseif (torso.Velocity.y < -5) then
  464. anim='Falling'
  465. dnc=false
  466. end
  467. end
  468.  
  469. if anim=="Idling" then
  470. tik=tik+1
  471. if tik==45 then tik=0
  472. flap:play''
  473. end
  474. if not armmovement then
  475. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.55,0)*CFrame.Angles(math.sin(syne/16)/3,0,(math.sin(syne/8)*1.5)+math.rad(55)),.1)
  476. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.55,0)*CFrame.Angles(math.sin(syne/16)/3,0,-(math.sin(syne/8)*1.5)-math.rad(55)),.1)
  477. end
  478. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,math.sin(syne/16)/3)*CFrame.Angles(-math.sin(syne/16)/3,0,math.rad(-2.5)),.1)
  479. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,math.sin(syne/16)/3)*CFrame.Angles(-math.sin(syne/16)/3,0,math.rad(2.5)),.1)
  480. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,math.rad(0),0),.1)
  481. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-(math.sin(syne/8))*1.8+height,-(math.sin(syne/16)/2))*CFrame.Angles(math.sin(syne/16)/10,math.rad(0),math.rad(0)),.025)
  482. end
  483. if anim=="Walking" then
  484. tik=tik+1
  485. if tik==43 then tik=0
  486. flap:play''
  487. end
  488. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.5,0)*CFrame.Angles(math.rad(-3)+math.sin(syne/7)/4,0,(math.sin(syne/7)*1.5)+math.rad(55)),.1)
  489. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.5,0)*CFrame.Angles(math.rad(-3)+math.sin(syne/7)/4,0,-(math.sin(syne/7)*1.5)-math.rad(55)),.1)
  490. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,-math.sin(syne/14)/10)*CFrame.Angles(math.sin(syne/14)/10+math.rad(-5),0,math.rad(-2.5)),.1)
  491. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,-math.sin(syne/14)/10)*CFrame.Angles(math.sin(syne/14)/10+math.rad(-5),0,math.rad(2.5)),.1)
  492. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,math.rad(0),0),.1)
  493. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-(math.sin(syne/7))*1.8+height,math.sin(syne/14)/2)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),.025)
  494. end
  495. if anim=="Sprinting" then
  496. tik=tik+1
  497. if tik==40 then tik=0
  498. flap:play''
  499. end
  500. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.5,0)*CFrame.Angles(math.rad(-3)-math.sin(syne/6.5)/2,0,(math.sin(syne/6.5)*1.5)+math.rad(55)),.1)
  501. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.5,0)*CFrame.Angles(math.rad(-3)-math.sin(syne/6.5)/2,0,-(math.sin(syne/6.5)*1.5)-math.rad(55)),.1)
  502. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(0),0,math.rad(-2.5)),.1)
  503. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.5,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  504. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,math.rad(0),0),.1)
  505. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-(math.sin(syne/6.5)*1.6)+height,math.sin(syne/6.5)/5)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),.025)
  506. end
  507. if anim=="Jumping" then
  508. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.55,0)*CFrame.Angles(0,0,math.rad(5)),.1)
  509. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.55,0)*CFrame.Angles(0,0,math.rad(5)),.1)
  510. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(0),0,math.rad(-2.5)),.1)
  511. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.5,-.1)*CFrame.Angles(math.rad(-12.5),0,math.rad(2.5)),.125)
  512. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),math.rad(0),0),.1)
  513. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,height,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.025)
  514. end
  515. if anim=="Falling" then
  516. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,1,0)*CFrame.Angles(math.rad(15),0,math.rad(175)),.1)
  517. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,1,0)*CFrame.Angles(math.rad(15),0,math.rad(-175)),.1)
  518. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(0),0,math.rad(-2.5)),.1)
  519. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.5,0)*CFrame.Angles(math.rad(-7.5),0,math.rad(2.5)),.125)
  520. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.1)*CFrame.Angles(math.rad(-20),math.rad(0),0),.1)
  521. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,rutprt.Weld.C0.y+1,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  522. end
  523.  
  524.  
  525. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  526. end)
  527. local plr=game.Players.LocalPlayer
  528. local mouse=plr:GetMouse()
  529. local char=plr.Character
  530.  
  531. local C=0
  532. local KK={}
  533. coroutine.wrap(function()
  534. while wait(0) do
  535. local part=Instance.new("Part",char)
  536. local emitter=Instance.new("ParticleEmitter",Part)
  537. part.FormFactor='Custom'
  538. part.Transparency=0.5
  539. part.Size=Vector3.new(3.5,0.1,3.5)
  540. part.TopSurface='Smooth'
  541. part.BrickColor = BrickColor.new(C==0 and 'Bright blue')
  542. part.Anchored=true
  543. game.Debris:AddItem(part,0.5)
  544. if KK['x'] then
  545. part.CanCollide=false
  546. char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-0.5,0)
  547. elseif KK['z'] then
  548. char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0)
  549. end
  550. wait(0)
  551. part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-3.3,0)
  552.  
  553. end
  554. end)()
  555.  
  556. mouse.KeyDown:connect(function(K)
  557. KK[K]=true
  558. if KK['y'] then
  559. C=C==0 and 1 or 0
  560. end
  561. end)
  562. --hi
  563. mouse.KeyUp:connect(function(K)
  564. KK[K]=false
  565. end)
  566. --------------------------------------------------------------------------------------------
  567. local plr=game.Players.LocalPlayer
  568. local mouse=plr:GetMouse()
  569. local char=plr.Character
  570.  
  571. local C=0
  572. local KK={}
  573. coroutine.wrap(function()
  574. while wait(0) do
  575. local part=Instance.new("Part",char)
  576. local emitter=Instance.new("ParticleEmitter",Part)
  577. part.FormFactor='Custom'
  578. part.Transparency=0.5
  579. part.Size=Vector3.new(3.5,0.1,3.5)
  580. part.TopSurface='Smooth'
  581. part.BrickColor = BrickColor.new(C==0 and 'Bright red')
  582. part.Anchored=true
  583. game.Debris:AddItem(part,0.5)
  584. if KK['q'] then
  585. part.CanCollide=false
  586. char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-0.5,0)
  587. elseif KK['e'] then
  588. char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0)
  589. end
  590. wait(0)
  591. part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-3.3,0)
  592.  
  593. end
  594. end)()
  595.  
  596. mouse.KeyDown:connect(function(K)
  597. KK[K]=true
  598. if KK['y'] then
  599. C=C==0 and 1 or 0
  600. end
  601. end)
  602. --hi
  603. mouse.KeyUp:connect(function(K)
  604. KK[K]=false
  605. end)
  606. --------------------------------------------------------------------------
  607. local plr=game.Players.LocalPlayer
  608. local mouse=plr:GetMouse()
  609. local char=plr.Character
  610.  
  611. local C=0
  612. local KK={}
  613. coroutine.wrap(function()
  614. while wait(0) do
  615. local part=Instance.new("Part",char)
  616. local emitter=Instance.new("ParticleEmitter",Part)
  617. part.FormFactor='Custom'
  618. part.Transparency=0.5
  619. part.Size=Vector3.new(3.5,0.1,3.5)
  620. part.TopSurface='Smooth'
  621. part.BrickColor = BrickColor.new(C==0 and 'Bright green')
  622. part.Anchored=true
  623. game.Debris:AddItem(part,0.5)
  624. if KK['q'] then
  625. part.CanCollide=false
  626. char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-0.5,0)
  627. elseif KK['e'] then
  628. char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0)
  629. end
  630. wait(0)
  631. part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-3.3,0)
  632.  
  633. end
  634. end)()
  635.  
  636. mouse.KeyDown:connect(function(K)
  637. KK[K]=true
  638. if KK['y'] then
  639. C=C==0 and 1 or 0
  640. end
  641. end)
  642. --hi
  643. mouse.KeyUp:connect(function(K)
  644. KK[K]=false
  645. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement