Advertisement
voidman

Untitled

Jan 12th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.88 KB | None | 0 0
  1. --]]
  2. --https://github.com/Mokiros/roblox-FE-compatibility
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  5. local RealPlayer = Player
  6. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  7. --Edited
  8. print("BLACK HOLE Visualizer I guess")
  9. print("gReAt")
  10. -- Thank you guys for waiting for the next update!
  11. --Please do not copy or make this script your own
  12. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  13. local RemoteFunc = Instance.new("RemoteFunction", ReplicatedStorage)
  14. RemoteFunc.Name = "CreateVisualPartFunction"
  15. local RemoteEvent = Instance.new("RemoteEvent", ReplicatedStorage)
  16. RemoteEvent.Name = "CreateVisualPartEvent"
  17. local function onCreatedVisualizer()
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24. if workspace.FilteringEnabled == true or workspace.FilteringEnabled == false then
  25.  
  26. local program = (function()
  27. print("Varible")
  28. local FE = workspace.FilteringEnabled
  29.  
  30.  
  31. if FE == true or false then
  32. print(workspace.FilteringEnabled) -- gets print of filtering enabled
  33.  
  34. function sandbox(var,func)
  35. local env = getfenv(func)
  36. local newenv = setmetatable({},{
  37. __index = function(self,k)
  38. if k=="script" then
  39. return var
  40. else
  41. return env[k]
  42. end
  43. end,
  44. })
  45. setfenv(func,newenv)
  46. return func
  47. end
  48. local cors = {}
  49. local mas = Instance.new("Model",game:GetService("Lighting"))
  50. local Script0 = Instance.new("Script")
  51. Script0.Parent = script
  52. Script0.Name = "Anti-Anti_Exploit Script Remover"
  53. table.insert(cors,sandbox(Script0,function()
  54. function Block()
  55.  
  56. enable = true
  57. do
  58.  
  59. if script then
  60. while wait() do
  61. if enable == true then
  62. script.Changed:Connect(function(c)
  63. enable = false
  64. wait()
  65. if c.Disabled == true then
  66. local asd = script.Parent:Clone()
  67. asd.Disabled = false
  68.  
  69. end
  70.  
  71. end)
  72. end
  73. end
  74.  
  75. end
  76.  
  77. end
  78.  
  79. end
  80.  
  81. Block()
  82. end))
  83.  
  84. return FE
  85.  
  86. end
  87.  
  88. return
  89. end)
  90. program()
  91.  
  92.  
  93.  
  94. local player = game:service"Players".LocalPlayer
  95. local character = player.Character
  96. local primary = character.PrimaryPart
  97. local pref = ";"
  98. local sound = Instance.new("Sound", primary)
  99. sound.Looped = true
  100. sound.Volume = 10
  101. local i = 0
  102. print("The Prefix Is "..pref.." .")
  103. print("The Commands Are: ")
  104. print[[
  105. play
  106. stop
  107. pitch
  108. volume
  109. texture < like play
  110. id < like play
  111. head
  112. tors
  113. sph
  114. cyl
  115. ]]
  116. --
  117.  
  118.  
  119. player.Chatted:connect(function(message)
  120. if message:lower():sub(1, string.len(pref.."play ")) == pref.."play " then
  121. sound.SoundId = "rbxassetid://"..message:lower():sub(string.len(pref.."play")+1, string.len(message))
  122. sound:Play()
  123. end
  124. if message:lower():sub(1, string.len(pref.."stop")) == pref.."stop" then
  125. sound:Stop()
  126. end
  127. if message:lower():sub(1, string.len(pref.."pitch ")) == pref.."pitch " then
  128. sound.Pitch = message:lower():sub(string.len(pref.."pitch ") + 1, string.len(message))
  129. end
  130. if message:lower():sub(1, string.len(pref.."volume ")) == pref.."volume " then
  131. sound.Volume = message:lower():sub(string.len(pref.."volume ") + 1, string.len(message)) / 10
  132.  
  133. end
  134.  
  135.  
  136. end)
  137.  
  138. local partt = Instance.new("Part", character)
  139. local partt2 = Instance.new("Part", character)
  140. local partt3 = Instance.new("Part", character)
  141. local mesh = Instance.new("SpecialMesh")
  142. local mesh3 = Instance.new("SpecialMesh")
  143. local mesh2 = Instance.new("SpecialMesh")
  144.  
  145.  
  146.  
  147. game:service"RunService".RenderStepped:connect(function()
  148. if primary:IsAncestorOf(sound) == false then
  149. script.Disabled = true
  150. end
  151. i = i - 6
  152. local nou = i
  153.  
  154. partt.Anchored = true
  155. partt.CanCollide = false
  156. partt.Transparency = 0.6
  157. partt.Material = "Neon"
  158. partt.Color = Color3.fromRGB(255,255,255)
  159.  
  160. partt.CFrame = CFrame.new(primary.CFrame.p) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -(10 + partt.Size.Z / 3) )
  161.  
  162. partt2.Anchored = true
  163. partt2.CanCollide = false
  164. partt2.Transparency = 0.6
  165. partt2.Material = "Glass"
  166. partt2.Color = Color3.fromRGB(0,0,0)
  167.  
  168. partt2.CFrame = CFrame.new(primary.CFrame.p) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -(10 + partt.Size.Z / 3) )
  169.  
  170. mesh.MeshType = Enum.MeshType.Sphere
  171. mesh.Parent = partt2
  172.  
  173. partt3.Anchored = true
  174. partt3.CanCollide = false
  175. partt3.Transparency = 0.6
  176. partt3.Material = "Glass"
  177. partt3.Color = Color3.fromRGB(0,0,0)
  178.  
  179. partt3.CFrame = CFrame.new(primary.CFrame.p) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -(10 + partt.Size.Z / 3) )
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188. mesh2.MeshType = Enum.MeshType.Sphere
  189. mesh2.Parent = partt3
  190.  
  191. mesh3.MeshType = Enum.MeshType.Sphere
  192. mesh3.Parent = partt
  193.  
  194. local TweenService = game:GetService("TweenService")
  195.  
  196. local part = script.Parent
  197.  
  198.  
  199.  
  200. local Info = TweenInfo.new(
  201.  
  202. 3, -- Length
  203.  
  204. Enum.EasingStyle.Elastic, -- Easing Style
  205.  
  206. Enum.EasingDirection.Out, -- Easing Direction
  207.  
  208. i, -- Times repeated
  209.  
  210. false, -- Reverse
  211.  
  212. 0 -- Delay
  213.  
  214. )
  215.  
  216. local Info2 = TweenInfo.new(
  217.  
  218. 3, -- Length
  219.  
  220. Enum.EasingStyle.Elastic, -- Easing Style
  221.  
  222. Enum.EasingDirection.Out, -- Easing Direction
  223.  
  224. i, -- Times repeated
  225.  
  226. false, -- Reverse
  227.  
  228. 0 -- Delay
  229.  
  230. )
  231.  
  232. local Goals =
  233.  
  234. {
  235.  
  236. Transparency = 0.1 + math.random(0.999,1);
  237. Size = Vector3.new(sound.PlaybackLoudness/21,sound.PlaybackLoudness/.1,sound.PlaybackLoudness/21);
  238.  
  239. }
  240.  
  241.  
  242. local Goals2 =
  243.  
  244. {
  245.  
  246. Transparency = math.random(0.999,1);
  247. Size = Vector3.new(sound.PlaybackLoudness/13,sound.PlaybackLoudness/13,sound.PlaybackLoudness/13);
  248. Orientation = Vector3.new(2 * sound.PlaybackLoudness/12,12 * sound.PlaybackLoudness/12,12 * sound.PlaybackLoudness/12)
  249. }
  250.  
  251.  
  252.  
  253.  
  254. local Info3 = TweenInfo.new(
  255.  
  256. 3, -- Length
  257.  
  258. Enum.EasingStyle.Elastic, -- Easing Style
  259.  
  260. Enum.EasingDirection.Out, -- Easing Direction
  261.  
  262. i, -- Times repeated
  263.  
  264. false, -- Reverse
  265.  
  266. 0 -- Delay
  267.  
  268. )
  269.  
  270. local Goals3 =
  271.  
  272. {
  273.  
  274.  
  275. Transparency = math.random(0.999,1);
  276. Size = Vector3.new(sound.PlaybackLoudness/8,sound.PlaybackLoudness/99,sound.PlaybackLoudness/8);
  277. Orientation = Vector3.new(4 * sound.PlaybackLoudness/12,4 * sound.PlaybackLoudness/12,4 * sound.PlaybackLoudness/12)
  278.  
  279. }
  280.  
  281.  
  282. local tween = TweenService:Create(partt,Info,Goals)
  283. local tween2 = TweenService:Create(partt2,Info2,Goals2)
  284.  
  285. local tween3 = TweenService:Create(partt3,Info3,Goals3)
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292. tween:Play()
  293. tween2:Play()
  294. tween3:Play()
  295.  
  296.  
  297.  
  298.  
  299.  
  300. return
  301. end)
  302. end
  303. end
  304.  
  305. RemoteFunc.OnClientInvoke = pcall(onCreatedVisualizer)
  306. RemoteFunc:InvokeServer(onCreatedVisualizer)
  307. RemoteEvent.OnCilentEvent = pcall(onCreatedVisualizer)
  308. RemoteEvent:FireServer(pcall(onCreatedVisualizer))
  309.  
  310. local function RemoteEvents(Event)
  311.  
  312. wait()
  313.  
  314. if Event.ClassName == "RemoteEvent" or Event.ClassName == "RemoteFunction" then
  315.  
  316. local getfunction = (function()
  317.  
  318. local Events = {}
  319. print("Got Event")
  320.  
  321. Events.PrepC1Event = function()
  322.  
  323. if Event then
  324. print(Event)
  325.  
  326. return Events.PrepC1Event
  327. end
  328.  
  329. end
  330.  
  331. Events.PrepC1Event()
  332.  
  333. GetEvents = {}
  334.  
  335. local GE = GetEvents[#Events]
  336. if GE then
  337. print(#GetEvents)
  338. end
  339. end)
  340.  
  341. getfunction()
  342.  
  343. end
  344.  
  345. end
  346. RemoteEvents(RemoteEvent)
  347. RemoteEvents(RemoteFunc)
  348. --get owned FE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement