View difference between Paste ID: rZSMQF5C and qTxNBrVx
SHOW: | | - or go back to the newest paste.
1-
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
1+
Player = game.Players.LocalPlayer
2-
local Player,game,owner = owner,game
2+
3-
local RealPlayer = Player
3+
4-
do
4+
5-
	local rp = RealPlayer
5+
6-
	script.Parent = rp.Character
6+
7
Mouse = Player:GetMouse()
8-
	--RemoteEvent for communicating
8+
9-
	local Event = Instance.new("RemoteEvent")
9+
10-
	Event.Name = "UserInput_Event"
10+
11
RightArm = Character["Right Arm"]
12-
	--Fake event to make stuff like Mouse.KeyDown work
12+
13-
	local function fakeEvent()
13+
14-
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
14+
15-
		t.connect = t.Connect
15+
16-
		return t
16+
17
RightShoulder = Torso["Right Shoulder"]
18
LeftShoulder = Torso["Left Shoulder"]
19-
	--Creating fake input objects with fake variables
19+
20-
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
20+
21-
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
21+
22-
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
22+
23-
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
23+
24-
	end}
24+
25-
	--Merged 2 functions into one by checking amount of arguments
25+
26-
	CAS.UnbindAction = CAS.BindAction
26+
27
local Player = game.Players.LocalPlayer
28-
	--This function will trigger the events that have been :Connect()'ed
28+
29-
	local function te(self,ev,...)
29+
30-
		local t = m[ev]
30+
31-
		if t and t._fakeEvent then
31+
32-
			for _,f in pairs(t.Functions) do
32+
33-
				f(...)
33+
34
radio.Name = "Radio"
35
radio.CanCollide = false
36
radio.Anchored = true
37-
	m.TrigEvent = te
37+
38-
	UIS.TrigEvent = te
38+
39
radio.CFrame = c.Torso.CFrame * CFrame.new(-3.5,2,.2)
40-
	Event.OnServerEvent:Connect(function(plr,io)
40+
41-
	    if plr~=rp then return end
41+
42-
		m.Target = io.Target
42+
43-
		m.Hit = io.Hit
43+
44-
		if not io.isMouse then
44+
45-
			local b = io.UserInputState == Enum.UserInputState.Begin
45+
46-
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
46+
47-
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
47+
48
49-
			for _,t in pairs(CAS.Actions) do
49+
50-
				for _,k in pairs(t.Keys) do
50+
51-
					if k==io.KeyCode then
51+
52-
						t.Function(t.Name,io.UserInputState,io)
52+
53
weld.C1 = radio.CFrame:inverse()
54
radio.Anchored = false
55
56-
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
56+
57-
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
57+
58
Glow1 = Color3.new(0,0,0)
59-
	end)
59+
60-
	Event.Parent = NLS([==[
60+
61-
	local Player = game:GetService("Players").LocalPlayer
61+
62-
	local Event = script:WaitForChild("UserInput_Event")
62+
63
GlowParticle.LightEmission = 1
64-
	local Mouse = Player:GetMouse()
64+
65-
	local UIS = game:GetService("UserInputService")
65+
66-
	local input = function(io,a)
66+
67-
		if a then return end
67+
68-
		--Since InputObject is a client-side instance, we create and pass table instead
68+
69-
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
69+
70
GlowParticle.Rate= 200
71-
	UIS.InputBegan:Connect(input)
71+
72-
	UIS.InputEnded:Connect(input)
72+
73
GlowParticle.VelocitySpread = 100
74-
	local h,t
74+
75-
	--Give the server mouse data 30 times every second, but only if the values changed
75+
76-
	--If player is not moving their mouse, client won't fire events
76+
77-
	while wait(1/30) do
77+
78-
		if h~=Mouse.Hit or t~=Mouse.Target then
78+
79-
			h,t=Mouse.Hit,Mouse.Target
79+
80-
			Event:FireServer({isMouse=true,Target=t,Hit=h})
80+
81
GlowParticle2.LockedToPart = false
82-
	end]==],Player.Character)
82+
83
GlowParticle2.Rate= 200
84-
	----Sandboxed game object that allows the usage of client-side methods and services
84+
85-
	--Real game object
85+
86-
	local _rg = game
86+
87
88-
	--Metatable for fake service
88+
89-
	local fsmt = {
89+
90-
		__index = function(self,k)
90+
91-
			local s = rawget(self,"_RealService")
91+
92-
			if s then return s[k] end
92+
93-
		end,
93+
94-
		__newindex = function(self,k,v)
94+
95-
			local s = rawget(self,"_RealService")
95+
96-
			if s then s[k]=v end
96+
97-
		end,
97+
98-
		__call = function(self,...)
98+
99-
			local s = rawget(self,"_RealService")
99+
100-
			if s then return s(...) end
100+
101
wait (0)
102
fat = Instance.new("BindableEvent", script)
103-
	local function FakeService(t,RealService)
103+
104-
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
104+
105-
		return setmetatable(t,fsmt)
105+
106
local charge = false
107
108-
	--Fake game object
108+
109-
	local g = {
109+
110-
		GetService = function(self,s)
110+
111-
			return self[s]
111+
112-
		end,
112+
113-
		Players = FakeService({
113+
114-
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
114+
115-
		},"Players"),
115+
116-
		UserInputService = FakeService(UIS,"UserInputService"),
116+
117-
		ContextActionService = FakeService(CAS,"ContextActionService"),
117+
118
119-
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
119+
120-
	g.service = g.GetService
120+
121
	for i,v in pairs(char049:children()) do
122-
	g.RunService = FakeService({
122+
123-
		RenderStepped = _rg:GetService("RunService").Heartbeat,
123+
124-
		BindToRenderStep = function(self,name,_,fun)
124+
125-
			self._btrs[name] = self.Heartbeat:Connect(fun)
125+
126-
		end,
126+
127-
		UnbindFromRenderStep = function(self,name)
127+
128-
			self._btrs[name]:Disconnect()
128+
129-
		end,
129+
130-
	},"RunService")
130+
131
132-
	setmetatable(g,{
132+
133-
		__index=function(self,s)
133+
134-
			return _rg:GetService(s) or typeof(_rg[s])=="function"
134+
135-
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
135+
136-
		end,
136+
137-
		__newindex = fsmt.__newindex,
137+
138-
		__call = fsmt.__call
138+
139
pants.Name = "Pants"
140-
	--Changing owner to fake player object to support owner:GetMouse()
140+
141-
	game,owner = g,g.Players.LocalPlayer
141+
142
char049.Pants.PantsTemplate = "rbxassetid://"
143
144-
Player = owner
144+
145
146
local BC = char["Body Colors"]
147
	BC.HeadColor = BrickColor.new("Fossil")
148
	BC.LeftArmColor = BrickColor.new("Fossil")
149
	BC.LeftLegColor = BrickColor.new("Fossil")
150
	BC.RightArmColor = BrickColor.new("Fossil")
151
	BC.RightLegColor = BrickColor.new("Fossil")
152
	BC.TorsoColor = BrickColor.new("Plum")
153
154
155
Player=game:GetService("Players").LocalPlayer
156
Character=Player.Character 
157
158
-------------------------------------------------------
159
local Orbd = Instance.new("Part", Character)
160
Orbd.Name = "Orbd"
161
Orbd.Shape = Enum.PartType.Ball
162
Orbd.CanCollide = false
163
Orbd.BrickColor = BrickColor.new("Really black")
164
Orbd.Transparency = 1
165
Orbd.Material = "Neon"
166
Orbd.Size = Vector3.new(0.2, 0.2, 0.2)
167
Orbd.TopSurface = Enum.SurfaceType.Smooth
168
Orbd.BottomSurface = Enum.SurfaceType.Smooth
169
170
local Weld = Instance.new("Weld", Orbd)
171
Weld.Part0 = Character.Head
172
Weld.Part1 = Orbd
173
Weld.C1 = CFrame.new(-0.01, 0.2, 0.51)
174
175
---------------------------------------------------------
176
local Mask = Instance.new("Part", Character)
177
Mask.Name = "Mask"
178
Mask.CanCollide = false
179
Mask.BrickColor = BrickColor.new("Sunrise")
180
Mask.Transparency = 1
181
Mask.Material = "Neon"
182
Mask.Size = Vector3.new(0.1, 0.1, 0.1)
183
Mask.TopSurface = Enum.SurfaceType.Smooth
184
Mask.BottomSurface = Enum.SurfaceType.Smooth
185
186
local Weld = Instance.new("Weld", Mask)
187
Weld.Part0 = Character.Head
188
Weld.Part1 = Mask
189
Weld.C1 = CFrame.new(0, 0.03, 0.5)
190
191
local M1 = Instance.new("SpecialMesh")
192
M1.Parent = Mask
193
M1.MeshId = "http://www.roblox.com/asset/?id=430736398"
194
M1.Scale = Vector3.new( .3, .03, .099)
195
----------------------------------------------------------
196
local Hood = Instance.new("Part", Character)
197
Hood.Name = "Hair"
198
Hood.CanCollide = false
199
Hood.BrickColor = BrickColor.new("Dark indigo")
200
Hood.Transparency = 1
201
Hood.Material = "Neon"
202
Hood.Size = Vector3.new(0.1, 0.1, 0.1)
203
Hood.TopSurface = Enum.SurfaceType.Smooth
204
Hood.BottomSurface = Enum.SurfaceType.Smooth
205
206
local Weld = Instance.new("Weld", Hood)
207
Weld.Part0 = Character.Head
208
Weld.Part1 = Hood
209
Weld.C1 = CFrame.new(0, -0.5, 0)
210
211
local M2 = Instance.new("SpecialMesh")
212
M2.Parent = Hood
213
M2.MeshId = "http://www.roblox.com/asset/?id=362013001"
214
M2.Scale = Vector3.new( 1, 1.06, 1.1)
215
216
------------------------------------------------------
217
local skin = Instance.new("Part", Character)
218
skin.Name = "skin"
219
skin.CanCollide = false
220
skin.BrickColor = BrickColor.new("Fossil")
221
skin.Transparency = 1
222
skin.Material = "SmoothPlastic"
223
skin.Size = Vector3.new(0.1, 0.1, 0.1)
224
skin.TopSurface = Enum.SurfaceType.Smooth
225
skin.BottomSurface = Enum.SurfaceType.Smooth
226
227
local Weld = Instance.new("Weld", skin)
228
Weld.Part0 = Character.Torso
229
Weld.Part1 = skin
230
Weld.C1 = CFrame.new(0, -0.83, 0.5)
231
232
local M3 = Instance.new("SpecialMesh")
233
M3.Parent = skin
234
M3.MeshId = "http://www.roblox.com/asset/?id=518429841"
235
M3.Scale = Vector3.new(0.0054, 0.0014, 0.0001)
236
237
------------------------------------------------------
238
local hair2 = Instance.new("Part", Character)
239
hair2.Name = "Hair2"
240
hair2.CanCollide = false
241
hair2.BrickColor = BrickColor.new("Dark indigo")
242
hair2.Transparency = 1
243
hair2.Material = "Neon"
244
hair2.Size = Vector3.new(0.1, 0.1, 0.1)
245
hair2.TopSurface = Enum.SurfaceType.Smooth
246
hair2.BottomSurface = Enum.SurfaceType.Smooth
247
248
local Weld = Instance.new("Weld", hair2)
249
Weld.Part0 = Character.Head
250
Weld.Part1 = hair2
251
Weld.C1 = CFrame.new(0, 0.65, -0.05)
252
253
local M2 = Instance.new("SpecialMesh")
254
M2.Parent = hair2
255
M2.MeshId = "http://www.roblox.com/asset/?id=164382853"
256
M2.Scale = Vector3.new( 1.1, 1.1, 1)
257
258
------------------------------------------------------
259
local hat2 = Instance.new("Part", Character)
260
hat2.Name = "hat2"
261
hat2.CanCollide = false
262
hat2.BrickColor = BrickColor.new("Plum")
263
hat2.Transparency = 1
264
hat2.Material = "SmoothPlastic"
265
hat2.Size = Vector3.new(0.1, 0.1, 0.1)
266
hat2.TopSurface = Enum.SurfaceType.Smooth
267
hat2.BottomSurface = Enum.SurfaceType.Smooth
268
269
local Weld = Instance.new("Weld", hat2)
270
Weld.Part0 = Character.Head
271
Weld.Part1 = hat2
272
Weld.C1 = CFrame.new(0, -1, 0)
273
274
local M4 = Instance.new("SpecialMesh")
275
M4.Parent = hat2
276
M4.MeshId = "http://www.roblox.com/asset/?id=110852069"
277
M4.Scale = Vector3.new( 0.8, 1, 1)
278
279
280
------------------------------------------------------
281
local hat3 = Instance.new("Part", Character)
282
hat3.Name = "SmoothPlastic"
283
hat3.CanCollide = false
284
hat3.BrickColor = BrickColor.new("Plum")
285
hat3.Transparency = 1
286
hat3.Material = "Neon"
287
hat3.Size = Vector3.new(0.1, 0.1, 0.1)
288
hat3.TopSurface = Enum.SurfaceType.Smooth
289
hat3.BottomSurface = Enum.SurfaceType.Smooth
290
291
local Weld = Instance.new("Weld", hat3)
292
Weld.Part0 = Character.Head
293
Weld.Part1 = hat3
294
Weld.C1 = CFrame.new(0, -0.8, 0)
295
296
local M5 = Instance.new("SpecialMesh")
297
M5.Parent = hat3
298
M5.MeshId = "http://www.roblox.com/asset/?id=104780903"
299
M5.Scale = Vector3.new( 1.25, 1.1, 1.25)
300
301
302
------------------------------------------------------
303
local tail2 = Instance.new("Part", Character)
304
tail2.Name = "tail2"
305
tail2.CanCollide = false
306
tail2.BrickColor = BrickColor.new("White")
307
tail2.Transparency = 1
308
tail2.Material = "SmoothPlastic"
309
tail2.Size = Vector3.new(0.1, 0.1, 0.1)
310
tail2.TopSurface = Enum.SurfaceType.Smooth
311
tail2.BottomSurface = Enum.SurfaceType.Smooth
312
313
local Weld = Instance.new("Weld", tail2)
314
Weld.Part0 = Character.Torso
315
Weld.Part1 = tail2
316
Weld.C1 = CFrame.new(0, 0.63, -0.6)
317
318
local M7 = Instance.new("SpecialMesh")
319
M7.Parent = tail2
320
M7.MeshId = "http://www.roblox.com/asset/?id=518429841"
321
M7.Scale = Vector3.new(0.0028, 0.0028, 0.0028)
322
------------------------------------------------------
323
local tail3 = Instance.new("Part", Character)
324
tail3.Name = "tail3"
325
tail3.CanCollide = false
326
tail3.BrickColor = BrickColor.new("Plum")
327
tail3.Transparency = 1
328
tail3.Material = "Neon"
329
tail3.Size = Vector3.new(0.1, 0.1, 0.1)
330
tail3.TopSurface = Enum.SurfaceType.Smooth
331
tail3.BottomSurface = Enum.SurfaceType.Smooth
332
333
local Weld = Instance.new("Weld", tail3)
334
Weld.Part0 = Character.Torso
335
Weld.Part1 = tail3
336
Weld.C1 = CFrame.new(-0.2, -0.2, -1.8)
337
338
local M2 = Instance.new("SpecialMesh")
339
M2.Parent = tail3
340
M2.MeshId = "http://www.roblox.com/asset/?id=170939831"
341
M2.Scale = Vector3.new( 1, 1, 1)
342
------------------------------------------------------
343
	
344
	
345
	
346
	
347
	
348
	
349
	
350
	
351
	
352
local Player = game.Players.localPlayer
353
local Character = Player.Character
354
local red = 255
355
local green = 255
356
local blue = 255
357
local Humanoid = Character.Humanoid
358
local mouse = Player:GetMouse()
359
local m = Instance.new("Model", Character)
360
m.Name = "WeaponModel"
361
local LeftArm = Character["Left Arm"]
362
local RightArm = Character["Right Arm"]
363
local LeftLeg = Character["Left Leg"]
364
local RightLeg = Character["Right Leg"]
365
local Head = Character.Head
366
local Torso = Character.Torso
367
local cam = game.Workspace.CurrentCamera
368
local RootPart = Character.HumanoidRootPart
369
local RootJoint = RootPart.RootJoint
370
local equipped = false
371
local attack = false
372
local Anim = "Idle"
373
local idle = 0
374
local attacktype = 1
375
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
376
local velocity = RootPart.Velocity.y
377
local sine = 0
378
local change = 1
379
local grabbed = false
380
local cn = CFrame.new
381
local mr = math.rad
382
local angles = CFrame.Angles
383
local ud = UDim2.new
384
local c3 = Color3.new
385
local lim = 0
386
local st = 0
387
local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
388
local attacktype = 1
389
local ZTarget, RocketTarget = nil, nil
390
local euler = CFrame.fromEulerAnglesXYZ
391
function clerp(a,b,t) 
392
local qa = {QuaternionFromCFrame(a)}
393
local qb = {QuaternionFromCFrame(b)} 
394
local ax, ay, az = a.x, a.y, a.z 
395
local bx, by, bz = b.x, b.y, b.z
396
local _t = 1-t
397
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
398
end 
399
 
400
function QuaternionFromCFrame(cf) 
401
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
402
local trace = m00 + m11 + m22 
403
if trace > 0 then 
404
local s = math.sqrt(1 + trace) 
405
local recip = 0.5/s 
406
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
407
else 
408
local i = 0 
409
if m11 > m00 then
410
i = 1
411
end
412
if m22 > (i == 0 and m00 or m11) then 
413
i = 2 
414
end 
415
if i == 0 then 
416
local s = math.sqrt(m00-m11-m22+1) 
417
local recip = 0.5/s 
418
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
419
elseif i == 1 then 
420
local s = math.sqrt(m11-m22-m00+1) 
421
local recip = 0.5/s 
422
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
423
elseif i == 2 then 
424
local s = math.sqrt(m22-m00-m11+1) 
425
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
426
end 
427
end 
428
end
429
 
430
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
431
local xs, ys, zs = x + x, y + y, z + z 
432
local wx, wy, wz = w*xs, w*ys, w*zs 
433
local xx = x*xs 
434
local xy = x*ys 
435
local xz = x*zs 
436
local yy = y*ys 
437
local yz = y*zs 
438
local zz = z*zs 
439
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
440
end
441
 
442
function QuaternionSlerp(a, b, t) 
443
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
444
local startInterp, finishInterp; 
445
if cosTheta >= 0.0001 then 
446
if (1 - cosTheta) > 0.0001 then 
447
local theta = math.acos(cosTheta) 
448
local invSinTheta = 1/math.sin(theta) 
449
startInterp = math.sin((1-t)*theta)*invSinTheta 
450
finishInterp = math.sin(t*theta)*invSinTheta  
451
else 
452
startInterp = 1-t 
453
finishInterp = t 
454
end 
455
else 
456
if (1+cosTheta) > 0.0001 then 
457
local theta = math.acos(-cosTheta) 
458
local invSinTheta = 1/math.sin(theta) 
459
startInterp = math.sin((t-1)*theta)*invSinTheta 
460
finishInterp = math.sin(t*theta)*invSinTheta 
461
else 
462
startInterp = t-1 
463
finishInterp = t 
464
end 
465
end 
466
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
467
end
468
rayCast = function(Position, Direction, Range, Ignore)
469
  return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
470
end
471
local v = game.Players.localPlayer
472
local torso = v.Character.Torso
473
wait(0)
474
local p = Instance.new("Part", v.Character)
475
p.Name = "kit"
476
p.BrickColor = BrickColor.new("Plum")
477
p.Anchored = true
478
p.Transparency = 1
479
p.Material = "Plastic"
480
p.CanCollide = false
481
p.TopSurface = 0
482
p.BottomSurface = 0
483
p.Size = Vector3.new(0.2, 0.2, 0.2)
484
p.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
485
local msh = Instance.new("SpecialMesh", p)
486
msh.Scale = Vector3.new(0.55, 0.55, 0.55)
487
msh.MeshId = "http://www.roblox.com/asset/?id=430736398"
488
msh.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
489
local pn = Instance.new("Part", v.Character.kit)
490
pn.Name = "D"
491
pn.BrickColor = BrickColor.new("Plum")
492
pn.Anchored = true
493
pn.Transparency = 1
494
pn.Material = "Plastic"
495
pn.CanCollide = false
496
pn.TopSurface = 0
497
pn.BottomSurface = 0
498
pn.Size = Vector3.new(0.2, 0.2, 0.2)
499
pn.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
500
local mshn = Instance.new("SpecialMesh", pn)
501
mshn.Scale = Vector3.new(0.55, 0.55, 0.55)
502
mshn.MeshId = "http://www.roblox.com/asset/?id=430736398"
503
mshn.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
504
local pn3 = Instance.new("Part", v.Character.kit)
505
pn3.Name = "B"
506
pn3.BrickColor = BrickColor.new("Fossil")
507
pn3.Anchored = true
508
pn3.Transparency = 1
509
pn3.Material = "Plastic"
510
pn3.CanCollide = false
511
pn3.TopSurface = 0
512
pn3.BottomSurface = 0
513
pn3.Size = Vector3.new(0.2, 0.2, 0.2)
514
pn3.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
515
local mshn3 = Instance.new("SpecialMesh", pn3)
516
mshn3.Scale = Vector3.new(0.0054, 0.0054, 0.0054)
517
mshn3.MeshId = "http://www.roblox.com/asset/?id=518429841"
518
mshn3.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
519
local pn4 = Instance.new("Part", v.Character.kit)
520
pn4.Name = "B"
521
pn4.BrickColor = BrickColor.new("Fossil")
522
pn4.Anchored = true
523
pn4.Transparency = 1
524
pn4.Material = "Plastic"
525
pn4.CanCollide = false
526
pn4.TopSurface = 0
527
pn4.BottomSurface = 0
528
pn4.Size = Vector3.new(0.2, 0.2, 0.2)
529
pn4.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
530
local mshn4 = Instance.new("SpecialMesh", pn4)
531
mshn4.Scale = Vector3.new(0.0054, 0.0054, 0.0054)
532
mshn4.MeshId = "http://www.roblox.com/asset/?id=518429841"
533
mshn4.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
534
local pn5 = Instance.new("Part", v.Character.kit)
535
pn5.Name = "tail"
536
pn5.Anchored = true
537
pn5.Transparency = 1
538
pn5.BrickColor = BrickColor.new("Plum")
539
pn5.Material = "Plastic"
540
pn5.CanCollide = false
541
pn5.TopSurface = 0
542
pn5.BottomSurface = 0
543
pn5.Size = Vector3.new(0.2, 0.2, 0.2)
544
pn5.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
545
local mshn5 = Instance.new("SpecialMesh", pn5)
546
mshn5.Scale = Vector3.new(2, 2, 2)
547
mshn5.MeshId = "http://www.roblox.com/asset/?id=188635159"
548
mshn5.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
549
local pn6 = Instance.new("Part", v.Character.kit)
550
pn6.Name = "B-Hair"
551
pn6.Anchored = true
552
pn6.Transparency = 1
553
pn6.BrickColor = BrickColor.new("Dark indigo")
554
pn6.Material = "Plastic"
555
pn6.CanCollide = false
556
pn6.TopSurface = 0
557
pn6.BottomSurface = 0
558
pn6.Size = Vector3.new(0.2, 0.2, 0.2)
559
pn6.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
560
local mshn6 = Instance.new("SpecialMesh", pn6)
561
mshn6.Scale = Vector3.new(.015, .03, .001)
562
mshn6.MeshId = "http://www.roblox.com/asset/?id=521338357"
563
local pn7 = Instance.new("Part", v.Character.kit)
564
pn7.Name = "tail"
565
pn7.Anchored = true
566
pn7.Transparency = 1
567
pn7.BrickColor = BrickColor.new("Plum")
568
pn7.Material = "Plastic"
569
pn7.CanCollide = false
570
pn7.TopSurface = 0
571
pn7.BottomSurface = 0
572
pn7.Size = Vector3.new(0.2, 0.2, 0.2)
573
pn7.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
574
local mshn7 = Instance.new("SpecialMesh", pn7)
575
mshn7.Scale = Vector3.new(2, 2, 2)
576
mshn7.MeshId = "http://www.roblox.com/asset/?id=188635159"
577
mshn7.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
578
local pn8 = Instance.new("Part", v.Character.kit)
579
pn8.Name = "tail"
580
pn8.Anchored = true
581
pn8.Transparency = 1
582
pn8.BrickColor = BrickColor.new("Plum")
583
pn8.Material = "Plastic"
584
pn8.CanCollide = false
585
pn8.TopSurface = 0
586
pn8.BottomSurface = 0
587
pn8.Size = Vector3.new(0.2, 0.2, 0.2)
588
pn8.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
589
local mshn8 = Instance.new("SpecialMesh", pn8)
590
mshn8.Scale = Vector3.new(2, 2, 2)
591
mshn8.MeshId = "http://www.roblox.com/asset/?id=188635159"
592
mshn8.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
593
local pn9 = Instance.new("Part", v.Character.kit)
594
pn9.Name = "tail"
595
pn9.Anchored = true
596
pn9.Transparency = 1
597
pn9.BrickColor = BrickColor.new("Plum")
598
pn9.Material = "Plastic"
599
pn9.CanCollide = false
600
pn9.TopSurface = 0
601
pn9.BottomSurface = 0
602
pn9.Size = Vector3.new(0.2, 0.2, 0.2)
603
pn9.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
604
local mshn9 = Instance.new("SpecialMesh", pn9)
605
mshn9.Scale = Vector3.new(2, 2, 2)
606
mshn9.MeshId = "http://www.roblox.com/asset/?id=188635159"
607
mshn9.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
608
local pn0 = Instance.new("Part", v.Character.kit)
609
pn0.Name = "ears"
610
pn0.Anchored = true
611
pn0.Transparency = 1
612
pn0.BrickColor = BrickColor.new("Plum")
613
pn0.Material = "Plastic"
614
pn0.CanCollide = false
615
pn0.TopSurface = 0
616
pn0.BottomSurface = 0
617
pn0.Size = Vector3.new(0.2, 0.2, 0.2)
618
pn0.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
619
local mshn0 = Instance.new("SpecialMesh", pn0)
620
mshn0.Scale = Vector3.new(0.5, 0.5, 0.5)
621
mshn0.MeshId = "http://www.roblox.com/asset/?id=361948302"
622
mshn0.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
623
p.Anchored = false
624
local motor1 = Instance.new("Weld", torso)
625
motor1.Part0 = p
626
motor1.Part1 = torso
627
motor1.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
628
motor1.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
629
pn.Anchored = false
630
local motor2 = Instance.new("Weld", torso)
631
motor2.Part0 = pn
632
motor2.Part1 = torso
633
motor2.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
634
motor2.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
635
pn3.Anchored = false
636
local motor3 = Instance.new("Weld", torso)
637
motor3.Part0 = pn3
638
motor3.Part1 = torso
639
motor3.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
640
motor3.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
641
pn4.Anchored = false
642
local motor4 = Instance.new("Weld", torso)
643
motor4.Part0 = pn4
644
motor4.Part1 = torso
645
motor4.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
646
motor4.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
647
pn5.Anchored = false
648
local motor5 = Instance.new("Weld", pn5)
649
motor5.Part0 = pn5
650
motor5.Part1 = torso
651
motor5.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
652
motor5.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
653
pn6.Anchored = false
654
local motor6 = Instance.new("Weld", pn6)
655
motor6.Part0 = pn6
656
motor6.Part1 = Head
657
motor6.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
658
motor6.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
659
pn7.Anchored = false
660
local motor7 = Instance.new("Weld", pn7)
661
motor7.Part0 = pn7
662
motor7.Part1 = torso
663
motor7.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
664
motor7.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
665
pn8.Anchored = false
666
local motor8 = Instance.new("Weld", pn8)
667
motor8.Part0 = pn8
668
motor8.Part1 = torso
669
motor8.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
670
motor8.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
671
pn9.Anchored = false
672
local motor9 = Instance.new("Weld", pn9)
673
motor9.Part0 = pn9
674
motor9.Part1 = torso
675
motor9.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
676
motor9.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
677
pn0.Anchored = false
678
local motor0 = Instance.new("Weld", pn0)
679
motor0.Part0 = pn0
680
motor0.Part1 = v.Character.Head
681
motor0.C0 = CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
682
game:GetService("RunService").Stepped:connect(function()
683
  Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
684
  velocity = RootPart.Velocity.y
685
  sine = sine + change
686
  local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
687
  if equipped == true or equipped == false then
688
    if RootPart.Velocity.y > 1 and hit == nil then
689
      Anim = "Jump"
690
      if attack == false then
691
            motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(2 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
692
            motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(2 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
693
            motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(2 + -0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
694
            motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(2 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
695
        motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
696
        motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
697
        motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
698
              motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(110 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
699
              motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(110 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
700
      end
701
    else
702
      if RootPart.Velocity.y < -1 and hit == nil then
703
        Anim = "Fall"
704
        if attack == false then
705
            motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(-3 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
706
            motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(-3 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
707
            motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(-3 + -0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
708
            motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(-3 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
709
          motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
710
          motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
711
          motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
712
              motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(180 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
713
              motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(180 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
714
        end
715
      else
716
        if Torsovelocity < 1 and hit ~= nil then
717
          Anim = "Idle"
718
          if attack == false then
719
            change = 1
720
            motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(-0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
721
            motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(-0 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
722
            motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(-0 + -0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
723
            motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(-0 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
724
            motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 60)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(10 + 0 * math.cos(sine / 25))), 0.1)
725
            motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
726
            motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 70)), math.rad(0 + 5 * math.cos(sine / 35)), math.rad(-45 + 0 * math.cos(sine / 25))), 0.1)
727
            motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-10 + 5 * math.cos(sine / 55)), math.rad(0 + 5 * math.cos(sine / 55)), math.rad(-150 + 0 * math.cos(sine / 25))), 0.1)
728
            motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-20 + 5 * math.cos(sine / 65)), math.rad(0 + 5 * math.cos(sine / 60)), math.rad(-100 + 0 * math.cos(sine / 25))), 0.1)
729
          end
730
        else
731
          if Torsovelocity > 2 and hit ~= nil then
732
            Anim = "Walk"
733
            if attack == false then
734
            motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(2 + 2 * math.cos(sine / 5)), math.rad(0 + -1 * math.cos(sine / 5)), math.rad(0 + 1 * math.cos(sine / 5))), 0.1)
735
            motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(2 + -2 * math.cos(sine / 5)), math.rad(0 + -1 * math.cos(sine / 5)), math.rad(0 + 1 * math.cos(sine / 5))), 0.1)
736
            motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(0 + 0 * math.cos(sine / 5)), math.rad(0 + -0 * math.cos(sine / 5)), math.rad(0 + 0 * math.cos(sine / 5))), 0.1)
737
            motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(0 + 0 * math.cos(sine / 5)), math.rad(0 + -0 * math.cos(sine / 5)), math.rad(0 + 0 * math.cos(sine / 5))), 0.1)
738
              motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 30)), math.rad(45 + 10 * math.cos(sine / 20)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
739
              motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
740
              motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 30)), math.rad(45 + 10 * math.cos(sine / 20)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
741
              motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 10 * math.cos(sine / -30)), math.rad(135 + -10 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
742
              motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 10 * math.cos(sine / -30)), math.rad(135 + -10 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
743
            end
744
          end
745
        end
746
      end
747
    end
748
  end
749
end)
750
751
752
newface = Instance.new("Decal",Head)
753
newface.Texture = "rbxassetid://186681690"
754
755
756
757
758
--[[NIGHTOWLACE_WEAPONRY]]--
759
maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor.Name
760
secondcolor = "Really black"
761
762
wait(1 / 60)
763
Effects = { }
764
local Player = game.Players.localPlayer
765
local Character = Player.Character
766
local Humanoid = Character.Humanoid
767
local mouse = Player:GetMouse()
768
local LeftArm = Character["Left Arm"]
769
local RightArm = Character["Right Arm"]
770
local LeftLeg = Character["Left Leg"]
771
local RightLeg = Character["Right Leg"]
772
local Head = Character.Head
773
local Torso = Character.Torso
774
local cam = game.Workspace.CurrentCamera
775
local RootPart = Character.HumanoidRootPart
776
local RootJoint = RootPart.RootJoint
777
local equipped = true
778
local attack = false
779
local Anim = 'Idle'
780
local idle = 0
781
local attacktype = 1
782
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
783
local velocity = RootPart.Velocity.y
784
local sine = 0
785
local change = 1
786
local grabbed = false
787
local cn = CFrame.new
788
local mr = math.rad
789
local angles = CFrame.Angles
790
local ud = UDim2.new
791
local c3 = Color3.new
792
793
local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
794
Humanoid.Animator:Destroy()
795
Character.Animate:Destroy()
796
797
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
798
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
799
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
800
801
RSH, LSH = nil, nil 
802
803
RW = Instance.new("Weld") 
804
LW = Instance.new("Weld")
805
806
RH = Torso["Right Hip"]
807
LH = Torso["Left Hip"]
808
809
RSH = Torso["Right Shoulder"] 
810
LSH = Torso["Left Shoulder"] 
811
812
RSH.Parent = nil 
813
LSH.Parent = nil 
814
815
RW.Name = "RW"
816
RW.Part0 = Torso 
817
RW.C0 = cn(1.5, 0.5, 0)
818
RW.C1 = cn(0, 0.5, 0) 
819
RW.Part1 = RightArm
820
RW.Parent = Torso 
821
822
LW.Name = "LW"
823
LW.Part0 = Torso 
824
LW.C0 = cn(-1.5, 0.5, 0)
825
LW.C1 = cn(0, 0.5, 0) 
826
LW.Part1 = LeftArm
827
LW.Parent = Torso 
828
829
function clerp(a, b, t) 
830
	local qa = {
831
		QuaternionFromCFrame(a)
832
	}
833
	local qb = {
834
		QuaternionFromCFrame(b)
835
	} 
836
	local ax, ay, az = a.x, a.y, a.z 
837
	local bx, by, bz = b.x, b.y, b.z
838
	local _t = 1 - t
839
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) 
840
end 
841
 
842
function QuaternionFromCFrame(cf) 
843
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
844
	local trace = m00 + m11 + m22 
845
	if trace > 0 then 
846
		local s = math.sqrt(1 + trace) 
847
		local recip = 0.5 / s 
848
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 
849
	else 
850
		local i = 0 
851
		if m11 > m00 then
852
			i = 1
853
		end
854
		if m22 > (i == 0 and m00 or m11) then 
855
			i = 2 
856
		end 
857
		if i == 0 then 
858
			local s = math.sqrt(m00 - m11 - m22 + 1) 
859
			local recip = 0.5 / s 
860
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip 
861
		elseif i == 1 then 
862
			local s = math.sqrt(m11 - m22 - m00 + 1) 
863
			local recip = 0.5 / s 
864
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip 
865
		elseif i == 2 then 
866
			local s = math.sqrt(m22 - m00 - m11 + 1) 
867
			local recip = 0.5 / s
868
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip 
869
		end 
870
	end 
871
end
872
 
873
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
874
	local xs, ys, zs = x + x, y + y, z + z 
875
	local wx, wy, wz = w * xs, w * ys, w * zs 
876
	local xx = x * xs 
877
	local xy = x * ys 
878
	local xz = x * zs 
879
	local yy = y * ys 
880
	local yz = y * zs 
881
	local zz = z * zs 
882
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) 
883
end
884
 
885
function QuaternionSlerp(a, b, t) 
886
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] 
887
	local startInterp, finishInterp; 
888
	if cosTheta >= 0.0001 then 
889
		if (1 - cosTheta) > 0.0001 then 
890
			local theta = math.acos(cosTheta) 
891
			local invSinTheta = 1 / math.sin(theta) 
892
			startInterp = math.sin((1 - t) * theta) * invSinTheta 
893
			finishInterp = math.sin(t * theta) * invSinTheta  
894
		else 
895
			startInterp = 1 - t 
896
			finishInterp = t 
897
		end 
898
	else 
899
		if (1 + cosTheta) > 0.0001 then 
900
			local theta = math.acos(-cosTheta) 
901
			local invSinTheta = 1 / math.sin(theta) 
902
			startInterp = math.sin((t - 1) * theta) * invSinTheta 
903
			finishInterp = math.sin(t * theta) * invSinTheta 
904
		else 
905
			startInterp = t - 1 
906
			finishInterp = t 
907
		end 
908
	end 
909
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp 
910
end
911
912
function swait(num)
913
	if num == 0 or num == nil then
914
		game:service'RunService'.RenderStepped:wait(0)
915
	else
916
		for i = 0, num do
917
			game:service'RunService'.RenderStepped:wait(0)
918
		end
919
	end
920
end
921
922
local RbxUtility = LoadLibrary("RbxUtility")
923
local Create = RbxUtility.Create
924
925
function RemoveOutlines(part)
926
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
927
end
928
	
929
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
930
	local Part = Create("Part"){
931
		formFactor = FormFactor,
932
		Parent = Parent,
933
		Reflectance = Reflectance,
934
		Transparency = Transparency,
935
		CanCollide = false,
936
		Locked = true,
937
		BrickColor = BrickColor.new(tostring(BColor)),
938
		Name = Name,
939
		Size = Size,
940
		Material = Material,
941
	}
942
	RemoveOutlines(Part)
943
	return Part
944
end
945
	
946
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
947
	local Msh = Create(Mesh){
948
		Parent = Part,
949
		Offset = OffSet,
950
		Scale = Scale,
951
	}
952
	if Mesh == "SpecialMesh" then
953
		Msh.MeshType = MeshType
954
		Msh.MeshId = MeshId
955
	end
956
	return Msh
957
end
958
	
959
function CreateWeld(Parent, Part0, Part1, C0, C1)
960
	local Weld = Create("Weld"){
961
		Parent = Parent,
962
		Part0 = Part0,
963
		Part1 = Part1,
964
		C0 = C0,
965
		C1 = C1,
966
	}
967
	return Weld
968
end
969
970
function rayCast(Position, Direction, Range, Ignore)
971
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
972
end 
973
974
function CreateSound(id, par, vol, pit) 
975
	coroutine.resume(coroutine.create(function()
976
		local sou = Instance.new("Sound", par or workspace)
977
		sou.Volume = vol
978
		sou.Pitch = pit or 1
979
		sou.SoundId = id
980
		wait() 
981
		sou:play() 
982
		game:GetService("Debris"):AddItem(sou, 6)
983
	end))
984
end
985
986
local function getclosest(obj, distance)
987
	local last, lastx = distance + 1
988
	for i, v in pairs(workspace:GetChildren()) do
989
		if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
990
			local t = v.Torso
991
			local dist = (t.Position - obj.Position).magnitude
992
			if dist <= distance then
993
				if dist < last then
994
					last = dist
995
					lastx = v
996
				end
997
			end
998
		end
999
	end
1000
	return lastx
1001
end
1002
1003
function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
1004
	for i, v in pairs(hit:GetChildren()) do 
1005
		if v:IsA("Humanoid") and hit.Name ~= Character.Name then
1006
			local find = v:FindFirstChild("Hitz")
1007
			if not find then
1008
				if v.Parent:findFirstChild("Head") then
1009
					local BillG = Create("BillboardGui"){
1010
						Parent = v.Parent.Head,
1011
						Size = UDim2.new(1, 0, 1, 0),
1012
						Adornee = v.Parent.Head,
1013
						StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
1014
					}
1015
					local TL = Create("TextLabel"){
1016
						Parent = BillG,
1017
						Size = UDim2.new(3, 3, 3, 3),
1018
						BackgroundTransparency = 1,
1019
						Text = tostring(damage).."-",
1020
						TextColor3 = Color1.Color,
1021
						TextStrokeColor3 = Color2.Color,
1022
						TextStrokeTransparency = 0,
1023
						TextXAlignment = Enum.TextXAlignment.Center,
1024
						TextYAlignment = Enum.TextYAlignment.Center,
1025
						FontSize = Enum.FontSize.Size18,
1026
						Font = "ArialBold",
1027
					}
1028
					coroutine.resume(coroutine.create(function()
1029
						wait(1)
1030
						for i = 0, 1, .1 do
1031
							wait(.1)
1032
							BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
1033
						end
1034
						BillG:Destroy()
1035
					end))
1036
				end
1037
				v.Health = v.Health - damage
1038
				local bool = Create("BoolValue"){
1039
					Parent = v,
1040
					Name = 'Hitz',
1041
				}
1042
				if HSound ~= nil and HPitch ~= nil then
1043
					CreateSound(HSound, hit, 1, HPitch) 
1044
				end
1045
				game:GetService("Debris"):AddItem(bool, cooldown)
1046
			end
1047
		end
1048
	end
1049
end
1050
1051
1052
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1053
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1054
	prt.Anchored = true
1055
	prt.CFrame = cframe
1056
	local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1057
	game:GetService("Debris"):AddItem(prt, 10)
1058
	if Type == 1 or Type == nil then
1059
		table.insert(Effects, {
1060
			prt,
1061
			"Block1",
1062
			delay,
1063
			x3,
1064
			y3,
1065
			z3,
1066
			msh
1067
		})
1068
	elseif Type == 2 then
1069
		table.insert(Effects, {
1070
			prt,
1071
			"Block2",
1072
			delay,
1073
			x3,
1074
			y3,
1075
			z3,
1076
			msh
1077
		})
1078
	end
1079
end
1080
1081
function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1082
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1083
	prt.Anchored = true
1084
	prt.CFrame = cframe
1085
	local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1086
	game:GetService("Debris"):AddItem(prt, 10)
1087
	table.insert(Effects, {
1088
		prt,
1089
		"Cylinder",
1090
		delay,
1091
		x3,
1092
		y3,
1093
		z3,
1094
		msh
1095
	})
1096
end
1097
1098
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1099
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1100
	prt.Anchored = true
1101
	prt.CFrame = cframe * CFrame.new(x1, y1, z1)
1102
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1103
	game:GetService("Debris"):AddItem(prt, 10)
1104
	table.insert(Effects, {
1105
		prt,
1106
		"Cylinder",
1107
		delay,
1108
		x3,
1109
		y3,
1110
		z3,
1111
		msh
1112
	})
1113
end
1114
1115
function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1116
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1117
	prt.Anchored = true
1118
	prt.CFrame = cframe
1119
	local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1120
	game:GetService("Debris"):AddItem(prt, 10)
1121
	table.insert(Effects, {
1122
		prt,
1123
		"Cylinder",
1124
		delay,
1125
		x3,
1126
		y3,
1127
		z3,
1128
		msh
1129
	})
1130
end
1131
1132
function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1133
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1134
	prt.Anchored = true
1135
	prt.CFrame = cframe
1136
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1137
	game:GetService("Debris"):AddItem(prt, 10)
1138
	table.insert(Effects, {
1139
		prt,
1140
		"Cylinder",
1141
		delay,
1142
		x3,
1143
		y3,
1144
		z3,
1145
		msh
1146
	})
1147
end
1148
1149
function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1150
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1151
	prt.Anchored = true
1152
	prt.CFrame = cframe
1153
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1154
	game:GetService("Debris"):AddItem(prt, 10)
1155
	table.insert(Effects, {
1156
		prt,
1157
		"Cylinder",
1158
		delay,
1159
		x3,
1160
		y3,
1161
		z3,
1162
		msh
1163
	})
1164
end
1165
1166
function BreakEffect(brickcolor, cframe, x1, y1, z1)
1167
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1168
	prt.Anchored = true
1169
	prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1170
	local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1171
	local num = math.random(10, 50) / 1000
1172
	game:GetService("Debris"):AddItem(prt, 10)
1173
	table.insert(Effects, {
1174
		prt,
1175
		"Shatter",
1176
		num,
1177
		prt.CFrame,
1178
		math.random() - math.random(),
1179
		0,
1180
		math.random(50, 100) / 100
1181
	})
1182
end
1183
1184
1185
	
1186
1187
	for i = 0, 1, 0.05 do
1188
		swait()
1189
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
1190
		Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
1191
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
1192
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
1193
		if Torsovelocity > 2 then
1194
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .2)
1195
		RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
1196
		LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
1197
		elseif Torsovelocity < 1 then
1198
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
1199
		RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
1200
		LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
1201
		end
1202
	end
1203
	attack = false
1204
1205
1206
1207
game:GetService'RunService'.Stepped:connect(function()
1208
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
1209
	velocity = RootPart.Velocity.y
1210
	sine = sine + change
1211
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
1212
	if equipped == true or equipped == false then
1213
		if RootPart.Velocity.y > 1 and hit == nil then 
1214
			Anim = "Jump"
1215
			if attack == false and Anim2 == false then
1216
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
1217
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
1218
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), .1)
1219
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1)
1220
					RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
1221
					LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
1222
			end
1223
			
1224
		elseif RootPart.Velocity.y < -1 and hit == nil then 
1225
			Anim = "Fall"
1226
			if attack == false and Anim2 == false then
1227
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
1228
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
1229
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1)
1230
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1)
1231
					RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
1232
					LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
1233
			end
1234
		elseif Torsovelocity < 1 and hit ~= nil then
1235
			Anim = "Idle"
1236
			if attack == false and Anim2 == false then
1237
				change = 0.8
1238
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(-5), math.rad(5)), .1)
1239
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 50)), math.rad(8), math.rad(-5)), .1)
1240
					RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, 0.3) * angles(math.rad(30), math.rad(150), math.rad(-200 + 3 * math.cos(sine / 25))), 0.1)
1241
					LW.C0 = clerp(LW.C0, CFrame.new(-1.54, 0.5, 0.1) * angles(math.rad(0), math.rad(10), math.rad(0 - 4 * math.cos(sine / 25))), 0.1)
1242
					RH.C0 = clerp(RH.C0, cn(1, -.93 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-10 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(6 + 2 * math.cos(sine / 45))), .1)
1243
					LH.C0 = clerp(LH.C0, cn(-1, -.93 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-5 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(7 + 2 * math.cos(sine / 25))), .1)
1244
1245
			end
1246
1247
		elseif Torsovelocity > 1 and hit ~= nil then
1248
			Anim = "Walk"
1249
			if attack == false and Anim2 == false then
1250
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.02 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(7 * math.cos(sine / 5))), .1)
1251
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .1)
1252
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(-7), math.rad(4 * math.cos(sine / 4))), .1)
1253
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50 * math.cos(sine / 4)), math.rad(7), math.rad(4 * math.cos(sine / 4))), .1)
1254
					RH.C0 = clerp(RH.C0, cn(1, -1 + .2 * math.cos(sine / 3), 0) * RHCF * angles(math.rad(-2), math.rad(7), math.rad(50 * math.cos(sine / 4))), .1)
1255
					LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 3), 0) * LHCF * angles(math.rad(-2), math.rad(-7), math.rad(50 * math.cos(sine / 4))), .1)
1256
1257
			end
1258
		end
1259
	end
1260
-------------------------------------------------------------------------ANI-2----------------------------------------------------------------------------------------------
1261
	if equipped == true or equipped == false then
1262
		if RootPart.Velocity.y > 1 and hit == nil then 
1263
			Anim = "Jump"
1264
			if attack == false and Anim2 == true then
1265
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
1266
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
1267
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), .1)
1268
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1)
1269
					RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
1270
					LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
1271
			end
1272
			
1273
		elseif RootPart.Velocity.y < -1 and hit == nil then 
1274
			Anim = "Fall"
1275
			if attack == false and Anim2 == true then
1276
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
1277
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
1278
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1)
1279
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1)
1280
					RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
1281
					LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
1282
			end
1283
		elseif Torsovelocity < 1 and hit ~= nil then
1284
			Anim = "Idle"
1285
			if attack == false and Anim2 == true then
1286
				change = 0.8
1287
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1)
1288
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(1 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
1289
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
1290
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.1)
1291
					RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
1292
					LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
1293
			end
1294
1295
		elseif Torsovelocity > 1 and hit ~= nil then
1296
			Anim = "Walk"
1297
			if attack == false and Anim2 == true then
1298
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.02 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 5))), .2)
1299
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
1300
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .1)
1301
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .1)
1302
					RH.C0 = clerp(RH.C0, cn(1, -1 + .2 * math.cos(sine / 3), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), .1)
1303
					LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 3), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), .1)
1304
1305
			end
1306
		end
1307
	end
1308
1309
	
1310
	if #Effects > 0 then
1311
		for e = 1, #Effects do
1312
			if Effects[e] ~= nil then
1313
				local Thing = Effects[e]
1314
				if Thing ~= nil then
1315
					local Part = Thing[1]
1316
					local Mode = Thing[2]
1317
					local Delay = Thing[3]
1318
					local IncX = Thing[4]
1319
					local IncY = Thing[5]
1320
					local IncZ = Thing[6]
1321
					if Thing[1].Transparency <= 1 then
1322
						if Thing[2] == "Block1" then
1323
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1324
							local Mesh = Thing[1].Mesh
1325
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1326
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1327
						elseif Thing[2] == "Block2" then
1328
							Thing[1].CFrame = Thing[1].CFrame
1329
							local Mesh = Thing[7]
1330
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1331
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1332
						elseif Thing[2] == "Cylinder" then
1333
							local Mesh = Thing[1].Mesh
1334
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1335
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1336
						elseif Thing[2] == "Blood" then
1337
							local Mesh = Thing[7]
1338
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
1339
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1340
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1341
						elseif Thing[2] == "Elec" then
1342
							local Mesh = Thing[1].Mesh
1343
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1344
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1345
						elseif Thing[2] == "Disappear" then
1346
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1347
						elseif Thing[2] == "Shatter" then
1348
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1349
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1350
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1351
							Thing[6] = Thing[6] + Thing[5]
1352
						end
1353
					else
1354
						Part.Parent = nil
1355
						table.remove(Effects, e)
1356
					end
1357
				end
1358
			end
1359
		end
1360
	end
1361
end)
1362
1363
1364
1365
1366
Pressed = false
1367
--------------
1368
MaskOn = false
1369
MaskOff = true
1370
--------------
1371
Anim2 = true
1372
--------------
1373
eye1 = false
1374
eye2 = false
1375
eye3 = true
1376
--------------
1377
mouth1 = false
1378
mouth2 = true
1379
mouth3 = false
1380
mouth4 = false
1381
mouth5 = false
1382
mouth6 = false
1383
mouth7 = false
1384
--------------
1385
bkit0 = true
1386
bkit1 = false
1387
bkit2 = false
1388
--------------
1389
torso1 = false
1390
torso2 = true
1391
--------------
1392
Tail0 = true
1393
Tail1 = false
1394
Tail2 = false
1395
Tail3 = false
1396
--------------
1397
Hair0 = true
1398
Hair1 = false
1399
Hair2 = false
1400
Hair3 = false
1401
--------------
1402
Hat0 = true
1403
Hat1 = false
1404
Hat2 = false
1405
Hat3 = false
1406
local Playing = false
1407
1408
---:Mini:-:Menu:---
1409
char2 = game.Players.LocalPlayer.Character
1410
iPlayer = game.Players.LocalPlayer.Name
1411
local Gui = Instance.new('ScreenGui', game.Players[iPlayer].PlayerGui)
1412
Gui.Name = 'Gui test'
1413
local Pull = Instance.new('Frame', Gui)
1414
Pull.Name = 'Grab'
1415
Pull.Active = true
1416
Pull.BackgroundColor3 = Color3.new(97/255,97/255,97/255)
1417
Pull.BackgroundTransparency = 0
1418
Pull.BorderSizePixel = 4
1419
Pull.Position = UDim2.new(0.5,-318,0.5,-92)
1420
Pull.Size = UDim2.new(0,120,0,50)
1421
Pull.Draggable = true
1422
Pull.BorderColor3 = Color3.new(97/255,97/255,97/255)
1423
1424
local Close = Instance.new('TextButton', Pull)
1425
Close.Name = 'Close'
1426
Close.BackgroundTransparency = 1
1427
Close.Position = UDim2.new(1,-23,0,1)
1428
Close.Size = UDim2.new(0,22,0,22)
1429
Close.Font = 'SourceSans'
1430
Close.FontSize = 'Size24'
1431
Close.TextColor3 = Color3.new(255,255,255)
1432
Close.Text = 'X'
1433
Close.TextStrokeTransparency = 0.8
1434
1435
local Body = Instance.new('Frame', Pull)
1436
Body.Name = 'Body'
1437
Body.BackgroundColor3 = Color3.new(60/255,60/255,60/255)
1438
Body.BackgroundTransparency = 0
1439
Body.BorderSizePixel = 4
1440
Body.Position = UDim2.new(0,0,0,52)
1441
Body.Size = UDim2.new(0,547,0,212)
1442
Body.BorderColor3 = Color3.new(97/255,97/255,97/255)
1443
1444
1445
local Line = Instance.new('Frame', Body)
1446
Line.Name = 'Line'
1447
Line.BackgroundColor3 = Color3.new(60/255,60/255,60/255)
1448
Line.BackgroundTransparency = 0
1449
Line.BorderSizePixel = 2
1450
Line.Position = UDim2.new(0,152.5,0,0)
1451
Line.Size = UDim2.new(0,0.01,0,212)
1452
Line.BorderColor3 = Color3.new(97/255,97/255,97/255)
1453
1454
local Line2 = Instance.new('Frame', Body)
1455
Line2.Name = 'Line2'
1456
Line2.BackgroundColor3 = Color3.new(60/255,60/255,60/255)
1457
Line2.BackgroundTransparency = 0
1458
Line2.BorderSizePixel = 2
1459
Line2.Position = UDim2.new(0,306.5,0,0)
1460
Line2.Size = UDim2.new(0,0.01,0,212)
1461
Line2.BorderColor3 = Color3.new(97/255,97/255,97/255)
1462
1463
1464
1465
local Title = Instance.new('TextLabel', Pull)
1466
Title.Name = 'Title'
1467
Title.BackgroundTransparency = 1
1468
Title.Position = UDim2.new(0,-50,0,0)
1469
Title.Size = UDim2.new(0,200,1,0)
1470
Title.Font = 'SourceSansLight'
1471
Title.FontSize = 'Size48'
1472
Title.Text = "Menu"
1473
Title.TextColor3 = Color3.new(0.5,0,1)
1474
Title.TextStrokeColor3 = Color3.new(74/255,74/255,74/255)
1475
Title.TextStrokeTransparency = 0
1476
1477
local PlayerName = Instance.new('TextBox', Body)
1478
PlayerName.Name = 'PlayerName'
1479
PlayerName.BorderSizePixel = 0
1480
PlayerName.Position = UDim2.new(0,8,0,10)
1481
PlayerName.Size = UDim2.new(0,135,0,30)
1482
PlayerName.Font = 'SourceSans'
1483
PlayerName.FontSize = 'Size18'
1484
PlayerName.Text = 'Name of the color'
1485
PlayerName.BackgroundColor3 = Color3.new(255,255,255)
1486
PlayerName.TextColor3 = Color3.new(0,0,0)
1487
PlayerName.TextWrapped = true
1488
1489
local ColTex2 = Instance.new('TextBox', Body)
1490
ColTex2.Name = 'ColTex2'
1491
ColTex2.BorderSizePixel = 0
1492
ColTex2.Position = UDim2.new(0,318.5,0,10)
1493
ColTex2.Size = UDim2.new(0,135,0,30)
1494
ColTex2.Font = 'SourceSans'
1495
ColTex2.FontSize = 'Size18'
1496
ColTex2.Text = 'Song id'
1497
ColTex2.BackgroundColor3 = Color3.new(255,255,255)
1498
ColTex2.TextColor3 = Color3.new(0,0,0)
1499
ColTex2.TextWrapped = true
1500
1501
local ColTex3 = Instance.new('TextBox', Body)
1502
ColTex3.Name = 'ColTex3'
1503
ColTex3.BorderSizePixel = 2
1504
ColTex3.Position = UDim2.new(0,10,0,130)-- 72,5
1505
ColTex3.Size = UDim2.new(0,57.5,0,30)
1506
ColTex3.Font = 'SourceSans'
1507
ColTex3.FontSize = 'Size10'
1508
ColTex3.Text = 'Shirt id'
1509
ColTex3.BackgroundColor3 = Color3.new(255,255,255)
1510
ColTex3.TextColor3 = Color3.new(0,0,0)
1511
ColTex3.TextWrapped = true
1512
1513
local ColTex4 = Instance.new('TextBox', Body)
1514
ColTex4.Name = 'ColTex4'
1515
ColTex4.BorderSizePixel = 2
1516
ColTex4.Position = UDim2.new(0,10,0,170)-- 72,5
1517
ColTex4.Size = UDim2.new(0,57.5,0,30)
1518
ColTex4.Font = 'SourceSans'
1519
ColTex4.FontSize = 'Size10'
1520
ColTex4.Text = 'Pants id'
1521
ColTex4.BackgroundColor3 = Color3.new(255,255,255)
1522
ColTex4.TextColor3 = Color3.new(0,0,0)
1523
ColTex4.TextWrapped = true
1524
1525
local Chattext = Instance.new('TextBox', Body)
1526
Chattext.Name = 'Chattext'
1527
Chattext.BorderSizePixel = 2
1528
Chattext.Position = UDim2.new(0,125,0,-45)-- 72,5
1529
Chattext.Size = UDim2.new(0,157.5,0,40)
1530
Chattext.Font = 'SourceSans'
1531
Chattext.FontSize = 'Size12'
1532
Chattext.Text = 'Beter chat ^-^ '
1533
Chattext.BackgroundColor3 = Color3.new(255,255,255)
1534
Chattext.TextColor3 = Color3.new(0,0,0)
1535
Chattext.TextWrapped = true
1536
Chattext.BorderColor3 = Color3.new(97/255,97/255,97/255)
1537
1538
local God = Instance.new('TextButton', Body)
1539
God.Name = 'God'
1540
God.BackgroundColor3 = Color3.new(21/255,142/255,255)
1541
God.BackgroundTransparency = 0
1542
God.BorderSizePixel = 2
1543
God.Position = UDim2.new(0,10,0,50)
1544
God.Size = UDim2.new(0,57.5,0,30) -- 135/2 = 57,5
1545
God.Font = 'SourceSansBold'
1546
God.FontSize = 'Size18'
1547
God.Text = 'Skin col'
1548
God.TextColor3 = Color3.new(255,255,255)
1549
God.TextWrapped = true
1550
God.BorderColor3 = Color3.new(97/255,97/255,97/255)
1551
God.TextStrokeTransparency = 1
1552
-- =====================================================================
1553
local Saypress = God:Clone()
1554
Saypress.Name = 'Saypress'
1555
Saypress.Parent = Body
1556
Saypress.Position = UDim2.new(0,285.5,0,-35)
1557
Saypress.Text = 'Say'
1558
Saypress.BackgroundColor3 = Color3.new(.5,1,.5)
1559
-- =====================================================================
1560
local TpTo = God:Clone()
1561
TpTo.Name = 'TpTo'
1562
TpTo.Parent = Body
1563
TpTo.Position = UDim2.new(0,468.5,0,10)
1564
TpTo.Text = 'Play'
1565
TpTo.BackgroundColor3 = Color3.new(.5,1,.5)
1566
-- =====================================================================
1567
local KillPlr = God:Clone()
1568
KillPlr.Name = 'Shirtcol'
1569
KillPlr.Parent = Body
1570
KillPlr.Position = UDim2.new(0,10,0,90)
1571
KillPlr.Text = 'Shirt col'
1572
KillPlr.Size = UDim2.new(0,130,0,30)
1573
-- ===================================================================== 
1574
local Haircol = God:Clone()
1575
Haircol.Name = 'Haircol'
1576
Haircol.Parent = Body
1577
Haircol.Position = UDim2.new(0,82.5,0,50)
1578
Haircol.Text = 'Hair col'
1579
-- ===================================================================== 164
1580
1581
local TpMe = God:Clone()
1582
TpMe.Name = 'Hat'
1583
TpMe.Parent = Body
1584
TpMe.Position = UDim2.new(0,164,0,90)
1585
TpMe.Text = 'Hat 1'
1586
TpMe.Size = UDim2.new(0,57.5,0,30)
1587
TpMe.FontSize = 'Size18'
1588
-- =====================================================================
1589
local TpMe2 = God:Clone()
1590
TpMe2.Name = 'Hair'
1591
TpMe2.Parent = Body
1592
TpMe2.Position = UDim2.new(0,236.5,0,50)
1593
TpMe2.Text = 'Hair 1'
1594
TpMe2.Size = UDim2.new(0,57.5,0,30)
1595
TpMe2.FontSize = 'Size18'
1596
-- =====================================================================
1597
local G36K = God:Clone()
1598
G36K.Name = 'SpawnG36k'
1599
G36K.Parent = Body
1600
G36K.Position = UDim2.new(0,162,0,10)
1601
G36K.Text = 'Idle Pose'
1602
G36K.Size = UDim2.new(0,135,0,30)
1603
G36K.BackgroundColor3 = Color3.new(1,.5,.5)
1604
G36K.FontSize = 'Size28'
1605
-- =====================================================================
1606
local Tail = God:Clone()
1607
Tail.Name = 'Tail'
1608
Tail.Parent = Body
1609
Tail.Position = UDim2.new(0,164,0,50)
1610
Tail.Text = 'Tail 0'
1611
-- =====================================================================
1612
local Torso2 = God:Clone()
1613
Torso2.Name = 'Hair'
1614
Torso2.Parent = Body
1615
Torso2.Position = UDim2.new(0,236.5,0,90)
1616
Torso2.Text = 'Torso 2'
1617
Torso2.Size = UDim2.new(0,57.5,0,30)
1618
Torso2.FontSize = 'Size18'
1619
-- =====================================================================
1620
local Bkit = God:Clone()
1621
Bkit.Name = 'Bkit'
1622
Bkit.Parent = Body
1623
Bkit.Position = UDim2.new(0,164,0,130)
1624
Bkit.Text = 'Bkit 0'
1625
Bkit.Size = UDim2.new(0,57.5,0,30)
1626
Bkit.FontSize = 'Size18'
1627
-- ===================================================================== 
1628
local Mouth = God:Clone()
1629
Mouth.Name = 'Mouth'
1630
Mouth.Parent = Body
1631
Mouth.Position = UDim2.new(0,164,0,170)
1632
Mouth.Text = 'Mouth 2'
1633
Mouth.FontSize = 'Size18'
1634
-- ===================================================================== (0,318.5,0,10)
1635
local Eyes = God:Clone()
1636
Eyes.Name = 'Eyes'
1637
Eyes.Parent = Body
1638
Eyes.Position = UDim2.new(0,236,0,130)
1639
Eyes.Text = 'Eye 3'
1640
Eyes.FontSize = 'Size18'
1641
-- =====================================================================(0,391,0,10)
1642
local mask = God:Clone()
1643
mask.Name = 'mask'
1644
mask.Parent = Body
1645
mask.Position = UDim2.new(0,236,0,170)
1646
mask.Text = 'Shy'
1647
mask.FontSize = 'Size18'
1648
mask.BackgroundColor3 = Color3.new(1,.5,.5)
1649
-- =====================================================================
1650
local Shirtset = God:Clone()
1651
Shirtset.Name = 'Shirtset'
1652
Shirtset.Parent = Body
1653
Shirtset.Position = UDim2.new(0,82.5,0,130)
1654
Shirtset.Text = 'Set'
1655
-- =====================================================================
1656
local Pantsset = God:Clone()
1657
Pantsset.Name = 'Pantsset'
1658
Pantsset.Parent = Body
1659
Pantsset.Position = UDim2.new(0,82.5,0,170)
1660
Pantsset.Text = 'Set'
1661
1662
-- ===================================================================== 81,5
1663
local Bunny = God:Clone()
1664
Bunny.Name = 'Bunny'
1665
Bunny.Parent = Body
1666
Bunny.Position = UDim2.new(0,318.5,0,50)
1667
Bunny.Text = 'Bunny'
1668
-- ===================================================================== 81,5
1669
local Noob = God:Clone()
1670
Noob.Name = 'Noob'
1671
Noob.Parent = Body
1672
Noob.Position = UDim2.new(0,318.5,0,90)
1673
Noob.Text = 'Noob'
1674
-- ===================================================================== 81,5
1675
local Kitty = God:Clone()
1676
Kitty.Name = 'Kitty'
1677
Kitty.Parent = Body
1678
Kitty.Position = UDim2.new(0,318.5,0,130)
1679
Kitty.Text = 'Kitty'
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
-- *********************************************************************
1694
1695
Saypress.MouseButton1Down:connect(function()
1696
local ChatService = game:GetService("Chat")
1697
ChatService:Chat(char.Head, "" .. Chattext.Text)		
1698
end)
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
God.MouseButton1Down:connect(function()
1709
	BC.HeadColor = BrickColor.new(PlayerName.Text)
1710
	BC.LeftArmColor = BrickColor.new(PlayerName.Text)
1711
	BC.LeftLegColor = BrickColor.new(PlayerName.Text)
1712
	BC.RightArmColor = BrickColor.new(PlayerName.Text)
1713
	BC.RightLegColor = BrickColor.new(PlayerName.Text)
1714
pn3.BrickColor = BrickColor.new(PlayerName.Text)
1715
pn4.BrickColor = BrickColor.new(PlayerName.Text)
1716
skin.BrickColor = BrickColor.new(PlayerName.Text)
1717
end)
1718
-- =====================================================================
1719
KillPlr.MouseButton1Down:connect(function()
1720
pn.BrickColor = BrickColor.new(PlayerName.Text)
1721
p.BrickColor = BrickColor.new(PlayerName.Text)
1722
pn0.BrickColor = BrickColor.new(PlayerName.Text)
1723
BC.TorsoColor = BrickColor.new(PlayerName.Text)
1724
hat2.BrickColor = BrickColor.new(PlayerName.Text)
1725
hat3.BrickColor = BrickColor.new(PlayerName.Text)
1726
pn5.BrickColor = BrickColor.new(PlayerName.Text)
1727
pn7.BrickColor = BrickColor.new(PlayerName.Text)
1728
pn8.BrickColor = BrickColor.new(PlayerName.Text)
1729
pn9.BrickColor = BrickColor.new(PlayerName.Text)
1730
tail3.BrickColor = BrickColor.new(PlayerName.Text)
1731
end)
1732
-- =====================================================================
1733
TpTo.MouseButton1Down:connect(function()
1734
 if Playing == false and Pressed == false then	
1735
TpTo.BackgroundColor3 = Color3.new(1,.5,.5)
1736
TpTo.Text = 'Stop'
1737
Pressed = true
1738
radio.Transparency = 0		
1739
GlowParticle.Transparency = NumberSequence.new(.3,.8)		
1740
GlowParticle2.Transparency = NumberSequence.new(.3,.8)			
1741
GlowParticle3.Transparency = NumberSequence.new(.3,.8)	
1742
wait()
1743
	sound:Play()
1744
	Playing = true
1745
end
1746
 if Playing == true and Pressed == false then
1747
TpTo.BackgroundColor3 = Color3.new(.5,1,.5)
1748
TpTo.Text = 'Play'
1749
Pressed = true
1750
radio.Transparency = 1		
1751
GlowParticle.Transparency = NumberSequence.new(1)		
1752
GlowParticle2.Transparency = NumberSequence.new(1)			
1753
GlowParticle3.Transparency = NumberSequence.new(1)	
1754
wait()
1755
	sound:Stop()
1756
	Playing = false
1757
end
1758
wait()
1759
Pressed = false
1760
end)
1761
-- =====================================================================
1762
TpMe.MouseButton1Down:connect(function()
1763
if Hat1 == true and Pressed == false then
1764
TpMe.Text = 'Hat 2'
1765
pn0.Transparency = 1
1766
hat2.Transparency = 0
1767
Pressed = true
1768
wait()
1769
Hat1 = false
1770
Hat2 = true
1771
end
1772
if Hat2 == true and Pressed == false then
1773
TpMe.Text = 'Hat 3'
1774
hat2.Transparency = 1
1775
hat3.Transparency = 0
1776
Pressed = true
1777
wait()
1778
Hat2 = false
1779
Hat3 = true
1780
end
1781
if Hat3 == true and Pressed == false then
1782
TpMe.Text = 'Hat 0'
1783
hat3.Transparency = 1
1784
Pressed = true
1785
wait()
1786
Hat3 = false
1787
Hat0 = true
1788
end
1789
if Hat0 == true and Pressed == false then
1790
TpMe.Text = 'Hat 1'
1791
pn0.Transparency = 0
1792
Pressed = true
1793
wait()
1794
Hat3 = false
1795
Hat1 = true
1796
end
1797
wait()
1798
Pressed = false
1799
end)
1800
-- =====================================================================
1801
G36K.MouseButton1Down:connect(function()
1802
 if Anim2 == false and Pressed == false then
1803
G36K.BackgroundColor3 = Color3.new(1,.5,.5)
1804
Pressed = true
1805
wait()
1806
Anim2 = true
1807
end
1808
if Anim2 == true and Pressed == false then
1809
G36K.BackgroundColor3 = Color3.new(.5,1,.5)
1810
Pressed = true
1811
wait()
1812
Anim2 = false
1813
end
1814
wait()
1815
Pressed = false
1816
end)
1817
-- =====================================================================
1818
TpMe2.MouseButton1Down:connect(function()
1819
if Hair1 == true and Pressed == false then
1820
TpMe2.Text = 'Hair 2'
1821
Hood.Transparency = 1
1822
pn6.Transparency = 1
1823
hair2.Transparency = 0
1824
Pressed = true
1825
wait()
1826
Hair1 = false
1827
Hair2 = true
1828
end
1829
if Hair2 == true and Pressed == false then
1830
TpMe2.Text = 'Hair 3'
1831
Hood.Transparency = 0
1832
pn6.Transparency = 1
1833
hair2.Transparency = 1
1834
Pressed = true
1835
wait()
1836
Hair2 = false
1837
Hair3 = true
1838
end
1839
if Hair3 == true and Pressed == false then
1840
TpMe2.Text = 'Hair 0'
1841
Hood.Transparency = 1
1842
pn6.Transparency = 1
1843
hair2.Transparency = 1
1844
Pressed = true
1845
wait()
1846
Hair3 = false
1847
Hair0 = true
1848
end
1849
if Hair0 == true and Pressed == false then
1850
TpMe2.Text = 'Hair 1'
1851
Hood.Transparency = 0
1852
pn6.Transparency = 0
1853
hair2.Transparency = 0
1854
Pressed = true
1855
wait()
1856
Hair0 = false
1857
Hair1 = true
1858
end
1859
wait()
1860
Pressed = false
1861
end)
1862
-- =====================================================================
1863
Haircol.MouseButton1Down:connect(function()
1864
hair2.BrickColor = BrickColor.new(PlayerName.Text)
1865
Hood.BrickColor = BrickColor.new(PlayerName.Text)
1866
pn6.BrickColor = BrickColor.new(PlayerName.Text)
1867
end)
1868
-- =====================================================================
1869
Tail.MouseButton1Down:connect(function()
1870
if Tail1 == true and Pressed == false then
1871
Tail.Text = 'Tail 2'
1872
pn5.Transparency = 1
1873
pn7.Transparency = 1
1874
pn8.Transparency = 1
1875
pn9.Transparency = 1
1876
tail2.Transparency = 0
1877
Pressed = true
1878
wait()
1879
Tail1 = false
1880
Tail2 = true
1881
end
1882
if Tail2 == true and Pressed == false then
1883
Tail.Text = 'Tail 3'
1884
tail2.Transparency = 1
1885
tail3.Transparency = 0
1886
Pressed = true
1887
wait()
1888
Tail2 = false
1889
Tail3 = true
1890
end
1891
if Tail3 == true and Pressed == false then
1892
Tail.Text = 'Tail 0'
1893
tail3.Transparency = 1
1894
Pressed = true
1895
wait()
1896
Tail3 = false
1897
Tail0 = true
1898
end
1899
if Tail0 == true and Pressed == false then
1900
Tail.Text = 'Tail 1'
1901
pn5.Transparency = 0
1902
pn7.Transparency = 0
1903
pn8.Transparency = 0
1904
pn9.Transparency = 0
1905
Pressed = true
1906
wait()
1907
Tail0 = false
1908
Tail1 = true
1909
end
1910
wait()
1911
Pressed = false
1912
end)
1913
-- =====================================================================
1914
Torso2.MouseButton1Down:connect(function()
1915
if torso1 == true and Pressed == false then
1916
Pressed = true
1917
M69.MeshId = "rbxassetid://456901040"
1918
M69.Scale = Vector3.new( 1, 1, 1)
1919
Torso2.Text = 'Torso 2'
1920
wait()
1921
torso1 = false
1922
torso2 = true
1923
end
1924
if torso2 == true and Pressed == false then
1925
Pressed = true
1926
M69.MeshId = "rbxassetid://48112070"
1927
M69.Scale = Vector3.new( 1.093, 1, 1)
1928
Torso2.Text = 'Torso 1'
1929
wait()
1930
torso1 = true
1931
torso2 = false
1932
end
1933
wait()
1934
Pressed = false
1935
end)
1936
-- =====================================================================
1937
Bkit.MouseButton1Down:connect(function()
1938
if bkit1 == true and Pressed == false then
1939
Pressed = true
1940
p.Transparency = 0
1941
pn.Transparency = 0
1942
pn3.Transparency = 1
1943
pn4.Transparency = 1
1944
skin.Transparency = 1
1945
Bkit.Text = 'Bkit 2'
1946
wait()
1947
bkit1 = false
1948
bkit2 = true
1949
end
1950
if bkit2 == true and Pressed == false then
1951
Pressed = true
1952
p.Transparency = 1
1953
pn.Transparency = 1
1954
pn3.Transparency = 1
1955
pn4.Transparency = 1
1956
skin.Transparency = 1
1957
Bkit.Text = 'Bkit 0'
1958
wait()
1959
bkit2 = false
1960
bkit0 = true
1961
end
1962
if bkit0 == true and Pressed == false then
1963
Pressed = true
1964
p.Transparency = 0
1965
pn.Transparency = 0
1966
pn3.Transparency = 0
1967
pn4.Transparency = 0
1968
skin.Transparency = 0
1969
Bkit.Text = 'Bkit 1'
1970
wait()
1971
bkit0 = false
1972
bkit1 = true
1973
end
1974
wait()
1975
Pressed = false
1976
end)
1977
-- =====================================================================
1978
Mouth.MouseButton1Down:connect(function()
1979
----2-----
1980
if mouth1 == true and Pressed == false then
1981
Mouth.Text = 'Mouth 2'
1982
newface.Texture = "rbxassetid://186681690"
1983
Orbd.Transparency = 1
1984
Pressed = true
1985
wait()
1986
mouth1 = false
1987
mouth2 = true
1988
end
1989
----3-----
1990
if mouth2 == true and Pressed == false then
1991
Mouth.Text = 'Mouth 3'
1992
newface.Texture = "rbxassetid://322781877"
1993
Orbd.Transparency = 1
1994
Pressed = true
1995
wait()
1996
mouth2 = false
1997
mouth3 = true
1998
end
1999
----4-----
2000
if mouth3 == true and Pressed == false then
2001
Mouth.Text = 'Mouth 4'
2002
newface.Texture = "rbxassetid://186682603"
2003
Orbd.Transparency = 1
2004
Pressed = true
2005
wait()
2006
mouth3 = false
2007
mouth4 = true
2008
end
2009
----5-----
2010
if mouth4 == true and Pressed == false then
2011
Mouth.Text = 'Mouth 5'
2012
newface.Texture = "rbxassetid://133379869"
2013
Orbd.Transparency = 1
2014
Pressed = true
2015
wait()
2016
mouth4 = false
2017
mouth5 = true
2018
end
2019
----6-----
2020
if mouth5 == true and Pressed == false then
2021
Mouth.Text = 'Mouth 6'
2022
newface.Texture = "rbxassetid://186683091"
2023
Orbd.Transparency = 1
2024
Pressed = true
2025
wait()
2026
mouth5 = false
2027
mouth6 = true
2028
end
2029
----7-----
2030
if mouth6 == true and Pressed == false then
2031
Mouth.Text = 'Mouth 7'
2032
newface.Texture = "rbxassetid://186682277"
2033
Orbd.Transparency = 1
2034
Pressed = true
2035
wait()
2036
mouth6 = false
2037
mouth7 = true
2038
end
2039
----1-----
2040
if mouth7 == true and Pressed == false then
2041
Mouth.Text = 'Mouth 1'
2042
newface.Texture = "rbxassetid://"
2043
Orbd.Transparency = 0
2044
Pressed = true
2045
wait()
2046
mouth6 = false
2047
mouth1 = true
2048
end
2049
----------
2050
wait()
2051
Pressed = false
2052
end)
2053
-- =====================================================================
2054
Eyes.MouseButton1Down:connect(function()
2055
if eye3 == true and Pressed == false then
2056
Pressed = true
2057
char.Head.face.Texture = "rbxassetid://176204308"
2058
Eyes.Text = 'Eye 1'
2059
wait()
2060
eye3 = false
2061
eye1 = true
2062
end
2063
if eye1 == true and Pressed == false then
2064
Pressed = true
2065
char.Head.face.Texture = "rbxassetid://176210835"
2066
Eyes.Text = 'Eye 2'
2067
wait()
2068
eye1 = false
2069
eye2 = true
2070
end
2071
if eye2 == true and Pressed == false then
2072
Pressed = true
2073
char.Head.face.Texture = "rbxassetid://176206791"
2074
Eyes.Text = 'Eye 3'
2075
wait()
2076
eye2 = false
2077
eye3 = true
2078
end
2079
wait()
2080
Pressed = false
2081
end)
2082
-- =====================================================================
2083
mask.MouseButton1Down:connect(function()
2084
if MaskOn == true and Pressed == false then
2085
Mask.Transparency = 1
2086
Pressed = true
2087
mask.BackgroundColor3 = Color3.new(1,.5,.5)
2088
wait()
2089
MaskOn = false
2090
MaskOff = true
2091
end
2092
if MaskOff == true and Pressed == false then
2093
Mask.Transparency = 0
2094
Pressed = true
2095
mask.BackgroundColor3 = Color3.new(.5,1,.5)
2096
wait()
2097
MaskOn = true
2098
MaskOff = false
2099
end
2100
wait()
2101
Pressed = false
2102
end)
2103
-- =====================================================================
2104
Shirtset.MouseButton1Down:connect(function()
2105
char049.Shirt.ShirtTemplate = "rbxassetid://" .. ColTex3.Text
2106
end)
2107
-- =====================================================================
2108
Pantsset.MouseButton1Down:connect(function()
2109
char049.Pants.PantsTemplate = "rbxassetid://" .. ColTex4.Text
2110
end)
2111
-- =====================================================================
2112
Bunny.MouseButton1Down:connect(function()
2113
--------------
2114
MaskOn = true
2115
MaskOff = false
2116
--------------
2117
Anim2 = false
2118
--------------
2119
eye1 = true
2120
eye2 = false
2121
eye3 = false
2122
--------------
2123
mouth1 = false
2124
mouth2 = false
2125
mouth3 = false
2126
mouth4 = true
2127
mouth5 = false
2128
mouth6 = false
2129
mouth7 = false
2130
--------------
2131
bkit0 = false
2132
bkit1 = true
2133
bkit2 = false
2134
--------------
2135
torso1 = true
2136
torso2 = false
2137
--------------
2138
Tail0 = false
2139
Tail1 = false
2140
Tail2 = true
2141
Tail3 = false
2142
--------------
2143
Hair0 = false
2144
Hair1 = false
2145
Hair2 = true
2146
Hair3 = false
2147
--------------
2148
Hat0 = false
2149
Hat1 = false
2150
Hat2 = true
2151
Hat3 = false
2152
--------------
2153
char.Head.face.Texture = "rbxassetid://176204308"
2154
Eyes.Text = 'Eye 1'
2155
--------------
2156
Mouth.Text = 'Mouth 4'
2157
newface.Texture = "rbxassetid://186682603"
2158
Orbd.Transparency = 1
2159
--------------
2160
p.Transparency = 0
2161
pn.Transparency = 0
2162
pn3.Transparency = 0
2163
pn4.Transparency = 0
2164
skin.Transparency = 0
2165
Bkit.Text = 'Bkit 1'
2166
--------------
2167
M69.MeshId = "rbxassetid://48112070"
2168
M69.Scale = Vector3.new( 1.093, 1, 1)
2169
Torso2.Text = 'Torso 1'
2170
--------------
2171
Tail.Text = 'Tail 2'
2172
pn5.Transparency = 1
2173
pn7.Transparency = 1
2174
pn8.Transparency = 1
2175
pn9.Transparency = 1
2176
tail2.Transparency = 0
2177
tail3.Transparency = 1
2178
--------------
2179
hair2.BrickColor = BrickColor.new("Cool yellow")
2180
Hood.BrickColor = BrickColor.new("Cool yellow")
2181
pn6.BrickColor = BrickColor.new("Cool yellow")
2182
--------------
2183
TpMe2.Text = 'Hair 2'
2184
Hood.Transparency = 1
2185
pn6.Transparency = 1
2186
hair2.Transparency = 0
2187
--------------
2188
TpMe.Text = 'Hat 2'
2189
pn0.Transparency = 1
2190
hat2.Transparency = 0
2191
hat3.Transparency = 1
2192
--------------
2193
pn.BrickColor = BrickColor.new("Really black")
2194
p.BrickColor = BrickColor.new("Really black")
2195
pn0.BrickColor = BrickColor.new("Really black")
2196
BC.TorsoColor = BrickColor.new("Really black")
2197
hat2.BrickColor = BrickColor.new("Really black")
2198
hat3.BrickColor = BrickColor.new("Really black")
2199
pn5.BrickColor = BrickColor.new("Really black")
2200
pn7.BrickColor = BrickColor.new("Really black")
2201
pn8.BrickColor = BrickColor.new("Really black")
2202
pn9.BrickColor = BrickColor.new("Really black")
2203
tail3.BrickColor = BrickColor.new("Really black")
2204
--------------
2205
BC.HeadColor = BrickColor.new("Pastel brown")
2206
BC.LeftArmColor = BrickColor.new("Pastel brown")
2207
BC.LeftLegColor = BrickColor.new("Pastel brown")
2208
BC.RightArmColor = BrickColor.new("Pastel brown")
2209
BC.RightLegColor = BrickColor.new("Pastel brown")
2210
pn3.BrickColor = BrickColor.new("Pastel brown")
2211
pn4.BrickColor = BrickColor.new("Pastel brown")
2212
skin.BrickColor = BrickColor.new("Pastel brown")
2213
--------------
2214
char049.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=147949556"
2215
char049.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=145038586"
2216
--------------
2217
Mask.Transparency = 0
2218
mask.BackgroundColor3 = Color3.new(.5,1,.5)
2219
--------------
2220
G36K.BackgroundColor3 = Color3.new(.5,1,.5)
2221
end)
2222
-- =====================================================================
2223
2224
Noob.MouseButton1Down:connect(function()
2225
--------------
2226
MaskOn = true
2227
MaskOff = false
2228
--------------
2229
Anim2 = true
2230
--------------
2231
eye1 = false
2232
eye2 = false
2233
eye3 = true
2234
--------------
2235
mouth1 = false
2236
mouth2 = true
2237
mouth3 = false
2238
mouth4 = false
2239
mouth5 = false
2240
mouth6 = false
2241
mouth7 = false
2242
--------------
2243
bkit0 = true
2244
bkit1 = false
2245
bkit2 = false
2246
--------------
2247
torso1 = false
2248
torso2 = true
2249
--------------
2250
Tail0 = true
2251
Tail1 = false
2252
Tail2 = false
2253
Tail3 = false
2254
--------------
2255
Hair0 = true
2256
Hair1 = false
2257
Hair2 = false
2258
Hair3 = false
2259
--------------
2260
Hat0 = true
2261
Hat1 = false
2262
Hat2 = false
2263
Hat3 = false
2264
--------------
2265
char.Head.face.Texture = "rbxassetid://176206791"
2266
Eyes.Text = 'Eye 3'
2267
--------------
2268
Mouth.Text = 'Mouth 2'
2269
newface.Texture = "rbxassetid://186681690"
2270
Orbd.Transparency = 1
2271
--------------
2272
p.Transparency = 1
2273
pn.Transparency = 1
2274
pn3.Transparency = 1
2275
pn4.Transparency = 1
2276
skin.Transparency = 1
2277
Bkit.Text = 'Bkit 0'
2278
--------------
2279
M69.MeshId = "rbxassetid://456901040"
2280
M69.Scale = Vector3.new( 1, 1, 1)
2281
Torso2.Text = 'Torso 2'
2282
--------------
2283
Tail.Text = 'Tail 0'
2284
pn5.Transparency = 1
2285
pn7.Transparency = 1
2286
pn8.Transparency = 1
2287
pn9.Transparency = 1
2288
tail2.Transparency = 1
2289
tail3.Transparency = 1
2290
--------------
2291
hair2.BrickColor = BrickColor.new("Black")
2292
Hood.BrickColor = BrickColor.new("Black")
2293
pn6.BrickColor = BrickColor.new("Black")
2294
--------------
2295
TpMe2.Text = 'Hair 0'
2296
Hood.Transparency = 1
2297
pn6.Transparency = 1
2298
hair2.Transparency = 1
2299
--------------
2300
TpMe.Text = 'Hat 0'
2301
pn0.Transparency = 1
2302
hat2.Transparency = 1
2303
hat3.Transparency = 1
2304
--------------
2305
pn.BrickColor = BrickColor.new("Deep blue")
2306
p.BrickColor = BrickColor.new("Deep blue")
2307
pn0.BrickColor = BrickColor.new("Deep blue")
2308
BC.TorsoColor = BrickColor.new("Deep blue")
2309
hat2.BrickColor = BrickColor.new("Deep blue")
2310
hat3.BrickColor = BrickColor.new("Deep blue")
2311
pn5.BrickColor = BrickColor.new("Deep blue")
2312
pn7.BrickColor = BrickColor.new("Deep blue")
2313
pn8.BrickColor = BrickColor.new("Deep blue")
2314
pn9.BrickColor = BrickColor.new("Deep blue")
2315
tail3.BrickColor = BrickColor.new("Deep blue")
2316
--------------
2317
BC.HeadColor = BrickColor.new("Bright yellow")
2318
BC.LeftArmColor = BrickColor.new("Bright yellow")
2319
BC.LeftLegColor = BrickColor.new("Br. yellowish green")
2320
BC.RightArmColor = BrickColor.new("Bright yellow")
2321
BC.RightLegColor = BrickColor.new("Br. yellowish green")
2322
pn3.BrickColor = BrickColor.new("Bright yellow")
2323
pn4.BrickColor = BrickColor.new("Bright yellow")
2324
skin.BrickColor = BrickColor.new("Bright yellow")
2325
--------------
2326
char049.Shirt.ShirtTemplate = "rbxassetid://"
2327
char049.Pants.PantsTemplate = "rbxassetid://"
2328
--------------
2329
Mask.Transparency = 1
2330
mask.BackgroundColor3 = Color3.new(1,.5,.5)
2331
--------------
2332
G36K.BackgroundColor3 = Color3.new(1,.5,.5)
2333
end)
2334
2335
-- =====================================================================
2336
Kitty.MouseButton1Down:connect(function()
2337
2338
--------------
2339
MaskOn = true
2340
MaskOff = false
2341
--------------
2342
Anim2 = false
2343
--------------
2344
eye1 = false
2345
eye2 = true
2346
eye3 = false
2347
--------------
2348
mouth1 = false
2349
mouth2 = false
2350
mouth3 = false
2351
mouth4 = true
2352
mouth5 = false
2353
mouth6 = false
2354
mouth7 = false
2355
--------------
2356
bkit0 = false
2357
bkit1 = true
2358
bkit2 = false
2359
--------------
2360
torso1 = true
2361
torso2 = false
2362
--------------
2363
Tail0 = false
2364
Tail1 = false
2365
Tail2 = false
2366
Tail3 = true
2367
--------------
2368
Hair0 = false
2369
Hair1 = true
2370
Hair2 = false
2371
Hair3 = false
2372
--------------
2373
Hat0 = false
2374
Hat1 = false
2375
Hat2 = false
2376
Hat3 = true
2377
--------------
2378
char.Head.face.Texture = "rbxassetid://176210835"
2379
Eyes.Text = 'Eye 2'
2380
--------------
2381
Mouth.Text = 'Mouth 4'
2382
newface.Texture = "rbxassetid://186682603"
2383
Orbd.Transparency = 1
2384
--------------
2385
p.Transparency = 0
2386
pn.Transparency = 0
2387
pn3.Transparency = 0
2388
pn4.Transparency = 0
2389
skin.Transparency = 0
2390
Bkit.Text = 'Bkit 1'
2391
--------------
2392
M69.MeshId = "rbxassetid://48112070"
2393
M69.Scale = Vector3.new( 1.093, 1, 1)
2394
Torso2.Text = 'Torso 1'
2395
--------------
2396
Tail.Text = 'Tail 3'
2397
pn5.Transparency = 1
2398
pn7.Transparency = 1
2399
pn8.Transparency = 1
2400
pn9.Transparency = 1
2401
tail2.Transparency = 1
2402
tail3.Transparency = 0
2403
--------------
2404
hair2.BrickColor = BrickColor.new("White")
2405
Hood.BrickColor = BrickColor.new("White")
2406
pn6.BrickColor = BrickColor.new("White")
2407
--------------
2408
TpMe2.Text = 'Hair 1'
2409
Hood.Transparency = 0
2410
pn6.Transparency = 0
2411
hair2.Transparency = 0
2412
--------------
2413
TpMe.Text = 'Hat 3'
2414
pn0.Transparency = 1
2415
hat2.Transparency = 1
2416
hat3.Transparency = 0
2417
--------------
2418
pn.BrickColor = BrickColor.new("Really black")
2419
p.BrickColor = BrickColor.new("Really black")
2420
pn0.BrickColor = BrickColor.new("Really black")
2421
BC.TorsoColor = BrickColor.new("Really black")
2422
hat2.BrickColor = BrickColor.new("Really black")
2423
hat3.BrickColor = BrickColor.new("Really black")
2424
pn5.BrickColor = BrickColor.new("Really black")
2425
pn7.BrickColor = BrickColor.new("Really black")
2426
pn8.BrickColor = BrickColor.new("Really black")
2427
pn9.BrickColor = BrickColor.new("Really black")
2428
tail3.BrickColor = BrickColor.new("Really black")
2429
--------------
2430
BC.HeadColor = BrickColor.new("Fossil")
2431
BC.LeftArmColor = BrickColor.new("Fossil")
2432
BC.LeftLegColor = BrickColor.new("Fossil")
2433
BC.RightArmColor = BrickColor.new("Fossil")
2434
BC.RightLegColor = BrickColor.new("Fossil")
2435
pn3.BrickColor = BrickColor.new("Fossil")
2436
pn4.BrickColor = BrickColor.new("Fossil")
2437
skin.BrickColor = BrickColor.new("Fossil")
2438
--------------
2439
char049.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=147949556"
2440
char049.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=78589488"
2441
--------------
2442
Mask.Transparency = 0
2443
mask.BackgroundColor3 = Color3.new(.5,1,.5)
2444
--------------
2445
G36K.BackgroundColor3 = Color3.new(.5,1,.5)
2446
end)
2447
2448
-- =====================================================================
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
Close.MouseButton1Down:connect(function()
2459
if Body.Visible == true then
2460
Body.Visible = false
2461
Close.Text = '+'
2462
Title.FontSize = 'Size24'
2463
Pull.Size = UDim2(0,125,0,12.5)
2464
elseif Body.Visible == false then
2465
Body.Visible = true
2466
Close.Text = 'X'
2467
Title.FontSize = 'Size48'
2468
Graf_f.Size = UDim2(0,500,0,50)
2469
end
2470
end)
2471
2472
2473
2474
2475
2476
---------------------------------------------------------------------------------
2477
2478
2479
2480
2481
2482
2483
2484
2485
local mesh = Instance.new("SpecialMesh",radio)
2486
mesh.MeshId = "http://www.roblox.com/asset/?id=151760030"
2487
mesh.TextureId = "rbxassetid://151760072"
2488
mesh.Scale = Vector3.new(.7, .7, .7)
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
ColTex2.Changed:connect(function()
2506
	sound.SoundId = "rbxassetid://" .. ColTex2.Text
2507
end)
2508
2509
2510
2511
while true do
2512
	if Playing then
2513
	
2514
				
2515
				
2516
				
2517
		
2518
		
2519
		mesh.Scale = Vector3.new(.71, .71, .71)
2520
		wait(.000001)			
2521
		mesh.Scale = Vector3.new(.709, .709, .709)
2522
		wait(.000001)
2523
		mesh.Scale = Vector3.new(.708, .708, .708)
2524
		wait(.000001)	
2525
		mesh.Scale = Vector3.new(.707, .707, .707)
2526
		wait(.000001)
2527
		mesh.Scale = Vector3.new(.706, .706, .706)
2528
		wait(.000001)	
2529
		mesh.Scale = Vector3.new(.705, .705, .705)
2530
		wait(.000001)	
2531
		mesh.Scale = Vector3.new(.704, .704, .704)
2532
		wait(.000001)	
2533
		mesh.Scale = Vector3.new(.703, .703, .703)
2534
		wait(.000001)	
2535
		mesh.Scale = Vector3.new(.702, .702, .702)
2536
		wait(.000001)
2537
		mesh.Scale = Vector3.new(.701, .701, .701)
2538
		wait(.000001)
2539
		
2540
		
2541
		
2542
		
2543
		mesh.Scale = Vector3.new(.7, .7, .7)
2544
	end
2545
	wait(.2)
2546
2547
2548
2549
2550
2551
2552
end