View difference between Paste ID: HcG6Shpr and hXh39bCa
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 you = game.Workspace["RSBGucci"]
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
--Akatsuki Pain script by: yadel95
147
--Thanks devapainpath for his clothing
148
--Ver[1.0]
149
--Replace XTheShowcaserX with your name.
150
--Chances 
151
local you = game.Workspace["SNEAKY_Dodge"]
152
local mouse = game.Players.LocalPlayer:GetMouse()
153
local color = BrickColor.new("Dark stone grey")
154
local msg = game:GetService("Chat")
155
local busy = false
156
--________________________________________________________________--
157
--------------------------------------------------------------------l
158
--------------------------------------------------------------------l
159
---------DO NOT MESS WITH ANYTHING BELOW----------------------------l
160
--------------------------------------------------------------------l
161
--------------------------------------------------------------------]
162
c = you:GetChildren()
163
for i = 1, #c do
164
if c[i].ClassName == "Shirt" or c[i].ClassName == "Pants" or c[i].ClassName == "CharacterMesh" then
165
c[i]:Remove()
166
end end
167
shirt = Instance.new("Shirt")
168
shirt.Parent = you
169
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=95427692"
170
pants = Instance.new("Pants")
171
pants.Parent = you
172
pants.PantsTemplate = "http://www.roblox.com/asset/?id=95427742"
173
--
174
bowl = Instance.new("Part")
175
Instance.new("SpecialMesh").Parent = bowl
176
bowl.Mesh.MeshType = "FileMesh"
177
bowl.Mesh.MeshId = "http://www.roblox.com/asset/?id=19380188"
178
bowl.BrickColor = BrickColor.new("Black")
179
bowl.Mesh.Scale = Vector3.new(1.5, 1.4, 1.5)
180
bowl.Parent = you
181
182
bowl2 = Instance.new("Part")
183
Instance.new("SpecialMesh").Parent = bowl2
184
bowl2.Mesh.MeshType = "FileMesh"
185
bowl2.Mesh.MeshId = "http://www.roblox.com/asset/?id=19380188"
186
bowl2.BrickColor = BrickColor.new("Bright red")
187
bowl2.Mesh.Scale = Vector3.new(1.4, 1.4, 1.4)
188
bowl2.Parent = you
189
--
190
collar = Instance.new("Weld")
191
collar.Parent = you.Torso
192
collar.Part0 = bowl
193
collar.Part1 = you.Torso
194
collar.C0 = collar.C0*CFrame.Angles(0, 0, 3.15)
195
collar.C0 = collar.C0*CFrame.new(0, -0.6, 0)
196
197
collar2 = Instance.new("Weld")
198
collar2.Parent = you.Torso
199
collar2.Part0 = bowl2
200
collar2.Part1 = you.Torso
201
collar2.C0 = collar2.C0*CFrame.Angles(0, 0, 3.15)
202
collar2.C0 = collar2.C0*CFrame.new(0, -0.6, 0)
203
-------------------------------------------------------------
204
-------------------------------------------------------------
205
-----------Most Critical part of the script------------------
206
-------------------------------------------------------------
207
-------------------------------------------------------------
208
function kf(key)
209
key:lower() 
210
if key == "f" then
211
if not busy then
212
busy = true
213
m = Instance.new("Message")
214
m2 = Instance.new("Message")
215
m3 = Instance.new("Message")
216
m4 = Instance.new("Message")
217
218
m.Text = "Now this world"
219
m2.Text = "Shall know"
220
m3.Text = "Pain"
221
for i = 1, 1 do
222
bodyvelocity1 = Instance.new("BodyVelocity")
223
bodyvelocity1.maxForce = Vector3.new(99999999999999999999, 999999999999999999999, 39)
224
bodyvelocity1.velocity = Vector3.new(0, 3, 0)
225
bodyvelocity1.Parent = you.Torso
226
m.Parent = game.Workspace
227
wait(1)
228
m:Remove()
229
m2.Parent = game.Workspace
230
wait(1)
231
m2:Remove()
232
m3.Parent = game.Workspace
233
wait(1)
234
m3:Remove()
235
wait(3)
236
Instance.new("ForceField").Parent = you
237
you.Head.Anchored = true
238
delete = you.Torso:GetChildren()
239
for rep1 = 1, #delete do
240
if delete[rep1].Name == "BodyVelocity" then
241
delete[rep1]:Remove()
242
msg:Chat(you.Head, "Shirai Tensei!", Enum.ChatColor.Red)
243
m3.Parent = game.Workspace
244
push = Instance.new("Part")
245
push.Parent = you
246
push.Name = "Ulmighty"
247
push.Size = Vector3.new(300, 300, 300)
248
push.Anchored = true
249
push.CanCollide = false
250
push.TopSurface = "Smooth"
251
push.BottomSurface = "Smooth"
252
push.BrickColor = BrickColor.new("Dark stone grey")
253
push.Reflectance = 0.3
254
push.Transparency = 0.3
255
push.CFrame = you.Torso.CFrame*CFrame.new(0, -3, 0)
256
function OnTouched(Victim)
257
boom = Instance.new("Explosion")
258
boom.Name = "Die"
259
boom.ExplosionType = "CratersAndDebris"
260
boom:Clone().Parent = Victim
261
Victim.Die.Position = Victim.Position
262
Victim.Anchored = false
263
end
264
push.Touched:connect(OnTouched)
265
Instance.new("SpecialMesh").Parent = push
266
push.Mesh.MeshType = "Sphere"
267
push.Mesh.Scale = Vector3.new(0.1, 0.1, 0.1)
268
wait(0.05)
269
push.Mesh.Scale = Vector3.new(0.2, 0.2, 0.2)
270
wait(0.05)
271
push.Mesh.Scale = Vector3.new(0.3, 0.3, 0.3)
272
wait(0.05)
273
push.Mesh.Scale = Vector3.new(0.4, 0.4, 0.4)
274
wait(0.05)
275
push.Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
276
wait(0.05)
277
push.Mesh.Scale = Vector3.new(0.6, 0.6, 0.6)
278
wait(0.05)
279
push.Mesh.Scale = Vector3.new(0.7, 0.7, 0.7)
280
wait(0.05)
281
push.Mesh.Scale = Vector3.new(0.8, 0.8, 0.8)
282
wait(0.05)
283
push.Mesh.Scale = Vector3.new(0.9, 0.9, 0.9)
284
wait(0.05)
285
push.Mesh.Scale = Vector3.new(1, 1, 1)
286
wait(1)
287
push.Transparency = 0.4
288
wait(0.05)
289
push.Transparency = 0.5
290
wait(0.05)
291
push.Transparency = 0.6
292
wait(0.05)
293
push.Transparency = 0.7
294
wait(0.05)
295
push.Transparency = 0.8
296
wait(0.05)
297
push.Transparency = 0.9
298
wait(0.05)
299
push.Transparency = 1
300
push:Remove()
301
end
302
end
303
end
304
wait(0.1)
305
you.Head.Anchored = false
306
you.ForceField:Remove()
307
busy = false
308
end
309
end 
310
end
311
mouse.KeyDown:connect(kf)
312
 
313
function kg(key)
314
key:lower()
315
if key == "g"
316
then if busy == false then
317
busy = true
318
you.Archivable = true
319
you.Humanoid.WalkSpeed = 0
320
msg:Chat(you.Head, "BBOSS style: Path throw!", Enum.ChatColor.Blue)
321
you.Animate.Disabled = true
322
you.Torso["Left Shoulder"].DesiredAngle = -2
323
wait(1)
324
you.Animate.Disabled = false
325
path = you:Clone()
326
path.Parent = game.Workspace
327
path.Torso.CFrame = you.Torso.CFrame*CFrame.new(0, 0, -5)
328
path.Humanoid.Jump = true
329
wait(0.5)
330
force = Instance.new("BodyVelocity")
331
force.Parent = path.Torso
332
force.maxForce = Vector3.new(999999999999999999, 399, 3999999)
333
force.velocity = path.Torso.CFrame.lookVector*30
334
wait(3)
335
Instance.new("Explosion").Parent = path.Torso
336
path.Torso.Explosion.Position = path.Torso.Position
337
path.Torso.Explosion.BlastRadius = 3
338
wait(0.5)
339
path:Remove()
340
you.Humanoid.WalkSpeed = 16
341
busy = false
342
end
343
end
344
end
345
mouse.KeyDown:connect(kg)
346
347
function kj(key)
348
key:lower()
349
if key == "j"
350
then if busy == false then
351
busy = true
352
you.Humanoid.WalkSpeed = 0
353
you.Animate.Disabled = true
354
msg:Chat(you.Head, "BBOSS style: Universal Push!", Enum.ChatColor.Blue)
355
you.Torso["Left Shoulder"].DesiredAngle = -2
356
you.Torso["Right Shoulder"].DesiredAngle = 2
357
tensai = Instance.new("Part")
358
tensai.Parent = you
359
tensai.CFrame = you.Torso.CFrame*CFrame.new(0, 1, -90)
360
tensai.Anchored = false
361
tensai.CanCollide = false
362
tensai.Size = Vector3.new(65, 30, 9)
363
tensai.Transparency = 1
364
push = Instance.new("BodyVelocity")
365
push.maxForce = Vector3.new(3,3999999,39999999)
366
up = Instance.new("BodyVelocity")
367
up.maxForce = Vector3.new(3,3999999,39999999)
368
up.velocity = tensai.CFrame.lookVector*-40
369
push.velocity = you.Torso.CFrame.lookVector*-40
370
push.Parent = tensai
371
function pp(part)
372
up:clone().Parent = part
373
wait(2)
374
part.BodyVelocity:Remove()
375
end
376
tensai.Touched:connect(pp)
377
wait(1.8)
378
tensai:Remove()
379
you.Animate.Disabled = false
380
you.Humanoid.WalkSpeed = 16
381
busy = false
382
end
383
end
384
end
385
mouse.KeyDown:connect(kj)
386
387
function kk(key)
388
key:lower()
389
if key == "k"
390
then if busy == false then
391
busy = true
392
you.Humanoid.WalkSpeed = 0
393
you.Animate.Disabled = true
394
msg:Chat(you.Head, "BBOSS style: Universal Pull!", Enum.ChatColor.Blue)
395
you.Torso["Left Shoulder"].DesiredAngle = -2
396
you.Torso["Right Shoulder"].DesiredAngle = 2
397
tensai = Instance.new("Part")
398
tensai.Parent = you
399
tensai.CFrame = you.Torso.CFrame*CFrame.new(0, 1, -90)
400
tensai.Anchored = false
401
tensai.CanCollide = false
402
tensai.Size = Vector3.new(65, 30, 9)
403
tensai.Transparency = 1
404
push = Instance.new("BodyVelocity")
405
push.maxForce = Vector3.new(3,3,3)
406
push.velocity = you.Torso.CFrame.lookVector*-40
407
push.Parent = tensai
408
up = Instance.new("BodyVelocity")
409
up.maxForce = Vector3.new(3,3,3)
410
up.velocity = tensai.CFrame.lookVector*40
411
function pp(part)
412
up:clone().Parent = part
413
wait(2)
414
part.BodyVelocity:Remove()
415
end
416
tensai.Touched:connect(pp)
417
wait(1.8)
418
tensai:Remove()
419
you.Animate.Disabled = false
420
you.Humanoid.WalkSpeed = 16
421
busy = false
422
end
423
end
424
end
425
mouse.KeyDown:connect(kk)
426
427
function ll(key)
428
key:lower()
429
if key == "l"
430
then if busy == false then
431
busy = true
432
you.Humanoid.WalkSpeed = 0
433
you.Animate.Disabled = true
434
msg:Chat(you.Head, "BBOSS style: Summonning!", Enum.ChatColor.Red)
435
push = Instance.new("BodyVelocity")
436
push.maxForce = Vector3.new(3,3,3)
437
push.velocity = you.Torso.CFrame.lookVector*-80
438
push.Parent = you.Head
439
wten = Instance.new("Weld")
440
tensai = Instance.new("Part")
441
tensai.Parent = game.Workspace
442
tensai.Anchored = false
443
tensai.CanCollide = false
444
tensai.Size = Vector3.new(12, 9.6, 39)
445
tensai.Transparency = 0
446
wten.Parent = you.Torso
447
wten.Part1 = you.Torso
448
wten.Part0 = tensai
449
wten.C0 = wten.C0*CFrame.new(0,  1,  0)
450
wten.C1 = wten.C1*CFrame.new(0,  -8,  0)
451
lobby = Instance.new("SpecialMesh")
452
lobby.MeshType = "FileMesh"
453
lobby.MeshId = "http://www.roblox.com/asset/?id=15158219"
454
lobby.Parent = tensai
455
lobby.TextureId = "http://www.roblox.com/asset/?id=15158208"
456
lobby.Scale = Vector3.new(3, 3, 3)
457
458
function pp(part)
459
push:clone().Parent = part
460
wait(1)
461
part.BodyVelocity:Remove()
462
end
463
tensai.Touched:connect(pp)
464
wait(3)
465
wten:Remove()
466
tensai:Remove()
467
push:Remove()
468
you.Animate.Disabled = false
469
you.Humanoid.WalkSpeed = 16
470
busy = false
471
end
472
end
473
end
474
mouse.KeyDown:connect(ll)