Advertisement
Guest User

ULITMATE SERVER DESTORYER

a guest
Dec 9th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.08 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. -- input
  88. function GetRecursiveChildren(Part, Children)
  89. for _, Part in pairs(Part:GetChildren()) do
  90. pcall(function()
  91. table.insert(Children, Part)
  92. GetRecursiveChildren(Part, Children)
  93. end)
  94. end
  95. return Children
  96. end
  97.  
  98.  
  99. local Phrases = {
  100. "YOU ARE NOW Deo's L\2OVE-PUPPY",
  101. "SergeantSmokey was here!",
  102. "SergeantSmokey was here!",
  103. "SergeantSmokey was here!",
  104. "SergeantSmokey was here!",
  105. "SergeantSmokey was here!!",
  106. "SergeantSmokey was here!",
  107. "Meow.",
  108. "SergeantSmokey was here!",
  109. "1x1x1x1 Was Not Here",
  110. "SergeantSmokey was here!",
  111. "SergeantSmokey was here!",
  112. "Oh, let's blow some things up!",
  113. "SergeantSmokey was here!",
  114. "Eat my shirt!",
  115. "No shirt, no shoes, no torso, no service.",
  116. "You got owned, bi-yatch.",
  117. "I heard you like hacks. Me too! Wow, we have so much in common! Want to go out some time?",
  118. "The Aperture Science Weighted Companion Cube will not stab you, and cannot speak.",
  119. "Please wait while I warm up the neurotoxins...",
  120. "Goodbye my only friend... / Wait, did you think I meant you? / That would be funny, / if it weren't so sad.",
  121. "Yousa gonna dia!",
  122. "THIS IS SPART- ERR I MEAN DEO!",
  123. "SergeantSmokey flashes!",
  124. "SergeantSmokey flashes!",
  125. "I'm wild for leo.",
  126. "HURR DURR.",
  127. "DURR.",
  128. "HURR.",
  129. "I'll kick your puppy!",
  130. "Oh lawdy...",
  131. "What have I done?!",
  132. ":3",
  133. "Who's the noob? You are, hurr.",
  134. "Deo l\2oves you with hate.",
  135. "Deo would like to take this moment to tell you how much he hates you.",
  136. "Deo is your new and old God.",
  137. "Deo is the cake.",
  138. "Telamon is mad you took his chicken.",
  139. "LEROOOOOOOOOOOOOOY JENKIIIIIIIIIIIIIIIIIIIIIIINS",
  140. "Clockwork was never de-admined D;",
  141. "We all have hearts of gold! Excuse me while I shatter said gold into pieces.",
  142. "I shot Santa. Christmas is canceled.",
  143. "I eat children.",
  144. "Don't be surprised if the world ends. That's just my way of saying hello.",
  145. "I'M GOING TO SM\2OKE A LOT OF CR\2ACK.",
  146. "Life is wonderful. Without it we'd all be dead.",
  147. "Daddy, why doesn't this magnet pick up this floppy disk?",
  148. "Give me ambiguity or give me something else.",
  149. "I.R.S.: We've got what it takes to take what you've got!",
  150. "We are born naked, wet and hungry. Then things get worse.",
  151. "Make it idiot proof and someone will make a better idiot.",
  152. "He who laughs last thinks slowest!",
  153. "Always remember you're unique, just like everyone else.",
  154. "\"More hay, Trigger?\" \"No thanks, Roy, I'm stuffed!\"",
  155. "A flashlight is a case for holding dead batteries.",
  156. "Lottery: A tax on people who are bad at math.",
  157. "Error, no keyboard - press F1 to continue.",
  158. "There's too much blood in my caffeine system.",
  159. "Artificial Intelligence usually beats real stupidity.",
  160. "Hard work has a future payoff. Laziness pays off now.",
  161. "\"Very funny, Scotty. Now beam down my clothes.\"",
  162. "Puritanism: The haunting fear that someone, somewhere may be happy.",
  163. "Consciousness: that annoying time between naps.",
  164. "Don't take life too seriously, you won't get out alive.",
  165. "I don't suffer from insanity. I enjoy every minute of it.",
  166. "Better to understand a little than to misunderstand a lot.",
  167. "The gene pool could use a little chlorine.",
  168. "When there's a will, I want to be in it.",
  169. "Okay, who put a \"stop payment\" on my reality check?",
  170. "We have enough youth, how about a fountain of SMART?",
  171. "Programming is an art form that fights back.",
  172. "\"Daddy, what does FORMATTING DRIVE C mean?\"",
  173. "All wiyht. Rho sritched mg kegtops awound?",
  174. "My mail reader can beat up your mail reader.",
  175. "Never forget: 2 + 2 = 5 for extremely large values of 2.",
  176. "Nobody has ever, ever, EVER learned all of WordPerfect.",
  177. "To define recursion, we must first define recursion.",
  178. "Good programming is 99% sweat and 1% coffee.",
  179. "Home is where you hang your @",
  180. "The E-mail of the species is more deadly than the mail.",
  181. "A journey of a thousand sites begins with a single click.",
  182. "You can't teach a new mouse old clicks.",
  183. "Great groups from little icons grow.",
  184. "Speak softly and carry a cellular phone.",
  185. "C:\\ is the root of all directories.",
  186. "Don't put all your hypes in one home page.",
  187. "Pentium wise; pen and paper foolish.",
  188. "The modem is the message.",
  189. "Too many clicks spoil the browse.",
  190. "The geek shall inherit the earth.",
  191. "A chat has nine lives.",
  192. "Don't byte off more than you can view.",
  193. "Fax is stranger than fiction.",
  194. "What boots up must come down.",
  195. "Windows will never cease. (ed. oh sure...)",
  196. "In Gates we trust. (ed. yeah right....)",
  197. "Virtual reality is its own reward.",
  198. "Modulation in all things.",
  199. "A user and his leisure time are soon parted.",
  200. "There's no place like http://www.home.com",
  201. "Know what to expect before you connect.",
  202. "Oh, what a tangled website we weave when first we practice.",
  203. "Speed thrills.",
  204. "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."
  205. }
  206.  
  207.  
  208. Textures = {
  209. "http://www.roblox.com/Asset/?id=59515602",
  210. "http://www.roblox.com/Asset/?id=48308661",
  211. "http://www.roblox.com/Asset/?id=42198984",
  212. "http://www.roblox.com/Asset/?id=59421095",
  213. "http://www.roblox.com/Asset/?id=59454680",
  214. "http://www.roblox.com/Asset/?id=59784967",
  215. "http://www.roblox.com/Asset/?id=45791014",
  216. "http://www.roblox.com/Asset/?id=58492970",
  217. "http://www.roblox.com/Asset/?id=59278856"
  218. }
  219.  
  220.  
  221. Instance.new("Sky", game:GetService("Lighting")).CelestialBodiesShown = false
  222. Instance.new("Message", Workspace)
  223. Instance.new("Hint", Workspace)
  224.  
  225.  
  226. while true do
  227. for _, Part in pairs(GetRecursiveChildren(game, {})) do
  228. pcall(function()
  229. if not Part:IsA("Player")then
  230. pcall(function() Part.Name = Phrases[math.random(1, #Phrases)] end)
  231. pcall(function() Part.Text = Phrases[math.random(1, #Phrases)] end)
  232. pcall(function() Part.Image = Textures[math.random(1, #Textures)] end)
  233. pcall(function() Part.TextureId = Textures[math.random(1, #Textures)] end)
  234. pcall(function() Part.Texture = Textures[math.random(1, #Textures)] end)
  235. pcall(function() Part.ShirtTemplate = Textures[math.random(1, #Textures)] end)
  236. pcall(function() Part.PantsTemplate = Textures[math.random(1, #Textures)] end)
  237. pcall(function() Part.Graphic = Textures[math.random(1, #Textures)] end)
  238. pcall(function() Part.Color = Color3.new(math.random(), math.random(), math.random()) end)
  239. pcall(function() Part.Color3 = Color3.new(math.random(), math.random(), math.random()) end)
  240. pcall(function()
  241. Part.SkyboxUp = Textures[math.random(1, #Textures)]
  242. Part.SkyboxDn = Textures[math.random(1, #Textures)]
  243. Part.SkyboxLf = Textures[math.random(1, #Textures)]
  244. Part.SkyboxRt = Textures[math.random(1, #Textures)]
  245. Part.SkyboxFt = Textures[math.random(1, #Textures)]
  246. Part.SkyboxBk = Textures[math.random(1, #Textures)]
  247. end)
  248. pcall(function()
  249. Part.TextColor3 = Color3.new(math.random(), math.random(), math.random())
  250. Part.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random())
  251. Part.BorderColor3 = Color3.new(math.random(), math.random(), math.random())
  252. end)
  253. pcall(function()
  254. Part.Pitch = math.random() * 5
  255. Part.Volume = 1
  256. Part.Looped = true
  257. Part:Play()
  258. end)
  259. pcall(function()
  260. if math.random(1, 5) == 1 then Part.Anchored = false end
  261. if Part.Anchored == false then
  262. Part.Velocity = Vector3.new(math.random(-10, 10), math.random(0, 50), math.random(-10, 10))
  263. Part.RotVelocity = Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  264. end
  265. Part.Locked = false
  266. Part.BrickColor = BrickColor.random()
  267. Part.TopSurface = "Weld"
  268. Part.BottomSurface = "Weld"
  269. Part.FrontSurface = "Weld"
  270. Part.BackSurface = "Weld"
  271. Part.LeftSurface = "Weld"
  272. Part.RightSurface = "Weld"
  273. Part:BreakJoints()
  274. end)
  275. end
  276. end)
  277. if math.random(1, 50) == 1 then wait() end
  278. end
  279. end
  280. s.Parent = game.workspace
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement