Advertisement
jasonskg1234

-- by Theamazingnater wait(1) plr = game.Players.LocalPlayer

May 4th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.07 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6. -- by Theamazingnater
  7. wait(1)
  8. plr = game.Players.LocalPlayer
  9. char = plr.Character
  10. mouse = plr:GetMouse()
  11. whitecolor = Color3.new(1,1,1)
  12. epicmode = false
  13. normal = true
  14. for i,v in pairs(char:GetChildren()) do
  15. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  16. v:Destroy()
  17. end
  18. end
  19. local shirt = Instance.new("Shirt",char)
  20. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=302011210"
  21. local pants = Instance.new("Pants",char)
  22. pants.PantsTemplate = "http://www.roblox.com/asset/?id=305718140"
  23. local bdycolors = char["Body Colors"]
  24. bdycolors.HeadColor3 = whitecolor
  25. bdycolors.LeftArmColor3 = whitecolor
  26. bdycolors.LeftLegColor3 = whitecolor
  27. bdycolors.RightArmColor3 = whitecolor
  28. bdycolors.RightLegColor3 = whitecolor
  29. bdycolors.TorsoColor3 = whitecolor
  30. for i,v in pairs(char:GetChildren()) do
  31. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  32. v:Destroy()
  33. end
  34. end
  35.  
  36. -- Face
  37. char.Head.face.Texture = "http://www.roblox.com/asset/?id=246064605"
  38.  
  39. -- Chat
  40. local talksound = Instance.new("Sound",char.Torso)
  41. talksound.SoundId = "rbxassetid://928210219"
  42. talksound.Volume = 4
  43. local blastsound = Instance.new("Sound",char.Torso)
  44. blastsound.Name = "blast_sound"
  45. blastsound.SoundId = "rbxassetid://345052019"
  46. blastsound.Volume = 4
  47. function swait(num)
  48. if num==0 or num==nil then
  49. game:service'RunService'.Stepped:wait(0)
  50. else
  51. for i=0,num do
  52. game:service'RunService'.Stepped:wait(0)
  53. end
  54. end
  55. end
  56.  
  57. function chatfunc(text)
  58. local chat = coroutine.wrap(function()
  59. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  60. char:FindFirstChild("TalkingBillBoard"):Destroy()
  61. end
  62. local naeeym2 = Instance.new("BillboardGui",char)
  63. naeeym2.Size = UDim2.new(0,100,0,40)
  64. naeeym2.StudsOffset = Vector3.new(0,3,0)
  65. naeeym2.Adornee = char.Head
  66. naeeym2.Name = "TalkingBillBoard"
  67. local tecks2 = Instance.new("TextLabel",naeeym2)
  68. tecks2.BackgroundTransparency = 1
  69. tecks2.BorderSizePixel = 0
  70. tecks2.Text = ""
  71. tecks2.Font = "Fantasy"
  72. tecks2.TextSize = 30
  73. tecks2.TextStrokeTransparency = 0
  74. tecks2.TextColor3 = Color3.new(.6,0,0)
  75. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  76. tecks2.Size = UDim2.new(1,0,0.5,0)
  77. local tecks3 = Instance.new("TextLabel",naeeym2)
  78. tecks3.BackgroundTransparency = 1
  79. tecks3.BorderSizePixel = 0
  80. tecks3.Text = ""
  81. tecks3.Font = "Fantasy"
  82. tecks3.TextSize = 30
  83. tecks3.TextStrokeTransparency = 0
  84. tecks3.TextColor3 = Color3.new(0,0,0)
  85. tecks3.TextStrokeColor3 = Color3.new(1,1,1)
  86. tecks3.Size = UDim2.new(1,0,0.5,0)
  87. for i = 1,string.len(text),1 do
  88. tecks2.Text = string.sub(text,1,i)
  89. tecks3.Text = string.sub(text,1,i)
  90. talksound:Play()
  91. wait(0.01)
  92. end
  93. wait(2)
  94. for i = 1, 50 do
  95. swait()
  96. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  97. tecks2.Rotation = tecks2.Rotation - .8
  98. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  99. tecks2.TextTransparency = tecks2.TextTransparency + .04
  100. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  101. tecks3.Rotation = tecks2.Rotation + .8
  102. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  103. tecks3.TextTransparency = tecks2.TextTransparency + .04
  104. end
  105. naeeym2:Destroy()
  106. end)
  107. chat()
  108. end
  109. function onChatted(msg)
  110. chatfunc(msg)
  111. end
  112. plr.Chatted:connect(onChatted)
  113. wait(2)
  114. chatfunc("Made by 1x1x1x1IAMbck")
  115. wait(2)
  116. chatfunc("hehehe.")
  117. wait(2)
  118. chatfunc("hello..")
  119. wait(2)
  120. chatfunc("you're murder...")
  121. wait(2)
  122. chatfunc("you killed my brother...")
  123. wait(2)
  124. chatfunc("fuck you...")
  125. wait(0.5)
  126. char.Humanoid.Name = "sans"
  127. local music = Instance.new("Sound",char.Torso)
  128. music.SoundId = "rbxassetid://746514206"
  129. music.Volume = 4
  130. music.Looped = true
  131. music:Play()
  132. LeyeColor = BrickColor.new("Toothpaste")
  133. local eyemodel = Instance.new("Model",char)
  134. eyemodel.Name = "Eyes"
  135. local reye = Instance.new("Part",eyemodel)
  136. reye.Name = "BurningEff"
  137. reye.Color = Color3.new(1,1,1)
  138. reye.Material = "Neon"
  139. reye.Transparency = 1
  140. local reyemesh = Instance.new("SpecialMesh",reye)
  141. reyemesh.MeshType = "Sphere"
  142. reye.Size = Vector3.new(0.12, 0.37, 0.27)
  143. local reyeweld = Instance.new("Weld",reye)
  144. reyeweld.Part0 = reye
  145. reyeweld.Part1 = char.Head
  146. reyeweld.C0 = CFrame.new(-0.551300049, -0.19681406, -0.198293686, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  147. local leye = Instance.new("Part",eyemodel)
  148. leye.Name = "LeftEye"
  149. leye.BrickColor = LeyeColor
  150. leye.Material = "Neon"
  151. leye.Size = Vector3.new(0.2,0.2,0.2)
  152. local leyemesh = Instance.new("SpecialMesh",leye)
  153. leyemesh.MeshType = "Sphere"
  154. leyemesh.Scale = Vector3.new(0.7,1.1,0.7)
  155. local leyeweld = Instance.new("Weld",leye)
  156. leyeweld.Part0 = leye
  157. leyeweld.Part1 = char.Head
  158. leyeweld.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  159. local leyeclone = leye:Clone()
  160. leyeclone.Transparency = 1
  161. leyeclone.Name = "RightEye"
  162. leyeclone.Parent = eyemodel
  163. for i,v in pairs(leyeclone:GetChildren()) do
  164. if v.ClassName == "Weld" then
  165. v:Destroy()
  166. end
  167. end
  168. local leyeweld2 = Instance.new("Weld",leyeclone)
  169. leyeweld2.Part0 = leyeclone
  170. leyeweld2.Part1 = char.Head
  171. leyeweld2.C0 = CFrame.new(0.0864697844, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  172. local fire = Instance.new("Fire",reye)
  173. fire.Heat = 25000
  174. fire.Color = leye.BrickColor.Color
  175. fire.Size = 2
  176. -- welds xd
  177. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  178. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  179. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  180. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  181. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  182. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  183. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  184. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  185. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  186. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  187. for i = 0,1 ,0.03 do
  188. 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)
  189. 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)
  190. game:GetService("RunService").RenderStepped:wait()
  191. end
  192. local slapsound = Instance.new("Sound",char.Torso)
  193. slapsound.SoundId = "rbxassetid://511340819"
  194. slapsound.Volume = 4
  195. -- Funcs
  196. function Blast(AAA)
  197. if AAA == "f" then
  198. local chatmath = math.random(1,3)
  199. if chatmath == 1 then
  200. chatfunc("Gaster Blaster!")
  201. end
  202. if chatmath == 2 then
  203. chatfunc("This is what you get for killing everybody.")
  204. end
  205. if chatmath == 3 then
  206. chatfunc("Look, I gave up trying to go back a long time ago.")
  207. end
  208. local gasterblaster = Instance.new("Part",char.Torso)
  209. gasterblaster.Size = Vector3.new(7, 16, 4)
  210. gasterblaster.CanCollide = false
  211. local gasterblastermesh = Instance.new("FileMesh",gasterblaster)
  212. gasterblastermesh.MeshId = "rbxassetid://431908407"
  213. gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05)
  214. local gasterblastertexture = Instance.new("Decal",gasterblaster)
  215. gasterblastertexture.Face = "Back"
  216. gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=441975828"
  217. local weeld = Instance.new("Weld",gasterblaster)
  218. weeld.Part0 = gasterblaster
  219. weeld.Part1 = char.Torso
  220. weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375)
  221. blastsound:Play()
  222. char.Head.Anchored = true
  223. wait(1)
  224. local blast = Instance.new("Part",gasterblaster)
  225. blast.Size = Vector3.new(18.07, 16.36, 73.54)
  226. blast.Transparency = 0.7
  227. blast.Material = "Neon"
  228. blast.Color = Color3.new(1,1,1)
  229. blast.CanCollide = true
  230. local blastweld = Instance.new("Weld",blast)
  231. blastweld.Part0 = blast
  232. blastweld.Part1 = gasterblaster
  233. blastweld.C0 = CFrame.new(-0.430000305, 1.73999977, -40.1399994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  234. blast.Touched:connect(function(part)
  235. part.Parent:FindFirstChildOfClass("Humanoid"):Destroy() -- Makes them not able to move
  236. end)
  237. wait(2)
  238. char.Head.Anchored = false
  239. blast:Destroy()
  240. gasterblaster:Destroy()
  241. end
  242. end
  243. mouse.KeyDown:connect(Blast)
  244.  
  245.  
  246. function Death()
  247. music:Stop()
  248. local deadsound = Instance.new("Sound",char.Torso)
  249. deadsound.SoundId = "rbxassetid://427025525"
  250. deadsound.Volume = 4
  251. deadsound:Play()
  252. for i,v in pairs(char:GetChildren()) do
  253. if v.ClassName == "Part" then
  254. v.Transparency = 1
  255. end
  256. leye.Transparency = 1
  257. fire:Destroy()
  258. char.Head.face.Transparency = 1
  259. end
  260. end
  261. char.Sans.Died:connect(Death)
  262.  
  263.  
  264. function Transform(key)
  265. if key == "t" then
  266. music.SoundId = "rbxassetid://860704015"
  267. music:Stop()
  268. music:Play()
  269. chatfunc("Hehe, forgetting something?")
  270. leyeclone.Transparency = 0
  271. local fire2 = Instance.new("Fire",leyeclone)
  272. fire2.Heat = 25000
  273. fire2.Color = leye.BrickColor.Color
  274. fire2.Size = 2
  275. end
  276. end
  277. mouse.KeyDown:connect(Transform)
  278.  
  279.  
  280. function SLAP(key)
  281. if key == "y" then
  282. if normal and not epicmode then
  283. for i = 0,1 , 0.05 do
  284. 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)
  285. game:GetService("RunService").RenderStepped:wait()
  286. end
  287. local hurtbox = Instance.new("Part",char["Right Arm"])
  288. hurtbox.Name = "Hurtbox"
  289. hurtbox.Size = Vector3.new(1, 0.23, 1)
  290. hurtbox.Transparency = 1
  291. hurtbox.CanCollide = false
  292. local hurtboxweld = Instance.new("Weld",hurtbox)
  293. hurtboxweld.Part0 = hurtbox
  294. hurtboxweld.Part1 = char["Right Arm"]
  295. hurtboxweld.C0 = CFrame.new(0, 0.924999475, 3.09944153e-06, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024)
  296. wait(0.5)
  297. for i = 0,1 , 0.05 do
  298. 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)
  299. game:GetService("RunService").RenderStepped:wait()
  300. end
  301. function onTouched(brick)
  302. local humanoid = brick.Parent:FindFirstChildOfClass("Humanoid")
  303. if humanoid then
  304. humanoid:Destroy()
  305. slapsound:Play()
  306. end
  307. end
  308. hurtbox.Touched:connect(onTouched)
  309. wait(1)
  310. hurtbox:Destroy()
  311. for i = 0,1 , 0.03 do
  312. 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)
  313. game:GetService("RunService").RenderStepped:wait()
  314. end
  315. end
  316. end
  317. end
  318. mouse.KeyDown:connect(SLAP)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement