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