View difference between Paste ID: r1xi2dFG and Bbxv3Pe5
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,game,owner = owner,game
3
local RealPlayer = Player
4
do
5
	print("FE Compatibility code by Mokiros")
6
	local rp = RealPlayer
7
	script.Parent = rp.Character
8
	
9
	--RemoteEvent for communicating
10
	local Event = Instance.new("RemoteEvent")
11
	Event.Name = "UserInput_Event"
12
13
	--Fake event to make stuff like Mouse.KeyDown work
14
	local function fakeEvent()
15
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
16
		t.connect = t.Connect
17
		return t
18
	end
19
20
	--Creating fake input objects with fake variables
21
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
22
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
23
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25
	end}
26
	--Merged 2 functions into one by checking amount of arguments
27
	CAS.UnbindAction = CAS.BindAction
28
29
	--This function will trigger the events that have been :Connect()'ed
30
	local function te(self,ev,...)
31
		local t = m[ev]
32
		if t and t._fakeEvent then
33
			for _,f in pairs(t.Functions) do
34
				f(...)
35
			end
36
		end
37
	end
38
	m.TrigEvent = te
39
	UIS.TrigEvent = te
40
41
	Event.OnServerEvent:Connect(function(plr,io)
42
	    if plr~=rp then return end
43
		m.Target = io.Target
44
		m.Hit = io.Hit
45
		if not io.isMouse then
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local Mouse = Player:GetMouse()
66
	local UIS = game:GetService("UserInputService")
67
	local input = function(io,a)
68
		if a then return end
69
		--Since InputObject is a client-side instance, we create and pass table instead
70
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
71
	end
72
	UIS.InputBegan:Connect(input)
73
	UIS.InputEnded:Connect(input)
74
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
85
	----Sandboxed game object that allows the usage of client-side methods and services
86
	--Real game object
87
	local _rg = game
88
89
	--Metatable for fake service
90
	local fsmt = {
91
		__index = function(self,k)
92
			local s = rawget(self,"_RealService")
93
			if s then return s[k] end
94
		end,
95
		__newindex = function(self,k,v)
96
			local s = rawget(self,"_RealService")
97
			if s then s[k]=v end
98
		end,
99
		__call = function(self,...)
100
			local s = rawget(self,"_RealService")
101
			if s then return s(...) end
102
		end
103
	}
104
	local function FakeService(t,RealService)
105
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
106
		return setmetatable(t,fsmt)
107
	end
108
109
	--Fake game object
110
	local g = {
111
		GetService = function(self,s)
112
			return self[s]
113
		end,
114
		Players = FakeService({
115
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
116
		},"Players"),
117
		UserInputService = FakeService(UIS,"UserInputService"),
118
		ContextActionService = FakeService(CAS,"ContextActionService"),
119
	}
120
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
121
	g.service = g.GetService
122
	
123
	g.RunService = FakeService({
124
		RenderStepped = _rg:GetService("RunService").Heartbeat,
125
		BindToRenderStep = function(self,name,_,fun)
126
			self._btrs[name] = self.Heartbeat:Connect(fun)
127
		end,
128
		UnbindFromRenderStep = function(self,name)
129
			self._btrs[name]:Disconnect()
130
		end,
131
	},"RunService")
132
133
	setmetatable(g,{
134
		__index=function(self,s)
135
			return _rg:GetService(s) or typeof(_rg[s])=="function"
136
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
137
		end,
138
		__newindex = fsmt.__newindex,
139
		__call = fsmt.__call
140
	})
141
	--Changing owner to fake player object to support owner:GetMouse()
142
	game,owner = g,g.Players.LocalPlayer
143
end
144
145
146
147
148
149
150
151
152
--Akatsuki Pain script by: yadel95
153
--Thanks devapainpath for his clothing
154
--Ver[1.0]
155
--Replace XTheShowcaserX with your name.
156
--Chances 
157-
local you = game.Workspace["XTheShowcaserX"]
157+
local you = game.Workspace["TameDoNotClick"]
158
local mouse = game.Players.LocalPlayer:GetMouse()
159
local color = BrickColor.new("Dark stone grey")
160
local msg = game:GetService("Chat")
161
local busy = false
162
--________________________________________________________________--
163
--------------------------------------------------------------------l
164
--------------------------------------------------------------------l
165
---------DO NOT MESS WITH ANYTHING BELOW----------------------------l
166
--------------------------------------------------------------------l
167
--------------------------------------------------------------------]
168
c = you:GetChildren()
169
for i = 1, #c do
170
if c[i].ClassName == "Shirt" or c[i].ClassName == "Pants" or c[i].ClassName == "CharacterMesh" then
171
c[i]:Remove()
172
end end
173
shirt = Instance.new("Shirt")
174
shirt.Parent = you
175
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=95427692"
176
pants = Instance.new("Pants")
177
pants.Parent = you
178
pants.PantsTemplate = "http://www.roblox.com/asset/?id=95427742"
179
--
180
bowl = Instance.new("Part")
181
Instance.new("SpecialMesh").Parent = bowl
182
bowl.Mesh.MeshType = "FileMesh"
183
bowl.Mesh.MeshId = "http://www.roblox.com/asset/?id=19380188"
184
bowl.BrickColor = BrickColor.new("Black")
185
bowl.Mesh.Scale = Vector3.new(1.5, 1.4, 1.5)
186
bowl.Parent = you
187
188
bowl2 = Instance.new("Part")
189
Instance.new("SpecialMesh").Parent = bowl2
190
bowl2.Mesh.MeshType = "FileMesh"
191
bowl2.Mesh.MeshId = "http://www.roblox.com/asset/?id=19380188"
192
bowl2.BrickColor = BrickColor.new("Bright red")
193
bowl2.Mesh.Scale = Vector3.new(1.4, 1.4, 1.4)
194
bowl2.Parent = you
195
--
196
collar = Instance.new("Weld")
197
collar.Parent = you.Torso
198
collar.Part0 = bowl
199
collar.Part1 = you.Torso
200
collar.C0 = collar.C0*CFrame.Angles(0, 0, 3.15)
201
collar.C0 = collar.C0*CFrame.new(0, -0.6, 0)
202
203
collar2 = Instance.new("Weld")
204
collar2.Parent = you.Torso
205
collar2.Part0 = bowl2
206
collar2.Part1 = you.Torso
207
collar2.C0 = collar2.C0*CFrame.Angles(0, 0, 3.15)
208
collar2.C0 = collar2.C0*CFrame.new(0, -0.6, 0)
209
-------------------------------------------------------------
210
-------------------------------------------------------------
211
-----------Most Critical part of the script------------------
212
-------------------------------------------------------------
213
-------------------------------------------------------------
214
function kf(key)
215
key:lower() 
216
if key == "f" then
217
if not busy then
218
busy = true
219
m = Instance.new("Message")
220
m2 = Instance.new("Message")
221
m3 = Instance.new("Message")
222
m4 = Instance.new("Message")
223
224
m.Text = "Now this world"
225
m2.Text = "Shall know"
226
m3.Text = "Pain"
227
for i = 1, 1 do
228
bodyvelocity1 = Instance.new("BodyVelocity")
229
bodyvelocity1.maxForce = Vector3.new(99999999999999999999, 999999999999999999999, 39)
230
bodyvelocity1.velocity = Vector3.new(0, 3, 0)
231
bodyvelocity1.Parent = you.Torso
232
m.Parent = game.Workspace
233
wait(1)
234
m:Remove()
235
m2.Parent = game.Workspace
236
wait(1)
237
m2:Remove()
238
m3.Parent = game.Workspace
239
wait(1)
240
m3:Remove()
241
wait(3)
242
Instance.new("ForceField").Parent = you
243
you.Head.Anchored = true
244
delete = you.Torso:GetChildren()
245
for rep1 = 1, #delete do
246
if delete[rep1].Name == "BodyVelocity" then
247
delete[rep1]:Remove()
248
msg:Chat(you.Head, "Shirai Tensei!", Enum.ChatColor.Red)
249
m3.Parent = game.Workspace
250
push = Instance.new("Part")
251
push.Parent = you
252
push.Name = "Ulmighty"
253
push.Size = Vector3.new(300, 300, 300)
254
push.Anchored = true
255
push.CanCollide = false
256
push.TopSurface = "Smooth"
257
push.BottomSurface = "Smooth"
258
push.BrickColor = BrickColor.new("Dark stone grey")
259
push.Reflectance = 0.3
260
push.Transparency = 0.3
261
push.CFrame = you.Torso.CFrame*CFrame.new(0, -3, 0)
262
function OnTouched(Victim)
263
boom = Instance.new("Explosion")
264
boom.Name = "Die"
265
boom.ExplosionType = "CratersAndDebris"
266
boom:Clone().Parent = Victim
267
Victim.Die.Position = Victim.Position
268
Victim.Anchored = false
269
end
270
push.Touched:connect(OnTouched)
271
Instance.new("SpecialMesh").Parent = push
272
push.Mesh.MeshType = "Sphere"
273
push.Mesh.Scale = Vector3.new(0.1, 0.1, 0.1)
274
wait(0.05)
275
push.Mesh.Scale = Vector3.new(0.2, 0.2, 0.2)
276
wait(0.05)
277
push.Mesh.Scale = Vector3.new(0.3, 0.3, 0.3)
278
wait(0.05)
279
push.Mesh.Scale = Vector3.new(0.4, 0.4, 0.4)
280
wait(0.05)
281
push.Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
282
wait(0.05)
283
push.Mesh.Scale = Vector3.new(0.6, 0.6, 0.6)
284
wait(0.05)
285
push.Mesh.Scale = Vector3.new(0.7, 0.7, 0.7)
286
wait(0.05)
287
push.Mesh.Scale = Vector3.new(0.8, 0.8, 0.8)
288
wait(0.05)
289
push.Mesh.Scale = Vector3.new(0.9, 0.9, 0.9)
290
wait(0.05)
291
push.Mesh.Scale = Vector3.new(1, 1, 1)
292
wait(1)
293
push.Transparency = 0.4
294
wait(0.05)
295
push.Transparency = 0.5
296
wait(0.05)
297
push.Transparency = 0.6
298
wait(0.05)
299
push.Transparency = 0.7
300
wait(0.05)
301
push.Transparency = 0.8
302
wait(0.05)
303
push.Transparency = 0.9
304
wait(0.05)
305
push.Transparency = 1
306
push:Remove()
307
end
308
end
309
end
310
wait(0.1)
311
you.Head.Anchored = false
312
you.ForceField:Remove()
313
busy = false
314
end
315
end 
316
end
317
mouse.KeyDown:connect(kf)
318
 
319
function kg(key)
320
key:lower()
321
if key == "g"
322
then if busy == false then
323
busy = true
324
you.Archivable = true
325
you.Humanoid.WalkSpeed = 0
326
msg:Chat(you.Head, "BBOSS style: Path throw!", Enum.ChatColor.Blue)
327
you.Animate.Disabled = true
328
you.Torso["Left Shoulder"].DesiredAngle = -2
329
wait(1)
330
you.Animate.Disabled = false
331
path = you:Clone()
332
path.Parent = game.Workspace
333
path.Torso.CFrame = you.Torso.CFrame*CFrame.new(0, 0, -5)
334
path.Humanoid.Jump = true
335
wait(0.5)
336
force = Instance.new("BodyVelocity")
337
force.Parent = path.Torso
338
force.maxForce = Vector3.new(999999999999999999, 399, 3999999)
339
force.velocity = path.Torso.CFrame.lookVector*30
340
wait(3)
341
Instance.new("Explosion").Parent = path.Torso
342
path.Torso.Explosion.Position = path.Torso.Position
343
path.Torso.Explosion.BlastRadius = 3
344
wait(0.5)
345
path:Remove()
346
you.Humanoid.WalkSpeed = 16
347
busy = false
348
end
349
end
350
end
351
mouse.KeyDown:connect(kg)
352
353
function kj(key)
354
key:lower()
355
if key == "j"
356
then if busy == false then
357
busy = true
358
you.Humanoid.WalkSpeed = 0
359
you.Animate.Disabled = true
360
msg:Chat(you.Head, "BBOSS style: Universal Push!", Enum.ChatColor.Blue)
361
you.Torso["Left Shoulder"].DesiredAngle = -2
362
you.Torso["Right Shoulder"].DesiredAngle = 2
363
tensai = Instance.new("Part")
364
tensai.Parent = you
365
tensai.CFrame = you.Torso.CFrame*CFrame.new(0, 1, -90)
366
tensai.Anchored = false
367
tensai.CanCollide = false
368
tensai.Size = Vector3.new(65, 30, 9)
369
tensai.Transparency = 1
370
push = Instance.new("BodyVelocity")
371
push.maxForce = Vector3.new(3,3999999,39999999)
372
up = Instance.new("BodyVelocity")
373
up.maxForce = Vector3.new(3,3999999,39999999)
374
up.velocity = tensai.CFrame.lookVector*-40
375
push.velocity = you.Torso.CFrame.lookVector*-40
376
push.Parent = tensai
377
function pp(part)
378
up:clone().Parent = part
379
wait(2)
380
part.BodyVelocity:Remove()
381
end
382
tensai.Touched:connect(pp)
383
wait(1.8)
384
tensai:Remove()
385
you.Animate.Disabled = false
386
you.Humanoid.WalkSpeed = 16
387
busy = false
388
end
389
end
390
end
391
mouse.KeyDown:connect(kj)
392
393
function kk(key)
394
key:lower()
395
if key == "k"
396
then if busy == false then
397
busy = true
398
you.Humanoid.WalkSpeed = 0
399
you.Animate.Disabled = true
400
msg:Chat(you.Head, "BBOSS style: Universal Pull!", Enum.ChatColor.Blue)
401
you.Torso["Left Shoulder"].DesiredAngle = -2
402
you.Torso["Right Shoulder"].DesiredAngle = 2
403
tensai = Instance.new("Part")
404
tensai.Parent = you
405
tensai.CFrame = you.Torso.CFrame*CFrame.new(0, 1, -90)
406
tensai.Anchored = false
407
tensai.CanCollide = false
408
tensai.Size = Vector3.new(65, 30, 9)
409
tensai.Transparency = 1
410
push = Instance.new("BodyVelocity")
411
push.maxForce = Vector3.new(3,3,3)
412
push.velocity = you.Torso.CFrame.lookVector*-40
413
push.Parent = tensai
414
up = Instance.new("BodyVelocity")
415
up.maxForce = Vector3.new(3,3,3)
416
up.velocity = tensai.CFrame.lookVector*40
417
function pp(part)
418
up:clone().Parent = part
419
wait(2)
420
part.BodyVelocity:Remove()
421
end
422
tensai.Touched:connect(pp)
423
wait(1.8)
424
tensai:Remove()
425
you.Animate.Disabled = false
426
you.Humanoid.WalkSpeed = 16
427
busy = false
428
end
429
end
430
end
431
mouse.KeyDown:connect(kk)
432
433
function ll(key)
434
key:lower()
435
if key == "l"
436
then if busy == false then
437
busy = true
438
you.Humanoid.WalkSpeed = 0
439
you.Animate.Disabled = true
440
msg:Chat(you.Head, "BBOSS style: Summonning!", Enum.ChatColor.Red)
441
push = Instance.new("BodyVelocity")
442
push.maxForce = Vector3.new(3,3,3)
443
push.velocity = you.Torso.CFrame.lookVector*-80
444
push.Parent = you.Head
445
wten = Instance.new("Weld")
446
tensai = Instance.new("Part")
447
tensai.Parent = game.Workspace
448
tensai.Anchored = false
449
tensai.CanCollide = false
450
tensai.Size = Vector3.new(12, 9.6, 39)
451
tensai.Transparency = 0
452
wten.Parent = you.Torso
453
wten.Part1 = you.Torso
454
wten.Part0 = tensai
455
wten.C0 = wten.C0*CFrame.new(0,  1,  0)
456
wten.C1 = wten.C1*CFrame.new(0,  -8,  0)
457
lobby = Instance.new("SpecialMesh")
458
lobby.MeshType = "FileMesh"
459
lobby.MeshId = "http://www.roblox.com/asset/?id=15158219"
460
lobby.Parent = tensai
461
lobby.TextureId = "http://www.roblox.com/asset/?id=15158208"
462
lobby.Scale = Vector3.new(3, 3, 3)
463
464
function pp(part)
465
push:clone().Parent = part
466
wait(1)
467
part.BodyVelocity:Remove()
468
end
469
tensai.Touched:connect(pp)
470
wait(3)
471
wten:Remove()
472
tensai:Remove()
473
push:Remove()
474
you.Animate.Disabled = false
475
you.Humanoid.WalkSpeed = 16
476
busy = false
477
end
478
end
479
end
480
mouse.KeyDown:connect(ll)