View difference between Paste ID: VZwPa2tA and NctKdkfz
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 print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
6
7
--[[
8
	
9
	Simple Clone script
10
	Cronnie#8709
11
	
12
--]]
13
14
--[[ Controls
15
	
16
	H = Replaces you with a Clone so people think they killed you but they actually did not.
17
	I = Become visible, usually helpful when you're invisible after you press H
18
	T = Tp to your mouse
19
	C = Remove clones 
20
	Q = toggle mouse follow (default is non mouse follow)
21
	E = Summons 5 clones around you
22
	L = Spawns a clone on ur mouse
23
	R = Rasengan only for you
24
	F = Rasengan for clones
25
	X = Make clones ride each other ( buggy )
26
	
27
--]]
28
29
plr = game:service'Players'.LocalPlayer
30
char = plr.Character
31
cam = workspace.Camera
32
m = plr:GetMouse()
33
char.Archivable = true
34
35
cooldown = true
36
disable = true
37
rad = math.rad
38
cloneamount = 0
39
mfol = false
40
biju = false
41
rid = false
42
rs = false
43
44
ras = {
45
	
46
}
47
48
welds= {
49
	
50
}
51
52
welds2 = {
53
	
54
}
55
56
mcs = {
57
	
58
}
59
60
clones = {
61
	
62
}
63
64
char:FindFirstChildOfClass'Humanoid'.WalkSpeed = 32
65
char:FindFirstChildOfClass'Humanoid'.JumpPower = 100
66
67
hair = Instance.new("Part", char)
68
hair.Size = Vector3.new(0.2,0.2,0.2)
69
hairmesh = Instance.new("SpecialMesh", hair)
70
hairmesh.MeshId = "rbxassetid://520462259"
71
hairmesh.Scale = Vector3.new(0.07, 0.07, 0.074)
72
hairmesh.TextureId = "rbxassetid://520462269"
73
hair.Transparency = 0
74
hair.CanCollide = false
75
hair.Name = "plrhair"
76
hair.Anchored = false
77
hair.BrickColor = BrickColor.new("Really black")
78
Weld = Instance.new("Weld", char)
79
Weld.Part0 = char["Head"]
80
Weld.Part1 = hair
81
Weld.C1 = CFrame.new(0, 0.4, 0.1)*CFrame.Angles(0,rad(180),0)
82
83
for _, a in pairs(char:children()) do
84
	if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Pants' or a:IsA'Shirt' then
85
		a:Destroy()
86
	end
87
end
88
89
char.Head.face.Texture =  "http://www.roblox.com/asset/?id=727692296"
90
91
local s = Instance.new('Shirt', char)
92
s.ShirtTemplate = "rbxassetid://208297138"
93
local p = Instance.new('Pants', char)
94
p.PantsTemplate = "rbxassetid://184745905"
95
96
function crasengan(a)
97
	coroutine.resume(coroutine.create(function()
98
	local sou =Instance.new("Sound")
99
	sou.Pitch =1
100
	sou.Volume= 2
101
	sou.SoundId= "rbxassetid://738548104"
102
	sou.Parent= a["Head"]
103
	sou:Play()
104
	local arm= {a["Right Arm"]}
105
	a.Torso["Right Shoulder"].Archivable =true
106
	part1 =Instance.new("Part")
107
	table.insert(ras,part1)
108
	part1.CFrame =a["Right Arm"].CFrame
109
	part1.Parent =a
110
	part1.Name= "TriggerR"
111
	part1.Transparency =0.560
112
	part1.Shape ="Ball"
113
	part1.BrickColor= BrickColor.new("Toothpaste")
114
	part1.TopSurface =0 
115
	part1.Material="Neon"
116
	part1.BottomSurface =0 
117
	part1.CanCollide=false
118
	part1.Size =Vector3.new(2,2,2)
119
	part1.Anchored =false
120
	local mc =a.Torso["Right Shoulder"]:Clone()
121
	table.insert(mcs,mc)
122
	weld = Instance.new("Weld",arm[1])
123
	table.insert(welds,mc)
124
	weld.Part0=a.Torso
125
	weld.Part1=weld.Parent
126
	weld.C1 =CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
127
	part1.CFrame = a["Right Arm"].CFrame* CFrame.new(0,1, 1.75)
128
	local Weld= Instance.new("Weld", a)
129
	Weld.Part0= a["Right Arm"]
130
	Weld.Part1=part1
131
	Weld.C1=CFrame.new(0,1.75,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
132
	
133
	part1.Touched:connect(function(hit)
134
		part1.Transparency = 1
135
		if hit.Parent:FindFirstChild("Humanoid") then
136
			if hit.Parent.Name ~= plr.Name and rs then
137
				rs = false
138
				for _, a in pairs(ras) do
139
					a:Destroy()
140
				end
141
				local part2 = part1:Clone()
142
				table.insert(ras,part2)
143
				part2.Name = "FakeR"
144
				part1:Destroy()
145
				weld:Destroy()
146
				mc.Parent = a.Torso
147
				for _, a in pairs(mcs) do
148
					for _, b in pairs(clones) do
149
						if b:FindFirstChild'Torso' then
150
							a.Parent = b.Torso
151
						end
152
					end
153
				end
154
			  	part2.Parent = hit.Parent
155
			  	part2.Transparency = 0
156
			 	local Weld = Instance.new("Weld", a)
157
			 	Weld.Part0 = hit.Parent.HumanoidRootPart
158
			  	Weld.Part1 = part2
159
			  	Weld.C1 = CFrame.new(0, 1, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
160
				local bv = Instance.new('BodyVelocity')
161
				bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
162
				bv.P = 7555
163
				bv.Velocity = hit.Parent:FindFirstChild("Head").CFrame.lookVector + Vector3.new(math.random(-100,1),math.random(0,1),math.random(-100,1))
164
				bv.Parent = hit.Parent:FindFirstChild("HumanoidRootPart")
165
				game.Debris:AddItem(bv, 0.6)
166
				wait(0.6)
167
				ypcall(function()
168
					hit.Parent:FindFirstChild('HumanoidRootPart').Anchored = true
169
				end)
170
				part2.Anchored = true
171
				for i=0,15,1 do
172
					wait(.05)
173
					part2.Transparency = part2.Transparency + 0.1
174
					part2.Size = part2.Size + Vector3.new(10,10,10)
175
				end
176
				part2:Destroy()
177
				ypcall(function()
178
					hit.Parent:FindFirstChild('HumanoidRootPart').Anchored = false
179
					hit.Parent:BreakJoints()
180
				end)
181
			end
182
		end
183
	end)
184
	end))
185
end
186
187
function rasengan(a)
188
	coroutine.resume(coroutine.create(function()
189
	local sou =Instance.new("Sound")
190
	sou.Pitch =1
191
	sou.Volume= 2
192
	sou.SoundId= "rbxassetid://738548104"
193
	sou.Parent= a["Head"]
194
	sou:Play()
195
	local arm= {a["Right Arm"]}
196
	a.Torso["Right Shoulder"].Archivable =true
197
	part1 =Instance.new("Part")
198
	table.insert(ras,part1)
199
	part1.CFrame =a["Right Arm"].CFrame
200
	part1.Parent =a
201
	part1.Name= "TriggerR"
202
	part1.Transparency =0.560
203
	part1.Shape ="Ball"
204
	part1.BrickColor= BrickColor.new("Toothpaste")
205
	part1.TopSurface =0 
206
	part1.Material="Neon"
207
	part1.BottomSurface =0 
208
	part1.CanCollide=false
209
	part1.Size =Vector3.new(2,2,2)
210
	part1.Anchored =false
211
	local mc =a.Torso["Right Shoulder"]:Clone()
212
	weld = Instance.new("Weld",arm[1])
213
	weld.Part0=a.Torso
214
	weld.Part1=weld.Parent
215
	weld.C1 =CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
216
	part1.CFrame = a["Right Arm"].CFrame* CFrame.new(0,1, 1.75)
217
	local Weld= Instance.new("Weld", a)
218
	Weld.Part0= a["Right Arm"]
219
	Weld.Part1=part1
220
	Weld.C1=CFrame.new(0,1.75,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
221
	
222
	part1.Touched:connect(function(hit)
223
		part1.Transparency = 1
224
		if hit.Parent:FindFirstChild("Humanoid") then
225
			if hit.Parent.Name ~= plr.Name and rs then
226
				rs = false
227
				for _, a in pairs(ras) do
228
					a:Destroy()
229
				end
230
				local part2 = part1:Clone()
231
				table.insert(ras,part2)
232
				part2.Name = "FakeR"
233
				part1:Destroy()
234
				weld:Destroy()
235
				mc.Parent = a.Torso
236
			  	part2.Parent = hit.Parent
237
			  	part2.Transparency = 0
238
			 	local Weld = Instance.new("Weld", a)
239
			 	Weld.Part0 = hit.Parent.HumanoidRootPart
240
			  	Weld.Part1 = part2
241
			  	Weld.C1 = CFrame.new(0, 1, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
242
				local bv = Instance.new('BodyVelocity')
243
				bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
244
				bv.P = 7555
245
				bv.Velocity = hit.Parent:FindFirstChild("Head").CFrame.lookVector + Vector3.new(math.random(-100,1),math.random(0,1),math.random(-100,1))
246
				bv.Parent = hit.Parent:FindFirstChild("HumanoidRootPart")
247
				game.Debris:AddItem(bv, 0.6)
248
				wait(0.6)
249
				ypcall(function()
250
					hit.Parent:FindFirstChild('HumanoidRootPart').Anchored = true
251
				end)
252
				part2.Anchored = true
253
				for i=0,15,1 do
254
					wait(.05)
255
					part2.Transparency = part2.Transparency + 0.1
256
					part2.Size = part2.Size + Vector3.new(10,10,10)
257
				end
258
				part2:Destroy()
259
				ypcall(function()
260
					hit.Parent:FindFirstChild('HumanoidRootPart').Anchored = false
261
					hit.Parent:BreakJoints()
262
				end)
263
			end
264
		end
265
	end)
266
	end))
267
end
268
269
function ride()
270
	ypcall(function()
271
	local b = 1
272
	local last = #clones
273
	for _, a in pairs(clones) do
274
		wait(.05)
275
		local minus = #clones
276
		local plus = #clones - 1
277
		local total = plus - minus
278
		local cur = b
279
		local nex = cur - total
280
		p = Instance.new('Weld', clones[cur])
281
		table.insert(welds2, p)
282
		p.Part0 = clones[cur]:FindFirstChild("Torso") or clones[cur]:FindFirstChild("UpperTorso") 
283
		p.Part1 = clones[nex]:FindFirstChild("Torso") or clones[nex]:FindFirstChild("UpperTorso")
284
		p.C0 = CFrame.new(0,-2.2,-.50)
285
		clones[cur].Humanoid.Sit = true
286
		b = b + 1
287
	end
288
	p = Instance.new('Weld', clones[last])
289
	table.insert(welds2, p)
290
	p.Part0 = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso") 
291
	p.Part1 = clones[last]:FindFirstChild("Torso") or clones[last]:FindFirstChild("UpperTorso")
292
	p.C0 = CFrame.new(0,-2.2,-.50)
293
	end)
294
end
295
296
function clonerasengan()
297
	for _, a in pairs(clones) do
298
		if a ~= nil and a:FindFirstChildOfClass'Humanoid' then
299
			crasengan(a)
300
		end
301
	end
302
end
303
304
function hai(b)
305
	hair = Instance.new("Part", b.Head)
306
	hairmesh = Instance.new("SpecialMesh", hair)
307
	hairmesh.MeshId = "rbxassetid://520462259"
308
	hairmesh.Scale = Vector3.new(0.07, 0.07, 0.074)
309
	hairmesh.TextureId = "rbxassetid://520462269"
310
	hair.Transparency = 0
311
	hair.CanCollide = false
312
	hair.Name = "plrhair"
313
	hair.Anchored = false
314
	hair.BrickColor = BrickColor.new("Really black")
315
	Weld = Instance.new("Weld",b)
316
	Weld.Part0 = b["Head"]
317
	Weld.Part1 = hair
318
	Weld.C1 = CFrame.new(0, 0.4, 0.1)*CFrame.Angles(0,rad(180),0)
319
end
320
321
function cclones()
322
	cloneamount = 0
323
	for _, a in pairs(char:children()) do
324
		if a:FindFirstChild('Id'..plr.Name) then
325
			local p = Instance.new('Part', char)
326
			p.Transparency = 1
327
			p.CanCollide = false
328
			p.Anchored = true
329
			p.Size = Vector3.new(0.2,0.2,0.2)
330
			if a:FindFirstChild'Torso' then
331
				p.CFrame = a.Torso.CFrame
332
			elseif not a:FindFirstChild'Torso' then
333
				for _, b in pairs(a:children()) do
334
					if b:IsA'Part' then
335
						p.CFrame = b.CFrame
336
					end
337
				end
338
			end
339
			local sou = Instance.new("Sound")
340
			sou.Pitch = 1
341
			sou.Volume = 1.2
342
			sou.SoundId = "rbxassetid://722960601"
343
			sou.Parent = p
344
			sou:Play()
345
			local pe = Instance.new("ParticleEmitter")
346
			pe.Acceleration = Vector3.new(0, 8, 0)
347
			pe.Lifetime = NumberRange.new(1, 1.5)
348
			pe.Rate = 20000
349
			pe.RotSpeed = NumberRange.new(-30, 30)
350
			pe.Rotation = NumberRange.new(0, 360)
351
			pe.Size = NumberSequence.new({
352
			NumberSequenceKeypoint.new(0, 4.38, 0),
353
			NumberSequenceKeypoint.new(0.672, 4.14, 0),
354
			NumberSequenceKeypoint.new(1, 1.48, 0)
355
			})
356
			pe.Texture = "rbxassetid://244221440"
357
			pe.Transparency = NumberSequence.new({
358
			NumberSequenceKeypoint.new(0, 0, 0),
359
			NumberSequenceKeypoint.new(0.529, 0.3, 0),
360
			NumberSequenceKeypoint.new(1, 1, 1)
361
			})
362
			pe.ZOffset = 5
363
			pe.VelocitySpread = 360
364
			pe.Parent = p
365
			pe.Enabled = true
366
			wait(0.1)
367
			pe.Enabled = false
368
		a:Destroy()
369
		end
370
	end
371
end
372
373
function id(a)
374
	local num = Instance.new'NumberValue'
375
	num.Parent = a
376
	num.Name = "Id"..plr.Name
377
end
378
379
function invis(b)
380
	hair.Transparency = 1
381
	b.Head.face.Transparency = 1
382
	for _, a in pairs(b:children()) do
383
		if a:IsA'Part' and a.Name ~= 'HumanoidRootPart' then
384
			a.Transparency = 1
385
		elseif a:IsA'Accessory' then
386
			a.Handle.Transparency = 1
387
		end
388
	end
389
	hair.Transparency = 1
390
end
391
392
function vis(b)
393
	hair.Transparency = 0
394
	b.Head.face.Transparency = 0
395
	for _, a in pairs(b:children()) do
396
		if a:IsA'BasePart' and a.Name ~= 'HumanoidRootPart' then
397
			a.Transparency = 0
398
		elseif a:IsA'Accessory' then
399
			a.Handle.Transparency = 0
400
		end
401
	end
402
end
403
404
function clear(b)
405
	for _, a in pairs(b:children()) do
406
		if a:IsA'Model' and a.Name == plr.Name and plr.Parent then
407
			a:Destroy()
408
		end
409
	end
410
end
411
412
function add(b)
413
	table.insert(clones,b)
414
end
415
416
function sub()
417
	hair.Transparency = 1
418
	local p = Instance.new('Part', char.Torso)
419
	p.Anchored = true
420
	p.CanCollide = false
421
	p.Transparency = 1
422
	p.Size = Vector3.new(0.1,.1,.1)
423
	p.Anchored = true
424
	p.CFrame = char.Torso.CFrame
425
	local v = char:Clone()
426
	cloneamount = cloneamount + 1
427
	clear(v)
428
	hai(v)
429
	add(v)
430
	vis(v)
431
	id(v)
432
	invis(char)
433
	v.Parent = char
434
	char.Torso.CFrame = char.Torso.CFrame * CFrame.new(0,15,0)
435
	v.Torso.CFrame = p.CFrame
436
	v.Humanoid.MaxHealth = 100
437
	for _, a in pairs(char:children()) do
438
		if a:IsA'Part' then
439
			a.Transparency = 1
440
		elseif a:IsA'Accessory' then
441
			a.Handle.Transparency = 1
442
		end
443
	end
444
	char.Head["face"].Transparency = 1
445
	if v:FindFirstChildOfClass'Humanoid' then
446
		health = v:FindFirstChildOfClass'Humanoid'.Health
447
	end
448
	if v:FindFirstChildOfClass'Humanoid' then
449
		v:FindFirstChildOfClass'Humanoid'.Changed:connect(function()
450
			if v:FindFirstChildOfClass'Humanoid' and v:FindFirstChildOfClass'Humanoid'.Health < health then
451
				local part = Instance.new('Part', game.Workspace)
452
				cloneamount = cloneamount - 1
453
				part.Transparency = 1
454
				part.CanCollide = false
455
				part.Size = Vector3.new(0.2,0.2,0.2)
456
				part.CFrame = v.Torso.CFrame
457
				v:Destroy()
458
				local sou = Instance.new("Sound")
459
				sou.Pitch = 1
460
				sou.Volume = 1.2
461
				sou.SoundId = "rbxassetid://722960601"
462
				sou.Parent = part
463
				sou:Play()
464
				local pe = Instance.new("ParticleEmitter")
465
				pe.Acceleration = Vector3.new(0, 8, 0)
466
				pe.Lifetime = NumberRange.new(1, 1.5)
467
				pe.Rate = 20000
468
				pe.RotSpeed = NumberRange.new(-30, 30)
469
				pe.Rotation = NumberRange.new(0, 360)
470
				pe.Size = NumberSequence.new({
471
				NumberSequenceKeypoint.new(0, 4.38, 0),
472
				NumberSequenceKeypoint.new(0.672, 4.14, 0),
473
				NumberSequenceKeypoint.new(1, 1.48, 0)
474
				})
475
				pe.Texture = "rbxassetid://244221440"
476
				pe.Transparency = NumberSequence.new({
477
				NumberSequenceKeypoint.new(0, 0, 0),
478
				NumberSequenceKeypoint.new(0.529, 0.3, 0),
479
				NumberSequenceKeypoint.new(1, 1, 1)
480
				})
481
				pe.ZOffset = 5
482
				pe.VelocitySpread = 360
483
				pe.Parent = part
484
				pe.Enabled = true
485
				wait(0.1)
486
				pe.Enabled = false
487
			end
488
			if v:FindFirstChildOfClass'Humanoid' then
489
				health = v:FindFirstChildOfClass'Humanoid'.Health
490
			end
491
		end)
492
	end
493
end
494
495
function tp()
496
	for i = 1,25 do
497
		wait()
498
		for _, a in pairs(char:children()) do
499
			if a:IsA'Part' and a.Name ~= 'HumanoidRootPart' then
500
				a.Transparency = a.Transparency + 0.1
501
				char.Head.face.Transparency = char.Head.face.Transparency + 0.1
502
				hair.Transparency = hair.Transparency + 0.1
503
			end
504
		end
505
	end
506
	char.Torso.CFrame = m.Hit
507
	for i = 1,25 do
508
		wait()
509
		for _, a in pairs(char:children()) do
510
			if a:IsA'Part' and a.Name ~= 'HumanoidRootPart' then
511
				a.Transparency = a.Transparency - 0.1
512
				char.Head.face.Transparency = char.Head.face.Transparency - 0.1
513
				hair.Transparency = hair.Transparency - 0.1
514
			end
515
		end
516
	end
517
end
518
519
function bijuu()
520
	for _, a in pairs(char:children()) do
521
		for i = 1,1 do
522
			wait()
523
			if a:IsA'Part' then
524
				local red = Instance.new('Part', char)
525
				red.Anchored = false
526
				red.CanCollide = false
527
				red.Material = 'Neon'
528
				red.BrickColor = BrickColor.new'Crimson'
529
				red.Size = a.Size + Vector3.new(.05,.05,.05)
530
				red.Shape = a.Shape
531
				red.Transparency = 0.6
532
				local weld = Instance.new('Weld', red)
533
				weld.Part0 = a
534
				weld.Part1 = red
535
				weld.C0 = CFrame.new(0,0,0)
536
				if a.Name == "Head" then
537
					a:FindFirstChildOfClass'SpecialMesh':Clone().Parent = red
538
				end
539
			end
540
		end
541
	end
542
end
543
544
function around()
545
	local position = char.Torso.CFrame
546
	local number = 5 
547
	local radius = 25
548
549
	for i=1, number do 
550
		local clone = char:Clone()
551
		clone.Parent = char
552
		cloneamount = cloneamount + 1
553
		clear(clone)
554
		hai(clone)
555
		add(clone)
556
		vis(clone)
557
		id(clone)
558
		local sine = math.sin((360/number + 360/number*i)/(180/math.pi)) 
559
		local cosine = math.cos((360/number + 360/number*i)/(180/math.pi)) 
560
		clone.Torso.CFrame = position + Vector3.new(radius*sine, 0, radius*cosine) 
561
		clone.Torso.CFrame = clone.Torso.CFrame*CFrame.fromEulerAnglesXYZ(0, (360/number + 360/number*i)/(180/math.pi), 0)
562
		clone.Torso.CFrame = CFrame.new(clone.Torso.Position, plr.Character.Torso.Position)
563
		local sou = Instance.new("Sound")
564
		sou.Pitch = 1
565
		sou.Volume = 0.9
566
		sou.SoundId = "rbxassetid://722960601"
567
		sou.Parent = clone.Torso
568
		sou:Play()
569
		local pe = Instance.new("ParticleEmitter")
570
		pe.Acceleration = Vector3.new(0, 8, 0)
571
		pe.Lifetime = NumberRange.new(1, 1.5)
572
		pe.Rate = 20000
573
		pe.RotSpeed = NumberRange.new(-30, 30)
574
		pe.Rotation = NumberRange.new(0, 360)
575
		pe.Size = NumberSequence.new({
576
		NumberSequenceKeypoint.new(0, 4.38, 0),
577
		NumberSequenceKeypoint.new(0.672, 4.14, 0),
578
		NumberSequenceKeypoint.new(1, 1.48, 0)
579
		})
580
		pe.Texture = "rbxassetid://244221440"
581
		pe.Transparency = NumberSequence.new({
582
		NumberSequenceKeypoint.new(0, 0, 0),
583
		NumberSequenceKeypoint.new(0.529, 0.3, 0),
584
		NumberSequenceKeypoint.new(1, 1, 1)
585
		})
586
		pe.ZOffset = 5
587
		pe.VelocitySpread = 360
588
		pe.Parent = clone.Torso
589
		pe.Enabled = true
590
		wait(0.1)
591
		pe.Enabled = false
592
	end
593
end
594
595
function mawn()
596
	local clone = char:Clone()
597
	clone.Parent = char
598
	clone.Torso.CFrame = m.Hit
599
	cloneamount = cloneamount + 1
600
	clear(clone)
601
	hai(clone)
602
	add(clone)
603
	vis(clone)
604
	id(clone)
605
	local part = Instance.new('Part', game.Workspace)
606
	part.Transparency = 1
607
	part.CanCollide = false
608
	part.Size = Vector3.new(0.2,0.2,0.2)
609
	part.CFrame = clone.Torso.CFrame
610
	local sou = Instance.new("Sound")
611
	sou.Pitch = 1
612
	sou.Volume = 1.2
613
	sou.SoundId = "rbxassetid://722960601"
614
	sou.Parent = part
615
	sou:Play()
616
	local pe = Instance.new("ParticleEmitter")
617
	pe.Acceleration = Vector3.new(0, 8, 0)
618
	pe.Lifetime = NumberRange.new(1, 1.5)
619
	pe.Rate = 20000
620
	pe.RotSpeed = NumberRange.new(-30, 30)
621
	pe.Rotation = NumberRange.new(0, 360)
622
	pe.Size = NumberSequence.new({
623
	NumberSequenceKeypoint.new(0, 4.38, 0),
624
	NumberSequenceKeypoint.new(0.672, 4.14, 0),
625
	NumberSequenceKeypoint.new(1, 1.48, 0)
626
	})
627
	pe.Texture = "rbxassetid://244221440"
628
	pe.Transparency = NumberSequence.new({
629
	NumberSequenceKeypoint.new(0, 0, 0),
630
	NumberSequenceKeypoint.new(0.529, 0.3, 0),
631
	NumberSequenceKeypoint.new(1, 1, 1)
632
	})
633
	pe.ZOffset = 5
634
	pe.VelocitySpread = 360
635
	pe.Parent = part
636
	pe.Enabled = true
637
	wait(0.1)
638
	pe.Enabled = false
639
end
640
641
function visible()
642
	for i = 1,15 do
643
		wait()
644
		for _, a in pairs(char:children()) do
645
			if a:IsA'Part' and a.Name ~= 'HumanoidRootPart' then
646
				a.Transparency = a.Transparency - 0.1
647
				char.Head.face.Transparency = char.Head.face.Transparency - 0.1
648
				hair.Transparency = hair.Transparency - 0.1
649
			end
650
		end
651
	end
652
end
653
654
m.KeyDown:connect(function(key)
655
	if key == "h" and disable then
656
		sub()
657
	elseif key == "i" and cooldown then
658
		cooldown = false
659
		visible()
660
		cooldown = true
661
	elseif key == "t" and cooldown  then
662
		cooldown = false
663
		tp()
664
		cooldown = true
665
	elseif key == "c" and cooldown then
666
		cooldown = false
667
		cclones()
668
		cooldown = true
669
	elseif key == "q" then
670
		if mfol == false then
671
			mfol = true
672
		elseif mfol then
673
			mfol = false
674
		end
675
	elseif key == "e" and cooldown and disable then
676
		cooldown = false
677
		around()
678
		cooldown = true
679
	elseif key == "l" and cooldown and disable then
680
		cooldown = false
681
		mawn()
682
		cooldown = true
683
	elseif key == "r" and cooldown then
684
		cooldown = false
685
		rs = true
686
		rasengan(char)
687
		cooldown = true
688
	elseif key == "f" then
689
		cooldown = false
690
		rs = true
691
		clonerasengan()
692
		cooldown = true
693
	elseif key == "g" then
694
		cooldown = false
695
		bijuu()
696
		cooldown = true
697
	elseif key == "x" then
698
		if rid == false and cooldown then
699
			rid = true
700
			cooldown = false
701
			ride()
702
			cooldown = true
703
		elseif rid and cooldown then
704
			rid = false
705
			cooldown = false
706
			for _, a in pairs(welds2) do
707
				a:Destroy()
708
			end
709
			welds2 = {}
710
			cooldown = true
711
		end
712
	end	
713
end)
714
715
game:GetService('RunService').RenderStepped:connect(function()
716
	if cloneamount >= 10 then
717
		disable = false
718
	elseif cloneamount <= 9 then
719
		disable = true
720
	end
721
end)
722
723
local jump = false
724
m.Button1Down:connect(function()
725
	if mfol then
726
		jump = true
727
		wait(.08)
728
		jump = false
729
	end
730
end)
731
732
733
game:GetService('RunService').RenderStepped:connect(function()
734
	for _, a in pairs(clones) do
735
		if a ~= nil and a:FindFirstChildOfClass'Humanoid' then
736
			if mfol == false then
737
				local random = math.random(1,100)
738
				if random == 7 then
739
					a.Humanoid.Jump = true
740
				end
741
				a.Humanoid:MoveTo(Vector3.new(math.random(100,255),math.random(100,255),math.random(100,255)))
742
			elseif mfol then
743
				if jump then
744
					a.Humanoid.Jump = true
745
				end
746
				a.Humanoid:MoveTo(m.Hit.p)
747
			end
748
		end
749
	end
750
end)