oskdfoskofksdofk

Untitled

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