Advertisement
wamandnj

Untitled

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