Advertisement
refrop

Error!Sans v4

Jun 5th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.79 KB | None | 0 0
  1. --Edited by refrop
  2. local plr = game:GetService("Players").LocalPlayer
  3. local char = plr.Character
  4.  
  5. function FindInTable(t, n)
  6. for i,v in pairs(t) do
  7. if v == n then
  8. return true
  9. end
  10. end
  11. return false
  12. end
  13. --Transformaaaaation--
  14. char["Left Arm"].BrickColor = BrickColor.new("Medium stone")
  15. char["Right Arm"].BrickColor = BrickColor.new("Medium stone")
  16. char.Head.BrickColor = BrickColor.new("Medium stone")
  17. char["Left Leg"].BrickColor = BrickColor.new("Medium stone")
  18. char["Right Leg"].BrickColor = BrickColor.new("Medium stone")
  19.  
  20. for i,v in pairs(char:children'') do
  21. local toremove = {"CharacterMesh", "Shirt", "Pants", "ShirtGraphic", "Accessory"}
  22. if FindInTable(toremove, v.ClassName) then v:Destroy() end
  23. if v.ClassName == "BodyColors" then
  24. v.HeadColor = BrickColor.new("Really black")
  25. v.LeftArmColor = BrickColor.new("Really black")
  26. v.LeftLegColor = BrickColor.new("Really black")
  27. v.RightArmColor = BrickColor.new("Really black")
  28. v.RightLegColor = BrickColor.new("Really black")
  29. v.TorsoColor = BrickColor.new("Really black")
  30. end
  31. end
  32. wait(1)
  33. plr = game.Players.LocalPlayer
  34. char = plr.Character
  35. mouse = plr:GetMouse()
  36. whitecolor = Color3.new(1,1,1)
  37. epicmode = false
  38. normal = true
  39. for i,v in pairs(char:GetChildren()) do
  40. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  41. v:Destroy()
  42. end
  43. end
  44. local shirt = Instance.new("Shirt",char)
  45. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=535102167"
  46. local pants = Instance.new("Pants",char)
  47. pants.PantsTemplate = "http://www.roblox.com/asset/?id=540008761"
  48. local bdycolors = char["Body Colors"]
  49.  
  50. for i,v in pairs(char:GetChildren()) do
  51. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  52. v:Destroy()
  53. end
  54. end
  55.  
  56. -- Face
  57. char.Head.face.Texture = "http://www.roblox.com/asset/?id=543498118"
  58.  
  59. -- Chat
  60. local talksound = Instance.new("Sound",char.Torso)
  61. talksound.SoundId = "rbxassetid://928210219"
  62. talksound.Volume = 4
  63. local blastsound = Instance.new("Sound",char.Torso)
  64. blastsound.Name = "blast_sound"
  65. blastsound.SoundId = "rbxassetid://345052019"
  66. blastsound.Volume = 4
  67. function swait(num)
  68. if num==0 or num==nil then
  69. game:service'RunService'.Stepped:wait(0)
  70. else
  71. for i=0,num do
  72. game:service'RunService'.Stepped:wait(0)
  73. end
  74. end
  75. end
  76.  
  77. function chatfunc(text)
  78. local chat = coroutine.wrap(function()
  79. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  80. char:FindFirstChild("TalkingBillBoard"):Destroy()
  81. end
  82. local naeeym2 = Instance.new("BillboardGui",char)
  83. naeeym2.Size = UDim2.new(0,100,0,40)
  84. naeeym2.StudsOffset = Vector3.new(0,3,0)
  85. naeeym2.Adornee = char.Head
  86. naeeym2.Name = "TalkingBillBoard"
  87. local tecks2 = Instance.new("TextLabel",naeeym2)
  88. tecks2.BackgroundTransparency = 1
  89. tecks2.BorderSizePixel = 0
  90. tecks2.Text = ""
  91. tecks2.Font = "Arcade"
  92. tecks2.TextSize = 30
  93. tecks2.TextStrokeTransparency = 0
  94. tecks2.TextColor3 = Color3.new(255, 89, 89)
  95. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  96. tecks2.Size = UDim2.new(1,0,0.5,0)
  97. local tecks3 = Instance.new("TextLabel",naeeym2)
  98. tecks3.BackgroundTransparency = 1
  99. tecks3.BorderSizePixel = 0
  100. tecks3.Text = ""
  101. tecks3.Font = "Arcade"
  102. tecks3.TextSize = 30
  103. tecks3.TextStrokeTransparency = 0
  104. tecks3.TextColor3 = Color3.new(0,0,0)
  105. tecks3.TextStrokeColor3 = Color3.new(1,1,1)
  106. tecks3.Size = UDim2.new(1,0,0.5,0)
  107. for i = 1,string.len(text),1 do
  108. tecks2.Text = string.sub(text,1,i)
  109. tecks3.Text = string.sub(text,1,i)
  110. talksound:Play()
  111. wait(0.01)
  112. end
  113. wait(2)
  114. for i = 1, 50 do
  115. swait()
  116. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  117. tecks2.Rotation = tecks2.Rotation - .8
  118. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  119. tecks2.TextTransparency = tecks2.TextTransparency + .04
  120. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  121. tecks3.Rotation = tecks2.Rotation + .8
  122. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  123. tecks3.TextTransparency = tecks2.TextTransparency + .04
  124. end
  125. naeeym2:Destroy()
  126. end)
  127. chat()
  128. end
  129. function onChatted(msg)
  130. chatfunc(msg)
  131. end
  132. plr.Chatted:connect(onChatted)
  133. wait(2)
  134. chatfunc("Edited by Refrop")
  135. wait(2)
  136. chatfunc("What do we have here?")
  137. wait(2)
  138. chatfunc("Another AU...")
  139. wait(2)
  140. chatfunc("Code of this world is really trashy.")
  141. wait(2)
  142. chatfunc("I guess I am just gonna...")
  143. wait(2)
  144. chatfunc("END THIS WORLD")
  145. wait(0.5)
  146. char.Humanoid.Name = "Sans"
  147. local music = Instance.new("Sound",char.Torso)
  148. music.SoundId = "rbxassetid://377241339"
  149. music.Volume = 30
  150. music.Looped = true
  151. music:Play()
  152. LeyeColor = BrickColor.new("Really red")
  153. local eyemodel = Instance.new("Model",char)
  154. eyemodel.Name = "Eyes"
  155. local reye = Instance.new("Part",eyemodel)
  156. reye.Name = "BurningEff"
  157. reye.Color = Color3.new(1,1,1)
  158. reye.Material = "Neon"
  159. reye.Transparency = 1
  160. local reyemesh = Instance.new("SpecialMesh",reye)
  161. reyemesh.MeshType = "Sphere"
  162. reye.Size = Vector3.new(0.12, 0.37, 0.27)
  163. local reyeweld = Instance.new("Weld",reye)
  164. reyeweld.Part0 = reye
  165. reyeweld.Part1 = char.Head
  166. reyeweld.C0 = CFrame.new(-0.551300049, -0.19681406, -0.198293686, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  167. local leye = Instance.new("Part",eyemodel)
  168. leye.Name = "LeftEye"
  169. leye.BrickColor = LeyeColor
  170. leye.Material = "Neon"
  171. leye.Size = Vector3.new(0.2,0.2,0.2)
  172. local leyemesh = Instance.new("SpecialMesh",leye)
  173. leyemesh.MeshType = "Sphere"
  174. leyemesh.Scale = Vector3.new(0.7,1.1,0.7)
  175. local leyeweld = Instance.new("Weld",leye)
  176. leyeweld.Part0 = leye
  177. leyeweld.Part1 = char.Head
  178. leyeweld.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  179. local leyeclone = leye:Clone()
  180. leyeclone.Transparency = 1
  181. leyeclone.Name = "RightEye"
  182. leyeclone.Parent = eyemodel
  183. for i,v in pairs(leyeclone:GetChildren()) do
  184. if v.ClassName == "Weld" then
  185. v:Destroy()
  186. end
  187. end
  188. local leyeweld2 = Instance.new("Weld",leyeclone)
  189. leyeweld2.Part0 = leyeclone
  190. leyeweld2.Part1 = char.Head
  191. leyeweld2.C0 = CFrame.new(0.0864697844, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  192. local fire = Instance.new("Fire",reye)
  193. fire.Heat = 25000
  194. fire.Color = leye.BrickColor.Color
  195. fire.Size = 2
  196. -- welds xd
  197. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  198. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  199. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  200. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  201. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  202. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  203. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  204. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  205. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  206. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  207. for i = 0,1 ,0.03 do
  208. 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)
  209. 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)
  210. game:GetService("RunService").RenderStepped:wait()
  211. end
  212. local slapsound = Instance.new("Sound",char.Torso)
  213. slapsound.SoundId = "rbxassetid://511340819"
  214. slapsound.Volume = 4
  215. -- Funcs
  216. function Blast(AAA)
  217. if AAA == "f" then
  218. local chatmath = math.random(1,3)
  219. if chatmath == 1 then
  220. chatfunc("FIRE!")
  221. end
  222. if chatmath == 2 then
  223. chatfunc("Do you have an ERROR in ur system?")
  224. end
  225. if chatmath == 3 then
  226. chatfunc("help i have an error... wait...")
  227. end
  228. local gasterblaster = Instance.new("Part",char.Torso)
  229. gasterblaster.Size = Vector3.new(7, 16, 4)
  230. gasterblaster.CanCollide = false
  231. local gasterblastermesh = Instance.new("FileMesh",gasterblaster)
  232. gasterblastermesh.MeshId = "rbxassetid://431908407"
  233. gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05)
  234. local gasterblastertexture = Instance.new("Decal",gasterblaster)
  235. gasterblastertexture.Face = "Back"
  236. gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=451087762"
  237. local weeld = Instance.new("Weld",gasterblaster)
  238. weeld.Part0 = gasterblaster
  239. weeld.Part1 = char.Torso
  240. weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375)
  241. blastsound:Play()
  242. char.Head.Anchored = true
  243. wait(1)
  244. local blast = Instance.new("Part",gasterblaster)
  245. blast.Size = Vector3.new(39.07, 16.36, 367.54)
  246. blast.Transparency = 0.7
  247. blast.Material = "Neon"
  248. blast.Color = Color3.new(255, 0, 0)
  249. blast.CanCollide = true
  250. local blastweld = Instance.new("Weld",blast)
  251. blastweld.Part0 = blast
  252. blastweld.Part1 = gasterblaster
  253. blastweld.C0 = CFrame.new(-0.430000305, 1.73999977, -40.1399994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  254. blast.Touched:connect(function(part)
  255. part.Parent:FindFirstChildOfClass("Humanoid"):Destroy() -- Makes them not able to move
  256. end)
  257. wait(2)
  258. char.Head.Anchored = false
  259. blast:Destroy()
  260. gasterblaster:Destroy()
  261. end
  262. end
  263. mouse.KeyDown:connect(Blast)
  264.  
  265.  
  266. function Death()
  267. music:Stop()
  268. local deadsound = Instance.new("Sound",char.Torso)
  269. deadsound.SoundId = "rbxassetid://427025525"
  270. deadsound.Volume = 4
  271. deadsound:Play()
  272. for i,v in pairs(char:GetChildren()) do
  273. if v.ClassName == "Part" then
  274. v.Transparency = 1
  275. end
  276. leye.Transparency = 1
  277. fire:Destroy()
  278. char.Head.face.Transparency = 1
  279. end
  280. end
  281. char.Sans.Died:connect(Death)
  282.  
  283.  
  284. function Transform(key)
  285. if key == "t" then
  286. music.SoundId = "rbxassetid://424026286"
  287. music:Stop()
  288. music:Play()
  289. chatfunc("Bro, Let me show you my true power")
  290. leyeclone.Transparency = 0
  291. local fire2 = Instance.new("Fire",leyeclone)
  292. fire2.Heat = 25000
  293. fire2.Color = leye.BrickColor.Color
  294. fire2.Size = 2
  295. end
  296. end
  297. mouse.KeyDown:connect(Transform)
  298.  
  299.  
  300. function SLAP(key)
  301. if key == "y" then
  302. if normal and not epicmode then
  303. for i = 0,1 , 0.05 do
  304. 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)
  305. game:GetService("RunService").RenderStepped:wait()
  306. end
  307. local hurtbox = Instance.new("Part",char["Right Arm"])
  308. hurtbox.Name = "Hurtbox"
  309. hurtbox.Size = Vector3.new(1, 0.23, 1)
  310. hurtbox.Transparency = 1
  311. hurtbox.CanCollide = false
  312. local hurtboxweld = Instance.new("Weld",hurtbox)
  313. hurtboxweld.Part0 = hurtbox
  314. hurtboxweld.Part1 = char["Right Arm"]
  315. hurtboxweld.C0 = CFrame.new(0, 0.924999475, 3.09944153e-06, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024)
  316. wait(0.5)
  317. for i = 0,1 , 0.05 do
  318. 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)
  319. game:GetService("RunService").RenderStepped:wait()
  320. end
  321. function onTouched(brick)
  322. local humanoid = brick.Parent:FindFirstChildOfClass("Humanoid")
  323. if humanoid then
  324. humanoid:Destroy()
  325. slapsound:Play()
  326. end
  327. end
  328. hurtbox.Touched:connect(onTouched)
  329. wait(1)
  330. hurtbox:Destroy()
  331. for i = 0,1 , 0.03 do
  332. 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)
  333. game:GetService("RunService").RenderStepped:wait()
  334. end
  335. end
  336. end
  337. end
  338. mouse.KeyDown:connect(SLAP)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement