SHOW:
|
|
- or go back to the newest paste.
| 1 | ---[LEAKED] By - Forbidden_Guy | |
| 2 | ||
| 3 | ---Share this fucking script pls | |
| 4 | ||
| 5 | ||
| 6 | m = game.Players.LocalPlayer | |
| 7 | char = m.Character | |
| 8 | local txt = Instance.new("BillboardGui", char)
| |
| 9 | txt.Adornee = char .Head | |
| 10 | txt.Name = "_status" | |
| 11 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 12 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 13 | local text = Instance.new("TextLabel", txt)
| |
| 14 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 15 | text.FontSize = "Size24" | |
| 16 | text.TextScaled = true | |
| 17 | text.TextTransparency = 0 | |
| 18 | text.BackgroundTransparency = 1 | |
| 19 | text.TextTransparency = 0 | |
| 20 | text.TextStrokeTransparency = 0 | |
| 21 | text.Font = "Bodoni" | |
| 22 | text.TextStrokeColor3 = Color3.new(0,255,255) | |
| 23 | ||
| 24 | v=Instance.new("Part")
| |
| 25 | v.Name = "ColorBrick" | |
| 26 | v.Parent=m.Character | |
| 27 | v.FormFactor="Symmetric" | |
| 28 | v.Anchored=true | |
| 29 | v.CanCollide=false | |
| 30 | v.BottomSurface="Smooth" | |
| 31 | v.TopSurface="Smooth" | |
| 32 | v.Size=Vector3.new(10,5,3) | |
| 33 | v.Transparency=1 | |
| 34 | v.CFrame=char.Torso.CFrame | |
| 35 | v.BrickColor=BrickColor.new("Really black")
| |
| 36 | v.Transparency=1 | |
| 37 | text.TextColor3 = Color3.new(255,0,255) | |
| 38 | v.Shape="Block" | |
| 39 | text.Text = "" | |
| 40 | ||
| 41 | ||
| 42 | pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
| |
| 43 | local plr = game.Players.LocalPlayer | |
| 44 | repeat wait() until plr.Character | |
| 45 | plr = game.Players.LocalPlayer | |
| 46 | char = plr.Character | |
| 47 | Character=plr.Character | |
| 48 | torso = char.Torso | |
| 49 | head = char.Head | |
| 50 | neck = torso.Neck | |
| 51 | vt=Vector3.new | |
| 52 | Humanoid=Character.Humanoid | |
| 53 | cf=CFrame.new | |
| 54 | cn=CFrame.new | |
| 55 | shake = true | |
| 56 | RootPart=Character.HumanoidRootPart | |
| 57 | RootJoint=RootPart.RootJoint | |
| 58 | euler=CFrame.fromEulerAnglesXYZ | |
| 59 | angles=CFrame.Angles | |
| 60 | sound = Instance.new("Sound", torso)
| |
| 61 | - | sound.SoundId = "rbxassetid://913584994" |
| 61 | + | sound.SoundId = "rbxassetid://202655498" |
| 62 | sound.Parent = char | |
| 63 | sound.Volume = 50 | |
| 64 | sound.Pitch = 1 | |
| 65 | sound:Play() | |
| 66 | sound.Looped = true | |
| 67 | RootCF=euler(-1.57,0,3.14) | |
| 68 | plr.Chatted:connect(function(message) | |
| 69 | if message:sub(1,4) == "play" then | |
| 70 | sound:Stop() | |
| 71 | sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6) | |
| 72 | sound:Play() | |
| 73 | end | |
| 74 | if message:sub(1,7) == "noshake" then | |
| 75 | shake = false | |
| 76 | coroutine.resume(coroutine.create(function() | |
| 77 | game.StarterGui:SetCore("ChatMakeSystemMessage", {
| |
| 78 | Text = 'Shake off'; | |
| 79 | Color = Color3.new(0,0,0); | |
| 80 | Color = Color3.new(0,255,255); | |
| 81 | Font = Enum.Font.Bodoni; | |
| 82 | FontSize = Enum.FontSize.Size24; | |
| 83 | }) | |
| 84 | end)) | |
| 85 | end | |
| 86 | if message:sub(1,2) == "KQ" then | |
| 87 | sound:Stop() | |
| 88 | sound.SoundId = "http://www.roblox.com/asset/?id=913584994" | |
| 89 | sound:Play() | |
| 90 | end | |
| 91 | ||
| 92 | if message:sub(1,8) == "MEGALOUD" then | |
| 93 | sound:Stop() | |
| 94 | sound.SoundId = "http://www.roblox.com/asset/?id=913584994" | |
| 95 | sound:Play() | |
| 96 | end | |
| 97 | ||
| 98 | if message:sub(1,5) == "Sweet" then | |
| 99 | sound:Stop() | |
| 100 | sound.SoundId = "rbxassetid://913584994" | |
| 101 | sound:Play() | |
| 102 | end | |
| 103 | ||
| 104 | if message:sub(1,5) == "Curse" then | |
| 105 | sound:Stop() | |
| 106 | sound.SoundId = "http://www.roblox.com/asset/?id=913584994" | |
| 107 | sound:Play() | |
| 108 | end | |
| 109 | ||
| 110 | ||
| 111 | if message:sub(1,3) == "CN" then | |
| 112 | sound:Stop() | |
| 113 | sound.SoundId = "rbxassetid://913584994" | |
| 114 | sound:Play() | |
| 115 | end | |
| 116 | ||
| 117 | if message:sub(1,6) == "Spooky" then | |
| 118 | sound:Stop() | |
| 119 | sound.SoundId = "http://www.roblox.com/asset/?id=913584994" | |
| 120 | sound:Play() | |
| 121 | end | |
| 122 | ||
| 123 | if message:sub(1,6) == "HB" then | |
| 124 | sound:Stop() | |
| 125 | sound.SoundId = "rbxassetid://913584994" | |
| 126 | sound:Play() | |
| 127 | end | |
| 128 | ||
| 129 | if message:sub(1,3) == "MLG" then | |
| 130 | sound:Stop() | |
| 131 | sound.SoundId = "http://www.roblox.com/asset/?id=913584994" | |
| 132 | sound:Play() | |
| 133 | end | |
| 134 | ||
| 135 | if message:sub(1,3) == "SN" then | |
| 136 | sound:Stop() | |
| 137 | sound.SoundId = "rbxassetid://913584994" | |
| 138 | sound:Play() | |
| 139 | end | |
| 140 | if message:sub(1,3) == "TO" then | |
| 141 | sound:Stop() | |
| 142 | sound.SoundId = "rbxassetid://913584994" | |
| 143 | sound:Play() | |
| 144 | end | |
| 145 | if message:sub(1,3) == "PY" then | |
| 146 | sound:Stop() | |
| 147 | sound.SoundId = "rbxassetid://913584994" | |
| 148 | sound:Play() | |
| 149 | end | |
| 150 | ||
| 151 | if message:sub(1,5) == "pitch" then | |
| 152 | sound.Pitch = ""..message:sub(1,2) | |
| 153 | end | |
| 154 | ||
| 155 | if message:sub(1,4) == "vol" then | |
| 156 | sound.Volume = ""..message:sub(1,3) | |
| 157 | end | |
| 158 | ||
| 159 | ||
| 160 | if message:sub(1,6) == "noglob" then | |
| 161 | sound.Parent = torso | |
| 162 | coroutine.resume(coroutine.create(function() | |
| 163 | game.StarterGui:SetCore("ChatMakeSystemMessage", {
| |
| 164 | Text = 'Global music off'; | |
| 165 | Color = Color3.new(0,0,0); | |
| 166 | Color = Color3.new(0,255,255); | |
| 167 | Font = Enum.Font.Bodoni; | |
| 168 | FontSize = Enum.FontSize.Size24; | |
| 169 | }) | |
| 170 | end)) | |
| 171 | end | |
| 172 | ||
| 173 | if message:sub(1,4) == "glob" then | |
| 174 | ||
| 175 | sound.Parent = char | |
| 176 | coroutine.resume(coroutine.create(function() | |
| 177 | game.StarterGui:SetCore("ChatMakeSystemMessage", {
| |
| 178 | Text = 'Global music on'; | |
| 179 | Color = Color3.new(0,0,0); | |
| 180 | Color = Color3.new(0,255,255); | |
| 181 | Font = Enum.Font.Bodoni; | |
| 182 | FontSize = Enum.FontSize.Size24; | |
| 183 | }) | |
| 184 | end)) | |
| 185 | ||
| 186 | end | |
| 187 | ||
| 188 | ||
| 189 | if message:sub(1,5) == "shake" then | |
| 190 | shake = true | |
| 191 | coroutine.resume(coroutine.create(function() | |
| 192 | game.StarterGui:SetCore("ChatMakeSystemMessage", {
| |
| 193 | Text = 'Shake on'; | |
| 194 | Color = Color3.new(0,0,0); | |
| 195 | Color = Color3.new(0,255,255); | |
| 196 | Font = Enum.Font.Bodoni; | |
| 197 | FontSize = Enum.FontSize.Size24; | |
| 198 | }) | |
| 199 | end)) | |
| 200 | end | |
| 201 | end) | |
| 202 | ||
| 203 | mouse=plr:GetMouse() | |
| 204 | ||
| 205 | ||
| 206 | ||
| 207 | ||
| 208 | ||
| 209 | ||
| 210 | ||
| 211 | coroutine.resume(coroutine.create(function() | |
| 212 | game.StarterGui:SetCore("ChatMakeSystemMessage", {
| |
| 213 | Text = 'Hello, Welcome to my dancer edit!'; | |
| 214 | Color = Color3.new(0,0,0); | |
| 215 | Color = Color3.new(0,255,255); | |
| 216 | Font = Enum.Font.Bodoni; | |
| 217 | FontSize = Enum.FontSize.Size24; | |
| 218 | }) | |
| 219 | end)) | |
| 220 | wait(0.5) | |
| 221 | ||
| 222 | ||
| 223 | local light = Instance.new("PointLight",torso)
| |
| 224 | light.Color = Color3.new(0, 0, 0) | |
| 225 | light.Brightness = 4.50 | |
| 226 | light.Range = 14 | |
| 227 | ||
| 228 | ||
| 229 | coroutine.resume(coroutine.create(function() | |
| 230 | game.StarterGui:SetCore("ChatMakeSystemMessage", {
| |
| 231 | Text = 'The Prefixes are "play", "noshake", "shake", "glob", and "noglob" Hope you enjoy!'; | |
| 232 | Color = Color3.new(0,0,0); | |
| 233 | Color = Color3.new(0,255,255); | |
| 234 | Font = Enum.Font.Bodoni; | |
| 235 | FontSize = Enum.FontSize.Size24; | |
| 236 | }) | |
| 237 | end)) | |
| 238 | ||
| 239 | ||
| 240 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 241 | ArtificialHB.Name = "Heartbeat" | |
| 242 | ||
| 243 | script:WaitForChild("Heartbeat")
| |
| 244 | ||
| 245 | frame = 1 / 60 | |
| 246 | tf = 0 | |
| 247 | allowframeloss = false | |
| 248 | tossremainder = false | |
| 249 | lastframe = tick() | |
| 250 | script.Heartbeat:Fire() | |
| 251 | ||
| 252 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 253 | tf = tf + s | |
| 254 | if tf >= frame then | |
| 255 | if allowframeloss then | |
| 256 | script.Heartbeat:Fire() | |
| 257 | lastframe = tick() | |
| 258 | else | |
| 259 | for i = 1, math.floor(tf / frame) do | |
| 260 | script.Heartbeat:Fire() | |
| 261 | end | |
| 262 | lastframe = tick() | |
| 263 | end | |
| 264 | if tossremainder then | |
| 265 | tf = 0 | |
| 266 | else | |
| 267 | tf = tf - frame * math.floor(tf / frame) | |
| 268 | end | |
| 269 | end | |
| 270 | end) | |
| 271 | ||
| 272 | function swait(num) | |
| 273 | if num == 0 or num == nil then | |
| 274 | ArtificialHB.Event:wait() | |
| 275 | else | |
| 276 | for i = 0, num do | |
| 277 | ArtificialHB.Event:wait() | |
| 278 | end | |
| 279 | end | |
| 280 | end | |
| 281 | ||
| 282 | ||
| 283 | ||
| 284 | ||
| 285 | ||
| 286 | function lerp(a, b, t) -- Linear interpolation | |
| 287 | return a + (b - a)*t | |
| 288 | end | |
| 289 | ||
| 290 | function slerp(a, b, t) --Spherical interpolation | |
| 291 | dot = a:Dot(b) | |
| 292 | if dot > 0.99999 or dot < -0.99999 then | |
| 293 | return t <= 0.5 and a or b | |
| 294 | else | |
| 295 | r = math.acos(dot) | |
| 296 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 297 | end | |
| 298 | end | |
| 299 | ||
| 300 | function matrixInterpolate(a, b, t) | |
| 301 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 302 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 303 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 304 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 305 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 306 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 307 | local t = v1:Dot(v2) | |
| 308 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 309 | return CFrame.new() | |
| 310 | end | |
| 311 | return CFrame.new( | |
| 312 | v0.x, v0.y, v0.z, | |
| 313 | v1.x, v1.y, v1.z, | |
| 314 | v2.x, v2.y, v2.z, | |
| 315 | v3.x, v3.y, v3.z) | |
| 316 | end | |
| 317 | ||
| 318 | if m.UserId == 89145937 then | |
| 319 | while true do | |
| 320 | Character.Humanoid.Health = math.huge | |
| 321 | Character.Humanoid.MaxHealth = math.huge | |
| 322 | Character.Humanoid.Health = math.huge | |
| 323 | Character.Humanoid.MaxHealth = math.huge | |
| 324 | Character.Humanoid.Health = math.huge | |
| 325 | Character.Humanoid.MaxHealth = math.huge | |
| 326 | Character.Humanoid.Health = math.huge | |
| 327 | end | |
| 328 | end | |
| 329 | function genWeld(a,b) | |
| 330 | local w = Instance.new("Weld",a)
| |
| 331 | w.Part0 = a | |
| 332 | w.Part1 = b | |
| 333 | return w | |
| 334 | end | |
| 335 | function weld(a, b) | |
| 336 | local weld = Instance.new("Weld")
| |
| 337 | weld.Name = "W" | |
| 338 | weld.Part0 = a | |
| 339 | weld.Part1 = b | |
| 340 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 341 | weld.Parent = a | |
| 342 | return weld; | |
| 343 | end | |
| 344 | ||
| 345 | function Lerp(c1,c2,al) | |
| 346 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 347 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 348 | for i,v in pairs(com1) do | |
| 349 | com1[i] = v+(com2[i]-v)*al | |
| 350 | end | |
| 351 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 352 | end | |
| 353 | ||
| 354 | ||
| 355 | function clerp(a,b,t) | |
| 356 | local qa = {QuaternionFromCFrame(a)}
| |
| 357 | local qb = {QuaternionFromCFrame(b)}
| |
| 358 | local ax, ay, az = a.x, a.y, a.z | |
| 359 | local bx, by, bz = b.x, b.y, b.z | |
| 360 | local _t = 1-t | |
| 361 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 362 | end | |
| 363 | ||
| 364 | function QuaternionFromCFrame(cf) | |
| 365 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 366 | local trace = m00 + m11 + m22 | |
| 367 | if trace > 0 then | |
| 368 | local s = math.sqrt(1 + trace) | |
| 369 | local recip = 0.5/s | |
| 370 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 371 | else | |
| 372 | local i = 0 | |
| 373 | if m11 > m00 then | |
| 374 | i = 1 | |
| 375 | end | |
| 376 | if m22 > (i == 0 and m00 or m11) then | |
| 377 | i = 2 | |
| 378 | end | |
| 379 | if i == 0 then | |
| 380 | local s = math.sqrt(m00-m11-m22+1) | |
| 381 | local recip = 0.5/s | |
| 382 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 383 | elseif i == 1 then | |
| 384 | local s = math.sqrt(m11-m22-m00+1) | |
| 385 | local recip = 0.5/s | |
| 386 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 387 | elseif i == 2 then | |
| 388 | local s = math.sqrt(m22-m00-m11+1) | |
| 389 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 390 | end | |
| 391 | end | |
| 392 | end | |
| 393 | ||
| 394 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 395 | local xs, ys, zs = x + x, y + y, z + z | |
| 396 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 397 | local xx = x*xs | |
| 398 | local xy = x*ys | |
| 399 | local xz = x*zs | |
| 400 | local yy = y*ys | |
| 401 | local yz = y*zs | |
| 402 | local zz = z*zs | |
| 403 | 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)) | |
| 404 | end | |
| 405 | ||
| 406 | function QuaternionSlerp(a, b, t) | |
| 407 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 408 | local startInterp, finishInterp; | |
| 409 | if cosTheta >= 0.0001 then | |
| 410 | if (1 - cosTheta) > 0.0001 then | |
| 411 | local theta = math.acos(cosTheta) | |
| 412 | local invSinTheta = 1/math.sin(theta) | |
| 413 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 414 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 415 | else | |
| 416 | startInterp = 1-t | |
| 417 | finishInterp = t | |
| 418 | end | |
| 419 | else | |
| 420 | if (1+cosTheta) > 0.0001 then | |
| 421 | local theta = math.acos(-cosTheta) | |
| 422 | local invSinTheta = 1/math.sin(theta) | |
| 423 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 424 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 425 | else | |
| 426 | startInterp = t-1 | |
| 427 | finishInterp = t | |
| 428 | end | |
| 429 | end | |
| 430 | 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 | |
| 431 | end | |
| 432 | ||
| 433 | --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 434 | ||
| 435 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 436 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 437 | end | |
| 438 | Torso=Character.Torso | |
| 439 | --save shoulders | |
| 440 | RSH, LSH=nil, nil | |
| 441 | --welds | |
| 442 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 443 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 444 | function NoOutline(Part) | |
| 445 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 446 | end | |
| 447 | player=Player | |
| 448 | ch=Character | |
| 449 | RSH=char.Torso["Right Shoulder"] | |
| 450 | LSH=char.Torso["Left Shoulder"] | |
| 451 | -- | |
| 452 | RSH.Parent=nil | |
| 453 | LSH.Parent=nil | |
| 454 | -- | |
| 455 | RW.Name="Right Shoulder" | |
| 456 | RW.Part0=char.Torso | |
| 457 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 458 | RW.C1=cf(0, 0.5, 0) | |
| 459 | RW.Part1=char["Right Arm"] | |
| 460 | RW.Parent=char.Torso | |
| 461 | -- Character=Player.Character | |
| 462 | LW.Name="Left Shoulder" | |
| 463 | LW.Part0=char.Torso | |
| 464 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 465 | LW.C1=cf(0, 0.5, 0) | |
| 466 | LW.Part1=char["Left Arm"] | |
| 467 | LW.Parent=char.Torso | |
| 468 | LS=Torso["Left Shoulder"] | |
| 469 | LH=Torso["Left Hip"] | |
| 470 | RS=Torso["Right Shoulder"] | |
| 471 | RH=Torso["Right Hip"] | |
| 472 | ||
| 473 | Player=game:GetService('Players').LocalPlayer
| |
| 474 | Character=Player.Character | |
| 475 | Mouse=Player:GetMouse() | |
| 476 | m=Instance.new('Model',Character)
| |
| 477 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 478 | local wld = Instance.new("Weld", wp1)
| |
| 479 | wld.Part0 = wp0 | |
| 480 | wld.Part1 = wp1 | |
| 481 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 482 | end | |
| 483 | ||
| 484 | local function weldBetween(a, b) | |
| 485 | local weldd = Instance.new("ManualWeld")
| |
| 486 | weldd.Part0 = a | |
| 487 | weldd.Part1 = b | |
| 488 | weldd.C0 = CFrame.new() | |
| 489 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 490 | weldd.Parent = a | |
| 491 | return weldd | |
| 492 | end | |
| 493 | ||
| 494 | ||
| 495 | ||
| 496 | Player.Character.Humanoid.Name = "Zombie" | |
| 497 | ||
| 498 | m=Instance.new("ForceField",Character)
| |
| 499 | m.Visible = false | |
| 500 | ||
| 501 | LH.C0=clerp(LH.C0,cf(-1,-1,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 502 | ||
| 503 | ---- [[ Syncer ]] ---- | |
| 504 | ||
| 505 | sync = Instance.new("Part", workspace)
| |
| 506 | sync.Anchored = false | |
| 507 | sync.Parent = head | |
| 508 | sync.TopSurface = 0 | |
| 509 | sync.BrickColor = BrickColor.new("Really black")
| |
| 510 | sync.BottomSurface = 0 | |
| 511 | sync.Material = "SmoothPlastic" | |
| 512 | syncm = Instance.new("SpecialMesh", sync)
| |
| 513 | syncm.MeshType = Enum.MeshType.Sphere | |
| 514 | syncm.Scale = Vector3.new(.13,0.1,0.05) | |
| 515 | syncsize = syncm.Scale | |
| 516 | sync.Transparency = 1 | |
| 517 | weld = Instance.new("Weld", head)
| |
| 518 | weld.Part0 = sync | |
| 519 | weld.Part1 = head | |
| 520 | weld.C1 = CFrame.new(0,-.25,-.6) | |
| 521 | game:service'RunService'.RenderStepped:connect(function() | |
| 522 | syncm.Scale = syncm.Scale:lerp(Vector3.new(syncsize.X+sound.PlaybackLoudness/9200,sound.PlaybackLoudness/3500,syncsize.Z),0.9) | |
| 523 | neck.C0 = neck.C0:lerp(CFrame.new(0,1,-.10)*CFrame.Angles(math.rad(syncm.Scale.Y*-910) +math.rad(-30),0,math.rad(180)),0.15) | |
| 524 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0+syncm.Scale.Y*1000), math.rad(0+syncm.Scale.Y*360), math.rad(0+syncm.Scale.Y*1000)),.1) | |
| 525 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0+syncm.Scale.Y*1000), math.rad(0-syncm.Scale.Y*360), math.rad(0-syncm.Scale.Y*1000)),.1) | |
| 526 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0-syncm.Scale.Y*4.6)* angles(math.rad(0+syncm.Scale.Y*260.6),math.rad(0),math.rad(0)),.25) | |
| 527 | LH.C0=clerp(LH.C0,cf(-1,-0-syncm.Scale.Y*11.6,-0.5+syncm.Scale.Y*5.4)*angles(math.rad(0-syncm.Scale.Y*160.6),math.rad(-90),math.rad(0)),.3) | |
| 528 | RH.C0=clerp(RH.C0,cf(1,-1+syncm.Scale.Y*3.8,-0-syncm.Scale.Y*5.4)*angles(math.rad(0+syncm.Scale.Y*290.6),math.rad(90),math.rad(0)),.5) | |
| 529 | light.Color = Color3.new(0,0,0) | |
| 530 | light.Brightness = 2 + syncm.Scale.Y*550.6 | |
| 531 | light.Range = syncm.Scale.Y*550.6 | |
| 532 | if sound.PlaybackLoudness >= 320 and shake == true or shake == false then | |
| 533 | light.Color = Color3.new(0,255,255) | |
| 534 | end | |
| 535 | if sound.PlaybackLoudness >= 320 and shake == true then | |
| 536 | for i = 0,0.9,0.17 do | |
| 537 | swait() | |
| 538 | Humanoid.CameraOffset = Vector3.new(math.random(-4,4*i),math.random(-.9,.9*i),math.random(-4.7,4.7*i)) | |
| 539 | end | |
| 540 | end | |
| 541 | if sound.PlaybackLoudness >= 450 and shake == true or shake == false then | |
| 542 | text.Text = "This is perfection at its finest." | |
| 543 | end | |
| 544 | if sound.PlaybackLoudness >= 390 and shake == true then | |
| 545 | for i = 0,0.9,0.17 do | |
| 546 | swait() | |
| 547 | Humanoid.CameraOffset = Vector3.new(math.random(-7,7*i),math.random(-3.9,3.9*i),math.random(-7.7,7.7*i)) | |
| 548 | end | |
| 549 | end | |
| 550 | if sound.PlaybackLoudness >= 390 and shake == true or shake == false then | |
| 551 | text.Text = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
| 552 | end | |
| 553 | if sound.PlaybackLoudness <= 270 then | |
| 554 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 555 | light.Color = Color3.new(255,0,255) | |
| 556 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 557 | text.Text = "1000 BPM" | |
| 558 | end | |
| 559 | if sound.PlaybackLoudness <= 240 then | |
| 560 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 561 | light.Color = Color3.new(255,0,0) | |
| 562 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 563 | text.Text = "" | |
| 564 | end | |
| 565 | ||
| 566 | if sound.PlaybackLoudness <= 1 then | |
| 567 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 568 | text.Text = "Searching for music.." | |
| 569 | end | |
| 570 | end) | |
| 571 | ||
| 572 | while true do | |
| 573 | Character.Zombie.MaxHealth = math.huge | |
| 574 | Character.Zombie.Health = math.huge -- more god mode | |
| 575 | wait() -- DO NOT REMOVE unless you wanna crash yourself | |
| 576 | end |