Advertisement
marioisdabomb

music2

Nov 29th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  5.     script.Parent = Player.Character
  6.  
  7.     --RemoteEvent for communicating
  8.     local Event = Instance.new("RemoteEvent")
  9.     Event.Name = "UserInput_Event"
  10.  
  11.     --Fake event to make stuff like Mouse.KeyDown work
  12.     local function fakeEvent()
  13.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14.         t.connect = t.Connect
  15.         return t
  16.     end
  17.  
  18.     --Creating fake input objects with fake variables
  19.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23.     end}
  24.     --Merged 2 functions into one by checking amount of arguments
  25.     CAS.UnbindAction = CAS.BindAction
  26.  
  27.     --This function will trigger the events that have been :Connect()'ed
  28.     local function te(self,ev,...)
  29.         local t = m[ev]
  30.         if t and t._fakeEvent and t.Function then
  31.             t.Function(...)
  32.         end
  33.     end
  34.     m.TrigEvent = te
  35.     UIS.TrigEvent = te
  36.  
  37.     Event.OnServerEvent:Connect(function(plr,io)
  38.         if plr~=Player then return end
  39.         if io.isMouse then
  40.             m.Target = io.Target
  41.             m.Hit = io.Hit
  42.         else
  43.             local b = io.UserInputState == Enum.UserInputState.Begin
  44.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46.             end
  47.             for _,t in pairs(CAS.Actions) do
  48.                 for _,k in pairs(t.Keys) do
  49.                     if k==io.KeyCode then
  50.                         t.Function(t.Name,io.UserInputState,io)
  51.                     end
  52.                 end
  53.             end
  54.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56.         end
  57.     end)
  58.     Event.Parent = NLS([==[
  59.     local Player = game:GetService("Players").LocalPlayer
  60.     local Event = script:WaitForChild("UserInput_Event")
  61.  
  62.     local UIS = game:GetService("UserInputService")
  63.     local input = function(io,a)
  64.         if a then return end
  65.         --Since InputObject is a client-side instance, we create and pass table instead
  66.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67.     end
  68.     UIS.InputBegan:Connect(input)
  69.     UIS.InputEnded:Connect(input)
  70.  
  71.     local Mouse = Player:GetMouse()
  72.     local h,t
  73.     --Give the server mouse data 30 times every second, but only if the values changed
  74.     --If player is not moving their mouse, client won't fire events
  75.     while wait(1/30) do
  76.         if h~=Mouse.Hit or t~=Mouse.Target then
  77.             h,t=Mouse.Hit,Mouse.Target
  78.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  79.         end
  80.     end]==],Player.Character)
  81.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83. --Edited
  84. print("BLACK HOLE Visualizer I guess")
  85. print("gReAt")
  86. -- Thank you guys for waiting for the next update!
  87. --Please do not copy or make this script your own
  88. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  89. local RemoteFunc = Instance.new("RemoteFunction", ReplicatedStorage)
  90. RemoteFunc.Name = "CreateVisualPartFunction"
  91.  local RemoteEvent = Instance.new("RemoteEvent", ReplicatedStorage)
  92. RemoteEvent.Name = "CreateVisualPartEvent"
  93. local function onCreatedVisualizer()
  94.    
  95.    
  96.  
  97.  
  98.  
  99.  
  100. if workspace.FilteringEnabled == true or workspace.FilteringEnabled == false then
  101.  
  102. local program = (function()
  103. print("Varible")
  104. local FE = workspace.FilteringEnabled
  105.  
  106.  
  107. if FE == true or false then
  108. print(workspace.FilteringEnabled) -- gets print of filtering enabled
  109.  
  110. function sandbox(var,func)
  111.     local env = getfenv(func)
  112.     local newenv = setmetatable({},{
  113.         __index = function(self,k)
  114.             if k=="script" then
  115.                 return var
  116.             else
  117.                 return env[k]
  118.             end
  119.         end,
  120.     })
  121.     setfenv(func,newenv)
  122.     return func
  123. end
  124. local cors = {}
  125. local mas = Instance.new("Model",game:GetService("Lighting"))
  126. local Script0 = Instance.new("Script")
  127. Script0.Parent = script
  128. Script0.Name = "Anti-Anti_Exploit Script Remover"
  129. table.insert(cors,sandbox(Script0,function()
  130. function Block()
  131.  
  132. enable = true
  133. do
  134.  
  135. if script then
  136. while wait() do
  137. if enable == true then
  138.  script.Changed:Connect(function(c)
  139. enable = false
  140. wait()
  141. if c.Disabled == true then
  142. local asd = script.Parent:Clone()
  143. asd.Disabled = false
  144.  
  145. end
  146.  
  147. end)
  148. end
  149. end
  150.  
  151. end
  152.  
  153. end
  154.  
  155. end
  156.  
  157. Block()
  158. end))
  159.  
  160. return FE
  161.  
  162. end
  163.  
  164. return
  165. end)
  166. program()
  167.  
  168.  
  169.  
  170. local player = game:service"Players".LocalPlayer
  171. local character = player.Character
  172. local primary = character.PrimaryPart
  173. local pref = ";"
  174. local sound = Instance.new("Sound", primary)
  175. sound.Looped = true
  176. sound.Volume = 10
  177. local i = 0
  178. print("The Prefix Is  "..pref.." .")
  179. print("The Commands Are: ")
  180. print[[
  181. play
  182. stop
  183. pitch
  184.  volume
  185.  texture < like play
  186.  id < like play
  187. head
  188. tors
  189. sph
  190. cyl
  191. ]]
  192. --
  193.  
  194.  
  195. player.Chatted:connect(function(message)
  196.     if message:lower():sub(1, string.len(pref.."play ")) == pref.."play " then
  197.         sound.SoundId = "rbxassetid://"..message:lower():sub(string.len(pref.."play")+1, string.len(message))
  198.         sound:Play()
  199.     end
  200.     if message:lower():sub(1, string.len(pref.."stop")) == pref.."stop" then
  201.         sound:Stop()
  202.     end
  203.     if message:lower():sub(1, string.len(pref.."pitch ")) == pref.."pitch " then
  204.         sound.Pitch = message:lower():sub(string.len(pref.."pitch ") + 1, string.len(message))
  205.     end
  206.     if message:lower():sub(1, string.len(pref.."volume ")) == pref.."volume " then
  207.         sound.Volume = message:lower():sub(string.len(pref.."volume ") + 1, string.len(message)) / 10
  208.    
  209.     end
  210.    
  211.    
  212. end)
  213.    
  214.  local partt = Instance.new("Part", character)
  215.  local partt2 = Instance.new("Part", character)
  216. local partt3 = Instance.new("Part", character)
  217. local mesh = Instance.new("SpecialMesh")
  218. local mesh3 = Instance.new("SpecialMesh")
  219.  local mesh2 = Instance.new("SpecialMesh")
  220.  
  221.  
  222.  
  223. game:service"RunService".RenderStepped:connect(function()
  224.     if primary:IsAncestorOf(sound) == false then
  225.         script.Disabled = true
  226.     end
  227.     i = i - 6
  228.     local nou = i
  229.    
  230.     partt.Anchored = true
  231.     partt.CanCollide = false
  232.     partt.Transparency = 0.6
  233.     partt.Material = "Neon"
  234.     partt.Color = Color3.fromRGB(255,255,255)
  235.    
  236.     partt.CFrame = CFrame.new(primary.CFrame.p) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -(10 + partt.Size.Z / 3) )
  237.    
  238.  partt2.Anchored = true
  239.     partt2.CanCollide = false
  240.     partt2.Transparency = 0.6
  241.     partt2.Material = "Glass"
  242.     partt2.Color = Color3.fromRGB(0,0,0)
  243.    
  244.     partt2.CFrame = CFrame.new(primary.CFrame.p) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -(10 + partt.Size.Z / 3) )
  245.  
  246.    mesh.MeshType = Enum.MeshType.Sphere
  247.   mesh.Parent = partt2
  248.  
  249.  partt3.Anchored = true
  250.     partt3.CanCollide = false
  251.     partt3.Transparency = 0.6
  252.     partt3.Material = "Glass"
  253.     partt3.Color = Color3.fromRGB(0,0,0)
  254.    
  255.     partt3.CFrame = CFrame.new(primary.CFrame.p) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -(10 + partt.Size.Z / 3) )
  256.  
  257.    
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.    mesh2.MeshType = Enum.MeshType.Sphere
  265.   mesh2.Parent = partt3
  266.  
  267. mesh3.MeshType = Enum.MeshType.Sphere
  268.   mesh3.Parent = partt
  269.  
  270.      local TweenService = game:GetService("TweenService")
  271.  
  272. local part = script.Parent
  273.  
  274.  
  275.  
  276. local Info = TweenInfo.new(
  277.  
  278. 3, -- Length
  279.  
  280. Enum.EasingStyle.Elastic, -- Easing Style
  281.  
  282. Enum.EasingDirection.Out, -- Easing Direction
  283.  
  284. i, -- Times repeated
  285.  
  286. false, -- Reverse
  287.  
  288. 0 -- Delay
  289.  
  290. )
  291.  
  292. local Info2 = TweenInfo.new(
  293.  
  294. 3, -- Length
  295.  
  296. Enum.EasingStyle.Elastic, -- Easing Style
  297.  
  298. Enum.EasingDirection.Out, -- Easing Direction
  299.  
  300. i, -- Times repeated
  301.  
  302. false, -- Reverse
  303.  
  304. 0 -- Delay
  305.  
  306. )
  307.  
  308. local Goals =
  309.  
  310. {
  311.  
  312. Transparency = 0.1 + math.random(0.999,1);
  313. Size = Vector3.new(sound.PlaybackLoudness/21,sound.PlaybackLoudness/.1,sound.PlaybackLoudness/21);
  314.  
  315. }
  316.  
  317.  
  318. local Goals2 =
  319.  
  320. {
  321.  
  322. Transparency = math.random(0.999,1);
  323. Size = Vector3.new(sound.PlaybackLoudness/13,sound.PlaybackLoudness/13,sound.PlaybackLoudness/13);
  324. Orientation = Vector3.new(2 * sound.PlaybackLoudness/12,12 * sound.PlaybackLoudness/12,12 * sound.PlaybackLoudness/12)
  325. }
  326.  
  327.  
  328.  
  329.  
  330. local Info3 = TweenInfo.new(
  331.  
  332. 3, -- Length
  333.  
  334. Enum.EasingStyle.Elastic, -- Easing Style
  335.  
  336. Enum.EasingDirection.Out, -- Easing Direction
  337.  
  338. i, -- Times repeated
  339.  
  340. false, -- Reverse
  341.  
  342. 0 -- Delay
  343.  
  344. )
  345.  
  346. local Goals3 =
  347.  
  348. {
  349.  
  350.  
  351. Transparency = math.random(0.999,1);
  352. Size = Vector3.new(sound.PlaybackLoudness/8,sound.PlaybackLoudness/99,sound.PlaybackLoudness/8);
  353. Orientation = Vector3.new(4 * sound.PlaybackLoudness/12,4 * sound.PlaybackLoudness/12,4 * sound.PlaybackLoudness/12)
  354.  
  355. }
  356.  
  357.  
  358. local tween = TweenService:Create(partt,Info,Goals)
  359. local tween2 = TweenService:Create(partt2,Info2,Goals2)
  360.  
  361.  local tween3 = TweenService:Create(partt3,Info3,Goals3)
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368. tween:Play()
  369. tween2:Play()
  370. tween3:Play()
  371.  
  372.  
  373.  
  374.  
  375.  
  376. return
  377. end)
  378. end
  379. end
  380.  
  381. RemoteFunc.OnClientInvoke = pcall(onCreatedVisualizer)
  382. RemoteFunc:InvokeServer(onCreatedVisualizer)
  383. RemoteEvent.OnCilentEvent = pcall(onCreatedVisualizer)
  384. RemoteEvent:FireServer(pcall(onCreatedVisualizer))
  385.  
  386. local function RemoteEvents(Event)
  387.  
  388. wait()
  389.  
  390. if Event.ClassName == "RemoteEvent" or Event.ClassName == "RemoteFunction" then
  391.  
  392. local getfunction = (function()
  393.  
  394. local Events = {}
  395.  print("Got Event")
  396.  
  397. Events.PrepC1Event = function()
  398.  
  399. if Event then
  400. print(Event)
  401.  
  402. return Events.PrepC1Event
  403. end
  404.  
  405. end
  406.  
  407. Events.PrepC1Event()
  408.  
  409. GetEvents = {}
  410.  
  411.  local GE = GetEvents[#Events]
  412. if GE then
  413. print(#GetEvents)
  414. end
  415. end)
  416.  
  417. getfunction()
  418.  
  419. end
  420.  
  421. end
  422. RemoteEvents(RemoteEvent)
  423. RemoteEvents(RemoteFunc)
  424. --get owned FE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement