SHOW:
|
|
- or go back to the newest paste.
| 1 | - | local plr=game.Players.Wlnged |
| 1 | + | local plr=game.Players.SmokeDelsin |
| 2 | local chr=plr.Character | |
| 3 | local mouse = plr:GetMouse() | |
| 4 | local PGui=plr.PlayerGui | |
| 5 | local lleg = chr["Left Leg"] | |
| 6 | local rleg = chr["Right Leg"] | |
| 7 | local larm = chr["Left Arm"] | |
| 8 | local rarm = chr["Right Arm"] | |
| 9 | local hed = chr.Head | |
| 10 | local rutprt = chr.HumanoidRootPart | |
| 11 | local torso = chr.Torso | |
| 12 | local otheranims=false | |
| 13 | local armmovement=false | |
| 14 | chr.Animate.Disabled=true | |
| 15 | local RunSpeed=30 | |
| 16 | local WlkSpeed=18 | |
| 17 | local runnin=false | |
| 18 | local disabled=false | |
| 19 | local tik=0 | |
| 20 | local height=1 | |
| 21 | local raising=false | |
| 22 | local lowering=false | |
| 23 | local pseudohead=hed:Clone() | |
| 24 | for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
| |
| 25 | pseudohead.Name='PseudoHead' | |
| 26 | pseudohead.Parent=chr.Head | |
| 27 | local pseudoweld=Instance.new('Weld',torso)
| |
| 28 | pseudoweld.Part0=hed | |
| 29 | pseudoweld.Name='PseudoHedWld' | |
| 30 | pseudoweld.Part1=pseudohead | |
| 31 | hed.Transparency=1 | |
| 32 | ||
| 33 | coroutine.resume(coroutine.create(function() | |
| 34 | local rate=.05 | |
| 35 | local Hats={}
| |
| 36 | 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"
| |
| 37 | end | |
| 38 | end | |
| 39 | local lam=Instance.new("SpecialMesh",larm)
| |
| 40 | lam.MeshId="http://www.roblox.com/asset?id=12221505" | |
| 41 | lam.TextureId="http://www.roblox.com/asset?id=25701026" | |
| 42 | local ram=Instance.new("SpecialMesh",rarm)
| |
| 43 | ram.MeshId="http://www.roblox.com/asset?id=12221505" | |
| 44 | ram.TextureId="http://www.roblox.com/asset?id=25701026" | |
| 45 | local rlm=Instance.new("SpecialMesh",rleg)
| |
| 46 | rlm.MeshId="http://www.roblox.com/asset?id=12221626" | |
| 47 | rlm.TextureId="http://www.roblox.com/asset?id=25701026" | |
| 48 | local llm=Instance.new("SpecialMesh",lleg)
| |
| 49 | llm.MeshId="http://www.roblox.com/asset?id=12221626" | |
| 50 | llm.TextureId="http://www.roblox.com/asset?id=25701026" | |
| 51 | local trm=Instance.new("SpecialMesh",torso)
| |
| 52 | trm.MeshId="http://www.roblox.com/asset?id=12221758" | |
| 53 | trm.TextureId="http://www.roblox.com/asset?id=25701026" | |
| 54 | local hem=Instance.new("SpecialMesh",hed)
| |
| 55 | hem.MeshId="rbxasset://fonts/head.mesh" | |
| 56 | hem.TextureId="http://www.roblox.com/asset?id=25701026" | |
| 57 | local hem2=Instance.new("SpecialMesh",pseudohead)
| |
| 58 | hem2.MeshId="rbxasset://fonts/head.mesh" | |
| 59 | hem2.TextureId="http://www.roblox.com/asset?id=25701026" | |
| 60 | local asd=Instance.new('PointLight',torso)
| |
| 61 | asd.Brightness=123 | |
| 62 | asd.Range=12 | |
| 63 | asd.Shadows=true | |
| 64 | ||
| 65 | while wait'0' do | |
| 66 | for a=0,1,rate do | |
| 67 | lam.VertexColor=Vector3.new(a,0,-a+1) | |
| 68 | ram.VertexColor=Vector3.new(a,0,-a+1) | |
| 69 | rlm.VertexColor=Vector3.new(a,0,-a+1) | |
| 70 | llm.VertexColor=Vector3.new(a,0,-a+1) | |
| 71 | trm.VertexColor=Vector3.new(a,0,-a+1) | |
| 72 | hem.VertexColor=Vector3.new(a,0,-a+1) | |
| 73 | hem2.VertexColor=Vector3.new(a,0,-a+1) | |
| 74 | asd.Color=Color3.new(a,0,-a+1) | |
| 75 | coroutine.wrap(function() | |
| 76 | for x=1,#Hats do | |
| 77 | Hats[x].Handle.Mesh.VertexColor=Vector3.new(a,0,-a+1) | |
| 78 | end | |
| 79 | end)() | |
| 80 | wait'' | |
| 81 | end | |
| 82 | for a=0,1,rate do | |
| 83 | lam.VertexColor=Vector3.new(-a+1,a,0) | |
| 84 | ram.VertexColor=Vector3.new(-a+1,a,0) | |
| 85 | rlm.VertexColor=Vector3.new(-a+1,a,0) | |
| 86 | llm.VertexColor=Vector3.new(-a+1,a,0) | |
| 87 | trm.VertexColor=Vector3.new(-a+1,a,0) | |
| 88 | hem.VertexColor=Vector3.new(-a+1,a,0) | |
| 89 | hem2.VertexColor=Vector3.new(-a+1,a,0) | |
| 90 | asd.Color=Color3.new(-a+1,a,0) | |
| 91 | coroutine.wrap(function() | |
| 92 | for x=1,#Hats do | |
| 93 | Hats[x].Handle.Mesh.VertexColor=Vector3.new(-a+1,a,0) | |
| 94 | end | |
| 95 | end)() | |
| 96 | wait'' | |
| 97 | end | |
| 98 | for a=0,1,rate do | |
| 99 | lam.VertexColor=Vector3.new(0,-a+1,a) | |
| 100 | ram.VertexColor=Vector3.new(0,-a+1,a) | |
| 101 | rlm.VertexColor=Vector3.new(0,-a+1,a) | |
| 102 | llm.VertexColor=Vector3.new(0,-a+1,a) | |
| 103 | trm.VertexColor=Vector3.new(0,-a+1,a) | |
| 104 | hem.VertexColor=Vector3.new(0,-a+1,a) | |
| 105 | hem2.VertexColor=Vector3.new(0,-a+1,a) | |
| 106 | asd.Color=Color3.new(0,-a+1,a) | |
| 107 | coroutine.wrap(function() | |
| 108 | for x=1,#Hats do | |
| 109 | Hats[x].Handle.Mesh.VertexColor=Vector3.new(0,-a+1,a) | |
| 110 | end | |
| 111 | end)() | |
| 112 | wait'' | |
| 113 | end | |
| 114 | end | |
| 115 | end)) | |
| 116 | ||
| 117 | ||
| 118 | ||
| 119 | ||
| 120 | ||
| 121 | ||
| 122 | ||
| 123 | ||
| 124 | ||
| 125 | coroutine.wrap(function() | |
| 126 | for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
| |
| 127 | ||
| 128 | local flap=Instance.new("Sound",torso)
| |
| 129 | flap.Volume=.3 | |
| 130 | flap.Pitch=1 | |
| 131 | flap.SoundId="http://www.roblox.com/asset?id=90820031" | |
| 132 | ||
| 133 | function Lerp(a, b, i) | |
| 134 | local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
| |
| 135 | local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
| |
| 136 | local calx = com1[1] + (com2[1] - com1[1]) * i | |
| 137 | local caly = com1[2] + (com2[2] - com1[2]) * i | |
| 138 | local calz = com1[3] + (com2[3] - com1[3]) * i | |
| 139 | local cala = com1[4] + (com2[4] - com1[4]) * i | |
| 140 | local calb = com1[5] + (com2[5] - com1[5]) * i | |
| 141 | local calc = com1[6] + (com2[6] - com1[6]) * i | |
| 142 | return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc) | |
| 143 | end | |
| 144 | ||
| 145 | function TwnSingleNumber(s,f,m) | |
| 146 | local wot=s+(f-s)*m | |
| 147 | return wot | |
| 148 | end | |
| 149 | ||
| 150 | function TwnVector3(q,w,e) | |
| 151 | local begin={q.x,q.y,q.z}
| |
| 152 | local ending={w.x,w.y,w.z}
| |
| 153 | local bgx=begin[1]+(ending[1]-begin[1])*e | |
| 154 | local bgy=begin[2]+(ending[2]-begin[2])*e | |
| 155 | local bgz=begin[3]+(ending[3]-begin[3])*e | |
| 156 | return Vector3.new(bgx,bgy,bgz) | |
| 157 | end | |
| 158 | ||
| 159 | newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z) | |
| 160 | wld = Instance.new("Weld", wp1)
| |
| 161 | wld.Part0 = wp0 | |
| 162 | wld.Part1 = wp1 | |
| 163 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 164 | end | |
| 165 | ||
| 166 | newWeld(law, torso, larm, -1.5, 0.5, 0) | |
| 167 | newWeld(raw, torso, rarm, 1.5, 0.5, 0) | |
| 168 | newWeld(llw, torso, lleg, -.5, -2, 0) | |
| 169 | newWeld(rlw, torso, rleg, .5, -2, 0) | |
| 170 | newWeld(hw, torso, hed, 0, 1.5, 0) | |
| 171 | local rutwald=Instance.new('Weld',rutprt)
| |
| 172 | rutwald.Part0=rutprt | |
| 173 | rutwald.Part1=torso | |
| 174 | rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0) | |
| 175 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 176 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 177 | rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0) | |
| 178 | lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0) | |
| 179 | ||
| 180 | local anim = "Idling" | |
| 181 | local lastanim = "Idling" | |
| 182 | local val = 0 | |
| 183 | local syne = 0 | |
| 184 | local num = 0 | |
| 185 | local runtime = 0 | |
| 186 | ||
| 187 | --[[local pseudohead=hed:Clone() | |
| 188 | for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
| |
| 189 | pseudohead.Name='PseudoHead' | |
| 190 | pseudohead.Parent=chr.Head | |
| 191 | local pseudoweld=Instance.new('Weld',torso)
| |
| 192 | pseudoweld.Part0=hed | |
| 193 | pseudoweld.Name='PseudoHedWld' | |
| 194 | pseudoweld.Part1=pseudohead | |
| 195 | hed.Transparency=1]] | |
| 196 | ||
| 197 | ||
| 198 | ||
| 199 | maus.KeyDown:connect(function(kei) | |
| 200 | if string.byte(kei)==48 and not otheranims and not disabled then | |
| 201 | chr.Humanoid.WalkSpeed=RunSpeed | |
| 202 | runnin=true | |
| 203 | end | |
| 204 | if kei=="e" and not otheranims and not disabled and not lowering then | |
| 205 | raising=true | |
| 206 | end | |
| 207 | if kei=="q" and not otheranims and not disabled and not raising then | |
| 208 | lowering=true | |
| 209 | end | |
| 210 | end) | |
| 211 | ||
| 212 | maus.KeyUp:connect(function(kei) | |
| 213 | if string.byte(kei)==48 and not otheranims and not disabled then | |
| 214 | chr.Humanoid.WalkSpeed=WlkSpeed | |
| 215 | runnin=false | |
| 216 | end | |
| 217 | if kei=="e" and not otheranims and not disabled then | |
| 218 | raising=false | |
| 219 | end | |
| 220 | if kei=="q" and not otheranims and not disabled then | |
| 221 | lowering=false | |
| 222 | end | |
| 223 | end) | |
| 224 | ||
| 225 | game:service'RunService'.RenderStepped:connect(function() | |
| 226 | if raising and not lowering then height=height+.2 | |
| 227 | elseif lowering and not raising then height=height-.2 | |
| 228 | end | |
| 229 | if height>50 then height=50 | |
| 230 | elseif height<-.75 then height=-.75 | |
| 231 | end | |
| 232 | syne=syne+1 | |
| 233 | if not otheranims then | |
| 234 | if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not dnc and torso.Velocity.y<5 and torso.Velocity.y>-5 then | |
| 235 | anim="Idling" | |
| 236 | ||
| 237 | 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 | |
| 238 | anim="Walking" | |
| 239 | dnc=false | |
| 240 | ||
| 241 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 25 and torso.Velocity.y<5 and torso.Velocity.y>-5 then | |
| 242 | anim="Sprinting" | |
| 243 | dnc=false | |
| 244 | ||
| 245 | elseif torso.Velocity.y>5 then | |
| 246 | anim='Jumping' | |
| 247 | dnc=false | |
| 248 | ||
| 249 | elseif (torso.Velocity.y < -5) then | |
| 250 | anim='Falling' | |
| 251 | dnc=false | |
| 252 | end | |
| 253 | end | |
| 254 | ||
| 255 | if anim=="Idling" then | |
| 256 | tik=tik+1 | |
| 257 | if tik==45 then tik=0 | |
| 258 | flap:play'' | |
| 259 | end | |
| 260 | if not armmovement then | |
| 261 | 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) | |
| 262 | 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) | |
| 263 | end | |
| 264 | 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) | |
| 265 | 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) | |
| 266 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,math.rad(0),0),.1) | |
| 267 | 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) | |
| 268 | end | |
| 269 | if anim=="Walking" then | |
| 270 | tik=tik+1 | |
| 271 | if tik==43 then tik=0 | |
| 272 | flap:play'' | |
| 273 | end | |
| 274 | 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) | |
| 275 | 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) | |
| 276 | 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) | |
| 277 | 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) | |
| 278 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,math.rad(0),0),.1) | |
| 279 | 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) | |
| 280 | end | |
| 281 | if anim=="Sprinting" then | |
| 282 | tik=tik+1 | |
| 283 | if tik==40 then tik=0 | |
| 284 | flap:play'' | |
| 285 | end | |
| 286 | 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) | |
| 287 | 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) | |
| 288 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(0),0,math.rad(-2.5)),.1) | |
| 289 | 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) | |
| 290 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,math.rad(0),0),.1) | |
| 291 | 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) | |
| 292 | end | |
| 293 | if anim=="Jumping" then | |
| 294 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.55,0)*CFrame.Angles(0,0,math.rad(5)),.1) | |
| 295 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.55,0)*CFrame.Angles(0,0,math.rad(5)),.1) | |
| 296 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(0),0,math.rad(-2.5)),.1) | |
| 297 | 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) | |
| 298 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),math.rad(0),0),.1) | |
| 299 | rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,height,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.025) | |
| 300 | end | |
| 301 | if anim=="Falling" then | |
| 302 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,1,0)*CFrame.Angles(math.rad(15),0,math.rad(175)),.1) | |
| 303 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,1,0)*CFrame.Angles(math.rad(15),0,math.rad(-175)),.1) | |
| 304 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(0),0,math.rad(-2.5)),.1) | |
| 305 | 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) | |
| 306 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.1)*CFrame.Angles(math.rad(-20),math.rad(0),0),.1) | |
| 307 | 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) | |
| 308 | end | |
| 309 | ||
| 310 | ||
| 311 | chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0) | |
| 312 | - | end) |
| 312 | + | |
| 313 | player=game:GetService("Players").LocalPlayer
| |
| 314 | ||
| 315 | char=player.Character | |
| 316 | ||
| 317 | mouse=player:GetMouse() | |
| 318 | ||
| 319 | ||
| 320 | ||
| 321 | ||
| 322 | ||
| 323 | ||
| 324 | ||
| 325 | ||
| 326 | ||
| 327 | ||
| 328 | ||
| 329 | dances = Instance.new("Sound", char.head)
| |
| 330 | ||
| 331 | dances.SoundId = "http://www.roblox.com/asset/?id=215027605" | |
| 332 | ||
| 333 | dances.Volume = 4 | |
| 334 | ||
| 335 | dances.Looped = true | |
| 336 | ||
| 337 | local dances2 = false | |
| 338 | ||
| 339 | ||
| 340 | ||
| 341 | ||
| 342 | dancc = Instance.new("Sound", char.head)
| |
| 343 | ||
| 344 | dancc.SoundId = "http://www.roblox.com/asset/?id=156542010" | |
| 345 | ||
| 346 | dancc.Volume = 1 | |
| 347 | ||
| 348 | dancc.Looped = true | |
| 349 | ||
| 350 | local danccc = false | |
| 351 | ||
| 352 | ||
| 353 | ||
| 354 | ||
| 355 | ||
| 356 | ||
| 357 | ||
| 358 | dances3 = Instance.new("Sound", char.head)
| |
| 359 | ||
| 360 | dances3.SoundId = "http://www.roblox.com/asset/?id=144535959" | |
| 361 | ||
| 362 | dances3.Volume = 1 | |
| 363 | ||
| 364 | dances3.Looped = true | |
| 365 | ||
| 366 | local dances4 = false | |
| 367 | ||
| 368 | ||
| 369 | ||
| 370 | ||
| 371 | dances5 = Instance.new("Sound", char.head)
| |
| 372 | ||
| 373 | dances5.SoundId = "http://www.roblox.com/asset/?id=154564332" | |
| 374 | ||
| 375 | dances5.Volume = 1 | |
| 376 | ||
| 377 | dances5.Looped = true | |
| 378 | ||
| 379 | local dances6 = false | |
| 380 | ||
| 381 | ||
| 382 | ||
| 383 | cat1 = Instance.new("Sound", char.head)
| |
| 384 | ||
| 385 | cat1.SoundId = "http://www.roblox.com/asset/?id=164437968" | |
| 386 | ||
| 387 | cat1.Volume = 1 | |
| 388 | ||
| 389 | cat1.Looped = true | |
| 390 | ||
| 391 | local cat2 = false | |
| 392 | ||
| 393 | ||
| 394 | ||
| 395 | ||
| 396 | local dance = Instance.new("Animation", char)
| |
| 397 | ||
| 398 | dance.AnimationId = "rbxassetid://149359445" | |
| 399 | ||
| 400 | dance.Name = "dance" | |
| 401 | ||
| 402 | ||
| 403 | ||
| 404 | ||
| 405 | local dancee = Instance.new("Animation", char)
| |
| 406 | ||
| 407 | dancee.AnimationId = "rbxassetid://149359445" | |
| 408 | ||
| 409 | dancee.Name = "dancee" | |
| 410 | ||
| 411 | ||
| 412 | ||
| 413 | ||
| 414 | local danc = Instance.new("Animation", char)
| |
| 415 | ||
| 416 | danc.AnimationId = "rbxassetid://149359445" | |
| 417 | ||
| 418 | danc.Name = "danc" | |
| 419 | ||
| 420 | ||
| 421 | ||
| 422 | ||
| 423 | local cat = Instance.new("Animation", char)
| |
| 424 | ||
| 425 | cat.AnimationId = "rbxassetid://149359445" | |
| 426 | ||
| 427 | cat.Name = "cat" | |
| 428 | ||
| 429 | ||
| 430 | ||
| 431 | ||
| 432 | local shuffle = Instance.new("Animation", char)
| |
| 433 | ||
| 434 | shuffle.AnimationId = "rbxassetid://149359445" | |
| 435 | ||
| 436 | shuffle.Name = "shuffle" | |
| 437 | ||
| 438 | ||
| 439 | ||
| 440 | ||
| 441 | local hop = Instance.new("Animation", char)
| |
| 442 | ||
| 443 | hop.AnimationId = "rbxassetid://149359445" | |
| 444 | ||
| 445 | hop.Name = "hop" | |
| 446 | ||
| 447 | ||
| 448 | ||
| 449 | ||
| 450 | mouse.KeyDown:connect(function(key) local key=key:lower() | |
| 451 | ||
| 452 | if key=="f" then | |
| 453 | ||
| 454 | local vCharacter = char | |
| 455 | ||
| 456 | local hum = vCharacter:findFirstChild("Humanoid")
| |
| 457 | ||
| 458 | blah = hum:LoadAnimation(char.dance) | |
| 459 | ||
| 460 | blah:Play() | |
| 461 | ||
| 462 | end | |
| 463 | ||
| 464 | end) | |
| 465 | ||
| 466 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 467 | ||
| 468 | if key=="f" then | |
| 469 | ||
| 470 | blah:Stop() | |
| 471 | ||
| 472 | end | |
| 473 | ||
| 474 | end) | |
| 475 | ||
| 476 | mouse.KeyDown:connect(function(key) local key=key:lower() | |
| 477 | ||
| 478 | if key=="f" then | |
| 479 | ||
| 480 | dances2 = true | |
| 481 | ||
| 482 | dances:Play() | |
| 483 | ||
| 484 | end | |
| 485 | ||
| 486 | end) | |
| 487 | ||
| 488 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 489 | ||
| 490 | if key=="f" then | |
| 491 | ||
| 492 | dances2 = false | |
| 493 | ||
| 494 | dances:Stop() | |
| 495 | ||
| 496 | end | |
| 497 | ||
| 498 | end) | |
| 499 | ||
| 500 | ||
| 501 | ||
| 502 | ||
| 503 | mouse.KeyDown:connect(function(key) local key=key:lower() | |
| 504 | ||
| 505 | if key=="r" then | |
| 506 | ||
| 507 | char.Animate.Disabled = true | |
| 508 | ||
| 509 | local vCharacter = char | |
| 510 | ||
| 511 | local hum = vCharacter:findFirstChild("Humanoid")
| |
| 512 | ||
| 513 | blah2 = hum:LoadAnimation(char.dancee) | |
| 514 | ||
| 515 | blah2:Play() | |
| 516 | ||
| 517 | end | |
| 518 | ||
| 519 | end) | |
| 520 | ||
| 521 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 522 | ||
| 523 | if key=="r" then | |
| 524 | ||
| 525 | char.Animate.Disabled = false | |
| 526 | ||
| 527 | blah2:Stop() | |
| 528 | ||
| 529 | end | |
| 530 | ||
| 531 | end) | |
| 532 | ||
| 533 | mouse.KeyDown:connect(function(key) local key=key:lower() | |
| 534 | ||
| 535 | if key=="r" then | |
| 536 | ||
| 537 | dances4 = true | |
| 538 | ||
| 539 | dances3:Play() | |
| 540 | ||
| 541 | end | |
| 542 | ||
| 543 | end) | |
| 544 | ||
| 545 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 546 | ||
| 547 | if key=="r" then | |
| 548 | ||
| 549 | dances4 = false | |
| 550 | ||
| 551 | dances3:Stop() | |
| 552 | ||
| 553 | end | |
| 554 | ||
| 555 | end) | |
| 556 | ||
| 557 | ||
| 558 | ||
| 559 | ||
| 560 | mouse.KeyDown:connect(function(key) local key=key:lower() | |
| 561 | ||
| 562 | if key=="g" then | |
| 563 | ||
| 564 | local vCharacter = char | |
| 565 | ||
| 566 | local hum = vCharacter:findFirstChild("Humanoid")
| |
| 567 | ||
| 568 | blah3 = hum:LoadAnimation(char.danc) | |
| 569 | ||
| 570 | blah3:Play() | |
| 571 | ||
| 572 | end | |
| 573 | ||
| 574 | end) | |
| 575 | ||
| 576 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 577 | ||
| 578 | if key=="g" then | |
| 579 | ||
| 580 | blah3:Stop() | |
| 581 | ||
| 582 | end | |
| 583 | ||
| 584 | end) | |
| 585 | ||
| 586 | mouse.KeyDown:connect(function(key) local key=key:lower() | |
| 587 | ||
| 588 | if key=="g" then | |
| 589 | ||
| 590 | dances6 = true | |
| 591 | ||
| 592 | dances5:Play() | |
| 593 | ||
| 594 | end | |
| 595 | ||
| 596 | end) | |
| 597 | ||
| 598 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 599 | ||
| 600 | if key=="g" then | |
| 601 | ||
| 602 | dances6 = false | |
| 603 | ||
| 604 | dances5:Stop() | |
| 605 | ||
| 606 | end | |
| 607 | ||
| 608 | end) | |
| 609 | ||
| 610 | ||
| 611 | ||
| 612 | ||
| 613 | mouse.KeyDown:connect(function(key) local key=key:lower() | |
| 614 | ||
| 615 | if key=="c" then | |
| 616 | ||
| 617 | local vCharacter = char | |
| 618 | ||
| 619 | local hum = vCharacter:findFirstChild("Humanoid")
| |
| 620 | ||
| 621 | blah4 = hum:LoadAnimation(char.cat) | |
| 622 | ||
| 623 | blah4:Play() | |
| 624 | ||
| 625 | end | |
| 626 | ||
| 627 | end) | |
| 628 | ||
| 629 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 630 | ||
| 631 | if key=="c" then | |
| 632 | ||
| 633 | blah4:Stop() | |
| 634 | ||
| 635 | end | |
| 636 | ||
| 637 | end) | |
| 638 | ||
| 639 | mouse.KeyDown:connect(function(key) local key=key:lower() | |
| 640 | ||
| 641 | if key=="c" then | |
| 642 | ||
| 643 | cat2 = true | |
| 644 | ||
| 645 | cat1:Play() | |
| 646 | ||
| 647 | end | |
| 648 | ||
| 649 | end) | |
| 650 | ||
| 651 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 652 | ||
| 653 | if key=="c" then | |
| 654 | ||
| 655 | cat2 = false | |
| 656 | ||
| 657 | cat1:Stop() | |
| 658 | ||
| 659 | end | |
| 660 | ||
| 661 | end) | |
| 662 | ||
| 663 | ||
| 664 | ||
| 665 | ||
| 666 | mouse.KeyDown:connect(function(key) local key=key:lower() | |
| 667 | ||
| 668 | if key=="h" then | |
| 669 | ||
| 670 | local vCharacter = char | |
| 671 | ||
| 672 | local hum = vCharacter:findFirstChild("Humanoid")
| |
| 673 | ||
| 674 | shufflee = hum:LoadAnimation(char.shuffle) | |
| 675 | ||
| 676 | shufflee:Play() | |
| 677 | ||
| 678 | wait(13) | |
| 679 | ||
| 680 | hoppin = hum:LoadAnimation(char.hop) | |
| 681 | ||
| 682 | hoppin:Play() | |
| 683 | ||
| 684 | end | |
| 685 | ||
| 686 | end) | |
| 687 | ||
| 688 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 689 | ||
| 690 | if key=="h" then | |
| 691 | ||
| 692 | shufflee:Stop() | |
| 693 | ||
| 694 | hoppin:Stop() | |
| 695 | ||
| 696 | end | |
| 697 | ||
| 698 | end) | |
| 699 | ||
| 700 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 701 | ||
| 702 | if key=="h" then | |
| 703 | ||
| 704 | hoppin:Stop() | |
| 705 | ||
| 706 | end | |
| 707 | ||
| 708 | end) | |
| 709 | ||
| 710 | mouse.KeyDown:connect(function(key) local key=key:lower() | |
| 711 | ||
| 712 | if key=="h" then | |
| 713 | ||
| 714 | shuffle2 = true | |
| 715 | ||
| 716 | dancc:Play() | |
| 717 | ||
| 718 | end | |
| 719 | ||
| 720 | end) | |
| 721 | ||
| 722 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 723 | ||
| 724 | if key=="h" then | |
| 725 | ||
| 726 | danccc = false | |
| 727 | ||
| 728 | dancc:Stop() | |
| 729 | ||
| 730 | end | |
| 731 | ||
| 732 | end) | |
| 733 | ||
| 734 | local player=game.Players.LocalPlayer | |
| 735 | local char=player.Character | |
| 736 | repeat wait() until player and char | |
| 737 | local torso=char.Torso | |
| 738 | local head=char.Head | |
| 739 | local human=char.Humanoid | |
| 740 | local hat | |
| 741 | for i, v in pairs(char:children()) do if v:isA("Hat") then hat=v end end
| |
| 742 | local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
| |
| 743 | local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
| |
| 744 | local c=function(f) coroutine.resume(coroutine.create(f)) end | |
| 745 | pcall(function() torso.roblox:clone().Parent=fake.Torso torso.roblox:remove() head.face:remove() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end v.Transparency=1 end end) | |
| 746 | local add={
| |
| 747 | Part=function(par, a, c, col, t, s, cf) | |
| 748 | local p=Instance.new("Part", par) p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new()
| |
| 749 | return p | |
| 750 | end, | |
| 751 | Weld=function(par, p1, cf) | |
| 752 | local w=Instance.new("Weld", par) w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new()
| |
| 753 | return w | |
| 754 | end, | |
| 755 | Mesh=function(ins, par, s, of, t) | |
| 756 | local m=Instance.new(ins, par) m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() pcall(function() m.MeshType=t end) | |
| 757 | return m | |
| 758 | end | |
| 759 | } | |
| 760 | local scriptname="Flash" | |
| 761 | pcall(function() char[scriptname]:remove() end) | |
| 762 | local model=Instance.new("Model", char) model.Name=scriptname
| |
| 763 | local bin=Instance.new("HopperBin", player.Backpack) bin.Name=model.Name
| |
| 764 | local skincolor="Really black" | |
| 765 | local fake={}
| |
| 766 | local weld={}
| |
| 767 | local mesh={}
| |
| 768 | fake.arm={}
| |
| 769 | fake.leg={}
| |
| 770 | fake.torso=nil | |
| 771 | fake.Mesh={} fake.Weld={}
| |
| 772 | --====-- | |
| 773 | weld.arm={}
| |
| 774 | weld.leg={}
| |
| 775 | weld.torso=nil | |
| 776 | --====-- | |
| 777 | mesh.arm={}
| |
| 778 | mesh.leg={}
| |
| 779 | --==FAKE, MESH, WELDZ==-- | |
| 780 | fake.arm.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) | |
| 781 | fake.arm.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) | |
| 782 | fake.leg.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) | |
| 783 | fake.leg.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) | |
| 784 | fake.torso=add.Part(model, false, false, skincolor, 0, Vector3.new(2, 2, 1), nil) | |
| 785 | fake.head=head:clone() fake.head.Parent=model fake.head.BrickColor=BrickColor.new(skincolor) fake.head.Transparency=0 | |
| 786 | ------------------------- | |
| 787 | mesh.arm.left=add.Mesh("BlockMesh", fake.arm.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
| |
| 788 | mesh.arm.right=add.Mesh("BlockMesh", fake.arm.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
| |
| 789 | mesh.leg.left=add.Mesh("BlockMesh", fake.leg.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
| |
| 790 | mesh.leg.right=add.Mesh("BlockMesh", fake.leg.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
| |
| 791 | ------------------------- | |
| 792 | weld.arm.left=add.Weld(fake.arm.left, fake.torso, CFrame.new(-1.5, .5, 0)) | |
| 793 | weld.arm.right=add.Weld(fake.arm.right, fake.torso, CFrame.new(1.5, .5, 0)) | |
| 794 | weld.leg.left=add.Weld(fake.leg.left, fake.torso, CFrame.new(-.5, -1.5, 0)) | |
| 795 | weld.leg.right=add.Weld(fake.leg.right, fake.torso, CFrame.new(.5, -1.5, 0)) | |
| 796 | weld.torso=add.Weld(torso, fake.torso, nil) | |
| 797 | weld.head=add.Weld(fake.head, fake.torso, CFrame.new(0, 1.5, 0)) | |
| 798 | pcall(function() torso.roblox:remove() head.face:remove() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end v.Transparency=1 end end) | |
| 799 | --==MANA==-- | |
| 800 | local gui=Instance.new("ScreenGui", player.PlayerGui)
| |
| 801 | local label=Instance.new("TextLabel", gui)
| |
| 802 | label.Text="--==100%==--" | |
| 803 | label.Position=UDim2.new(0, 0, 0, 200) | |
| 804 | label.Size=UDim2.new(0, 200, 0, 20) | |
| 805 | label.BorderColor=BrickColor.Black() label.BackgroundColor=BrickColor.Black() | |
| 806 | label.TextColor=BrickColor.Black() | |
| 807 | local charge=label:clone() charge.Parent=label | |
| 808 | charge.Position=UDim2.new() | |
| 809 | charge.Text="" | |
| 810 | charge.Size=UDim2.new(1, 0, 1, 0) | |
| 811 | charge.BorderColor=BrickColor.Black() charge.BackgroundColor=BrickColor.Black() charge.Transparency=.5 | |
| 812 | ---------------------------------------------------------------------------------------------- | |
| 813 | local walkspeed=110 --Flash :D | |
| 814 | local dmg=math.random(45, 78) | |
| 815 | local rundeb=false | |
| 816 | local tdeb=false | |
| 817 | local hDeb=false | |
| 818 | ||
| 819 | function hit(h) | |
| 820 | local humanoid=h.Parent:findFirstChild("Humanoid")
| |
| 821 | if humanoid and h.Parent~=char and hDeb==false then | |
| 822 | hDeb=true | |
| 823 | --c(function() | |
| 824 | local fakeP=add.Part(workspace, true, false, "Black", 0, Vector3.new(1, 1, 1), CFrame.new(h.CFrame.p, torso.CFrame.p)) | |
| 825 | local mesh=add.Mesh("SpecialMesh", fakeP, Vector3.new(1, 1, 1), nil, "File") mesh.MeshId="http://www.roblox.com/asset/?id=3270017"
| |
| 826 | c(function() | |
| 827 | for i=0, 1, .05 do | |
| 828 | wait() | |
| 829 | fakeP.Mesh.Scale=fakeP.Mesh.Scale+Vector3.new(i, i, 0) | |
| 830 | end | |
| 831 | fakeP:remove() | |
| 832 | end) | |
| 833 | c(function() | |
| 834 | for i=0, 1, .05 do | |
| 835 | wait() | |
| 836 | fakeP.Transparency=0.5 | |
| 837 | end | |
| 838 | end) | |
| 839 | humanoid.Health=humanoid.Health-dmg | |
| 840 | local fakeM=Instance.new("Model", workspace) fakeM.Name=dmg
| |
| 841 | local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
| |
| 842 | local fakeP=add.Part(fakeM, false, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame) fakeP.Name="Head" | |
| 843 | local fakeMesh=add.Mesh("CylinderMesh", fakeP, Vector3.new(1, .2, 1), nil, nil)
| |
| 844 | local bp=Instance.new("BodyPosition", fakeP) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=h.Position+Vector3.new(0, 4, 0)
| |
| 845 | game.Debris:addItem(fakeM, 2) | |
| 846 | pcall(function()h.Parent:findFirstChild("Torso").RotVelocity=fake.torso.RotVelocity*math.random(-1000, 1000)end)
| |
| 847 | pcall(function()h.Parent:findFirstChild("Torso").Velocity=fake.torso.Velocity*math.random(-1000, 1000)end)
| |
| 848 | wait() | |
| 849 | hDeb=false | |
| 850 | --end) | |
| 851 | end | |
| 852 | end | |
| 853 | ||
| 854 | function trail(pos, cf, col) | |
| 855 | c(function() | |
| 856 | local old=(pos.CFrame*cf).p | |
| 857 | while tdeb==true do | |
| 858 | wait() | |
| 859 | local new=(pos.CFrame*cf).p | |
| 860 | local mag=(old-new).magnitude | |
| 861 | local dis=(old+new)/2 | |
| 862 | local trail=add.Part(workspace, true, false, col, 0, Vector3.new(1, mag, 1), CFrame.new(dis, new)*CFrame.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))*CFrame.Angles(math.pi/2, 0, 0)) | |
| 863 | local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(.5, 1, .5), nil, nil)
| |
| 864 | trail.Touched:connect(hit) | |
| 865 | old=new | |
| 866 | c(function() | |
| 867 | for i=1, 0, -.2 do | |
| 868 | wait() | |
| 869 | trail.Mesh.Scale=trail.Mesh.Scale*Vector3.new(i, 1, i) | |
| 870 | end | |
| 871 | trail:remove() | |
| 872 | end) | |
| 873 | c(function() | |
| 874 | for i=0, 1, .2 do | |
| 875 | wait() | |
| 876 | trail.Transparency=i | |
| 877 | end | |
| 878 | end) | |
| 879 | end | |
| 880 | end) | |
| 881 | end | |
| 882 | bin.Selected:connect(function(mouse) | |
| 883 | for i, v in pairs(model:children()) do tdeb=true trail(v, CFrame.new(), "Black") end | |
| 884 | c(function() while true do wait() for i, v in pairs(model:children()) do v.Touched:connect(hit) end end end) | |
| 885 | human.WalkSpeed=walkspeed | |
| 886 | human.MaxHealth=math.huge | |
| 887 | human.Running:connect(function(speed) | |
| 888 | if speed>0 then | |
| 889 | for i=0, 1, .1 do | |
| 890 | wait() | |
| 891 | weld.torso.C1=CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(15)*i, 0, 0) | |
| 892 | weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45)*i) | |
| 893 | weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, math.rad(45)*i) | |
| 894 | end | |
| 895 | while speed>0 do | |
| 896 | wait() | |
| 897 | wait() | |
| 898 | wait() | |
| 899 | for i=0, 1, .1 do | |
| 900 | wait() | |
| 901 | weld.leg.left.C1=CFrame.new(-.5, -1.5, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0) | |
| 902 | weld.leg.right.C1=CFrame.new(.5, -1.5, 0)*CFrame.Angles(math.rad(45)*i, 0, 0) | |
| 903 | weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45)) | |
| 904 | weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)-(-math.rad(45)*i), 0, math.rad(45)) | |
| 905 | end | |
| 906 | for i=1, 0, -.1 do | |
| 907 | wait() | |
| 908 | weld.leg.left.C1=CFrame.new(-.5, -1.5, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0) | |
| 909 | weld.leg.right.C1=CFrame.new(.5, -1.5, 0)*CFrame.Angles(math.rad(45)*i, 0, 0) | |
| 910 | weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45)) | |
| 911 | weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)-(-math.rad(45)*i), 0, math.rad(45)) | |
| 912 | end | |
| 913 | end | |
| 914 | end | |
| 915 | end) | |
| 916 | end)--mediafire |