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