View difference between Paste ID: EcS5xLn3 and L0QygXt5
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,game,owner = owner,game
4
local RealPlayer = Player
5
do
6
	print("FE Compatibility code V2 by Mokiros")
7
	local RealPlayer = RealPlayer
8
	script.Parent = RealPlayer.Character
9
10
	--Fake event to make stuff like Mouse.KeyDown work
11
	local Disconnect_Function = function(this)
12
		this[1].Functions[this[2]] = nil
13
	end
14
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
	local FakeEvent_Metatable = {__index={
16
		Connect = function(this,f)
17
			local i = tostring(math.random(0,10000))
18
			while this.Functions[i] do
19
				i = tostring(math.random(0,10000))
20
			end
21
			this.Functions[i] = f
22
			return setmetatable({this,i},Disconnect_Metatable)
23
		end
24
	}}
25
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
	local function fakeEvent()
27
		return setmetatable({Functions={}},FakeEvent_Metatable)
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
    FakeMouse.keyUp = FakeMouse.KeyUp
33
    FakeMouse.keyDown = FakeMouse.KeyDown
34
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38
	--Merged 2 functions into one by checking amount of arguments
39
	CAS.UnbindAction = CAS.BindAction
40
41
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43
		for _,f in pairs(self[ev].Functions) do
44
			f(...)
45
		end
46
	end
47
	FakeMouse.TriggerEvent = TriggerEvent
48
	UIS.TriggerEvent = TriggerEvent
49
50
	--Client communication
51
	local Event = Instance.new("RemoteEvent")
52
	Event.Name = "UserInput_Event"
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
			end
65
			for _,t in pairs(CAS.Actions) do
66
				for _,k in pairs(t.Keys) do
67
					if k==io.KeyCode then
68
						t.Function(t.Name,io.UserInputState,io)
69
					end
70
				end
71
			end
72
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78
	local UIS = game:GetService("UserInputService")
79
	local input = function(io,RobloxHandled)
80
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85
	UIS.InputEnded:Connect(input)
86
	local h,t
87
	--Give the server mouse data every second frame, but only if the values changed
88
	--If player is not moving their mouse, client won't fire events
89
	local HB = game:GetService("RunService").Heartbeat
90
	while true do
91
		if h~=Mouse.Hit or t~=Mouse.Target then
92
			h,t=Mouse.Hit,Mouse.Target
93
			Event:FireServer({isMouse=true,Target=t,Hit=h})
94
		end
95
		--Wait 2 frames
96
		for i=1,2 do
97
			HB:Wait()
98
		end
99
	end]==],script)
100
101
	----Sandboxed game object that allows the usage of client-side methods and services
102
	--Real game object
103
	local RealGame = game
104
105
	--Metatable for fake service
106
	local FakeService_Metatable = {
107
		__index = function(self,k)
108
			local s = rawget(self,"_RealService")
109
			if s then
110
				return typeof(s[k])=="function"
111
				and function(_,...)return s[k](s,...)end or s[k]
112
			end
113
		end,
114
		__newindex = function(self,k,v)
115
			local s = rawget(self,"_RealService")
116
			if s then s[k]=v end
117
		end
118
	}
119
	local function FakeService(t,RealService)
120
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
121
		return setmetatable(t,FakeService_Metatable)
122
	end
123
124
	--Fake game object
125
	local FakeGame = {
126
		GetService = function(self,s)
127
			return rawget(self,s) or RealGame:GetService(s)
128
		end,
129
		Players = FakeService({
130
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
131
		},"Players"),
132
		UserInputService = FakeService(UIS,"UserInputService"),
133
		ContextActionService = FakeService(CAS,"ContextActionService"),
134
		RunService = FakeService({
135
			_btrs = {},
136
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
137
			BindToRenderStep = function(self,name,_,fun)
138
				self._btrs[name] = self.Heartbeat:Connect(fun)
139
			end,
140
			UnbindFromRenderStep = function(self,name)
141
				self._btrs[name]:Disconnect()
142
			end,
143
		},"RunService")
144
	}
145
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
146
	FakeGame.service = FakeGame.GetService
147
	FakeService(FakeGame,game)
148
	--Changing owner to fake player object to support owner:GetMouse()
149
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
150
end
151
152-
-- I try to make things looks better, edited by Imkrillinit
152+
-- I try to make things looks better, edited by 1000hack
153
-- Dark Caped Beast
154
local part = game.Players.LocalPlayer.Character
155
local basetemplate = "http://www.roblox.com/asset/?id="
156
local shirt = 2971026210
157
local pants = 3174190052
158
local h = part:findFirstChild("Shirt")
159
if h ~= nil then
160
    h.ShirtTemplate = basetemplate..shirt
161
else
162
    local i = Instance.new("Shirt")
163
    i.Name = "Shirt"
164
    i.ShirtTemplate = basetemplate..shirt
165
    i.Parent = part
166
end
167
local p = part:findFirstChild("Pants")
168
if p ~= nil then
169
p.PantsTemplate = basetemplate..pants
170
else
171
    local np = Instance.new("Pants")
172
    np.PantsTemplate = basetemplate..pants
173
    np.Name = "Pants"
174
    np.Parent = part
175
end
176
print("serious punch is T")
177
print("Consecutive dark punches is B")
178
print("jump is m")
179
print("k is a left punch")
180
print("h is a right punch")
181
print("j is teleport")
182
print("music keys are, g y r q")
183
print("F is to stop all the music")
184
print("serious mode is x, press z to turn it off")
185
p = game.Players.LocalPlayer
186
char = p.Character
187
des = false
188
fling = true
189
dot = false
190
falling = false
191-
shirt = Instance.new("Shirt", char)
191+
192-
shirt.Name = "Shirt"
192+
193-
pants = Instance.new("Pants", char)
193+
194-
pants.Name = "Pants"
194+
195-
char.Shirt:Remove()
195+
196-
char.Pants:Remove()
196+
197
punch2 = true
198-
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=667102257"
198+
199-
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=815144043"
199+
200
neckp = char.Torso.Neck.C0
201
neck = char.Torso.Neck
202
des = false
203
204
char.shirt:Destroy()
205
char.pants:Destroy()
206
root = char.HumanoidRootPart
207
torso = char.Torso
208
larm = char["Left Arm"]
209
rarm = char["Right Arm"]
210
lleg = char["Left Leg"]
211
rleg = char["Right Leg"]
212
char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
213
char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
214
char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
215
char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
216
for i,v in pairs(char:GetChildren()) do if v:IsA("Accessory") then v.Handle:Remove() end end
217
local ChatService = game:GetService("Chat")
218
local player = game.Players.LocalPlayer
219
lig = Instance.new("PointLight",player.Character.Torso)
220
lig.Color = Color3.new(0,0,0)
221
lig.Brightness = 10
222
m = player:GetMouse()
223
bb = Instance.new("BillboardGui",player.Character.Head)
224
bb.Enabled = true
225
function newRay(start,face,range,wat)
226
       local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
227
       hit,pos = workspace:FindPartOnRayWithIgnoreList(rey,wat)
228
       return rey,hit,pos
229
end
230
aa1 = {}
231
torso = game.Players.LocalPlayer.Character.Torso
232
233
local WorldUp = Vector3.new(0,1,0)
234
function look2(Vec1,Vec2)
235
   local Orig = Vec1
236
   Vec1 = Vec1+Vector3.new(0,1,0)
237
   Vec2 = Vec2+Vector3.new(0,1,0)
238
   local Forward = (Vec2-Vec1).unit
239
   local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
240
   local Right = Up:Cross(Forward).unit
241
   Forward = -Forward
242
   Right = -Right
243
   return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
244
end
245
246
function look(CFr,Vec2)
247
   local A = Vector3.new(0,0,0)
248
   local B = CFr:inverse()*Vec2
249
   local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
250
   if B.Z > 0 then
251
       CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
252
   elseif B.Z == 0 then
253
       if B.Y > 0 then
254
           CF = CFr*CFrame.Angles(math.pi/2,0,0)
255
       elseif B.Y < 0 then
256
           CF = CFr*CFrame.Angles(-math.pi/2,0,0)
257
       else
258
           CF = CFr
259
       end
260
   end
261
   local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
262
   local Up = Vector3.new(X,Y,Z)
263
   local Forward = (Vec2-CFr.p).unit
264
   local Right = Up:Cross(Forward)
265
   Forward = -Forward
266
   Right = -Right
267
   return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
268
end
269
270
function simulate(j,d,m,r,t)
271
       local joint = j
272
       for i,v in ipairs(t) do
273
               if v[1]:FindFirstChild("Weld") then
274
                       local stiff = m.CFrame.lookVector*0.03
275
                       if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
276
                       local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit
277
                       local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude
278
                       local pos = joint.p+(dir*(d*0.5))
279
                     --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
280
                       local inv = v[1].Weld.Part0.CFrame
281
                       local rel1 = inv:inverse()*pos
282
                       local rel2 = inv:inverse()*(pos-(dir*dis))
283
                       local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
284
                       v[1].Weld.C0 = cf
285
                       v[2] = inv*cf
286
                       --v[1].CFrame = cf
287
               end
288
       end
289
end
290
------------------------------------------------
291
  function lerpz(joint, prop, cfrmz, alp)
292
    joint[prop] = joint[prop]:lerp(cfrmz, alp)
293
  end
294
------------------------------------------------
295
  function sqe()
296
    local effspwn = Instance.new("Part")
297
    local model = Instance.new("Model")
298
    game.Debris:AddItem(model, 5)
299
    model.Name = "smasheffects"
300
    model.Parent = workspace
301
    effspwn.Name = "spwnr"
302
    effspwn.Size = Vector3.new(1, 1, 1)
303
    effspwn.Anchored = true
304
    effspwn.CanCollide = false
305
    effspwn.Transparency = 1
306
    effspwn.CFrame = (larm.CFrame + Vector3.new(math.random(-5,5),-0.45,math.random(-5,5))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(0)),math.random(0,math.rad(0)),math.random(0,math.rad(0)))
307
    effspwn.Parent = model
308
309
    coroutine.resume(coroutine.create(function()
310
      local shok = Instance.new("Part")
311
      shok.Name = "whoosh"
312
      shok.BrickColor = BrickColor.new("Really black")
313
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
314
      shok.Size = Vector3.new(1, 1, 1)
315
      shok.Anchored = true
316
      shok.Material = "Neon"
317
      shok.Transparency = 0.1
318
      shok.CanCollide = false
319
      shok.Parent = model
320
      game.Debris:AddItem(shok, 6)
321
      local mesh = Instance.new("SpecialMesh")
322
      mesh.MeshType = "FileMesh"
323
      mesh.MeshId = "rbxassetid://437347603"
324
      mesh.Scale = Vector3.new(0.08, 0.08, 0.2)
325
      mesh.Parent = shok
326
      for e = 1, 6 do
327
        wait()
328
        mesh.Scale = mesh.Scale + Vector3.new(0.02, 0.03, 0.1)
329
        shok.Transparency = shok.Transparency + 0.1
330
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
331
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-29))
332
        hito(shok, 8, 9999, 3)
333
      end
334
      for e = 1, 6 do
335
        wait()
336
        mesh.Scale = mesh.Scale + Vector3.new(0.02, 0.03, 0.1)
337
        shok.Transparency = shok.Transparency + 0.09
338
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -2), 0.4)
339
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30))
340
        hito(shok, 8, 9999, 3)
341
      end
342
    end))
343
  end
344
-------------------------------------------------------------------------
345
  function hito(partoz, magn, dmg, debtim)
346
    for _, guy in pairs(workspace:GetChildren()) do
347
      if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
348
        do
349
          local humz = guy:FindFirstChild("Humanoid")
350
          local hed = guy:FindFirstChild("Head")
351
          humz:TakeDamage(20000)
352
          local db = Instance.new("StringValue")
353
          db.Name = "alabo"
354
          db.Parent = hed
355
          delay(debtim, function()
356
            db:Destroy()
357
          end)
358
        end
359
      end
360
    end
361
  end
362
-------------------------------------------------------------------------
363
GroundWave1 = function()
364
    local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + torso.CFrame.lookVector * 0.8
365
   local Colors = {"Really black", "Really black"}
366
        local wave = Instance.new("Part", char)
367
        wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
368
        wave.Anchored = true
369
        wave.Name = "Wave"
370
        wave.CanCollide = false
371
        wave.Locked = true
372
        wave.Size = Vector3.new(0.2, 0.2, 0.2)
373
        wave.TopSurface = "Smooth"
374
        wave.BottomSurface = "Smooth"
375
        wave.Transparency = 0.35
376
        wave.CFrame = HandCF
377
        wm =  Instance.new("SpecialMesh",wave)
378
        wm.MeshId = "rbxassetid://3270017"
379
        coroutine.wrap(function()
380
        for i = 1, 30, 1 do
381
        wm.Scale = Vector3.new(6 + i*2, 2 + i*2, 2+ i*2)
382
        wave.Size = wm.Scale
383
        wave.CFrame = HandCF
384
        wave.Transparency = i/30
385
        wait()
386
        end
387
        wait()
388
        wave:Destroy()
389
    end)()
390
end
391
----------------------------------------------------------------------------
392
--Serious mode aura.
393
394
InForm = false
395
local mouse = player:GetMouse()
396
local Player = game.Players.LocalPlayer
397
local Char = Player.Character
398
local Torso = Char.Torso
399
400
function Serious()
401
	for X = 1, 1 do wait()
402
	local Effect = Instance.new("Part")
403
	Effect.Name = "Effect"
404
	Effect.Parent = Torso
405
	Effect.CFrame = Torso.CFrame
406
	Effect.BrickColor = BrickColor.new("White")
407
	Effect.Shape = "Ball"
408
	Effect.Size = Vector3.new(1, 1, 1)
409
	Effect.Anchored = true
410
	Effect.Material = "Neon"
411
	Effect.CanCollide = false
412
	for loop = 1, 25 do wait()
413
		Effect.CFrame = Torso.CFrame
414
		Effect.Size = Effect.Size + Vector3.new(0.5)
415
		Effect.Transparency = Effect.Transparency + 0.04
416
	end
417
	end
418
419
repeat
420
Torso:FindFirstChild("Effect"):Remove()
421-
Aura.Rate = 100
421+
422
423
	
424
local Color1 = Color3.new(255, 0, 0)
425
local Color2 = Color3.new(255, 0, 0)	
426
	
427
local Aura = Instance.new('ParticleEmitter')
428
Aura.Name = "Aura"
429
Aura.Texture = "rbxassetid://660852712"
430
Aura.Parent = Torso
431
Aura.LightEmission = 1
432
Aura.Transparency = NumberSequence.new(0.8)
433
Aura.Color = ColorSequence.new(Color1, Color2)
434
Aura.Size = NumberSequence.new(3.5)
435
Aura.LockedToPart = false
436
Aura.Lifetime = NumberRange.new(0.3)
437
Aura.Rate = 200
438
Aura.Speed = NumberRange.new(8)
439
Aura.EmissionDirection = "Top"
440
	
441
InForm = true		
442
end
443
444
445
function Base()
446
	InForm = false
447
	local Effect = Instance.new("Part")
448
	Effect.Name = "Effect"
449
	Effect.Parent = Torso
450
	Effect.CFrame = Torso.CFrame
451
	Effect.BrickColor = BrickColor.new("White")
452
	Effect.Shape = "Ball"
453
	Effect.Size = Vector3.new(8, 8, 8)
454
	Effect.Anchored = true
455
	Effect.Material = "Neon"
456
	Effect.CanCollide = false
457
	for loop = 1, 25 do wait()
458
		Effect.CFrame = Torso.CFrame
459
		Effect.Size = Effect.Size + Vector3.new(-0.5)
460
		Effect.Transparency = Effect.Transparency + 0.04
461
	end
462
repeat
463
Torso:FindFirstChild("Effect"):Remove()
464
until Torso:FindFirstChild("Effect") == nil
465
466
for i, v in pairs(Torso:GetChildren()) do
467
	if v:IsA('ParticleEmitter') then
468
		v:Remove()
469
	end
470
end
471
end
472
	mouse.KeyUp:connect(function(key)
473
        if key == "x" and InForm == false then
474
		Serious()
475
	end
476
end)
477
	mouse.KeyUp:connect(function(key)
478
        if key == "z" and InForm == true then
479
		Base()
480
	end
481
end)
482
-------------------------------------------------------------------------------
483
for i = 1,8 do
484
local p = Instance.new("Part",char)
485
p.Anchored = false
486
p.BrickColor = BrickColor.new("Really black")
487
p.CanCollide = false
488
p.FormFactor="Custom"
489
p.Material = "Neon"
490
p.TopSurface = "SmoothNoOutlines"
491
p.BottomSurface = "SmoothNoOutlines"
492
p.RightSurface = "SmoothNoOutlines"
493
p.LeftSurface = "SmoothNoOutlines"
494
p.FrontSurface = "SmoothNoOutlines"
495
p.BackSurface = "SmoothNoOutlines"
496
497
p.Size = Vector3.new(2,.2,0.2)
498
p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
499
mesh = Instance.new("BlockMesh",p)
500
mesh.Scale = Vector3.new(1,1,4)
501
local w = Instance.new("Motor6D",p)
502
w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
503
w.Part1 = p
504
w.Name = "Weld"
505
--table.insert(aa1,p)
506
aa1[i] = {p,p.CFrame}
507
508
end
509
game:service"RunService".Stepped:connect(function()
510
simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1)
511
end)
512
soka = Instance.new("Sound",char)
513
soka.SoundId = "http://www.roblox.com/asset/?id = 447199232"
514
soka.Volume = 3
515
boom = Instance.new("Sound",char)
516
boom.SoundId = "http://www.roblox.com/asset/?id = 447041606"
517
boom.Volume = 3
518
boom2 = Instance.new("Sound",char)
519
boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737"
520
boom2.Volume = 3
521
boom3 = Instance.new("Sound",char)
522
boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
523
boom3.Volume = 3
524
woosh = Instance.new("Sound",char)
525
woosh.Volume = 5
526
woosh.SoundId = "http://www.roblox.com/asset/?id = 210946558"
527
tps = Instance.new("Sound",char)
528
tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
529
tps.Volume = 1
530
asd = Instance.new("Sound",char)
531
asd.SoundId = "http://www.roblox.com/asset/?id = 447310433"
532
asd.Volume =1 
533
asd1 = Instance.new("Sound",char)
534
asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
535
536
asd2 = Instance.new("Sound",char)
537
asd2.SoundId = "http://www.roblox.com/asset/?id = 572466594"
538
asd2.Looped = true
539
asd2.Volume = 5
540
asd3 = Instance.new("Sound",char)
541
asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996"
542
asd3.Volume = 5
543
asd3.Looped = true
544
asd4 = Instance.new("Sound",char)
545
asd4.SoundId = "http://www.roblox.com/asset/?id = 413040330"
546
asd4.Volume = 5
547
asd4.Looped = true
548
asd5 = Instance.new("Sound",char)
549
asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261"
550
asd5.Looped = true
551
asd6 = Instance.new("Sound",char)
552
asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325"
553
asd6.Looped = true
554
function play(play)
555
asd:Play()
556
wait(0.05)
557
--asd1:Play()
558
end
559
-------------------------
560
function stream(origin,dir,length,size)
561
       local parts = {}
562
       for i = 1,length do
563
               local p = Instance.new("Part",char)
564
               p.Anchored = true
565
               p.Transparency = 0.5
566
               p.TopSurface = 0
567
               p.BottomSurface = 0
568
               p.CanCollide = false
569
               p.Material = "Neon"
570
               p.BrickColor = BrickColor.new("Really black")
571
               p.Size = Vector3.new(50,50,50) -- for now
572
               p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
573
               parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)}
574
               game:GetService("Debris"):AddItem(p,3)
575
       end
576
       spawn(function()
577
               while parts do
578
                       for i,v in pairs(parts) do
579
                               if v[1].Parent == char then
580
                                       v[1].CFrame = v[1].CFrame*v[2]
581
                               else
582
                                       parts = nil
583
                                       break
584
                               end
585
                       end
586
                       wait(0.02)
587
               end
588
       end)
589
end
590
m.KeyDown:connect(function(k)
591
if k == "g" then
592
asd2:Play()
593
594
595
end
596
end)
597
598
m.KeyDown:connect(function(k)
599
if k == "r" then
600
601
asd4:Play()
602
end
603
end)
604
m.KeyDown:connect(function(k)
605
if k == "q" then
606
607
asd3:Play()
608
end
609
end)
610
mouse = p:GetMouse()
611
m.KeyDown:connect(function(k)
612
if k:byte() == 48 then
613
614
hum.WalkSpeed = 200
615
GroundWave1()
616
boom:Play()
617
end
618
end)
619
m.KeyDown:connect(function(k)
620
if k:byte() == 50 then
621
622
soka:Play()
623
end
624
end)
625
m.KeyDown:connect(function(k)
626
if k:byte() == 52 then
627
628
char.Head.face.Texture = "rbxassetid://340355951"
629
end
630
end)
631
m.KeyDown:connect(function(k)
632
if k:byte() == 51 then
633
634
char.Head.face.Texture = "rbxassetid://340355951"
635
end
636
end)
637
m.KeyUp:connect(function(k)
638
if k:byte() == 48 then
639
640
hum.WalkSpeed = 16
641
end
642
end)
643
p.Chatted:connect(function(m)
644
if m == "Ok." then
645
soka:Play()
646
end
647
end)
648
m.KeyDown:connect(function(key)
649
if key == "j" then
650
if tp == true then
651
tp = false
652
tps:Play()
653
char.Head.face.Parent = game.Lighting
654
for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0.7
655
end
656
657
end
658
  wait(0.2)
659
for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0       
660
end
661
662
end
663
char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
664
char.HumanoidRootPart.Transparency =  1
665
game.Lighting.face.Parent = char.Head
666
   wait(0.1)
667
668
tp = true
669
670
671
end
672
end
673
end)
674
675
676
m.KeyDown:connect(function(key)
677
   if key == "t" then
678
if punch2 == true then
679
punch2 = false
680
punch = false
681
682
local ChatService = game:GetService("Chat")
683
684
neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0)
685
ChatService:Chat(char.Head, "...")
686
wait(0.5)
687
local ChatService = game:GetService("Chat")
688
689
690
ChatService:Chat(char.Head ,"Dark...")
691
wait(0.5)
692
local ChatService = game:GetService("Chat")
693
694
695
ChatService:Chat(char.Head, "PUNCH!")
696
neck.C0 = neckp
697
wait(0.3)
698
org = char.Torso["Left Shoulder"].C0
699
char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
700
wait()
701
killbrick2 = Instance.new("Part",char)
702
killbrick2.Size = Vector3.new(80,80,9000)
703
killbrick2.Transparency = 1
704
705
killbrick2.CanCollide = true
706
wait(0.1)
707
killbrick2.CanCollide = false
708
709
killbrick2.Anchored = true
710
711
killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005)
712
713
killbrick2.Touched:connect(function(h)
714
local x = h.Parent:FindFirstChild("Humanoid")-- lol
715
if x then
716
if x.Parent.Name == game.Players.LocalPlayer.Name then
717
safe = true
718
else safe = false
719
end
720
if x then
721
if safe == false then
722
h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900
723
local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
724
boom:Play()
725
bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
726
727
728
wait()
729
x.Parent:BreakJoints()
730
wait()
731
safe = true
732
end
733
end
734
end
735
end)
736
737
738
739
740
741
742
743
744
 local rng = Instance.new("Part", char)
745
       rng.Anchored = true
746
   rng.BrickColor = BrickColor.new("Really black")
747
       rng.CanCollide = false
748
   rng.FormFactor = 3
749
       rng.Name = "Ring"
750
    rng.Size = Vector3.new(3, 3, 3)
751
       rng.Transparency = 0.8
752
    rng.TopSurface = 0
753
    rng.BottomSurface = 0
754
rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
755
       rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
756
       local rngm = Instance.new("SpecialMesh", rng)
757
    rngm.MeshId = "http://www.roblox.com/asset/?id=9982590"
758
       rngm.Scale = Vector3.new(3, 3, 3)
759
760
local rng1 = Instance.new("Part", char)
761
       rng1.Anchored = true
762
   rng1.BrickColor = BrickColor.new("Really black")
763
       rng1.CanCollide = false
764
   rng1.FormFactor = 3
765
       rng1.Name = "Ring"
766
    rng1.Size = Vector3.new(3, 3, 3)
767
       rng1.Transparency = 0.8
768
    rng1.TopSurface = 0
769
    rng1.BottomSurface = 0
770
rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
771
       rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
772
       local rngm1 = Instance.new("SpecialMesh", rng1)
773
    rngm1.MeshId = "http://www.roblox.com/asset/?id=9982590"
774
       rngm1.Scale = Vector3.new(3, 3, 3)
775
       
776
       local p = (torso.CFrame*CFrame.new(-20,0,3))
777
       stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5)
778
       local p = (torso.CFrame*CFrame.new(20,0,3))
779
       stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5)
780
781
local rng2 = Instance.new("Part", char)
782
       rng2.Anchored = true
783
   rng2.BrickColor = BrickColor.new("Really black")
784
       rng2.CanCollide = false
785
   rng2.FormFactor = 3
786
       rng2.Name = "Ring"
787
    rng2.Size = Vector3.new(3, 3, 3)
788
       rng2.Transparency = 0.8
789
    rng2.TopSurface = 0
790
    rng2.BottomSurface = 0
791
rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
792
       rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
793
       local rngm2 = Instance.new("SpecialMesh", rng2)
794
    rngm2.MeshId = "http://www.roblox.com/asset/?id=9982590"
795
       rngm2.Scale = Vector3.new(3, 3, 3)
796
wait(0.1)
797
          
798
boom3:Play()
799
    coroutine.wrap(function()
800
     for i = 1, 35, 0.5 do
801
802
803
804
805
806
       rngm.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2)
807
rngm1.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2)
808
rngm2.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2)
809
rng.Transparency = i/35
810
rng1.Transparency = i/35
811
rng2.Transparency = i/35    
812
         wait()
813
           end
814
             wait()
815
           rng:Destroy()
816
rng1:Destroy()
817
rng2:Destroy()
818
             killbrick2:Remove()
819
      wait(0.1)
820
char.Torso["Left Shoulder"].C0 = org
821
   wait(0.3)
822
punch2 = true
823
punch = true
824
wait()
825
826
827
end)()
828
829
830
831
end
832
833
834
wait(.1)
835
836
837
end
838
end)
839
840
841
842
843
844
m.KeyDown:connect(function(key)
845
   if key == "k" then
846
if punch == true then
847
punch = false
848
org = char.Torso["Left Shoulder"].C0
849
char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
850
killbrick = Instance.new("Part",char)
851
killbrick.Size = Vector3.new(4,1,4)
852
killbrick.Transparency = 1
853
killbrick:BreakJoints()
854
killbrick.CanCollide = false
855
local wel = Instance.new("Weld",killbrick)
856
wel.Part0 = killbrick
857
wel.Part1 = char["Left Arm"]
858
wel.C0 = CFrame.new(0,1,0)
859
force = 30000
860
861
killbrick.Touched:connect(function(h)
862
local x = h.Parent:FindFirstChildOfClass("Humanoid")
863
local stop = h.Parent.Torso.Velocity
864
if x.Parent.Name == game.Players.LocalPlayer.Name then
865
safe = true
866
else safe = false
867
end
868
if x then
869
if safe == false then
870
       if fling == true then
871
               force = 90000
872
       
873
       end
874-
x:TakeDamage(12000)
874+
875
       force = 20000
876
877
ChatService:Chat(char.Head, "Dark Punch!")
878
neck.C0 = neckp
879
wait(0.1)
880
end
881
       
882
    
883
h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 50000
884
local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
885
boom:Play()
886
bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
887
888
889
wait()
890
x:Destroy()
891
wait()
892
safe = true
893
bodyforc:Remove()
894
h.Parent.Torso.Velocity = stop
895
end
896
end
897
end)
898
899
900
901
902
903
904
905
906
907
908
 local rng = Instance.new("Part", char)
909
       rng.Anchored = true
910
   rng.BrickColor = BrickColor.new("Really black")
911
       rng.CanCollide = false
912
   rng.FormFactor = 3
913
       rng.Name = "Ring"
914
    rng.Size = Vector3.new(1, 1, 1)
915
       rng.Transparency = 0.8
916
    rng.TopSurface = 0
917
    rng.BottomSurface = 0
918
rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
919
       rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
920
       local rngm = Instance.new("SpecialMesh", rng)
921
    rngm.MeshId = "http://www.roblox.com/asset/?id=9982590"
922
       rngm.Scale = Vector3.new(3, 3, 3)
923
wait(0.1)
924
          
925
boom2:Play()
926
    coroutine.wrap(function()
927
     for i = 1, 10, .4 do
928
       rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
929
   	rng.Transparency = i/10
930
         wait()
931
           end
932
             wait()
933
           rng:Destroy()
934
             killbrick:Remove()
935
char.Torso["Left Shoulder"].C0 = org
936
   wait(0.1)
937
938
punch = true
939
wait()
940
end)()
941
942
943
944
end
945
946
947
wait(.1)
948
949
950
end
951
end)
952
953
m.KeyDown:connect(function(key)
954
   if key == "h" then
955
if punch3 == true then
956
punch3 = false
957
eh = char.Torso["Right Shoulder"].C0
958
char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.new(0.3,0,0) * CFrame.Angles(0,0,math.rad(90))
959
killbrick3 = Instance.new("Part",char)
960
killbrick3.Size = Vector3.new(4,1,4)
961
killbrick3.Transparency = 1
962
killbrick3:BreakJoints()
963
killbrick3.CanCollide = false
964
local wel = Instance.new("Weld",killbrick3)
965
wel.Part0 = killbrick3
966
wel.Part1 = char["Right Arm"]
967
wel.C0 = CFrame.new(0,1,0)
968
force = 30000
969
970
killbrick3.Touched:connect(function(h)
971
local x = h.Parent:FindFirstChildOfClass("Humanoid")
972
local stop = h.Parent.Torso.Velocity
973
if x.Parent.Name == game.Players.LocalPlayer.Name then
974
safe = true
975
else safe = false
976
end
977
if x then
978
if safe == false then
979
       if fling == true then
980
               force = 90000
981
       
982-
wait(0.2)
982+
983-
x:TakeDamage(8000)
983+
984
       force = 20000
985
986
ChatService:Chat(char.Head, "Take this!")
987
neck.C0 = neckp
988
wait(0.1)
989
end
990
       
991
    
992
h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 50000
993
local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
994
boom:Play()
995
bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
996
997
998
wait()
999
x:Destroy()
1000
wait()
1001
safe = true
1002
bodyforc:Remove()
1003
h.Parent.Torso.Velocity = stop
1004
end
1005
end
1006
end)
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
 local rng = Instance.new("Part", char)
1018
       rng.Anchored = true
1019
   rng.BrickColor = BrickColor.new("Really black")
1020
       rng.CanCollide = false
1021
   rng.FormFactor = 3
1022
       rng.Name = "Ring"
1023
    rng.Size = Vector3.new(1, 1, 1)
1024
       rng.Transparency = 0.8
1025
    rng.TopSurface = 0
1026
    rng.BottomSurface = 0
1027
rng.CFrame = char["Right Arm"].CFrame * CFrame.new(0,-2,0)
1028
       rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
1029
       local rngm = Instance.new("SpecialMesh", rng)
1030
    rngm.MeshId = "http://www.roblox.com/asset/?id=9982590"
1031
       rngm.Scale = Vector3.new(3, 3, 3)
1032
wait(0.1)
1033
          
1034
boom2:Play()
1035
    coroutine.wrap(function()
1036
     for i = 1, 10, .4 do
1037
       rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
1038
   	rng.Transparency = i/10
1039
         wait()
1040
           end
1041
             wait()
1042
           rng:Destroy()
1043
             killbrick3:Remove()
1044
char.Torso["Right Shoulder"].C0 = eh
1045
   wait(0.1)
1046
1047
punch3 = true
1048
wait()
1049
end)()
1050
1051
1052
1053
end
1054
1055
1056
wait(.1)
1057
1058
1059
end
1060
end)
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
m.KeyDown:connect(function(key)
1074
   if key == "m" then
1075
if jump == true then
1076
jump = false
1077
1078
1079
 local rng = Instance.new("Part", char)
1080
       rng.Anchored = true
1081
   rng.BrickColor = BrickColor.new("Really black")
1082
       rng.CanCollide = false
1083
   rng.FormFactor = 3
1084
       rng.Name = "Ring"
1085
    rng.Size = Vector3.new(3, 3, 3)
1086
       rng.Transparency = 0.35
1087
    rng.TopSurface = 0
1088
    rng.BottomSurface = 0
1089
    rng.Position = torso.Position - Vector3.new(0,2,0)
1090
       rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
1091
       local rngm = Instance.new("SpecialMesh", rng)
1092
    rngm.MeshId = "http://www.roblox.com/asset/?id=9982590"
1093
       rngm.Scale = Vector3.new(3, 3, 3)
1094
wait(0.1)
1095
            BV = Instance.new("BodyVelocity", torso)
1096
    BV.maxForce = Vector3.new(0,20000,0)
1097
      BV.P = 1000
1098
    BV.velocity = Vector3.new(0,200,0)
1099
boom:Play()
1100
    coroutine.wrap(function()
1101
       for i = 1, 60, 2 do
1102
       rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
1103
        rng.Transparency = i/60
1104
         wait()
1105
           end
1106
             wait()
1107
           rng:Destroy()
1108
             
1109
       hum.WalkSpeed = 50
1110
   wait(1)
1111
1112
for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
1113
v:Destroy() local jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16  falling = false
1114
end end
1115
wait()
1116
end)()
1117
1118
1119
1120
end
1121
1122
1123
wait(.1)
1124
1125
1126
end
1127
end)
1128
1129
1130
mouse.KeyDown:connect(function(key)
1131
	if key == "b" then
1132
        multipunch = true
1133
        boom:Play()
1134
        local ChatService = game:GetService("Chat")
1135
1136
        neck.C0 = neck.C0 * CFrame.Angles(0,0,0)
1137
        ChatService:Chat(char.Head, "Consecutive Dark Punches.")
1138
        wait()
1139
        local ChatService = game:GetService("Chat")
1140
sss = char.Torso["Left Shoulder"].C0
1141
char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
1142
		coroutine.resume(coroutine.create(function()
1143
local s = 0
1144
repeat
1145
s = s + 1
1146
sqe()
1147
wait(0.03)
1148
until not multipunch
1149
end))
1150
mouse.KeyUp:connect(function(key)
1151
        if key == "b" then
1152
	multipunch = false
1153
	char.Torso["Left Shoulder"].C0 = sss
1154-
game:GetService("RunService").RenderStepped:connect(function()
1154+
1155-
  hum.MaxHealth = hum.MaxHealth * math.huge
1155+
1156-
  hum.Health = hum.MaxHealth * math.huge
1156+
1157
end
1158
end)
1159
	end
1160
	end)
1161
m.KeyDown:connect(function(k)
1162
if k == "f" then
1163
asd3:Stop()
1164
asd2:Stop()
1165
asd4:Stop()
1166
asd6:Stop()
1167
asd5:Stop()
1168
end
1169
end)
1170
  hum.MaxHealth = 'inf'
1171
  hum.Health = 'inf'
1172
  end)