Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- FilteringEnabled Script Bar
- Run non-fe compatable scripts under Mokorios's compability code.
- It should be compatible with most scripts, but if you encounter issues make sure to let Mokorios know.
- The FE Compatibility code can be found at:
- https://github.com/Mokiros/roblox-FE-compatibility.
- --]]
- if not script:IsA("LocalScript") then
- error(">> This script is being run as a server-sided script (or modulescript?) instead of a localscript.\nYou'll need to run it as a localscript, with hl/(url).")
- end
- if not NS then
- NS = function() end
- end
- services = setmetatable({}, {
- __index = function(self, k, ...)
- return game:GetService(k)
- end})
- local plr = services.Players.LocalPlayer
- print("Credit to Mokiros for his FE Compatibility script.\nThis project wouldn't be possible without him.\n")
- print("You can obtain a copy of his code for his FE compatability at https://github.com/Mokiros/roblox-FE-compatibility.\n")
- print("You may also obtain a copy of his licence at https://raw.githubusercontent.com/Mokiros/roblox-FE-compatibility/master/LICENSE.\n")
- print("All of the source code in exception to his compatability code is in the public domain, and was made by TheFlamingBlaster.")
- local fecompat = [[
- 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 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]]
- NS([[
- wait(1)
- local requestHandlers = {
- ["HttpGet"] = function(client, url, cache)
- return game:GetService"HttpService":GetAsync(url, cache or true)
- end,
- ["GetDataStore"] = function(client, ds, key)
- local ds = game:GetService"DataStoreService":GetDataStore(ds):GetAsync(key)
- end,
- ["SetDataStore"] = function(client, ds, key, newval)
- local ds = game:GetService"DataStoreService":GetDataStore(ds):SetAsync(key, newval)
- end
- }
- local generateRemote
- generateRemote = function()
- local remote = Instance.new("RemoteFunction")
- remote.Name = getfenv().owner.Name.." : Coms"
- remote.OnServerInvoke = function(client, request, ...)
- if requestHandlers[request] then
- return requestHandlers[request](client, ...)
- end
- end
- remote.Parent = workspace
- remote.AncestryChanged:Connect(function()
- delay(0.03, function()
- if remote then
- remote:Destroy()
- end
- end)
- generateRemote()
- end)
- end
- generateRemote()
- ]], workspace)
- local remote = workspace:FindFirstChild(plr.Name..": Coms") or workspace:WaitForChild(plr.Name.." : Coms")
- -- Objects
- local FEBar = Instance.new("ScreenGui")
- local BG = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local Exit = Instance.new("TextButton")
- local UrlBar = Instance.new("TextBox")
- local TextLabel_2 = Instance.new("TextLabel")
- -- Properties
- FEBar.Name = "FEBar"
- BG.Name = "BG"
- BG.Parent = FEBar
- BG.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
- BG.BorderSizePixel = 0
- BG.Position = UDim2.new(0.720785916, 0, 0.897717714, 0)
- BG.Size = UDim2.new(0.279214054, 0, 0.10228233, 0)
- TextLabel.Parent = BG
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0.683333337, 0, 0.201834857, 0)
- TextLabel.Font = Enum.Font.SourceSansSemibold
- TextLabel.FontSize = Enum.FontSize.Size14
- TextLabel.Text = "FE Command Bar"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextWrapped = true
- TextLabel.TextXAlignment = Enum.TextXAlignment.Left
- Exit.Name = "Exit"
- Exit.Parent = BG
- Exit.BackgroundColor3 = Color3.new(1, 1, 1)
- Exit.BackgroundTransparency = 1
- Exit.Position = UDim2.new(0.899999976, 0, 0, 0)
- Exit.Size = UDim2.new(0.100000001, 0, 0.206422016, 0)
- Exit.Font = Enum.Font.SourceSans
- Exit.FontSize = Enum.FontSize.Size14
- Exit.Text = "X"
- Exit.TextColor3 = Color3.new(1, 0, 0)
- Exit.TextScaled = true
- Exit.TextWrapped = true
- UrlBar.Name = "UrlBar"
- UrlBar.Parent = BG
- UrlBar.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- UrlBar.BorderSizePixel = 0
- UrlBar.Position = UDim2.new(0, 0, 0.247933879, 0)
- UrlBar.Size = UDim2.new(1, 0, 0.504132211, 0)
- UrlBar.Font = Enum.Font.SourceSans
- UrlBar.FontSize = Enum.FontSize.Size14
- UrlBar.Text = ""
- UrlBar.TextColor3 = Color3.new(0, 0, 0)
- UrlBar.TextScaled = true
- UrlBar.TextWrapped = true
- UrlBar.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel_2.Parent = BG
- TextLabel_2.BackgroundColor3 = Color3.new(1, 0, 0)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.Position = UDim2.new(0, 0, 0.834710777, 0)
- TextLabel_2.Size = UDim2.new(1, 0, 0.165289253, 0)
- TextLabel_2.Font = Enum.Font.SourceSansSemibold
- TextLabel_2.FontSize = Enum.FontSize.Size14
- TextLabel_2.Text = "Click the black box above, paste in your link and press \"Enter\" to run your script."
- TextLabel_2.TextColor3 = Color3.new(1, 0, 0)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextWrapped = true
- TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
- Exit.MouseButton1Click:Connect(function()
- FEBar:Destroy()
- script.Disabled = true
- end)
- local curtext = ""
- UrlBar.Changed:Connect(function()
- if not UrlBar.Text:match("#") then
- curtext = UrlBar.Text
- end
- end)
- UrlBar.FocusLost:Connect(function(e)
- if e == true then
- if curtext:sub(1, 3) == "hl/" then
- UrlBar.Text = curtext:sub(3)
- end
- if curtext:sub(1, 2) == "h/" then
- UrlBar.Text = curtext:sub(2)
- end
- NS(fecompat.." "..remote:InvokeServer("HttpGet", curtext), workspace)
- print("Running "..curtext)
- end
- end)
- FEBar.Parent = plr:FindFirstChildOfClass"PlayerGui"
- function fWeld(zName, zParent, zPart0, zPart1, zCoco, a, b, c, d, e, f)
- local funcw = Instance.new("Weld")
- funcw.Name = zName
- funcw.Parent = zParent
- funcw.Part0 = zPart0
- funcw.Part1 = zPart1
- if (zCoco == true) then
- funcw.C0 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
- else
- funcw.C1 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
- end
- return funcw
- end
- function fun(n1, n2)
- pcall(function()
- t1 = game.Players[n1].Character.Torso
- t2 = game.Players[n2].Character.Torso
- t2.Parent.Humanoid.PlatformStand = true
- t1["Left Shoulder"]:Remove()
- ls1 = Instance.new("Weld")
- ls1.Parent = t1
- ls1.Part0 = t1
- ls1.Part1 = t1.Parent["Left Arm"]
- ls1.C0 = CFrame.new(-1.5,0,0)
- ls1.Name = "Left Shoulder"
- t1["Right Shoulder"]:Remove()
- rs1 = Instance.new("Weld")
- rs1.Parent = t1
- rs1.Part0 = t1
- rs1.Part1 = t1.Parent["Right Arm"]
- rs1.C0 = CFrame.new(1.5,0,0)
- rs1.Name = "Right Shoulder"
- t2["Left Shoulder"]:Remove()
- ls2 = Instance.new("Weld")
- ls2.Parent = t2
- ls2.Part0 = t2
- ls2.Part1 = t2.Parent["Left Arm"]
- ls2.C0 = CFrame.new(-1.5,0,0)
- ls2.Name = "Left Shoulder"
- t2["Right Shoulder"]:Remove()
- rs2 = Instance.new("Weld")
- rs2.Parent = t2
- rs2.Part0 = t2
- rs2.Part1 = t2.Parent["Right Arm"]
- rs2.C0 = CFrame.new(1.5,0,0)
- rs2.Name = "Right Shoulder"
- t2["Left Hip"]:Remove()
- lh2 = Instance.new("Weld")
- lh2.Parent = t2
- lh2.Part0 = t2
- lh2.Part1 = t2.Parent["Left Leg"]
- lh2.C0 = CFrame.new(-0.5,-2,0)
- lh2.Name = "Left Hip"
- t2["Right Hip"]:Remove()
- rh2 = Instance.new("Weld")
- rh2.Parent = t2
- rh2.Part0 = t2
- rh2.Part1 = t2.Parent["Right Leg"]
- rh2.C0 = CFrame.new(0.5,-2,0)
- rh2.Name = "Right Hip"
- local d = Instance.new("Part")
- d.TopSurface = 0
- d.BottomSurface = 0
- d.CanCollide = false
- d.BrickColor = BrickColor.new("Medium stone grey")
- d.Shape = "Ball"
- d.Parent = t1
- d.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = d
- dm.Scale = Vector3.new(0.4,0.4,0.4)
- fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
- d2 = d:Clone()
- d2.Parent = t1
- fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
- local c = Instance.new("Part")
- c.TopSurface = 0
- c.BottomSurface = 0
- c.CanCollide = false
- c.BrickColor = BrickColor.new("Pastel brown")
- c.Parent = t1
- c.formFactor = "Custom"
- c.Size = Vector3.new(0.4,1.3,0.4)
- cm = Instance.new("CylinderMesh")
- cm.Parent = c
- a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
- c2 = d:Clone()
- c2.BrickColor = BrickColor.new("Medium stone grey")
- c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
- c2.Parent = t1
- fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
- local bl = Instance.new("Part")
- bl.TopSurface = 0
- bl.BottomSurface = 0
- bl.CanCollide = false
- bl.BrickColor = BrickColor.new("Pastel brown")
- bl.Shape = "Ball"
- bl.Parent = t2
- bl.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = bl
- dm.Scale = Vector3.new(1.2,1.2,1.2)
- fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
- local br = Instance.new("Part")
- br.TopSurface = 0
- br.BottomSurface = 0
- br.CanCollide = false
- br.BrickColor = BrickColor.new("Pastel brown")
- br.Shape = "Ball"
- br.Parent = t2
- br.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = br
- dm.Scale = Vector3.new(1.2,1.2,1.2)
- fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
- local bln = Instance.new("Part")
- bln.TopSurface = 0
- bln.BottomSurface = 0
- bln.CanCollide = false
- bln.Shape = "Ball"
- bln.Parent = t2
- bln.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = bln
- dm.Scale = Vector3.new(0.2,0.2,0.2)
- fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
- local brn = Instance.new("Part")
- brn.TopSurface = 0
- brn.BottomSurface = 0
- brn.CanCollide = false
- brn.Shape = "Ball"
- brn.Parent = t2
- brn.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = brn
- dm.Scale = Vector3.new(0.2,0.2,0.2)
- fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
- lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0)
- rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0)
- ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.9,-0.4,0)
- rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.9,0.4,0)
- ls1.C1 = CFrame.new(-0.5,0.7,0) * CFrame.Angles(-0.9,-0.4,0)
- rs1.C1 = CFrame.new(0.5,0.7,0) * CFrame.Angles(-0.9,0.4,0)
- if t1:findFirstChild("weldx") ~= nil then
- t1.weldx:Remove()
- end
- we = fWeld("weldx", t1, t1, t2, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
- n = t2.Neck
- n.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
- end)
- coroutine.resume(coroutine.create(function()
- while wait() do
- for i = 1,6 do
- we.C1 = we.C1 * CFrame.new(0,-0.3,0)
- wait()
- end
- for i = 1,6 do
- we.C1 = we.C1 * CFrame.new(0,0.3,0)
- wait()
- end
- end
- end))
- end
- fun("Purinkuz", "xXPaxxion_FxuitXx")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement