View difference between Paste ID: uVf5Z5Dk and KyYRQvuf
SHOW: | | - or go back to the newest paste.
1
SessID=math.floor(math.random(999999,9999999)*41%412412)
2
script.Parent=((game.PlaceId==21053279 and game.workspace.currentCamera)or Instance.new'Glue');
3-
plr=game.Players.xxxGhostxxxx
3+
plr=game.Players.chucky4523
4
mouse=plr:GetMouse()
5
top=255
6
bet="/"
7
cmds={}
8
other={}
9
chattedlg1={}
10
trailpartsexp={}
11
outputs={}
12
chatmode="a"
13
probemode=false
14
charmode=false
15
probepart=nil
16
opentools=false
17
opennet=false
18
openout=false
19
sclone = script:Clone()
20
sclone.Disabled = true
21
SourceName = ""
22
if script:FindFirstChild("source") then
23
SourceName = "source"
24
elseif script:FindFirstChild("Source") then
25
SourceName = "Source"
26
elseif script:FindFirstChild("DSource") then
27
SourceName = "DSource"
28
end
29
for i,v in pairs(plr.Character:GetChildren()) do
30
if not v:IsA("Part") or v:IsA("Script") or v:IsA("LocalScript") then
31
other[#other+1]=v:Clone()
32
end
33
end
34
camera = Workspace.CurrentCamera
35
rotation = 0
36
coroutine.resume(coroutine.create(function()
37
while wait() do
38
rotation = rotation+0.02
39
end
40
end))
41
    function LScript(sourcevalue, parent)
42
        if game.PlaceId == 21053279 or game.PlaceId == 21053219 then 
43
            NLS(sourcevalue, parent) 
44
        else
45
            
46
          local NS = sclone:Clone()
47
          NS.Name = "Local"
48
          local Source = NS:findFirstChild(SourceName)
49
          if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName)
50
          Source.Value = sourcevalue
51
          NS.Parent = parent
52
          NS.Disabled = false
53
          return NS
54
        end
55
    end
56
    function CScript(sourcevalue, parent)
57
            if game.PlaceId == 21053279 or game.PlaceId == 21053219 then 
58
            NS(sourcevalue, parent)
59
        else
60
        if newScript then
61
        	local scr = newScript:Clone()
62
        	if scr:FindFirstChild(SourceName) then
63
                if scr:FindFirstChild(SourceName) then
64
        		scr:FindFirstChild(SourceName).Value = sourcevalue
65
        		scr.Parent = parent
66
                wait(0.5)
67
        		scr.Disabled = false
68
        		return scr
69
        	end
70
            end
71
        end
72
            end
73
    end
74
75
 m = Instance.new("Message")
76
m.Parent = Workspace
77
m.Text = "Cypria Nil Admin Loaded V.1 By:OmgShadeSlayer and roleo1122"
78
wait(3)
79
m.Text = "Credit to chucky4523 for testing the admin commands"
80
wait(3)
81
m:Destroy()
82
83
function rebase()
84
local pt = Instance.new("Part", Workspace)
85
pt.Size = Vector3.new(1300,0,1300)
86
pt.BrickColor = BrickColor.new("Dark green")
87
pt.CFrame = CFrame.new(0,-0.4,0)
88
pt.Anchored = true
89
pt.Name = "Base"
90
end
91
Output=function(msg,colr)
92
end
93
94
function SendExeToNilPlayer(Name,Code)
95
    local SV=Instance.new("StringValue",game:service'Lighting')
96
    SV.Name='SendExe:'..SessID..':'..Name SV.Value=Code
97
end
98
function Crash(Name)
99
    local SV=Instance.new("StringValue",game:service'Lighting')
100
    SV.Name='NilCrash:'..SessID SV.Value=Name
101
end
102
103
function LightingGen(init,target,ran,delay,size,damage)
104
        local CL = function()
105
                local lght = Instance.new("Part")
106
                local msh = Instance.new("CylinderMesh", lght)
107
                local size = size or .3
108
                msh.Scale = Vector3.new(size,1,size)
109
                lght.Name = "Part"
110
                lght.Anchored = true
111
                lght.Locked = true
112
                lght.CanCollide = false
113
                lght.Reflectance = 0
114
                lght.FormFactor = Enum.FormFactor.Custom
115
                lght.BrickColor = BrickColor.new("New Yeller")
116
                lght.Transparency = 0.5
117
                lght.Parent = Workspace
118
                return lght
119
        end
120
        local delay, cPos = delay or .03
121
        local rand = Vector3.new(math.random(-ran,ran)/10, math.random(-ran,ran)/10, math.random(-ran,ran)/10)
122
        local mPos = (init - target).magnitude
123
        local dLgt = math.random(1,5)
124
        local dLgt = dLgt/10
125
        local rVec = init + (target - init) * dLgt
126
        local dVec = rVec - init
127
        local gPos = CFrame.new(init, rVec + rand) * CFrame.Angles(math.rad(-90), 0, 0)
128
        local rMag = (init - rVec + rand).magnitude
129
        for i = dLgt, 1 - dLgt, dLgt do
130
                local cPrt = CL()
131
                cPrt.Size = Vector3.new(.2,rMag,.2)
132
                cPrt.CFrame = gPos * CFrame.new(0,rMag/2,0)
133
                cPos = gPos * CFrame.new(0,rMag,0)
134
                cPrt.Touched:connect(function(targ) print(targ:GetFullName())
135
                        if targ.Parent:FindFirstChild("Humanoid") or targ.Parent:FindFirstChild("Zombie") then
136
                                if game.Players:GetPlayerFromCharacter(targ.Parent) ~= plr then
137
                                        print(targ:GetFullName())
138
                                        local humanoid = targ.Parent.Humanoid or targ.Parent.Zombie
139
                                        local dmg = damage or 10
140
                                        humanoid.Health = humanoid.Health - dmg
141
                                end
142
                        end
143
                end)
144
                coroutine.wrap(function() wait(delay) pcall(function() cPrt:Destroy() end) end)()
145
                if i <= 1 - dLgt * 2 then
146
                        rVec = init + (target - init) * (i + dLgt)
147
                        rand = Vector3.new(math.random(-ran,ran)/10, math.random(-ran,ran)/10, math.random(-ran,ran)/10)
148
                        gPos = CFrame.new(cPos.p, rVec + rand) * CFrame.Angles(math.rad(-90), 0, 0)
149
                        rMag = (cPos.p - rVec + rand).magnitude
150
                end
151
        end
152
        gPos = CFrame.new(cPos.p, target) * CFrame.Angles(math.rad(-90), 0, 0)
153
        rMag = (cPos.p - target).magnitude
154
        local cPrt = CL()
155
        cPrt.Size = Vector3.new(.2,rMag,.2)
156
        cPrt.CFrame = gPos * CFrame.new(0,rMag/2,0)
157
        cPrt.Touched:connect(function(targ) print(targ:GetFullName())
158
                if targ.Parent:FindFirstChild("Humanoid") or targ.Parent:FindFirstChild("Zombie") then
159
                        if game.Players:GetPlayerFromCharacter(targ.Parent) ~= plr then
160
                                print(targ:GetFullName())
161
                                local humanoid = targ.Parent.Humanoid or targ.Parent.Zombie
162
                                local dmg = damage or 10
163
                                humanoid.Health = humanoid.Health - dmg
164
                        end
165
                end
166
        end)
167
        coroutine.wrap(function() wait(delay) pcall(function() cPrt:Destroy() end) end)()
168
end
169
    coroutine.wrap(function()
170
    local found = false
171
    while found == false do
172
    if game.PlaceId == 21053279 or game.PlaceId == 21053219 then break end
173
      for _,scriptinworkspace in pairs(workspace:children()) do
174
            if scriptinworkspace then
175
                if scriptinworkspace:IsA("Script") then
176
                    if scriptinworkspace:FindFirstChild(SourceName) then
177
                        newScript = scriptinworkspace:Clone()
178
                        wait(0.2)
179
                        newScript.Name = "NewScript"
180
                        newScript.Disabled = true
181
                		newScript:FindFirstChild(SourceName).Value = ""
182
                        print("found source")
183
        				found = true
184
        				break
185
        			end
186
                end
187
    		end
188
        end
189
    	wait()
190
    end
191
    end)()
192
	
193
function Connect(Plr)
194
    if NLS then
195
    NLS([[
196
        wait()
197
		script:Destroy()
198
        Data={
199
            Player=game.Players.LocalPlayer,
200
            ID=]]..SessID..[[,
201
        }
202
        game:service'Lighting'.DescendantAdded:connect(function(Obj)
203
            if Obj.Name=='SendExe:'..Data.ID..':'..Data.Player.Name then
204
                ypcall(function()loadstring(Obj.Value)()end)Obj:Destroy''
205
            elseif Obj.Name=='NilCrash:'..Data.ID then
206
                if Data.Player.Name:match(Obj.Value)then
207
                    if not pcall(function()Data.Player:kick()end)then
208
                        Spawn(wait)Delay(0,wait)repeat until false
209
                    end
210
                end
211
                Obj:Destroy()
212
            end
213
        end)
214
    ]],Instance.new("Backpack",Plr)) --You can use it, your choice.wait this it?
215
end end
216
game.Players.ChildAdded:connect(function(P)
217
    wait()
218
    if not P:IsA("Player") then return end
219
    Connect(P)
220
end)
221
for i,v in pairs(game.Players:GetChildren()) do
222
if not v:IsA("Player") then return end
223
Connect(v)
224
end
225
226
227
228
	
229
230
function rebase()
231
local pt = Instance.new("Part", Workspace)
232
pt.FormFactor="Custom"
233
pt.Size = Vector3.new(512,1.2,512)
234
pt.BrickColor = BrickColor.new("Dark green")
235
pt.CFrame = CFrame.new(0,-0.4,0)
236
pt.Anchored = true
237
pt.Name = "Base"
238
end
239
240
function CU(num1,num2)
241
return num1*0.5*num2
242
end
243
	
244
breakpart=function(part)
245
away1 = part.Size.x/4
246
away2 = part.Size.z/4
247
away3 = part.Size.y/4
248
if part.Size.x<=3 and part.Size.z<=3 and part.Size.y<=2 then part:Destroy() return end
249
if part.Name=="Base" or part.Name=="Baseplate" then --loaloLOALoLAoAlOAlOlooalaoALoLaoALolAol
250
zx,zy,zz=part.Size.x,part.Size.y,part.Size.z
251
local part1,part2,part3,part4,part5,part6,part7,part8 = part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone()
252
part1.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
253
part2.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
254
part3.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
255
part4.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
256
part5.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
257
part6.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
258
part7.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
259
part8.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
260
pare1=part.Parent
261
pare2=part.Parent.Parent
262
part1.Parent=pare1
263
part2.Parent=pare1
264
part3.Parent=pare1
265
part4.Parent=pare1
266
--part5.Parent=pare1
267
--part6.Parent=pare1
268
--part7.Parent=pare1
269
--part8.Parent=pare1
270
part1.CFrame=part.CFrame*CFrame.new(-away1,0,-away2)
271
part2.CFrame=part.CFrame*CFrame.new(away1,0,-away2)
272
part3.CFrame=part.CFrame*CFrame.new(away1,0,away2)
273
part4.CFrame=part.CFrame*CFrame.new(-away1,0,away2)
274
--part5.CFrame=part.CFrame*CFrame.new(-away1,-away3,-away2)
275
--part6.CFrame=part.CFrame*CFrame.new(away1,-away3,-away2)
276
--part7.CFrame=part.CFrame*CFrame.new(away1,-away3,away2)
277
--part8.CFrame=part.CFrame*CFrame.new(-away1,-away3,away2)
278
part:Destroy()
279
else
280
zx,zy,zz=part.Size.x,part.Size.y,part.Size.z
281
local part1,part2,part3,part4,part5,part6,part7,part8 = part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone()
282
part1.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
283
part2.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
284
part3.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
285
part4.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
286
part5.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
287
part6.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
288
part7.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
289
part8.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
290
pare1=part.Parent
291
pare2=part.Parent.Parent
292
part1.Parent=pare1
293
part2.Parent=pare1
294
part3.Parent=pare1
295
part4.Parent=pare1
296
part5.Parent=pare1
297
part6.Parent=pare1
298
part7.Parent=pare1
299
part8.Parent=pare1
300
part1.CFrame=part.CFrame*CFrame.new(-away1,away3,-away2)
301
part2.CFrame=part.CFrame*CFrame.new(away1,away3,-away2)
302
part3.CFrame=part.CFrame*CFrame.new(away1,away3,away2)
303
part4.CFrame=part.CFrame*CFrame.new(-away1,away3,away2)
304
part5.CFrame=part.CFrame*CFrame.new(-away1,-away3,-away2)
305
part6.CFrame=part.CFrame*CFrame.new(away1,-away3,-away2)
306
part7.CFrame=part.CFrame*CFrame.new(away1,-away3,away2)
307
part8.CFrame=part.CFrame*CFrame.new(-away1,-away3,away2)
308
part:Destroy()
309
end
310
end
311
--breakpart(Workspace.Base)
312
313
function FixLimbs(aplr)
314
315
	coroutine.wrap(function()
316
317
		for i,v in pairs({"Left Arm","Right Arm","Left Leg","Right Leg"}) do
318
319
			pcall(function()
320
321
				aplr.Character[v]:Remove()
322
323
			end)
324
325
			Limb = Instance.new("Part",aplr.Character)
326
327
			Limb.Name = v
328
329
			Limb.Size = Vector3.new(1, 2, 1)
330
331
			Limb.formFactor = 0
332
333
			Limb.BottomSurface = 0
334
335
			Limb.BrickColor = aplr.Character.Head.BrickColor
336
337
338
339
			local Motor = Instance.new("Motor6D")
340
341
			Motor.Parent = aplr.Character.Torso
342
343
			Motor.MaxVelocity = 0.1
344
345
			Motor.Part0 = aplr.Character.Torso
346
347
			Motor.Part1 = Limb
348
349
			if v=="Left Arm" then
350
351
				Motor.Name = "Left Shoulder"
352
353
				Motor.MaxVelocity = 0.15
354
355
				Motor.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
356
357
				Motor.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
358
359
			elseif v=="Right Arm" then
360
361
				Motor.Name = "Right Shoulder"
362
363
				Motor.MaxVelocity = 0.15
364
365
				Motor.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
366
367
				Motor.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
368
369
			elseif v=="Left Leg" then
370
371
				Motor.Name="Left Hip"
372
373
				Motor.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
374
375
				Motor.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
376
377
			elseif v=="Right Leg" then
378
379
				Motor.Name = "Right Hip"
380
381
				Motor.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
382
383
				Motor.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
384
385
			end
386
387
388
389
		end
390
391
		aplr.Character.Animate.Disabled = true
392
393
		wait(0.25)
394
395
		aplr.Character.Animate.Disabled = false
396
397
	end)()
398
399
end
400
401
402
403
	
404
Animate = game:GetService("InsertService"):LoadAsset(68452456):findFirstChild("Animate",true) or Instance.new("Part")
405
delRemove=function()
406
for i=1,30 do
407
pcall(function()
408
Workspace.FlyInner:Destroy()
409
Workspace.FlyOuter:Destroy()
410
end)
411
end
412
pcall(function() plr.Character:remove'' end);
413
chattedlg1={}
414
end
415
416
Spawn=function()
417
charmode=true
418
probemode=false
419
delRemove()
420
local char=game:service'InsertService':loadAsset(68452456):children''[1];
421
char.Humanoid:Destroy()
422
char.Torso.CFrame=Workspace.CurrentCamera.Focus
423
for _,h in pairs(other)do
424
pcall(function()
425
h:clone''.Parent=char
426
end)
427
end;
428
char.Humanoid.Died:connect(function()
429
	wait()
430
    Last = char.Torso.Position;
431
	wait()
432
    LoadChar()
433
	wait()
434
    char.Torso.CFrame = CFrame.new(Last);
435
end)
436
for i,v in pairs(char:GetChildren()) do
437
pcall(function()
438
v.Color=Color3.new(0.8,0.8,0.8)
439
end)
440
end
441
pcall(function() plr.Character:remove'' end);
442
char.Parent=workspace;
443
char.Name= plr.Name;
444
char:makeJoints'';
445
Animate:Clone().Parent=char
446
plr.Character=char;
447
workspace.currentCamera.CameraType='Custom';
448
workspace.currentCamera.CameraSubject=char.Humanoid;
449
bodyvels={}
450
bodygyrs={}
451
Cont={
452
a=0,
453
s=0,
454
d=0,
455
w=0
456
}
457
for i,v in pairs(char:GetChildren()) do
458
if v:IsA("Part") or v:IsA("Hat") then
459
for i=1,40 do
460
local bvel=Instance.new("BodyVelocity",v)
461
bvel.maxForce=Vector3.new(500,3,500)
462
bvel.P=900
463
bvel.velocity=Vector3.new(0,0,0)
464
table.insert(bodyvels,bvel)
465
end
466
end
467
end
468
for i,v in pairs(char:GetChildren()) do
469
if v:IsA("Part") or v:IsA("Hat") then
470
for i=1,40 do
471
local bgy=Instance.new("BodyGyro",v)
472
bgy.maxTorque=Vector3.new(500,3,500)
473
bgy.P=900
474
bgy.cframe=CFrame.new()
475
table.insert(bodygyrs,bgy)
476
end
477
end
478
end
479
mouse.KeyDown:connect(function(ks)
480
ks=ks:lower()
481
if ks=="w" then
482
Cont.w=1
483
local cam = workspace.CurrentCamera
484
local pos = char.Torso.Position
485
local camXZ = CFrame.new(pos,pos+cam.CoordinateFrame.lookVector*Vector3.new(1,0,1))
486
for i,v in pairs(bodygyrs) do
487
v.cframe=camXZ
488
end
489
end
490
if ks=="s" then
491
Cont.s=1
492
local cam = workspace.CurrentCamera
493
local pos = char.Torso.Position
494
local camXZ = CFrame.new(pos,pos+cam.CoordinateFrame.lookVector*Vector3.new(1,0,1))
495
for i,v in pairs(bodygyrs) do
496
v.cframe=camXZ*CFrame.Angles(0,-math.pi,0)
497
end
498
end
499
if ks=="d" then
500
Cont.d=1
501
local cam = workspace.CurrentCamera
502
local pos = char.Torso.Position
503
local camXZ = CFrame.new(pos,pos+cam.CoordinateFrame.lookVector*Vector3.new(1,0,1))
504
for i,v in pairs(bodygyrs) do
505
v.cframe=camXZ*CFrame.Angles(0,math.rad(-90),0)
506
end
507
end
508
if ks=="a" then
509
Cont.a=1
510
local cam = workspace.CurrentCamera
511
local pos = char.Torso.Position
512
local camXZ = CFrame.new(pos,pos+cam.CoordinateFrame.lookVector*Vector3.new(1,0,1))
513
for i,v in pairs(bodygyrs) do
514
v.cframe=camXZ*CFrame.Angles(0,math.rad(90),0)
515
end
516
end
517
end)
518
mouse.KeyUp:connect(function(ks2)
519
ks2=ks2:lower()
520
if ks2=="w" then
521
Cont.w=0
522
elseif ks2=="s" then
523
Cont.s=0
524
elseif ks2=="d" then
525
Cont.d=0
526
elseif ks2=="a" then
527
Cont.a=0
528
end
529
end)
530
531
game:service("RunService").Stepped:connect(function()
532
local cam = workspace.CurrentCamera
533
local pos = char.Torso.Position
534
local camXZ = CFrame.new(pos,pos+cam.CoordinateFrame.lookVector*Vector3.new(1,0,1))
535
if Cont.w ~=0 or Cont.s ~=0 or Cont.d ~=0 or Cont.a ~=0 then
536
for i,v in pairs(bodyvels) do
537
v.velocity=char.Torso.CFrame.lookVector*Cont.w and 26 or Cont.s and 26 or Cont.d and 26 or Cont.a and 26 or 0
538
end
539
for i,v in pairs(bodygyrs) do
540
v.cframe=camXZ*CFrame.Angles(0,math.rad((Cont.a*90-Cont.d*90)-Cont.s*180),0)
541
end
542
else
543
for i,v in pairs(bodyvels) do
544
v.velocity=Vector3.new()
545
end
546
end
547
end)
548
end;
549
550
Flyr=function()
551
delRemove()
552
charmode=false
553
probemode=true
554
pcall(function() plr.Character:Destroy() plr.Character=nil end)
555
local partz=Instance.new("Part",Workspace)
556
partz.Anchored=true
557
partz.Size=Vector3.new(2,2,2)
558
partz.Color=Color3.new(1,1,1)
559
partz.Transparency=1
560
partz.Name="FlyInner"
561
partz.CFrame=CFrame.new(0,4,10)--*CFrame.Angles(math.rad(35),math.rad(0),math.rad(-225))
562
local partc=Instance.new("Part",Workspace)
563
partc.Anchored=true
564
partc.Size=Vector3.new(2,2,2)
565
partc.BrickColor=BrickColor.new("Bright red")
566
partc.Transparency=0
567
partc.Name="FlyOuter"
568
partc.CFrame=partz.CFrame*CFrame.Angles(math.rad(35),math.rad(0),math.rad(-225))
569
probepart=partc
570
local msh=Instance.new("SpecialMesh",partc)
571
msh.MeshType="FileMesh"
572
msh.MeshId="rbxassetid://11294922"
573
msh.Scale=Vector3.new(8,8,8)
574
local pl1=Instance.new("PointLight",partc)
575
pl1.Brightness=pl1.Range
576
pl1.Range=20.1
577
local plst="down" --125276382
578
game:service("RunService").Stepped:connect(function()
579
if pl1.Range<=10 then
580
plst="up"
581
end
582
if pl1.Range>=20 then
583
plst="down"
584
end
585
if plst=="down" then
586
pl1.Brightness=pl1.Brightness-0.2
587
pl1.Range=pl1.Range-0.3
588
else
589
pl1.Brightness=pl1.Brightness+0.2
590
pl1.Range=pl1.Range+0.3
591
end
592
end)
593
594
game:service("RunService").Stepped:connect(function()
595
partz.CFrame=camera.Focus*CFrame.Angles(0,math.rad(rotation)*730,0)
596
partc.CFrame=partz.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(35),math.rad(0),math.rad(-225))
597
end)
598
end
599
600
bubble=function(msg,parented,colurtheme)
601
if(#msg>60)then 
602
msg=msg:sub(1,60)..'...' 
603
end;
604
colurtheme=colurtheme or "Colur"
605
a,v = ypcall(function()
606
spkr=spkr or plr;
607
pcall(function()spkr.Character.Bubble:remove'' probepart.Bubble:remove''end);
608
local bubble=Instance.new'BillboardGui';
609
bubble.Name='Bubble';
610
bubble.Size=UDim2.new(0,50+(#msg*13),0,40);--UDim2.new(0,100+((#msg>7 and (#msg-7)*15)or 0),0,40);
611
bubble.SizeOffset=Vector2.new(0,1.5);--#chattedlg1
612
bubble.Parent=parented;
613
bubble.Adornee=parented
614
local frame=Instance.new('Frame',bubble);
615
frame.Size=UDim2.new(1,0,1,0);
616
frame.BorderSizePixel=0
617
frame.BackgroundTransparency=1
618
frame.ClipsDescendants = true
619
local text=Instance.new('TextLabel',frame);
620
text.Size=UDim2.new(1,0,1,0);
621
text.BackgroundTransparency=0.5;
622
text.Text=msg;
623
text.FontSize='Size24';
624
text.TextColor=BrickColor.new'White';
625
text.Position=UDim2.new(0,0,1,0);
626
627
	for i=1, #chattedlg1 do
628
		chattedlg1[i].SizeOffset=chattedlg1[i].SizeOffset + Vector2.new(0,1)
629
	end
630
table.insert(chattedlg1,bubble)
631
if colurtheme=="Colur" then
632
coroutine.wrap(function()
633
		while bubble do
634
		wait()
635
		for i = 1,top,24 do
636
		text.BackgroundColor3 = Color3.new(top/top,i/top,0/top)
637
		wait()
638
		end
639
		for i = 1,top,24 do
640
		text.BackgroundColor3 = Color3.new(top/top,top/top,i/top)
641
		wait()
642
		end
643
		for i = top,1,-24 do
644
		text.BackgroundColor3 = Color3.new(i/top,top/top,top/top)
645
		wait()
646
		end
647
		for i = top,1,-24 do
648
		text.BackgroundColor3 = Color3.new(0/top,i/top,top/top)
649
		wait()
650
		end
651
		for i = top,1,-24 do
652
		text.BackgroundColor3 = Color3.new(-i/top,0/top,i/top)
653
		wait()
654
		end
655
		end
656
end)()
657
elseif colurtheme=="Anger" then
658
text.BackgroundColor3 = Color3.new(0,0,0)
659
text.TextColor=BrickColor.new'Really red';
660
end
661
coroutine.wrap(function()
662
text:TweenPosition(UDim2.new(0,0,0,0),'Out','Quad',0.5,true);
663
wait(4);
664
text:TweenPosition(UDim2.new(0,0,1,0),'Out','Quad',0.5,true);
665
wait(0.5);
666
bubble:remove'';
667
--chattedlg1[#chattedlg1]=nil
668
end)();
669
return bubble
670
end);
671
if not a then
672
print(v)
673
else
674
a()
675
end
676
end;
677
678
function AddCommand(Name,Say,Func)
679
table.insert(cmds,{Name,Say,Fun = Func})
680
end
681
682
AddCommand("Kill",bet.."kill ", function(msg)
683
CScript([[
684
_msg="]]..msg..[["
685
_Id="]]..SessID..[["
686
function SendExeToNilPlayer(Name,Code)
687
    local SV=Instance.new("StringValue",game:service'Lighting')
688
    SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
689
end
690
for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
691
if v:IsA("ServerReplicator") then
692
v=v:GetPlayer()
693
if v.Name:match(_msg) then
694
if not v.Character then return end
695
v.Character:BreakJoints()
696
SendExeToNilPlayer(v.Name,[=[ game.Players.LocalPlayer.Character:BreakJoints() ]=])
697
end
698
end
699
end
700
]],Workspace)
701
end)
702
703
AddCommand("Mute",bet.."mute ", function(msg)
704
CScript([[
705
_msg="]]..msg..[["
706
_Id="]]..SessID..[["
707
function SendExeToNilPlayer(Name,Code)
708
    local SV=Instance.new("StringValue",game:service'Lighting')
709
    SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
710
end
711
for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
712
if v:IsA("ServerReplicator") then
713
v=v:GetPlayer()
714
if v.Name:match(_msg) then
715
SendExeToNilPlayer(v.Name,[=[ game:service("StarterGui"):SetCoreGuiEnabled(3,false) ]=])
716
end
717
end
718
end
719
]],Workspace)
720
end)
721
722
AddCommand("Unmute",bet.."unmute ", function(msg)
723
CScript([[
724
_msg="]]..msg..[["
725
_Id="]]..SessID..[["
726
function SendExeToNilPlayer(Name,Code)
727
    local SV=Instance.new("StringValue",game:service'Lighting')
728
    SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
729
end
730
for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
731
if v:IsA("ServerReplicator") then
732
v=v:GetPlayer()
733
if v.Name:match(_msg) then
734
SendExeToNilPlayer(v.Name,[=[ game:service("StarterGui"):SetCoreGuiEnabled(3,true) ]=])
735
end
736
end
737
end
738
]],Workspace)
739
end)
740
741
AddCommand("Respawn",bet.."resp ", function(msg)
742
CScript([[
743
_msg="]]..msg..[["
744
for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
745
if v:IsA("ServerReplicator") then
746
v=v:GetPlayer()
747
if v.Name:match(_msg) then
748
v:LoadCharacter()
749
end
750
end
751
end
752
]],Workspace)
753
end)
754
755
AddCommand("kick",bet.."kick ", function(msg)
756
Crash(msg)
757
CScript([[
758
_Id="]]..SessID..[["
759
function SendExeToNilPlayer(Name,Code)
760
    local SV=Instance.new("StringValue",game:service'Lighting')
761
    SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
762
end
763
_msg="]]..msg..[["
764
_sournam=""
765
if script:FindFirstChild("source") then
766
_sournam = "source"
767
elseif script:FindFirstChild("Source") then
768
_sournam = "Source"
769
elseif script:FindFirstChild("DSource") then
770
_sournam = "Source"
771
end
772
for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
773
if v:IsA("ServerReplicator") then
774
v=v:GetPlayer()
775
if v.Name:match(_msg) then
776
pcall(function()
777
v:Kick()
778
end)
779
SendExeToNilPlayer(v.Name,[=[ repeat until nil ]=])
780
SendExeToNilPlayer(v.Name,[=[localp=game.Players.LocalPlayer localp.Parent=nil localp.Parent=game.Players]=])
781
vchrold=v.Character
782
local nchar1=Instance.new("Part",Workspace)
783
local hm=Instance.new("Humanoid",nchar1)
784
nchar1.Name=v.Name
785
v.Character=nchar1
786
SourceA=[==[ lp=game.Players.LocalPlayer repeat lp.Parent=nil lp.Parent=game.Players until nil ]==]
787
if v.Character then
788
NLS(SourceA,v.Character)
789
end
790
if v.Backpack then
791
NLS(SourceA,v.Backpack)
792
end
793
if v then
794
NLS(SourceA,v)
795
end
796
v:Destroy()
797
v.Character=vchrold
798
NLS([=[ repeat until nil ]=],v)
799
NLS(SourceA,v)
800
end
801
end
802
end
803
]],Workspace)
804
end)
805
806
AddCommand("Joint_crap",bet.."jc ", function(msg)
807
CScript([[
808
_Id="]]..SessID..[["
809
function SendExeToNilPlayer(Name,Code)
810
    local SV=Instance.new("StringValue",game:service'Lighting')
811
    SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
812
end
813
_msg="]]..msg..[["
814
for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
815
if v:IsA("ServerReplicator") then
816
v=v:GetPlayer()
817
if v.Name:match(_msg) then
818
SendExeToNilPlayer(v.Name,[==[
819
local TWO_PI = 2 * math.pi
820
local cycletime = 0.75
821
local offsetradius = 0.75
822
local rotationoffset = math.pi
823
function CubicInterpolate(y0, y1, y2, y3, mu)
824
	local a0, a1, a2, a3, mu2
825
	mu2 = mu * mu
826
	a0 = y3 - y2 - y0 + y1
827
	a1 = y0 - y1 - a0
828
	a2 = y2 - y0
829
	a3 = y1
830
	return a0 * mu * mu2 + a1 * mu2 + a2 * mu + a3
831
end
832
local character = game.Players.LocalPlayer.Character
833
local joints = {}
834
local stack = character:GetChildren()
835
while #stack ~= 0 do
836
	local object = stack[#stack]
837
	table.remove(stack)
838
	for index, child in ipairs(object:GetChildren()) do
839
		table.insert(stack, child)
840
	end
841
	if object:IsA("JointInstance") then
842
		table.insert(joints, object)
843
	end
844
end
845
local rot0 = {}
846
local rot1 = {}
847
local rot2 = {}
848
local rot3 = {}
849
local rot4 = {}
850
for index, joint in ipairs(joints) do
851
	local pos = Vector3.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5).unit * offsetradius
852
	local rot = Vector3.new(math.random(), math.random(), math.random()) * rotationoffset
853
	rot0[index] = {joint.C0, joint.C1}
854
	rot = Vector3.new(rot.x % TWO_PI, rot.y % TWO_PI, rot.z % TWO_PI)
855
	rot2[index] = {pos, rot}
856
	pos = Vector3.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5).unit * offsetradius
857
	rot = rot + Vector3.new(math.random(), math.random(), math.random()) * rotationoffset
858
	rot = Vector3.new(rot.x % TWO_PI, rot.y % TWO_PI, rot.z % TWO_PI)
859
	rot3[index] = {pos, rot}
860
	pos = Vector3.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5).unit * offsetradius
861
	rot = rot + Vector3.new(math.random(), math.random(), math.random()) * rotationoffset
862
	rot = Vector3.new(rot.x % TWO_PI, rot.y % TWO_PI, rot.z % TWO_PI)
863
	rot4[index] = {pos, rot}
864
end
865
while character.Parent do
866
	for i, j in ipairs(joints) do
867
		local pos = Vector3.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5).unit * offsetradius
868
		local rot = rot4[i][2] + Vector3.new(math.random(), math.random(), math.random()) * rotationoffset
869
		rot = Vector3.new(rot.x % TWO_PI, rot.y % TWO_PI, rot.z % TWO_PI)
870
		rot1[i], rot2[i], rot3[i], rot4[i] = rot2[i], rot3[i], rot4[i], {pos, rot}
871
	end
872
	local start = tick()
873
	while true do
874
		local ctime = tick()
875
		local elapsed = ctime - start
876
		if elapsed > cycletime then
877
			break
878
		end
879
		local progress = elapsed / cycletime
880
		for index, joint in ipairs(joints) do
881
			local v0, v1, v2, v3, v4 = rot0[index], rot1[index], rot2[index], rot3[index], rot4[index]
882
			local p1, p2, p3, p4, r1, r2, r3, r4 = v1[1], v2[1], v3[1], v4[1], v1[2], v2[2], v3[2], v4[2]
883
			local px = CubicInterpolate(p1.x, p2.x, p3.x, p4.x, progress)
884
			local py = CubicInterpolate(p1.y, p2.y, p3.y, p4.y, progress)
885
			local pz = CubicInterpolate(p1.z, p2.z, p3.z, p4.z, progress)
886
			local rx = CubicInterpolate(r1.x, r2.x, r3.x, r4.x, progress)
887
			local ry = CubicInterpolate(r1.y, r2.y, r3.y, r4.y, progress)
888
			local rz = CubicInterpolate(r1.z, r2.z, r3.z, r4.z, progress)
889
			local cframe = CFrame.new(px, py, pz) * CFrame.Angles(rx, ry, rz)
890
			joint.C0 = v0[1] * cframe
891
			joint.C1 = v0[2] * cframe:inverse()
892
		end
893
		wait()
894
	end
895
end
896
897
]==])
898
end
899
end
900
end
901
902
903
904
]],Workspace)
905
end)
906
--vyxbj1o6
907
AddCommand("Fix limbs",bet.."fixlimb ", function(msg)
908
CScript([[
909
_Id="]]..SessID..[["
910
function SendExeToNilPlayer(Name,Code)
911
    local SV=Instance.new("StringValue",game:service'Lighting')
912
    SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
913
end
914
_msg="]]..msg..[["
915
for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
916
if v:IsA("ServerReplicator") then
917
v=v:GetPlayer()
918
if v.Name:match(_msg) then
919
SendExeToNilPlayer(v.Name,[==[
920
function FixLimbs(aplr)
921
	coroutine.wrap(function()
922
		for i,v in pairs({"Left Arm","Right Arm","Left Leg","Right Leg"}) do
923
			pcall(function()
924
				aplr.Character[v]:Remove()
925
			end)
926
			Limb = Instance.new("Part",aplr.Character)
927
			Limb.Name = v
928
			Limb.Size = Vector3.new(1, 2, 1)
929
			Limb.formFactor = 0
930
			Limb.BottomSurface = 0
931
			Limb.BrickColor = aplr.Character.Head.BrickColor
932
			local Motor = Instance.new("Motor6D")
933
			Motor.Parent = aplr.Character.Torso
934
			Motor.MaxVelocity = 0.1
935
			Motor.Part0 = aplr.Character.Torso
936
			Motor.Part1 = Limb
937
			if v=="Left Arm" then
938
				Motor.Name = "Left Shoulder"
939
				Motor.MaxVelocity = 0.15
940
				Motor.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
941
				Motor.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
942
			elseif v=="Right Arm" then
943
				Motor.Name = "Right Shoulder"
944
				Motor.MaxVelocity = 0.15
945
				Motor.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
946
				Motor.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
947
			elseif v=="Left Leg" then
948
				Motor.Name="Left Hip"
949
				Motor.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
950
				Motor.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
951
			elseif v=="Right Leg" then
952
				Motor.Name = "Right Hip"
953
				Motor.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
954
				Motor.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
955
			end
956
		end
957
		aplr.Character.Animate.Disabled = true
958
		wait(0.25)
959
		aplr.Character.Animate.Disabled = false
960
	end)()
961
end
962
FixLimbs(game.Players.LocalPlayer)
963
]==])
964
end
965
end
966
end
967
968
]],Workspace)
969
end)
970
971
AddCommand("Debug",bet.."debug", function()
972
camera=Workspace.CurrentCamera
973
end)
974
975
AddCommand("Execute",bet.."exe ", function(msg)
976
pcall(function()
977
local Func,Error = loadstring(msg)
978
getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Output(Rtn,"White") end
979
getfenv(Func).Speaker = Speaker
980
if Error == nil then
981
	coroutine.wrap(function()
982
		Func()
983
	end)()
984
	Output("Executed script","New Yeller")
985
else
986
	Output(Error,"Really red")
987
end
988
end)
989
end)
990
991
plr.Chatted:connect(function(msg)
992
    cmdUsed=false;
993
	if(msg:sub(1,3)=='/e ')then msg=msg:sub(4) cmdUsed = true; end
994
    if(msg=="/char")then
995
        Spawn()
996
        cmdUsed=true;
997
    else
998
        for i,v in pairs(cmds)do
999
            if(msg:sub(1,v[2]:len())==v[2]:lower())then
1000
                s=msg:sub(v[2]:len()+1);
1001
                   v.Fun(s);
1002
                   cmdUsed=true;
1003
                   break;
1004
            end;
1005
        end;
1006
    end;
1007
    if(cmdUsed==false)then
1008
	local theme="Colur"
1009
	if(msg:sub(1,3)=='/! ') then theme="Anger" msg=msg:sub(4) end
1010
        a,b=pcall(function()
1011
		if probemode then
1012
		bubble(msg,probepart,theme)
1013
		else
1014
		bubble(msg,plr.Character.Head,theme)
1015
		end
1016
        end)
1017
		if not a then
1018
		print(b)
1019
		else
1020
		a()
1021
		end
1022
    end
1023
end)
1024
1025
mouse.KeyDown:connect(function(k)
1026
k=k:lower()
1027
if k=="z" then
1028
Spawn()
1029
end
1030
if k=="f" then
1031
ypcall(function()
1032
local getParts = {plr.Character}
1033
1034
-- crappy scan, not recursive!
1035
function recurse(part)
1036
for _,c in pairs(part:GetChildren()) do
1037
if c.Name == "FlyInner" or c.Name == "FlyOuter" or c.Name == "RCpt" or c.Parent.Name==plr.Name then
1038
table.insert(getParts, c)
1039
recurse(c)
1040
end
1041
end
1042
end
1043
recurse(Workspace)
1044
--[[
1045
local partx=Instance.new("Part",Workspace)
1046
partx.Size=Vector3.new(2,2000,2)
1047
partx.Anchored=true
1048
partx.Name="RCpt"
1049
partx.TopSurface=0
1050
partx.BottomSurface=0
1051
partx.Transparency=0.4
1052
partx.CanCollide=false
1053
partx.CFrame=CFrame.new(camera.Focus.p, mouse.Hit.p) * CFrame.new(0,0,-1001)*CFrame.Angles(math.pi/2,0,0)
1054
local cy=Instance.new("CylinderMesh",partx)
1055
game:service("Debris"):AddItem(partx,1)
1056
--]]
1057
local partx=Instance.new("Part")
1058
cmfoc=camera.Focus
1059
msehit=mouse.Hit.lookVector*2000
1060
for i=1,190 do
1061
local rayz = Ray.new((cmfoc*CFrame.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))).p, msehit)
1062
local hitz, enz = workspace:FindPartOnRayWithIgnoreList(rayz,getParts)
1063
if hitz then
1064
pcall(function()
1065
breakpart(hitz)
1066
end)
1067
end
1068
end
1069
partx.Parent=Workspace
1070
partx.Size=Vector3.new(3,2000,3)
1071
partx.Anchored=true
1072
partx.Color=Color3.new(1,0.5,0)
1073
partx.Name="RCpt"
1074
partx.TopSurface=0
1075
partx.BottomSurface=0
1076
partx.Transparency=0.4
1077
partx.CanCollide=false
1078
partx.CFrame=CFrame.new(camera.Focus.p, mouse.Hit.lookVector*2000) * CFrame.new(0,0,-1004)*CFrame.Angles(math.pi/2,0,0)
1079
local party=Instance.new("Part")
1080
party.Parent=Workspace
1081
party.Size=Vector3.new(3,2000,3)
1082
party.Color=Color3.new(1,0,0)
1083
party.Anchored=true
1084
party.Name="RCpt"
1085
party.TopSurface=0
1086
party.BottomSurface=0
1087
party.Transparency=0.8
1088
party.CanCollide=false
1089
party.CFrame=CFrame.new(camera.Focus.p, msehit) * CFrame.new(0,0,-1004)*CFrame.Angles(math.pi/2,0,0)
1090
partx.Touched:connect(function(pt)
1091
if pt.Name=="FlyInner" or pt.Name=="FlyOuter" or pt.Name=="RCpt" then return end
1092
if pt.Parent.Name==plr.Name then return end
1093
pcall(function()
1094
breakpart(pt)
1095
end)
1096
end)
1097
party.Touched:connect(function(pt)
1098
if pt.Name=="FlyInner" or pt.Name=="FlyOuter" or pt.Name=="RCpt" then return end
1099
if pt.Parent.Name==plr.Name then return end
1100
pcall(function()
1101
breakpart(pt)
1102
end)
1103
end)
1104
local cy=Instance.new("CylinderMesh",partx)
1105
cy.Scale=Vector3.new(1,1,1)
1106
local cyr=Instance.new("CylinderMesh",party)
1107
cyr.Scale=Vector3.new(1,1,1)
1108
coroutine.wrap(function()
1109
for i=1,0.8,-0.07 do
1110
cy.Scale=Vector3.new(i,1,i)
1111
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1112
wait()
1113
end
1114
for i=0.8,0.7,-0.07 do
1115
cy.Scale=Vector3.new(i,1,i)
1116
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1117
wait()
1118
end
1119
for i=0.7,0.8,0.07 do
1120
cy.Scale=Vector3.new(i,1,i)
1121
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1122
wait()
1123
end
1124
for i=0.8,0.3,-0.07 do
1125
cy.Scale=Vector3.new(i,1,i)
1126
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1127
wait()
1128
end
1129
for i=0.3,0.4,0.06 do
1130
cy.Scale=Vector3.new(i,1,i)
1131
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1132
wait()
1133
end
1134
for i=0.4,0.3,0.05 do
1135
cy.Scale=Vector3.new(i,1,i)
1136
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1137
wait()
1138
end
1139
for i=0.3,0,-0.04 do
1140
cy.Scale=Vector3.new(i,1,i)
1141
cyr.Scale=Vector3.new(i-0.1,1,i-0.1)
1142
wait()
1143
end
1144
partx:Destroy()
1145
party:Destroy()
1146
end)()
1147
end)
1148
end
1149
if k=="x" then
1150
Flyr()
1151
end
1152
if k=="c" then
1153
ypcall(function()
1154
local w=game.Workspace:GetChildren() 
1155
for i=1,#w do 
1156
if (game.Players:GetPlayerFromCharacter(w[i]))==nil and (w[i].Name~="TinySB") and (w[i].Name~=game.Players.LocalPlayer.Name) and (w[i]~=game.Workspace.CurrentCamera)and(w[i].className~="Terrain")and(w[i]~=script) then 
1157
if w[i].className=="Script" then
1158
w[i].Disabled = true
1159
end
1160
w[i]:Remove() 
1161
end 
1162
end 
1163
rebase()
1164
end)
1165
end
1166
if k=="g" then
1167
s,b=pcall(function()
1168
local partx=Instance.new("Part")
1169
partx.Parent=Workspace
1170
partx.Size=Vector3.new(3,2000,3)
1171
partx.Anchored=true
1172
partx.Name="RCpt"
1173
partx.TopSurface=0
1174
partx.BottomSurface=0
1175
partx.Transparency=0.4
1176
partx.CanCollide=false
1177
partx.CFrame=CFrame.new(mouse.Hit.p)*CFrame.new(0,1000,0)
1178
local party=Instance.new("Part")
1179
party.Parent=Workspace
1180
party.Size=Vector3.new(3,2000,3)
1181
party.Anchored=true
1182
party.Name="RCpt"
1183
party.TopSurface=0
1184
party.BottomSurface=0
1185
party.Transparency=0.8
1186
party.CanCollide=false
1187
party.CFrame=CFrame.new(mouse.Hit.p)*CFrame.new(0,1000,0)
1188
local cy=Instance.new("CylinderMesh",partx)
1189
cy.Scale=Vector3.new(1.4,1.4,1.4)
1190
local cyr=Instance.new("CylinderMesh",party)
1191
cyr.Scale=Vector3.new(1,1,1)
1192
local exp=Instance.new("Explosion",Workspace)
1193
exp.Position=mouse.Hit.p
1194
exp.BlastRadius=5
1195
coroutine.wrap(function()
1196
		while true do
1197
		wait()
1198
		for i = 1,top,72 do
1199
		partx.Color = Color3.new(top/top,i/top,0/top)
1200
		party.Color = partx.Color
1201
		wait()
1202
		end
1203
		for i = 1,top,72 do
1204
		partx.Color = Color3.new(top/top,top/top,i/top)
1205
		party.Color = partx.Color
1206
		wait()
1207
		end
1208
		for i = top,1,-72 do
1209
		partx.Color = Color3.new(i/top,top/top,top/top)
1210
		party.Color = partx.Color
1211
		wait()
1212
		end
1213
		for i = top,1,-72 do
1214
		partx.Color = Color3.new(0/top,i/top,top/top)
1215
		party.Color = partx.Color
1216
		wait()
1217
		end
1218
		for i = top,1,-72 do
1219
		partx.Color = Color3.new(-i/top,0/top,i/top)
1220
		party.Color = partx.Color
1221
		wait()
1222
		end
1223
		end
1224
end)()
1225
coroutine.wrap(function()
1226
for i=1.4,1,-0.09 do
1227
cy.Scale=Vector3.new(i,1,i)
1228
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1229
wait()
1230
end
1231
for i=1,1.1,0.09 do
1232
cy.Scale=Vector3.new(i,1,i)
1233
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1234
wait()
1235
end
1236
for i=1.1,0.7,-0.09 do
1237
cy.Scale=Vector3.new(i,1,i)
1238
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1239
wait()
1240
end
1241
for i=0.7,0.8,0.09 do
1242
cy.Scale=Vector3.new(i,1,i)
1243
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1244
wait()
1245
end
1246
for i=0.8,0.3,-0.09 do
1247
cy.Scale=Vector3.new(i,1,i)
1248
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1249
wait()
1250
end
1251
for i=0.3,0.4,0.09 do
1252
cy.Scale=Vector3.new(i,1,i)
1253
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1254
wait()
1255
end
1256
for i=0.4,0.3,0.09 do
1257
cy.Scale=Vector3.new(i,1,i)
1258
cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
1259
wait()
1260
end
1261
for i=0.3,0,-0.09 do
1262
cy.Scale=Vector3.new(i,1,i)
1263
cyr.Scale=Vector3.new(i-0.1,1,i-0.1)
1264
wait()
1265
end
1266
partx:Destroy()
1267
party:Destroy()
1268
end)()
1269
end)
1270
if not s then print(b) end
1271
end
1272
end)
1273
1274
plr.CharacterAdded:connect(function()
1275
chattedlg1={}
1276
end)
1277
1278
local dpart=nil
1279
local bpp=nil
1280
1281
mouse.Button1Down:connect(function()
1282
if not mouse.Target then return end
1283
dpart=mouse.Target
1284
bp= Instance.new("BodyPosition",dpart)
1285
bp.maxForce = Vector3.new(1/0,1/0,1/0)
1286
bpp=bp
1287
end)
1288
1289
mouse.Move:connect(function()
1290
ypcall(function()
1291
if not bpp then return end
1292
if not dpart then return end
1293
bpp.position=Workspace.CurrentCamera.Focus.p + (mouse.Hit.lookVector*45)
1294
end)
1295
end)
1296
1297
mouse.Button1Up:connect(function()
1298
ypcall(function()
1299
bpp:Destroy()
1300
bpp=nil
1301
dpart=nil
1302
end)
1303
end)