Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --]]
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- 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
- --Edited
- print("BLACK HOLE Visualizer I guess")
- print("gReAt")
- -- Thank you guys for waiting for the next update!
- --Please do not copy or make this script your own
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local RemoteFunc = Instance.new("RemoteFunction", ReplicatedStorage)
- RemoteFunc.Name = "CreateVisualPartFunction"
- local RemoteEvent = Instance.new("RemoteEvent", ReplicatedStorage)
- RemoteEvent.Name = "CreateVisualPartEvent"
- local function onCreatedVisualizer()
- if workspace.FilteringEnabled == true or workspace.FilteringEnabled == false then
- local program = (function()
- print("Varible")
- local FE = workspace.FilteringEnabled
- if FE == true or false then
- print(workspace.FilteringEnabled) -- gets print of filtering enabled
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- local cors = {}
- local mas = Instance.new("Model",game:GetService("Lighting"))
- local Script0 = Instance.new("Script")
- Script0.Parent = script
- Script0.Name = "Anti-Anti_Exploit Script Remover"
- table.insert(cors,sandbox(Script0,function()
- function Block()
- enable = true
- do
- if script then
- while wait() do
- if enable == true then
- script.Changed:Connect(function(c)
- enable = false
- wait()
- if c.Disabled == true then
- local asd = script.Parent:Clone()
- asd.Disabled = false
- end
- end)
- end
- end
- end
- end
- end
- Block()
- end))
- return FE
- end
- return
- end)
- program()
- local player = game:service"Players".LocalPlayer
- local character = player.Character
- local primary = character.PrimaryPart
- local pref = ";"
- local sound = Instance.new("Sound", primary)
- sound.Looped = true
- sound.Volume = 10
- local i = 0
- print("The Prefix Is "..pref.." .")
- print("The Commands Are: ")
- print[[
- play
- stop
- pitch
- volume
- texture < like play
- id < like play
- head
- tors
- sph
- cyl
- ]]
- --
- player.Chatted:connect(function(message)
- if message:lower():sub(1, string.len(pref.."play ")) == pref.."play " then
- sound.SoundId = "rbxassetid://"..message:lower():sub(string.len(pref.."play")+1, string.len(message))
- sound:Play()
- end
- if message:lower():sub(1, string.len(pref.."stop")) == pref.."stop" then
- sound:Stop()
- end
- if message:lower():sub(1, string.len(pref.."pitch ")) == pref.."pitch " then
- sound.Pitch = message:lower():sub(string.len(pref.."pitch ") + 1, string.len(message))
- end
- if message:lower():sub(1, string.len(pref.."volume ")) == pref.."volume " then
- sound.Volume = message:lower():sub(string.len(pref.."volume ") + 1, string.len(message)) / 10
- end
- end)
- local partt = Instance.new("Part", character)
- local partt2 = Instance.new("Part", character)
- local partt3 = Instance.new("Part", character)
- local mesh = Instance.new("SpecialMesh")
- local mesh3 = Instance.new("SpecialMesh")
- local mesh2 = Instance.new("SpecialMesh")
- game:service"RunService".RenderStepped:connect(function()
- if primary:IsAncestorOf(sound) == false then
- script.Disabled = true
- end
- i = i - 6
- local nou = i
- partt.Anchored = true
- partt.CanCollide = false
- partt.Transparency = 0.6
- partt.Material = "Neon"
- partt.Color = Color3.fromRGB(255,255,255)
- partt.CFrame = CFrame.new(primary.CFrame.p) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -(10 + partt.Size.Z / 3) )
- partt2.Anchored = true
- partt2.CanCollide = false
- partt2.Transparency = 0.6
- partt2.Material = "Glass"
- partt2.Color = Color3.fromRGB(0,0,0)
- partt2.CFrame = CFrame.new(primary.CFrame.p) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -(10 + partt.Size.Z / 3) )
- mesh.MeshType = Enum.MeshType.Sphere
- mesh.Parent = partt2
- partt3.Anchored = true
- partt3.CanCollide = false
- partt3.Transparency = 0.6
- partt3.Material = "Glass"
- partt3.Color = Color3.fromRGB(0,0,0)
- partt3.CFrame = CFrame.new(primary.CFrame.p) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -(10 + partt.Size.Z / 3) )
- mesh2.MeshType = Enum.MeshType.Sphere
- mesh2.Parent = partt3
- mesh3.MeshType = Enum.MeshType.Sphere
- mesh3.Parent = partt
- local TweenService = game:GetService("TweenService")
- local part = script.Parent
- local Info = TweenInfo.new(
- 3, -- Length
- Enum.EasingStyle.Elastic, -- Easing Style
- Enum.EasingDirection.Out, -- Easing Direction
- i, -- Times repeated
- false, -- Reverse
- 0 -- Delay
- )
- local Info2 = TweenInfo.new(
- 3, -- Length
- Enum.EasingStyle.Elastic, -- Easing Style
- Enum.EasingDirection.Out, -- Easing Direction
- i, -- Times repeated
- false, -- Reverse
- 0 -- Delay
- )
- local Goals =
- {
- Transparency = 0.1 + math.random(0.999,1);
- Size = Vector3.new(sound.PlaybackLoudness/21,sound.PlaybackLoudness/.1,sound.PlaybackLoudness/21);
- }
- local Goals2 =
- {
- Transparency = math.random(0.999,1);
- Size = Vector3.new(sound.PlaybackLoudness/13,sound.PlaybackLoudness/13,sound.PlaybackLoudness/13);
- Orientation = Vector3.new(2 * sound.PlaybackLoudness/12,12 * sound.PlaybackLoudness/12,12 * sound.PlaybackLoudness/12)
- }
- local Info3 = TweenInfo.new(
- 3, -- Length
- Enum.EasingStyle.Elastic, -- Easing Style
- Enum.EasingDirection.Out, -- Easing Direction
- i, -- Times repeated
- false, -- Reverse
- 0 -- Delay
- )
- local Goals3 =
- {
- Transparency = math.random(0.999,1);
- Size = Vector3.new(sound.PlaybackLoudness/8,sound.PlaybackLoudness/99,sound.PlaybackLoudness/8);
- Orientation = Vector3.new(4 * sound.PlaybackLoudness/12,4 * sound.PlaybackLoudness/12,4 * sound.PlaybackLoudness/12)
- }
- local tween = TweenService:Create(partt,Info,Goals)
- local tween2 = TweenService:Create(partt2,Info2,Goals2)
- local tween3 = TweenService:Create(partt3,Info3,Goals3)
- tween:Play()
- tween2:Play()
- tween3:Play()
- return
- end)
- end
- end
- RemoteFunc.OnClientInvoke = pcall(onCreatedVisualizer)
- RemoteFunc:InvokeServer(onCreatedVisualizer)
- RemoteEvent.OnCilentEvent = pcall(onCreatedVisualizer)
- RemoteEvent:FireServer(pcall(onCreatedVisualizer))
- local function RemoteEvents(Event)
- wait()
- if Event.ClassName == "RemoteEvent" or Event.ClassName == "RemoteFunction" then
- local getfunction = (function()
- local Events = {}
- print("Got Event")
- Events.PrepC1Event = function()
- if Event then
- print(Event)
- return Events.PrepC1Event
- end
- end
- Events.PrepC1Event()
- GetEvents = {}
- local GE = GetEvents[#Events]
- if GE then
- print(#GetEvents)
- end
- end)
- getfunction()
- end
- end
- RemoteEvents(RemoteEvent)
- RemoteEvents(RemoteFunc)
- --get owned FE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement