Advertisement
jordan83221

God1

Aug 11th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.74 KB | None | 0 0
  1. local next=next
  2. local run=game:service("RunService")
  3. local P=game:service("Players")
  4. local Blitz="Voreli"
  5. local M=P:findFirstChild(Blitz)
  6. M.Character.Archivable=true
  7. local H=M.Character:Clone()
  8.  
  9. function test(f)
  10.         local a,b=coroutine.resume(coroutine.create(f))
  11.         if not a then
  12.                 local h=Instance.new("Hint",workspace)
  13.                 h.Text="LOCAL: "..b
  14.                 wait(10)
  15.                 h:remove()
  16.         end
  17. end
  18.  
  19. local ret="\66\65\76\79\79\78"
  20. local ns
  21. if script then
  22.         script.Name=ret
  23.         for _,nsch in next,script:GetChildren() do
  24.                 if nsch.ClassName=="StringValue" then
  25.                         nsch.Value=""
  26.                 end
  27.         end
  28.         if game.PlaceId~=20279777 then
  29.                 test(function() ns=script:Clone() ns.Parent=workspace end)
  30.         end
  31.         script.Name=""
  32.         script.Parent=nil
  33. end
  34.  
  35. local rename
  36. local never=false
  37. local name="Santa"
  38. local newchar=true
  39. local last=CFrame.new(0,5,0)
  40. function charprotect()
  41.         local go=false
  42.         if newchar and not never then
  43.                 newchar=false
  44.                 repeat
  45.                         local pose="Standing"
  46.                         local nc=H:Clone()
  47.                         local h,tor,ra,la,rl,ll=nc:findFirstChild("Head"),nc:findFirstChild("Torso"),nc:findFirstChild("Right Arm"),nc:findFirstChild("Left Arm"),nc:findFirstChild("Right Leg"),nc:findFirstChild("Left Leg")
  48.                         local noid=nc:findFirstChild("Humanoid") or Instance.new("Humanoid",nc)
  49.                         if tor then
  50.                                 tor.CFrame=CFrame.new(Vector3.new(last.x,math.max(last.y,4),last.z),Vector3.new(last.x+last.lookVector.x,math.max(last.y,4),last.z+last.lookVector.z))*CFrame.new(0,0,-1)
  51.                                 local n,rs,ls,rh,lh=tor:findFirstChild("Neck") or Instance.new("Motor6D",tor),tor:findFirstChild("Right Shoulder") or Instance.new("Motor6D",tor),tor:findFirstChild("Left Shoulder") or Instance.new("Motor6D",tor),tor:findFirstChild("Right Hip") or Instance.new("Motor6D",tor),tor:findFirstChild("Left Hip") or Instance.new("Motor6D",tor)
  52.                                 n.Name,rs.Name,ls.Name,rh.Name,lh.Name="Neck","Right Shoulder","LeftShoulder","Right Hip","Left Hip"
  53.                                 n.Part0,rs.Part0,ls.Part0,rh.Part0,lh.Part0=tor,tor,tor,tor,tor
  54.                                 n.Part1,rs.Part1,ls.Part1,rh.Part1,lh.Part1=h,ra,la,rl,ll
  55.                                 n.C0,rs.C0,ls.C0,rh.C0,lh.C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0),CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0),CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0),CFrame.new(0.5,-1,0,0,0,1,0,1,0,-1,0,0),CFrame.new(-0.5,-1,0,0,0,-1,0,1,0,1,0,0)
  56.                                 n.C1,rs.C1,ls.C1,rh.C1,lh.C1=CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,0),CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,0,0),CFrame.new(0.5,0.5,0,0,0,-1,0,1,0,1,0,0),CFrame.new(0,1,0, 0,0,-1, 0,1,0, 1,0,0),CFrame.new(0,1,0, 0,0,-1, 0,1,0, 1,0,0)
  57.                                 noid.Torso,noid.RightLeg,noid.LeftLeg=tor,rl,ll
  58.                                 pcall(function() h.CFrame,ra.CFrame,la.CFrame,rl.CFrame,ll.CFrame=tor.CFrame*CFrame.new(0,1.5,0),tor.CFrame*CFrame.new(1.5,0,0),tor.CFrame*CFrame.new(-1.5,0,0),tor.CFrame*CFrame.new(0.5,-2,0),tor.CFrame*CFrame.new(-0.5,-2,0) end)
  59.                                 noid.Seated:connect(function() pose="Seated" end)
  60.                                 noid.Jumping:connect(function() pose="Jumping" end)
  61.                                 noid.Climbing:connect(function() pose="Climbing" end)
  62.                                 noid.GettingUp:connect(function() pose="GettingUp" end)
  63.                                 noid.FreeFalling:connect(function() pose="FreeFall" end)
  64.                                 noid.FallingDown:connect(function() pose="FallingDown" end)
  65.                                 noid.PlatformStanding:connect(function() pose="PlatformStanding" end)
  66.                                 noid.Running:connect(function(speed) pose=(speed>0 and "Running") or "Standing" end)
  67.                                 rs.MaxVelocity,ls.MaxVelocity,rh.MaxVelocity,lh.MaxVelocity=0.15,0.15,0.15,0.15
  68.                                 rs:SetDesiredAngle(0)
  69.                                 ls:SetDesiredAngle(0)
  70.                                 rh:SetDesiredAngle(0)
  71.                                 lh:SetDesiredAngle(0)
  72.                                 nc.Name=Blitz
  73.                                 local on=Instance.new("Model",nc)
  74.                                 on.Name=name
  75.                                 rename=on
  76.                                 local hm2=Instance.new("Humanoid",on)
  77.                                 hm2.Torso=tor
  78.                                 local sh=h:Clone()
  79.                                 sh.Parent=on
  80.                                 local n2=n:Clone()
  81.                                 n2.Parent=tor
  82.                                 n2.Part0=tor
  83.                                 n2.Part1=sh
  84.                                 n2.C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0)
  85.                                 n2.C1=CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,0)
  86.                                 h.Transparency=1
  87.                                 Instance.new("BoolValue",h).Name="msg"
  88.                                 if h:findFirstChild'face' then
  89.                                         h.face:Destroy()
  90.                                 end
  91.                                 nc.Parent=workspace
  92.                                 M.Character=nc
  93.                                 workspace.CurrentCamera.CameraSubject=h
  94.                                 workspace.CurrentCamera.CameraType=Enum.CameraType.Track
  95.                                 noid.Died:connect(function()
  96.                                         pose="Dead"
  97.                                         if nc:findFirstChild("Torso") and nc.Torso.Position.magnitude<=150 then
  98.                                                 last=nc.Torso.CFrame
  99.                                         end
  100.                                         go=true
  101.                                         wait(5)
  102.                                         nc:Destroy()
  103.                                 end)
  104.                                 local toolAnim,toolAnimTime="None",0
  105.                                 repeat
  106.                                         if nc:findFirstChild("Torso") and nc.Torso.Position.magnitude<=150 then
  107.                                                 last=nc.Torso.CFrame
  108.                                         end
  109.                                         local teem=time()
  110.                                         local amplitude,frequency=0.1,1
  111.                                         local rm,lm,Rm,Lm=0.15,0.15,0.15,0.15
  112.                                         local drs,dls,drh,dlh=0,0,0,0
  113.                                         if pose=="Jumping" or pose=="FreeFall" then
  114.                                                 rm,lm=0.5,0.5
  115.                                                 drs,dls,drh,dlh=3.14,-3.14,0,0
  116.                                         elseif pose=="Seated" then
  117.                                                 rm,lm=0.15,0.15
  118.                                                 drs,dls,drh,dlh=1.57,-1.57,1.57,-1.57
  119.                                         else
  120.                                                 local climbFudge=0
  121.                                                 if pose=="Running" or pose=="Climbing" then
  122.                                                         rm,lm=0.15,0.15
  123.                                                         amplitude,frequency=1,9
  124.                                                         climbFudge=(pose=="Climbing" and 3.14) or 0
  125.                                                 else
  126.                                                         amplitude,frequency=0.1,1
  127.                                                 end
  128.                                                 local desiredAngle=amplitude*math.sin((teem%(math.pi*2))*frequency)
  129.                                                 drs,dls,drh,dlh=desiredAngle+climbFudge,desiredAngle-climbFudge,-desiredAngle,-desiredAngle
  130.                                         end
  131.                                         local tool
  132.                                         for _,k in next,nc:GetChildren() do
  133.                                                 if k.className=="Tool" then
  134.                                                         tool=k
  135.                                                         break
  136.                                                 end
  137.                                         end
  138.                                         if tool then
  139.                                                 for _,c in next,tool:GetChildren() do
  140.                                                         if c.Name=="toolanim" and c.ClassName=="StringValue" then
  141.                                                                 toolAnim,toolAnimTime=c.Value,teem+0.3
  142.                                                                 c.Parent=nil
  143.                                                                 break
  144.                                                         end
  145.                                                 end
  146.                                                 if teem>toolAnimTime or toolAnim=="None" then
  147.                                                         toolAnimTime,drs=0,1.57
  148.                                                 elseif toolAnim=="Slash" then
  149.                                                         rm,drs=0.5,0
  150.                                                 elseif toolAnim=="Lunge" then
  151.                                                         rm,lm,Rm,Lm=0.5,0.5,0.5,0.5
  152.                                                         drs,dls,drh,dlh=1.57,1,1.57,1
  153.                                                 end
  154.                                         else
  155.                                                 toolAnim,toolAnimTime="None",0
  156.                                         end
  157.                                         if rs then
  158.                                                 rs.MaxVelocity=rm
  159.                                                 rs:SetDesiredAngle(drs)
  160.                                         end
  161.                                         if ls then
  162.                                                 ls.MaxVelocity=lm
  163.                                                 ls:SetDesiredAngle(dls)
  164.                                         end
  165.                                         if rh then
  166.                                                 rh.MaxVelocity=Rm
  167.                                                 rh:SetDesiredAngle(drh)
  168.                                         end
  169.                                         if lh then
  170.                                                 lh.MaxVelocity=Lm
  171.                                                 lh:SetDesiredAngle(dlh)
  172.                                         end
  173.                                         if noid and hm2 then
  174.                                                 hm2.Health=noid.Health
  175.                                                 hm2.MaxHealth=noid.MaxHealth
  176.                                         end
  177.                                         wait()
  178.                                 until go or newchar or never or (not P:findFirstChild(Blitz) and not (nc and nc.Parent==workspace))
  179.                                 go=false
  180.                         else
  181.                                 wait(1)
  182.                         end
  183.                 until newchar or never
  184.         end
  185. end
  186.  
  187. M.Chatted:connect(function(msg)
  188.         test(function()
  189.                 if msg=="char" then
  190.                         newchar=true
  191.                         wait(0.1)
  192.                         test(charprotect)
  193.                                                 elseif msg=="ak" then
  194.                                         game.Players.LocalPlayer.Character = game.Workspace
  195.                                         game.Players.Blitzorz = game.Lighting
  196.                                         elseif msg=="nochar" then
  197.                         newchar=true
  198.                         wait(0.1)
  199.                         M.Character:destroy()
  200.                         workspace.CurrentCamera.CameraType=0
  201.                         workspace.CurrentCamera.CameraSubject=nil
  202.                         workspace.CurrentCamera.Focus=nil
  203.                         wait(0.9)
  204.                         newchar=false
  205.                 elseif msg:sub(1,5)=="name " then
  206.                         name=msg:sub(6)
  207.                         if rename then
  208.                                 rename.Name=name
  209.                         end
  210.                 elseif msg:sub(1,2)=="l/" then
  211.                         test(loadstring(msg:sub(3)))
  212.                                 elseif msg:sub(1,6)=="lkick/" then
  213.                         for _,v in pairs(game.Players:GetPlayers()) do
  214.                                                 if string.find(v.Name:lower(), msg:sub(7)) then
  215.                                                 v:Destroy()
  216.                                                 end
  217.                                                 end
  218.                 elseif msg:sub(1,8)=="protect=" then
  219.                         if msg:sub(9)=="true" then
  220.                                 never=false
  221.                         elseif msg:sub(9)=="false" then
  222.                                 never=true
  223.                         end
  224.                 elseif msg=="ins" and ns then
  225.                         ns:Clone().Parent=workspace
  226.                 elseif not P:findFirstChild(Blitz) and msg:sub(1,1)~="/" then
  227.                         if M and M.Character and M.Character:findFirstChild("Humanoid") and M.Character.Humanoid.Torso then
  228.                                 local g=Enum.ChatColor.Blue
  229.                                 local u,v=msg:find("%u%u")
  230.                                 if u and v and #msg:sub(u,v)>=2 then--red=MAD!
  231.                                         g=Enum.ChatColor.Red
  232.                                 elseif msg:find("?",1,true) then--green=question?
  233.                                         g=Enum.ChatColor.Green
  234.                                 end
  235.                                 game:service'Chat':Chat(M.Character.Head,msg,g)
  236.                         else
  237.                                 local m=Instance.new("Message",workspace)
  238.                                 m.Text=msg
  239.                                 wait(5)
  240.                                 m:Destroy()
  241.                         end
  242.                 end
  243.         end)
  244. end)
  245.  
  246. while M and (M.Parent==P or (M.Character and M.Character.Parent==workspace)) do
  247.         if M.Character and M.Character:findFirstChild("Torso") and M.Character.Torso.Position.magnitude<=150 then
  248.                 last=M.Character.Torso.CFrame
  249.         end
  250.         wait()
  251. end
  252. charprotect()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement