View difference between Paste ID: 51zMKKLi and bGSHrY72
SHOW: | | - or go back to the newest paste.
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
 
7
wait(1)
8
--// Script made by Cronizete
9
--// Please dont check the code its ugly
10
--// Who ever has this and youre not the maker of this script then you just stole it unless I released it to the public or whatever but yeah
11
--// Please, if you're going to showcase this. Make sure to give credits to me :D
12
--// Anyways, enjoy the script!!!!!!!!!!!!!!!
13
14
15
plr = game.Players.LocalPlayer
16
char = plr.Character
17
ff = Instance.new('ForceField', char)
18
ff.Visible = false
19
mouse = plr:GetMouse()
20
human = char.Humanoid
21
torso = char.Torso
22
root = char.HumanoidRootPart
23
lleg = char["Left Leg"]
24
rleg = char["Right Leg"]
25
larm = char["Left Arm"]
26
rarm = char["Right Arm"]
27
head = char.Head
28
lshold = torso["Left Shoulder"]
29
rshold = torso["Right Shoulder"]
30
neck = torso.Neck
31
lhip = torso["Left Hip"]
32
rhip = torso["Right Hip"]
33
lscf = lshold.C0
34
rscf = rshold.C0
35
ncf = neck.C0
36
lhcf = lhip.C0
37
rhcf = rhip.C0
38
rad = math.rad
39
random = math.random
40
sin = math.sin
41
cos = math.cos
42
floor = math.floor
43
lsho = lshold.C0
44
rsho = rshold.C0
45
cd1 = true
46
cd2 = true
47
48
function harmlessexplo()
49
sph = Instance.new('Part', char)
50
sph.Anchored = true
51
sph.CFrame = char.Torso.CFrame
52
sph.CanCollide = false
53
sph.Anchored = true
54
sph.Transparency = 0
55
sph.Material = "Neon"
56
sph.Shape = "Ball"
57
sph.Size = Vector3.new(0.2,0.2,0.2)
58
for i = 1,50 do
59
wait()
60
sph.Size = sph.Size + Vector3.new(4,4,4)
61
sph.Transparency = sph.Transparency + 0.05
62
sph.CFrame = char.Torso.CFrame
63
end
64
sph:Destroy()
65
end
66
67
function entrance()
68
69
for _,q in pairs(char:GetChildren()) do
70
if q:IsA('Accessory') then
71
q:Destroy()
72
end
73
74
a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character) 
75
a.MeshId = "279174949" 
76
a.BodyPart = "LeftArm"
77
78
a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character) 
79
a.MeshId = "319336109" 
80
a.BodyPart = "LeftLeg"
81
82
a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character) 
83
a.MeshId = "279174886" 
84
a.BodyPart = "RightArm"
85
86
a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character) 
87
a.MeshId = "319336155" 
88
a.BodyPart = "RightLeg"
89
90
a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character) 
91
a.MeshId = "376169183" 
92
a.BodyPart = "Torso"
93
94
if q:IsA('Shirt') then
95-
char["Left Arm"].BrickColor = BrickColor.new('Cyan')
95+
96-
char["Right Arm"].BrickColor = BrickColor.new('Cyan')
96+
97
98
if q:IsA('Pants') then
99
q.PantsTemplate = "rbxassetid://704102680"
100
end
101
102
if q.Name ~= "HumanoidRootPart" and q:IsA('Part') then
103
q.Transparency = 1
104
end
105
end
106
107
char.Humanoid.HipHeight = 60
108
wait(.05)
109
char.Torso.Anchored = true
110
111
sph = Instance.new('Part', char)
112
sph.Anchored = true
113
sph.CFrame = char.Torso.CFrame
114
sph.CanCollide = false
115
sph.Anchored = true
116
sph.Transparency = 0
117
sph.Material = "Neon"
118
sph.Shape = "Ball"
119
sph.Size = Vector3.new(0.2,0.2,0.2)
120
sp = Instance.new('SpecialMesh', sph)
121
sp.MeshId = "http://www.roblox.com/Asset/?id=9982590"
122
sp.Scale = Vector3.new(0.2,0.2,0.2)
123
a = 0
124
125
for i = 1, 25 do
126
sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
127
sp.Scale = sp.Scale + Vector3.new(0.3,0.3,0.3)
128
sph.Rotation = Vector3.new( a, a, a)
129
wait()
130
a = a+3
131
end
132
for _,e in pairs(char:GetChildren()) do
133
if e:IsA('Accessory') then
134
e.Handle.Transparency = 0
135
end
136
if e.Name ~= "HumanoidRootPart" and e:IsA('Part') then
137
e.Transparency = 0
138
end
139
end
140
for i = 1, 115 do
141
sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
142
sph.Transparency = sph.Transparency + 0.01
143
sph.Rotation = Vector3.new( a, a, a)
144
wait()
145
a = a+15
146
end
147
char.Torso.Anchored = false
148
char.Humanoid.HipHeight = 0
149
end
150
151
function chat(chatt)
152
local text = Instance.new("BillboardGui", game.Players.LocalPlayer.Character)
153
text.Size = UDim2.new(0,100,0,40)
154
text.StudsOffset = Vector3.new(0,3,0)
155
text.Adornee = game.Players.LocalPlayer.Character.Head
156
text.Name = "1"
157
local text1 = Instance.new("TextLabel",text)
158
text1.BackgroundTransparency = 1
159
text1.TextStrokeTransparency = 1
160
text1.TextTransparency = 1
161
text1.BorderSizePixel = 0
162
text1.Text = chatt
163
text1.Font = "Fantasy"
164
text1.FontSize = "Size36"
165
text1.TextStrokeTransparency = 0
166
text1.TextColor3 = Color3.new(1,1,1)
167
text1.TextStrokeColor3 = Color3.new(0,0,0)
168
text1.Size = UDim2.new(1,0,0.5,0)
169
for i=1,15 do
170
wait()
171
text1.TextStrokeTransparency = text1.TextStrokeTransparency - 0.1
172
text1.TextTransparency = text1.TextTransparency - 0.1
173
end
174
wait(1)
175
for i=1,25 do
176
wait()
177
text1.TextStrokeTransparency = text1.TextStrokeTransparency + 0.1
178
text1.TextTransparency = text1.TextTransparency + 0.1
179
end
180
end
181
182
function explo()
183
sph = Instance.new('Part', char)
184
sph.Touched:connect(function(hit)
185
if hit.Parent:FindFirstChild('Humanoid') then
186
if hit.Parent.Name ~= plr.Name then
187
hit.Parent:Destroy()
188
else
189
end
190
end
191
end)
192
sph.Anchored = true
193
sph.CFrame = char.Torso.CFrame
194
sph.CanCollide = false
195
sph.Anchored = true
196
sph.Transparency = 0
197
sph.Material = "Neon"
198
sph.Shape = "Ball"
199
sph.Size = Vector3.new(0.2,0.2,0.2)
200
for i = 1,50 do
201
wait()
202
sph.Size = sph.Size + Vector3.new(4,4,4)
203
sph.Transparency = sph.Transparency + 0.03
204
sph.CFrame = char.Torso.CFrame
205
end
206
sph:Destroy()
207
end
208
209
--// Main script, don't touch if you don't know how to script or you might ruin the script.
210
211
entrance()
212
213
mouse.Button1Down:connect(function()
214
if cd1 then
215
if mouse.Target.Parent:FindFirstChild('Humanoid') then
216
cd1 = false
217
local target = mouse.Target.Parent
218
target:FindFirstChild('Torso').Anchored = true  
219-
chat("Destroy!")
219+
220
	rshold.C0 = rshold.C0:lerp(CFrame.new(0.9,0.5,-0.1)*CFrame.Angles(rad(-90),rad(90),rad(-180)),i)
221
	wait()
222
end
223
chat("Who are you again?")
224
wait(.5)
225
particle = Instance.new('Part', workspace)
226
particle.Anchored = true
227
particle.CFrame = target:FindFirstChild('Torso').CFrame
228
particle.CanCollide = false
229
particle.Anchored = true
230
particle.Transparency = 1
231
particle.Size = Vector3.new(6.52, 10.36, 6.34)
232
local pe = Instance.new("ParticleEmitter")
233
pe.Acceleration = Vector3.new(7, 7, 7)
234
pe.Lifetime = NumberRange.new(1, 4)
235
pe.Rate = 500
236
pe.RotSpeed = NumberRange.new(7, 7)
237
pe.LightEmission = 0.700
238
pe.Rotation = NumberRange.new(0, 0)
239
pe.Size = NumberSequence.new({
240
NumberSequenceKeypoint.new(0, 1, 0),
241
NumberSequenceKeypoint.new(1, 10, 0),
242
NumberSequenceKeypoint.new(1, 10, 0)
243
})
244
pe.Texture = "http://www.roblox.com/asset/?id=242996110"
245
pe.Transparency = NumberSequence.new({
246
NumberSequenceKeypoint.new(0, 0, 0),
247
NumberSequenceKeypoint.new(0.4, 0.3, 0),
248
NumberSequenceKeypoint.new(1, 1, 1)
249
})
250
pe.ZOffset = 5
251
pe.VelocitySpread = 360
252
pe.Parent = particle
253
pe.Enabled = true
254
wait(1)
255
pe.Enabled = false
256
target:Destroy()
257
for i=0,1,0.1 do
258
	rshold.C0 = rshold.C0:lerp(rsho,i)
259
	wait()
260
end
261
wait(1)
262
cd1 = true
263
end
264
end
265
end)
266
267
mouse.KeyDown:connect(function(key)
268
if key == "t" then
269
if cd1 then
270
cd1 = false
271
particle = Instance.new('Part', workspace)
272
particle.Anchored = true
273
particle.CFrame = char:FindFirstChild('Torso').CFrame
274
particle.CanCollide = false
275
particle.Anchored = true
276
particle.Transparency = 1
277
particle.Size = Vector3.new(6.52, 10.36, 6.34)
278
local pe = Instance.new("ParticleEmitter")
279
pe.Acceleration = Vector3.new(7, 7, 7)
280
pe.Lifetime = NumberRange.new(1, 4)
281
pe.Rate = 500
282
pe.RotSpeed = NumberRange.new(7, 7)
283
pe.LightEmission = 0.700
284
pe.Rotation = NumberRange.new(0, 0)
285
pe.Size = NumberSequence.new({
286
NumberSequenceKeypoint.new(0, 1, 0),
287
NumberSequenceKeypoint.new(1, 10, 0),
288
NumberSequenceKeypoint.new(1, 10, 0)
289
})
290
pe.Texture = "http://www.roblox.com/asset/?id=242996110"
291
pe.Transparency = NumberSequence.new({
292
NumberSequenceKeypoint.new(0, 0, 0),
293
NumberSequenceKeypoint.new(0.4, 0.3, 0),
294
NumberSequenceKeypoint.new(1, 1, 1)
295
})
296
pe.ZOffset = 5
297
pe.VelocitySpread = 360
298
pe.Parent = particle
299
pe.Enabled = true
300
wait(.3)
301
char.Torso.CFrame = mouse.Hit
302
pe.Enabled = false
303
harmlessexplo()
304
wait(3)
305
cd1 = true
306
end
307
end
308
309
if key == "q" then
310
if cd2 then
311
cd2 = false
312
for i=0,1,0.1 do
313
	lshold.C0 = lshold.C0:lerp(CFrame.new(-1.3,0.7,-0.1)*CFrame.Angles(rad(25),-rad(20),-rad(90)),i)
314
	rshold.C0 = rshold.C0:lerp(CFrame.new(1.3,0.7,-0.1)*CFrame.Angles(rad(25),rad(20),rad(90)),i)
315
	wait()
316
end
317
318
local pe = Instance.new("ParticleEmitter")
319
pe.Acceleration = Vector3.new(3, 3, 3)
320
pe.Lifetime = NumberRange.new(0.1, 0.5)
321
pe.Rate = 4000
322
pe.RotSpeed = NumberRange.new(0, 0)
323
pe.LightEmission = 0.700
324
pe.Rotation = NumberRange.new(0, 0)
325
pe.Size = NumberSequence.new({
326
NumberSequenceKeypoint.new(0, 1, 0),
327
NumberSequenceKeypoint.new(0.1, 1, 0),
328
NumberSequenceKeypoint.new(1, 1, 0)
329
})
330
pe.Texture = "http://www.roblox.com/asset/?id=242996110"
331
pe.Transparency = NumberSequence.new({
332
NumberSequenceKeypoint.new(0, 0, 0),
333
NumberSequenceKeypoint.new(0.4, 0.3, 0),
334
NumberSequenceKeypoint.new(1, 1, 1)
335
})
336
pe.ZOffset = 5
337
pe.VelocitySpread = 360
338
pe.Parent = char["Right Arm"]
339
pe1 = pe:Clone()
340
pe1.Parent = char["Left Arm"]
341
wait(.05)
342
pe.Enabled = true
343-
       char.Humanoid.HipHeight = char.Humanoid.HipHeight + 0.5
343+
344
wait(.05)
345
346
for i= 1, 100 do
347
       char.Humanoid.HipHeight = char.Humanoid.HipHeight + 0.05
348
       wait()
349-
chat("A world like this must disappear!")
349+
350
351
wait(.03)
352
353
chat("Who are these people?")
354
wait(.07)
355
explo()
356
wait(.04)
357
for i=0,1,0.1 do
358
	lshold.C0 = lshold.C0:lerp(lsho,i)
359
	rshold.C0 = rshold.C0:lerp(rsho,i)
360
	wait()
361
end
362
pe.Enabled = false
363
pe1.Enabled = fasle
364
char.Humanoid.HipHeight = 0
365
wait(5)
366
cd2 = true
367
end
368
end
369
end)
370
371
while wait() do
372
char.Humanoid.MaxHealth = 99999
373
char.Humanoid.Health = char.Humanoid.MaxHealth
374
end