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