Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script has been converted to FE by iPxter
- 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
- do
- print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- 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
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,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
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- -- input
- function GetRecursiveChildren(Part, Children)
- for _, Part in pairs(Part:GetChildren()) do
- pcall(function()
- table.insert(Children, Part)
- GetRecursiveChildren(Part, Children)
- end)
- end
- return Children
- end
- local Phrases = {
- "YOU ARE NOW Deo's L\2OVE-PUPPY",
- "SergeantSmokey was here!",
- "HAHAHAHAHAHAHAHAHAHAHAHA",
- "SergeantSmokey was here!",
- "ENJOY YOUR SERVER FOOLS!",
- "SergeantSmokey was here!!",
- "πππππππππππππππππππππππππππππππ",
- "Meow.",
- "Now compatible with Voidacity Script Builder.",
- "1x1x1x1 Was Not Here",
- "join team c00lkidd 2day! ",
- "minecraft is a good game.",
- "Oh, let's blow some things up!",
- "EAT MY PANTS!",
- "EAT MY SHIRT!",
- "No shirt, no shoes, no torso, no service.",
- "You got owned, bi-yatch.",
- "I heard you like hacks. Me too! Wow, we have so much in common! Want to go out some time?",
- "The Aperture Science Weighted Companion Cube will not stab you, and cannot speak.",
- "Please wait while I warm up the neurotoxins...",
- "Goodbye my only friend... / Wait, did you think I meant you? / That would be funny, / if it weren't so sad.",
- "Yousa gonna dia!",
- "THIS IS SPART- ERR I MEAN DEO!",
- "SergeantSmokey flashes!",
- "πππππππππππππππππππππππππππππππ",
- "YOU PICKED THE WRONG HOUSE FOLK!!",
- "HURR DURR.",
- "DURR.",
- "HURR.",
- "I'll kick your puppy!",
- "Oh lawdy...",
- "What have I done?!",
- "πππππππππππππππππππππππππππππππ",
- "Who's the noob? You are, hurr.",
- "Deo l\2oves you with hate.",
- "Deo would like to take this moment to tell you how much he hates you.",
- "WANNA SEE MY PENCIL? I WILL SPANK MY DIAPER. < TOTALLY NOT FROM SOMEBODY",
- "The cake is a lie.",
- "Telamon is mad you took his chicken.",
- "LEROOOOOOOOOOOOOOY JENKIIIIIIIIIIIIIIIIIIIIIIINS",
- "Clockwork was never de-admined D;",
- "We all have hearts of gold! Excuse me while I shatter said gold into pieces.",
- "I shot Santa. Christmas is canceled.",
- "I eat children.",
- "Don't be surprised if the world ends. That's just my way of saying hello.",
- "I'M GOING TO SM\2OKE A LOT OF CR\2ACK.",
- "Life is wonderful. Without it we'd all be dead.",
- "Daddy, why doesn't this magnet pick up this floppy disk?",
- "Give me ambiguity or give me something else.",
- "I.R.S.: We've got what it takes to take what you've got!",
- "We are born naked, wet and hungry. Then things get worse.",
- "Make it idiot proof and someone will make a better idiot.",
- "He who laughs last thinks slowest!",
- "Always remember you're unique, just like everyone else.",
- "\"More hay, Trigger?\" \"No thanks, Roy, I'm stuffed!\"",
- "A flashlight is a case for holding dead batteries.",
- "Lottery: A tax on people who are bad at math.",
- "Error, no keyboard - press F1 to continue.",
- "There's too much blood in my caffeine system.",
- "Artificial Intelligence usually beats real stupidity.",
- "Hard work has a future payoff. Laziness pays off now.",
- "\"Very funny, Scotty. Now beam down my clothes.\"",
- "Puritanism: The haunting fear that someone, somewhere may be happy.",
- "Consciousness: that annoying time between naps.",
- "Don't take life too seriously, you won't get out alive.",
- "I don't suffer from insanity. I enjoy every minute of it.",
- "Better to understand a little than to misunderstand a lot.",
- "The gene pool could use a little chlorine.",
- "When there's a will, I want to be in it.",
- "Okay, who put a \"stop payment\" on my reality check?",
- "We have enough youth, how about a fountain of SMART?",
- "Programming is an art form that fights back.",
- "\"Daddy, what does FORMATTING DRIVE C mean?\"",
- "All wiyht. Rho sritched mg kegtops awound?",
- "My mail reader can beat up your mail reader.",
- "Never forget: 2 + 2 = 5 for extremely large values of 2.",
- "Nobody has ever, ever, EVER learned all of WordPerfect.",
- "To define recursion, we must first define recursion.",
- "Good programming is 99% sweat and 1% coffee.",
- "Home is where you hang your @",
- "The E-mail of the species is more deadly than the mail.",
- "A journey of a thousand sites begins with a single click.",
- "You can't teach a new mouse old clicks.",
- "Great groups from little icons grow.",
- "Speak softly and carry a cellular phone.",
- "C:\\ is the root of all directories.",
- "Don't put all your hypes in one home page.",
- "Pentium wise; pen and paper foolish.",
- "The modem is the message.",
- "Too many clicks spoil the browse.",
- "The geek shall inherit the earth.",
- "A chat has nine lives.",
- "Don't byte off more than you can view.",
- "Fax is stranger than fiction.",
- "What boots up must come down.",
- "Order Windows XP fools.",
- "DOWNLOADING VIRUSES INTO YOUR COMPUTER PLEASE WAIT... COMPLETE. PROGRESS: 100%",
- "Virtual reality is its own reward.",
- "Modulation in all things.",
- "A user and his leisure time are soon parted.",
- "There's no place like http://www.home.com",
- "πππππππππππππππππππππππππππππππ",
- "Oh, what a tangled website we weave when first we practice.",
- "Obama must be on drugs to load this script.",
- "Give a man a fish and you feed him for a day; teach him to use the Net and he won't bother you for weeks."
- }
- Textures = {
- "http://www.roblox.com/Asset/?id=59515602",
- "http://www.roblox.com/Asset/?id=870127630",
- "http://www.roblox.com/Asset/?id=42198984",
- "http://www.roblox.com/Asset/?id=59421095",
- "http://www.roblox.com/Asset/?id=59454680",
- "http://www.roblox.com/Asset/?id=59784967",
- "http://www.roblox.com/Asset/?id=45791014",
- "http://www.roblox.com/Asset/?id=58492970",
- "http://www.roblox.com/Asset/?id=59278856"
- }
- Instance.new("Sky", game:GetService("Lighting")).CelestialBodiesShown = false
- Instance.new("Message", Workspace)
- Instance.new("Hint", Workspace)
- while true do
- for _, Part in pairs(GetRecursiveChildren(game, {})) do
- pcall(function()
- if not Part:IsA("Player")then
- pcall(function() Part.Name = Phrases[math.random(1, #Phrases)] end)
- pcall(function() Part.Text = Phrases[math.random(1, #Phrases)] end)
- pcall(function() Part.Image = Textures[math.random(1, #Textures)] end)
- pcall(function() Part.TextureId = Textures[math.random(1, #Textures)] end)
- pcall(function() Part.Texture = Textures[math.random(1, #Textures)] end)
- pcall(function() Part.ShirtTemplate = Textures[math.random(1, #Textures)] end)
- pcall(function() Part.PantsTemplate = Textures[math.random(1, #Textures)] end)
- pcall(function() Part.Graphic = Textures[math.random(1, #Textures)] end)
- pcall(function() Part.Color = Color3.new(math.random(), math.random(), math.random()) end)
- pcall(function() Part.Color3 = Color3.new(math.random(), math.random(), math.random()) end)
- pcall(function()
- Part.SkyboxUp = Textures[math.random(1, #Textures)]
- Part.SkyboxDn = Textures[math.random(1, #Textures)]
- Part.SkyboxLf = Textures[math.random(1, #Textures)]
- Part.SkyboxRt = Textures[math.random(1, #Textures)]
- Part.SkyboxFt = Textures[math.random(1, #Textures)]
- Part.SkyboxBk = Textures[math.random(1, #Textures)]
- end)
- pcall(function()
- Part.TextColor3 = Color3.new(math.random(), math.random(), math.random())
- Part.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random())
- Part.BorderColor3 = Color3.new(math.random(), math.random(), math.random())
- end)
- pcall(function()
- Part.Pitch = math.random() * 5
- Part.Volume = 1
- Part.Looped = true
- Part:Play()
- end)
- pcall(function()
- if math.random(1, 5) == 1 then Part.Anchored = false end
- if Part.Anchored == false then
- Part.Velocity = Vector3.new(math.random(-10, 10), math.random(0, 50), math.random(-10, 10))
- Part.RotVelocity = Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
- end
- Part.Locked = false
- Part.BrickColor = BrickColor.random()
- Part.TopSurface = "Weld"
- Part.BottomSurface = "Weld"
- Part.FrontSurface = "Weld"
- Part.BackSurface = "Weld"
- Part.LeftSurface = "Weld"
- Part.RightSurface = "Weld"
- Part:BreakJoints()
- end)
- end
- end)
- if math.random(1, 50) == 1 then wait() end
- end
- end
- s.Parent = game.workspace
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement