Advertisement
InTesting

Blue Orbit S Vis

Nov 5th, 2019
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.52 KB | None | 0 0
  1. print'https://pastebin.com/nbdaQDMD'
  2. local function make_vis(pl_1)
  3.     local pchar=pl_1.Character or(function()pl_1:LoadCharacter();
  4.         wait(.1);return pl_1.Character;end)();
  5.     local phead,pre_1 = pchar:FindFirstChild'Head'or(function()pl_1:LoadCharacter();wait(.1);
  6.         pchar=pl_1.Character;wait(.1);return pchar:FindFirstChild'Head';end)(),'rbxassetid://';
  7.     local globalsound,globalpart,at_3,at_4;
  8.     local Instance_2,cwrap=function(c,p)local a=Instance.new(c);for b,c in pairs(p)do
  9.         local _,d=pcall(function()a[b]=c;end);if d then print(d);end;end;return a;end,
  10.         function(a)local b=coroutine.wrap(a);b();return b;
  11.         end;
  12.     local function Make_VP()
  13.         local sound = Instance_2('Sound',{Volume=2.5;SoundId=pre_1..'4001918331';
  14.             Parent=phead})
  15.  
  16.         sound.Looped = true
  17.         sound.Name = 'sound_inf'
  18.         sound:Play()
  19.        
  20.         local part = Instance.new("Part",workspace)
  21.         part.Name = '∞vis'
  22.         part.Massless = true
  23.         part.Position = Vector3.new(0,10,0)
  24.         part.CanCollide = false
  25.         part.Shape = Enum.PartType.Ball
  26.         part.BrickColor = BrickColor.new("New Yeller")
  27.         part.Material = Enum.Material.Neon
  28.  
  29.         local at1 = Instance.new("Attachment",part)
  30.        
  31.         local at2 = Instance.new("Attachment",phead)
  32.         at2.Position = Vector3.new(0,5,0)
  33.         at2.Visible = false
  34.        
  35.         local apos = Instance.new("AlignPosition",at2)
  36.         apos.Attachment0 = at1
  37.         apos.Attachment1 = at2
  38.         apos.Responsiveness = 75
  39.         apos.MaxForce = 30000
  40.         apos.ApplyAtCenterOfMass = true
  41.  
  42.         local at3 = Instance.new('Attachment',part)
  43.         at3.Position = Vector3.new(0,2,0)
  44.        
  45.         local at4 = Instance.new('Attachment',part)
  46.         at4.Position = Vector3.new(0,-2,0)
  47.        
  48.         local t = Instance.new("Trail",at3)
  49.         t.Attachment0 = at3
  50.         t.Attachment1 = at4
  51.         t.Lifetime = 3
  52.        
  53.         local a=Instance_2('Part',{Name='∞vis';Massless=true;Position=Vector3.new(0,10,0);
  54.         Anchored=true;CanCollide=false;Shape='Ball';BrickColor=
  55.         BrickColor.new("Really blue");Material=Enum.Material.Foil;Parent=part
  56.         ;Size=Vector3.new(3,3,3)});
  57.         local b=Instance.new("Part",part)
  58.         b.Name = '∞vis'
  59.         b.Massless = true
  60.         b.Position = Vector3.new(0,10,0)
  61.         b.CanCollide = false
  62.         b.Shape = Enum.PartType.Ball
  63.         b.BrickColor = BrickColor.new("New Yeller")
  64.         b.Material = Enum.Material.SmoothPlastic
  65.         b.Transparency = .5
  66.         b.Anchored = true
  67.         cwrap(function()
  68.             local cons = 1
  69.             repeat
  70.                 cons=cons+1
  71.                 part.CFrame = part.CFrame*CFrame.Angles(0,.01,0)
  72.                 a.CFrame = part.CFrame*CFrame.new(0,0,10)
  73.                 a.Orientation = Vector3.new(0,0,0)
  74.                 a.Position=a.Position + Vector3.new(0,math.sin(cons * (2* math.pi / 100)) ,0)
  75.                 wait();
  76.             until not a;
  77.         end);
  78.         return sound,part,at3,at4,b
  79.     end;
  80.     local part_b
  81.     globalsound,globalpart,at_3,at_4,part_b = Make_VP();
  82.     local function Get_Components_Of_Mouse(player) 
  83.         local pchar = player.Character;
  84.         if pchar then
  85.             local Remote = pchar:FindFirstChild('∞RE_Mouse')
  86.             if not Remote then
  87.                 Remote = Instance.new("RemoteEvent",pchar)
  88.                 Remote.Name = 'RE_Mouse'
  89.             end
  90.             local NLS = loadstring('return NLS')();
  91.             Remote.Parent = NLS(
  92.                 [[
  93.                    
  94. local lp = game:GetService'Players'.LocalPlayer
  95. local players = game:GetService'Players'
  96. local mouse = lp:GetMouse()
  97. local runs = game:GetService'RunService'
  98.  
  99. wait(1)
  100.  
  101. local lchar = players[lp.Name].Character
  102.  
  103. local re = script.Parent:FindFirstChild('RE_Mouse',true)
  104.  
  105. local sound = lchar:FindFirstChild('sound_inf',true)
  106. if sound then
  107.     runs.Stepped:Connect(function()
  108.         if re then
  109.             local transmitt = sound.PlaybackLoudness / 100
  110.             if transmitt<.1 then
  111.                 transmitt = .1
  112.             end
  113.             re:FireServer('SoundSize',transmitt)
  114.         else
  115.             print'i1'
  116.         end
  117.     end)
  118. else
  119.     print'cant find sound'
  120. end
  121.  
  122.         ]],pchar )
  123.             return Remote
  124.         else
  125.             error'Best to actually put your character in the game.'
  126.         end
  127.     end
  128.     local RE = Get_Components_Of_Mouse(pl_1)
  129.     part_b.Anchored=false;
  130.     part_b.Position=globalpart.Position
  131.     local weldc = Instance_2('WeldConstraint',{Parent=part_b;Part0=part_b;Part1=globalpart});
  132.     RE.OnServerEvent:Connect(function(pl,arg1,arg2)
  133.         if pl==pl_1 then
  134.             if arg1=='SoundSize'and globalpart and globalsound and at_3 and at_4 then
  135.                 globalpart.Size = Vector3.new(arg2,arg2,arg2)
  136.                 at_3.Position = Vector3.new(0,arg2 / 2 ,0)
  137.                 at_4.Position = Vector3.new(0,arg2 /-2, 0)
  138.                 part_b.Size= globalpart.Size*1.5
  139.             else
  140.                 print(arg1,globalpart,globalsound,at_3,at_4)
  141.             end
  142.         end
  143.     end)
  144.  
  145. end
  146. make_vis(loadstring('return owner')())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement