Advertisement
Mediakiller7Cool

asdasdt

Oct 5th, 2019
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.48 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code V2 by robloxbuilder21435")
  6. local RealPlayer = RealPlayer
  7. script.Parent = RealPlayer.Character
  8.  
  9. --Fake event to make stuff like Mouse.KeyDown work
  10. local Disconnect_Function = function(this)
  11. this[1].Functions[this[2]] = nil
  12. end
  13. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  14. local FakeEvent_Metatable = {__index={
  15. Connect = function(this,f)
  16. local i = tostring(math.random(0,10000))
  17. while this.Functions[i] do
  18. i = tostring(math.random(0,10000))
  19. end
  20. this.Functions[i] = f
  21. return setmetatable({this,i},Disconnect_Metatable)
  22. end
  23. }}
  24. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  25. local function fakeEvent()
  26. return setmetatable({Functions={}},FakeEvent_Metatable)
  27. end
  28.  
  29. --Creating fake input objects with fake variables
  30. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  31. FakeMouse.keyUp = FakeMouse.KeyUp
  32. FakeMouse.keyDown = FakeMouse.KeyDown
  33. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  34. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  35. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  36. end}
  37. --Merged 2 functions into one by checking amount of arguments
  38. CAS.UnbindAction = CAS.BindAction
  39.  
  40. --This function will trigger the events that have been :Connect()'ed
  41. local function TriggerEvent(self,ev,...)
  42. for _,f in pairs(self[ev].Functions) do
  43. f(...)
  44. end
  45. end
  46. FakeMouse.TriggerEvent = TriggerEvent
  47. UIS.TriggerEvent = TriggerEvent
  48.  
  49. --Client communication
  50. local Event = Instance.new("RemoteEvent")
  51. Event.Name = "UserInput_Event"
  52. Event.OnServerEvent:Connect(function(plr,io)
  53. if plr~=RealPlayer then return end
  54. FakeMouse.Target = io.Target
  55. FakeMouse.Hit = io.Hit
  56. if not io.isMouse then
  57. local b = io.UserInputState == Enum.UserInputState.Begin
  58. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  59. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  60. end
  61. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  62. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  63. end
  64. for _,t in pairs(CAS.Actions) do
  65. for _,k in pairs(t.Keys) do
  66. if k==io.KeyCode then
  67. t.Function(t.Name,io.UserInputState,io)
  68. end
  69. end
  70. end
  71. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  72. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  73. end
  74. end)
  75. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  76. local Mouse = owner:GetMouse()
  77. local UIS = game:GetService("UserInputService")
  78. local input = function(io,RobloxHandled)
  79. if RobloxHandled then return end
  80. --Since InputObject is a client-side instance, we create and pass table instead
  81. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  82. end
  83. UIS.InputBegan:Connect(input)
  84. UIS.InputEnded:Connect(input)
  85. local h,t
  86. --Give the server mouse data every second frame, but only if the values changed
  87. --If player is not moving their mouse, client won't fire events
  88. local HB = game:GetService("RunService").Heartbeat
  89. while true do
  90. if h~=Mouse.Hit or t~=Mouse.Target then
  91. h,t=Mouse.Hit,Mouse.Target
  92. Event:FireServer({isMouse=true,Target=t,Hit=h})
  93. end
  94. --Wait 2 frames
  95. for i=1,2 do
  96. HB:Wait()
  97. end
  98. end]==],script)
  99.  
  100. ----Sandboxed game object that allows the usage of client-side methods and services
  101. --Real game object
  102. local RealGame = game
  103.  
  104. --Metatable for fake service
  105. local FakeService_Metatable = {
  106. __index = function(self,k)
  107. local s = rawget(self,"_RealService")
  108. if s then
  109. return typeof(s[k])=="function"
  110. and function(_,...)return s[k](s,...)end or s[k]
  111. end
  112. end,
  113. __newindex = function(self,k,v)
  114. local s = rawget(self,"_RealService")
  115. if s then s[k]=v end
  116. end
  117. }
  118. local function FakeService(t,RealService)
  119. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  120. return setmetatable(t,FakeService_Metatable)
  121. end
  122.  
  123. --Fake game object
  124. local FakeGame = {
  125. GetService = function(self,s)
  126. return rawget(self,s) or RealGame:GetService(s)
  127. end,
  128. Players = FakeService({
  129. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  130. },"Players"),
  131. UserInputService = FakeService(UIS,"UserInputService"),
  132. ContextActionService = FakeService(CAS,"ContextActionService"),
  133. RunService = FakeService({
  134. _btrs = {},
  135. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  136. BindToRenderStep = function(self,name,_,fun)
  137. self._btrs[name] = self.Heartbeat:Connect(fun)
  138. end,
  139. UnbindFromRenderStep = function(self,name)
  140. self._btrs[name]:Disconnect()
  141. end,
  142. },"RunService")
  143. }
  144. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  145. FakeGame.service = FakeGame.GetService
  146. FakeService(FakeGame,game)
  147. --Changing owner to fake player object to support owner:GetMouse()
  148. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  149. end
  150. -- by Theamazingnater
  151. -- Edit By MuffinTime3412
  152. print("Dont Leak")
  153. print("Loading....")
  154. wait(1)
  155. plr = game.Players.LocalPlayer
  156. char = plr.Character
  157. mouse = plr:GetMouse()
  158. whitecolor = Color3.new(1,1,1)
  159. epicmode = false
  160. normal = true
  161. for i,v in pairs(char:GetChildren()) do
  162. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  163. v:Destroy()
  164. end
  165. end
  166. local shirt = Instance.new("Shirt",char)
  167. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=302011210"
  168. local pants = Instance.new("Pants",char)
  169. pants.PantsTemplate = "http://www.roblox.com/asset/?id=305718140"
  170. local bdycolors = char["Body Colors"]
  171. bdycolors.HeadColor3 = whitecolor
  172. bdycolors.LeftArmColor3 = whitecolor
  173. bdycolors.LeftLegColor3 = whitecolor
  174. bdycolors.RightArmColor3 = whitecolor
  175. bdycolors.RightLegColor3 = whitecolor
  176. bdycolors.TorsoColor3 = whitecolor
  177. for i,v in pairs(char:GetChildren()) do
  178. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  179. v:Destroy()
  180. end
  181. end
  182.  
  183. -- Face
  184. char.Head.face.Texture = "http://www.roblox.com/asset/?id=246064605"
  185.  
  186. -- Chat
  187. local talksound = Instance.new("Sound",char.Torso)
  188. talksound.SoundId = "rbxassetid://928210219"
  189. talksound.Volume = 4
  190. local blastsound = Instance.new("Sound",char.Torso)
  191. blastsound.Name = "blast_sound"
  192. blastsound.SoundId = "rbxassetid://345052019"
  193. blastsound.Volume = 4
  194. function swait(num)
  195. if num==0 or num==nil then
  196. game:service'RunService'.Stepped:wait(0)
  197. else
  198. for i=0,num do
  199. game:service'RunService'.Stepped:wait(0)
  200. end
  201. end
  202. end
  203.  
  204. function chatfunc(text)
  205. local chat = coroutine.wrap(function()
  206. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  207. char:FindFirstChild("TalkingBillBoard"):Destroy()
  208. end
  209. local naeeym2 = Instance.new("BillboardGui",char)
  210. naeeym2.Size = UDim2.new(0,100,0,40)
  211. naeeym2.StudsOffset = Vector3.new(0,3,0)
  212. naeeym2.Adornee = char.Head
  213. naeeym2.Name = "TalkingBillBoard"
  214. local tecks2 = Instance.new("TextLabel",naeeym2)
  215. tecks2.BackgroundTransparency = 1
  216. tecks2.BorderSizePixel = 0
  217. tecks2.Text = ""
  218. tecks2.Font = "Fantasy"
  219. tecks2.TextSize = 30
  220. tecks2.TextStrokeTransparency = 0
  221. tecks2.TextColor3 = Color3.new(.6,0,0)
  222. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  223. tecks2.Size = UDim2.new(1,0,0.5,0)
  224. local tecks3 = Instance.new("TextLabel",naeeym2)
  225. tecks3.BackgroundTransparency = 1
  226. tecks3.BorderSizePixel = 0
  227. tecks3.Text = ""
  228. tecks3.Font = "Fantasy"
  229. tecks3.TextSize = 30
  230. tecks3.TextStrokeTransparency = 0
  231. tecks3.TextColor3 = Color3.new(0,0,0)
  232. tecks3.TextStrokeColor3 = Color3.new(1,1,1)
  233. tecks3.Size = UDim2.new(1,0,0.5,0)
  234. for i = 1,string.len(text),1 do
  235. tecks2.Text = string.sub(text,1,i)
  236. tecks3.Text = string.sub(text,1,i)
  237. talksound:Play()
  238. wait(0.01)
  239. end
  240. wait(2)
  241. for i = 1, 50 do
  242. swait()
  243. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  244. tecks2.Rotation = tecks2.Rotation - .8
  245. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  246. tecks2.TextTransparency = tecks2.TextTransparency + .04
  247. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  248. tecks3.Rotation = tecks2.Rotation + .8
  249. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  250. tecks3.TextTransparency = tecks2.TextTransparency + .04
  251. end
  252. naeeym2:Destroy()
  253. end)
  254. chat()
  255. end
  256. function onChatted(msg)
  257. chatfunc(msg)
  258. end
  259. plr.Chatted:connect(onChatted)
  260. wait(2)
  261. chatfunc("Edit By MuffinTime3412")
  262. wait(2)
  263. chatfunc("It's a Bruh Days Outside")
  264. wait(2)
  265. chatfunc("Peoples are Saying..")
  266. wait(2)
  267. chatfunc("Flowers are bruhing")
  268. wait(2)
  269. chatfunc("On days like these... kids like you...")
  270. wait(2)
  271. chatfunc("Should be Saying Bruh")
  272. wait(0.5)
  273. char.Humanoid.Name = "Sans"
  274. local music = Instance.new("Sound",char.Torso)
  275. music.SoundId = "rbxassetid://2772809069"
  276. music.Volume = 4
  277. music.Looped = true
  278. music:Play()
  279. LeyeColor = BrickColor.new("Toothpaste")
  280. local eyemodel = Instance.new("Model",char)
  281. eyemodel.Name = "Eyes"
  282. local reye = Instance.new("Part",eyemodel)
  283. reye.Name = "BurningEff"
  284. reye.Color = Color3.new(1,1,1)
  285. reye.Material = "Neon"
  286. reye.Transparency = 1
  287. local reyemesh = Instance.new("SpecialMesh",reye)
  288. reyemesh.MeshType = "Sphere"
  289. reye.Size = Vector3.new(0.12, 0.37, 0.27)
  290. local reyeweld = Instance.new("Weld",reye)
  291. reyeweld.Part0 = reye
  292. reyeweld.Part1 = char.Head
  293. reyeweld.C0 = CFrame.new(-0.551300049, -0.19681406, -0.198293686, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  294. local leye = Instance.new("Part",eyemodel)
  295. leye.Name = "LeftEye"
  296. leye.BrickColor = LeyeColor
  297. leye.Material = "Neon"
  298. leye.Size = Vector3.new(0.2,0.2,0.2)
  299. local leyemesh = Instance.new("SpecialMesh",leye)
  300. leyemesh.MeshType = "Sphere"
  301. leyemesh.Scale = Vector3.new(0.7,1.1,0.7)
  302. local leyeweld = Instance.new("Weld",leye)
  303. leyeweld.Part0 = leye
  304. leyeweld.Part1 = char.Head
  305. leyeweld.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  306. local leyeclone = leye:Clone()
  307. leyeclone.Transparency = 1
  308. leyeclone.Name = "RightEye"
  309. leyeclone.Parent = eyemodel
  310. for i,v in pairs(leyeclone:GetChildren()) do
  311. if v.ClassName == "Weld" then
  312. v:Destroy()
  313. end
  314. end
  315. local leyeweld2 = Instance.new("Weld",leyeclone)
  316. leyeweld2.Part0 = leyeclone
  317. leyeweld2.Part1 = char.Head
  318. leyeweld2.C0 = CFrame.new(0.0864697844, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  319. local fire = Instance.new("Fire",reye)
  320. fire.Heat = 25000
  321. fire.Color = leye.BrickColor.Color
  322. fire.Size = 2
  323. -- welds xd
  324. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  325. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  326. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  327. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  328. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  329. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  330. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  331. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  332. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  333. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  334. for i = 0,1 ,0.03 do
  335. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.925931931, -0.0977840424, 0.974765539, 0.886040092, -0.463608712, -1.69641942e-06, 0.405292064, 0.774584651, 0.485548228, -0.225103036, -0.430215806, 0.87421),i)
  336. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.881086826, -0.201818228, 0.747067213, 0.882895231, 0.4695701, 1.00883415e-06, -0.397803098, 0.747956276, 0.531332433, 0.249497056, -0.469111204, 0.847163498),i)
  337. game:GetService("RunService").RenderStepped:wait()
  338. end
  339. local slapsound = Instance.new("Sound",char.Torso)
  340. slapsound.SoundId = "rbxassetid://511340819"
  341. slapsound.Volume = 4
  342. -- Funcs
  343. function Blast(AAA)
  344. if AAA == "f" then
  345. local chatmath = math.random(1,3)
  346. if chatmath == 1 then
  347. chatfunc("Gaster Blaster!")
  348. end
  349. if chatmath == 2 then
  350. chatfunc("This is what you get for killing everybody.")
  351. end
  352. if chatmath == 3 then
  353. chatfunc("Look, I gave up trying to go back a long time ago.")
  354. end
  355. local gasterblaster = Instance.new("Part",char.Torso)
  356. gasterblaster.Size = Vector3.new(7, 16, 4)
  357. gasterblaster.CanCollide = false
  358. local gasterblastermesh = Instance.new("FileMesh",gasterblaster)
  359. gasterblastermesh.MeshId = "rbxassetid://431908407"
  360. gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05)
  361. local gasterblastertexture = Instance.new("Decal",gasterblaster)
  362. gasterblastertexture.Face = "Back"
  363. gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=441975828"
  364. local weeld = Instance.new("Weld",gasterblaster)
  365. weeld.Part0 = gasterblaster
  366. weeld.Part1 = char.Torso
  367. weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375)
  368. blastsound:Play()
  369. char.Head.Anchored = true
  370. wait(1)
  371. local blast = Instance.new("Part",gasterblaster)
  372. blast.Size = Vector3.new(18.07, 16.36, 73.54)
  373. blast.Transparency = 0.7
  374. blast.Material = "Neon"
  375. blast.Color = Color3.new(1,1,1)
  376. blast.CanCollide = true
  377. local blastweld = Instance.new("Weld",blast)
  378. blastweld.Part0 = blast
  379. blastweld.Part1 = gasterblaster
  380. blastweld.C0 = CFrame.new(-0.430000305, 1.73999977, -40.1399994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  381. blast.Touched:connect(function(part)
  382. part.Parent:FindFirstChildOfClass("Humanoid"):Destroy() -- Makes them not able to move
  383. end)
  384. wait(2)
  385. char.Head.Anchored = false
  386. blast:Destroy()
  387. gasterblaster:Destroy()
  388. end
  389. end
  390. mouse.KeyDown:connect(Blast)
  391.  
  392.  
  393. function Death()
  394. music:Stop()
  395. local deadsound = Instance.new("Sound",char.Torso)
  396. deadsound.SoundId = "rbxassetid://427025525"
  397. deadsound.Volume = 4
  398. deadsound:Play()
  399. for i,v in pairs(char:GetChildren()) do
  400. if v.ClassName == "Part" then
  401. v.Transparency = 1
  402. end
  403. leye.Transparency = 1
  404. fire:Destroy()
  405. char.Head.face.Transparency = 1
  406. end
  407. end
  408. char.Sans.Died:connect(Death)
  409.  
  410.  
  411. function Transform(key)
  412. if key == "t" then
  413. music.SoundId = "rbxassetid://860704015"
  414. music:Stop()
  415. music:Play()
  416. chatfunc("Hehe, forgetting something?")
  417. leyeclone.Transparency = 0
  418. local fire2 = Instance.new("Fire",leyeclone)
  419. fire2.Heat = 25000
  420. fire2.Color = leye.BrickColor.Color
  421. fire2.Size = 2
  422. end
  423. end
  424. mouse.KeyDown:connect(Transform)
  425.  
  426.  
  427. function SLAP(key)
  428. if key == "y" then
  429. if normal and not epicmode then
  430. for i = 0,1 , 0.05 do
  431. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.50000024, 0.405028582, -0.494292736, 0.752350092, -0.658763528, -1.01652529e-06, 0.014031955, 0.0160269327, -0.999769807, 0.658614039, 0.752179325, 0.0213016756),i)
  432. game:GetService("RunService").RenderStepped:wait()
  433. end
  434. local hurtbox = Instance.new("Part",char["Right Arm"])
  435. hurtbox.Name = "Hurtbox"
  436. hurtbox.Size = Vector3.new(1, 0.23, 1)
  437. hurtbox.Transparency = 1
  438. hurtbox.CanCollide = false
  439. local hurtboxweld = Instance.new("Weld",hurtbox)
  440. hurtboxweld.Part0 = hurtbox
  441. hurtboxweld.Part1 = char["Right Arm"]
  442. hurtboxweld.C0 = CFrame.new(0, 0.924999475, 3.09944153e-06, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024)
  443. wait(0.5)
  444. for i = 0,1 , 0.05 do
  445. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.50000024, 0.405025482, -0.494292736, 0.999977887, 0.0066490462, 2.196479e-05, -0.000119999582, 0.0213499293, -0.999768794, -0.00664799893, 0.999750018, 0.0213503242),i)
  446. game:GetService("RunService").RenderStepped:wait()
  447. end
  448. function onTouched(brick)
  449. local humanoid = brick.Parent:FindFirstChildOfClass("Humanoid")
  450. if humanoid then
  451. humanoid:Destroy()
  452. slapsound:Play()
  453. end
  454. end
  455. hurtbox.Touched:connect(onTouched)
  456. wait(1)
  457. hurtbox:Destroy()
  458. for i = 0,1 , 0.03 do
  459. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.881086826, -0.201818228, 0.747067213, 0.882895231, 0.4695701, 1.00883415e-06, -0.397803098, 0.747956276, 0.531332433, 0.249497056, -0.469111204, 0.847163498),i)
  460. game:GetService("RunService").RenderStepped:wait()
  461. end
  462. end
  463. end
  464. end
  465. mouse.KeyDown:connect(SLAP)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement