Orangeplayer1431

2 sp00ky f0r m3 m8

Apr 12th, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.76 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. char = plr.Character
  3. char.Archivable = true
  4. m = char
  5. wait(.4)
  6. char.Head.face:Destroy()
  7. for i,v in pairs(char:GetChildren()) do
  8. if v.ClassName == "Accessory" then
  9. v:Destroy()
  10. end
  11. end
  12. model = Instance.new("Model",workspace)
  13. for i,v in pairs(char:GetChildren()) do
  14. if v.ClassName == "CharacterMesh" then
  15. v:Destroy()
  16. end
  17. end
  18. char.Head.Transparency = 1
  19. local skeletonsk = Instance.new("Part",char)
  20. skeletonsk.Name = "skull"
  21. skeletonsk.CanCollide = false
  22. local m = Instance.new("FileMesh",skeletonsk)
  23. m.MeshId = "http://www.roblox.com/asset/?id=36869983"
  24. m.TextureId = "http://www.roblox.com/asset/?id=36869975"
  25. m.Scale = Vector3.new(0.95, 0.9, 0.95)
  26. m.VertexColor = Vector3.new(1,1,1)
  27. local w = Instance.new("Weld",skeletonsk)
  28. w.Part0 = skeletonsk
  29. w.Part1 = char.Head
  30. w.C0 = CFrame.new(0, 0, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  31. local leftarm = Instance.new("CharacterMesh",char)
  32. leftarm.BodyPart = Enum.BodyPart.LeftArm
  33. leftarm.MeshId = "36780032"
  34. leftarm.OverlayTextureId = "36780292"
  35. local ll = Instance.new("CharacterMesh",char)
  36. ll.BodyPart = Enum.BodyPart.LeftLeg
  37. ll.MeshId = "36780079"
  38. ll.OverlayTextureId = "36780292"
  39. local rh = Instance.new("CharacterMesh",char)
  40. rh.BodyPart = Enum.BodyPart.RightArm
  41. rh.MeshId = "36780156"
  42. rh.OverlayTextureId = "36780292"
  43. local rl = Instance.new("CharacterMesh",char)
  44. rl.BodyPart = Enum.BodyPart.RightLeg
  45. rl.MeshId = "36780195"
  46. rl.OverlayTextureId = "36780292"
  47. local t = Instance.new("CharacterMesh",char)
  48. t.BodyPart = Enum.BodyPart.Torso
  49. t.MeshId = "36780113"
  50. t.OverlayTextureId = "36780292"
  51. -- Actual dancing properties
  52.  
  53.  
  54. m = game.Players.LocalPlayer
  55. char = m.Character
  56. local txt = Instance.new("BillboardGui", char)
  57. txt.Adornee = char .Head
  58. txt.Name = "_status"
  59. txt.Size = UDim2.new(2, 0, 1.2, 0)
  60. txt.StudsOffset = Vector3.new(-9, 8, 0)
  61. local text = Instance.new("TextLabel", txt)
  62. text.Size = UDim2.new(10, 0, 7, 0)
  63. text.FontSize = "Size24"
  64. text.TextScaled = true
  65. text.TextTransparency = 0
  66. text.BackgroundTransparency = 1
  67. text.TextTransparency = 0
  68. text.TextStrokeTransparency = 0
  69. text.Font = "Bodoni"
  70. text.TextStrokeColor3 = BrickColor.new("White").Color
  71.  
  72. v=Instance.new("Part")
  73. v.Name = "ColorBrick"
  74. v.Parent=m.Character
  75. v.FormFactor="Symmetric"
  76. v.Anchored=true
  77. v.CanCollide=false
  78. v.BottomSurface="Smooth"
  79. v.TopSurface="Smooth"
  80. v.Size=Vector3.new(10,5,3)
  81. v.Transparency=1
  82. v.CFrame=char.Torso.CFrame
  83. v.BrickColor=BrickColor.new("Really black")
  84. v.Transparency=1
  85. text.TextColor3 = BrickColor.new("White").Color
  86. v.Shape="Block"
  87. text.Text = ""
  88.  
  89.  
  90. pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
  91. local plr = game.Players.LocalPlayer
  92. repeat wait() until plr.Character
  93. plr = game.Players.LocalPlayer
  94. char = plr.Character
  95. Character=plr.Character
  96. torso = char.Torso
  97. head = char.Head
  98. neck = torso.Neck
  99. vt=Vector3.new
  100. Humanoid=Character.Humanoid
  101. cf=CFrame.new
  102. cn=CFrame.new
  103. shake = false
  104. RootPart=Character.HumanoidRootPart
  105. RootJoint=RootPart.RootJoint
  106. euler=CFrame.fromEulerAnglesXYZ
  107. angles=CFrame.Angles
  108. sound = Instance.new("Sound", torso)
  109. sound.SoundId = "rbxassetid://177276825"
  110. sound.Parent = char
  111. sound.Volume = 50
  112. sound.Pitch = 1
  113. sound:Play()
  114. sound.Looped = true
  115. RootCF=euler(-1.57,0,3.14)
  116.  
  117.  
  118. local light = Instance.new("PointLight",torso)
  119. light.Color = Color3.new(0, 0, 0)
  120. light.Brightness = 4.50
  121. light.Range = 14
  122.  
  123.  
  124.  
  125. ArtificialHB = Instance.new("BindableEvent", script)
  126. ArtificialHB.Name = "Heartbeat"
  127.  
  128. script:WaitForChild("Heartbeat")
  129.  
  130. frame = 1 / 60
  131. tf = 0
  132. allowframeloss = false
  133. tossremainder = false
  134. lastframe = tick()
  135. script.Heartbeat:Fire()
  136.  
  137. game:GetService("RunService").Heartbeat:connect(function(s, p)
  138. tf = tf + s
  139. if tf >= frame then
  140. if allowframeloss then
  141. script.Heartbeat:Fire()
  142. lastframe = tick()
  143. else
  144. for i = 1, math.floor(tf / frame) do
  145. script.Heartbeat:Fire()
  146. end
  147. lastframe = tick()
  148. end
  149. if tossremainder then
  150. tf = 0
  151. else
  152. tf = tf - frame * math.floor(tf / frame)
  153. end
  154. end
  155. end)
  156.  
  157. function swait(num)
  158. if num == 0 or num == nil then
  159. ArtificialHB.Event:wait()
  160. else
  161. for i = 0, num do
  162. ArtificialHB.Event:wait()
  163. end
  164. end
  165. end
  166.  
  167.  
  168.  
  169.  
  170.  
  171. function lerp(a, b, t) -- Linear interpolation
  172. return a + (b - a)*t
  173. end
  174.  
  175. function slerp(a, b, t) --Spherical interpolation
  176. dot = a:Dot(b)
  177. if dot > 0.99999 or dot < -0.99999 then
  178. return t <= 0.5 and a or b
  179. else
  180. r = math.acos(dot)
  181. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  182. end
  183. end
  184.  
  185. function matrixInterpolate(a, b, t)
  186. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  187. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  188. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  189. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  190. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  191. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  192. local t = v1:Dot(v2)
  193. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  194. return CFrame.new()
  195. end
  196. return CFrame.new(
  197. v0.x, v0.y, v0.z,
  198. v1.x, v1.y, v1.z,
  199. v2.x, v2.y, v2.z,
  200. v3.x, v3.y, v3.z)
  201. end
  202.  
  203. if m.UserId == 89145937 then
  204. while true do
  205. Character.Humanoid.Health = math.huge
  206. Character.Humanoid.MaxHealth = math.huge
  207. Character.Humanoid.Health = math.huge
  208. Character.Humanoid.MaxHealth = math.huge
  209. Character.Humanoid.Health = math.huge
  210. Character.Humanoid.MaxHealth = math.huge
  211. Character.Humanoid.Health = math.huge
  212. end
  213. end
  214. function genWeld(a,b)
  215. local w = Instance.new("Weld",a)
  216. w.Part0 = a
  217. w.Part1 = b
  218. return w
  219. end
  220. function weld(a, b)
  221. local weld = Instance.new("Weld")
  222. weld.Name = "W"
  223. weld.Part0 = a
  224. weld.Part1 = b
  225. weld.C0 = a.CFrame:inverse() * b.CFrame
  226. weld.Parent = a
  227. return weld;
  228. end
  229.  
  230. function Lerp(c1,c2,al)
  231. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  232. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  233. for i,v in pairs(com1) do
  234. com1[i] = v+(com2[i]-v)*al
  235. end
  236. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  237. end
  238.  
  239.  
  240. function clerp(a,b,t)
  241. local qa = {QuaternionFromCFrame(a)}
  242. local qb = {QuaternionFromCFrame(b)}
  243. local ax, ay, az = a.x, a.y, a.z
  244. local bx, by, bz = b.x, b.y, b.z
  245. local _t = 1-t
  246. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  247. end
  248.  
  249. function QuaternionFromCFrame(cf)
  250. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  251. local trace = m00 + m11 + m22
  252. if trace > 0 then
  253. local s = math.sqrt(1 + trace)
  254. local recip = 0.5/s
  255. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  256. else
  257. local i = 0
  258. if m11 > m00 then
  259. i = 1
  260. end
  261. if m22 > (i == 0 and m00 or m11) then
  262. i = 2
  263. end
  264. if i == 0 then
  265. local s = math.sqrt(m00-m11-m22+1)
  266. local recip = 0.5/s
  267. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  268. elseif i == 1 then
  269. local s = math.sqrt(m11-m22-m00+1)
  270. local recip = 0.5/s
  271. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  272. elseif i == 2 then
  273. local s = math.sqrt(m22-m00-m11+1)
  274. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  275. end
  276. end
  277. end
  278.  
  279. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  280. local xs, ys, zs = x + x, y + y, z + z
  281. local wx, wy, wz = w*xs, w*ys, w*zs
  282. local xx = x*xs
  283. local xy = x*ys
  284. local xz = x*zs
  285. local yy = y*ys
  286. local yz = y*zs
  287. local zz = z*zs
  288. 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))
  289. end
  290.  
  291. function QuaternionSlerp(a, b, t)
  292. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  293. local startInterp, finishInterp;
  294. if cosTheta >= 0.0001 then
  295. if (1 - cosTheta) > 0.0001 then
  296. local theta = math.acos(cosTheta)
  297. local invSinTheta = 1/math.sin(theta)
  298. startInterp = math.sin((1-t)*theta)*invSinTheta
  299. finishInterp = math.sin(t*theta)*invSinTheta
  300. else
  301. startInterp = 1-t
  302. finishInterp = t
  303. end
  304. else
  305. if (1+cosTheta) > 0.0001 then
  306. local theta = math.acos(-cosTheta)
  307. local invSinTheta = 1/math.sin(theta)
  308. startInterp = math.sin((t-1)*theta)*invSinTheta
  309. finishInterp = math.sin(t*theta)*invSinTheta
  310. else
  311. startInterp = t-1
  312. finishInterp = t
  313. end
  314. end
  315. 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
  316. end
  317.  
  318. --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)
  319.  
  320. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  321. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  322. end
  323. Torso=Character.Torso
  324. --save shoulders
  325. RSH, LSH=nil, nil
  326. --welds
  327. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  328. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  329. function NoOutline(Part)
  330. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  331. end
  332. player=Player
  333. ch=Character
  334. RSH=char.Torso["Right Shoulder"]
  335. LSH=char.Torso["Left Shoulder"]
  336. --
  337. RSH.Parent=nil
  338. LSH.Parent=nil
  339. --
  340. RW.Name="Right Shoulder"
  341. RW.Part0=char.Torso
  342. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  343. RW.C1=cf(0, 0.5, 0)
  344. RW.Part1=char["Right Arm"]
  345. RW.Parent=char.Torso
  346. -- Character=Player.Character
  347. LW.Name="Left Shoulder"
  348. LW.Part0=char.Torso
  349. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  350. LW.C1=cf(0, 0.5, 0)
  351. LW.Part1=char["Left Arm"]
  352. LW.Parent=char.Torso
  353. LS=Torso["Left Shoulder"]
  354. LH=Torso["Left Hip"]
  355. RS=Torso["Right Shoulder"]
  356. RH=Torso["Right Hip"]
  357.  
  358. Player=game:GetService('Players').LocalPlayer
  359. Character=Player.Character
  360. Mouse=Player:GetMouse()
  361. m=Instance.new('Model',Character)
  362. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  363. local wld = Instance.new("Weld", wp1)
  364. wld.Part0 = wp0
  365. wld.Part1 = wp1
  366. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  367. end
  368.  
  369. local function weldBetween(a, b)
  370. local weldd = Instance.new("ManualWeld")
  371. weldd.Part0 = a
  372. weldd.Part1 = b
  373. weldd.C0 = CFrame.new()
  374. weldd.C1 = b.CFrame:inverse() * a.CFrame
  375. weldd.Parent = a
  376. return weldd
  377. end
  378.  
  379.  
  380.  
  381. Player.Character.Humanoid.Name = "Zombie"
  382.  
  383. m=Instance.new("ForceField",Character)
  384. m.Visible = false
  385.  
  386. LH.C0=clerp(LH.C0,cf(-1,-1,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  387.  
  388. ---- [[ Syncer ]] ----
  389.  
  390. sync = Instance.new("Part", workspace)
  391. sync.Anchored = false
  392. sync.Parent = head
  393. sync.TopSurface = 0
  394. sync.BrickColor = BrickColor.new("Really black")
  395. sync.BottomSurface = 0
  396. sync.Material = "SmoothPlastic"
  397. syncm = Instance.new("SpecialMesh", sync)
  398. syncm.MeshType = Enum.MeshType.Sphere
  399. syncm.Scale = Vector3.new(.13,0.1,0.05)
  400. syncsize = syncm.Scale
  401. sync.Transparency = 1
  402. weld = Instance.new("Weld", head)
  403. weld.Part0 = sync
  404. weld.Part1 = head
  405. weld.C1 = CFrame.new(0,-.25,-.6)
  406. game:service'RunService'.RenderStepped:connect(function()
  407. syncm.Scale = syncm.Scale:lerp(Vector3.new(syncsize.X+sound.PlaybackLoudness/9200,sound.PlaybackLoudness/3500,syncsize.Z),0.9)
  408. 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)
  409. 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)
  410. 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)
  411. 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)
  412. 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)
  413. 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)
  414. light.Color = Color3.new(0,0,0)
  415. light.Brightness = 2 + syncm.Scale.Y*550.6
  416. light.Range = syncm.Scale.Y*550.6
  417. if sound.PlaybackLoudness >= 320 and shake == true or shake == false then
  418. light.Color = Color3.new(0,255,255)
  419. end
  420. if sound.PlaybackLoudness >= 320 and shake == true then
  421. for i = 0,0.9,0.17 do
  422. swait()
  423. Humanoid.CameraOffset = Vector3.new(math.random(-4,4*i),math.random(-.9,.9*i),math.random(-4.7,4.7*i))
  424. end
  425. end
  426. if sound.PlaybackLoudness >= 450 and shake == true or shake == false then
  427. text.Text = "Ultra S C A R Y"
  428. end
  429. if sound.PlaybackLoudness >= 390 and shake == true then
  430. for i = 0,0.9,0.17 do
  431. swait()
  432. Humanoid.CameraOffset = Vector3.new(math.random(-7,7*i),math.random(-3.9,3.9*i),math.random(-7.7,7.7*i))
  433. end
  434. end
  435. if sound.PlaybackLoudness >= 390 and shake == true or shake == false then
  436. text.Text = "Scary"
  437. end
  438. if sound.PlaybackLoudness <= 270 then
  439. Humanoid.CameraOffset = Vector3.new(0,0,0)
  440. light.Color = Color3.new(255,0,255)
  441. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  442. text.Text = "Spooky"
  443. end
  444. if sound.PlaybackLoudness <= 240 then
  445. Humanoid.CameraOffset = Vector3.new(0,0,0)
  446. light.Color = Color3.new(255,0,0)
  447. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  448. text.Text = ""
  449. end
  450.  
  451. if sound.PlaybackLoudness <= 1 then
  452. Humanoid.CameraOffset = Vector3.new(0,0,0)
  453. text.Text = "Searching for music.."
  454. end
  455. end)
  456.  
  457. while true do
  458. Character.Zombie.MaxHealth = math.huge
  459. Character.Zombie.Health = math.huge -- more god mode
  460. wait() -- DO NOT REMOVE unless you wanna crash yourself
  461. end
Add Comment
Please, Sign In to add comment