View difference between Paste ID: yW2LeLmG and 78r3Tt2B
SHOW: | | - or go back to the newest paste.
1
--One Punch Man Script 
2
3
--https://github.com/Mokiros/roblox-FE-compatibility
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,game,owner = owner,game
6
local RealPlayer = Player
7
do
8
	print("FE Compatibility code V2 by Mokiros")
9
	local RealPlayer = RealPlayer
10
	script.Parent = RealPlayer.Character
11
12
	--Fake event to make stuff like Mouse.KeyDown work
13
	local Disconnect_Function = function(this)
14
		this[1].Functions[this[2]] = nil
15
	end
16
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
17
	local FakeEvent_Metatable = {__index={
18
		Connect = function(this,f)
19
			local i = tostring(math.random(0,10000))
20
			while this.Functions[i] do
21
				i = tostring(math.random(0,10000))
22
			end
23
			this.Functions[i] = f
24
			return setmetatable({this,i},Disconnect_Metatable)
25
		end
26
	}}
27
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
28
	local function fakeEvent()
29
		return setmetatable({Functions={}},FakeEvent_Metatable)
30
	end
31
32
	--Creating fake input objects with fake variables
33
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
34
    FakeMouse.keyUp = FakeMouse.KeyUp
35
    FakeMouse.keyDown = FakeMouse.KeyDown
36
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
37
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
38
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
39
	end}
40
	--Merged 2 functions into one by checking amount of arguments
41
	CAS.UnbindAction = CAS.BindAction
42
43
	--This function will trigger the events that have been :Connect()'ed
44
	local function TriggerEvent(self,ev,...)
45
		for _,f in pairs(self[ev].Functions) do
46
			f(...)
47
		end
48
	end
49
	FakeMouse.TriggerEvent = TriggerEvent
50
	UIS.TriggerEvent = TriggerEvent
51
52
	--Client communication
53
	local Event = Instance.new("RemoteEvent")
54
	Event.Name = "UserInput_Event"
55
	Event.OnServerEvent:Connect(function(plr,io)
56
	    if plr~=RealPlayer then return end
57
		FakeMouse.Target = io.Target
58
		FakeMouse.Hit = io.Hit
59
		if not io.isMouse then
60
			local b = io.UserInputState == Enum.UserInputState.Begin
61
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
62
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
63
			end
64
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
65
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
66
			end
67
			for _,t in pairs(CAS.Actions) do
68
				for _,k in pairs(t.Keys) do
69
					if k==io.KeyCode then
70
						t.Function(t.Name,io.UserInputState,io)
71
					end
72
				end
73
			end
74
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
75
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
76
	    end
77
	end)
78
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
79
	local Mouse = owner:GetMouse()
80
	local UIS = game:GetService("UserInputService")
81
	local input = function(io,RobloxHandled)
82
		if RobloxHandled then return end
83
		--Since InputObject is a client-side instance, we create and pass table instead
84
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
85
	end
86
	UIS.InputBegan:Connect(input)
87
	UIS.InputEnded:Connect(input)
88
	local h,t
89
	--Give the server mouse data every second frame, but only if the values changed
90
	--If player is not moving their mouse, client won't fire events
91
	local HB = game:GetService("RunService").Heartbeat
92
	while true do
93
		if h~=Mouse.Hit or t~=Mouse.Target then
94
			h,t=Mouse.Hit,Mouse.Target
95
			Event:FireServer({isMouse=true,Target=t,Hit=h})
96
		end
97
		--Wait 2 frames
98
		for i=1,2 do
99
			HB:Wait()
100
		end
101
	end]==],script)
102
103
	----Sandboxed game object that allows the usage of client-side methods and services
104
	--Real game object
105
	local RealGame = game
106
107
	--Metatable for fake service
108
	local FakeService_Metatable = {
109
		__index = function(self,k)
110
			local s = rawget(self,"_RealService")
111
			if s then
112
				return typeof(s[k])=="function"
113
				and function(_,...)return s[k](s,...)end or s[k]
114
			end
115
		end,
116
		__newindex = function(self,k,v)
117
			local s = rawget(self,"_RealService")
118
			if s then s[k]=v end
119
		end
120
	}
121
	local function FakeService(t,RealService)
122
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
123
		return setmetatable(t,FakeService_Metatable)
124
	end
125
126
	--Fake game object
127
	local FakeGame = {
128
		GetService = function(self,s)
129
			return rawget(self,s) or RealGame:GetService(s)
130
		end,
131
		Players = FakeService({
132
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
133
		},"Players"),
134
		UserInputService = FakeService(UIS,"UserInputService"),
135
		ContextActionService = FakeService(CAS,"ContextActionService"),
136
		RunService = FakeService({
137
			_btrs = {},
138
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
139
			BindToRenderStep = function(self,name,_,fun)
140
				self._btrs[name] = self.Heartbeat:Connect(fun)
141
			end,
142
			UnbindFromRenderStep = function(self,name)
143
				self._btrs[name]:Disconnect()
144
			end,
145
		},"RunService")
146
	}
147
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
148
	FakeGame.service = FakeGame.GetService
149
	FakeService(FakeGame,game)
150
	--Changing owner to fake player object to support owner:GetMouse()
151
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
152
end
153
154
p = game.Players.LocalPlayer
155
char = p.Character
156
des = false
157
fling = true
158
dot = false
159
falling = false
160
jump = true
161
--char.Shirt:Remove()
162
--for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
163
for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
164
wait()--shirt = Instance.new("Shirt", char)
165
--shirt.Name = "Shirt"
166
--pants = Instance.new("Pants", char)
167
--pants.Name = "Pants"
168
169
--char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=451927425"
170
--char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
171
tp = true
172
shoot = true
173
hum = char.Humanoid
174
punch = true
175
neckp = char.Torso.Neck.C0
176
neck = char.Torso.Neck
177
hum.MaxHealth = 9999999999999999999999999999999999999999
178
wait()
179
hum.Health =hum.MaxHealth
180
des = false
181
root=char.HumanoidRootPart
182
torso = char.Torso
183
char.Head.face.Texture = "rbxassetid://332768867"
184
local ChatService = game:GetService("Chat")
185
local player = game.Players.LocalPlayer
186
lig = Instance.new("PointLight",player.Character.Torso)
187
lig.Color=Color3.new(255,0,0)
188
m=player:GetMouse()
189
bb = Instance.new("BillboardGui",player.Character.Head)
190
bb.Enabled = true
191
function newRay(start,face,range,wat)
192
       local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
193
       hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
194
       return rey,hit,pos
195
end
196
aa1={}
197
torso=game.Players.LocalPlayer.Character.Torso
198
199
local WorldUp = Vector3.new(0,1,0)
200
function look2(Vec1,Vec2)
201
   local Orig = Vec1
202
   Vec1 = Vec1+Vector3.new(0,1,0)
203
   Vec2 = Vec2+Vector3.new(0,1,0)
204
   local Forward = (Vec2-Vec1).unit
205
   local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
206
   local Right = Up:Cross(Forward).unit
207
   Forward = -Forward
208
   Right = -Right
209
   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)
210
end
211
212
function look(CFr,Vec2)
213
   local A = Vector3.new(0,0,0)
214
   local B = CFr:inverse()*Vec2
215
   local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
216
   if B.Z > 0 then
217
       CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
218
   elseif B.Z == 0 then
219
       if B.Y > 0 then
220
           CF = CFr*CFrame.Angles(math.pi/2,0,0)
221
       elseif B.Y < 0 then
222
           CF = CFr*CFrame.Angles(-math.pi/2,0,0)
223
       else
224
           CF = CFr
225
       end
226
   end
227
   local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
228
   local Up = Vector3.new(X,Y,Z)
229
   local Forward = (Vec2-CFr.p).unit
230
   local Right = Up:Cross(Forward)
231
   Forward = -Forward
232
   Right = -Right
233
   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)
234
end
235
236
function simulate(j,d,m,r,t)
237
       local joint = j
238
       for i,v in ipairs(t) do
239
               if v[1]:FindFirstChild("Weld") then
240
                       local stiff = m.CFrame.lookVector*0.03
241
                       if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
242
                       local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit
243
                       local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude
244
                       local pos = joint.p+(dir*(d*0.5))
245
                     --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
246
                       local inv = v[1].Weld.Part0.CFrame
247
                       local rel1 = inv:inverse()*pos
248
                       local rel2 = inv:inverse()*(pos-(dir*dis))
249
                       local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
250
                       v[1].Weld.C0 = cf
251
                       v[2] = inv*cf
252
                       --v[1].CFrame = cf
253
               end
254
       end
255
end
256
for i=1,8 do
257
local p = Instance.new("Part",char)
258
p.Anchored = false
259
p.BrickColor = BrickColor.new("Institutional white")
260
p.CanCollide = false
261
p.FormFactor="Custom"
262
p.Material = "SmoothPlastic"
263
p.TopSurface = "SmoothNoOutlines"
264
p.BottomSurface = "SmoothNoOutlines"
265
p.RightSurface = "SmoothNoOutlines"
266
p.LeftSurface = "SmoothNoOutlines"
267
p.FrontSurface = "SmoothNoOutlines"
268
p.BackSurface = "SmoothNoOutlines"
269
270
p.Size=Vector3.new(2,.2,0.2)
271
p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
272
mesh = Instance.new("BlockMesh",p)
273
mesh.Scale = Vector3.new(1,1,4)
274
local w = Instance.new("Motor6D",p)
275
w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
276
w.Part1 = p
277
w.Name = "Weld"
278
--table.insert(aa1,p)
279
aa1[i] = {p,p.CFrame}
280
281
end
282
game:service"RunService".Stepped:connect(function()
283
simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1)
284
end)
285
bb.AlwaysOnTop = true
286
bb.Size = UDim2.new(0,200,0,50)
287
bb.StudsOffset = Vector3.new(0,1,0)
288
gui=Instance.new("TextBox",bb)
289
gui.Text = "* "
290
gui.Size = UDim2.new(0,133,0,45)
291
gui.Position=UDim2.new(0,57,0,-40)
292
gui.TextColor3 = Color3.new(255,255,255)
293
gui.BackgroundColor3=Color3.new(0,0,0)
294
gui.TextWrapped = true
295
gui.TextScaled = true
296
gui.TextXAlignment = "Left"
297
gui.TextYAlignment = "Top"
298
gui.Visible = false
299
gui.BorderColor3 = Color3.new(0,0,0)
300
punch2 = true
301
gui1=Instance.new("TextButton",bb)
302
gui1.Position=UDim2.new(0,5,0,-43)
303
gui1.Size = UDim2.new(0,190,0,51)
304
305
gui1.TextColor3 = Color3.new(255,255,255)
306
gui1.BackgroundColor3=Color3.new(255,255,255)
307
jump2 = true
308
gui1.Visible = false
309
img = Instance.new("ImageLabel",bb)
310
img.Size = UDim2.new(0,46,0,47)
311
img.Position = UDim2.new(0,10,0,-41)
312
img.Image = "rbxassetid://447301252"
313
img.BorderColor3 = Color3.new(0,0,0)
314
img.Visible = false
315
soka = Instance.new("Sound",char)
316
soka.SoundId = "http://www.roblox.com/asset/?id = 447199232"
317
soka.Volume = 1
318
boom = Instance.new("Sound",char)
319
boom.SoundId = "http://www.roblox.com/asset/?id = 447041606"
320
boom.Volume = 1
321
boom2 = Instance.new("Sound",char)
322
boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737"
323
boom2.Volume = 1
324
boom3 = Instance.new("Sound",char)
325
boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
326
boom3.Volume = 1
327
tps = Instance.new("Sound",char)
328
tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
329
tps.Volume = 1
330
asd = Instance.new("Sound",char)
331
asd.SoundId = "http://www.roblox.com/asset/?id = 447310433"
332
asd.Volume =1 
333
asd1 = Instance.new("Sound",char)
334
asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
335
336
asd2 = Instance.new("Sound",char)
337
asd2.SoundId = "http://www.roblox.com/asset/?id = 386713054"
338
asd2.Looped = true
339
asd2.Volume = 5
340
asd3 = Instance.new("Sound",char)
341
asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996"
342
asd3.Looped = true
343
asd4 = Instance.new("Sound",char)
344
asd4.SoundId = "http://www.roblox.com/asset/?id = 401258325"
345
asd4.Looped = true
346
asd5 = Instance.new("Sound",char)
347
asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261"
348
asd5.Looped = true
349
gas = Instance.new("Sound",char)
350
gas.SoundId = "http://www.roblox.com/asset/?id = 345052019"
351
asd6 = Instance.new("Sound",char)
352
asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325"
353
asd6.Looped = true
354
function play(play)
355
asd:Play()
356
wait(0.05)
357
--asd1:Play()
358
end
359
360
361
362
------------
363
-------------------------
364
365
function stream(origin,dir,length,size)
366
       local parts = {}
367
       for i = 1,length do
368
               local p = Instance.new("Part",char)
369
               p.Anchored = true
370
               p.Transparency = 0.5
371
               p.TopSurface = 0
372
               p.BottomSurface = 0
373
               p.CanCollide = false
374
               p.BrickColor = BrickColor.new("Institutional white")
375
               p.Size = Vector3.new(10,30,10) -- for now
376
               p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
377
               parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)}
378
               game:GetService("Debris"):AddItem(p,3)
379
       end
380
       Spawn(function()
381
               while parts do
382
                       for i,v in pairs(parts) do
383
                               if v[1].Parent == char then
384
                                       v[1].CFrame = v[1].CFrame*v[2]
385
                               else
386
                                       parts = nil
387
                                       break
388
                               end
389
                       end
390
                       wait(0.02)
391
               end
392
       end)
393
end
394
395
--[[-- listen for their chatting
396
player.Chatted:connect(function(message)
397
a = string.len(message)
398
gui.Text = ""
399
gui.Visible = true
400
gui1.Visible = true
401
des = false
402
img.Visible = true
403
print(a)
404
if dot == false then
405
gui.Text = ""
406
for i = 1,string.len(message) do 
407
gui.Text =gui.Text..message:sub(i,i)
408
play()
409
410
end
411
end
412
413
414
des = true
415
end)]]--
416
m.KeyDown:connect(function(k)
417
if k == "g" then
418
asd2:Play()
419
420
421
end
422
end)
423
424
m.KeyDown:connect(function(k)
425
if k == "r" then
426
427
asd4:Play()
428
end
429
end)
430
m.KeyDown:connect(function(k)
431
if k == "q" then
432
433
asd3:Play()
434
end
435
end)
436
m.KeyDown:connect(function(k)
437
if k == "z" then
438
img.Image = "rbxassetid://332766052"
439
440
end
441
end)
442
m.KeyDown:connect(function(k)
443
if k == "c" then
444
img.Image = "rbxassetid://447301252"
445
446
end
447
end)
448
m.KeyDown:connect(function(k)
449
if k == "b" then
450
451
asd6:Play()
452
end
453
end)
454
mouse = p:GetMouse()
455
m.KeyDown:connect(function(k)
456
if k:byte() == 48 then
457
458
hum.WalkSpeed = 100
459
end
460
end)
461
m.KeyDown:connect(function(k)
462
if k:byte() == 50 then
463
464
soka:Play()
465
end
466
end)
467
m.KeyDown:connect(function(k)
468
if k:byte() == 52 then
469
470
char.Head.face.Texture = "rbxassetid://444037452"
471
end
472
end)
473
m.KeyDown:connect(function(k)
474
if k:byte() == 51 then
475
476
char.Head.face.Texture = "rbxassetid://332768867"
477
end
478
end)
479
m.KeyUp:connect(function(k)
480
if k:byte() == 48 then
481
482
hum.WalkSpeed = 16
483
end
484
end)
485
p.Chatted:connect(function(m)
486
if m == "Okay." then
487
soka:Play()
488
end
489
end)
490
m.KeyDown:connect(function(k)
491
if k == "x" then
492
if des == true then
493
gui.Visible = false
494
gui.Text = "* "
495
gui1.Visible = false
496
img.Visible = false
497
end
498
end
499
end)
500
m.KeyDown:connect(function(key)
501
if key == "j" then
502
if tp == true then
503
tp = false
504
tps:Play()
505
char.Head.face.Parent = game.Lighting
506
for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1
507
end
508
509
end
510
  wait(0.5)
511
for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0          
512
end
513
514
end
515
char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
516
char.HumanoidRootPart.Transparency =  1
517
game.Lighting.face.Parent = char.Head
518
   wait(0.2)
519
520
tp = true
521
522
523
end
524
end
525
end)
526
527
528
m.KeyDown:connect(function(key)
529
   if key == "t" then
530
if punch2 == true then
531
punch2 = false
532
punch = false
533
534
local ChatService = game:GetService("Chat")
535
536
neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0)
537
ChatService:Chat(char.Head, "Mind if I get Serious?")
538
wait(1)
539
local ChatService = game:GetService("Chat")
540
541
542
ChatService:Chat(char.Head ,"Killer Move: Serious Series...")
543
wait(1)
544
local ChatService = game:GetService("Chat")
545
546
547
ChatService:Chat(char.Head, "SERIOUS PUNCH.")
548
neck.C0 = neckp
549
wait(0.6)
550
org = char.Torso["Left Shoulder"].C0
551
char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
552
wait()
553
killbrick2 = Instance.new("Part",char)
554
killbrick2.Size = Vector3.new(80,80,9000)
555
killbrick2.Transparency = 1
556
557
killbrick2.CanCollide = true
558
wait(0.1)
559
killbrick2.CanCollide = false
560
561
killbrick2.Anchored = true
562
563
killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005)
564
565
killbrick2.Touched:connect(function(h)
566
local x = h.Parent:FindFirstChild("Humanoid")
567
if x then
568
if x.Parent.Name == game.Players.LocalPlayer.Name then
569
safe = true
570
else safe = false
571
end
572
if x then
573
if safe == false then
574
h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900
575
local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
576
boom:Play()
577
bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
578
579
580
wait(0.2)
581
x.Parent:BreakJoints()
582
wait()
583
safe = true
584
end
585
end
586
end
587
end)
588
589
590
591
592
593
594
595
596
 local rng = Instance.new("Part", char)
597
       rng.Anchored = true
598
   rng.BrickColor = BrickColor.new("Institutional white")
599
       rng.CanCollide = false
600
   rng.FormFactor = 3
601
       rng.Name = "Ring"
602
    rng.Size = Vector3.new(1, 1, 1)
603
       rng.Transparency = 0.8
604
    rng.TopSurface = 0
605
    rng.BottomSurface = 0
606
rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
607
--rng.Rotation = Vector3.new(math.pi/2,0,0)
608
       rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
609
       local rngm = Instance.new("SpecialMesh", rng)
610
    rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
611
       rngm.Scale = Vector3.new(1, 1.3, 2)
612
local rng1 = Instance.new("Part", char)
613
       rng1.Anchored = true
614
   rng1.BrickColor = BrickColor.new("Institutional white")
615
       rng1.CanCollide = false
616
   rng1.FormFactor = 3
617
       rng1.Name = "Ring"
618
    rng1.Size = Vector3.new(1, 1, 1)
619
       rng1.Transparency = 0.8
620
    rng1.TopSurface = 0
621
    rng1.BottomSurface = 0
622
rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
623
--rng1.Rotation = Vector3.new(math.pi/2,0,0)
624
       rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
625
       local rngm1 = Instance.new("SpecialMesh", rng1)
626
    rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
627
       rngm1.Scale = Vector3.new(1, 1.3, 2)
628
       
629
       local p = (torso.CFrame*CFrame.new(-20,0,3))
630
       stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5) -- 20 is number of parts, 6 is distance between each one
631
       local p = (torso.CFrame*CFrame.new(20,0,3))
632
       stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) -- same here
633
634
local rng2 = Instance.new("Part", char)
635
       rng2.Anchored = true
636
   rng2.BrickColor = BrickColor.new("Institutional white")
637
       rng2.CanCollide = false
638
   rng2.FormFactor = 3
639
       rng2.Name = "Ring"
640
    rng2.Size = Vector3.new(1, 1, 1)
641
       rng2.Transparency = 0.8
642
    rng2.TopSurface = 0
643
    rng2.BottomSurface = 0
644
rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
645
--rng1.Rotation = Vector3.new(math.pi/2,0,0)
646
       rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
647
       local rngm2 = Instance.new("SpecialMesh", rng2)
648
    rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
649
       rngm2.Scale = Vector3.new(1, 1.3, 2)
650
wait(0.1)
651
          
652
boom3:Play()
653
    coroutine.wrap(function()
654
     for i = 1, 35, 0.5 do
655
656
657
658
659
660
       rngm.Scale = Vector3.new(50 + i*2, 10 + i*2, 2.5+ i*4)
661
rngm1.Scale = Vector3.new(50 + i*2, 1.4 + i*2, 1.4+ i*4)
662
rngm2.Scale = Vector3.new(50 + i*2, 10 + i*2, 1.2+ i*4)
663
   
664
         wait()
665
           end
666
             wait()
667
           rng:Destroy()
668
rng1:Destroy()
669
rng2:Destroy()
670
             killbrick2:Remove()
671
      wait(0.5)
672
char.Torso["Left Shoulder"].C0 = org
673
   wait(1)
674
punch2 = true
675
punch = true
676
wait()
677
678
679
end)()
680
681
682
683
end
684
685
686
wait(.1)
687
688
689
end
690
end)
691
692
693
694
695
696
m.KeyDown:connect(function(key)
697
   if key == "k" then
698
if punch == true then
699
punch = false
700
org = char.Torso["Left Shoulder"].C0
701
char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
702
killbrick = Instance.new("Part",char)
703
killbrick.Size = Vector3.new(5,1,5)
704
killbrick.Transparency = 1
705
killbrick:BreakJoints()
706
killbrick.CanCollide = false
707
local wel = Instance.new("Weld",killbrick)
708
wel.Part0 = killbrick
709
wel.Part1 = char["Left Arm"]
710
wel.C0 = CFrame.new(0,1,0)
711
force = 90
712
713
killbrick.Touched:connect(function(h)
714
local x = h.Parent.Humanoid
715
if x.Health >= 6000 then
716
       fling = false
717
end
718
if x.Health < 6000 then
719
       fling = true
720
end
721
local stop = h.Parent.Torso.Velocity
722
if x.Parent.Name == game.Players.LocalPlayer.Name then
723
safe = true
724
else safe = false
725
end
726
if x then
727
if safe == false then
728
       if fling == true then
729
               force = 900
730
       
731
       end
732
if fling == false then
733
       force = 200
734
end
735
       
736
    
737
h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force
738
local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
739
boom:Play()
740
bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
741
742
743
wait(0.2)
744
x:TakeDamage(5000)
745
wait()
746
safe = true
747
bodyforc:Remove()
748
h.Parent.Torso.Velocity = stop
749
750
end
751
end
752
end)
753
754
755
756
757
758
759
760
761
762
763
 local rng = Instance.new("Part", char)
764
       rng.Anchored = true
765
   rng.BrickColor = BrickColor.new("Institutional white")
766
       rng.CanCollide = false
767
   rng.FormFactor = 3
768
       rng.Name = "Ring"
769
    rng.Size = Vector3.new(1, 1, 1)
770
       rng.Transparency = 0.8
771
    rng.TopSurface = 0
772
    rng.BottomSurface = 0
773
rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
774
--rng.Rotation = Vector3.new(math.pi/2,0,0)
775
       rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
776
       local rngm = Instance.new("SpecialMesh", rng)
777
    rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
778
       rngm.Scale = Vector3.new(1, 1.3, 2)
779
wait(0.1)
780
          
781
boom2:Play()
782
    coroutine.wrap(function()
783
     for i = 1, 10, .4 do
784
       rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
785
   
786
         wait()
787
           end
788
             wait()
789
           rng:Destroy()
790
             killbrick:Remove()
791
      wait(0.5)
792
char.Torso["Left Shoulder"].C0 = org
793
   wait(1)
794
795
punch = true
796
wait()
797
end)()
798
799
800
801
end
802
803
804
wait(.1)
805
806
807
end
808
end)
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
m.KeyDown:connect(function(key)
824
   if key == "m" then
825
if jump == true then
826
jump = false
827
828
829
 local rng = Instance.new("Part", char)
830
       rng.Anchored = true
831
   rng.BrickColor = BrickColor.new("Institutional white")
832
       rng.CanCollide = false
833
   rng.FormFactor = 3
834
       rng.Name = "Ring"
835
    rng.Size = Vector3.new(1, 1, 1)
836
       rng.Transparency = 0.35
837
    rng.TopSurface = 0
838
    rng.BottomSurface = 0
839
    rng.Position = torso.Position - Vector3.new(0,2,0)
840
       rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
841
       local rngm = Instance.new("SpecialMesh", rng)
842
    rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
843
       rngm.Scale = Vector3.new(1, 1.3, 2)
844
wait(0.1)
845
            BV = Instance.new("BodyVelocity", torso)
846
    BV.maxForce = Vector3.new(0,20000,0)
847
      BV.P = 1000
848
    BV.velocity = Vector3.new(0,100,0)
849
boom:Play()
850
    coroutine.wrap(function()
851
       for i = 1, 60, 2 do
852
       rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
853
        rng.Transparency = i/60
854
         wait()
855
           end
856
             wait()
857
           rng:Destroy()
858
             
859
       hum.WalkSpeed = 50
860
   wait(1)
861
862
for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
863
v:Destroy() jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16  falling = false
864
end end
865
wait()
866
end)()
867
868
869
870
end
871
872
873
wait(.1)
874
875
876
end
877
end)
878
879
880
881
882
883
884
m.KeyDown:connect(function(key)
885
   if key == "n" then
886
887
if falling == true then
888
falling = false
889
if jumping2 == true then
890
jumping2 = false
891
jump = false
892
BV = Instance.new("BodyVelocity", torso)
893
    BV.maxForce = Vector3.new(0,-20000,0)
894
      BV.P = -1000
895
    BV.velocity = Vector3.new(0,-70,0)
896
wait(0.6)
897
 local rng = Instance.new("Part", char)
898
       rng.Anchored = true
899
   rng.BrickColor = BrickColor.new("Institutional white")
900
       rng.CanCollide = false
901
   rng.FormFactor = 3
902
       rng.Name = "Ring"
903
    rng.Size = Vector3.new(1, 1, 1)
904
       rng.Transparency = 0.35
905
    rng.TopSurface = 0
906
    rng.BottomSurface = 0
907
    rng.Position = torso.Position - Vector3.new(0,2,0)
908
       rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
909
       local rngm = Instance.new("SpecialMesh", rng)
910
    rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
911
       rngm.Scale = Vector3.new(1, 1.3, 2)
912
913
            
914
boom:Play()
915
    coroutine.wrap(function()
916
       for i = 1, 60, 2 do
917
       rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
918
        rng.Transparency = i/60
919
         wait()
920
           end
921
             wait()
922
           rng:Destroy()
923
             
924
      
925
926
927
for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
928
v:Destroy()  wait(2)  jumping2 = true hum.WalkSpeed = 16 
929
end end
930
wait()
931
end)()
932
933
934
935
end
936
937
938
wait(.1)
939
940
end
941
end
942
end)
943
m.KeyDown:connect(function(k)
944
if k == "f" then
945
asd3:Stop()
946
asd2:Stop()
947
asd4:Stop()
948
asd6:Stop()
949
asd5:Stop()
950
end
951
end) 
952
------------
953
-- ~CLarramore 2016