Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- do
- print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- 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