Advertisement
sneakydodge123

um idk

Aug 3rd, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.19 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. ---[LEAKED] By - Forbidden_Guy
  146.  
  147. ---Share this fucking script pls
  148.  
  149.  
  150. m = game.Players.LocalPlayer
  151. char = m.Character
  152. local txt = Instance.new("BillboardGui", char)
  153. txt.Adornee = char .Head
  154. txt.Name = "_status"
  155. txt.Size = UDim2.new(2, 0, 1.2, 0)
  156. txt.StudsOffset = Vector3.new(-9, 8, 0)
  157. local text = Instance.new("TextLabel", txt)
  158. text.Size = UDim2.new(10, 0, 7, 0)
  159. text.FontSize = "Size24"
  160. text.TextScaled = true
  161. text.TextTransparency = 0
  162. text.BackgroundTransparency = 1
  163. text.TextTransparency = 0
  164. text.TextStrokeTransparency = 0
  165. text.Font = "Bodoni"
  166. text.TextStrokeColor3 = Color3.new(0,255,255)
  167.  
  168. v=Instance.new("Part")
  169. v.Name = "ColorBrick"
  170. v.Parent=m.Character
  171. v.FormFactor="Symmetric"
  172. v.Anchored=true
  173. v.CanCollide=false
  174. v.BottomSurface="Smooth"
  175. v.TopSurface="Smooth"
  176. v.Size=Vector3.new(10,5,3)
  177. v.Transparency=1
  178. v.CFrame=char.Torso.CFrame
  179. v.BrickColor=BrickColor.new("Really black")
  180. v.Transparency=1
  181. text.TextColor3 = Color3.new(255,0,255)
  182. v.Shape="Block"
  183. text.Text = ""
  184.  
  185.  
  186. pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
  187. local plr = game.Players.LocalPlayer
  188. repeat wait() until plr.Character
  189. plr = game.Players.LocalPlayer
  190. char = plr.Character
  191. Character=plr.Character
  192. torso = char.Torso
  193. head = char.Head
  194. neck = torso.Neck
  195. vt=Vector3.new
  196. Humanoid=Character.Humanoid
  197. cf=CFrame.new
  198. cn=CFrame.new
  199. shake = true
  200. RootPart=Character.HumanoidRootPart
  201. RootJoint=RootPart.RootJoint
  202. euler=CFrame.fromEulerAnglesXYZ
  203. angles=CFrame.Angles
  204. sound = Instance.new("Sound", torso)
  205. sound.SoundId = "rbxassetid://144901116"
  206. sound.Parent = char
  207. sound.Volume = 50
  208. sound.Pitch = 1
  209. sound:Play()
  210. sound.Looped = true
  211. RootCF=euler(-1.57,0,3.14)
  212. plr.Chatted:connect(function(message)
  213. if message:sub(1,4) == "play" then
  214. sound:Stop()
  215. sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
  216. sound:Play()
  217. end
  218. if message:sub(1,7) == "noshake" then
  219. shake = false
  220. coroutine.resume(coroutine.create(function()
  221. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  222. Text = 'Shake off';
  223. Color = Color3.new(0,0,0);
  224. Color = Color3.new(0,255,255);
  225. Font = Enum.Font.Bodoni;
  226. FontSize = Enum.FontSize.Size24;
  227. })
  228. end))
  229. end
  230. if message:sub(1,2) == "KQ" then
  231. sound:Stop()
  232. sound.SoundId = "http://www.roblox.com/asset/?id=1754990502"
  233. sound:Play()
  234. end
  235.  
  236. if message:sub(1,8) == "MEGALOUD" then
  237. sound:Stop()
  238. sound.SoundId = "http://www.roblox.com/asset/?id=1754990502"
  239. sound:Play()
  240. end
  241.  
  242. if message:sub(1,5) == "Sweet" then
  243. sound:Stop()
  244. sound.SoundId = "rbxassetid://881545277"
  245. sound:Play()
  246. end
  247.  
  248. if message:sub(1,5) == "Curse" then
  249. sound:Stop()
  250. sound.SoundId = "http://www.roblox.com/asset/?id=1754990502"
  251. sound:Play()
  252. end
  253.  
  254.  
  255. if message:sub(1,3) == "CN" then
  256. sound:Stop()
  257. sound.SoundId = "rbxassetid://1754990502"
  258. sound:Play()
  259. end
  260.  
  261. if message:sub(1,6) == "Spooky" then
  262. sound:Stop()
  263. sound.SoundId = "http://www.roblox.com/asset/?id=1754990502"
  264. sound:Play()
  265. end
  266.  
  267. if message:sub(1,6) == "HB" then
  268. sound:Stop()
  269. sound.SoundId = "rbxassetid://1754990502"
  270. sound:Play()
  271. end
  272.  
  273. if message:sub(1,3) == "MLG" then
  274. sound:Stop()
  275. sound.SoundId = "http://www.roblox.com/asset/?id=1754990502"
  276. sound:Play()
  277. end
  278.  
  279. if message:sub(1,3) == "SN" then
  280. sound:Stop()
  281. sound.SoundId = "rbxassetid://1754990502"
  282. sound:Play()
  283. end
  284. if message:sub(1,3) == "TO" then
  285. sound:Stop()
  286. sound.SoundId = "rbxassetid://1754990502"
  287. sound:Play()
  288. end
  289. if message:sub(1,3) == "PY" then
  290. sound:Stop()
  291. sound.SoundId = "rbxassetid://1754990502"
  292. sound:Play()
  293. end
  294.  
  295. if message:sub(1,5) == "pitch" then
  296. sound.Pitch = ""..message:sub(1,2)
  297. end
  298.  
  299. if message:sub(1,4) == "vol" then
  300. sound.Volume = ""..message:sub(1,3)
  301. end
  302.  
  303.  
  304. if message:sub(1,6) == "noglob" then
  305. sound.Parent = torso
  306. coroutine.resume(coroutine.create(function()
  307. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  308. Text = 'Global music off';
  309. Color = Color3.new(0,0,0);
  310. Color = Color3.new(0,255,255);
  311. Font = Enum.Font.Bodoni;
  312. FontSize = Enum.FontSize.Size24;
  313. })
  314. end))
  315. end
  316.  
  317. if message:sub(1,4) == "glob" then
  318.  
  319. sound.Parent = char
  320. coroutine.resume(coroutine.create(function()
  321. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  322. Text = 'Global music on';
  323. Color = Color3.new(0,0,0);
  324. Color = Color3.new(0,255,255);
  325. Font = Enum.Font.Bodoni;
  326. FontSize = Enum.FontSize.Size24;
  327. })
  328. end))
  329.  
  330. end
  331.  
  332.  
  333. if message:sub(1,5) == "shake" then
  334. shake = true
  335. coroutine.resume(coroutine.create(function()
  336. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  337. Text = 'Shake on';
  338. Color = Color3.new(0,0,0);
  339. Color = Color3.new(0,255,255);
  340. Font = Enum.Font.Bodoni;
  341. FontSize = Enum.FontSize.Size24;
  342. })
  343. end))
  344. end
  345. end)
  346.  
  347. mouse=plr:GetMouse()
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355. coroutine.resume(coroutine.create(function()
  356. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  357. Text = 'Hello, Welcome to my dancer edit!';
  358. Color = Color3.new(0,0,0);
  359. Color = Color3.new(0,255,255);
  360. Font = Enum.Font.Bodoni;
  361. FontSize = Enum.FontSize.Size24;
  362. })
  363. end))
  364. wait(0.5)
  365.  
  366.  
  367. local light = Instance.new("PointLight",torso)
  368. light.Color = Color3.new(0, 0, 0)
  369. light.Brightness = 4.50
  370. light.Range = 14
  371.  
  372.  
  373. coroutine.resume(coroutine.create(function()
  374. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  375. Text = 'The Prefixes are "play", "noshake", "shake", "glob", and "noglob" Hope you enjoy!';
  376. Color = Color3.new(0,0,0);
  377. Color = Color3.new(0,255,255);
  378. Font = Enum.Font.Bodoni;
  379. FontSize = Enum.FontSize.Size24;
  380. })
  381. end))
  382.  
  383.  
  384. ArtificialHB = Instance.new("BindableEvent", script)
  385. ArtificialHB.Name = "Heartbeat"
  386.  
  387. script:WaitForChild("Heartbeat")
  388.  
  389. frame = 1 / 60
  390. tf = 0
  391. allowframeloss = false
  392. tossremainder = false
  393. lastframe = tick()
  394. script.Heartbeat:Fire()
  395.  
  396. game:GetService("RunService").Heartbeat:connect(function(s, p)
  397. tf = tf + s
  398. if tf >= frame then
  399. if allowframeloss then
  400. script.Heartbeat:Fire()
  401. lastframe = tick()
  402. else
  403. for i = 1, math.floor(tf / frame) do
  404. script.Heartbeat:Fire()
  405. end
  406. lastframe = tick()
  407. end
  408. if tossremainder then
  409. tf = 0
  410. else
  411. tf = tf - frame * math.floor(tf / frame)
  412. end
  413. end
  414. end)
  415.  
  416. function swait(num)
  417. if num == 0 or num == nil then
  418. ArtificialHB.Event:wait()
  419. else
  420. for i = 0, num do
  421. ArtificialHB.Event:wait()
  422. end
  423. end
  424. end
  425.  
  426.  
  427.  
  428.  
  429.  
  430. function lerp(a, b, t) -- Linear interpolation
  431. return a + (b - a)*t
  432. end
  433.  
  434. function slerp(a, b, t) --Spherical interpolation
  435. dot = a:Dot(b)
  436. if dot > 0.99999 or dot < -0.99999 then
  437. return t <= 0.5 and a or b
  438. else
  439. r = math.acos(dot)
  440. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  441. end
  442. end
  443.  
  444. function matrixInterpolate(a, b, t)
  445. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  446. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  447. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  448. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  449. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  450. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  451. local t = v1:Dot(v2)
  452. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  453. return CFrame.new()
  454. end
  455. return CFrame.new(
  456. v0.x, v0.y, v0.z,
  457. v1.x, v1.y, v1.z,
  458. v2.x, v2.y, v2.z,
  459. v3.x, v3.y, v3.z)
  460. end
  461.  
  462. if m.UserId == 89145937 then
  463. while true do
  464. Character.Humanoid.Health = math.huge
  465. Character.Humanoid.MaxHealth = math.huge
  466. Character.Humanoid.Health = math.huge
  467. Character.Humanoid.MaxHealth = math.huge
  468. Character.Humanoid.Health = math.huge
  469. Character.Humanoid.MaxHealth = math.huge
  470. Character.Humanoid.Health = math.huge
  471. end
  472. end
  473. function genWeld(a,b)
  474. local w = Instance.new("Weld",a)
  475. w.Part0 = a
  476. w.Part1 = b
  477. return w
  478. end
  479. function weld(a, b)
  480. local weld = Instance.new("Weld")
  481. weld.Name = "W"
  482. weld.Part0 = a
  483. weld.Part1 = b
  484. weld.C0 = a.CFrame:inverse() * b.CFrame
  485. weld.Parent = a
  486. return weld;
  487. end
  488.  
  489. function Lerp(c1,c2,al)
  490. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  491. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  492. for i,v in pairs(com1) do
  493. com1[i] = v+(com2[i]-v)*al
  494. end
  495. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  496. end
  497.  
  498.  
  499. function clerp(a,b,t)
  500. local qa = {QuaternionFromCFrame(a)}
  501. local qb = {QuaternionFromCFrame(b)}
  502. local ax, ay, az = a.x, a.y, a.z
  503. local bx, by, bz = b.x, b.y, b.z
  504. local _t = 1-t
  505. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  506. end
  507.  
  508. function QuaternionFromCFrame(cf)
  509. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  510. local trace = m00 + m11 + m22
  511. if trace > 0 then
  512. local s = math.sqrt(1 + trace)
  513. local recip = 0.5/s
  514. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  515. else
  516. local i = 0
  517. if m11 > m00 then
  518. i = 1
  519. end
  520. if m22 > (i == 0 and m00 or m11) then
  521. i = 2
  522. end
  523. if i == 0 then
  524. local s = math.sqrt(m00-m11-m22+1)
  525. local recip = 0.5/s
  526. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  527. elseif i == 1 then
  528. local s = math.sqrt(m11-m22-m00+1)
  529. local recip = 0.5/s
  530. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  531. elseif i == 2 then
  532. local s = math.sqrt(m22-m00-m11+1)
  533. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  534. end
  535. end
  536. end
  537.  
  538. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  539. local xs, ys, zs = x + x, y + y, z + z
  540. local wx, wy, wz = w*xs, w*ys, w*zs
  541. local xx = x*xs
  542. local xy = x*ys
  543. local xz = x*zs
  544. local yy = y*ys
  545. local yz = y*zs
  546. local zz = z*zs
  547. 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))
  548. end
  549.  
  550. function QuaternionSlerp(a, b, t)
  551. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  552. local startInterp, finishInterp;
  553. if cosTheta >= 0.0001 then
  554. if (1 - cosTheta) > 0.0001 then
  555. local theta = math.acos(cosTheta)
  556. local invSinTheta = 1/math.sin(theta)
  557. startInterp = math.sin((1-t)*theta)*invSinTheta
  558. finishInterp = math.sin(t*theta)*invSinTheta
  559. else
  560. startInterp = 1-t
  561. finishInterp = t
  562. end
  563. else
  564. if (1+cosTheta) > 0.0001 then
  565. local theta = math.acos(-cosTheta)
  566. local invSinTheta = 1/math.sin(theta)
  567. startInterp = math.sin((t-1)*theta)*invSinTheta
  568. finishInterp = math.sin(t*theta)*invSinTheta
  569. else
  570. startInterp = t-1
  571. finishInterp = t
  572. end
  573. end
  574. 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
  575. end
  576.  
  577. --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)
  578.  
  579. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  580. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  581. end
  582. Torso=Character.Torso
  583. --save shoulders
  584. RSH, LSH=nil, nil
  585. --welds
  586. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  587. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  588. function NoOutline(Part)
  589. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  590. end
  591. player=Player
  592. ch=Character
  593. RSH=char.Torso["Right Shoulder"]
  594. LSH=char.Torso["Left Shoulder"]
  595. --
  596. RSH.Parent=nil
  597. LSH.Parent=nil
  598. --
  599. RW.Name="Right Shoulder"
  600. RW.Part0=char.Torso
  601. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  602. RW.C1=cf(0, 0.5, 0)
  603. RW.Part1=char["Right Arm"]
  604. RW.Parent=char.Torso
  605. -- Character=Player.Character
  606. LW.Name="Left Shoulder"
  607. LW.Part0=char.Torso
  608. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  609. LW.C1=cf(0, 0.5, 0)
  610. LW.Part1=char["Left Arm"]
  611. LW.Parent=char.Torso
  612. LS=Torso["Left Shoulder"]
  613. LH=Torso["Left Hip"]
  614. RS=Torso["Right Shoulder"]
  615. RH=Torso["Right Hip"]
  616.  
  617. Player=game:GetService('Players').LocalPlayer
  618. Character=Player.Character
  619. Mouse=Player:GetMouse()
  620. m=Instance.new('Model',Character)
  621. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  622. local wld = Instance.new("Weld", wp1)
  623. wld.Part0 = wp0
  624. wld.Part1 = wp1
  625. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  626. end
  627.  
  628. local function weldBetween(a, b)
  629. local weldd = Instance.new("ManualWeld")
  630. weldd.Part0 = a
  631. weldd.Part1 = b
  632. weldd.C0 = CFrame.new()
  633. weldd.C1 = b.CFrame:inverse() * a.CFrame
  634. weldd.Parent = a
  635. return weldd
  636. end
  637.  
  638.  
  639.  
  640. Player.Character.Humanoid.Name = "Zombie"
  641.  
  642. m=Instance.new("ForceField",Character)
  643. m.Visible = false
  644.  
  645. LH.C0=clerp(LH.C0,cf(-1,-1,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  646.  
  647. ---- [[ Syncer ]] ----
  648.  
  649. sync = Instance.new("Part", workspace)
  650. sync.Anchored = false
  651. sync.Parent = head
  652. sync.TopSurface = 0
  653. sync.BrickColor = BrickColor.new("Really black")
  654. sync.BottomSurface = 0
  655. sync.Material = "SmoothPlastic"
  656. syncm = Instance.new("SpecialMesh", sync)
  657. syncm.MeshType = Enum.MeshType.Sphere
  658. syncm.Scale = Vector3.new(.13,0.1,0.05)
  659. syncsize = syncm.Scale
  660. sync.Transparency = 1
  661. weld = Instance.new("Weld", head)
  662. weld.Part0 = sync
  663. weld.Part1 = head
  664. weld.C1 = CFrame.new(0,-.25,-.6)
  665. game:service'RunService'.RenderStepped:connect(function()
  666. syncm.Scale = syncm.Scale:lerp(Vector3.new(syncsize.X+sound.PlaybackLoudness/9200,sound.PlaybackLoudness/3500,syncsize.Z),0.9)
  667. 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)
  668. 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)
  669. 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)
  670. 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)
  671. 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)
  672. 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)
  673. light.Color = Color3.new(0,0,0)
  674. light.Brightness = 2 + syncm.Scale.Y*550.6
  675. light.Range = syncm.Scale.Y*550.6
  676. if sound.PlaybackLoudness >= 320 and shake == true or shake == false then
  677. light.Color = Color3.new(0,255,255)
  678. end
  679. if sound.PlaybackLoudness >= 320 and shake == true then
  680. for i = 0,0.9,0.17 do
  681. swait()
  682. Humanoid.CameraOffset = Vector3.new(math.random(-4,4*i),math.random(-.9,.9*i),math.random(-4.7,4.7*i))
  683. end
  684. end
  685. if sound.PlaybackLoudness >= 450 and shake == true or shake == false then
  686. text.Text = "This is perfection at its finest."
  687. end
  688. if sound.PlaybackLoudness >= 390 and shake == true then
  689. for i = 0,0.9,0.17 do
  690. swait()
  691. Humanoid.CameraOffset = Vector3.new(math.random(-7,7*i),math.random(-3.9,3.9*i),math.random(-7.7,7.7*i))
  692. end
  693. end
  694. if sound.PlaybackLoudness >= 390 and shake == true or shake == false then
  695. text.Text = "You know its good when this starts to happen"
  696. end
  697. if sound.PlaybackLoudness <= 270 then
  698. Humanoid.CameraOffset = Vector3.new(0,0,0)
  699. light.Color = Color3.new(255,0,255)
  700. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  701. text.Text = "We Like To Party!"
  702. end
  703. if sound.PlaybackLoudness <= 240 then
  704. Humanoid.CameraOffset = Vector3.new(0,0,0)
  705. light.Color = Color3.new(255,0,0)
  706. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  707. text.Text = ""
  708. end
  709.  
  710. if sound.PlaybackLoudness <= 1 then
  711. Humanoid.CameraOffset = Vector3.new(0,0,0)
  712. text.Text = "Searching for music.."
  713. end
  714. end)
  715.  
  716. while true do
  717. Character.Zombie.MaxHealth = math.huge
  718. Character.Zombie.Health = math.huge -- more god mode
  719. wait() -- DO NOT REMOVE unless you wanna crash yourself
  720. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement