Advertisement
Silver_cole

Uh

Aug 14th, 2019
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.51 KB | None | 0 0
  1.  
  2.  
  3. --By Rufus14
  4.  
  5. --Converted with ttyyuu12345's model to script plugin v4
  6.  
  7.  
  8.  
  9. print("FE code by Starzozero, Thanks to him!")
  10.  
  11. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  12.  
  13. local Player,game,owner = owner,game
  14.  
  15. local RealPlayer = Player
  16.  
  17. do
  18.  
  19.     print("FE Compatibility code by Mokiros, Edited by StarzoZero")
  20.  
  21.     local rp = RealPlayer
  22.  
  23.     script.Parent = rp.Character
  24.  
  25.    
  26.  
  27.     --RemoteEvent for communicating
  28.  
  29.     local Event = Instance.new("RemoteEvent")
  30.  
  31.     Event.Name = "UserInput_Event"
  32.  
  33.  
  34.  
  35.     --Fake event to make stuff like Mouse.KeyDown work
  36.  
  37.     local function fakeEvent()
  38.  
  39.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  40.  
  41.         t.connect = t.Connect
  42.  
  43.         return t
  44.  
  45.     end
  46.  
  47.  
  48.  
  49.     --Creating fake input objects with fake variables
  50.  
  51.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  52.  
  53.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  54.  
  55.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  56.  
  57.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  58.  
  59.     end}
  60.  
  61.     --Merged 2 functions into one by checking amount of arguments
  62.  
  63.     CAS.UnbindAction = CAS.BindAction
  64.  
  65.  
  66.  
  67.     --This function will trigger the events that have been :Connect()'ed
  68.  
  69.     local function te(self,ev,...)
  70.  
  71.         local t = m[ev]
  72.  
  73.         if t and t._fakeEvent then
  74.  
  75.             for _,f in pairs(t.Functions) do
  76.  
  77.                 f(...)
  78.  
  79.             end
  80.  
  81.         end
  82.  
  83.     end
  84.  
  85.     m.TrigEvent = te
  86.  
  87.     UIS.TrigEvent = te
  88.  
  89.  
  90.  
  91.     Event.OnServerEvent:Connect(function(plr,io)
  92.  
  93.         if plr~=rp then return end
  94.  
  95.         m.Target = io.Target
  96.  
  97.         m.Hit = io.Hit
  98.  
  99.         if not io.isMouse then
  100.  
  101.             local b = io.UserInputState == Enum.UserInputState.Begin
  102.  
  103.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  104.  
  105.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  106.  
  107.             end
  108.  
  109.             if io.UserInputType == Enum.UserInputType.MouseButton2 then
  110.  
  111.                 return m:TrigEvent(b and "Button2Down" or "Button2Up")
  112.  
  113.             end
  114.  
  115.             for _,t in pairs(CAS.Actions) do
  116.  
  117.                 for _,k in pairs(t.Keys) do
  118.  
  119.                     if k==io.KeyCode then
  120.  
  121.                         t.Function(t.Name,io.UserInputState,io)
  122.  
  123.                     end
  124.  
  125.                 end
  126.  
  127.             end
  128.  
  129.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  130.  
  131.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  132.  
  133.         end
  134.  
  135.     end)
  136.  
  137.     Event.Parent = NLS([==[
  138.  
  139.     local Player = game:GetService("Players").LocalPlayer
  140.  
  141.     local Event = script:WaitForChild("UserInput_Event")
  142.  
  143.     local Mouse = Player:GetMouse()
  144.  
  145.     local UIS = game:GetService("UserInputService")
  146.  
  147.     local input = function(io,a)
  148.  
  149.         if a then return end
  150.  
  151.         --Since InputObject is a client-side instance, we create and pass table instead
  152.  
  153.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  154.  
  155.     end
  156.  
  157.     UIS.InputBegan:Connect(input)
  158.  
  159.     UIS.InputEnded:Connect(input)
  160.  
  161.     local h,t
  162.  
  163.     --Give the server mouse data 30 times every second, but only if the values changed
  164.  
  165.     --If player is not moving their mouse, client won't fire events
  166.  
  167.     while wait(1/30) do
  168.  
  169.         if h~=Mouse.Hit or t~=Mouse.Target then
  170.  
  171.             h,t=Mouse.Hit,Mouse.Target
  172.  
  173.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  174.  
  175.         end
  176.  
  177.     end]==],Player.Character)
  178.  
  179.  
  180.  
  181.     ----Sandboxed game object that allows the usage of client-side methods and services
  182.  
  183.     --Real game object
  184.  
  185.     local _rg = game
  186.  
  187.  
  188.  
  189.     --Metatable for fake service
  190.  
  191.     local fsmt = {
  192.  
  193.         __index = function(self,k)
  194.  
  195.             local s = rawget(self,"_RealService")
  196.  
  197.             if s then
  198.  
  199.                 return typeof(s[k])=="function"
  200.  
  201.                 and function(_,...)return s[k](s,...)end or s[k]
  202.  
  203.             end
  204.  
  205.         end,
  206.  
  207.         __newindex = function(self,k,v)
  208.  
  209.             local s = rawget(self,"_RealService")
  210.  
  211.             if s then s[k]=v end
  212.  
  213.         end
  214.  
  215.     }
  216.  
  217.     local function FakeService(t,RealService)
  218.  
  219.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  220.  
  221.         return setmetatable(t,fsmt)
  222.  
  223.     end
  224.  
  225.  
  226.  
  227.     --Fake game object
  228.  
  229.     local g = {
  230.  
  231.         GetService = function(self,s)
  232.  
  233.             return rawget(self,s) or _rg:GetService(s)
  234.  
  235.         end,
  236.  
  237.         Players = FakeService({
  238.  
  239.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  240.  
  241.         },"Players"),
  242.  
  243.         UserInputService = FakeService(UIS,"UserInputService"),
  244.  
  245.         ContextActionService = FakeService(CAS,"ContextActionService"),
  246.  
  247.         RunService = FakeService({
  248.  
  249.             _btrs = {},
  250.  
  251.             RenderStepped = _rg:GetService("RunService").Heartbeat,
  252.  
  253.             BindToRenderStep = function(self,name,_,fun)
  254.  
  255.                 self._btrs[name] = self.Heartbeat:Connect(fun)
  256.  
  257.             end,
  258.  
  259.             UnbindFromRenderStep = function(self,name)
  260.  
  261.                 self._btrs[name]:Disconnect()
  262.  
  263.             end,
  264.  
  265.         },"RunService")
  266.  
  267.     }
  268.  
  269.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  270.  
  271.     g.service = g.GetService
  272.  
  273.     FakeService(g,game)
  274.  
  275.     --Changing owner to fake player object to support owner:GetMouse()
  276.  
  277.     game,owner = g,g.Players.LocalPlayer
  278.  
  279. end
  280.  
  281.  
  282.  
  283. mouse = game.Players.LocalPlayer:GetMouse()
  284.  
  285. game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  286.  
  287. local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  288.  
  289. txtfag.Adornee = suckadick
  290.  
  291. txtfag.Name = "kys nigga"
  292.  
  293. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  294.  
  295. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  296.  
  297. local textfag = Instance.new("TextLabel", txtfag)
  298.  
  299. textfag.Size = UDim2.new(6, 0, 1, 0)
  300.  
  301. textfag.FontSize = "Size8"
  302.  
  303. textfag.TextScaled = true
  304.  
  305. textfag.TextTransparency = 0
  306.  
  307. textfag.BackgroundTransparency = 1
  308.  
  309. textfag.TextTransparency = 0
  310.  
  311. textfag.TextStrokeTransparency = 0
  312.  
  313. textfag.Font = "Cartoon"
  314.  
  315. textfag.TextStrokeColor3 = Color3.new(0, 1, 0)
  316.  
  317. v = Instance.new("Part")
  318.  
  319. v.Name = "ColorBrick"
  320.  
  321. v.Parent = part
  322.  
  323. v.FormFactor = "Symmetric"
  324.  
  325. v.Anchored = true
  326.  
  327. v.CanCollide = false
  328.  
  329. v.BottomSurface = "Smooth"
  330.  
  331. v.TopSurface = "Smooth"
  332.  
  333. v.Size = Vector3.new(10, 5, 3)
  334.  
  335. v.Transparency = 0.7
  336.  
  337. v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor
  338.  
  339. v.Transparency = 1
  340.  
  341. textfag.TextColor3 = v.BrickColor.Color
  342.  
  343. textfag.TextStrokeColor3 = Color3.new(0, 0, 0)
  344.  
  345. v.Shape = "Block"
  346.  
  347. textfag.Text = "Script By Rufus14"
  348.  
  349. wait(2)
  350.  
  351. textfag.Text = "lol"
  352.  
  353. wait(0.3)
  354.  
  355. textfag.Text = game.Players.LocalPlayer.Character.Name.." THE ULTIMATE ANTI-SKID"
  356.  
  357. local music = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  358.  
  359. music.Volume = 10
  360.  
  361. music.SoundId = "rbxassetid://322811739"
  362.  
  363. music:Play()
  364.  
  365. music.Looped = true
  366.  
  367. music.Name = "Youfaggot"
  368.  
  369. cloneofmusic = music:Clone()
  370.  
  371. alert = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  372.  
  373. alert.Volume = 10
  374.  
  375. alert.SoundId = "rbxassetid://1011639456"
  376.  
  377. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 20
  378.  
  379. --Converted with ttyyuu12345's model to script plugin v4
  380.  
  381. function sandbox(var,func)
  382.  
  383.     local env = getfenv(func)
  384.  
  385.     local newenv = setmetatable({},{
  386.  
  387.         __index = function(self,k)
  388.  
  389.             if k=="script" then
  390.  
  391.                 return var
  392.  
  393.             else
  394.  
  395.                 return env[k]
  396.  
  397.             end
  398.  
  399.         end,
  400.  
  401.     })
  402.  
  403.     setfenv(func,newenv)
  404.  
  405.     return func
  406.  
  407. end
  408.  
  409. cors = {}
  410.  
  411. mas = Instance.new("Model",game:GetService("Lighting"))
  412.  
  413. Model0 = Instance.new("Model")
  414.  
  415. Part1 = Instance.new("Part")
  416.  
  417. Part2 = Instance.new("Part")
  418.  
  419. Part3 = Instance.new("Part")
  420.  
  421. Part4 = Instance.new("Part")
  422.  
  423. Part5 = Instance.new("Part")
  424.  
  425. Part6 = Instance.new("Part")
  426.  
  427. Part7 = Instance.new("Part")
  428.  
  429. Part8 = Instance.new("Part")
  430.  
  431. Part9 = Instance.new("Part")
  432.  
  433. Model0.Name = "Jailol"
  434.  
  435. Model0.Parent = mas
  436.  
  437. Part1.Parent = Model0
  438.  
  439. Part1.Material = Enum.Material.Brick
  440.  
  441. Part1.BrickColor = BrickColor.new("Crimson")
  442.  
  443. Part1.Size = Vector3.new(27.2409039, 20.9545422, 4.19090843)
  444.  
  445. Part1.CFrame = CFrame.new(-14.9545441, 10.4772959, -87.8842926, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  446.  
  447. Part1.BottomSurface = Enum.SurfaceType.Smooth
  448.  
  449. Part1.TopSurface = Enum.SurfaceType.Smooth
  450.  
  451. Part1.Color = Color3.new(0.584314, 0.0470588, 0.0470588)
  452.  
  453. Part1.Position = Vector3.new(-14.9545441, 10.4772959, -87.8842926)
  454.  
  455. Part1.Color = Color3.new(0.584314, 0.0470588, 0.0470588)
  456.  
  457. Part2.Parent = Model0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement