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