Advertisement
DarkScriptZEditors

Sans FE V2

Nov 18th, 2018
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.13 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. -- by Theamazingnater
  143. wait(1)
  144. plr = game.Players.LocalPlayer
  145. char = plr.Character
  146. mouse = plr:GetMouse()
  147. whitecolor = Color3.new(1,1,1)
  148. epicmode = false
  149. normal = true
  150. for i,v in pairs(char:GetChildren()) do
  151. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  152. v:Destroy()
  153. end
  154. end
  155. local shirt = Instance.new("Shirt",char)
  156. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=302011210"
  157. local pants = Instance.new("Pants",char)
  158. pants.PantsTemplate = "http://www.roblox.com/asset/?id=305718140"
  159. local bdycolors = char["Body Colors"]
  160. bdycolors.HeadColor3 = whitecolor
  161. bdycolors.LeftArmColor3 = whitecolor
  162. bdycolors.LeftLegColor3 = whitecolor
  163. bdycolors.RightArmColor3 = whitecolor
  164. bdycolors.RightLegColor3 = whitecolor
  165. bdycolors.TorsoColor3 = whitecolor
  166. for i,v in pairs(char:GetChildren()) do
  167. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  168. v:Destroy()
  169. end
  170. end
  171.  
  172. -- Face
  173. char.Head.face.Texture = "http://www.roblox.com/asset/?id=246064605"
  174.  
  175. -- Chat
  176. local talksound = Instance.new("Sound",char.Torso)
  177. talksound.SoundId = "rbxassetid://928210219"
  178. talksound.Volume = 4
  179. local blastsound = Instance.new("Sound",char.Torso)
  180. blastsound.Name = "blast_sound"
  181. blastsound.SoundId = "rbxassetid://345052019"
  182. blastsound.Volume = 4
  183. function swait(num)
  184. if num==0 or num==nil then
  185. game:service'RunService'.Stepped:wait(0)
  186. else
  187. for i=0,num do
  188. game:service'RunService'.Stepped:wait(0)
  189. end
  190. end
  191. end
  192.  
  193. function chatfunc(text)
  194. local chat = coroutine.wrap(function()
  195. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  196. char:FindFirstChild("TalkingBillBoard"):Destroy()
  197. end
  198. local naeeym2 = Instance.new("BillboardGui",char)
  199. naeeym2.Size = UDim2.new(0,100,0,40)
  200. naeeym2.StudsOffset = Vector3.new(0,3,0)
  201. naeeym2.Adornee = char.Head
  202. naeeym2.Name = "TalkingBillBoard"
  203. local tecks2 = Instance.new("TextLabel",naeeym2)
  204. tecks2.BackgroundTransparency = 1
  205. tecks2.BorderSizePixel = 0
  206. tecks2.Text = ""
  207. tecks2.Font = "Fantasy"
  208. tecks2.TextSize = 30
  209. tecks2.TextStrokeTransparency = 0
  210. tecks2.TextColor3 = Color3.new(.6,0,0)
  211. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  212. tecks2.Size = UDim2.new(1,0,0.5,0)
  213. local tecks3 = Instance.new("TextLabel",naeeym2)
  214. tecks3.BackgroundTransparency = 1
  215. tecks3.BorderSizePixel = 0
  216. tecks3.Text = ""
  217. tecks3.Font = "Fantasy"
  218. tecks3.TextSize = 30
  219. tecks3.TextStrokeTransparency = 0
  220. tecks3.TextColor3 = Color3.new(0,0,0)
  221. tecks3.TextStrokeColor3 = Color3.new(1,1,1)
  222. tecks3.Size = UDim2.new(1,0,0.5,0)
  223. for i = 1,string.len(text),1 do
  224. tecks2.Text = string.sub(text,1,i)
  225. tecks3.Text = string.sub(text,1,i)
  226. talksound:Play()
  227. wait(0.01)
  228. end
  229. wait(2)
  230. for i = 1, 50 do
  231. swait()
  232. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  233. tecks2.Rotation = tecks2.Rotation - .8
  234. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  235. tecks2.TextTransparency = tecks2.TextTransparency + .04
  236. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  237. tecks3.Rotation = tecks2.Rotation + .8
  238. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  239. tecks3.TextTransparency = tecks2.TextTransparency + .04
  240. end
  241. naeeym2:Destroy()
  242. end)
  243. chat()
  244. end
  245. function onChatted(msg)
  246. chatfunc(msg)
  247. end
  248. plr.Chatted:connect(onChatted)
  249. wait(2)
  250. chatfunc("Edited By SincereProdeadZ")
  251. wait(2)
  252. chatfunc("It's a beautiful day outside..")
  253. wait(2)
  254. chatfunc("Birds are singing..")
  255. wait(2)
  256. chatfunc("Flowers are blooming...")
  257. wait(2)
  258. chatfunc("On days like these... kids like you...")
  259. wait(2)
  260. chatfunc("Should be burning in hell.")
  261. wait(0.5)
  262. char.Humanoid.Name = "Sans"
  263. local music = Instance.new("Sound",char.Torso)
  264. music.SoundId = "rbxassetid://552706328"
  265. music.Volume = 10
  266. music.Looped = true
  267. music:Play()
  268. LeyeColor = BrickColor.new("Toothpaste")
  269. local eyemodel = Instance.new("Model",char)
  270. eyemodel.Name = "Eyes"
  271. local reye = Instance.new("Part",eyemodel)
  272. reye.Name = "BurningEff"
  273. reye.Color = Color3.new(1,1,1)
  274. reye.Material = "Neon"
  275. reye.Transparency = 1
  276. local reyemesh = Instance.new("SpecialMesh",reye)
  277. reyemesh.MeshType = "Sphere"
  278. reye.Size = Vector3.new(0.12, 0.37, 0.27)
  279. local reyeweld = Instance.new("Weld",reye)
  280. reyeweld.Part0 = reye
  281. reyeweld.Part1 = char.Head
  282. reyeweld.C0 = CFrame.new(-0.551300049, -0.19681406, -0.198293686, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  283. local leye = Instance.new("Part",eyemodel)
  284. leye.Name = "LeftEye"
  285. leye.BrickColor = LeyeColor
  286. leye.Material = "Neon"
  287. leye.Size = Vector3.new(0.2,0.2,0.2)
  288. local leyemesh = Instance.new("SpecialMesh",leye)
  289. leyemesh.MeshType = "Sphere"
  290. leyemesh.Scale = Vector3.new(0.7,1.1,0.7)
  291. local leyeweld = Instance.new("Weld",leye)
  292. leyeweld.Part0 = leye
  293. leyeweld.Part1 = char.Head
  294. leyeweld.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  295. local leyeclone = leye:Clone()
  296. leyeclone.Transparency = 1
  297. leyeclone.Name = "RightEye"
  298. leyeclone.Parent = eyemodel
  299. for i,v in pairs(leyeclone:GetChildren()) do
  300. if v.ClassName == "Weld" then
  301. v:Destroy()
  302. end
  303. end
  304. local leyeweld2 = Instance.new("Weld",leyeclone)
  305. leyeweld2.Part0 = leyeclone
  306. leyeweld2.Part1 = char.Head
  307. leyeweld2.C0 = CFrame.new(0.0864697844, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  308. local fire = Instance.new("Fire",reye)
  309. fire.Heat = 25000
  310. fire.Color = leye.BrickColor.Color
  311. fire.Size = 2
  312. -- welds xd
  313. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  314. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  315. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  316. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  317. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  318. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  319. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  320. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  321. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  322. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  323. for i = 0,1 ,0.03 do
  324. 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)
  325. 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)
  326. game:GetService("RunService").RenderStepped:wait()
  327. end
  328. local slapsound = Instance.new("Sound",char.Torso)
  329. slapsound.SoundId = "rbxassetid://511340819"
  330. slapsound.Volume = 4
  331. -- Funcs
  332. function Blast(AAA)
  333. if AAA == "f" then
  334. local chatmath = math.random(1,3)
  335. if chatmath == 1 then
  336. chatfunc("Gaster Blaster!")
  337. end
  338. if chatmath == 2 then
  339. chatfunc("This is what you get for killing everybody.")
  340. end
  341. if chatmath == 3 then
  342. chatfunc("Look, I gave up trying to go back a long time ago.")
  343. end
  344. local gasterblaster = Instance.new("Part",char.Torso)
  345. gasterblaster.Size = Vector3.new(7, 16, 4)
  346. gasterblaster.CanCollide = false
  347. local gasterblastermesh = Instance.new("FileMesh",gasterblaster)
  348. gasterblastermesh.MeshId = "rbxassetid://431908407"
  349. gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05)
  350. local gasterblastertexture = Instance.new("Decal",gasterblaster)
  351. gasterblastertexture.Face = "Back"
  352. gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=441975828"
  353. local weeld = Instance.new("Weld",gasterblaster)
  354. weeld.Part0 = gasterblaster
  355. weeld.Part1 = char.Torso
  356. weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375)
  357. blastsound:Play()
  358. char.Head.Anchored = true
  359. wait(1)
  360. local blast = Instance.new("Part",gasterblaster)
  361. blast.Size = Vector3.new(18.07, 16.36, 73.54)
  362. blast.Transparency = 0.7
  363. blast.Material = "Neon"
  364. blast.Color = Color3.new(1,1,1)
  365. blast.CanCollide = true
  366. local blastweld = Instance.new("Weld",blast)
  367. blastweld.Part0 = blast
  368. blastweld.Part1 = gasterblaster
  369. blastweld.C0 = CFrame.new(-0.430000305, 1.73999977, -40.1399994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  370. blast.Touched:connect(function(part)
  371. part.Parent:FindFirstChildOfClass("Humanoid"):Destroy() -- Makes them not able to move
  372. end)
  373. wait(2)
  374. char.Head.Anchored = false
  375. blast:Destroy()
  376. gasterblaster:Destroy()
  377. end
  378. end
  379. mouse.KeyDown:connect(Blast)
  380.  
  381.  
  382. function Death()
  383. music:Stop()
  384. local deadsound = Instance.new("Sound",char.Torso)
  385. deadsound.SoundId = "rbxassetid://427025525"
  386. deadsound.Volume = 4
  387. deadsound:Play()
  388. for i,v in pairs(char:GetChildren()) do
  389. if v.ClassName == "Part" then
  390. v.Transparency = 1
  391. end
  392. leye.Transparency = 1
  393. fire:Destroy()
  394. char.Head.face.Transparency = 1
  395. end
  396. end
  397. char.Sans.Died:connect(Death)
  398.  
  399.  
  400. function Transform(key)
  401. if key == "t" then
  402. music.SoundId = "rbxassetid://1766721786"
  403. music:Stop()
  404. music:Play()
  405. chatfunc("Hehe, forgetting something?")
  406. leyeclone.Transparency = 0
  407. local fire2 = Instance.new("Fire",leyeclone)
  408. fire2.Heat = 25000
  409. fire2.Color = leye.BrickColor.Color
  410. fire2.Size = 2
  411. end
  412. end
  413. mouse.KeyDown:connect(Transform)
  414.  
  415.  
  416. function SLAP(key)
  417. if key == "y" then
  418. if normal and not epicmode then
  419. for i = 0,1 , 0.05 do
  420. 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)
  421. game:GetService("RunService").RenderStepped:wait()
  422. end
  423. local hurtbox = Instance.new("Part",char["Right Arm"])
  424. hurtbox.Name = "Hurtbox"
  425. hurtbox.Size = Vector3.new(1, 0.23, 1)
  426. hurtbox.Transparency = 1
  427. hurtbox.CanCollide = false
  428. local hurtboxweld = Instance.new("Weld",hurtbox)
  429. hurtboxweld.Part0 = hurtbox
  430. hurtboxweld.Part1 = char["Right Arm"]
  431. hurtboxweld.C0 = CFrame.new(0, 0.924999475, 3.09944153e-06, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024)
  432. wait(0.5)
  433. for i = 0,1 , 0.05 do
  434. 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)
  435. game:GetService("RunService").RenderStepped:wait()
  436. end
  437. function onTouched(brick)
  438. local humanoid = brick.Parent:FindFirstChildOfClass("Humanoid")
  439. if humanoid then
  440. humanoid:Destroy()
  441. slapsound:Play()
  442. end
  443. end
  444. hurtbox.Touched:connect(onTouched)
  445. wait(1)
  446. hurtbox:Destroy()
  447. for i = 0,1 , 0.03 do
  448. 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)
  449. game:GetService("RunService").RenderStepped:wait()
  450. end
  451. end
  452. end
  453. end
  454. mouse.KeyDown:connect(SLAP)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement