Prephy

Void

May 11th, 2021 (edited)
808
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 35.08 KB | None | 0 0
  1. wait()
  2. player = owner
  3. Character=player.Character
  4. local run = game:GetService("RunService")
  5. local tweenservice = game:GetService("TweenService")
  6. local debris = game:GetService("Debris")
  7. local remname='>>'..player.Name..'<<'
  8. local timeposition=0
  9. timepos=false
  10. music=nil
  11. local movesmoothing=.2
  12. local valuename='>>>'..player.Name..'<<<'
  13.  
  14. position = Character:FindFirstChildOfClass('Part')
  15. if position then
  16.  
  17.  
  18.  
  19.     script.Parent=nil
  20.     head = Instance.new("Part",workspace) head.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  21.     head.Size=Vector3.new(2,1,1)  head.Anchored=true head.Color=Color3.new(0, 0, 0) head.Material=Enum.Material.Neon  head.CanTouch=false  head.Transparency=0 head.Reflectance=-30
  22.     mesh = Instance.new("SpecialMesh",head) mesh.MeshId="rbxassetid://1104623876" mesh.Scale = Vector3.new(1.25, 1.25, 1.25) mesh.Name=string.char(math.random(1,150))
  23.  
  24.     local rootpart = Instance.new("NegateOperation") rootpart.Anchored=true rootpart.Position=position.Position rootpart.Size=Vector3.new(0,0,0) rootpart.Locked=true
  25.     rootpart.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  26.     local torsoname = string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  27.     local torso = Instance.new("Part") torso.CFrame = rootpart.CFrame torso.Material='Neon' torso.Color=Color3.new(0, 0, 0) torso.Transparency=0 torso.Size=Vector3.new(2,2,1) torso.Anchored=true torso.Name=torsoname torso.Parent=workspace torso.Reflectance=-30
  28.     local rightarm = Instance.new("Part") rightarm.Material=Enum.Material.Neon rightarm.Size=Vector3.new(1, 2, 1) rightarm.Color=Color3.new() rightarm.Reflectance=-30 rightarm.CFrame=torso.CFrame rightarm.Parent=workspace rightarm.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  29.     local leftarm = Instance.new("Part") leftarm.Material=Enum.Material.Neon leftarm.Size=Vector3.new(1, 2, 1) leftarm.Color=Color3.new()  leftarm.Reflectance=-30 leftarm.CFrame=torso.CFrame leftarm.Parent=workspace leftarm.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  30.     local leftleg = Instance.new("Part") leftleg.Material=Enum.Material.Neon leftleg.Size=Vector3.new(1, 2, 1) leftleg.Color=Color3.new()  leftleg.Reflectance=-30 leftleg.CFrame=torso.CFrame leftleg.Parent=workspace leftleg.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  31.     local rightleg = Instance.new("Part") rightleg.Material=Enum.Material.Neon rightleg.Size=Vector3.new(1, 2, 1) rightleg.Color=Color3.new()  rightleg.Reflectance=-30 rightleg.CFrame=torso.CFrame rightleg.Parent=workspace rightleg.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  32.     local eye = Instance.new('Part',workspace) eye.Size=Vector3.new(0.074, 0.594, 0.289) eye.Material='Neon' eye.Anchored=true eye.Name= string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  33.     eye.CanTouch=false eye.Locked=true
  34.     local eyemesh = Instance.new("SpecialMesh",eye) eyemesh.MeshType=Enum.MeshType.Sphere eye.CanCollide=false
  35.     local eye1 = Instance.new('Part',workspace) eye1.Size=Vector3.new(0.074, 0.594, 0.289) eye1.Material='Neon' eye1.Anchored=true eye1.Name= string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  36.     eye1.CanTouch=false eye1.Locked=true
  37.     local eyemesh1 = Instance.new("SpecialMesh",eye1) eyemesh1.MeshType=Enum.MeshType.Sphere eye1.CanCollide=false
  38.     local parttype = Enum.PartType:GetEnumItems()
  39.     local brick = {Color3.new(),Color3.new(0.792157, 0.792157, 0.792157),Color3.new(0.45098, 0.45098, 0.45098),Color3.new(1, 1, 1)}
  40.  
  41.  
  42.  
  43.  
  44.     function eat(g)
  45.         if g then
  46.             local ccc = g.Parent:FindFirstChildOfClass('Humanoid')
  47.             if ccc then
  48.                 local mo = ccc.Parent
  49.  
  50.                 mo:BreakJoints()
  51.                 local pl = game.Players:FindFirstChild(mo.Name)
  52.                 if pl then
  53. --[[
  54.                     for i,h in pairs(pl:GetDescendants()) do
  55.                         if h:IsA("RemoteEvent") then
  56.                             h:Destroy()
  57.                         end
  58.                     end
  59. ]]
  60.                     for i,j in pairs(pl:GetDescendants()) do
  61.                         if j:IsA("LocalScript") then
  62.                             j.Disabled=true
  63.                         end
  64.                     end
  65.                     for i,k in pairs(pl:GetDescendants()) do
  66.                         if k:IsA("Script") then
  67.                             k.Disabled=true
  68.                         end
  69.                     end
  70.                 end
  71.  
  72.  
  73.                 ccc:Destroy()
  74.                 for i,v in pairs(g.Parent:GetDescendants()) do
  75.                     if v:IsA("BasePart") then
  76.                         v.Parent=torso
  77.  
  78.  
  79.                         v.Material='Neon'
  80.                         v.Anchored=false
  81.  
  82.                         v.Color = Color3.fromRGB(0, 0, 0)
  83.                         local info = TweenInfo.new(1.5)
  84.                         local goal = {}
  85.                         goal.Transparency = 1
  86.                         local t = tweenservice:Create(v,info,goal)
  87.                         t:Play()
  88.  
  89.  
  90.                         local bp = Instance.new("BodyVelocity",v)
  91.                         bp.MaxForce = Vector3.new(9e9,0,0)
  92.  
  93.                         t.Completed:Connect(function()
  94.  
  95.                             local info2 = TweenInfo.new(1.5)
  96.                             local goal2 = {}
  97.                             goal2.Size = Vector3.new(4,4,4)
  98.                             goal2.Transparency = 1
  99.                             local t2 = tweenservice:Create(v,info2,goal2)
  100.                             t2:Play()
  101.                             v:Destroy()
  102.                         end)
  103.                     end
  104.  
  105.  
  106.  
  107.                 end
  108.             else
  109.  
  110.  
  111.                 g.Parent=torso  g.Material='Neon'   g.Color = Color3.fromRGB(0, 0, 0)
  112.                 local info = TweenInfo.new(1.5)
  113.                 local goal = {}
  114.                 goal.Transparency = 1
  115.                 local t = tweenservice:Create(g,info,goal)
  116.                 t:Play()
  117.  
  118.                 local bp = Instance.new("BodyVelocity",g)
  119.                 bp.MaxForce = Vector3.new(9e9,9e9,9e9)
  120.  
  121.                 t.Completed:Connect(function()
  122.                     debris:AddItem(g,5)
  123.                     local info2 = TweenInfo.new(1.5)
  124.  
  125.                     local goal2 = {}
  126.                     goal2.Size = Vector3.new(.1,.1,.1)
  127.                     goal2.Transparency = .8
  128.  
  129.                     local t2 = tweenservice:Create(g,info2,goal2)
  130.                     t2:Play()
  131.                     g:Destroy()
  132.                 end)
  133.  
  134.  
  135.  
  136.             end
  137.         end
  138.     end
  139.  
  140.  
  141.  
  142.  
  143.  
  144.     music = Instance.new("Sound",torso) music.SoundId='rbxassetid://645716375' music.PlaybackSpeed=.98 music.Volume=4 music.Looped=true music:Play() music.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  145.     Character.Parent=nil
  146.     local remotepart = Instance.new("Folder",workspace) remotepart.Name=remname
  147.     position=rootpart
  148.  
  149.  
  150.  
  151.     function refit_Sound()
  152.         music = Instance.new("Sound",torso) music.PlaybackSpeed=.98  music.SoundId='rbxassetid://645716375'  music.TimePosition=timeposition music.Volume=4 music.Looped=true music:Play() music.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  153.     end
  154.  
  155.     function refit_rempart()
  156.  
  157.         local remotepart = Instance.new("Folder",workspace) remotepart.Name=remname
  158.  
  159.     end
  160.  
  161.     function refit_rootpart()
  162.         rootpart = Instance.new("NegateOperation") rootpart.Anchored=true rootpart.CFrame=position.CFrame rootpart.Size=Vector3.new(0,0,0) rootpart.Locked=true
  163.         rootpart.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  164.  
  165.     end
  166.  
  167.     function refit_torso()
  168.         local torsoname = string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  169.         torso = Instance.new("Part") torso.CFrame = position.CFrame torso.Material='Neon' torso.Color=Color3.new(0, 0, 0) torso.Transparency=0 torso.Size=Vector3.new(2,2,1) torso.Anchored=true torso.Name=torsoname torso.Parent=workspace torso.Reflectance=-30
  170.         timepos=true
  171.         music = Instance.new("Sound",torso) music.PlaybackSpeed=.98 music.SoundId='rbxassetid://645716375' music.Volume=4 music.Looped=true music:Play()  music.TimePosition=timeposition music.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  172.         timepos=false
  173.  
  174.     end
  175.  
  176.     function refit_Head()
  177.         head = Instance.new("Part") head.CFrame=torso.CFrame head.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150)) head.Parent=workspace
  178.         head.Size=Vector3.new(2,1,1) head.Transparency=0 head.Reflectance=-30  head.Anchored=true head.Color=Color3.new(0, 0, 0) head.Material=Enum.Material.Neon head.CanTouch=false
  179.         mesh = Instance.new("SpecialMesh",head) mesh.MeshId="rbxassetid://1104623876" mesh.Scale = Vector3.new(1.25, 1.25, 1.25) mesh.Name="Mesh"
  180.  
  181.     end
  182.  
  183.     function refit_eyemesh()
  184.         eyemesh = Instance.new("SpecialMesh",eye) eyemesh.MeshType=Enum.MeshType.Sphere eye.CanCollide=false
  185.     end
  186.  
  187.     function refit_eyemesh1()
  188.         eyemesh1 = Instance.new("SpecialMesh",eye1) eyemesh1.MeshType=Enum.MeshType.Sphere eye1.CanCollide=false
  189.     end
  190.  
  191.     function refit_eye()
  192.         eye = Instance.new('Part',workspace) eye.Size=Vector3.new(0.074, 0.594, 0.289) eye.Material='Neon' eye.Anchored=true eye.Name= string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  193.         eye.CanTouch=false eye.Locked=true
  194.         eyemesh = Instance.new("SpecialMesh",eye) eyemesh.MeshType=Enum.MeshType.Sphere eye.CanCollide=false
  195.     end
  196.  
  197.     function refit_eye1()
  198.         eye1 = Instance.new('Part',workspace) eye1.Size=Vector3.new(0.074, 0.594, 0.289) eye1.Material='Neon' eye1.Anchored=true eye1.Name= string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  199.         eye1.CanTouch=false eye1.Locked=true
  200.         eyemesh1 = Instance.new("SpecialMesh",eye1) eyemesh1.MeshType=Enum.MeshType.Sphere eye1.CanCollide=false
  201.     end
  202.  
  203.     function refit_right_arm()
  204.         rightarm = Instance.new("Part") rightarm.Material=Enum.Material.Neon rightarm.Size=Vector3.new(1, 2, 1) rightarm.Color=Color3.new() rightarm.Reflectance=-30 rightarm.CFrame=torso.CFrame rightarm.Parent=workspace rightarm.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  205.     end
  206.  
  207.     function refit_left_arm()
  208.         leftarm = Instance.new("Part") leftarm.Material=Enum.Material.Neon leftarm.Size=Vector3.new(1, 2, 1) leftarm.Color=Color3.new()  leftarm.Reflectance=-30 leftarm.CFrame=torso.CFrame leftarm.Parent=workspace leftarm.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  209.     end
  210.  
  211.     function refit_left_leg()
  212.         leftleg = Instance.new("Part") leftleg.Material=Enum.Material.Neon leftleg.Size=Vector3.new(1, 2, 1) leftleg.Color=Color3.new()  leftleg.Reflectance=-30 leftleg.CFrame=torso.CFrame leftleg.Parent=workspace leftleg.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  213.     end
  214.  
  215.     function refit_right_leg()
  216.         rightleg = Instance.new("Part") rightleg.Material=Enum.Material.Neon rightleg.Size=Vector3.new(1, 2, 1) rightleg.Color=Color3.new()  rightleg.Reflectance=-30 rightleg.CFrame=torso.CFrame rightleg.Parent=workspace rightleg.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  217.     end
  218.  
  219.  
  220.     function refit_mesh()
  221.         mesh = Instance.new("SpecialMesh",head) mesh.MeshId="rbxassetid://1104623876" mesh.Scale = Vector3.new(1.25, 1.25, 1.25) mesh.Name="Mesh"
  222.  
  223.     end
  224.  
  225.     game.DescendantRemoving:Connect(function(Part)
  226.         if Part==music then
  227.             timepos=true
  228.             refit_Sound()
  229.             timepos=false
  230.         end
  231.     end)
  232.  
  233.     game.DescendantRemoving:Connect(function(Part)
  234.         if Part==torso then
  235.             refit_torso()
  236.         end
  237.     end)
  238.  
  239.     game.DescendantRemoving:Connect(function(Part)
  240.         if Part==leftleg then
  241.             refit_left_leg()   
  242.         end
  243.     end)
  244.  
  245.     game.DescendantRemoving:Connect(function(Part)
  246.         if Part==rightleg then
  247.             refit_right_leg()  
  248.         end
  249.     end)
  250.  
  251.  
  252.     game.DescendantRemoving:Connect(function(Part)
  253.         if Part==rootpart then
  254.             refit_rootpart()
  255.         end
  256.     end)
  257.     game.DescendantRemoving:Connect(function(Part)
  258.         if Part==head then
  259.             refit_Head()
  260.         end
  261.     end)
  262.  
  263.     game.DescendantRemoving:Connect(function(Part)
  264.         if Part==mesh then
  265.             refit_mesh()
  266.         end
  267.     end)
  268.  
  269.     game.DescendantRemoving:Connect(function(Part)
  270.         if Part==rightarm then
  271.             refit_right_arm()
  272.         end
  273.     end)
  274.  
  275.     game.DescendantRemoving:Connect(function(Part)
  276.         if Part==leftarm then
  277.             refit_left_arm()
  278.         end
  279.     end)
  280.  
  281.     game.DescendantRemoving:Connect(function(Part)
  282.         if Part==eye then
  283.             refit_eye()
  284.         end
  285.     end)
  286.  
  287.     game.DescendantRemoving:Connect(function(Part)
  288.         if Part==eye1 then
  289.             refit_eye1()
  290.         end
  291.     end)
  292.  
  293.     game.DescendantRemoving:Connect(function(Part)
  294.         if Part==eyemesh then
  295.             refit_eyemesh()
  296.         end
  297.     end)
  298.  
  299.     game.DescendantRemoving:Connect(function(Part)
  300.         if Part==eyemesh1 then
  301.             refit_eyemesh1()
  302.         end
  303.     end)
  304.  
  305.  
  306.     function moveremote(remop)
  307.         local remote = Instance.new("RemoteEvent",remop) remote.Name='direction'
  308.     end
  309.  
  310.     game.DescendantAdded:Connect(function(mde)
  311.         if mde==Character then
  312.             Character.Parent=nil
  313.         end
  314.     end)
  315.  
  316.     local cama=nil
  317.     function cameraremote(remop)
  318.         cama = Instance.new("RemoteEvent",remop) cama.Name='camera'
  319.     end
  320.  
  321.  
  322.  
  323.     run.Heartbeat:Connect(function()
  324.         if timepos==false then
  325.             timeposition=music.TimePosition
  326.         end
  327.         position=torso
  328.     end)
  329.  
  330.  
  331.     function locals()
  332.  
  333.         NLS([[
  334.    
  335.     script.Disabled=true
  336. player = game:GetService("Players").LocalPlayer
  337. mouse=player:GetMouse()
  338. run = game:GetService("RunService")
  339. playername= '>>'..player.Name..'<<'
  340. camera = workspace.CurrentCamera
  341. local up=false
  342. local down=false
  343. local Left=false
  344. local Right=false
  345. local forward=false
  346. local backward=false
  347. local shooting=false
  348. Speed=4
  349. local Cameraspeed=1
  350. local valuename='>>>'..player.Name..'<<<'
  351.  
  352.  
  353. mouse.KeyDown:Connect(function(kk)
  354.     kk:lower()
  355.     if kk=="w" then
  356.         forward=true
  357.     end
  358. end)
  359.  
  360. mouse.KeyUp:Connect(function(kk)
  361.     kk:lower()
  362.     if kk=="w" then
  363.         forward=false
  364.     end
  365. end)
  366.  
  367. mouse.KeyDown:Connect(function(key)
  368.     key:lower()
  369.     if key=='s' then
  370.         backward=true
  371.     end
  372. end)
  373.  
  374. mouse.KeyUp:Connect(function(key)
  375.     key:lower()
  376.     if key=='s' then
  377.         backward=false
  378.     end
  379. end)
  380.  
  381. mouse.KeyDown:Connect(function(key)
  382.     key:lower()
  383.     if key=='a' then
  384.         Left=true
  385.     end
  386. end)
  387.  
  388. mouse.KeyUp:Connect(function(key)
  389.     key:lower()
  390.     if key=='a' then
  391.         Left=false
  392.     end
  393. end)
  394.  
  395. mouse.KeyDown:Connect(function(key)
  396.     key:lower()
  397.     if key=='d' then
  398.         Right=true
  399.     end
  400. end)
  401.  
  402. mouse.KeyUp:Connect(function(key)
  403.     key:lower()
  404.     if key=='d' then
  405.         Right=false
  406.     end
  407. end)
  408.  
  409. mouse.KeyDown:Connect(function(key)
  410.     key:lower()
  411.     if key=='e' then
  412.         up=true
  413.     end
  414. end)
  415.  
  416. mouse.KeyUp:Connect(function(key)
  417.     key:lower()
  418.     if key=='e' then
  419.         up=false
  420.     end
  421. end)
  422.  
  423. mouse.KeyDown:Connect(function(key)
  424.     key:lower()
  425.     if key=='q' then
  426.         down=true
  427.     end
  428. end)
  429.  
  430. mouse.KeyUp:Connect(function(key)
  431.     key:lower()
  432.     if key=='q' then
  433.         down=false
  434.     end
  435. end)
  436.  
  437. mouse.Button1Down:Connect(function(kk)
  438.     shooting=true
  439.  
  440. end)
  441.  
  442. mouse.Button1Up:Connect(function(kk)
  443.     shooting=false
  444.  
  445. end)
  446.  
  447.  
  448. mouse.KeyDown:Connect(function(kk)
  449.     kk:lower()
  450.     if kk=="x" then
  451.         local remotepart = workspace:FindFirstChild(playername)
  452.         if remotepart then
  453.             local rem1 = remotepart:FindFirstChild('1')
  454.             if rem1 then
  455.                 rem1:FireServer('refit')
  456.             end
  457.         end
  458.     end
  459. end)
  460.  
  461. mouse.KeyDown:Connect(function(kk)
  462.     kk:lower()
  463.     if kk=="m" then
  464.         local remotepart = workspace:FindFirstChild(playername)
  465.         if remotepart then
  466.             local rem4 = remotepart:FindFirstChild('4')
  467.             if rem4 then
  468.                 rem4:FireServer('nil')
  469.             end
  470.         end
  471.     end
  472. end)
  473.  
  474.  
  475. mouse.KeyDown:Connect(function(kk)
  476.     kk:lower()
  477.     if kk=="z" then
  478.         local remotepart = workspace:FindFirstChild(playername)
  479.         if remotepart then
  480.             local rem3 = remotepart:FindFirstChild('3')
  481.             if rem3 then
  482.                 rem3:FireServer(mouse.Hit.p)
  483.             end
  484.         end
  485.     end
  486. end)
  487.  
  488. campart = Instance.new("NegateOperation") campart.Anchored=true campart.Size=Vector3.new(0,0,0) campart.CanCollide=false
  489. camera.CameraSubject=campart
  490.  
  491. game.DescendantRemoving:Connect(function(Part)
  492.     if Part==campart then
  493.         camera = workspace.CurrentCamera
  494.         campart = Instance.new("NegateOperation") campart.Anchored=true campart.Size=Vector3.new(0,0,0) campart.CanCollide=false
  495.         camera.CameraSubject=campart
  496.         campart.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  497.     end
  498. end)
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506. local positin = '0,0,0'
  507. found=true
  508. run.RenderStepped:Connect(function()
  509.    
  510.     local remotepart = workspace:FindFirstChild(playername)
  511.     if remotepart then
  512.  
  513.         local value = remotepart:FindFirstChild(valuename)
  514.         if value then
  515.         positin=value.Value
  516.             campart.CFrame= campart.CFrame:Lerp(CFrame.new(value.Value),Cameraspeed)
  517.         end
  518.        
  519.     end
  520.    
  521.    
  522.    
  523. end)
  524. --part.CFrame = CFrame.new(part.Position, camera.CFrame.Position)
  525.  
  526.  
  527. run.RenderStepped:Connect(function()
  528.     --positin=campart.Position
  529.     local cam = workspace.CurrentCamera
  530.     cam.CameraSubject=campart
  531.     local camOrientation = cam.CFrame -cam.CFrame.Position
  532.     local remotepart = workspace:FindFirstChild(playername)
  533.     if remotepart then
  534.         local move = remotepart:FindFirstChild('direction')
  535.         if move then
  536.             if shooting==true then
  537.                 local shootingrem = remotepart:FindFirstChild('2')
  538.                 if shootingrem then
  539.                     shootingrem:FireServer(mouse.Target)
  540.                 end
  541.             end
  542.             if forward==true then
  543.             move:FireServer(CFrame.new(positin)*camOrientation*CFrame.new(0,0,-Speed))
  544.             end
  545.            
  546.             if backward==true then
  547.                 move:FireServer(CFrame.new(positin)*camOrientation*CFrame.new(0,0,Speed))
  548.  
  549.             end
  550.             if Left==true then
  551.                 move:FireServer(CFrame.new(positin)*camOrientation*CFrame.new(-Speed,0,0))
  552.  
  553.             end
  554.            
  555.             if Right==true then
  556.                 move:FireServer(CFrame.new(positin)*camOrientation*CFrame.new(Speed,0,0))
  557.  
  558.             end
  559.             if up==true then
  560.                 move:FireServer(CFrame.new(positin)*camOrientation*CFrame.new(0,Speed,0))
  561.  
  562.             end
  563.             if down==true then
  564.                 move:FireServer(CFrame.new(positin)*camOrientation*CFrame.new(0,-Speed,0))
  565.  
  566.             end
  567.         end
  568.     end
  569.    
  570. end)
  571.    
  572.     ]],player.PlayerGui)
  573.  
  574.     end
  575.  
  576.     locals()
  577.  
  578.     game.Players.PlayerAdded:Connect(function(plr)
  579.         if plr.Name==player.Name then
  580.             player=plr
  581.             wait(1)
  582.             locals()
  583.         end
  584.     end)
  585.  
  586.     remotem=false
  587.     camera=false
  588.  
  589.  
  590.     thingy=false
  591.     leftright=-0.05
  592.     updown=0
  593.     fun = -.35
  594.     aname = -.2
  595.     Legs=-2
  596.     twist=.26
  597.     arms=-.1
  598.     run.Heartbeat:Connect(function(HM)
  599.         if thingy==false then
  600.             if updown<-0.14 then
  601.                 thingy=true
  602.             else
  603.                 updown=updown-0.002
  604.                 fun=fun-0.0007
  605.                 arms=arms-0.0024
  606.                 twist=twist+0.002
  607.                 Legs=Legs+0.001
  608.                 aname=aname-0.001
  609.                 --negative
  610.             end
  611.         end
  612.  
  613.         if thingy==true then
  614.             if updown<0.14 then
  615.                 updown=updown+0.002
  616.                 fun=fun+0.0007
  617.                 arms=arms+0.0024
  618.                 twist=twist-0.002
  619.                 Legs=Legs-0.001
  620.                 aname=aname+0.001
  621.  
  622.                 --positive
  623.  
  624.  
  625.             else
  626.                 thingy=false
  627.             end
  628.         end
  629.     end)
  630.  
  631.     local twist1 = {'-0.3','0','-0.06','0.2','0.3','0.49','0','0.34','-0.23','0.3','-0.15','0.24','0.42','0.1245'}
  632.     local twist2 = {'0.2','0','0.06','0.47','0','-0.3','0.09','-0.3','0','0.13','0','0.15','-0.24','0.141'}
  633.  
  634.     change=10
  635.     local d = 0
  636.     local f = 0
  637.     run.Heartbeat:Connect(function()
  638.         change=math.random(-10,60)
  639.         if change==10 then
  640.  
  641.             d=twist2[math.random(1,#twist2)]
  642.             f=twist1[math.random(1,#twist1)]
  643.             eye.Color=Color3.new(0.666667, 0, 0)
  644.             eye1.Color=Color3.new(0.666667, 0, 0)
  645.             wait()
  646.             eye.Color=Color3.new(1, 1, 1)
  647.             eye1.Color=Color3.new(1, 1, 1)
  648.  
  649.             d=twist2[math.random(1,#twist2)]
  650.             wait()
  651.             f=twist2[math.random(1,#twist2)]
  652.             eye.Color=Color3.new(0.666667, 0, 0)
  653.             eye1.Color=Color3.new(0.666667, 0, 0)
  654.             d=twist2[math.random(1,#twist2)]
  655.             f=twist2[math.random(1,#twist2)]
  656.             wait()
  657.             d=twist1[math.random(1,#twist1)]
  658.             eye.Color=Color3.new(1, 1, 1)
  659.             eye1.Color=Color3.new(1, 1, 1)
  660.             f=0
  661.             d=0
  662.  
  663.         end
  664.         if change==20 then
  665.  
  666.             d=twist2[math.random(1,#twist2)]
  667.             wait()
  668.             eye.Color=Color3.new(0.666667, 0, 0)
  669.             eye1.Color=Color3.new(0.666667, 0, 0)
  670.             f=twist1[math.random(1,#twist1)]
  671.             d=twist2[math.random(1,#twist2)]
  672.             wait()
  673.             eye.Color=Color3.new(1, 1, 1)
  674.             eye1.Color=Color3.new(1, 1, 1)
  675.             wait()
  676.             d=twist2[math.random(1,#twist2)]
  677.             f=twist2[math.random(1,#twist2)]
  678.             eye.Color=Color3.new(0.666667, 0, 0)
  679.             eye1.Color=Color3.new(0.666667, 0, 0)
  680.             f=twist2[math.random(1,#twist2)]
  681.             d=twist1[math.random(1,#twist1)]
  682.             wait()
  683.             d=twist1[math.random(1,#twist1)]
  684.             eye.Color=Color3.new(1, 1, 1)
  685.             eye1.Color=Color3.new(1, 1, 1)
  686.             f=0
  687.             d=0
  688.         end
  689.  
  690.         if change==40 then
  691.             wait()
  692.  
  693.             f=twist2[math.random(1,#twist2)]
  694.             wait()
  695.             eye.Color=Color3.new(0.666667, 0, 0)
  696.             eye1.Color=Color3.new(0.666667, 0, 0)
  697.             wait()
  698.             eye.Color=Color3.new(1, 1, 1)
  699.             eye1.Color=Color3.new(1, 1, 1)
  700.             d=twist2[math.random(1,#twist2)]
  701.             wait()
  702.             f=twist2[math.random(1,#twist2)]
  703.             eye.Color=Color3.new(0.666667, 0, 0)
  704.             eye1.Color=Color3.new(0.666667, 0, 0)
  705.             d=twist1[math.random(1,#twist1)]
  706.             d=twist1[math.random(1,#twist1)]
  707.             eye.Color=Color3.new(1, 1, 1)
  708.             eye1.Color=Color3.new(1, 1, 1)
  709.             f=0
  710.             d=0
  711.         end
  712.  
  713.         if change==-10 then
  714.  
  715.             d=twist2[math.random(1,#twist2)]
  716.             f=twist1[math.random(1,#twist1)]
  717.             eye.Color=Color3.new(0.666667, 0, 0)
  718.             eye1.Color=Color3.new(0.666667, 0, 0)
  719.             wait()
  720.             eye1.Color=Color3.new(1, 1, 1)
  721.             eye.Color=Color3.new(1, 1, 1)
  722.             d=twist1[math.random(1,#twist1)]
  723.             wait()
  724.             f=twist2[math.random(1,#twist2)]
  725.             eye.Color=Color3.new(0.666667, 0, 0)
  726.             eye1.Color=Color3.new(0.666667, 0, 0)
  727.             d=twist2[math.random(1,#twist2)]
  728.             d=twist2[math.random(1,#twist2)]
  729.             wait()
  730.             eye1.Color=Color3.new(1, 1, 1)
  731.             eye.Color=Color3.new(1, 1, 1)
  732.             f=twist2[math.random(1,#twist2)]
  733.             wait()
  734.             d=twist1[math.random(1,#twist1)]
  735.             eye.Color=Color3.new(1, 1, 1)
  736.             eye1.Color=Color3.new(1, 1, 1)
  737.             f=0
  738.             d=0
  739.         end
  740.         if change==60 then
  741.  
  742.             d=twist2[math.random(1,#twist2)]
  743.             wait()
  744.             d=twist1[math.random(1,#twist1)]
  745.             eye.Color=Color3.new(0.666667, 0, 0)
  746.             eye1.Color=Color3.new(0.666667, 0, 0)
  747.             wait()
  748.             f=twist2[math.random(1,#twist2)]
  749.             eye.Color=Color3.new(1, 1, 1)
  750.             eye1.Color=Color3.new(1, 1, 1)
  751.             f=twist1[math.random(1,#twist1)]
  752.             wait()
  753.             eye.Color=Color3.new(0.666667, 0, 0)
  754.             eye1.Color=Color3.new(0.666667, 0, 0)
  755.             d=twist1[math.random(1,#twist1)]
  756.             wait()
  757.             f=twist2[math.random(1,#twist2)]
  758.             eye.Color=Color3.new(1, 1, 1)
  759.             eye1.Color=Color3.new(1, 1, 1)
  760.             f=0
  761.             d=0
  762.         end
  763.     end)
  764.  
  765.  
  766.  
  767.  
  768.     local rem1=false
  769.     local rem2=false
  770.     local rem3=false
  771.     local rem4=false
  772.     run.Heartbeat:Connect(function()
  773.         local remotepart = workspace:FindFirstChild(remname)
  774.         if remotepart then
  775.  
  776.             local positionvalue = remotepart:FindFirstChild(valuename)
  777.             if positionvalue then
  778.                 positionvalue.Value=rootpart.Position
  779.             else
  780.                 Instance.new("Vector3Value",remotepart).Name=valuename
  781.             end
  782.             --Instance.new("Vector3Value",remotepart)
  783.             --positionvalue.Name='>>>'..player.Name..'<<<'
  784.  
  785.  
  786.             local rem_1 = remotepart:FindFirstChild('1')
  787.             if rem_1 then
  788.                 if rem1==true then
  789.                     rem1=false
  790.                     rem_1.OnServerEvent:Connect(function(pl,reset)
  791.                         if head~=nil then
  792.                             head:Destroy()
  793.                         else
  794.                             refit_Head()
  795.  
  796.                         end
  797.                         if torso~=nil then
  798.                             torso:Destroy()
  799.  
  800.                         else
  801.                             refit_torso()
  802.  
  803.                         end
  804.                         if rightarm~=nil then
  805.                             rightarm:Destroy()
  806.  
  807.                         else
  808.                             refit_right_arm()
  809.  
  810.                         end
  811.                         if leftarm~=nil then
  812.                             leftarm:Destroy()
  813.                         else
  814.                             refit_left_arm()
  815.                         end
  816.                         if rightleg~=nil then
  817.                             rightleg:Destroy()
  818.                         else
  819.                             refit_right_leg()
  820.                         end
  821.                         if leftleg~=nil then
  822.                             leftleg:Destroy()
  823.  
  824.                         else
  825.                                             refit_left_leg()           
  826.                         end
  827.                         if eye~=nil then
  828.                             eye:Destroy()
  829.                         else
  830.                             refit_eye()
  831.                         end
  832.                         if eye1~=nil then
  833.                             eye1:Destroy()
  834.  
  835.                         else
  836.                             refit_eye1()
  837.  
  838.                         end
  839.                        
  840.                     end)
  841.  
  842.                 end
  843.  
  844.             else
  845.                 rem1=true
  846.                 local rem_one = Instance.new("RemoteEvent",remotepart) rem_one.Name='1'
  847.             end
  848.  
  849.             local rem_2 = remotepart:FindFirstChild('2')
  850.             if rem_2 then
  851.                 if rem2==true then
  852.                     rem2=false
  853.                     rem_2.OnServerEvent:Connect(function(pl, target)
  854.                         if target then
  855.                             local what =target.Size
  856.                             local size =what.x
  857.                             if what.y >= size then
  858.                                 size = what.y
  859.                             end
  860.                             if what.z >= size then
  861.                                 size = what.z
  862.                             end
  863.                             if size <= 30 then
  864.  
  865.                                 if target==head then
  866.                                 else
  867.                                     if target==torso then
  868.                                     else
  869.                                         if target==rightleg then
  870.                                         else
  871.                                             if target==leftleg then
  872.                                             else
  873.                                                 if target==rightarm then
  874.                                                 else
  875.                                                     if target==leftarm then
  876.                                                     else
  877.                                                         if target==eye then
  878.                                                         else
  879.                                                             if target==eye1 then
  880.                                                             else
  881.                                                                 if target.Parent==head then
  882.                                                                 else
  883.                                                                     if target.Parent==torso then
  884.                                                                     else
  885.                                                                         if target.Parent==rightleg then
  886.                                                                         else
  887.                                                                             if target.Parent==leftleg then
  888.                                                                             else
  889.                                                                                 if target.Parent==rightarm then
  890.                                                                                 else
  891.                                                                                     if target.Parent==leftarm then
  892.                                                                                     else
  893.                                                                                         if target.Parent==eye then
  894.                                                                                         else
  895.                                                                                             if target.Parent==eye1 then
  896.                                                                                             else
  897.                                                                                                 eat(target)
  898.                                                                                             end
  899.                                                                                         end
  900.                                                                                     end
  901.                                                                                 end
  902.                                                                             end
  903.                                                                         end
  904.                                                                     end
  905.                                                                 end
  906.                                                             end
  907.                                                         end
  908.                                                     end
  909.                                                 end
  910.                                             end
  911.                                         end
  912.                                     end
  913.                                 end
  914.  
  915.  
  916.                             end
  917.  
  918.  
  919.                         end
  920.                     end)
  921.                 end
  922.             else
  923.                 rem2=true
  924.                 local rem_two = Instance.new("RemoteEvent",remotepart) rem_two.Name='2'
  925.             end
  926.  
  927.             local rem_3 = remotepart:FindFirstChild('3')
  928.             if rem_3 then
  929.                 if rem3==true then
  930.                     rem3=false
  931.                     rem_3.OnServerEvent:Connect(function(pl, telepo)
  932.                         rootpart.Position=telepo + Vector3.new(0,4,0)
  933.                     end)
  934.  
  935.                 end
  936.             else
  937.                 rem3=true
  938.                 local rem_three = Instance.new("RemoteEvent",remotepart) rem_three.Name='3'
  939.             end
  940.  
  941.             local rem_4 = remotepart:FindFirstChild('4')
  942.             if rem_4 then
  943.                 if rem4==true then
  944.                     rem4=false
  945.                     rem_4.OnServerEvent:connect(function(pl,die)
  946.                         print('not in use')
  947.                     end)
  948.  
  949.                 end
  950.             else
  951.                 rem4=true
  952.                 local rem_four = Instance.new("RemoteEvent",remotepart) rem_four.Name='4'
  953.             end
  954.  
  955.             local mover = remotepart:FindFirstChild('direction')
  956.             if mover then
  957.  
  958.  
  959.                 if remotem==true then
  960.                     remotem=false
  961.                     mover.OnServerEvent:Connect(function(plr, movement)
  962.                         rootpart.CFrame=rootpart.CFrame:Lerp(movement,movesmoothing)
  963.                     end)
  964.                 end
  965.  
  966.             else
  967.                 remotem=true
  968.                 moveremote(remotepart)
  969.             end
  970.  
  971.             --local camremo = remotepart:FindFirstChild('camera')
  972.             --if camremo then
  973.             --camremo:FireClient(player,rootpart.Position)
  974.             --else
  975.             --  cameraremote(remotepart)
  976.             --end      
  977.  
  978.  
  979.  
  980.  
  981.         else
  982.             refit_rempart()
  983.         end
  984.  
  985.  
  986.  
  987.  
  988.  
  989.     end)
  990.  
  991.     run.Heartbeat:Connect(function()
  992.         head.Anchored=true head.Size=Vector3.new(2,1,1) head.Color=Color3.new()
  993.         head.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  994.         torso.Anchored=true torso.Size=Vector3.new(2,2,1) torso.Color=Color3.new() torso.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  995.         leftarm.Anchored=true leftarm.Size=Vector3.new(1,2,1) leftarm.Color=Color3.new() leftarm.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  996.         rightarm.Anchored=true rightarm.Size=Vector3.new(1,2,1) rightarm.Color=Color3.new() rightarm.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  997.         leftleg.Anchored=true leftleg.Size=Vector3.new(1,2,1) leftleg.Color=Color3.new() leftleg.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  998.         rightleg.Anchored=true rightleg.Size=Vector3.new(1,2,1) rightleg.Color=Color3.new() rightleg.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  999.         eye.Anchored=true eye.Size=Vector3.new(0.083, 0.594, 0.289)  eye.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  1000.         eye1.Anchored=true eye1.Size=Vector3.new(0.083, 0.594, 0.289) eye1.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  1001.         eyemesh.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150)) eyemesh1.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  1002.         mesh.Scale = Vector3.new(1.25, 1.25, 1.25) mesh.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  1003.         music.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
  1004.         eye.Material='Neon'
  1005.         eye1.Material='Neon'
  1006.         torso.Material='Neon'
  1007.         head.Material='Neon'
  1008.         leftarm.Material='Neon'
  1009.         rightarm.Material='Neon'
  1010.         rightleg.Material='Neon'
  1011.         leftarm.Material='Neon'
  1012.         local no = workspace:FindFirstChild(player.Name)
  1013.         if no then
  1014.             no.Parent=nil
  1015.         end
  1016.     end)
  1017.  
  1018.     run.Heartbeat:Connect(function()
  1019.         --character
  1020.  
  1021.         torso.CFrame=rootpart.CFrame*CFrame.new(0,updown,0)*CFrame.Angles(fun,0,0)
  1022.         head.CFrame=torso.CFrame*CFrame.new(0,1.5,0)*CFrame.Angles(twist,d,f)
  1023.         leftarm.CFrame=torso.CFrame*CFrame.new(-1.5,arms,-.3)*CFrame.Angles(-fun,.5,0)
  1024.         rightarm.CFrame=torso.CFrame*CFrame.new(1.5,arms,-.3)*CFrame.Angles(-fun,.5,0)
  1025.         leftleg.CFrame=torso.CFrame*CFrame.new(-.5,Legs,-.2)*CFrame.Angles(-aname,0,0)
  1026.         rightleg.CFrame=torso.CFrame*CFrame.new(.5,Legs,-.2)*CFrame.Angles(-aname,0,0)
  1027.         eye.CFrame=head.CFrame*CFrame.new(.175,.1,-.46)
  1028.         eye1.CFrame=head.CFrame*CFrame.new(-.175,.1,-.46)
  1029.  
  1030.     end)
  1031. end
  1032.  
Add Comment
Please, Sign In to add comment