Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake;Fake = {Connections = {},
- fakeEvent=true;
- Connect=function(self,Func)
- Bind.Event:connect(Func)
- self.Connections[Bind] = true
- return setmetatable({Connected = true},{
- __index = function (self,Index)
- if Index:lower() == "disconnect" then
- return function() Fake.Connections[Bind] = false;self.Connected = false end
- end
- return Fake[Index]
- end;
- __tostring = function() return "Connection" end;
- })
- 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.Connections then
- for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
- end
- end
- Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then return 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
- end
- return RealPlayer[Index]
- 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)
- local FakeServices = {
- ["players"] = function()
- 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
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- 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
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return RealGame:GetService(Service)
- 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
- end
- return nil
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
- --[Noobie by youngmacka123]--
- --[DO NOT STEAL PLEASE]--
- --Variables--
- local player = owner
- local character = player.Character
- local m = owner:GetMouse()
- Character = owner.Character
- --Body Parts--
- character["Right Arm"].BrickColor = BrickColor.new("Bright yellow")
- character["Left Arm"].BrickColor = BrickColor.new("Bright yellow")
- character["Torso"].BrickColor = BrickColor.new("Bright blue")
- character["Right Leg"].BrickColor = BrickColor.new("Br. yellowish green")
- character["Left Leg"].BrickColor = BrickColor.new("Br. yellowish green")
- character["Head"].BrickColor = BrickColor.new("Bright yellow")
- --Remove Accessories and shirts--
- for i,v in pairs(Character:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Hair") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Shirt") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Pants") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Graphic Shirt") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("GraphicShirt") then
- v:Destroy()
- end
- end
- for _,v in pairs(Character:children()) do
- if v:IsA("Shirt") then
- v.ShirtTemplate = "rbxassetid://0"
- elseif v:IsA("Pants") then
- v.PantsTemplate = "rbxassetid://0"
- elseif v:IsA("ShirtGraphic") then
- v:Remove()
- wait(.1)
- Torso.roblox:Remove()
- elseif v:IsA("Accessory") then
- v:Remove()
- end
- end
- --Music--
- local song = Instance.new("Sound")
- song.Parent = character.Head
- song.Looped = true
- song.Playing = true
- song.MaxDistance = 9999999999999999999999999999999999999999999999999999
- song.EmitterSize = 9999999999999999999999999999999999999999999999999999
- song.SoundId = "rbxassetid://2379649259" or "rbxassetid://2379649259" or "rbxassetid://2390094411"
- --Keys--
- --F--
- local m = game.Players.LocalPlayer:GetMouse()
- db = true
- m.KeyDown:Connect(function(k)
- k = k:lower()
- if k == "f" then
- if db == true then
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://130766856"
- sound.Parent = game.Players.LocalPlayer.Character.Head
- sound.Playing = true
- wait(8)
- sound:Destroy()
- db = false
- wait(0)
- db = true
- end
- end
- --E--
- k = k:lower()
- if k == "e" then
- if db == true then
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://10722059"
- sound.Parent = game.Players.LocalPlayer.Character.Head
- sound.Playing = true
- local cola = Instance.new("Part")
- cola.Parent = workspace
- cola.Size = Vector3.new(1, 1, 1)
- cola.CanCollide = true
- cola.Anchored = true
- cola.Position = character["Right Arm"].Position - Vector3.new(0, 1, 0.2)
- cola.Orientation = Vector3.new(-90, 0, 0) + character["Right Arm"].Orientation
- local colashape = Instance.new("SpecialMesh")
- colashape.Parent = cola
- colashape.MeshId = "rbxassetid://10470609"
- colashape.TextureId = "rbxassetid://10470600"
- local spill = Instance.new("ParticleEmitter")
- spill.Parent = cola
- spill.EmissionDirection = "Top"
- spill.Texture = "rbxassetid://116179103"
- character.Torso.Anchored = true
- character.Head.Anchored = true
- character["Right Arm"].Anchored = true
- wait(4)
- character.Torso.Anchored = false
- character.Head.Anchored = false
- character["Right Arm"].Anchored = false
- cola.Anchored = false
- wait(4)
- cola:Destroy()
- colashape:Destroy()
- wait(8)
- sound:Destroy()
- db = false
- wait(0)
- db = true
- end
- end
- --M--
- k = k:lower()
- if k == "m" then
- if db == true then
- character["Right Arm"].BrickColor = BrickColor.new("Bright red")
- character["Left Arm"].BrickColor = BrickColor.new("Bright red")
- character["Torso"].BrickColor = BrickColor.new("Maroon")
- character["Right Leg"].BrickColor = BrickColor.new("Persimmon")
- character["Left Leg"].BrickColor = BrickColor.new("Persimmon")
- character["Head"].BrickColor = BrickColor.new("Bright red")
- character.Humanoid.WalkSpeed = 50
- local flame = Instance.new("Fire")
- flame.Parent = character.Torso
- flame.Color = Color3.new(255, 0, 0)
- flame.Size = 15
- song.SoundId = "rbxassetid://2000758549"
- db = false
- wait(0)
- db = true
- --N--
- k = k:lower()
- if k == "n" then
- if db == true then
- character["Right Arm"].BrickColor = BrickColor.new("Bright yellow")
- character["Left Arm"].BrickColor = BrickColor.new("Bright yellow")
- character["Torso"].BrickColor = BrickColor.new("Bright blue")
- character["Right Leg"].BrickColor = BrickColor.new("Br. yellowish green")
- character["Left Leg"].BrickColor = BrickColor.new("Br. yellowish green")
- character["Head"].BrickColor = BrickColor.new("Bright yellow")
- character.Torso.Fire:Destroy()
- character.Humanoid.WalkSpeed = 16
- song.SoundId = "rbxassetid://2379649259"
- db = false
- wait(5)
- db = true
- end
- end
- end
- end
- --N--
- k = k:lower()
- if k == "n" then
- if db == true then
- character["Right Arm"].BrickColor = BrickColor.new("Bright yellow")
- character["Left Arm"].BrickColor = BrickColor.new("Bright yellow")
- character["Torso"].BrickColor = BrickColor.new("Bright blue")
- character["Right Leg"].BrickColor = BrickColor.new("Br. yellowish green")
- character["Left Leg"].BrickColor = BrickColor.new("Br. yellowish green")
- character["Head"].BrickColor = BrickColor.new("Bright yellow")
- character.Torso.Fire:Destroy()
- character.Humanoid.WalkSpeed = 16
- song.SoundId = "rbxassetid://2379649259"
- db = false
- wait(0)
- db = true
- end
- end
- --J--
- k = k:lower()
- if k == "j" then
- if db == true then
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://130768088"
- sound.Parent = game.Players.LocalPlayer.Character.Head
- sound.Playing = true
- character.Humanoid.Sit = true
- wait(5)
- character.Humanoid.Sit = false
- character.Humanoid.Health = 0
- wait(8)
- sound:Destroy()
- db = false
- wait(0)
- db = true
- end
- end
- --B--
- k = k:lower()
- if k == "b" then
- if db == true then
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://235997694"
- sound.Parent = game.Players.LocalPlayer.Character.Head
- sound.Playing = true
- local krabs = Instance.new("ParticleEmitter")
- krabs.Parent = character.Torso
- krabs.Texture = "rbxassetid://861387966"
- krabs.EmissionDirection = "Top"
- wait(8)
- krabs:Destroy()
- sound:Destroy()
- db = false
- wait(0)
- db = true
- end
- end
- --V--
- k = k:lower()
- if k == "v" then
- if db == true then
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://1956227700"
- sound.Parent = game.Players.LocalPlayer.Character.Head
- sound.Playing = true
- wait(14)
- sound:Destroy()
- db = false
- wait(0)
- db = true
- end
- end
- --K--
- k = k:lower()
- if k == "k" then
- if db == true then
- song.SoundId = "rbxassetid://0"
- db = false
- wait(0)
- db = true
- end
- end
- --X--
- k = k:lower()
- if k == "x" then
- if db == true then
- song.SoundId = "rbxassetid://2379649259"
- db = false
- wait(0)
- db = true
- end
- end
- --C--
- k = k:lower()
- if k == "c" then
- if db == true then
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://771440721"
- sound.Parent = game.Players.LocalPlayer.Character.Head
- sound.Playing = true
- wait(8)
- sound:Destroy()
- db = false
- wait(0)
- db = true
- end
- end
- --L--
- k = k:lower()
- if k == "l" then
- if db == true then
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://259277221"
- sound.Parent = game.Players.LocalPlayer.Character.Head
- sound.Volume = 1.5
- sound.Playing = true
- character.Humanoid.Sit = true
- wait(0.5)
- character.Humanoid.Sit = false
- wait(0.5)
- character.Humanoid.Sit = true
- wait(0.5)
- character.Humanoid.Sit = false
- wait(0.5)
- character.Humanoid.Sit = true
- wait(0.5)
- character.Humanoid.Sit = false
- wait(0.5)
- character.Humanoid.Sit = true
- wait(0.5)
- character.Humanoid.Sit = false
- wait(0.5)
- db = false
- wait(0)
- db = true
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement