Advertisement
DaOMEGAa32

aaaaaaaaaaaar

Nov 20th, 2019
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.49 KB | None | 0 0
  1. --Lets see if roblox bans this one (maybe)
  2. --https://github.com/Mokiros/roblox-FE-compatibility
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,game,owner = owner,game
  5. local RealPlayer = Player
  6. do
  7. print("FE Compatibility code V2 by Mokiros")
  8. local RealPlayer = RealPlayer
  9. script.Parent = RealPlayer.Character
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local Disconnect_Function = function(this)
  13. this[1].Functions[this[2]] = nil
  14. end
  15. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  16. local FakeEvent_Metatable = {__index={
  17. Connect = function(this,f)
  18. local i = tostring(math.random(0,10000))
  19. while this.Functions[i] do
  20. i = tostring(math.random(0,10000))
  21. end
  22. this.Functions[i] = f
  23. return setmetatable({this,i},Disconnect_Metatable)
  24. end
  25. }}
  26. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  27. local function fakeEvent()
  28. return setmetatable({Functions={}},FakeEvent_Metatable)
  29. end
  30.  
  31. --Creating fake input objects with fake variables
  32. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  33. FakeMouse.keyUp = FakeMouse.KeyUp
  34. FakeMouse.keyDown = FakeMouse.KeyDown
  35. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  36. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  37. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  38. end}
  39. --Merged 2 functions into one by checking amount of arguments
  40. CAS.UnbindAction = CAS.BindAction
  41.  
  42. --This function will trigger the events that have been :Connect()'ed
  43. local function TriggerEvent(self,ev,...)
  44. for _,f in pairs(self[ev].Functions) do
  45. f(...)
  46. end
  47. end
  48. FakeMouse.TriggerEvent = TriggerEvent
  49. UIS.TriggerEvent = TriggerEvent
  50.  
  51. --Client communication
  52. local Event = Instance.new("RemoteEvent")
  53. Event.Name = "UserInput_Event"
  54. Event.OnServerEvent:Connect(function(plr,io)
  55. if plr~=RealPlayer then return end
  56. FakeMouse.Target = io.Target
  57. FakeMouse.Hit = io.Hit
  58. if not io.isMouse then
  59. local b = io.UserInputState == Enum.UserInputState.Begin
  60. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  61. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  62. end
  63. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  64. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  65. end
  66. for _,t in pairs(CAS.Actions) do
  67. for _,k in pairs(t.Keys) do
  68. if k==io.KeyCode then
  69. t.Function(t.Name,io.UserInputState,io)
  70. end
  71. end
  72. end
  73. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  74. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  75. end
  76. end)
  77. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  78. local Mouse = owner:GetMouse()
  79. local UIS = game:GetService("UserInputService")
  80. local input = function(io,RobloxHandled)
  81. if RobloxHandled then return end
  82. --Since InputObject is a client-side instance, we create and pass table instead
  83. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  84. end
  85. UIS.InputBegan:Connect(input)
  86. UIS.InputEnded:Connect(input)
  87.  
  88. local h,t
  89. --Give the server mouse data every second frame, but only if the values changed
  90. --If player is not moving their mouse, client won't fire events
  91. local HB = game:GetService("RunService").Heartbeat
  92. while true do
  93. if h~=Mouse.Hit or t~=Mouse.Target then
  94. h,t=Mouse.Hit,Mouse.Target
  95. Event:FireServer({isMouse=true,Target=t,Hit=h})
  96. end
  97. --Wait 2 frames
  98. for i=1,2 do
  99. HB:Wait()
  100. end
  101. end]==],script)
  102.  
  103. ----Sandboxed game object that allows the usage of client-side methods and services
  104. --Real game object
  105. local RealGame = game
  106.  
  107. --Metatable for fake service
  108. local FakeService_Metatable = {
  109. __index = function(self,k)
  110. local s = rawget(self,"_RealService")
  111. if s then
  112. return typeof(s[k])=="function"
  113. and function(_,...)return s[k](s,...)end or s[k]
  114. end
  115. end,
  116. __newindex = function(self,k,v)
  117. local s = rawget(self,"_RealService")
  118. if s then s[k]=v end
  119. end
  120. }
  121. local function FakeService(t,RealService)
  122. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  123. return setmetatable(t,FakeService_Metatable)
  124. end
  125.  
  126. --Fake game object
  127. local FakeGame = {
  128. GetService = function(self,s)
  129. return rawget(self,s) or RealGame:GetService(s)
  130. end,
  131. Players = FakeService({
  132. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  133. },"Players"),
  134. UserInputService = FakeService(UIS,"UserInputService"),
  135. ContextActionService = FakeService(CAS,"ContextActionService"),
  136. RunService = FakeService({
  137. _btrs = {},
  138. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  139. BindToRenderStep = function(self,name,_,fun)
  140. self._btrs[name] = self.Heartbeat:Connect(fun)
  141. end,
  142. UnbindFromRenderStep = function(self,name)
  143. self._btrs[name]:Disconnect()
  144. end,
  145. },"RunService")
  146. }
  147. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  148. FakeGame.service = FakeGame.GetService
  149. FakeService(FakeGame,game)
  150. --Changing owner to fake player object to support owner:GetMouse()
  151. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  152. end
  153.  
  154. print ("a hecking dead meme script made by i dont know")
  155. wait (1)
  156. local pchar = game.Players.LocalPlayer.Character -- Can change player here --
  157.  
  158. for i,v in pairs(pchar.Torso:GetChildren()) do
  159. if v.ClassName == 'Decal' then
  160. v:Destroy()
  161. end
  162. end
  163. for i,v in pairs(pchar:GetChildren()) do
  164. if v.ClassName == 'Hat' then
  165. v:Destroy()
  166. end
  167. end
  168.  
  169. for i,v in pairs(pchar.Head:GetChildren()) do
  170. if v.ClassName == 'Decal' then
  171. v:Destroy()
  172. end
  173. end
  174. --
  175. ---generating
  176. --
  177. CV="White"
  178.  
  179. p = game.Players.LocalPlayer
  180. char = p.Character
  181. local txt = Instance.new("BillboardGui", char)
  182. txt.Adornee = char .Head
  183. txt.Name = "_status"
  184. txt.Size = UDim2.new(2, 0, 1.2, 0)
  185. txt.StudsOffset = Vector3.new(-9, 8, 0)
  186. local text = Instance.new("TextLabel", txt)
  187. text.Size = UDim2.new(10, 0, 7, 0)
  188. text.FontSize = "Size24"
  189. text.TextScaled = true
  190. text.TextTransparency = 0
  191. text.BackgroundTransparency = 1
  192. text.TextTransparency = 0
  193. text.TextStrokeTransparency = 1
  194. text.Font = "Highway"
  195. text.TextStrokeColor3 = Color3.fromRGB(255,0,0)
  196.  
  197. v=Instance.new("Part")
  198. v.Name = "ColorBrick"
  199. v.Parent=p.Character
  200. v.FormFactor="Symmetric"
  201. v.Anchored=true
  202. v.CanCollide=false
  203. v.BottomSurface="Smooth"
  204. v.TopSurface="Smooth"
  205. v.Size=Vector3.new(10,5,3)
  206. v.Transparency=1
  207. v.CFrame=char.Torso.CFrame
  208. v.BrickColor=BrickColor.new(CV)
  209. v.Transparency=1
  210. text.TextColor3 = Color3.fromRGB(255,0,0)
  211. v.Shape="Block"
  212. text.Text = "Knuckles!"
  213. local duck = Instance.new('SpecialMesh', pchar.Torso)
  214. duck.MeshType = 'FileMesh'
  215. duck.MeshId = 'rbxassetid://1300136843'
  216. duck.TextureId = 'rbxassetid://1300137893'
  217. duck.Scale = Vector3.new(0.1, 0.1, 0.1)
  218. pchar.Head.Transparency = 0
  219. pchar['Left Arm'].Transparency = 1
  220. pchar['Right Arm'].Transparency = 1
  221. pchar['Left Leg'].Transparency = 1
  222. pchar['Right Leg'].Transparency = 1
  223. local duck = Instance.new('SpecialMesh', pchar.Head)
  224. duck.MeshType = 'FileMesh'
  225. duck.MeshId = 'rbxassetid://1301937829'
  226. duck.TextureId = 'rbxassetid://1301928851'
  227. duck.Scale = Vector3.new(1, 1, 1)
  228. pchar.Head.Transparency = 0
  229. pchar['Left Arm'].Transparency = 1
  230. pchar['Right Arm'].Transparency = 1
  231. pchar['Left Leg'].Transparency = 1
  232. pchar['Right Leg'].Transparency = 1
  233. duck.Offset = Vector3.new(0, 0, -1)
  234. --functions so im fat
  235. function chatfunc(text)
  236. local chat = coroutine.wrap(function()
  237. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  238. Character:FindFirstChild("TalkingBillBoard"):destroy()
  239. end
  240. local Bill = Instance.new("BillboardGui",Character)
  241. Bill.Size = UDim2.new(0,100,0,40)
  242. Bill.StudsOffset = Vector3.new(0,3,0)
  243. Bill.Adornee = Character.Head
  244. Bill.Name = "TalkingBillBoard"
  245. local Hehe = Instance.new("TextLabel",Bill)
  246. Hehe.BackgroundTransparency = 1
  247. Hehe.BorderSizePixel = 0
  248. Hehe.Text = ""
  249. Hehe.Font = "Arcade"
  250. Hehe.TextSize = 40
  251. Hehe.TextStrokeTransparency = 0
  252. Hehe.Size = UDim2.new(1,0,0.5,0)
  253. coroutine.resume(coroutine.create(function()
  254. while Hehe ~= nil do
  255. wait()
  256. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  257. Hehe.Rotation = math.random(-5,5)
  258. Hehe.TextColor3 = Color3.new(111,0,0)
  259. Hehe.TextStrokeColor3 = Color3.new(255,0,0)
  260. end
  261. end))
  262. for i = 1,string.len(text),1 do
  263. wait()
  264. Hehe.Text = string.sub(text,1,i)
  265. end
  266. wait(1.5)--Re[math.random(1, 93)]
  267. for i = 0, 1, .025 do
  268. wait()
  269. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  270. Hehe.TextStrokeTransparency = i
  271. Hehe.TextTransparency = i
  272. end
  273. Bill:Destroy()
  274. end)
  275. chat()
  276. end
  277. function wae()
  278. local s = Instance.new("Sound")
  279.  
  280. s.Name = "thesound"
  281. s.SoundId = "rbxassetid://1320393438"
  282. s.Volume = 5
  283. s.Looped = false
  284. s.archivable = false
  285.  
  286. s.Parent = game.Workspace
  287.  
  288. wait(0.1)
  289.  
  290. s:play()
  291.  
  292. end
  293. function wae()
  294. local s = Instance.new("Sound")
  295.  
  296. s.Name = "thesound"
  297. s.SoundId = "rbxassetid://1320393438"
  298. s.Volume = 5
  299. s.Looped = false
  300. s.archivable = false
  301.  
  302. s.Parent = game.Workspace
  303.  
  304. wait(0.1)
  305.  
  306. s:play()
  307. text.Text = "Do u know da wae"
  308. wait (2)
  309. text.Text = "Knuckles!"
  310.  
  311. end
  312.  
  313. ---keys so i can die
  314. Player = game.Players.LocalPlayer
  315. Mouse = Player:GetMouse()
  316. Mouse.KeyDown:Connect(function(key)
  317. key = key:lower()
  318. if key == "e" then
  319.  
  320. wae()
  321.  
  322. end
  323.  
  324.  
  325. end)
  326. Player = game.Players.LocalPlayer
  327. Mouse = Player:GetMouse()
  328. Mouse.KeyDown:Connect(function(key)
  329. key = key:lower()
  330. if key == "r" then
  331. local x = Instance.new("Part")
  332. x.Shape = "Ball"
  333. local s = Instance.new("Sound")
  334.  
  335. s.Name = "spit"
  336. s.SoundId = "rbxassetid://1322795266"
  337. s.Volume = 6
  338. s.Looped = false
  339. s.archivable = false
  340.  
  341. s.Parent = game.Workspace
  342.  
  343.  
  344.  
  345. s:play()
  346. x.CanCollide = false
  347. x.Anchored = false
  348. x.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,3,-12)
  349. local v = Instance.new("BodyVelocity", x)
  350. v.Velocity = Player.Character.Torso.CFrame.lookVector * 90
  351.  
  352. v.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  353. x.Parent = workspace
  354.  
  355. end
  356.  
  357.  
  358. end)
  359. --and thats how the meme is dead
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement