SHOW:
|
|
- or go back to the newest paste.
| 1 | wait(0) | |
| 2 | Player = game.Players.LocalPlayer | |
| 3 | ||
| 4 | local count = 0 | |
| 5 | local countspeed = 1 | |
| 6 | local sine = 0 | |
| 7 | local sinespeed = 1 | |
| 8 | local angle = nil | |
| 9 | local global_wait = 0 | |
| 10 | local showtag = false | |
| 11 | ||
| 12 | ||
| 13 | --dance booleans-- | |
| 14 | local jerk = false | |
| 15 | local party = false | |
| 16 | local canttouch = false | |
| 17 | local happy = false | |
| 18 | local spin = false | |
| 19 | local thriller = false | |
| 20 | local barrel = false | |
| 21 | local sax = false | |
| 22 | local spooky = false | |
| 23 | local stride = false | |
| 24 | local shuffle = false | |
| 25 | local rock = false | |
| 26 | local gagnam = false | |
| 27 | local snoop = false | |
| 28 | local darude = false | |
| 29 | local taco = false | |
| 30 | ------------------ | |
| 31 | --dance accessory-- | |
| 32 | local barrelbrick = nil | |
| 33 | local saxtool = nil | |
| 34 | ------------------- | |
| 35 | --custom animate-- | |
| 36 | local walk = false | |
| 37 | local jump = false | |
| 38 | local sit = false | |
| 39 | local run = false | |
| 40 | ------------------ | |
| 41 | --walk keys-- | |
| 42 | local W = false | |
| 43 | local A = false | |
| 44 | local S = false | |
| 45 | local D = false | |
| 46 | ------------- | |
| 47 | local m = Instance.new("Model",game.Players.LocalPlayer.Character) m.Name = "ModelParts"
| |
| 48 | local miniweld = nil | |
| 49 | local rootpart = nil | |
| 50 | ||
| 51 | local Mouse = nil | |
| 52 | local Animate = nil | |
| 53 | local Music = nil | |
| 54 | local Asset = "http://www.roblox.com/asset/?id=" | |
| 55 | local Animating = nil | |
| 56 | local humanoid = nil | |
| 57 | local face = nil | |
| 58 | ||
| 59 | local head = nil | |
| 60 | local torso = nil | |
| 61 | local ra = nil | |
| 62 | local la = nil | |
| 63 | local rl = nil | |
| 64 | local ll = nil | |
| 65 | local rs = nil | |
| 66 | local ls = nil | |
| 67 | local rh = nil | |
| 68 | local lh = nil | |
| 69 | local neck = nil | |
| 70 | local rj = nil | |
| 71 | ||
| 72 | local char = nil | |
| 73 | local Hat1 = nil | |
| 74 | local Hat2 = nil | |
| 75 | local a,b = nil | |
| 76 | ||
| 77 | ----------musics----------------- | |
| 78 | local M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16 = nil | |
| 79 | --------------------------------- | |
| 80 | ||
| 81 | local mesh,meshids,textureids,w | |
| 82 | ||
| 83 | function fm(parent,meshid,x,y,z,meshtexture) | |
| 84 | if meshid == "cylinder" then | |
| 85 | mesh = Instance.new("CylinderMesh",parent)
| |
| 86 | mesh.Scale = Vector3.new(x,y,z) | |
| 87 | return mesh | |
| 88 | else | |
| 89 | ||
| 90 | Mesh = Instance.new("SpecialMesh")
| |
| 91 | Mesh.Offset = Vector3.new(0,-0.4,0) | |
| 92 | Mesh.Parent = Hair7 | |
| 93 | Mesh.Scale = Vector3.new(6.5, 6.5, 6.5) | |
| 94 | Mesh.MeshType = "FileMesh" | |
| 95 | Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712" | |
| 96 | Mesh.TextureId = "" | |
| 97 | mesh = Instance.new("SpecialMesh",parent)
| |
| 98 | if meshid ~= "sphere" then | |
| 99 | if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else | |
| 100 | mesh.MeshId = "rbxassetid://"..meshids[meshid] | |
| 101 | end | |
| 102 | else mesh.MeshType = 3 end | |
| 103 | mesh.Scale = Vector3.new(x,y,z) | |
| 104 | if meshtexture ~= nil then | |
| 105 | if type(meshtexture) == "number" then | |
| 106 | mesh.TextureId = "rbxassetid://"..meshtexture | |
| 107 | else | |
| 108 | mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end | |
| 109 | end | |
| 110 | return mesh | |
| 111 | end | |
| 112 | end | |
| 113 | ||
| 114 | function P(x,y,z,color,transparency,cancollide,anchored,parent,typee) | |
| 115 | if typee ~= nil then | |
| 116 | c = Instance.new("WedgePart",m)
| |
| 117 | else | |
| 118 | c = Instance.new("Part",m)
| |
| 119 | end | |
| 120 | c.TopSurface,c.BottomSurface = 0,0 | |
| 121 | c.Locked = true | |
| 122 | c.formFactor = "Custom" | |
| 123 | c.Size = Vector3.new(x,y,z) | |
| 124 | if color ~= "random" then | |
| 125 | c.BrickColor = BrickColor.new(color) | |
| 126 | else | |
| 127 | c.BrickColor = BrickColor:random() | |
| 128 | end | |
| 129 | c.Transparency = transparency | |
| 130 | c.CanCollide = cancollide | |
| 131 | if anchored ~= nil then | |
| 132 | c.Anchored = anchored | |
| 133 | end | |
| 134 | if parent ~= nil then | |
| 135 | c.Parent = parent | |
| 136 | end | |
| 137 | return c | |
| 138 | end | |
| 139 | ||
| 140 | function We(part0,part1,x,y,z,rx,ry,rz,parent) | |
| 141 | w = Instance.new("Motor",m)
| |
| 142 | if parent ~= nil then w.Parent = parent end | |
| 143 | w.Part0,w.Part1 = part0,part1 | |
| 144 | w.C1 = CFrame.new(x,y,z) * CFrame.Angles(rx,ry,rz) | |
| 145 | return w | |
| 146 | end | |
| 147 | ||
| 148 | function SetAnimation(id,humanoid) | |
| 149 | if Animating ~= nil then | |
| 150 | Animating:Stop() | |
| 151 | end | |
| 152 | Animate.AnimationId = Asset .. id | |
| 153 | Animating = humanoid:LoadAnimation(Animate) | |
| 154 | Animating:Play() | |
| 155 | end | |
| 156 | ||
| 157 | function AnimationStop() | |
| 158 | jerk = false | |
| 159 | party = false | |
| 160 | canttouch = false | |
| 161 | happy = false | |
| 162 | spin = false | |
| 163 | thriller = false | |
| 164 | barrel = false | |
| 165 | sax = false | |
| 166 | spooky = false | |
| 167 | stride = false | |
| 168 | shuffle = false | |
| 169 | rock = false | |
| 170 | gagnam = false | |
| 171 | snoop = false | |
| 172 | darude = false | |
| 173 | taco = false | |
| 174 | if barrelbrick ~= nil then | |
| 175 | barrelbrick:Remove() | |
| 176 | barrelbrick = nil | |
| 177 | end | |
| 178 | if saxtool ~= nil then | |
| 179 | saxtool:Remove() | |
| 180 | saxtool = nil | |
| 181 | end | |
| 182 | if sandstorm ~= nil then | |
| 183 | sandstorm:Remove() | |
| 184 | sandstorm = nil | |
| 185 | end | |
| 186 | end | |
| 187 | ||
| 188 | local Musical | |
| 189 | function SetMusic(id,volume) | |
| 190 | Musical = Instance.new("Sound",char.Head)
| |
| 191 | if volume == nil then | |
| 192 | Musical.Volume = 1 | |
| 193 | else | |
| 194 | Musical.Volume = volume | |
| 195 | end | |
| 196 | Musical.Looped = true | |
| 197 | Musical.SoundId = Asset .. id | |
| 198 | return Musical | |
| 199 | end | |
| 200 | ||
| 201 | function GenerateGui() | |
| 202 | a=Instance.new("ScreenGui")
| |
| 203 | a.Name = "Memer" | |
| 204 | b=Instance.new("ImageLabel",a)
| |
| 205 | b.BackgroundTransparency = 1 | |
| 206 | b.Size = UDim2.new(0,250,0,100) | |
| 207 | b.Position = UDim2.new(0,0,1,0) | |
| 208 | b.Image = Asset .. "http://www.roblox.com/asset/?id=534247804" | |
| 209 | b.Name = "Logo" | |
| 210 | c=Instance.new("Sound",a)
| |
| 211 | c.Name = "Intro" | |
| 212 | c.Volume = 1 | |
| 213 | c.SoundId = Asset .. "rbxassetid://533871935" | |
| 214 | c.Looped = false | |
| 215 | return a | |
| 216 | end | |
| 217 | ||
| 218 | function Generate(player) | |
| 219 | char = player.Character | |
| 220 | Hat1 = P(1,1,1,'Bright violet ',0,false,false) | |
| 221 | Hat2 = P(1,1,1,'Bright violet ',0,false,false) | |
| 222 | wait() | |
| 223 | a=fm(Hat1,0,1,1,1,1577349) a.VertexColor = Vector3.new(1,1,1) | |
| 224 | b=fm(Hat2,0,1,1,1,18987684) b.VertexColor = Vector3.new(1,1,1) | |
| 225 | wait() | |
| 226 | if char:FindFirstChild("Head") then
| |
| 227 | We(Hat1,char.Head,0,0.25,-0.135,0,0,0) | |
| 228 | We(Hat2,char.Head,0,0.8,0,0,0,0) | |
| 229 | if char.Head:FindFirstChild("face") ~= nil then
| |
| 230 | face = char.Head:FindFirstChild("face")
| |
| 231 | face.Texture = "rbxasset://textures/face.png" | |
| 232 | end | |
| 233 | c=char.Head:clone() | |
| 234 | c.Name = "FalseHead" | |
| 235 | c.CanCollide = false | |
| 236 | c.Parent = char | |
| 237 | We(c,char.Head,0,0,0,0,0,0) | |
| 238 | char.Head.Transparency = 1 | |
| 239 | for i,v in pairs(char:GetChildren()) do | |
| 240 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then | |
| 241 | v:Remove() | |
| 242 | end | |
| 243 | if v.ClassName == "BodyColors" then | |
| 244 | v.HeadColor = BrickColor.new("Bright yellow")
| |
| 245 | v.LeftArmColor = BrickColor.new("Bright yellow")
| |
| 246 | v.LeftLegColor = BrickColor.new("Br. yellowish green")
| |
| 247 | v.RightArmColor = BrickColor.new("Bright yellow")
| |
| 248 | v.RightLegColor = BrickColor.new("Br. yellowish green")
| |
| 249 | v.TorsoColor = BrickColor.new("Bright Blue")
| |
| 250 | end | |
| 251 | if v.ClassName == "Part" then | |
| 252 | - | M1=SetMusic(142524640) |
| 252 | + | |
| 253 | v.BrickColor = BrickColor.new("Bright yellow")
| |
| 254 | else | |
| 255 | v.BrickColor = BrickColor.new("Bright yellow")
| |
| 256 | - | M3=SetMusic(148047526) |
| 256 | + | |
| 257 | end | |
| 258 | - | M4=SetMusic(518673637) |
| 258 | + | |
| 259 | ----------musics--------------- | |
| 260 | M1=SetMusic(145348602) | |
| 261 | M1.Volume = 50 | |
| 262 | M2=SetMusic(663760008) | |
| 263 | M2.Volume = 50 | |
| 264 | M3=SetMusic(172749706) | |
| 265 | M3.Volume = 50 | |
| 266 | M4=SetMusic(313469808) | |
| 267 | M4.Volume = 50 | |
| 268 | M5=SetMusic(194380361) | |
| 269 | M5.Volume = 50 | |
| 270 | M6=SetMusic(540190383) | |
| 271 | M6.Volume = 50 | |
| 272 | M7=SetMusic(253827644) | |
| 273 | M7.Volume = 50 | |
| 274 | M8=SetMusic(534878097) | |
| 275 | M8.Volume = 50 | |
| 276 | M9=SetMusic(178297940) | |
| 277 | M9.Volume = 50 | |
| 278 | M10=SetMusic(241814102) | |
| 279 | M10.Volume = 50 | |
| 280 | M11=SetMusic(533874013) | |
| 281 | M11.Volume = 50 | |
| 282 | - | M16=SetMusic(597084853) |
| 282 | + | |
| 283 | M12.Volume = 50 | |
| 284 | - | boi=SetMusic(597084853) |
| 284 | + | |
| 285 | M13.Volume = 50 | |
| 286 | M14=SetMusic(684159363) | |
| 287 | M14.Volume = 50 | |
| 288 | M15=SetMusic(787297457) | |
| 289 | M15.Volume = 50 | |
| 290 | M16=SetMusic(1097713562) | |
| 291 | M16.Volume = 50 | |
| 292 | boi=SetMusic(1097713562) | |
| 293 | ------------------------------- | |
| 294 | ||
| 295 | if char:FindFirstChild("HumanoidRootPart") ~= nil then
| |
| 296 | rootpart = char:FindFirstChild("HumanoidRootPart")
| |
| 297 | end | |
| 298 | if showtag == true then | |
| 299 | local bbg = Instance.new("BillboardGui",c)
| |
| 300 | bbg.Adornee = c | |
| 301 | bbg.Name = "satuttava" | |
| 302 | bbg.Size = UDim2.new(6,0,2,0) | |
| 303 | bbg.StudsOffset = Vector3.new(0,2,0) | |
| 304 | local box = Instance.new("TextLabel",bbg)
| |
| 305 | box.Size = UDim2.new(1,0,1,0) | |
| 306 | box.BackgroundColor = BrickColor.new("White")
| |
| 307 | box.TextColor3 = Color3.new(255,0,0) | |
| 308 | box.TextStrokeTransparency = 0.5 | |
| 309 | box.Font = "Arcade" | |
| 310 | box.Text = Player.Name | |
| 311 | box.BackgroundTransparency = 1 | |
| 312 | box.Position = UDim2.new(0,0,0,0) | |
| 313 | box.TextScaled = true | |
| 314 | end | |
| 315 | if char:FindFirstChild("Humanoid") ~= nil then
| |
| 316 | char:FindFirstChild("Humanoid").MaxHealth = (100*100*100*100)*100
| |
| 317 | wait() | |
| 318 | char:FindFirstChild("Humanoid").Health = char:FindFirstChild("Humanoid").MaxHealth
| |
| 319 | --char:FindFirstChild("Humanoid").Name = game.Players.LocalPlayer.Name
| |
| 320 | humanoid = char:FindFirstChild("Humanoid")
| |
| 321 | if humanoid:FindFirstChild("Animator") ~= nil then
| |
| 322 | humanoid:FindFirstChild("Animator"):Remove()
| |
| 323 | --Instance.new("Animator",humanoid)
| |
| 324 | end | |
| 325 | if char:FindFirstChild("Animate") ~= nil then
| |
| 326 | char:FindFirstChild("Animate"):Remove()
| |
| 327 | end | |
| 328 | end | |
| 329 | Mouse = player:GetMouse() | |
| 330 | Music = Instance.new("Sound",char.Head)
| |
| 331 | Music.Volume = 1 | |
| 332 | Music.Looped = true | |
| 333 | Music.SoundId = Asset | |
| 334 | Animate = Instance.new("Animation",char.Head)
| |
| 335 | Animate.AnimationId = Asset | |
| 336 | ||
| 337 | ||
| 338 | ||
| 339 | head = char:FindFirstChild("Head")
| |
| 340 | torso = char:FindFirstChild("Torso")
| |
| 341 | ra = char:findFirstChild("Right Arm")
| |
| 342 | la = char:findFirstChild("Left Arm")
| |
| 343 | rl = char:findFirstChild("Right Leg")
| |
| 344 | ll = char:findFirstChild("Left Leg")
| |
| 345 | rs = torso:findFirstChild("Right Shoulder")
| |
| 346 | ls = torso:findFirstChild("Left Shoulder")
| |
| 347 | rh = torso:findFirstChild("Right Hip")
| |
| 348 | lh = torso:findFirstChild("Left Hip")
| |
| 349 | neck = torso:findFirstChild("Neck")
| |
| 350 | rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
| |
| 351 | ||
| 352 | state = humanoid:GetState() | |
| 353 | local ca = nil | |
| 354 | ca=GenerateGui() | |
| 355 | ca.Parent = player.PlayerGui | |
| 356 | if ca:FindFirstChild("Logo") ~= nil then
| |
| 357 | ca:FindFirstChild("Logo"):TweenPosition(UDim2.new(0, 0, 1, -100), "Out", "Quad", 3, true)
| |
| 358 | if ca:FindFirstChild("Intro") ~= nil then
| |
| 359 | ca:FindFirstChild("Intro"):Play()
| |
| 360 | coroutine.resume(coroutine.create(function() | |
| 361 | for i=0,30 do | |
| 362 | ca:FindFirstChild("Intro").Volume = 1/(i/2)
| |
| 363 | wait(0.5) | |
| 364 | if i >= 30 then | |
| 365 | break | |
| 366 | end | |
| 367 | end | |
| 368 | end)) | |
| 369 | end | |
| 370 | end | |
| 371 | ||
| 372 | if humanoid ~= nil then | |
| 373 | humanoid.Changed:connect(function(pro) | |
| 374 | if pro == "MoveDirection" or pro == "Jump" then | |
| 375 | if Music.IsPlaying == true then | |
| 376 | AnimationStop() | |
| 377 | end | |
| 378 | end | |
| 379 | end) | |
| 380 | humanoid.Died:connect(function() | |
| 381 | AnimationStop() | |
| 382 | end) | |
| 383 | ||
| 384 | Mouse.KeyUp:connect(function(key) | |
| 385 | if key == "w" then | |
| 386 | W = false | |
| 387 | end | |
| 388 | if key == "a" then | |
| 389 | A = false | |
| 390 | end | |
| 391 | if key == "s" then | |
| 392 | S = false | |
| 393 | end | |
| 394 | if key == "d" then | |
| 395 | D = false | |
| 396 | end | |
| 397 | if string.byte(key) == 48 then | |
| 398 | run = false | |
| 399 | end | |
| 400 | end) | |
| 401 | ||
| 402 | Mouse.KeyDown:connect(function(key) | |
| 403 | if key == "w" then | |
| 404 | W = true | |
| 405 | AnimationStop() | |
| 406 | end | |
| 407 | if key == "a" then | |
| 408 | A = true | |
| 409 | AnimationStop() | |
| 410 | end | |
| 411 | if key == "s" then | |
| 412 | S = true | |
| 413 | AnimationStop() | |
| 414 | end | |
| 415 | if key == "d" then | |
| 416 | D = true | |
| 417 | AnimationStop() | |
| 418 | end | |
| 419 | end) | |
| 420 | ||
| 421 | ||
| 422 | ||
| 423 | Mouse.KeyDown:connect(function(key) | |
| 424 | KeyUsed(key) | |
| 425 | end) | |
| 426 | end | |
| 427 | end | |
| 428 | print'fuck you!' | |
| 429 | end | |
| 430 | ||
| 431 | function KeyUsed(key) | |
| 432 | if humanoid ~= nil then | |
| 433 | if humanoid.Health > 0 then | |
| 434 | if string.byte(key) == 32 then | |
| 435 | jump = true | |
| 436 | AnimationStop() | |
| 437 | --sit = false | |
| 438 | end | |
| 439 | if string.byte(key) == 50 then | |
| 440 | AnimationStop() | |
| 441 | if sit == true then | |
| 442 | sit = false | |
| 443 | else | |
| 444 | sit = true | |
| 445 | end | |
| 446 | end | |
| 447 | if string.byte(key) == 48 then | |
| 448 | run = true | |
| 449 | end | |
| 450 | if W == false and A == false and S == false and D == false and jump == false and sit == false then | |
| 451 | if key == "Q" or key == "q" then | |
| 452 | AnimationStop() | |
| 453 | canttouch = true | |
| 454 | M1:Play() | |
| 455 | end | |
| 456 | if key == "E" or key == "e" then | |
| 457 | AnimationStop() | |
| 458 | party = true | |
| 459 | M2:Play() | |
| 460 | end | |
| 461 | if key == "R" or key == "r" then | |
| 462 | AnimationStop() | |
| 463 | jerk = true | |
| 464 | M3:Play() | |
| 465 | end | |
| 466 | if key == "T" or key == "t" then | |
| 467 | AnimationStop() | |
| 468 | happy = true | |
| 469 | M4:Play() | |
| 470 | end | |
| 471 | if key == "Y" or key == "y" then | |
| 472 | AnimationStop() | |
| 473 | spin = true | |
| 474 | M5:Play() | |
| 475 | end | |
| 476 | if key == "U" or key == "u" then | |
| 477 | AnimationStop() | |
| 478 | thriller = true | |
| 479 | M6:Play() | |
| 480 | end | |
| 481 | if key == "F" or key == "f" then | |
| 482 | AnimationStop() | |
| 483 | barrel = true | |
| 484 | M7:Play() | |
| 485 | if barrelbrick == nil and barrel == true then | |
| 486 | barrelbrick = P(2,2,1,'Black',0,false,false) | |
| 487 | a=fm(barrelbrick,29873142,1.1,0.8,1.1,31082268) a.VertexColor = Vector3.new(1,1,1) | |
| 488 | We(barrelbrick,char.Torso,0,-0.2,0,0,0,0) | |
| 489 | end | |
| 490 | end | |
| 491 | if key == "P" or key == "p" then | |
| 492 | AnimationStop() | |
| 493 | sax = true | |
| 494 | M8:Play() | |
| 495 | if saxtool == nil and sax == true then | |
| 496 | saxtool = P(1,2,2,'Black',0,false,false) | |
| 497 | a=fm(saxtool,44410178,1.5,1.5,1.5,44410320) a.VertexColor = Vector3.new(1,1,1) | |
| 498 | b=We(saxtool,char:FindFirstChild("Left Arm"),0,-1,0,0,0,0)
| |
| 499 | b.C1 = CFrame.new(0.5, -0.9, -0.3) * CFrame.Angles(math.pi/1.5, -math.pi/2, -math.pi/8) | |
| 500 | end | |
| 501 | end | |
| 502 | if key == "G" or key == "g" then | |
| 503 | AnimationStop() | |
| 504 | spooky = true | |
| 505 | M9:Play() | |
| 506 | end | |
| 507 | if key == "H" or key == "h" then | |
| 508 | AnimationStop() | |
| 509 | stride = true | |
| 510 | M10:Play() | |
| 511 | end | |
| 512 | if key == "J" or key == "j" then | |
| 513 | AnimationStop() | |
| 514 | shuffle = true | |
| 515 | M11:Play() | |
| 516 | end | |
| 517 | if key == "K" or key == "k" then | |
| 518 | AnimationStop() | |
| 519 | rock = true | |
| 520 | M12:Play() | |
| 521 | end | |
| 522 | if key == "L" or key == "l" then | |
| 523 | AnimationStop() | |
| 524 | gagnam = true | |
| 525 | M13:Play() | |
| 526 | end | |
| 527 | if key == "Z" or key == "z" then | |
| 528 | AnimationStop() | |
| 529 | snoop = true | |
| 530 | M14:Play() | |
| 531 | end | |
| 532 | if key == "X" or key == "x" then | |
| 533 | AnimationStop() | |
| 534 | darude = true | |
| 535 | M15:Play() | |
| 536 | if sandstorm == nil and darude == true then | |
| 537 | sandstorm = P(1,1,1,'Black',0,false,false) | |
| 538 | sandstorm.Transparency = 1 | |
| 539 | a=Instance.new("Smoke",sandstorm)
| |
| 540 | a.Color = Color3.new(255/255,255/255,175/255) | |
| 541 | a.Size = 0.4 | |
| 542 | a.RiseVelocity = 3 | |
| 543 | a.Opacity = 0.75 | |
| 544 | b=We(sandstorm,char:FindFirstChild("Torso"),0,0,0,0,0,0)
| |
| 545 | b.C1 = CFrame.new(0, -2, 0) | |
| 546 | end | |
| 547 | end | |
| 548 | if key == "C" or key == "c" then | |
| 549 | AnimationStop() | |
| 550 | taco = true | |
| 551 | M16:Play() | |
| 552 | boi:Stop() | |
| 553 | end | |
| 554 | end | |
| 555 | end | |
| 556 | end | |
| 557 | end | |
| 558 | ||
| 559 | Generate(Player) | |
| 560 | ||
| 561 | game:service'RunService'.Stepped:connect(function() | |
| 562 | count = (count % 100) + countspeed | |
| 563 | angle = math.pi * math.sin(math.pi*2/100*count) | |
| 564 | countspeed = 1 | |
| 565 | ||
| 566 | state = humanoid:GetState() | |
| 567 | if state ~= Enum.HumanoidStateType.Freefall then | |
| 568 | jump = false | |
| 569 | else | |
| 570 | jump = true | |
| 571 | sit = false | |
| 572 | AnimationStop() | |
| 573 | end | |
| 574 | ||
| 575 | local mesh1anan = Instance.new("SpecialMesh")
| |
| 576 | mesh1anan.MeshType = Enum.MeshType.FileMesh | |
| 577 | mesh1anan.Scale = Vector3.new(0.3,0.3,0.3) | |
| 578 | mesh1anan.MeshId = "http://www.roblox.com/asset/?id=430210147" | |
| 579 | mesh1anan.TextureId = "http://www.roblox.com/asset/?id=430210159" | |
| 580 | mesh1anan.Scale = Vector3.new(0.1,0.1,0.1) | |
| 581 | ||
| 582 | if taco == true then | |
| 583 | if char ~= nil then | |
| 584 | local locationanan = char:GetModelCFrame() | |
| 585 | local tacoa = Instance.new("Part")
| |
| 586 | tacoa.CanCollide = false | |
| 587 | tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) | |
| 588 | local meshanananan = mesh1anan:clone() | |
| 589 | meshanananan.Parent = tacoa | |
| 590 | tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250) | |
| 591 | tacoa.Parent = workspace | |
| 592 | game:GetService("Debris"):AddItem(tacoa,4)
| |
| 593 | end | |
| 594 | end | |
| 595 | ||
| 596 | ||
| 597 | ||
| 598 | ||
| 599 | if canttouch == false then | |
| 600 | M1:Stop() | |
| 601 | end | |
| 602 | if party == false then | |
| 603 | M2:Stop() | |
| 604 | end | |
| 605 | if jerk == false then | |
| 606 | M3:Stop() | |
| 607 | end | |
| 608 | if happy == false then | |
| 609 | M4:Stop() | |
| 610 | end | |
| 611 | if spin == false then | |
| 612 | M5:Stop() | |
| 613 | end | |
| 614 | if thriller == false then | |
| 615 | M6:Stop() | |
| 616 | end | |
| 617 | if barrel == false then | |
| 618 | M7:Stop() | |
| 619 | end | |
| 620 | if sax == false then | |
| 621 | M8:Stop() | |
| 622 | end | |
| 623 | if spooky == false then | |
| 624 | M9:Stop() | |
| 625 | end | |
| 626 | if stride == false then | |
| 627 | M10:Stop() | |
| 628 | end | |
| 629 | if shuffle == false then | |
| 630 | M11:Stop() | |
| 631 | end | |
| 632 | if rock == false then | |
| 633 | M12:Stop() | |
| 634 | end | |
| 635 | if gagnam == false then | |
| 636 | M13:Stop() | |
| 637 | end | |
| 638 | if snoop == false then | |
| 639 | M14:Stop() | |
| 640 | end | |
| 641 | if darude == false then | |
| 642 | M15:Stop() | |
| 643 | end | |
| 644 | if taco == false then | |
| 645 | M16:Stop() | |
| 646 | boi:Stop() | |
| 647 | end | |
| 648 | ||
| 649 | if run == true and sit == false then | |
| 650 | humanoid.WalkSpeed = 25 | |
| 651 | elseif sit == true then | |
| 652 | humanoid.WalkSpeed = 0 | |
| 653 | else | |
| 654 | humanoid.WalkSpeed = 16 | |
| 655 | end | |
| 656 | ||
| 657 | if global_wait == 380 then global_wait = 0 end | |
| 658 | ||
| 659 | ||
| 660 | if (W == false or A == false or S == false or D == false) and jump == false and sit == false then | |
| 661 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75) | |
| 662 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75) | |
| 663 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75) | |
| 664 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75) | |
| 665 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/75, math.pi, 0) | |
| 666 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2, math.pi, 0) | |
| 667 | end | |
| 668 | ||
| 669 | ||
| 670 | if (W == false or A == false or S == false or D == false) and jump == false and sit == true then | |
| 671 | local ray = Ray.new(torso.Position, Vector3.new(0, -3, 0)) | |
| 672 | local hitz,enz = workspace:FindPartOnRay(ray, char) | |
| 673 | if hitz then | |
| 674 | if rootpart:FindFirstChild("Weld") == nil then
| |
| 675 | miniweld = Instance.new("Weld", rootpart)
| |
| 676 | miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame) | |
| 677 | miniweld.Part0 = hitz | |
| 678 | miniweld.Part1 = rootpart | |
| 679 | humanoid.PlatformStand = true | |
| 680 | end | |
| 681 | end | |
| 682 | else | |
| 683 | if rootpart:FindFirstChild("Weld") ~= nil then
| |
| 684 | rootpart:FindFirstChild("Weld"):Destroy()
| |
| 685 | humanoid.PlatformStand = false | |
| 686 | end | |
| 687 | end | |
| 688 | ||
| 689 | if (W == false or A == false or S == false or D == false) and jump == false and sit == true then | |
| 690 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - math.pi/15) | |
| 691 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + math.pi/15) | |
| 692 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, math.pi/2 - math.pi/15) | |
| 693 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, -math.pi/2 + math.pi/15) | |
| 694 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0) | |
| 695 | rj.C0 = CFrame.new(0, -2, 0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0) | |
| 696 | end | |
| 697 | ||
| 698 | if jump == true and sit == false then | |
| 699 | countspeed = 2 | |
| 700 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12) | |
| 701 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12) | |
| 702 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12) | |
| 703 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12) | |
| 704 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0) | |
| 705 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0) | |
| 706 | end | |
| 707 | ||
| 708 | if (W == true or A == true or S == true or D == true) and jump == false and sit == false then | |
| 709 | if run == true then | |
| 710 | countspeed = 4 | |
| 711 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3) | |
| 712 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3) | |
| 713 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5) | |
| 714 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5) | |
| 715 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0) | |
| 716 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/40, math.pi, 0) | |
| 717 | else | |
| 718 | countspeed = 2 | |
| 719 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4) | |
| 720 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4) | |
| 721 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6) | |
| 722 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6) | |
| 723 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0) | |
| 724 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0) | |
| 725 | end | |
| 726 | end | |
| 727 | ||
| 728 | if W == false and A == false and S == false and D == false and jump == false and sit == false then | |
| 729 | if jerk == true and jump == false and sit == false then | |
| 730 | countspeed = 2 | |
| 731 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, angle/4) | |
| 732 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, -angle/4) | |
| 733 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/10, 0, angle/5)-- * CFrame.Angles(angle*0.5, 0, -math.abs(angle*0.15)) | |
| 734 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/10, 0, angle/5)-- * CFrame.Angles(-angle*0.5, 0, math.abs(angle*0.15)) | |
| 735 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0) | |
| 736 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0) | |
| 737 | elseif party == true and jump == false and sit == false then | |
| 738 | countspeed = 4 | |
| 739 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15) | |
| 740 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15) | |
| 741 | ls.C1 = CFrame.new(0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi + angle/10, 0, 0 + angle/10) | |
| 742 | rs.C1 = CFrame.new(-0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi + angle/10, 0, 0 + angle/10) | |
| 743 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/10, math.pi, 0) | |
| 744 | rj.C0 = CFrame.new(0, 0.5 + angle/5, 0) * CFrame.Angles(math.pi/2, math.pi, 0) | |
| 745 | elseif canttouch == true and jump == false and sit == false then | |
| 746 | countspeed = 2 | |
| 747 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, math.pi/12 + angle/12) | |
| 748 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, -math.pi/12 - angle/12) | |
| 749 | lh.C1 = CFrame.new(0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, -math.pi/8) | |
| 750 | rh.C1 = CFrame.new(-0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, math.pi/8) | |
| 751 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0) | |
| 752 | rj.C0 = CFrame.new(angle/4, -0.3 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0) | |
| 753 | elseif happy == true and jump == false and sit == false then | |
| 754 | countspeed = 4 | |
| 755 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, math.pi/8 + angle/8, math.pi/4 + angle/8) | |
| 756 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, -math.pi/8 + angle/8, -math.pi/4 + angle/8) | |
| 757 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0 + angle/10) | |
| 758 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0 + angle/10) | |
| 759 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/15, 0 + angle/15) | |
| 760 | rj.C0 = CFrame.new(0, 0 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0) | |
| 761 | elseif spin == true and jump == false and sit == false then | |
| 762 | global_wait = (global_wait % 360) + 4 | |
| 763 | countspeed = 4 | |
| 764 | ls.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 + angle/10, 0 + angle/10) | |
| 765 | rs.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 - angle/10, 0 + angle/10) | |
| 766 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0 + angle/10) | |
| 767 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0 + angle/10) | |
| 768 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0) | |
| 769 | rj.C0 = CFrame.new(0 + angle/25, 0, 0 - angle/25) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4)) | |
| 770 | elseif thriller == true and jump == false and sit == false then | |
| 771 | countspeed = 2 | |
| 772 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 + angle/15) | |
| 773 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/15) | |
| 774 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 - angle/45, 0, 0 + angle/15) | |
| 775 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 + angle/45, 0, 0 + angle/15) | |
| 776 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/10, 0) | |
| 777 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/50 , math.pi + angle/50, 0 + angle/50) | |
| 778 | elseif barrel == true and jump == false and sit == false then | |
| 779 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi) | |
| 780 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi) | |
| 781 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0) | |
| 782 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0) | |
| 783 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0) | |
| 784 | rj.C0 = CFrame.new(0 + angle, -1.8, 0) * CFrame.Angles(0, math.pi, 0 + angle) | |
| 785 | elseif sax == true and jump == false and sit == false then | |
| 786 | countspeed = 2 | |
| 787 | ls.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, math.pi/2 - math.abs(angle/30)) | |
| 788 | rs.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, -math.pi/2 + math.abs(angle/30)) | |
| 789 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - math.abs(angle/30)) | |
| 790 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + math.abs(angle/30)) | |
| 791 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0) | |
| 792 | rj.C0 = CFrame.new(0, -math.abs(angle*0.05), math.abs(angle*0.025)) * CFrame.Angles(math.pi/2 + math.abs(angle/20), math.pi, 0) | |
| 793 | elseif spooky == true and jump == false and sit == false then | |
| 794 | countspeed = 3 | |
| 795 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 - angle/1.5) | |
| 796 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/1.5) | |
| 797 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/16) | |
| 798 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/16) | |
| 799 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/12, math.pi, 0) | |
| 800 | rj.C0 = CFrame.new(0, 0 + angle / 35, 0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0) | |
| 801 | elseif stride == true and jump == false and sit == false then | |
| 802 | countspeed = 2.5 | |
| 803 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, angle/16,math.pi/3.5 + angle/8) | |
| 804 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, -angle/16,-math.pi/1.5 + -angle/8) | |
| 805 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16) | |
| 806 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16) | |
| 807 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0) | |
| 808 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2-angle/16, math.pi, 0) | |
| 809 | elseif shuffle == true and jump == false and sit == false then | |
| 810 | countspeed = 2 | |
| 811 | ls.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, math.pi/2 + angle/3.5) | |
| 812 | rs.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, -math.pi/2 + angle/3.5) | |
| 813 | lh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15) | |
| 814 | rh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15) | |
| 815 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0) | |
| 816 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 - angle/35, math.pi - angle/35, 0) | |
| 817 | elseif rock == true and jump == false and sit == false then | |
| 818 | countspeed = 4 | |
| 819 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2+angle/2) | |
| 820 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2+angle/2) | |
| 821 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0+angle/32) | |
| 822 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0-angle/32) | |
| 823 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0) | |
| 824 | rj.C0 = CFrame.new(0, 0 - angle/50, 0) * CFrame.Angles(math.pi/2, math.pi, 0) | |
| 825 | elseif gagnam == true and jump == false and sit == false then | |
| 826 | countspeed = 5 | |
| 827 | ls.C1 = CFrame.new(-0.15,0.75,0) * CFrame.Angles(-math.pi/4, 0, (math.pi/2 + angle/14) - math.pi/20) | |
| 828 | rs.C1 = CFrame.new(-0.15,0.75,0) * CFrame.Angles(-math.pi/4, 0, (-math.pi/2 - angle/14) + math.pi/20) | |
| 829 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0) | |
| 830 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0) | |
| 831 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0) | |
| 832 | rj.C0 = CFrame.new(0, 0 + angle/40, 0) * CFrame.Angles(math.pi/2, math.pi, 0) | |
| 833 | elseif snoop == true and jump == false and sit == false then | |
| 834 | countspeed = 2 | |
| 835 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, math.pi/4 + angle/4) | |
| 836 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, -math.pi/4 + angle/4) | |
| 837 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4) | |
| 838 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4) | |
| 839 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - angle/8, math.pi, 0) | |
| 840 | rj.C0 = CFrame.new(0, 0 + angle/48, 0) * CFrame.Angles(math.pi/2 + angle/24, math.pi, 0) | |
| 841 | elseif darude == true and jump == false and sit == false then | |
| 842 | countspeed = 3 | |
| 843 | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/1.5) | |
| 844 | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/3) | |
| 845 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/3) | |
| 846 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/1.5) | |
| 847 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0) | |
| 848 | rj.C0 = CFrame.new(0, 0+ angle/45, 0) * CFrame.Angles(math.pi/2 - angle/6, math.pi, 0) | |
| 849 | elseif taco == true and jump == false and sit == false then | |
| 850 | countspeed = 20 | |
| 851 | global_wait = (global_wait % 360) + 4 | |
| 852 | ls.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi) | |
| 853 | rs.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi) | |
| 854 | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16) | |
| 855 | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16) | |
| 856 | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - math.pi/8 + angle/16, math.pi, 0) | |
| 857 | rj.C0 = CFrame.new(0, 0.25 + angle/12, 0) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4)) | |
| 858 | end | |
| 859 | end | |
| 860 | end) |