SHOW:
|
|
- or go back to the newest paste.
| 1 | print("Shouts on")
| |
| 2 | mouse = game.Players.LocalPlayer:GetMouse() | |
| 3 | script.Parent = nil | |
| 4 | radiusaround = 10 | |
| 5 | lp = game.Players.LocalPlayer | |
| 6 | function newpush(object, push) | |
| 7 | local bodypos = Instance.new("BodyPosition")
| |
| 8 | bodypos.D = 1250 | |
| 9 | bodypos.P = -5000 | |
| 10 | bodypos.maxForce = Vector3.new(-100, -1000, -1000) | |
| 11 | bodypos.position = push | |
| 12 | bodypos.Parent = object | |
| 13 | game:service("Debris"):AddItem(bodypos, 1)
| |
| 14 | end | |
| 15 | function fus_ro_dah() | |
| 16 | game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Fus...", Enum.ChatColor.Green)
| |
| 17 | wait(0.7) | |
| 18 | game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Ro...", Enum.ChatColor.Blue)
| |
| 19 | wait(0.3) | |
| 20 | game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Dah!", Enum.ChatColor.Red)
| |
| 21 | --Connect all players in front of character | |
| 22 | infront = {}
| |
| 23 | w = game.Workspace:GetChildren() | |
| 24 | for i= 1, #w do | |
| 25 | if w[i]:FindFirstChild("Humanoid") and w[i]:FindFirstChild("Torso") then --Valid
| |
| 26 | if game.Players.LocalPlayer:DistanceFromCharacter(w[i]:FindFirstChild("Torso").Position) < 25 then
| |
| 27 | if w[i] == game.Players.LocalPlayer.Character then else | |
| 28 | table.insert(infront, w[i]) | |
| 29 | end end end | |
| 30 | end | |
| 31 | --Insert BodyPositions | |
| 32 | for i= 1, #infront do | |
| 33 | if infront[i] == nil then else | |
| 34 | if infront[i]:FindFirstChild("Torso") == nil then else
| |
| 35 | newpush(infront[i].Torso, game.Players.LocalPlayer.Character.Torso.Position) | |
| 36 | end end | |
| 37 | end | |
| 38 | end --End of Fus Ro Dah | |
| 39 | ||
| 40 | ||
| 41 | ||
| 42 | function bolt(point1, point2) | |
| 43 | local ray = Ray.new(point1.p, (point2.p - point1.p).unit*300) | |
| 44 | obj2 = Instance.new("Part")
| |
| 45 | obj2.Anchored = true | |
| 46 | obj2.TopSurface = Enum.SurfaceType.Smooth | |
| 47 | obj2.BottomSurface = Enum.SurfaceType.Smooth | |
| 48 | - | local ms=game.Players.LocalPlayer:GetMouse() |
| 48 | + | obj2.BrickColor = BrickColor.new("Black")
|
| 49 | - | ms.Button1Down:connect(function() |
| 49 | + | obj2.Friction = 0.3 |
| 50 | obj2.Shape = Enum.PartType.Block | |
| 51 | obj2.Parent = game.Players.LocalPlayer.Character | |
| 52 | local distance = (point2.p - point1.p).magnitude | |
| 53 | obj2.Size = Vector3.new(1.2, 1.2, distance) | |
| 54 | obj2.CFrame = CFrame.new(point2.p, point1.p) * CFrame.new(0, 0, -distance/2) | |
| 55 | lf = math.random(1000000, 9999999) | |
| 56 | function corelightingfade(l) | |
| 57 | local time = 15 | |
| 58 | for i= 1, time do wait() | |
| 59 | l.Transparency = (1 / time) * i | |
| 60 | end | |
| 61 | l:Destroy() | |
| 62 | end | |
| 63 | lf = coroutine.wrap(corelightingfade) | |
| 64 | lf(obj2) | |
| 65 | end --End of bolt system for Strum Bah Qo | |
| 66 | ||
| 67 | ||
| 68 | function strum_bah_qo(cframe) | |
| 69 | dosay = true | |
| 70 | if cframe == nil then cframe = mouse.Hit dosay = false end | |
| 71 | local mouse = game.Players.LocalPlayer:GetMouse() | |
| 72 | if mouse.Target == nil then return end --[[Im not hitting the skybox, whats the point]] | |
| 73 | if dosay == true then else | |
| 74 | game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "I...", Enum.ChatColor.Red)
| |
| 75 | wait(0.7) | |
| 76 | game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Am A...", Enum.ChatColor.Red)
| |
| 77 | wait(0.3) | |
| 78 | game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Dark God", Enum.ChatColor.Red)
| |
| 79 | end | |
| 80 | lpos = {}
| |
| 81 | table.insert(lpos, cframe) | |
| 82 | for i= 1, 10 do | |
| 83 | table.insert(lpos, cframe + Vector3.new(math.random(0, 10), math.random(15, 20) * i, math.random(0, 10))) | |
| 84 | end | |
| 85 | local sound = Instance.new("Sound", game.Workspace)
| |
| 86 | sound.SoundId = "http://www.roblox.com/asset/?id=2974000" | |
| 87 | sound.Pitch = 1 | |
| 88 | sound.Volume = 1 | |
| 89 | sound:Play() | |
| 90 | game:service("Debris"):AddItem(sound, 4)
| |
| 91 | for i= 1, #lpos - 2 do wait() | |
| 92 | bolt((lpos[#lpos - i]), lpos[#lpos - (i + 1)]) | |
| 93 | end | |
| 94 | local e = Instance.new("Explosion")
| |
| 95 | e.Position = lpos[1].p | |
| 96 | e.BlastRadius = 10 | |
| 97 | e.BlastPressure = 1000 | |
| 98 | e.Parent = game.Workspace | |
| 99 | game:service("Debris"):AddItem(e, 1)
| |
| 100 | end --End of Strum Bah Qo | |
| 101 | ||
| 102 | function strum_bah_och() | |
| 103 | game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "I...", Enum.ChatColor.Red)
| |
| 104 | wait(0.7) | |
| 105 | game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Am A...", Enum.ChatColor.Red)
| |
| 106 | wait(0.3) | |
| 107 | game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Dark God", Enum.ChatColor.Red)
| |
| 108 | local w = game.Workspace:GetChildren() | |
| 109 | for i= 1, #w do | |
| 110 | if w[i]:FindFirstChild("Torso") then
| |
| 111 | strum_bah_qo(w[i].Torso.CFrame) | |
| 112 | end end end | |
| 113 | ||
| 114 | ||
| 115 | lp.Chatted:connect(function(msg) | |
| 116 | if string.lower(msg) == "fus ro dah" or string.lower(msg) == "I Am A Dark God" then | |
| 117 | fus_ro_dah() | |
| 118 | end | |
| 119 | if string.lower(msg) == "strum bah qo" or string.lower(msg) == "I Am A Dark God" then | |
| 120 | strum_bah_qo() | |
| 121 | end | |
| 122 | if string.lower(msg) == "strum bah och" or string.lower(msg) == "I Am A Dark God" then | |
| 123 | strum_bah_och() | |
| 124 | end | |
| 125 | end) | |
| 126 | ||
| 127 | local mouse = game.Players.LocalPlayer:GetMouse() | |
| 128 | mouse.KeyDown:connect(function(k) | |
| 129 | if k == "v" then | |
| 130 | strum_bah_qo() | |
| 131 | end | |
| 132 | if k == "=" then | |
| 133 | fus_ro_dah() | |
| 134 | end | |
| 135 | if key == "v" then | |
| 136 | strum_bah_och() | |
| 137 | end | |
| 138 | end) | |
| 139 | function nwPrt(prnt,siz,cf,col) | |
| 140 | local prt=Instance.new("Part")
| |
| 141 | prt.Parent=prnt | |
| 142 | prt.FormFactor=3 | |
| 143 | prt.Name="Part" | |
| 144 | prt.Size=siz | |
| 145 | prt.CanCollide=false | |
| 146 | prt.Anchored=true | |
| 147 | prt.Locked=true | |
| 148 | prt.TopSurface=0 | |
| 149 | prt.BottomSurface=0 | |
| 150 | prt:BreakJoints() | |
| 151 | prt.CFrame=cf | |
| 152 | prt.Material="SmoothPlastic" | |
| 153 | prt.BrickColor=BrickColor.new(col) | |
| 154 | m=Instance.new("SpecialMesh",prt)
| |
| 155 | m.MeshType=6 | |
| 156 | return prt | |
| 157 | end | |
| 158 | -- | |
| 159 | function wave(cf) | |
| 160 | local p1=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black") | |
| 161 | local m1=p1.Mesh | |
| 162 | m1.MeshId="rbxassetid://3270017" | |
| 163 | local p2=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black") | |
| 164 | local m2=p2.Mesh | |
| 165 | m2.MeshId="rbxassetid://3270017" | |
| 166 | m2.Scale=Vector3.new(0.1,0.1,0.1) | |
| 167 | local p3=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black") | |
| 168 | local m3=p3.Mesh | |
| 169 | m3.MeshId="rbxassetid://3270017" | |
| 170 | m3.Scale=Vector3.new(2,2,2) | |
| 171 | local p4=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black") | |
| 172 | local m4=p4.Mesh | |
| 173 | m4.MeshId="rbxassetid://3270017" | |
| 174 | coroutine.wrap(function() | |
| 175 | for i=1,20 do | |
| 176 | m1.Scale=Vector3.new(m1.Scale.X+1,m1.Scale.Y+1,m1.Scale.Z+0.5) | |
| 177 | m2.Scale=Vector3.new(m2.Scale.X+1.25,m2.Scale.Y+1.25,m2.Scale.Z+0.5) | |
| 178 | m3.Scale=Vector3.new(m3.Scale.X+0.75,m3.Scale.Y+0.75,m3.Scale.Z+0.5) | |
| 179 | m4.Scale=Vector3.new(m4.Scale.X+1.25,m3.Scale.Y+1.25,m3.Scale.Z+0.5) | |
| 180 | p1.Transparency=(i/20) | |
| 181 | p2.Transparency=(i/16) | |
| 182 | p3.Transparency=(i/24) | |
| 183 | p4.Transparency=(i/1) | |
| 184 | wait() | |
| 185 | end | |
| 186 | p1:Destroy() | |
| 187 | p2:Destroy() | |
| 188 | p3:Destroy() | |
| 189 | p4:Destroy() | |
| 190 | p5:Destroy() | |
| 191 | end)() | |
| 192 | end | |
| 193 | local mouse=game.Players.LocalPlayer:GetMouse() | |
| 194 | mouse.KeyDown:connect(function() | |
| 195 | pcall(function() | |
| 196 | wave(CFrame.new(ms.Hit.X,ms.Hit.Y,ms.Hit.Z)) | |
| 197 | end) | |
| 198 | end) | |
| 199 | if script.Parent.className~="HopperBin" then | |
| 200 | ma=Instance.new("HopperBin")
| |
| 201 | ma.Name="Laser " | |
| 202 | --ma.Parent=game.Lighting | |
| 203 | ma.Parent=game.Players.SmokeDelsin.Backpack | |
| 204 | script.Parent=ma | |
| 205 | end | |
| 206 | ||
| 207 | local Selected = true | |
| 208 | local Shoot = true | |
| 209 | function Click(Target) | |
| 210 | if(Target.Target.Parent:findFirstChild("Humanoid")~=nil)then
| |
| 211 | Target.Target.Parent.Humanoid.Health = 0 | |
| 212 | end | |
| 213 | local P = Instance.new("Part")
| |
| 214 | P.Name = "Laser" | |
| 215 | P.Size = Vector3.new(1,1,(Place0.p - Target.Hit.p).magnitude) | |
| 216 | P.CFrame = CFrame.new((Place0.p + Target.Hit.p)/2,Place0.p) | |
| 217 | P.Parent = game.Workspace | |
| 218 | P.Color = Color3.new(0,0,1) | |
| 219 | P.Transparency = 0.5 | |
| 220 | P.Reflectance = 0.5 | |
| 221 | P.Anchored = true | |
| 222 | P.CanCollide = false | |
| 223 | local E = Instance.new("Explosion")
| |
| 224 | E.Position = Target.Hit.p | |
| 225 | E.Parent = game.Workspace | |
| 226 | for i = 1,10 do | |
| 227 | P.Transparency = 0.5+(i*0.05) | |
| 228 | P.Reflectance = i*0.05 | |
| 229 | wait(0.1) | |
| 230 | end | |
| 231 | P:Rremove() | |
| 232 | end | |
| 233 | function Select(Mouse) | |
| 234 | local Arm = script.Parent.Parent.Parent.Character:findFirstChild("Left Arm")
| |
| 235 | if(Arm==nil)then | |
| 236 | script.Parent:Remove() | |
| 237 | script:Remove() | |
| 238 | end | |
| 239 | Selected = true | |
| 240 | local Torso = script.Parent.Parent.Parent.Character:findFirstChild("Torso")
| |
| 241 | if(Torso==nil)then | |
| 242 | script.Parent:Remove() | |
| 243 | script:Remove() | |
| 244 | end | |
| 245 | local ArmWeld = Torso:findFirstChild("Left Shoulder")
| |
| 246 | if(ArmWeld~=nil)then | |
| 247 | ArmWeld.Parent = nil | |
| 248 | end | |
| 249 | Mouse.Button1Down:connect(function()Click(Mouse)end) | |
| 250 | Arm.Anchored = true | |
| 251 | while Selected do | |
| 252 | local Place0 = script.Parent.Parent.Parent.Character.Torso.CFrame | |
| 253 | Place0 = Place0 + ((Place0 * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)).lookVector * 0.5) + (Place0 * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)).lookVector | |
| 254 | local Place1 = Place0 + ((Place0.p-Mouse.Hit.p).unit * -2) | |
| 255 | Arm.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p) * CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0) | |
| 256 | wait() | |
| 257 | end | |
| 258 | Arm.Anchored = false | |
| 259 | if(ArmWeld~=nil)then | |
| 260 | ArmWeld.Parent = Torso | |
| 261 | end | |
| 262 | end | |
| 263 | function Deselect() | |
| 264 | Selected = false | |
| 265 | end | |
| 266 | script.Parent.Selected:connect(Select) | |
| 267 | script.Parent.Deselected:connect(Deselect) | |
| 268 | local function QuaternionFromCFrame(cf) | |
| 269 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 270 | local trace = m00 + m11 + m22 | |
| 271 | if trace > 0 then | |
| 272 | local s = math.sqrt(1 + trace) | |
| 273 | local recip = 0.5/s | |
| 274 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 275 | else | |
| 276 | local i = 0 | |
| 277 | if m11 > m00 then | |
| 278 | i = 1 | |
| 279 | end | |
| 280 | if m22 > (i == 0 and m00 or m11) then | |
| 281 | i = 2 | |
| 282 | end | |
| 283 | if i == 0 then | |
| 284 | local s = math.sqrt(m00-m11-m22+1) | |
| 285 | local recip = 0.5/s | |
| 286 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 287 | elseif i == 1 then | |
| 288 | local s = math.sqrt(m11-m22-m00+1) | |
| 289 | local recip = 0.5/s | |
| 290 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 291 | elseif i == 2 then | |
| 292 | local s = math.sqrt(m22-m00-m11+1) | |
| 293 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 294 | end | |
| 295 | end | |
| 296 | end | |
| 297 | local function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 298 | local xs, ys, zs = x + x, y + y, z + z | |
| 299 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 300 | local xx = x*xs | |
| 301 | local xy = x*ys | |
| 302 | local xz = x*zs | |
| 303 | local yy = y*ys | |
| 304 | local yz = y*zs | |
| 305 | local zz = z*zs | |
| 306 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
| 307 | end | |
| 308 | local function QuaternionSlerp(a, b, t) | |
| 309 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 310 | local startInterp, finishInterp; | |
| 311 | if cosTheta >= 0.0001 then | |
| 312 | if (1 - cosTheta) > 0.0001 then | |
| 313 | local theta = math.acos(cosTheta) | |
| 314 | local invSinTheta = 1/math.sin(theta) | |
| 315 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 316 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 317 | else | |
| 318 | startInterp = 1-t | |
| 319 | finishInterp = t | |
| 320 | end | |
| 321 | else | |
| 322 | if (1+cosTheta) > 0.0001 then | |
| 323 | local theta = math.acos(-cosTheta) | |
| 324 | local invSinTheta = 1/math.sin(theta) | |
| 325 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 326 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 327 | else | |
| 328 | startInterp = t-1 | |
| 329 | finishInterp = t | |
| 330 | end | |
| 331 | end | |
| 332 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
| 333 | end | |
| 334 | function clerp(a,b,t) | |
| 335 | local qa = {QuaternionFromCFrame(a)}
| |
| 336 | local qb = {QuaternionFromCFrame(b)}
| |
| 337 | local ax, ay, az = a.x, a.y, a.z | |
| 338 | local bx, by, bz = b.x, b.y, b.z | |
| 339 | local _t = 1-t | |
| 340 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 341 | end | |
| 342 | ||
| 343 | do --the animating | |
| 344 | plr = game:service'Players'.LocalPlayer | |
| 345 | char = plr.Character | |
| 346 | mouse = plr:GetMouse() | |
| 347 | humanoid = char:findFirstChild("Humanoid")
| |
| 348 | torso = char:findFirstChild("Torso")
| |
| 349 | head = char.Head | |
| 350 | ra = char:findFirstChild("Right Arm")
| |
| 351 | la = char:findFirstChild("Left Arm")
| |
| 352 | rl = char:findFirstChild("Right Leg")
| |
| 353 | ll = char:findFirstChild("Left Leg")
| |
| 354 | rs = torso:findFirstChild("Right Shoulder")
| |
| 355 | ls = torso:findFirstChild("Left Shoulder")
| |
| 356 | rh = torso:findFirstChild("Right Hip")
| |
| 357 | lh = torso:findFirstChild("Left Hip")
| |
| 358 | neck = torso:findFirstChild("Neck")
| |
| 359 | rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
| |
| 360 | anim = char:findFirstChild("Animate")
| |
| 361 | rootpart = char:findFirstChild("HumanoidRootPart")
| |
| 362 | camera = workspace.CurrentCamera | |
| 363 | if anim then | |
| 364 | anim:Destroy() | |
| 365 | end | |
| 366 | ||
| 367 | ||
| 368 | local rm = Instance.new("Motor", torso)
| |
| 369 | rm.C0 = CFrame.new(1.5, 0.5, 0) | |
| 370 | rm.C1 = CFrame.new(0, 0.5, 0) | |
| 371 | rm.Part0 = torso | |
| 372 | rm.Part1 = ra | |
| 373 | local lm = Instance.new("Motor", torso)
| |
| 374 | lm.C0 = CFrame.new(-1.5, 0.5, 0) | |
| 375 | lm.C1 = CFrame.new(0, 0.5, 0) | |
| 376 | lm.Part0 = torso | |
| 377 | lm.Part1 = la | |
| 378 | ||
| 379 | local rlegm = Instance.new("Motor", torso)
| |
| 380 | rlegm.C0 = CFrame.new(0.5, -1, 0) | |
| 381 | rlegm.C1 = CFrame.new(0, 1, 0) | |
| 382 | rlegm.Part0 = torso | |
| 383 | rlegm.Part1 = rl | |
| 384 | local llegm = Instance.new("Motor", torso)
| |
| 385 | llegm.C0 = CFrame.new(-0.5, -1, 0) | |
| 386 | llegm.C1 = CFrame.new(0, 1, 0) | |
| 387 | llegm.Part0 = torso | |
| 388 | llegm.Part1 = ll | |
| 389 | ||
| 390 | neck.C0 = CFrame.new(0, 1, 0) | |
| 391 | neck.C1 = CFrame.new(0, -0.5, 0) | |
| 392 | ||
| 393 | ||
| 394 | rj.C0 = CFrame.new() | |
| 395 | rj.C1 = CFrame.new() | |
| 396 | ||
| 397 | ||
| 398 | local sound = Instance.new("Sound", head)
| |
| 399 | sound.SoundId = "http://www.roblox.com/asset/?id=130797915" | |
| 400 | sound.Volume = 0.8 | |
| 401 | sound.Looped = true | |
| 402 | ||
| 403 | for i,v in pairs(char:children()) do | |
| 404 | if v:IsA("Hat") then
| |
| 405 | v:Destroy() | |
| 406 | end | |
| 407 | end | |
| 408 | ||
| 409 | ||
| 410 | --look of the fox here | |
| 411 | ||
| 412 | game:service'InsertService':LoadAsset(74225426):children()[1].Parent = char | |
| 413 | Instance.new("PointLight", torso).Range = 10
| |
| 414 | ||
| 415 | game:service'InsertService':LoadAsset(1309911):children()[1].Parent = char | |
| 416 | Instance.new("PointLight", torso).Range = 10
| |
| 417 | ||
| 418 | game:service'InsertService':LoadAsset(19380685):children()[1].Parent = char | |
| 419 | Instance.new("PointLight", torso).Range = 10
| |
| 420 | ||
| 421 | if char:findFirstChild("Shirt") then
| |
| 422 | char:findFirstChild("Shirt"):Destroy()
| |
| 423 | end | |
| 424 | if char:findFirstChild("Pants") then
| |
| 425 | char:findFirstChild("Pants"):Destroy()
| |
| 426 | end | |
| 427 | if char:findFirstChild("Shirt Graphic") then
| |
| 428 | char:findFirstChild("Shirt Graphic"):Destroy()
| |
| 429 | end | |
| 430 | if char:findFirstChild("T-Shirt") then
| |
| 431 | char:findFirstChild("T-Shirt"):Destroy()
| |
| 432 | end | |
| 433 | ||
| 434 | print'Smokedelsin(Aka wable3) Made. BRUH BRUH' | |
| 435 | ||
| 436 | ||
| 437 | local speed = 0.3 | |
| 438 | local angle = 0 | |
| 439 | local sitting = false | |
| 440 | local humanwalk = false | |
| 441 | local anglespeed = 1 | |
| 442 | rsc0 = rm.C0 | |
| 443 | lsc0 = lm.C0 | |
| 444 | llc0 = llegm.C0 | |
| 445 | rlc0 = rlegm.C0 | |
| 446 | neckc0 = neck.C0 | |
| 447 | ||
| 448 | local controllerService = game:GetService("ControllerService")
| |
| 449 | local controller = controllerService:GetChildren()[1] | |
| 450 | ||
| 451 | controller.Parent = nil | |
| 452 | ||
| 453 | Instance.new("HumanoidController", game:service'ControllerService')
| |
| 454 | Instance.new("SkateboardController", game:service'ControllerService')
| |
| 455 | Instance.new("VehicleController", game:service'ControllerService')
| |
| 456 | local controller = controllerService:GetChildren()[1] | |
| 457 | mouse.KeyDown:connect(function(k) | |
| 458 | if k == "q" then | |
| 459 | humanwalk = not humanwalk | |
| 460 | end | |
| 461 | if k == "z" then | |
| 462 | if not sound.IsPlaying then | |
| 463 | sound:stop() | |
| 464 | sound.SoundId = "http://www.roblox.com/asset/?id=229675673" | |
| 465 | wait() | |
| 466 | sound:play() | |
| 467 | end | |
| 468 | end | |
| 469 | if k == "x" then | |
| 470 | if not sound.IsPlaying then | |
| 471 | sound:stop() | |
| 472 | sound.SoundId = "http://www.roblox.com/asset/?id=179849734" | |
| 473 | wait() | |
| 474 | sound:play() | |
| 475 | end | |
| 476 | end | |
| 477 | if k == "c" then | |
| 478 | if not sound.IsPlaying then | |
| 479 | sound:stop() | |
| 480 | sound.SoundId = "http://www.roblox.com/asset/?id=142283906" | |
| 481 | wait() | |
| 482 | sound:play() | |
| 483 | end | |
| 484 | end | |
| 485 | if string.byte(k) == 48 then | |
| 486 | humanoid.WalkSpeed = 34 | |
| 487 | end | |
| 488 | ||
| 489 | end) | |
| 490 | mouse.KeyUp:connect(function(k) | |
| 491 | ||
| 492 | if string.byte(k) == 48 then | |
| 493 | humanoid.WalkSpeed = 16 | |
| 494 | end | |
| 495 | ||
| 496 | end) | |
| 497 | ||
| 498 | ||
| 499 | ||
| 500 | while wait() do | |
| 501 | angle = (angle % 100) + anglespeed/10 | |
| 502 | mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10)) | |
| 503 | local rscf = rsc0 | |
| 504 | local lscf = lsc0 | |
| 505 | local rlcf = rlc0 | |
| 506 | local llcf = llc0 | |
| 507 | local rjcf = CFrame.new() | |
| 508 | local ncf = neckc0 | |
| 509 | local rayz = Ray.new(rootpart.Position, Vector3.new(0, -6, 0)) | |
| 510 | local hitz, enz = workspace:findPartOnRay(rayz, char) | |
| 511 | if not hitz then | |
| 512 | if sound.IsPlaying then | |
| 513 | sound:stop() | |
| 514 | end | |
| 515 | ||
| 516 | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then | |
| 517 | ||
| 518 | ncf = neckc0 * CFrame.Angles(math.pi/5, 0, 0) | |
| 519 | rjcf = CFrame.new() * CFrame.Angles(-math.pi/5, math.sin(angle)*0.05, 0) | |
| 520 | rscf = rsc0 * CFrame.Angles(math.pi/1.7+math.sin(angle)*0.1, 0, 0) | |
| 521 | lscf = lsc0 * CFrame.Angles(math.pi/1.7+math.sin(-angle)*0.1, 0, 0) | |
| 522 | rlcf = rlc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.3, 0, 0) | |
| 523 | llcf = llc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.3, 0, 0) | |
| 524 | ||
| 525 | else | |
| 526 | ||
| 527 | ncf = neckc0 * CFrame.Angles(math.pi/14, 0, 0) | |
| 528 | rjcf = CFrame.new() * CFrame.Angles(-math.pi/18, math.sin(angle)*0.05, 0) | |
| 529 | rscf = rsc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.2, 0, 0) | |
| 530 | lscf = lsc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.2, 0, 0) | |
| 531 | rlcf = rlc0 * CFrame.new(0, 0.7, -0.5) CFrame.Angles(-math.pi/14, 0, 0) | |
| 532 | llcf = llc0 * CFrame.Angles(-math.pi/20, 0, 0) | |
| 533 | ||
| 534 | end | |
| 535 | elseif humanoid.Sit then | |
| 536 | if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142283906" then | |
| 537 | anglespeed = 6 | |
| 538 | ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 0, 0) | |
| 539 | rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0) | |
| 540 | rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) | |
| 541 | lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) | |
| 542 | rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) | |
| 543 | llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) | |
| 544 | elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=179849734" then | |
| 545 | anglespeed = 4 | |
| 546 | ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 0, 0) | |
| 547 | rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0) | |
| 548 | rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) | |
| 549 | lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) | |
| 550 | rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) | |
| 551 | llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) | |
| 552 | elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=229675673" then | |
| 553 | anglespeed = 11 | |
| 554 | ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08) | |
| 555 | rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0) | |
| 556 | rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) | |
| 557 | lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) | |
| 558 | rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) | |
| 559 | llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) | |
| 560 | else | |
| 561 | anglespeed = 1/2 | |
| 562 | ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08) | |
| 563 | rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0) | |
| 564 | rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) | |
| 565 | lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) | |
| 566 | rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) | |
| 567 | llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) | |
| 568 | end | |
| 569 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then | |
| 570 | if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142283906" then | |
| 571 | anglespeed = 4 | |
| 572 | ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0) | |
| 573 | rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0) | |
| 574 | rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0) | |
| 575 | lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0) | |
| 576 | rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5)) | |
| 577 | llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5)) | |
| 578 | elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=179849734" then | |
| 579 | anglespeed = 2 | |
| 580 | ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0) | |
| 581 | rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0) | |
| 582 | rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0) | |
| 583 | lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0) | |
| 584 | rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5)) | |
| 585 | llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5)) | |
| 586 | elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=229675673" then | |
| 587 | anglespeed = 9 | |
| 588 | ncf = neckc0 * CFrame.Angles(math.sin(angle)*0.07, math.rad(30), 0) | |
| 589 | rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0) | |
| 590 | rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.05, 0, 0) | |
| 591 | lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.05, 0, 0) | |
| 592 | rlcf = rlc0 * CFrame.new(0, -0.1 + math.abs(mvmnt)*0.1, -0.1) * CFrame.Angles(0, math.rad(5), math.rad(5)) | |
| 593 | llcf = llc0 * CFrame.Angles(0, math.rad(2.5), math.rad(1)) | |
| 594 | else | |
| 595 | if humanwalk then | |
| 596 | anglespeed = 1/4 | |
| 597 | ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0) | |
| 598 | rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0) | |
| 599 | rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.1, 0, 0) | |
| 600 | lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.1, 0, 0) | |
| 601 | rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.08, math.rad(2.5)) | |
| 602 | llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.08, -math.rad(2.5)) | |
| 603 | else | |
| 604 | anglespeed = 1/2 | |
| 605 | ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08) | |
| 606 | rjcf = CFrame.new(0, -2, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0) | |
| 607 | rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) | |
| 608 | lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) | |
| 609 | rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) | |
| 610 | llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) | |
| 611 | end | |
| 612 | end | |
| 613 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 20 then | |
| 614 | if sound.IsPlaying then | |
| 615 | sound:stop() | |
| 616 | end | |
| 617 | if humanwalk then | |
| 618 | anglespeed = 4 | |
| 619 | ncf = neckc0 * CFrame.Angles(math.pi/24, mvmnt*.02, 0) | |
| 620 | rjcf = CFrame.new(0, math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/24, -mvmnt*.02, 0) | |
| 621 | rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.25, 0, -math.abs(mvmnt)*0.02) | |
| 622 | lscf = lsc0 * CFrame.Angles(math.sin(-angle)*1.25, 0, math.abs(mvmnt)*0.02) | |
| 623 | rlcf = rlc0 * CFrame.Angles(math.sin(-angle)*1, 0, math.rad(.5)) | |
| 624 | llcf = llc0 * CFrame.Angles(math.sin(angle)*1, 0, -math.rad(.5)) | |
| 625 | else | |
| 626 | anglespeed = 4 | |
| 627 | ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9, 0, 0) | |
| 628 | rjcf = CFrame.new(0, -1.5+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9, math.sin(mvmnt/2)*0.05, 0) | |
| 629 | rscf = rsc0 * CFrame.new(-.45, 0.2, -.4+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(angle)*0.7, 0, math.rad(5)) | |
| 630 | lscf = lsc0 * CFrame.new(.45, 0.2, .1-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(-angle)*0.7, 0, -math.rad(5)) | |
| 631 | rlcf = rlc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*0.6, 0, math.abs(mvmnt)*0.025) | |
| 632 | llcf = llc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(angle)*.6, 0, -math.abs(mvmnt)*0.025) | |
| 633 | end | |
| 634 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then | |
| 635 | if sound.IsPlaying then | |
| 636 | sound:stop() | |
| 637 | end | |
| 638 | if humanwalk then | |
| 639 | anglespeed = 5 | |
| 640 | ncf = neckc0 * CFrame.Angles(math.pi/20, math.sin(angle)*.04, 0) | |
| 641 | rjcf = CFrame.new(0, -.4 + math.abs(mvmnt)*0.25, 0) * CFrame.Angles(-math.pi/20, -math.sin(angle)*.08, 0) | |
| 642 | rscf = rsc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(angle)*1.5, 0, -math.abs(mvmnt)*0.02) | |
| 643 | lscf = lsc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(-angle)*1.5, 0, math.abs(mvmnt)*0.02) | |
| 644 | rlcf = rlc0 * CFrame.new(0, 0, -.6+math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.3, 0, math.rad(.5)) | |
| 645 | llcf = llc0 * CFrame.new(0, 0, -math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.3, 0, -math.rad(.5)) | |
| 646 | else | |
| 647 | anglespeed = 5.5 | |
| 648 | ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9+math.sin(mvmnt/2)*0.05, 0, 0) | |
| 649 | rjcf = CFrame.new(0, -1.3+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9+math.abs(mvmnt/2)*0.1, 0, 0) | |
| 650 | rscf = rsc0 * CFrame.new(-1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, math.rad(5)) | |
| 651 | lscf = lsc0 * CFrame.new(1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, -math.rad(5)) | |
| 652 | rlcf = rlc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, math.abs(mvmnt)*0.025) | |
| 653 | llcf = llc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, -math.abs(mvmnt)*0.025) | |
| 654 | end | |
| 655 | end | |
| 656 | ||
| 657 | rm.C0 = clerp(rm.C0,rscf,speed) | |
| 658 | lm.C0 = clerp(lm.C0,lscf,speed) | |
| 659 | rj.C0 = clerp(rj.C0,rjcf,speed) | |
| 660 | neck.C0 = clerp(neck.C0,ncf,speed) | |
| 661 | rlegm.C0 = clerp(rlegm.C0,rlcf,speed) | |
| 662 | llegm.C0 = clerp(llegm.C0,llcf,speed) | |
| 663 | end | |
| 664 | ||
| 665 | ||
| 666 | end | |
| 667 | ||
| 668 | s = game.Workspace | |
| 669 | ||
| 670 | Player = game.Players.LocalPlayer | |
| 671 | c = Player.Character | |
| 672 | mouse = Player:GetMouse() | |
| 673 | ||
| 674 | s2 = Instance.new("Sound", c.Head)
| |
| 675 | s2.Name = "Bleu" | |
| 676 | s2.Volume = 1 | |
| 677 | ||
| 678 | c.Humanoid.MaxHealth = math.huge | |
| 679 | c.Humanoid.Health = math.huge | |
| 680 | ||
| 681 | game:GetService("Chat"):Chat(c, "This thing was created by smokedelsin bruh bruh!!!!")
| |
| 682 | ||
| 683 | for i,v in pairs(c:GetChildren()) do | |
| 684 | if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Hat") then
| |
| 685 | v:remove() | |
| 686 | wait() | |
| 687 | end | |
| 688 | end | |
| 689 | ||
| 690 | c.Humanoid.DisplayDistanceType = "None" | |
| 691 | c.Humanoid.NameOcclusion = "OccludeAll" | |
| 692 | c.Head.Transparency = .1 | |
| 693 | c.Torso.Transparency = .1 | |
| 694 | c["Right Arm"].Transparency = .1 | |
| 695 | c["Left Arm"].Transparency = .1 | |
| 696 | c["Right Leg"].Transparency = .1 | |
| 697 | c["Left Leg"].Transparency = .1 | |
| 698 | c.Head.BrickColor = BrickColor.new("Really black")
| |
| 699 | c.Torso.BrickColor = BrickColor.new("Industrial white")
| |
| 700 | c["Right Arm"].BrickColor = BrickColor.new("Really black")
| |
| 701 | c["Left Arm"].BrickColor = BrickColor.new("Industrial white")
| |
| 702 | c["Right Leg"].BrickColor = BrickColor.new("Really black")
| |
| 703 | c["Left Leg"].BrickColor = BrickColor.new("Industrial white")
| |
| 704 | c.Head.face.Texture = "rbxassetid://0" |