Advertisement
idkwhatiam

Noobie FE (A script by youngmacka123)

Apr 29th, 2019
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.70 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3.     script.Parent = owner.Character
  4.     local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5.     local function NewFakeEvent()
  6.         local Bind = Instance.new("BindableEvent")
  7.         local Fake;Fake = {Connections = {},
  8.         fakeEvent=true;
  9.         Connect=function(self,Func)
  10.             Bind.Event:connect(Func)
  11.             self.Connections[Bind] = true
  12.             return setmetatable({Connected = true},{
  13.             __index = function (self,Index)
  14.                 if Index:lower() == "disconnect" then
  15.                     return function() Fake.Connections[Bind] = false;self.Connected = false end
  16.                 end
  17.                 return Fake[Index]
  18.             end;
  19.             __tostring = function() return "Connection" end;
  20.         })
  21.         end}
  22.         Fake.connect = Fake.Connect;return Fake;
  23.     end
  24.     local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25.     local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29.     local function TriggerEvent(self,Event,...)
  30.         local Trigger = Mouse[Event]
  31.         if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32.             for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33.         end
  34.     end
  35.     Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  37.         if FiredBy.Name ~= owner.Name then return end
  38.         if Input.MouseEvent then
  39.             Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40.         else
  41.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43.             for _,Action in pairs(ContextActionService.Actions) do
  44.                 for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45.             end
  46.             Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47.             UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48.         end
  49.     end)
  50.     InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51.     Event.Parent = NLS([[
  52.         local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53.         local Input = function(Input,gameProcessedEvent)
  54.             if gameProcessedEvent then return end
  55.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56.         end
  57.         UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58.         local Hit,Target
  59.         while wait(1/30) do
  60.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61.                 Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62.             end
  63.         end
  64.     ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67.     __index = function (self,Index)
  68.         local Sandbox = function (Thing)
  69.             if Thing:IsA("Player") then
  70.                 local RealPlayer = Thing
  71.                 return setmetatable({},{
  72.                     __index = function (self,Index)
  73.                         local Type = type(RealPlayer[Index])
  74.                         if Type == "function" then
  75.                             if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76.                                 return function (self)return InternalData["Mouse"] end
  77.                             end
  78.                             return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79.                         end
  80.                         return RealPlayer[Index]
  81.                     end;
  82.                     __tostring = function(self) return RealPlayer.Name end
  83.                 })
  84.             end
  85.         end
  86.         if RealGame[Index] then
  87.             local Type = type(RealGame[Index])
  88.             if Type == "function" then
  89.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  90.                     return function (self,Service)
  91.                         local FakeServices = {
  92.                             ["players"] = function()
  93.                                 return setmetatable({},{
  94.                                     __index = function (self2,Index2)
  95.                                         local RealService = RealGame:GetService(Service)
  96.                                         local Type2 = type(Index2)
  97.                                         if Type2 == "function" then
  98.                                             return function (self,...) return RealService[Index2](RealService,...)end
  99.                                         else
  100.                                             if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101.                                             return RealService[Index2]
  102.                                         end
  103.                                     end;
  104.                                     __tostring = function(self) return RealGame:GetService(Service).Name end
  105.                                 })
  106.                             end;
  107.                             ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108.                             ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109.                             ["runservice"] = function()
  110.                                 return setmetatable({},{
  111.                                     __index = function(self2,Index2)
  112.                                         local RealService = RealGame:GetService(Service)
  113.                                         local Type2 = type(Index2)
  114.                                         if Type2 == "function" then
  115.                                             return function (self,...) return RealService[Index2](RealService,...) end
  116.                                         else
  117.                                             local RunServices = {
  118.                                                 ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119.                                                 ["renderstepped"] = function() return RealService["Stepped"] end
  120.                                             }
  121.                                             if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122.                                             return RealService[Index2]
  123.                                         end
  124.                                     end
  125.                                 })
  126.                             end
  127.                         }
  128.                         if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129.                         return RealGame:GetService(Service)
  130.                     end
  131.                 end
  132.                 return function (self,...) return RealGame[Index](RealGame,...) end
  133.             else
  134.                 if game:GetService(Index) then return game:GetService(Index) end
  135.                 return RealGame[Index]
  136.             end
  137.         end
  138.         return nil
  139.     end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142.     --[Noobie by youngmacka123]--
  143.       --[DO NOT STEAL PLEASE]--
  144.    
  145.     --Variables--
  146.     local player = owner
  147.     local character = player.Character
  148.     local m = owner:GetMouse()
  149.     Character = owner.Character
  150.  
  151.     --Body Parts--
  152.     character["Right Arm"].BrickColor = BrickColor.new("Bright yellow")
  153.     character["Left Arm"].BrickColor = BrickColor.new("Bright yellow")
  154.     character["Torso"].BrickColor = BrickColor.new("Bright blue")
  155.     character["Right Leg"].BrickColor = BrickColor.new("Br. yellowish green")
  156.     character["Left Leg"].BrickColor = BrickColor.new("Br. yellowish green")
  157.     character["Head"].BrickColor = BrickColor.new("Bright yellow")
  158.  
  159.     --Remove Accessories and shirts--
  160.  
  161. for i,v in pairs(Character:children()) do
  162.     if v:IsA("Hat") then
  163.         v:Destroy()
  164.     end
  165. end
  166. for i,v in pairs(Character:children()) do
  167.     if v:IsA("Accessory") then
  168.         v:Destroy()
  169.     end
  170. end
  171. for i,v in pairs(Character:children()) do
  172.     if v:IsA("Hair") then
  173.         v:Destroy()
  174.     end
  175. end
  176. for i,v in pairs(Character:children()) do
  177.     if v:IsA("Shirt") then
  178.         v:Destroy()
  179.     end
  180. end
  181. for i,v in pairs(Character:children()) do
  182.     if v:IsA("Pants") then
  183.         v:Destroy()
  184.     end
  185. end
  186. for i,v in pairs(Character:children()) do
  187.     if v:IsA("Graphic Shirt") then
  188.         v:Destroy()
  189.     end
  190. end
  191. for i,v in pairs(Character:children()) do
  192.     if v:IsA("GraphicShirt") then
  193.         v:Destroy()
  194.     end
  195. end
  196.  
  197. for _,v in pairs(Character:children()) do
  198. if v:IsA("Shirt") then
  199. v.ShirtTemplate = "rbxassetid://0"
  200. elseif v:IsA("Pants") then
  201. v.PantsTemplate = "rbxassetid://0"
  202. elseif v:IsA("ShirtGraphic") then
  203. v:Remove()
  204. wait(.1)
  205. Torso.roblox:Remove()
  206. elseif v:IsA("Accessory") then
  207. v:Remove()
  208. end
  209. end
  210.     --Music--
  211.     local song = Instance.new("Sound")
  212.     song.Parent = character.Head
  213.     song.Looped = true
  214.     song.Playing = true
  215.     song.MaxDistance = 9999999999999999999999999999999999999999999999999999
  216.     song.EmitterSize = 9999999999999999999999999999999999999999999999999999
  217.     song.SoundId = "rbxassetid://2379649259" or "rbxassetid://2379649259" or "rbxassetid://2390094411"
  218.     --Keys--
  219.  
  220.     --F--
  221.     local m = game.Players.LocalPlayer:GetMouse()
  222.     db = true
  223.     m.KeyDown:Connect(function(k)
  224.     k = k:lower()
  225.     if k == "f" then
  226.         if db == true then
  227.             local sound = Instance.new("Sound")
  228.             sound.SoundId = "rbxassetid://130766856"
  229.             sound.Parent = game.Players.LocalPlayer.Character.Head
  230.             sound.Playing = true
  231.             wait(8)
  232.             sound:Destroy()
  233.             db = false
  234.             wait(0)
  235.             db = true
  236.         end
  237.     end
  238.     --E--
  239.     k = k:lower()
  240.     if k == "e" then
  241.         if db == true then
  242.             local sound = Instance.new("Sound")
  243.             sound.SoundId = "rbxassetid://10722059"
  244.             sound.Parent = game.Players.LocalPlayer.Character.Head
  245.             sound.Playing = true
  246.             local cola = Instance.new("Part")
  247.             cola.Parent = workspace
  248.             cola.Size = Vector3.new(1, 1, 1)
  249.             cola.CanCollide = true
  250.             cola.Anchored = true
  251.             cola.Position = character["Right Arm"].Position - Vector3.new(0, 1, 0.2)
  252.             cola.Orientation = Vector3.new(-90, 0, 0) + character["Right Arm"].Orientation
  253.             local colashape = Instance.new("SpecialMesh")
  254.             colashape.Parent = cola
  255.             colashape.MeshId = "rbxassetid://10470609"
  256.             colashape.TextureId = "rbxassetid://10470600"
  257.             local spill = Instance.new("ParticleEmitter")
  258.             spill.Parent = cola
  259.             spill.EmissionDirection = "Top"
  260.             spill.Texture = "rbxassetid://116179103"
  261.             character.Torso.Anchored = true
  262.             character.Head.Anchored = true
  263.             character["Right Arm"].Anchored = true
  264.             wait(4)
  265.             character.Torso.Anchored = false
  266.             character.Head.Anchored = false
  267.             character["Right Arm"].Anchored = false
  268.             cola.Anchored = false
  269.             wait(4)
  270.             cola:Destroy()
  271.             colashape:Destroy()
  272.             wait(8)
  273.             sound:Destroy()
  274.             db = false
  275.             wait(0)
  276.             db = true
  277.         end
  278.     end
  279.    
  280.     --M--
  281.     k = k:lower()
  282.     if k == "m" then
  283.         if db == true then
  284.     character["Right Arm"].BrickColor = BrickColor.new("Bright red")
  285.     character["Left Arm"].BrickColor = BrickColor.new("Bright red")
  286.     character["Torso"].BrickColor = BrickColor.new("Maroon")
  287.     character["Right Leg"].BrickColor = BrickColor.new("Persimmon")
  288.     character["Left Leg"].BrickColor = BrickColor.new("Persimmon")
  289.     character["Head"].BrickColor = BrickColor.new("Bright red")
  290.     character.Humanoid.WalkSpeed = 50
  291.     local flame = Instance.new("Fire")
  292.     flame.Parent = character.Torso
  293.     flame.Color = Color3.new(255, 0, 0)
  294.     flame.Size = 15
  295.     song.SoundId = "rbxassetid://2000758549"
  296.             db = false
  297.             wait(0)
  298.             db = true
  299.             --N--
  300. k = k:lower()
  301.     if k == "n" then
  302.         if db == true then
  303.     character["Right Arm"].BrickColor = BrickColor.new("Bright yellow")
  304.     character["Left Arm"].BrickColor = BrickColor.new("Bright yellow")
  305.     character["Torso"].BrickColor = BrickColor.new("Bright blue")
  306.     character["Right Leg"].BrickColor = BrickColor.new("Br. yellowish green")
  307.     character["Left Leg"].BrickColor = BrickColor.new("Br. yellowish green")
  308.     character["Head"].BrickColor = BrickColor.new("Bright yellow")
  309.     character.Torso.Fire:Destroy()
  310.     character.Humanoid.WalkSpeed = 16
  311.     song.SoundId = "rbxassetid://2379649259"
  312.            
  313.             db = false
  314.             wait(5)
  315.             db = true
  316.         end
  317.     end
  318.         end
  319.     end
  320.  
  321. --N--
  322. k = k:lower()
  323.     if k == "n" then
  324.         if db == true then
  325.     character["Right Arm"].BrickColor = BrickColor.new("Bright yellow")
  326.     character["Left Arm"].BrickColor = BrickColor.new("Bright yellow")
  327.     character["Torso"].BrickColor = BrickColor.new("Bright blue")
  328.     character["Right Leg"].BrickColor = BrickColor.new("Br. yellowish green")
  329.     character["Left Leg"].BrickColor = BrickColor.new("Br. yellowish green")
  330.     character["Head"].BrickColor = BrickColor.new("Bright yellow")
  331.     character.Torso.Fire:Destroy()
  332.     character.Humanoid.WalkSpeed = 16
  333.     song.SoundId = "rbxassetid://2379649259"
  334.            
  335.             db = false
  336.             wait(0)
  337.             db = true
  338.         end
  339.     end
  340.  
  341. --J--
  342. k = k:lower()
  343.     if k == "j" then
  344.         if db == true then
  345.             local sound = Instance.new("Sound")
  346.             sound.SoundId = "rbxassetid://130768088"
  347.             sound.Parent = game.Players.LocalPlayer.Character.Head
  348.             sound.Playing = true
  349.             character.Humanoid.Sit = true
  350.             wait(5)
  351.             character.Humanoid.Sit = false
  352.             character.Humanoid.Health = 0
  353.             wait(8)
  354.             sound:Destroy()
  355.             db = false
  356.             wait(0)
  357.             db = true
  358.         end
  359.     end
  360.    
  361.     --B--
  362. k = k:lower()
  363.     if k == "b" then
  364.         if db == true then
  365.             local sound = Instance.new("Sound")
  366.             sound.SoundId = "rbxassetid://235997694"
  367.             sound.Parent = game.Players.LocalPlayer.Character.Head
  368.             sound.Playing = true
  369.             local krabs = Instance.new("ParticleEmitter")
  370.             krabs.Parent = character.Torso
  371.             krabs.Texture = "rbxassetid://861387966"
  372.             krabs.EmissionDirection = "Top"
  373.             wait(8)
  374.             krabs:Destroy()
  375.             sound:Destroy()
  376.             db = false
  377.             wait(0)
  378.             db = true
  379.         end
  380.     end
  381.  
  382. --V--
  383. k = k:lower()
  384.     if k == "v" then
  385.         if db == true then
  386.             local sound = Instance.new("Sound")
  387.             sound.SoundId = "rbxassetid://1956227700"
  388.             sound.Parent = game.Players.LocalPlayer.Character.Head
  389.             sound.Playing = true
  390.             wait(14)
  391.             sound:Destroy()
  392.             db = false
  393.             wait(0)
  394.             db = true
  395.        
  396.        
  397.  
  398.         end
  399.     end
  400.  
  401.  
  402.     --K--
  403. k = k:lower()
  404.     if k == "k" then
  405.         if db == true then
  406.             song.SoundId = "rbxassetid://0"
  407.             db = false
  408.             wait(0)
  409.             db = true
  410.        
  411.        
  412.  
  413.         end
  414.     end
  415.  
  416.     --X--
  417. k = k:lower()
  418.     if k == "x" then
  419.         if db == true then
  420.             song.SoundId = "rbxassetid://2379649259"
  421.             db = false
  422.             wait(0)
  423.             db = true
  424.        
  425.        
  426.  
  427.         end
  428.     end
  429.    
  430.  
  431.     --C--
  432. k = k:lower()
  433.     if k == "c" then
  434.         if db == true then
  435.             local sound = Instance.new("Sound")
  436.             sound.SoundId = "rbxassetid://771440721"
  437.             sound.Parent = game.Players.LocalPlayer.Character.Head
  438.             sound.Playing = true
  439.             wait(8)
  440.             sound:Destroy()
  441.             db = false
  442.             wait(0)
  443.             db = true
  444.         end
  445.     end
  446.    
  447.    
  448.     --L--
  449. k = k:lower()
  450.     if k == "l" then
  451.         if db == true then
  452.             local sound = Instance.new("Sound")
  453.             sound.SoundId = "rbxassetid://259277221"
  454.             sound.Parent = game.Players.LocalPlayer.Character.Head
  455.             sound.Volume = 1.5
  456.             sound.Playing = true
  457.             character.Humanoid.Sit = true
  458.             wait(0.5)
  459.             character.Humanoid.Sit = false
  460.             wait(0.5)
  461.             character.Humanoid.Sit = true
  462.             wait(0.5)
  463.             character.Humanoid.Sit = false
  464.             wait(0.5)
  465.             character.Humanoid.Sit = true
  466.             wait(0.5)
  467.             character.Humanoid.Sit = false
  468.             wait(0.5)
  469.             character.Humanoid.Sit = true
  470.             wait(0.5)
  471.             character.Humanoid.Sit = false
  472.             wait(0.5)
  473.             db = false
  474.             wait(0)
  475.             db = true
  476.         end
  477.     end
  478. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement