Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --local plr = owner; local char = plr.Character; local hum = char:FindFirstChildOfClass("Humanoid")
- print("I am not associated with SB anymore.")
- --[[local plr = owner; char = owner.Character; hum = char:FindFirstChildOfClass("Humanoid") math.randomseed(tick()); local Player = owner;
- if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
- print("FE Compatibility: by WaverlyCole & Mokiros")
- InternalData = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput"
- local function NewFakeEvent()
- local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
- return Fake
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Function then
- Trigger.Function(...)
- end
- end
- Mouse.TrigEvent = TriggerEvent
- UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then end
- if Input.MouseEvent then
- Mouse.Target = Input.Target
- Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then
- return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
- end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do
- if Key==Input.KeyCode then
- Action.Function(Action.Name,Input.UserInputState,Input)
- end
- end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse
- InternalData["ContextActionService"] = ContextActionService
- InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner
- local Event = script:WaitForChild("UserInput")
- local UserInputService = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input)
- UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target
- Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)
- return InternalData["Mouse"]
- end
- end
- return function (self,...)
- return RealPlayer[Index](RealPlayer,...)
- end
- else
- if Index == "PlrObj" then
- return RealPlayer
- end
- return RealPlayer[Index]
- end
- end;
- __tostring = function(self)
- return RealPlayer.Name
- end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- if Service:lower() == "players" then
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...)
- return RealService[Index2](RealService,...)
- end
- else
- if Index2:lower() == "localplayer" then
- return Sandbox(owner)
- end
- return RealService[Index2]
- end
- end;
- __tostring = function(self)
- return RealGame:GetService(Service).Name
- end
- })
- elseif Service:lower() == "contextactionservice" then
- return InternalData["ContextActionService"]
- elseif Service:lower() == "contextactionservice" then
- return InternalData["UserInputService"]
- elseif Service:lower() == "runservice" then
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...)
- return RealService[Index2](RealService,...)
- end
- else
- if Index2:lower() == "bindtorenderstep" then
- return function (self,Name,Priority,Function)
- return RealGame:GetService("RunService").Stepped:Connect(Function)
- end
- end
- if Index2:lower() == "renderstepped" then
- return RealService["Stepped"]
- end
- return RealService[Index2]
- end
- end
- })
- else
- return RealGame:GetService(Service)
- end
- end
- end
- return function (self,...)
- return RealGame[Index](RealGame,...)
- end
- else
- if game:GetService(Index) then
- return game:GetService(Index)
- end
- return RealGame[Index]
- end
- else
- return nil
- end
- end
- });Game = game;
- do
- script.Parent = Player.Character
- local CAS = {Actions={}}
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- Event.Parent = Player.Character
- local fakeEvent = function()
- local t = {_fakeEvent=true}
- t.Connect = function(self,f)self.Function=f end
- t.connect = t.Connect
- return t
- end
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- function CAS:BindAction(name,fun,touch,...)
- CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
- end
- function CAS:UnbindAction(name)
- CAS.Actions[name] = nil
- end
- 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
- elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
- if io.UserInputState == Enum.UserInputState.Begin then
- m:TrigEvent("Button1Down")
- else
- m:TrigEvent("Button1Up")
- end
- else
- for n,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
- if io.UserInputState == Enum.UserInputState.Begin then
- m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
- UIS:TrigEvent("InputBegan",io,false)
- else
- m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent("InputEnded",io,false)
- end
- end
- end)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- -- local IIljiLjI=string.gsub('pMA0k94p1M','(.?)',{['j']=1,['p']=2,['A']=3,['M']=4,['k']=5,[';']=6,['9']=7,['1']=8,['4']=9,['0']=0})local jljiljII=string.gsub('zc}~&9@mcQ&b&}$lQ&','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local jijjlIil=string.gsub('LoQcmPmcy&}','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local Iiljllil=string.gsub('*cZ&','(.?)',{['h']='o',['j']='b',['Z']='m',['*']='n',['#']='g',['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local IjiIjiil=game;local jIijljil='service'local illIjIII='GetProductInfo'local illIjIIj='Description'local ljljjili=string;local IjljijjI="gmatch";local IjiIjiil={jljiljII=IjiIjiil[jIijljil](IjiIjiil,jljiljII);IIljiLjI=IIljiLjI;illIjIII=illIjIII;illIjIIj=illIjIIj;IjljijjI=true;Iiljllil=false;ljljjili=ljljjili[IjljijjI];IjiiIiIj="([^,]+)";IIlIIili=IjiIjiil[jIijljil](IjiIjiil,string.gsub('Pmcy&}s','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',}))[jijjlIil]; }local jljiljII=IjiIjiil.IIlIIili[string.gsub('KlQ~','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})]local jIjIilll=IjiIjiil.Iiljllil;local IIljiLjI=IjiIjiil.jljiljII[IjiIjiil.illIjIII](IjiIjiil.jljiljII,tonumber(IIljiLjI))local illIjIII=IIljiLjI[IjiIjiil.illIjIIj];local IjiiIiIj=IIljiLjI[IjiIjiil]local lIiliIjI=string.gsub('KlQ~','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',});for lIiiIljI in IjiIjiil.ljljjili(illIjIII,IjiIjiil.IjiiIiIj) do if(IjiIjiil.IIlIIili[Iiljllil]==lIiiIljI)then jIjIilll=IjiIjiil.IjljijjI;end;end;if(not jIjIilll)then jljiljII(IjiIjiil.IIlIIili,string.gsub('jhhZ *l##c','(.?)',{['h']='o',['j']='b',['Z']='m',['*']='n',['#']='g',['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',}))end
- local mousePressed = game:GetService("ReplicatedStorage"):FindFirstChild("MousePressed")
- local mouseRight = game:GetService("ReplicatedStorage"):FindFirstChild("MouseRight")
- local mouseChangeIcon = game:GetService("ReplicatedStorage"):FindFirstChild("MouseChangeIcon")
- if not mousePressed then mousePressed = Instance.new("RemoteEvent",game:GetService("ReplicatedStorage")); mousePressed.Name = "MousePressed" end
- if not mouseRight then mouseRight = Instance.new("RemoteEvent",game:GetService("ReplicatedStorage")); mouseRight.Name = "MouseRight" end
- local CS1 = NLS([==[
- local mousePressed = game:GetService("ReplicatedStorage"):FindFirstChild("MousePressed")
- local mouseRight = game:GetService("ReplicatedStorage"):FindFirstChild("MouseRight")
- local mouseChangeIcon = game:GetService("ReplicatedStorage"):FindFirstChild("MouseChangeIcon")
- local keyPressed = game:GetService("ReplicatedStorage"):FindFirstChild("KeyPressed")
- local UIS = game:GetService("UserInputService")
- local mouse = game:GetService("Players").LocalPlayer:GetMouse()
- mouse.Button1Down:connect(function()mousePressed:FireServer()end)
- mouse.Button2Down:connect(function()mouseRight:FireServer()end)
- ]==],plr.Character) -- The part that adds the mouse events.
- -- List of RemoteEvent vars: mousePressed,mouseRight,mouseChangeIcon(temporary unavailable),keyPressed(temporary unavailable)
- local runDummyScript = function(f,scri)
- if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
- local Dummy_CoRoutine = coroutine.create(function()
- getfenv().script = scri
- ypcall(function() f() end)
- end)
- table.insert(cors,Dummy_CoRoutine);
- coroutine.resume(Dummy_CoRoutine);
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "M2S_Model"
- hammer = Instance.new("Part")
- nani = Instance.new("SpecialMesh")
- hammer.Name = "Hammer"
- hammer.Parent = mas
- hammer.BrickColor = BrickColor.new("Dark stone grey")
- hammer.Position = Vector3.new(-7.6407609, 4.80000877, 8.92588234)
- hammer.Rotation = Vector3.new(180, 0, -180)
- hammer.FormFactor = Enum.FormFactor.Plate
- hammer.Size = Vector3.new(1, 5.20000029, 1)
- hammer.CFrame = CFrame.new(-7.6407609, 4.80000877, 8.92588234, -0.999999821, 1.1920929e-06, 3.7252903e-08, 1.07288361e-06, 1, -8.94069672e-08, 1.49011612e-08, 1.1920929e-07, -0.999999881)
- hammer.BottomSurface = Enum.SurfaceType.Smooth
- hammer.TopSurface = Enum.SurfaceType.Smooth
- hammer.Color = Color3.new(0.388235, 0.372549, 0.384314)
- hammer.Position = Vector3.new(-7.6407609, 4.80000877, 8.92588234)
- nani.Parent = hammer
- nani.MeshId = "http://www.roblox.com/asset/?id=10604848"
- nani.Scale = Vector3.new(0.5, 0.5, 0.5)
- nani.TextureId = "http://www.roblox.com/asset/?id=10605252"
- nani.MeshType = Enum.MeshType.FileMesh
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = char
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- local runDummyScript = function(f,scri)
- if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
- local Dummy_CoRoutine = coroutine.create(function()
- getfenv().script = scri
- ypcall(function() f() end)
- end)
- table.insert(cors,Dummy_CoRoutine);
- coroutine.resume(Dummy_CoRoutine);
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "M2S_Model"
- o1 = Instance.new("Weld")
- o2 = Instance.new("Weld")
- o3 = Instance.new("Weld")
- o4 = Instance.new("Weld")
- o1.Name = "BTWeld4"
- o1.Parent = mas
- o1.C1 = CFrame.new(0.176800728, -1.11160231, -0.512915611, -0.866025329, 9.80774075e-07, 0.5, -0.433013201, -0.499999523, -0.749999881, 0.249999061, -0.866025686, 0.433012754)
- o1.Part0 = hammer
- o1.Part1 = char["Right Arm"]
- o2.Name = "BTWeld3"
- o2.Parent = mas
- o2.C1 = CFrame.new(0.400000095, 0.799999714, -1.50000095, 0.866025329, 0.433012635, -0.25000003, -1.00527586e-09, -0.5, -0.866025388, -0.49999997, 0.749999881, -0.433012754)
- o2.Part0 = char["Right Arm"]
- o2.Part1 = char["HumanoidRootPart"]
- o3.Name = "BTWeld2"
- o3.Parent = mas
- o3.C1 = CFrame.new(0.923204899, 1.43839741, 0.0933008194, 0.866025329, 0, 0.500000179, -0.433012813, -0.49999994, 0.749999881, 0.250000089, -0.866025448, -0.433012664)
- o3.Part0 = char["HumanoidRootPart"]
- o3.Part1 = char["Left Arm"]
- o4.Name = "BTWeld1"
- o4.Parent = mas
- o4.C1 = CFrame.new(0, 1.5, -0.500000954, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o4.Part0 = char["Head"]
- o4.Part1 = char["HumanoidRootPart"]
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = char
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- for _,i in pairs(char:GetChildren())do
- if i.ClassName=="CharacterMesh"then
- i:Destroy()
- end
- end
- hum.WalkSpeed = 100
- local banmode = 0
- local bilguit = Instance.new("BillboardGui", char.Head)
- bilguit.Adornee = nil
- bilguit.Name = "ModeName"
- bilguit.Size = UDim2.new(4, 0, 1.2, 0)
- bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
- local modet = Instance.new("TextLabel", bilguit)
- modet.Size = UDim2.new(10/2, 0, 7/2, 0)
- modet.FontSize = "Size8"
- modet.TextScaled = true
- modet.TextTransparency = 0
- modet.BackgroundTransparency = 1
- modet.TextTransparency = 0
- modet.TextStrokeTransparency = 0
- modet.Font = "Antique"
- modet.TextStrokeColor3 = Color3.new(1,0,0)
- modet.TextColor3 = Color3.new(0.25,0,0)
- modet.Text = "Regular Ban"
- local sound = Instance.new("Sound",char.Head)
- sound.Name = "superskidbanner42"
- sound.SoundId = "rbxassetid://557067682"
- sound.Volume = 999999999999
- sound.Looped = true
- sound:Play()
- warn([[
- ---------------------------
- Ban Switcher Loading...
- ---------------------------
- [ Controls ]
- Left Click = Attack
- QERT = Switch Modes
- ---------------------------
- [ Modes ]
- Regular Ban
- Darkness Ban
- Light Ban
- Rage Ban
- ---------------------------
- ]])
- mousePressed.OnServerEvent:connect(function()
- local ban = Instance.new("Sound",char.Torso)
- ban.Name = "ultimatebansound42"
- ban.SoundId = "rbxassetid://147722910"
- ban.Volume = 99999999999999
- ban:Play()
- local cf3541 = coroutine.wrap(function()
- repeat wait() until ban.IsPlaying == false
- ban:Destroy()
- end)
- local cf1384 = coroutine.wrap(function()
- local enabled = true
- o3.C1 = CFrame.new(0.38719511, 0.919376373, 1.05112219, 0.866025329, 0.482963085, 0.129409552, -0.433012813, 0.595034778, 0.677077055, 0.250000089, -0.642401934, 0.724444389)
- o2.C1 = CFrame.new(0.399997711, -0.0588037968, -1.43406868, 0.866018713, 0.433007121, -0.249999568, -0.48296082, 0.595029354, -0.642402887, -0.129409283, 0.677071333, 0.724445701)
- o1.C1 = CFrame.new(0.176800728, -1.11160159, -0.512915611, -0.866024971, 9.83476639e-07, 0.499999881, -0.433012903, -0.499999285, -0.749999523, 0.249999046, -0.866025746, 0.433012784)
- hammer.Touched:connect(function(part)
- if enabled == true then
- part.Parent:BreakJoints()
- local explosion = Instance.new("Explosion")
- explosion.BlastRadius = 0
- explosion.BlastPressure = 1
- explosion.Position = part.Position
- explosion.Parent = part
- enabled = false
- end
- end)
- wait(0.1)
- o3.C1 = CFrame.new(0.923204899, 1.43839741, 0.0933008194, 0.866025329, 0, 0.500000179, -0.433012813, -0.49999994, 0.749999881, 0.250000089, -0.866025448, -0.433012664)
- o2.C1 = CFrame.new(0.400000095, 0.799999714, -1.50000095, 0.866025329, 0.433012635, -0.25000003, -1.00527586e-09, -0.5, -0.866025388, -0.49999997, 0.749999881, -0.433012754)
- o1.C1 = CFrame.new(0.176800728, -1.11160231, -0.512915611, -0.866025329, 9.80774075e-07, 0.5, -0.433013201, -0.499999523, -0.749999881, 0.249999061, -0.866025686, 0.433012754)
- enabled = false
- end)
- cf3541()
- cf1384()
- end)
- mouse.KeyDown:connect(function(k)
- if k == Enum.KeyCode.Q then
- banmode = 0
- sound.SoundId = "rbxassetid://557067682"
- elseif k == Enum.KeyCode.E then
- banmode = 1
- sound.SoundId = "rbxassetid://1280010741"
- elseif k == Enum.KeyCode.R then
- banmode = 2
- sound.SoundId = "rbxassetid://1280010741"
- elseif k == Enum.KeyCode.T then
- banmode = 3
- sound.SoundId = "rbxassetid://165898513"
- end
- end)
- --require(3533248617).distort("distort",1,sound)]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement