View difference between Paste ID: YkBKETP9 and aAEKM7PM
SHOW: | | - or go back to the newest paste.
1
--// Script made by Cronizete
2
--// edit by BonnieKunG1s
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 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
8
9
char = game.Players.LocalPlayer.Character
10
plr = game.Players.LocalPlayer
11
char.Archivable = true
12
13
14
nvm = Instance.new('NumberValue', game.Workspace.CurrentCamera)
15
nvm.Value = 0
16
nvm2 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
17
nvm2.Value = 1 
18
nvm3 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
19
nvm3.Value = 0
20
nvm4 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
21
nvm4.Value = 0
22
23
bg1 = char:Clone()
24
bg1.Archivable = false
25
bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=648887959"
26
27
bgname1 = math.random(1, 10)
28
if bgname1 == 1 then
29
bg1.Name = "Rendear Bodyguard's 1"
30
end
31
if bgname1 == 2 then
32
bg1.Name = "Rendear Bodyguard's 2"
33
end
34
if bgname1 == 3 then
35
bg1.Name = "Rendear Bodyguard's 3"
36
end
37
if bgname1 == 4 then
38
bg1.Name = "Rendear Bodyguard's 4"
39
end
40
if bgname1 == 5 then
41
bg1.Name = "Rendear Bodyguard's 5"
42
end
43
if bgname1 == 6 then
44
bg1.Name = "Rendear Bodyguard's 6"
45
end
46
if bgname1 == 7 then
47
bg1.Name = "Rendear Bodyguard's 7"
48
end
49
if bgname1 == 8 then
50
bg1.Name = "Rendear Bodyguard's 8"
51
end
52
if bgname1 == 9 then
53
bg1.Name = "Rendear Bodyguard's 9"
54
end
55
if bgname1 == 10 then
56
bg1.Name = "Rendear Bodyguard's 10"
57
end
58
59
bgpoint1 = Instance.new('Part', char)
60
bgpoint1.Anchored = false
61
bgpoint1.CanCollide = false
62
bgpoint1.Transparency = 1
63
bgpoint1.Size = Vector3.new(0.2,0.2,0.2)
64
65
Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
66
Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
67
Weld.Part1 = bgpoint1
68
Weld.C1 = CFrame.new(10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
69
70
bg2 = char:Clone()
71
bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=648887959"
72
bg2.Archivable = false
73
bgname2 = math.random(1, 10)
74
if bgname2 == 1 then
75
bg2.Name = "Rendear Bodyguard's 1"
76
end
77
if bgname2 == 2 then
78
bg2.Name = "Rendear Bodyguard's 2"
79
end
80
if bgname2 == 3 then
81
bg2.Name = "Rendear Bodyguard's 3"
82
end
83
if bgname2 == 4 then
84
bg2.Name = "Rendear Bodyguard's 4"
85
end
86
if bgname2 == 5 then
87
bg2.Name = "Rendear Bodyguard's 5"
88
end
89
if bgname2 == 6 then
90
bg2.Name = "Rendear Bodyguard's 6"
91
end
92
if bgname2 == 7 then
93
bg2.Name = "Rendear Bodyguard's 7"
94
end
95
if bgname2 == 8 then
96
bg2.Name = "Rendear Bodyguard's 8"
97
end
98
if bgname2 == 9 then
99
bg2.Name = "Rendear Bodyguard's 9"
100
end
101
if bgname2 == 10 then
102
bg2.Name = "Rendear Bodyguard's 10"
103
end
104
105
bgpoint2 = Instance.new('Part', char)
106
bgpoint2.Anchored = false
107
bgpoint2.CanCollide = false
108
bgpoint2.Transparency = 1
109
bgpoint2.Size = Vector3.new(0.2,0.2,0.2)
110
111
Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
112
Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
113
Weld.Part1 = bgpoint2
114
Weld.C1 = CFrame.new(-10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
115
116
for _,c in pairs(bg2:GetChildren()) do
117
if c:IsA('Accessory') then
118
c:Destroy()
119
end
120
end
121
122
for _,c in pairs(bg1:GetChildren()) do
123
if c:IsA('Accessory') then
124
c:Destroy()
125
end
126
end
127
128
for _,c in pairs(bg2:GetChildren()) do
129
if c:IsA('CharacterMesh') then
130
c:Destroy()
131
end
132
end
133
134
for _,c in pairs(bg1:GetChildren()) do
135
if c:IsA('CharacterMesh') then
136
c:Destroy()
137
end
138
end
139
140
for _,c in pairs(bg2:GetChildren()) do
141
if c:IsA('Shirt') then
142
c:Destroy()
143
shirt = Instance.new("Shirt", bg2)
144
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
145
end
146
end
147
148
for _,c in pairs(bg1:GetChildren()) do
149
if c:IsA('Pants') then
150
c:Destroy()
151
pants = Instance.new("Pants", bg1)
152
pants.PantsTemplate = "http://www.roblox.com/asset/?id=784173314"
153
end
154
end
155
156
for _,c in pairs(bg2:GetChildren()) do
157
if c:IsA('Pants') then
158
c:Destroy()
159
pants = Instance.new("Pants", bg2)
160
pants.PantsTemplate = "http://www.roblox.com/asset/?id=784173314"
161
end
162
end
163
164
for _,c in pairs(bg1:GetChildren()) do
165
if c:IsA('Shirt') then
166
c:Destroy()
167
shirt = Instance.new("Shirt", bg1)
168
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
169
end
170
end
171
172
bg2.Parent = char
173
bg1.Parent = char
174
bg2.Torso.CFrame = bgpoint2.CFrame
175
bg1.Torso.CFrame = bgpoint1.CFrame
176
177
health = game.Players.LocalPlayer.Character.Humanoid.Health
178
game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function()
179
if game.Players.LocalPlayer.Character.Humanoid.Health < health then 
180
bgheal = math.random(1, 2)
181
if bgheal == 1 then
182
bgpoint1.CFrame = char.Torso.CFrame
183
Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
184
Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
185
Weld.Part1 = bgpoint1
186
Weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
187
wait(3.5)
188
char.Humanoid.Health = char.Humanoid.Health + 50
189
bgpoint1.CFrame = char.Torso.CFrame * CFrame.new(0,0.1,0)
190
Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
191
Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
192
Weld.Part1 = bgpoint1
193
Weld.C1 = CFrame.new(10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
194
end
195
if bgheal == 2 then
196
bgpoint2.CFrame = char.Torso.CFrame
197
Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
198
Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
199
Weld.Part1 = bgpoint2
200
Weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
201
wait(3.5)
202
char.Humanoid.Health = char.Humanoid.Health + 50
203
bgpoint2.CFrame = char.Torso.CFrame * CFrame.new(0,0.1,0)
204
Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
205
Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
206
Weld.Part1 = bgpoint2
207
Weld.C1 = CFrame.new(-10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
208
end
209
end
210
health = game.Players.LocalPlayer.Character.Humanoid.Health
211
end)
212
213
bgskin = math.random(1, 2)
214
if bgskin == 1 then
215
r = bg1:getChildren()
216
for i = 1, #r do
217
if r[i].className == "Part" then
218
r[i].BrickColor = BrickColor.new('Cool yellow')
219
end
220
end
221
end
222
if bgskin == 1 then
223
a = bg2:getChildren()
224
for i = 1, #a do
225
if a[i].className == "Part" then
226
a[i].BrickColor = BrickColor.new('CGA brown')
227
end
228
end
229
end
230
231
game.Players.LocalPlayer.Chatted:connect(function(say)
232
233
if say == "bois" then
234
bg1["Head"].Transparency = 1
235
bg1["Left Arm"].Transparency = 1
236
bg1["Left Leg"].Transparency = 1
237
bg1["Right Leg"].Transparency = 1
238
bg1["Right Arm"].Transparency = 1
239
bg1["Torso"].Transparency = 1
240
bg1.Head.face.Transparency = 1
241
242
bg2["Head"].Transparency = 1
243
bg2["Left Arm"].Transparency = 1
244
bg2["Left Leg"].Transparency = 1
245
bg2["Right Leg"].Transparency = 1
246
bg2["Right Arm"].Transparency = 1
247
bg2["Torso"].Transparency = 1
248
bg2.Head.face.Transparency = 1
249
250
              brick22 = Instance.new("Part")
251
              brick22.CanCollide = false
252
              brick22.Anchored = true
253
              brick22.CFrame = bg1.Torso.CFrame
254
              brick22.Transparency = 1
255
              brick22.Parent = game.Workspace
256
              brick222 = Instance.new("Part")
257
              brick222.CanCollide = false
258
              brick222.Anchored = true
259
              brick222.CFrame = bg2.Torso.CFrame
260
              brick222.Transparency = 1
261
              brick222.Parent = game.Workspace
262
              local sou2 = Instance.new("Sound")
263
              sou2.Pitch = 1
264
              sou2.Volume = 1
265
              sou2.SoundId = "rbxassetid://722960601"
266
              sou2.Parent = bg1.Torso
267
              sou2:Play()
268
              local pe2 = Instance.new("ParticleEmitter")
269
              pe2.Acceleration = Vector3.new(0, 8, 0)
270
              pe2.Lifetime = NumberRange.new(1, 1.5)
271
              pe2.Rate = 20000
272
              pe2.RotSpeed = NumberRange.new(-30, 30)
273
              pe2.Rotation = NumberRange.new(0, 360)
274
              pe2.Size = NumberSequence.new({
275
                NumberSequenceKeypoint.new(0, 4.38, 0),
276
                NumberSequenceKeypoint.new(0.672, 4.14, 0),
277
                NumberSequenceKeypoint.new(1, 1.48, 0)
278
              })
279
              pe2.Texture = "rbxassetid://244221440"
280
              pe2.Transparency = NumberSequence.new({
281
                NumberSequenceKeypoint.new(0, 0, 0),
282
                NumberSequenceKeypoint.new(0.529, 0.3, 0),
283
                NumberSequenceKeypoint.new(1, 1, 1)
284
              })
285
              pe2.ZOffset = 5
286
              pe2.VelocitySpread = 360
287
              pe2.Parent = brick22
288
              pe2.Enabled = true
289
              clpe2 = pe2:Clone()
290
              clpe2.Parent = brick222
291
              wait(0.25)
292
              pe2.Enabled = false
293
              clpe2.Enabled = false
294
              nvm4.Value = 1
295
              bg1.Humanoid.HipHeight = 10000
296
              bg2.Humanoid.HipHeight = 10000
297
              end
298
299
if say == "hois" then
300
              bg1.Humanoid.HipHeight = 0
301
              bg2.Humanoid.HipHeight = 0
302
bg1.Torso.CFrame = bgpoint1.CFrame
303
bg2.Torso.CFrame = bgpoint2.CFrame
304
305
bg1["Head"].Transparency = 0
306
bg1["Left Arm"].Transparency = 0
307
bg1["Left Leg"].Transparency = 0
308
bg1["Right Leg"].Transparency = 0
309
bg1["Right Arm"].Transparency = 0
310
bg1["Torso"].Transparency = 0
311
bg1.Head.face.Transparency = 0
312
313
bg2["Head"].Transparency = 0
314
bg2["Left Arm"].Transparency = 0
315
bg2["Left Leg"].Transparency = 0
316
bg2["Right Leg"].Transparency = 0
317
bg2["Right Arm"].Transparency = 0
318
bg2["Torso"].Transparency = 0
319
bg2.Head.face.Transparency = 0
320
321
              brick223 = Instance.new("Part")
322
              brick223.CanCollide = false
323
              brick223.Anchored = true
324
              brick223.CFrame = bg1.Torso.CFrame
325
              brick223.Transparency = 1
326
              brick223.Parent = game.Workspace
327
              brick2223 = Instance.new("Part")
328
              brick2223.CanCollide = false
329
              brick2223.Anchored = true
330
              brick2223.CFrame = bg2.Torso.CFrame
331
              brick2223.Transparency = 1
332
              brick2223.Parent = game.Workspace
333
              local sou23 = Instance.new("Sound")
334
              sou23.Pitch = 1
335
              sou23.Volume = 1
336
              sou23.SoundId = "rbxassetid://722960601"
337
              sou23.Parent = bg1.Torso
338
              sou23:Play()
339
              local pe2 = Instance.new("ParticleEmitter")
340
              pe2.Acceleration = Vector3.new(0, 8, 0)
341
              pe2.Lifetime = NumberRange.new(1, 1.5)
342
              pe2.Rate = 20000
343
              pe2.RotSpeed = NumberRange.new(-30, 30)
344
              pe2.Rotation = NumberRange.new(0, 360)
345
              pe2.Size = NumberSequence.new({
346
                NumberSequenceKeypoint.new(0, 4.38, 0),
347
                NumberSequenceKeypoint.new(0.672, 4.14, 0),
348
                NumberSequenceKeypoint.new(1, 1.48, 0)
349
              })
350
              pe2.Texture = "rbxassetid://244221440"
351
              pe2.Transparency = NumberSequence.new({
352
                NumberSequenceKeypoint.new(0, 0, 0),
353
                NumberSequenceKeypoint.new(0.529, 0.3, 0),
354
                NumberSequenceKeypoint.new(1, 1, 1)
355
              })
356
              pe2.ZOffset = 5
357
              pe2.VelocitySpread = 360
358
              pe2.Parent = brick223
359
              pe2.Enabled = true
360
              clpe2 = pe2:Clone()
361
              clpe2.Parent = brick2223
362
              wait(0.25)
363
              pe2.Enabled = false
364
              clpe2.Enabled = false
365
              nvm4.Value = 0
366
              end
367
368
if say == "Package 8" then
369
bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
370
bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
371
372
a = bg1.Head:getChildren()
373
for i = 1, #a do
374
if a[i].className == "Part" then
375
a[i]:Destroy()
376
end
377
end
378
379
b = bg2.Head:getChildren()
380
for i = 1, #b do
381
if b[i].className == "Part" then
382
b[i]:Destroy()
383
end
384
end
385
386
for _,c in pairs(bg2:GetChildren()) do
387
if c:IsA('Shirt') then
388
c:Destroy()
389
shirt = Instance.new("Shirt", bg2)
390
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=11380099"
391
end
392
end
393
394
for _,c in pairs(bg1:GetChildren()) do
395
if c:IsA('Pants') then
396
c:Destroy()
397
pants = Instance.new("Pants", bg1)
398
pants.PantsTemplate = "http://www.roblox.com/asset/?id=784173314"
399
end
400
end
401
402
for _,c in pairs(bg2:GetChildren()) do
403
if c:IsA('Pants') then
404
c:Destroy()
405
pants = Instance.new("Pants", bg2)
406
pants.PantsTemplate = "http://www.roblox.com/asset/?id=784173314"
407
end
408
end
409
410
for _,c in pairs(bg1:GetChildren()) do
411
if c:IsA('Shirt') then
412
c:Destroy()
413
shirt = Instance.new("Shirt", bg1)
414
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=11380099"
415
end
416
end
417
418
hair = Instance.new("Part", bg1.Head)
419
hairmesh = Instance.new("SpecialMesh", hair)
420
hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
421
hairmesh.TextureId = "rbxassetid://0"
422
hair.BrickColor = BrickColor.new('Pearl')
423
hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
424
hair.Transparency = 0
425
hair.CanCollide = false
426
hair.Name = "plrhair"
427
hair.Anchored = false
428
clhair = hair:Clone()
429
clhair.Parent = bg2.Head
430
Weld = Instance.new("Weld", bg1)
431
Weld.Part0 = bg1.Head
432
Weld.Part1 = hair
433
Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
434
Weld = Instance.new("Weld", bg2)
435
Weld.Part0 = bg2.Head
436
Weld.Part1 = clhair
437
Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
438
439
              brick = Instance.new("Part")
440
              brick.CanCollide = false
441
              brick.Anchored = true
442
              brick.CFrame = bg1.Torso.CFrame
443
              brick.Transparency = 1
444
              brick.Parent = game.Workspace
445
              brick2 = Instance.new("Part")
446
              brick2.CanCollide = false
447
              brick2.Anchored = true
448
              brick2.CFrame = bg2.Torso.CFrame
449
              brick2.Transparency = 1
450
              brick2.Parent = game.Workspace
451
              local sou = Instance.new("Sound")
452
              sou.Pitch = 1
453
              sou.Volume = 1
454
              sou.SoundId = "rbxassetid://722960601"
455
              sou.Parent = bg1.Torso
456
              sou:Play()
457
              local pe = Instance.new("ParticleEmitter")
458
              pe.Acceleration = Vector3.new(0, 8, 0)
459
              pe.Lifetime = NumberRange.new(1, 1.5)
460
              pe.Rate = 20000
461
              pe.RotSpeed = NumberRange.new(-30, 30)
462
              pe.Rotation = NumberRange.new(0, 360)
463
              pe.Size = NumberSequence.new({
464
                NumberSequenceKeypoint.new(0, 4.38, 0),
465
                NumberSequenceKeypoint.new(0.672, 4.14, 0),
466
                NumberSequenceKeypoint.new(1, 1.48, 0)
467
              })
468
              pe.Texture = "rbxassetid://244221440"
469
              pe.Transparency = NumberSequence.new({
470
                NumberSequenceKeypoint.new(0, 0, 0),
471
                NumberSequenceKeypoint.new(0.529, 0.3, 0),
472
                NumberSequenceKeypoint.new(1, 1, 1)
473
              })
474
              pe.ZOffset = 5
475
              pe.VelocitySpread = 360
476
              pe.Parent = brick
477
              pe.Enabled = true
478
              clpe = pe:Clone()
479
              clpe.Parent = brick2
480
              wait(0.25)
481
              pe.Enabled = false
482
              clpe.Enabled = false
483
              while wait() do
484
              if not sou.IsPlaying then
485
              sou:Destroy()
486
end
487
end
488
end
489
490
491
if say == "Package 4" then
492
493
bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
494
bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
495
496
a = bg1.Head:getChildren()
497
for i = 1, #a do
498
if a[i].className == "Part" then
499
a[i]:Destroy()
500
end
501
end
502
503
b = bg2.Head:getChildren()
504
for i = 1, #b do
505
if b[i].className == "Part" then
506
b[i]:Destroy()
507
end
508
end
509
510
for _,c in pairs(bg2:GetChildren()) do
511
if c:IsA('Shirt') then
512
c:Destroy()
513
shirt = Instance.new("Shirt", bg2)
514
shirt.ShirtTemplate = "rbxassetid://519774803"
515
end
516
end
517
518
for _,c in pairs(bg1:GetChildren()) do
519
if c:IsA('Pants') then
520
c:Destroy()
521
pants = Instance.new("Pants", bg1)
522
pants.PantsTemplate = "rbxassetid://519782833"
523
end
524
end
525
526
for _,c in pairs(bg2:GetChildren()) do
527
if c:IsA('Pants') then
528
c:Destroy()
529
pants = Instance.new("Pants", bg2)
530
pants.PantsTemplate = "rbxassetid://519782833"
531
end
532
end
533
534
for _,c in pairs(bg1:GetChildren()) do
535
if c:IsA('Shirt') then
536
c:Destroy()
537
shirt = Instance.new("Shirt", bg1)
538
shirt.ShirtTemplate = "rbxassetid://519774803"
539
end
540
end
541
542
hair = Instance.new("Part", bg1.Head)
543
hairmesh = Instance.new("SpecialMesh", hair)
544
hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
545
hairmesh.TextureId = "http://www.roblox.com/asset/?id=1309894"
546
hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
547
hair.Transparency = 0
548
hair.CanCollide = false
549
hair.Name = "plrhair"
550
hair.Anchored = false
551
clhair = hair:Clone()
552
clhair.Parent = bg2.Head
553
Weld = Instance.new("Weld", bg1)
554
Weld.Part0 = bg1.Head
555
Weld.Part1 = hair
556
Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
557
Weld = Instance.new("Weld", bg2)
558
Weld.Part0 = bg2.Head
559
Weld.Part1 = clhair
560
Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
561
562
              brick = Instance.new("Part")
563
              brick.CanCollide = false
564
              brick.Anchored = true
565
              brick.CFrame = bg1.Torso.CFrame
566
              brick.Transparency = 1
567
              brick.Parent = game.Workspace
568
              brick2 = Instance.new("Part")
569
              brick2.CanCollide = false
570
              brick2.Anchored = true
571
              brick2.CFrame = bg2.Torso.CFrame
572
              brick2.Transparency = 1
573
              brick2.Parent = game.Workspace
574
              local sou = Instance.new("Sound")
575
              sou.Pitch = 1
576
              sou.Volume = 1
577
              sou.SoundId = "rbxassetid://722960601"
578
              sou.Parent = bg1.Torso
579
              sou:Play()
580
              local pe = Instance.new("ParticleEmitter")
581
              pe.Acceleration = Vector3.new(0, 8, 0)
582
              pe.Lifetime = NumberRange.new(1, 1.5)
583
              pe.Rate = 20000
584
              pe.RotSpeed = NumberRange.new(-30, 30)
585
              pe.Rotation = NumberRange.new(0, 360)
586
              pe.Size = NumberSequence.new({
587
                NumberSequenceKeypoint.new(0, 4.38, 0),
588
                NumberSequenceKeypoint.new(0.672, 4.14, 0),
589
                NumberSequenceKeypoint.new(1, 1.48, 0)
590
              })
591
              pe.Texture = "rbxassetid://244221440"
592
              pe.Transparency = NumberSequence.new({
593
                NumberSequenceKeypoint.new(0, 0, 0),
594
                NumberSequenceKeypoint.new(0.529, 0.3, 0),
595
                NumberSequenceKeypoint.new(1, 1, 1)
596
              })
597
              pe.ZOffset = 5
598
              pe.VelocitySpread = 360
599
              pe.Parent = brick
600
              pe.Enabled = true
601
              clpe = pe:Clone()
602
              clpe.Parent = brick2
603
              wait(0.25)
604
              pe.Enabled = false
605
              clpe.Enabled = false
606
              while wait() do
607
              if not sou.IsPlaying then
608
              sou:Destroy()
609
end
610
end
611
end
612
613
if say == "Package 3" then
614
bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
615
bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
616
617
618
a = bg1.Head:getChildren()
619
for i = 1, #a do
620
if a[i].className == "Part" then
621
a[i]:Destroy()
622
end
623
end
624
625
b = bg2.Head:getChildren()
626
for i = 1, #b do
627
if b[i].className == "Part" then
628
b[i]:Destroy()
629
end
630
end
631
632
for _,c in pairs(bg2:GetChildren()) do
633
if c:IsA('Shirt') then
634
c:Destroy()
635
shirt = Instance.new("Shirt", bg2)
636
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=108783381"
637
end
638
end
639
640
for _,c in pairs(bg1:GetChildren()) do
641
if c:IsA('Pants') then
642
c:Destroy()
643
pants = Instance.new("Pants", bg1)
644
pants.PantsTemplate = "http://www.roblox.com/asset/?id=412444864"
645
end
646
end
647
648
for _,c in pairs(bg2:GetChildren()) do
649
if c:IsA('Pants') then
650
c:Destroy()
651
pants = Instance.new("Pants", bg2)
652
pants.PantsTemplate = "http://www.roblox.com/asset/?id=412444864"
653
end
654
end
655
656
for _,c in pairs(bg1:GetChildren()) do
657
if c:IsA('Shirt') then
658
c:Destroy()
659
shirt = Instance.new("Shirt", bg1)
660
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=108783381"
661
662
hair = Instance.new("Part", bg1.Head)
663
hairmesh = Instance.new("SpecialMesh", hair)
664
hairmesh.MeshId = "http://www.roblox.com/asset/?id=1028788"
665
hairmesh.TextureId = "http://www.roblox.com/asset/?id=1028787"
666
hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
667
hair.Transparency = 0
668
hair.CanCollide = false
669
hair.Name = "plrhair"
670
hair.Anchored = false
671
clhair = hair:Clone()
672
clhair.Parent = bg2.Head
673
Weld = Instance.new("Weld", bg1)
674
Weld.Part0 = bg1.Head
675
Weld.Part1 = hair
676
Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
677
Weld = Instance.new("Weld", bg2)
678
Weld.Part0 = bg2.Head
679
Weld.Part1 = clhair
680
Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
681
682
683
hair3 = Instance.new("Part", bg1.Head)
684
hairmesh3 = Instance.new("SpecialMesh", hair3)
685
hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
686
hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
687
hairmesh3.Scale = Vector3.new(1, 1, 1)
688
hair3.Transparency = 0
689
hair3.CanCollide = false
690
hair3.Name = "plrhair"
691
hair3.Anchored = false
692
clhair3 = hair3:Clone()
693
clhair3.Parent = bg2.Head
694
Weld = Instance.new("Weld", bg1)
695
Weld.Part0 = bg1.Head
696
Weld.Part1 = hair3
697
Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
698
Weld = Instance.new("Weld", bg2)
699
Weld.Part0 = bg2.Head
700
Weld.Part1 = clhair3
701
Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
702
703
              brick = Instance.new("Part")
704
              brick.CanCollide = false
705
              brick.Anchored = true
706
              brick.CFrame = bg1.Torso.CFrame
707
              brick.Transparency = 1
708
              brick.Parent = game.Workspace
709
              brick2 = Instance.new("Part")
710
              brick2.CanCollide = false
711
              brick2.Anchored = true
712
              brick2.CFrame = bg2.Torso.CFrame
713
              brick2.Transparency = 1
714
              brick2.Parent = game.Workspace
715
              local sou = Instance.new("Sound")
716
              sou.Pitch = 1
717
              sou.Volume = 1
718
              sou.SoundId = "rbxassetid://722960601"
719
              sou.Parent = bg1.Torso
720
              sou:Play()
721
              local pe = Instance.new("ParticleEmitter")
722
              pe.Acceleration = Vector3.new(0, 8, 0)
723
              pe.Lifetime = NumberRange.new(1, 1.5)
724
              pe.Rate = 20000
725
              pe.RotSpeed = NumberRange.new(-30, 30)
726
              pe.Rotation = NumberRange.new(0, 360)
727
              pe.Size = NumberSequence.new({
728
                NumberSequenceKeypoint.new(0, 4.38, 0),
729
                NumberSequenceKeypoint.new(0.672, 4.14, 0),
730
                NumberSequenceKeypoint.new(1, 1.48, 0)
731
              })
732
              pe.Texture = "rbxassetid://244221440"
733
              pe.Transparency = NumberSequence.new({
734
                NumberSequenceKeypoint.new(0, 0, 0),
735
                NumberSequenceKeypoint.new(0.529, 0.3, 0),
736
                NumberSequenceKeypoint.new(1, 1, 1)
737
              })
738
              pe.ZOffset = 5
739
              pe.VelocitySpread = 360
740
              pe.Parent = brick
741
              pe.Enabled = true
742
              clpe = pe:Clone()
743
              clpe.Parent = brick2
744
              wait(0.25)
745
              pe.Enabled = false
746
              clpe.Enabled = false
747
              while wait() do
748
              if not sou.IsPlaying then
749
              sou:Destroy()
750
end
751
end
752
end
753
end
754
end
755
756
if say == "Normal" then
757
bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=648887959"
758
bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=648887959"
759
760
761
a = bg1.Head:getChildren()
762
for i = 1, #a do
763
if a[i].className == "Part" then
764
a[i]:Destroy()
765
end
766
end
767
768
b = bg2.Head:getChildren()
769
for i = 1, #b do
770
if b[i].className == "Part" then
771
b[i]:Destroy()
772
end
773
end
774
775
for _,c in pairs(bg2:GetChildren()) do
776
if c:IsA('Shirt') then
777
c:Destroy()
778
shirt = Instance.new("Shirt", bg2)
779
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0"
780
end
781
end
782
783
for _,c in pairs(bg1:GetChildren()) do
784
if c:IsA('Pants') then
785
c:Destroy()
786
pants = Instance.new("Pants", bg1)
787
pants.PantsTemplate = "http://www.roblox.com/asset/?id=784173314"
788
end
789
end
790
791
for _,c in pairs(bg2:GetChildren()) do
792
if c:IsA('Pants') then
793
c:Destroy()
794
pants = Instance.new("Pants", bg2)
795
pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
796
end
797
end
798
799
for _,c in pairs(bg1:GetChildren()) do
800
if c:IsA('Shirt') then
801
c:Destroy()
802
shirt = Instance.new("Shirt", bg1)
803
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
804
end
805
end
806
807
808
              brick = Instance.new("Part")
809
              brick.CanCollide = false
810
              brick.Anchored = true
811
              brick.CFrame = bg1.Torso.CFrame
812
              brick.Transparency = 1
813
              brick.Parent = game.Workspace
814
              brick2 = Instance.new("Part")
815
              brick2.CanCollide = false
816
              brick2.Anchored = true
817
              brick2.CFrame = bg2.Torso.CFrame
818
              brick2.Transparency = 1
819
              brick2.Parent = game.Workspace
820
              local sou = Instance.new("Sound")
821
              sou.Pitch = 1
822
              sou.Volume = 1
823
              sou.SoundId = "rbxassetid://722960601"
824
              sou.Parent = bg1.Torso
825
              sou:Play()
826
              local pe = Instance.new("ParticleEmitter")
827
              pe.Acceleration = Vector3.new(0, 8, 0)
828
              pe.Lifetime = NumberRange.new(1, 1.5)
829
              pe.Rate = 20000
830
              pe.RotSpeed = NumberRange.new(-30, 30)
831
              pe.Rotation = NumberRange.new(0, 360)
832
              pe.Size = NumberSequence.new({
833
                NumberSequenceKeypoint.new(0, 4.38, 0),
834
                NumberSequenceKeypoint.new(0.672, 4.14, 0),
835
                NumberSequenceKeypoint.new(1, 1.48, 0)
836
              })
837
              pe.Texture = "rbxassetid://244221440"
838
              pe.Transparency = NumberSequence.new({
839
                NumberSequenceKeypoint.new(0, 0, 0),
840
                NumberSequenceKeypoint.new(0.529, 0.3, 0),
841
                NumberSequenceKeypoint.new(1, 1, 1)
842
              })
843
              pe.ZOffset = 5
844
              pe.VelocitySpread = 360
845
              pe.Parent = brick
846
              pe.Enabled = true
847
              clpe = pe:Clone()
848
              clpe.Parent = brick2
849
              wait(0.25)
850
              pe.Enabled = false
851
              clpe.Enabled = false
852
              while wait() do
853
              if not sou.IsPlaying then
854
              sou:Destroy()
855
end
856
end
857
end
858
859
if say == "Package 7" then
860
bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=119839939"
861
bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=119839939"
862
863
a = bg1.Head:getChildren()
864
for i = 1, #a do
865
if a[i].className == "Part" then
866
a[i]:Destroy()
867
end
868
end
869
870
b = bg2.Head:getChildren()
871
for i = 1, #b do
872
if b[i].className == "Part" then
873
b[i]:Destroy()
874
end
875
end
876
877
for _,c in pairs(bg2:GetChildren()) do
878
if c:IsA('Shirt') then
879
c:Destroy()
880
shirt = Instance.new("Shirt", bg2)
881
shirt.ShirtTemplate = "rbxassetid://575169492"
882
end
883
end
884
885
for _,c in pairs(bg1:GetChildren()) do
886
if c:IsA('Pants') then
887
c:Destroy()
888
pants = Instance.new("Pants", bg1)
889
pants.PantsTemplate = "rbxassetid://768690244"
890
end
891
end
892
893
for _,c in pairs(bg2:GetChildren()) do
894
if c:IsA('Pants') then
895
c:Destroy()
896
pants = Instance.new("Pants", bg2)
897
pants.PantsTemplate = "rbxassetid://768690244"
898
end
899
end
900
901
for _,c in pairs(bg1:GetChildren()) do
902
if c:IsA('Shirt') then
903
c:Destroy()
904
shirt = Instance.new("Shirt", bg1)
905
shirt.ShirtTemplate = "rbxassetid://575169492"
906
end
907
end
908
909
hair = Instance.new("Part", bg1.Head)
910
hairmesh = Instance.new("SpecialMesh", hair)
911
hairmesh.MeshId = "http://www.roblox.com/asset/?id=14394711"
912
hairmesh.TextureId = "http://www.roblox.com/asset/?id=14394687"
913
hairmesh.Scale = Vector3.new(1, 0.95, 0.85)
914
hair.Transparency = 0
915
hair.CanCollide = false
916
hair.Name = "plrhair"
917
hair.Anchored = false
918
clhair = hair:Clone()
919
clhair.Parent = bg2.Head
920
Weld = Instance.new("Weld", bg1)
921
Weld.Part0 = bg1.Head
922
Weld.Part1 = hair
923
Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
924
Weld = Instance.new("Weld", bg2)
925
Weld.Part0 = bg2.Head
926
Weld.Part1 = clhair
927
Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
928
929
              brick = Instance.new("Part")
930
              brick.CanCollide = false
931
              brick.Anchored = true
932
              brick.CFrame = bg1.Torso.CFrame
933
              brick.Transparency = 1
934
              brick.Parent = game.Workspace
935
              brick2 = Instance.new("Part")
936
              brick2.CanCollide = false
937
              brick2.Anchored = true
938
              brick2.CFrame = bg2.Torso.CFrame
939
              brick2.Transparency = 1
940
              brick2.Parent = game.Workspace
941
              local sou = Instance.new("Sound")
942
              sou.Pitch = 1
943
              sou.Volume = 1
944
              sou.SoundId = "rbxassetid://722960601"
945
              sou.Parent = bg1.Torso
946
              sou:Play()
947
              local pe = Instance.new("ParticleEmitter")
948
              pe.Acceleration = Vector3.new(0, 8, 0)
949
              pe.Lifetime = NumberRange.new(1, 1.5)
950
              pe.Rate = 20000
951
              pe.RotSpeed = NumberRange.new(-30, 30)
952
              pe.Rotation = NumberRange.new(0, 360)
953
              pe.Size = NumberSequence.new({
954
                NumberSequenceKeypoint.new(0, 4.38, 0),
955
                NumberSequenceKeypoint.new(0.672, 4.14, 0),
956
                NumberSequenceKeypoint.new(1, 1.48, 0)
957
              })
958
              pe.Texture = "rbxassetid://244221440"
959
              pe.Transparency = NumberSequence.new({
960
                NumberSequenceKeypoint.new(0, 0, 0),
961
                NumberSequenceKeypoint.new(0.529, 0.3, 0),
962
                NumberSequenceKeypoint.new(1, 1, 1)
963
              })
964
              pe.ZOffset = 5
965
              pe.VelocitySpread = 360
966
              pe.Parent = brick
967
              pe.Enabled = true
968
              clpe = pe:Clone()
969
              clpe.Parent = brick2
970
              wait(0.25)
971
              pe.Enabled = false
972
              clpe.Enabled = false
973
              while wait() do
974
              if not sou.IsPlaying then
975
              sou:Destroy()
976
end
977
end
978
end
979
980
if say == "Package 6" then
981
bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
982
bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
983
984
a = bg1.Head:getChildren()
985
for i = 1, #a do
986
if a[i].className == "Part" then
987
a[i]:Destroy()
988
end
989
end
990
991
b = bg2.Head:getChildren()
992
for i = 1, #b do
993
if b[i].className == "Part" then
994
b[i]:Destroy()
995
end
996
end
997
998
for _,c in pairs(bg2:GetChildren()) do
999
if c:IsA('Shirt') then
1000
c:Destroy()
1001
shirt = Instance.new("Shirt", bg2)
1002
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=4904066"
1003
end
1004
end
1005
1006
for _,c in pairs(bg1:GetChildren()) do
1007
if c:IsA('Pants') then
1008
c:Destroy()
1009
pants = Instance.new("Pants", bg1)
1010
pants.PantsTemplate = "http://www.roblox.com/asset/?id=2577832"
1011
end
1012
end
1013
1014
for _,c in pairs(bg2:GetChildren()) do
1015
if c:IsA('Pants') then
1016
c:Destroy()
1017
pants = Instance.new("Pants", bg2)
1018
pants.PantsTemplate = "http://www.roblox.com/asset/?id=2577832"
1019
end
1020
end
1021
1022
for _,c in pairs(bg1:GetChildren()) do
1023
if c:IsA('Shirt') then
1024
c:Destroy()
1025
shirt = Instance.new("Shirt", bg1)
1026
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=4904066"
1027
end
1028
end
1029
1030
1031
hair = Instance.new("Part", bg1.Head)
1032
hairmesh = Instance.new("SpecialMesh", hair)
1033
hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
1034
hairmesh.TextureId = "http://www.roblox.com/asset/?id=1309894"
1035
hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
1036
hair.Transparency = 0
1037
hair.CanCollide = false
1038
hair.Name = "plrhair"
1039
hair.Anchored = false
1040
clhair = hair:Clone()
1041
clhair.Parent = bg2.Head
1042
Weld = Instance.new("Weld", bg1)
1043
Weld.Part0 = bg1.Head
1044
Weld.Part1 = hair
1045
Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1046
Weld = Instance.new("Weld", bg2)
1047
Weld.Part0 = bg2.Head
1048
Weld.Part1 = clhair
1049
Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1050
1051
1052
hair = Instance.new("Part", bg1.Head)
1053
hairmesh = Instance.new("SpecialMesh", hair)
1054
hairmesh.MeshId = "http://www.roblox.com/asset/?id=25648271"
1055
hairmesh.TextureId = "http://www.roblox.com/asset/?id=28664001"
1056
hairmesh.Scale = Vector3.new(1.3, 1.35, 1.3)
1057
hair.Transparency = 0
1058
hair.CanCollide = false
1059
hair.Name = "plrhair"
1060
hair.Anchored = false
1061
clhair = hair:Clone()
1062
clhair.Parent = bg2.Head
1063
Weld = Instance.new("Weld", bg1)
1064
Weld.Part0 = bg1.Head
1065
Weld.Part1 = hair
1066
Weld.C1 = CFrame.new(0, -0.60, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1067
Weld = Instance.new("Weld", bg2)
1068
Weld.Part0 = bg2.Head
1069
Weld.Part1 = clhair
1070
Weld.C1 = CFrame.new(0, -0.60, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1071
1072
              brick = Instance.new("Part")
1073
              brick.CanCollide = false
1074
              brick.Anchored = true
1075
              brick.CFrame = bg1.Torso.CFrame
1076
              brick.Transparency = 1
1077
              brick.Parent = game.Workspace
1078
              brick2 = Instance.new("Part")
1079
              brick2.CanCollide = false
1080
              brick2.Anchored = true
1081
              brick2.CFrame = bg2.Torso.CFrame
1082
              brick2.Transparency = 1
1083
              brick2.Parent = game.Workspace
1084
              local sou = Instance.new("Sound")
1085
              sou.Pitch = 1
1086
              sou.Volume = 1
1087
              sou.SoundId = "rbxassetid://722960601"
1088
              sou.Parent = bg1.Torso
1089
              sou:Play()
1090
              local pe = Instance.new("ParticleEmitter")
1091
              pe.Acceleration = Vector3.new(0, 8, 0)
1092
              pe.Lifetime = NumberRange.new(1, 1.5)
1093
              pe.Rate = 20000
1094
              pe.RotSpeed = NumberRange.new(-30, 30)
1095
              pe.Rotation = NumberRange.new(0, 360)
1096
              pe.Size = NumberSequence.new({
1097
                NumberSequenceKeypoint.new(0, 4.38, 0),
1098
                NumberSequenceKeypoint.new(0.672, 4.14, 0),
1099
                NumberSequenceKeypoint.new(1, 1.48, 0)
1100
              })
1101
              pe.Texture = "rbxassetid://244221440"
1102
              pe.Transparency = NumberSequence.new({
1103
                NumberSequenceKeypoint.new(0, 0, 0),
1104
                NumberSequenceKeypoint.new(0.529, 0.3, 0),
1105
                NumberSequenceKeypoint.new(1, 1, 1)
1106
              })
1107
              pe.ZOffset = 5
1108
              pe.VelocitySpread = 360
1109
              pe.Parent = brick
1110
              pe.Enabled = true
1111
              clpe = pe:Clone()
1112
              clpe.Parent = brick2
1113
              wait(0.25)
1114
              pe.Enabled = false
1115
              clpe.Enabled = false
1116
              while wait() do
1117
              if not sou.IsPlaying then
1118
              sou:Destroy()
1119
end
1120
end
1121
end
1122
1123
if say == "Package 5" then
1124
bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
1125
bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
1126
1127
a = bg1.Head:getChildren()
1128
for i = 1, #a do
1129
if a[i].className == "Part" then
1130
a[i]:Destroy()
1131
end
1132
end
1133
1134
b = bg2.Head:getChildren()
1135
for i = 1, #b do
1136
if b[i].className == "Part" then
1137
b[i]:Destroy()
1138
end
1139
end
1140
1141
for _,c in pairs(bg2:GetChildren()) do
1142
if c:IsA('Shirt') then
1143
c:Destroy()
1144
shirt = Instance.new("Shirt", bg2)
1145
shirt.ShirtTemplate = "rbxassetid://146364138"
1146
end
1147
end
1148
1149
for _,c in pairs(bg1:GetChildren()) do
1150
if c:IsA('Pants') then
1151
c:Destroy()
1152
pants = Instance.new("Pants", bg1)
1153
pants.PantsTemplate = "rbxassetid://195399271"
1154
end
1155
end
1156
1157
for _,c in pairs(bg2:GetChildren()) do
1158
if c:IsA('Pants') then
1159
c:Destroy()
1160
pants = Instance.new("Pants", bg2)
1161
pants.PantsTemplate = "rbxassetid://195399271"
1162
end
1163
end
1164
1165
for _,c in pairs(bg1:GetChildren()) do
1166
if c:IsA('Shirt') then
1167
c:Destroy()
1168
shirt = Instance.new("Shirt", bg1)
1169
shirt.ShirtTemplate = "rbxassetid://175602621"
1170
end
1171
end
1172
1173
hair = Instance.new("Part", bg1.Head)
1174
hairmesh = Instance.new("SpecialMesh", hair)
1175
hairmesh.MeshId = "http://www.roblox.com/asset/?id=16190466"
1176
hairmesh.TextureId = "http://www.roblox.com/asset/?id=59293792"
1177
hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
1178
hair.Transparency = 0
1179
hair.CanCollide = false
1180
hair.Name = "plrhair"
1181
hair.Anchored = false
1182
clhair = hair:Clone()
1183
clhair.Parent = bg2.Head
1184
clhair.Mesh.TextureId = "http://www.roblox.com/asset/?id=114723589"
1185
clhair.Mesh.MeshId = "http://www.roblox.com/asset/?id=16101994"
1186
clhair.Mesh.Scale = Vector3.new(1.02,1.02,1.02)
1187
Weld = Instance.new("Weld", bg1)
1188
Weld.Part0 = bg1.Head
1189
Weld.Part1 = hair
1190
Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1191
Weld = Instance.new("Weld", bg2)
1192
Weld.Part0 = bg2.Head
1193
Weld.Part1 = clhair
1194
Weld.C1 = CFrame.new(0, -0.14, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1195
1196
hair3 = Instance.new("Part", bg1.Head)
1197
hairmesh3 = Instance.new("SpecialMesh", hair3)
1198
hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
1199
hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
1200
hairmesh3.Scale = Vector3.new(1, 1, 1)
1201
hair3.Transparency = 0
1202
hair3.CanCollide = false
1203
hair3.Name = "plrhair"
1204
hair3.Anchored = false
1205
clhair3 = hair3:Clone()
1206
clhair3.Parent = bg2.Head
1207
Weld = Instance.new("Weld", bg1)
1208
Weld.Part0 = bg1.Head
1209
Weld.Part1 = hair3
1210
Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1211
Weld = Instance.new("Weld", bg2)
1212
Weld.Part0 = bg2.Head
1213
Weld.Part1 = clhair3
1214
Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1215
1216
              brick = Instance.new("Part")
1217
              brick.CanCollide = false
1218
              brick.Anchored = true
1219
              brick.CFrame = bg1.Torso.CFrame
1220
              brick.Transparency = 1
1221
              brick.Parent = game.Workspace
1222
              brick2 = Instance.new("Part")
1223
              brick2.CanCollide = false
1224
              brick2.Anchored = true
1225
              brick2.CFrame = bg2.Torso.CFrame
1226
              brick2.Transparency = 1
1227
              brick2.Parent = game.Workspace
1228
              local sou = Instance.new("Sound")
1229
              sou.Pitch = 1
1230
              sou.Volume = 1
1231
              sou.SoundId = "rbxassetid://722960601"
1232
              sou.Parent = bg1.Torso
1233
              sou:Play()
1234
              local pe = Instance.new("ParticleEmitter")
1235
              pe.Acceleration = Vector3.new(0, 8, 0)
1236
              pe.Lifetime = NumberRange.new(1, 1.5)
1237
              pe.Rate = 20000
1238
              pe.RotSpeed = NumberRange.new(-30, 30)
1239
              pe.Rotation = NumberRange.new(0, 360)
1240
              pe.Size = NumberSequence.new({
1241
                NumberSequenceKeypoint.new(0, 4.38, 0),
1242
                NumberSequenceKeypoint.new(0.672, 4.14, 0),
1243
                NumberSequenceKeypoint.new(1, 1.48, 0)
1244
              })
1245
              pe.Texture = "rbxassetid://244221440"
1246
              pe.Transparency = NumberSequence.new({
1247
                NumberSequenceKeypoint.new(0, 0, 0),
1248
                NumberSequenceKeypoint.new(0.529, 0.3, 0),
1249
                NumberSequenceKeypoint.new(1, 1, 1)
1250
              })
1251
              pe.ZOffset = 5
1252
              pe.VelocitySpread = 360
1253
              pe.Parent = brick
1254
              pe.Enabled = true
1255
              clpe = pe:Clone()
1256
              clpe.Parent = brick2
1257
              wait(0.25)
1258
              pe.Enabled = false
1259
              clpe.Enabled = false
1260
              while wait() do
1261
              if not sou.IsPlaying then
1262
              sou:Destroy()
1263
end
1264
end
1265
end
1266
1267
1268
if say == "Package 2" then
1269
bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
1270
bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
1271
1272
a = bg1.Head:getChildren()
1273
for i = 1, #a do
1274
if a[i].className == "Part" then
1275
a[i]:Destroy()
1276
end
1277
end
1278
1279
b = bg2.Head:getChildren()
1280
for i = 1, #b do
1281
if b[i].className == "Part" then
1282
b[i]:Destroy()
1283
end
1284
end
1285
hair = Instance.new("Part", bg1.Head)
1286
hairmesh = Instance.new("SpecialMesh", hair)
1287
hairmesh.MeshId = "http://www.roblox.com/asset/?id=28035864"
1288
hairmesh.TextureId = "http://www.roblox.com/asset/?id=28035854"
1289
hairmesh.Scale = Vector3.new(1.03, 1.03, 0.98)
1290
hair.Transparency = 0
1291
hair.CanCollide = false
1292
hair.Name = "plrhair"
1293
hair.Anchored = false
1294
clhair = hair:Clone()
1295
clhair.Parent = bg2.Head
1296
Weld = Instance.new("Weld", bg1)
1297
Weld.Part0 = bg1.Head
1298
Weld.Part1 = hair
1299
Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1300
Weld = Instance.new("Weld", bg2)
1301
Weld.Part0 = bg2.Head
1302
Weld.Part1 = clhair
1303
Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1304
1305
hair3 = Instance.new("Part", bg1.Head)
1306
hairmesh3 = Instance.new("SpecialMesh", hair3)
1307
hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
1308
hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
1309
hairmesh3.Scale = Vector3.new(1, 1, 1)
1310
hair3.Transparency = 0
1311
hair3.CanCollide = false
1312
hair3.Name = "plrhair"
1313
hair3.Anchored = false
1314
clhair3 = hair3:Clone()
1315
clhair3.Parent = bg2.Head
1316
Weld = Instance.new("Weld", bg1)
1317
Weld.Part0 = bg1.Head
1318
Weld.Part1 = hair3
1319
Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1320
Weld = Instance.new("Weld", bg2)
1321
Weld.Part0 = bg2.Head
1322
Weld.Part1 = clhair3
1323
Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1324
1325
for _,c in pairs(bg1:GetChildren()) do
1326
if c:IsA('Pants') then
1327
c:Destroy()
1328
pants = Instance.new("Pants", bg1)
1329
pants.PantsTemplate = "http://www.roblox.com/asset/?id=747111515"
1330
end
1331
end
1332
1333
for _,c in pairs(bg1:GetChildren()) do
1334
if c:IsA('Shirt') then
1335
c:Destroy()
1336
shirt = Instance.new("Shirt", bg1)
1337
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153259531"
1338
end
1339
end
1340
1341
for _,c in pairs(bg2:GetChildren()) do
1342
if c:IsA('Pants') then
1343
c:Destroy()
1344
pants = Instance.new("Pants", bg2)
1345
pants.PantsTemplate = "http://www.roblox.com/asset/?id=747111515"
1346
end
1347
end
1348
1349
for _,c in pairs(bg2:GetChildren()) do
1350
if c:IsA('Shirt') then
1351
c:Destroy()
1352
shirt = Instance.new("Shirt", bg2)
1353
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153259531"
1354
end
1355
end
1356
1357
              brick = Instance.new("Part")
1358
              brick.CanCollide = false
1359
              brick.Anchored = true
1360
              brick.CFrame = bg1.Torso.CFrame
1361
              brick.Transparency = 1
1362
              brick.Parent = game.Workspace
1363
              brick2 = Instance.new("Part")
1364
              brick2.CanCollide = false
1365
              brick2.Anchored = true
1366
              brick2.CFrame = bg2.Torso.CFrame
1367
              brick2.Transparency = 1
1368
              brick2.Parent = game.Workspace
1369
              local sou = Instance.new("Sound")
1370
              sou.Pitch = 1
1371
              sou.Volume = 1
1372
              sou.SoundId = "rbxassetid://722960601"
1373
              sou.Parent = bg1.Torso
1374
              sou:Play()
1375
              local pe = Instance.new("ParticleEmitter")
1376
              pe.Acceleration = Vector3.new(0, 8, 0)
1377
              pe.Lifetime = NumberRange.new(1, 1.5)
1378
              pe.Rate = 20000
1379
              pe.RotSpeed = NumberRange.new(-30, 30)
1380
              pe.Rotation = NumberRange.new(0, 360)
1381
              pe.Size = NumberSequence.new({
1382
                NumberSequenceKeypoint.new(0, 4.38, 0),
1383
                NumberSequenceKeypoint.new(0.672, 4.14, 0),
1384
                NumberSequenceKeypoint.new(1, 1.48, 0)
1385
              })
1386
              pe.Texture = "rbxassetid://244221440"
1387
              pe.Transparency = NumberSequence.new({
1388
                NumberSequenceKeypoint.new(0, 0, 0),
1389
                NumberSequenceKeypoint.new(0.529, 0.3, 0),
1390
                NumberSequenceKeypoint.new(1, 1, 1)
1391
              })
1392
              pe.ZOffset = 5
1393
              pe.VelocitySpread = 360
1394
              pe.Parent = brick
1395
              pe.Enabled = true
1396
              clpe = pe:Clone()
1397
              clpe.Parent = brick2
1398
              wait(0.25)
1399
              pe.Enabled = false
1400
              clpe.Enabled = false
1401
              while wait() do
1402
              if not sou.IsPlaying then
1403
              sou:Destroy()
1404
end
1405
end
1406
end
1407
1408
if say == "Ren up" then
1409
nvm.Value = 1
1410
Mouse = plr:GetMouse()
1411
1412
Mouse.Button1Down:connect(function()
1413
if nvm.Value == 1 then
1414
randomg = math.random(1,2)
1415
if randomg == 1 then
1416
bullet = Instance.new('Part', game.Workspace)
1417
bullet.Touched:connect(function(hit)
1418
if hit.Parent:FindFirstChild("Humanoid") then
1419
hit.Parent:BreakJoints()
1420
end
1421
end)
1422
bullet.Anchored = false
1423
bullet.CanCollide = false
1424
bullet.Size = Vector3.new(0.2,0.2,0.2)
1425
bullet.BrickColor = BrickColor.new('Really black')
1426
bullet.CFrame = Mouse.Hit
1427
bullet.Name = 'Bullet'
1428
game.Debris:AddItem(bullet, 1)
1429
local shoot=Instance.new("Sound", bg1["Right Arm"])
1430
shoot.SoundId="rbxassetid://180955656"
1431
shoot:Play()
1432
bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, Mouse.Hit.p)
1433
end
1434
if randomg == 2 then
1435
bullet = Instance.new('Part', game.Workspace)
1436
bullet.Touched:connect(function(hit)
1437
if hit.Parent:FindFirstChild("Humanoid") then
1438
hit.Parent:BreakJoints()
1439
end
1440
end)
1441
bullet.Anchored = false
1442
bullet.CanCollide = false
1443
bullet.Size = Vector3.new(0.2,0.2,0.2)
1444
bullet.BrickColor = BrickColor.new('Really black')
1445
bullet.CFrame = Mouse.Hit
1446
bullet.Name = 'Bullet'
1447
game.Debris:AddItem(bullet2, 1)
1448
local shoot2 = Instance.new("Sound", bg2["Right Arm"])
1449
shoot2.SoundId="rbxassetid://180955656"
1450
shoot2:Play()
1451
bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, Mouse.Hit.p)
1452
end
1453
end
1454
end)
1455
1456
part1 = Instance.new("Part")
1457
part1.Parent = char
1458
part1.Transparency = 0
1459
part1.BrickColor = BrickColor.new('Really black')
1460
part1.TopSurface = 0 
1461
part1.BottomSurface = 0 
1462
part1.CanCollide = false
1463
part1.Anchored = false
1464
gun = Instance.new("SpecialMesh", part1)
1465
gun.MeshId = "rbxassetid://4372594"
1466
gun.Scale = Vector3.new(1, 1, 1)
1467
part1.CFrame = bg1["Right Arm"].CFrame * CFrame.new(0, 1, 1.75)
1468
Weld5 = Instance.new("Weld", bg1)
1469
Weld5.Part0 = bg1["Right Arm"]
1470
Weld5.Part1 = part1
1471
Weld5.C1 =  CFrame.Angles(math.rad(-83),math.rad(180),math.rad(180)) * CFrame.new(0, 1.50, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
1472
1473
part2 = Instance.new("Part")
1474
part2.Parent = char
1475
part2.Transparency = 0
1476
part2.BrickColor = BrickColor.new('Really black')
1477
part2.TopSurface = 0 
1478
part2.BottomSurface = 0 
1479
part2.CanCollide = false
1480
part2.Anchored = false
1481
gun2 = Instance.new("SpecialMesh", part2)
1482
gun2.MeshId = "rbxassetid://4372594"
1483
gun2.Scale = Vector3.new(1, 1, 1)
1484
part2.CFrame = bg2["Right Arm"].CFrame * CFrame.new(0, 1, 1.75)
1485
Weld10 = Instance.new("Weld", bg1)
1486
Weld10.Part0 = bg2["Right Arm"]
1487
Weld10.Part1 = part2
1488
Weld10.C1 =  CFrame.Angles(math.rad(-83),math.rad(180),math.rad(180)) * CFrame.new(0, 1.50, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
1489
1490
charbg1 = bg1
1491
arm = {charbg1["Right Arm"]}
1492
charbg1.Torso["Right Shoulder"].Archivable = true
1493
mc = charbg1.Torso["Right Shoulder"]:Clone()
1494
weld = Instance.new("Weld", arm[1])
1495
weld.Part0 = charbg1.Torso
1496
weld.Part1 = weld.Parent
1497
weld.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
1498
1499
charbg2 = bg2
1500
arm = {charbg2["Right Arm"]}
1501
charbg2.Torso["Right Shoulder"].Archivable = true
1502
mc3 = charbg2.Torso["Right Shoulder"]:Clone()
1503
weld12 = Instance.new("Weld", arm[1])
1504
weld12.Part0 = charbg2.Torso
1505
weld12.Part1 = weld12.Parent
1506
weld12.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
1507
end
1508
1509
if say == "Ren dance" then
1510
dance1 = math.random(1,7)
1511
if dance1 == 1 then
1512
local animation = Instance.new("Animation")
1513
animation.AnimationId = "rbxassetid://27789359"
1514
local animTrack = bg1.Humanoid:LoadAnimation(animation)
1515
animTrack:Play()
1516
end
1517
if dance1 == 2 then
1518
local animation = Instance.new("Animation")
1519
animation.AnimationId = "rbxassetid://30196114"
1520
local animTrack = bg1.Humanoid:LoadAnimation(animation)
1521
animTrack:Play()
1522
end
1523
if dance1 == 3 then
1524
local animation = Instance.new("Animation")
1525
animation.AnimationId = "rbxassetid://248263260"
1526
local animTrack = bg1.Humanoid:LoadAnimation(animation)
1527
animTrack:Play()
1528
end
1529
if dance1 == 4 then
1530
local animation = Instance.new("Animation")
1531
animation.AnimationId = "rbxassetid://45834924"
1532
local animTrack = bg1.Humanoid:LoadAnimation(animation)
1533
animTrack:Play()
1534
end
1535
if dance1 == 5 then
1536
local animation = Instance.new("Animation")
1537
animation.AnimationId = "rbxassetid://33796059"
1538
local animTrack = bg1.Humanoid:LoadAnimation(animation)
1539
animTrack:Play()
1540
end
1541
if dance1 == 6 then
1542
local animation = Instance.new("Animation")
1543
animation.AnimationId = "rbxassetid://28488254"
1544
local animTrack = bg1.Humanoid:LoadAnimation(animation)
1545
animTrack:Play()
1546
end
1547
if dance1 == 7 then
1548
local animation = Instance.new("Animation")
1549
animation.AnimationId = "rbxassetid://52155728"
1550
local animTrack = bg1.Humanoid:LoadAnimation(animation)
1551
animTrack:Play()
1552
end
1553
1554
dance2 = math.random(1,7)
1555
if dance2 == 1 then
1556
local animation = Instance.new("Animation")
1557
animation.AnimationId = "rbxassetid://27789359"
1558
local animTrack = bg2.Humanoid:LoadAnimation(animation)
1559
animTrack:Play()
1560
end
1561
if dance2 == 2 then
1562
local animation = Instance.new("Animation")
1563
animation.AnimationId = "rbxassetid://30196114"
1564
local animTrack = bg2.Humanoid:LoadAnimation(animation)
1565
animTrack:Play()
1566
end
1567
if dance2 == 3 then
1568
local animation = Instance.new("Animation")
1569
animation.AnimationId = "rbxassetid://248263260"
1570
local animTrack = bg2.Humanoid:LoadAnimation(animation)
1571
animTrack:Play()
1572
end
1573
if dance2 == 4 then
1574
local animation = Instance.new("Animation")
1575
animation.AnimationId = "rbxassetid://45834924"
1576
local animTrack = bg2.Humanoid:LoadAnimation(animation)
1577
animTrack:Play()
1578
end
1579
if dance2 == 5 then
1580
local animation = Instance.new("Animation")
1581
animation.AnimationId = "rbxassetid://33796059"
1582
local animTrack = bg2.Humanoid:LoadAnimation(animation)
1583
animTrack:Play()
1584
end
1585
if dance2 == 6 then
1586
local animation = Instance.new("Animation")
1587
animation.AnimationId = "rbxassetid://28488254"
1588
local animTrack = bg2.Humanoid:LoadAnimation(animation)
1589
animTrack:Play()
1590
end
1591
if dance2 == 7 then
1592
local animation = Instance.new("Animation")
1593
animation.AnimationId = "rbxassetid://52155728"
1594
local animTrack = bg2.Humanoid:LoadAnimation(animation)
1595
animTrack:Play()
1596
end
1597
end
1598
1599
if say == "ani" then
1600
local animation = Instance.new("Animation")
1601
animation.AnimationId = "rbxassetid://0"
1602
local animTrack = bg1.Humanoid:LoadAnimation(animation)
1603
animTrack:Play()
1604
1605
local animation = Instance.new("Animation")
1606
animation.AnimationId = "rbxassetid://0"
1607
local animTrack = bg2.Humanoid:LoadAnimation(animation)
1608
animTrack:Play()
1609
end
1610
1611
if say == "Ren in" then
1612
nvm.Value = 0
1613
weld:Destroy()
1614
mc.Parent = charbg1.Torso
1615
1616
Weld10:Destroy()
1617
Weld5:Destroy()
1618
part1:Destroy()
1619
part2:Destroy()
1620
1621
weld12:Destroy()
1622
mc3.Parent = charbg2.Torso
1623
end
1624
1625
if say == "Ren unride" then
1626
nvm3.Value = 0
1627
nvm2.Value = 1
1628
if bg1.Head:FindFirstChild('noobweld') then
1629
bg1.Head.noobweld:Destroy()
1630
end
1631
if char.Head:FindFirstChild('firstweld') then
1632
char.Head.firstweld:Destroy()
1633
end
1634
bg2.Humanoid.WalkSpeed = 16
1635
bg1.Humanoid.Sit = false
1636
bg2.Humanoid.Sit = false
1637
char.Humanoid.Sit = false
1638
end
1639
1640
if say == "Ren ride" then
1641
Mouse = plr:GetMouse()
1642
nvm2.Value = 0
1643
nvm3.Value = 1
1644
p = Instance.new('Weld', plr.Character.Head)
1645
p.Part0 = plr.Character:FindFirstChild("Torso") or plr.Character:FindFirstChild("UpperTorso") 
1646
p.Part1 = bg1:FindFirstChild("Torso") or bg1:FindFirstChild("UpperTorso")
1647
p.Name = 'firstweld'
1648
p.C0 = CFrame.new(0,-2.2,-.50)
1649
a = Instance.new('Weld', bg1.Head)
1650
a.Part0 = bg1:FindFirstChild("Torso") or bg1:FindFirstChild("UpperTorso") 
1651
a.Part1 = bg2:FindFirstChild("Torso") or bg2:FindFirstChild("UpperTorso")
1652
a.C0 = CFrame.new(0,-2.2,-.50)
1653
a.Name = 'noobweld'
1654
plr.Character.Humanoid.Sit = true
1655
bg1.Humanoid.Sit = true
1656
while wait() do
1657
if nvm3.Value == 1 then
1658
bg2.Humanoid:MoveTo(Mouse.Hit.p)
1659
plr.Character.Humanoid.Sit = true
1660
bg1.Humanoid.Sit = true
1661
bg1.Humanoid.Health = bg1.Humanoid.Health + 100
1662
bg2.Humanoid.Health = bg2.Humanoid.Health + 100
1663
bg2.Humanoid.WalkSpeed = 65
1664
end
1665
end
1666
1667
if say == "Ren Spy" then
1668
signal = Instance.new('Part', game.ReplicatedStorage)
1669
local ply = game.Players:GetPlayers()[math.random(game.Players.NumPlayers)]
1670
bgchoose = math.random(1, 2)
1671
if bgchoose == 1 then
1672
1673
bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20722053"
1674
1675
for _,c in pairs(bg1:GetChildren()) do
1676
if c:IsA('Pants') then
1677
c:Destroy()
1678
pants = Instance.new("Pants", bg1)
1679
pants.PantsTemplate = "http://www.roblox.com/asset/?id=144076759"
1680
end
1681
end
1682
1683
for _,c in pairs(bg1:GetChildren()) do
1684
if c:IsA('Shirt') then
1685
c:Destroy()
1686
shirt = Instance.new("Shirt", bg1)
1687
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=382538058"
1688
end
1689
end
1690
1691
  hair = Instance.new("Part", bg1.Head)
1692
  hairmesh = Instance.new("SpecialMesh", hair)
1693
  hairmesh.MeshId = "rbxassetid://494950128"
1694
  hairmesh.Scale = Vector3.new(1, 1, 1)
1695
  hair.Transparency = 0
1696
  hair.CanCollide = false
1697
  hair.Name = "plrhair"
1698
  hair.Anchored = false
1699
  hair.BrickColor = BrickColor.new("Really red")
1700
  Weld = Instance.new("Weld", bg1)
1701
  Weld.Part0 = bg1.Head
1702
  Weld.Part1 = hair
1703
  Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1704
while wait() do
1705
if game.ReplicatedStorage:FindFirstChild('Part') then
1706
bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, ply.Character.Torso.Position)
1707
end
1708
end
1709
1710
if bgchoose == 2 then
1711
1712
bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20418518"
1713
1714
for _,c in pairs(bg2:GetChildren()) do
1715
if c:IsA('Pants') then
1716
c:Destroy()
1717
pants = Instance.new("Pants", bg2)
1718
pants.PantsTemplate = "http://www.roblox.com/asset/?id=442560707"
1719
end
1720
end
1721
1722
for _,c in pairs(bg2:GetChildren()) do
1723
if c:IsA('Shirt') then
1724
c:Destroy()
1725
shirt = Instance.new("Shirt", bg2)
1726
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=442557590"
1727
end
1728
end
1729
1730
  hair1 = Instance.new("Part", bg2.Head)
1731
  hairmesh1 = Instance.new("SpecialMesh", hair1)
1732
  hairmesh1.MeshId = "rbxassetid://494950128"
1733
  hairmesh1.Scale = Vector3.new(1, 1, 1)
1734
  hair1.Transparency = 0
1735
  hair1.CanCollide = false
1736
  hair1.Name = "plrhair"
1737
  hair1.Anchored = false
1738
  hair1.BrickColor = BrickColor.new("Really black")
1739
  Weld1 = Instance.new("Weld", bg2)
1740
  Weld1.Part0 = bg2.Head
1741
  Weld1.Part1 = hair1
1742
  Weld1.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1743
signal2 = Instance.new('Part', game.ReplicatedStorage)
1744
signal2.Name = "Part2"
1745
while wait() do
1746
if game.ReplicatedStorage:FindFirstChild('Part2') then
1747
bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, ply.Character.Torso.Position)
1748
end
1749
end
1750
end
1751
end
1752
end
1753
end
1754
end)
1755
1756
game:GetService('RunService').RenderStepped:connect(function()
1757
if nvm2.Value == 1 then
1758
bg1.Humanoid.Health = bg1.Humanoid.Health + 5000
1759
bg2.Humanoid.Health = bg2.Humanoid.Health + 5000
1760
bg1.Humanoid:MoveTo(bgpoint1.Position)
1761
bg2.Humanoid:MoveTo(bgpoint2.Position)
1762
if bg1.Humanoid.PlatformStand == true then
1763
bg1.Humanoid.PlatformStand = false
1764
end
1765
if bg2.Humanoid.PlatformStand == true then
1766
bg2.Humanoid.PlatformStand = false
1767
end
1768
if bg1.Humanoid.Sit == true then
1769
bg1.Humanoid.Sit = false
1770
end
1771
if bg2.Humanoid.Sit == true then
1772
bg2.Humanoid.Sit = false
1773
end
1774
for _,v in pairs(workspace:children()) do
1775
if v:IsA('Model') and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
1776
if (v.HumanoidRootPart.Position-bg1.Torso.Position).magnitude <=2 then
1777
bg1.Humanoid.Jump=true
1778
end
1779
end
1780
end
1781
for _,v in pairs(workspace:children()) do
1782
if v:IsA('Model') and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
1783
if (v.HumanoidRootPart.Position-bg2.Torso.Position).magnitude <=2 then
1784
bg2.Humanoid.Jump=true
1785
end
1786
end
1787
end
1788
if (game.Players.LocalPlayer.Character.Torso.Position - bg2.Torso.Position).magnitude <= 20 then  
1789
bg2.Humanoid.WalkSpeed = 16
1790
else
1791
bg2.Humanoid.WalkSpeed = 55
1792
end
1793
if (game.Players.LocalPlayer.Character.Torso.Position - bg1.Torso.Position).magnitude <= 20 then  
1794
bg1.Humanoid.WalkSpeed = 16
1795
else
1796
bg1.Humanoid.WalkSpeed = 55
1797
end
1798
end
1799
end)