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