SHOW:
|
|
- or go back to the newest paste.
1 | ----------------------- | |
2 | --Voodoo Child-- | |
3 | ------------------------------------------------------- | |
4 | --A script By makhail07 | |
5 | ||
6 | --Discord Creterisk#2958 | |
7 | ------------------------------------------------------- | |
8 | ||
9 | local FavIDs = { | |
10 | 340106355, --Nefl Crystals | |
11 | 927529620, --Dimension | |
12 | 876981900, --Fantasy | |
13 | 398987889, --Ordinary Days | |
14 | 1117396305, --Oh wait, it's you. | |
15 | 885996042, --Action Winter Journey | |
16 | 919231299, --Sprawling Idiot Effigy | |
17 | 743466274, --Good Day Sunshine | |
18 | 727411183, --Knife Fight | |
19 | 1402748531, --The Earth Is Counting On You! | |
20 | 595230126 --Robot Language | |
21 | } | |
22 | ||
23 | ||
24 | ||
25 | --The reality of my life isn't real but a Universe -makhail07 | |
26 | wait() | |
27 | - | local plr = game:service'Players'.LocalPlayer |
27 | + | local plr = owner |
28 | print('Local User is '..plr.Name) | |
29 | local char = plr.Character | |
30 | local hum = char.Humanoid | |
31 | local ra = char["Right Arm"] | |
32 | local la= char["Left Arm"] | |
33 | local rl= char["Right Leg"] | |
34 | local ll = char["Left Leg"] | |
35 | local hed = char.Head | |
36 | local root = char.HumanoidRootPart | |
37 | local rootj = root.RootJoint | |
38 | local tors = char.Torso | |
39 | - | local mouse = plr:GetMouse() |
39 | + | |
40 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
41 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
42 | ||
43 | ||
44 | ------------------------------------------------------- | |
45 | --Start Good Stuff-- | |
46 | ------------------------------------------------------- | |
47 | CF = CFrame.new | |
48 | angles = CFrame.Angles | |
49 | attack = false | |
50 | Euler = CFrame.fromEulerAnglesXYZ | |
51 | Rad = math.rad | |
52 | IT = Instance.new | |
53 | BrickC = BrickColor.new | |
54 | Cos = math.cos | |
55 | Acos = math.acos | |
56 | Sin = math.sin | |
57 | Asin = math.asin | |
58 | Abs = math.abs | |
59 | Mrandom = math.random | |
60 | Floor = math.floor | |
61 | ------------------------------------------------------- | |
62 | --End Good Stuff-- | |
63 | ------------------------------------------------------- | |
64 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
65 | RSH, LSH = nil, nil | |
66 | RW = Instance.new("Weld") | |
67 | LW = Instance.new("Weld") | |
68 | RH = tors["Right Hip"] | |
69 | LH = tors["Left Hip"] | |
70 | RSH = tors["Right Shoulder"] | |
71 | LSH = tors["Left Shoulder"] | |
72 | RSH.Parent = nil | |
73 | LSH.Parent = nil | |
74 | RW.Name = "RW" | |
75 | RW.Part0 = tors | |
76 | RW.C0 = CF(1.5, 0.5, 0) | |
77 | RW.C1 = CF(0, 0.5, 0) | |
78 | RW.Part1 = ra | |
79 | RW.Parent = tors | |
80 | LW.Name = "LW" | |
81 | LW.Part0 = tors | |
82 | LW.C0 = CF(-1.5, 0.5, 0) | |
83 | LW.C1 = CF(0, 0.5, 0) | |
84 | LW.Part1 = la | |
85 | LW.Parent = tors | |
86 | Effects = {} | |
87 | ||
88 | ------------------------------------------------------- | |
89 | --Start HeartBeat-- | |
90 | ------------------------------------------------------- | |
91 | ArtificialHB = Instance.new("BindableEvent", script) | |
92 | ArtificialHB.Name = "Heartbeat" | |
93 | script:WaitForChild("Heartbeat") | |
94 | ||
95 | frame = 1 / 60 | |
96 | tf = 0 | |
97 | allowframeloss = false | |
98 | tossremainder = false | |
99 | ||
100 | ||
101 | lastframe = tick() | |
102 | script.Heartbeat:Fire() | |
103 | ||
104 | ||
105 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
106 | tf = tf + s | |
107 | if tf >= frame then | |
108 | if allowframeloss then | |
109 | script.Heartbeat:Fire() | |
110 | lastframe = tick() | |
111 | else | |
112 | for i = 1, math.floor(tf / frame) do | |
113 | script.Heartbeat:Fire() | |
114 | end | |
115 | lastframe = tick() | |
116 | end | |
117 | if tossremainder then | |
118 | tf = 0 | |
119 | else | |
120 | tf = tf - frame * math.floor(tf / frame) | |
121 | end | |
122 | end | |
123 | end) | |
124 | ------------------------------------------------------- | |
125 | --End HeartBeat-- | |
126 | ------------------------------------------------------- | |
127 | ||
128 | ------------------------------------------------------- | |
129 | --Start Important Functions-- | |
130 | ------------------------------------------------------- | |
131 | function swait(num) | |
132 | if num == 0 or num == nil then | |
133 | game:service("RunService").Stepped:wait(0) | |
134 | else | |
135 | for i = 0, num do | |
136 | game:service("RunService").Stepped:wait(0) | |
137 | end | |
138 | end | |
139 | end | |
140 | function thread(f) | |
141 | coroutine.resume(coroutine.create(f)) | |
142 | end | |
143 | function clerp(a, b, t) | |
144 | local qa = { | |
145 | QuaternionFromCFrame(a) | |
146 | } | |
147 | local qb = { | |
148 | QuaternionFromCFrame(b) | |
149 | } | |
150 | local ax, ay, az = a.x, a.y, a.z | |
151 | local bx, by, bz = b.x, b.y, b.z | |
152 | local _t = 1 - t | |
153 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
154 | end | |
155 | function QuaternionFromCFrame(cf) | |
156 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
157 | local trace = m00 + m11 + m22 | |
158 | if trace > 0 then | |
159 | local s = math.sqrt(1 + trace) | |
160 | local recip = 0.5 / s | |
161 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
162 | else | |
163 | local i = 0 | |
164 | if m00 < m11 then | |
165 | i = 1 | |
166 | end | |
167 | if m22 > (i == 0 and m00 or m11) then | |
168 | i = 2 | |
169 | end | |
170 | if i == 0 then | |
171 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
172 | local recip = 0.5 / s | |
173 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
174 | elseif i == 1 then | |
175 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
176 | local recip = 0.5 / s | |
177 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
178 | elseif i == 2 then | |
179 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
180 | local recip = 0.5 / s | |
181 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
182 | end | |
183 | end | |
184 | end | |
185 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
186 | local xs, ys, zs = x + x, y + y, z + z | |
187 | local wx, wy, wz = w * xs, w * ys, w * zs | |
188 | local xx = x * xs | |
189 | local xy = x * ys | |
190 | local xz = x * zs | |
191 | local yy = y * ys | |
192 | local yz = y * zs | |
193 | local zz = z * zs | |
194 | 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)) | |
195 | end | |
196 | function QuaternionSlerp(a, b, t) | |
197 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
198 | local startInterp, finishInterp | |
199 | if cosTheta >= 1.0E-4 then | |
200 | if 1 - cosTheta > 1.0E-4 then | |
201 | local theta = math.acos(cosTheta) | |
202 | local invSinTheta = 1 / Sin(theta) | |
203 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
204 | finishInterp = Sin(t * theta) * invSinTheta | |
205 | else | |
206 | startInterp = 1 - t | |
207 | finishInterp = t | |
208 | end | |
209 | elseif 1 + cosTheta > 1.0E-4 then | |
210 | local theta = math.acos(-cosTheta) | |
211 | local invSinTheta = 1 / Sin(theta) | |
212 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
213 | finishInterp = Sin(t * theta) * invSinTheta | |
214 | else | |
215 | startInterp = t - 1 | |
216 | finishInterp = t | |
217 | end | |
218 | 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 | |
219 | end | |
220 | function rayCast(Position, Direction, Range, Ignore) | |
221 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
222 | end | |
223 | local RbxUtility = LoadLibrary("RbxUtility") | |
224 | local Create = RbxUtility.Create | |
225 | ||
226 | ------------------------------------------------------- | |
227 | --Start Damage Function-- | |
228 | ------------------------------------------------------- | |
229 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
230 | if hit.Parent == nil then | |
231 | return | |
232 | end | |
233 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
234 | for _, v in pairs(hit.Parent:children()) do | |
235 | if v:IsA("Humanoid") then | |
236 | h = v | |
237 | end | |
238 | end | |
239 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
240 | ||
241 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
242 | end | |
243 | ||
244 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
245 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
246 | if hit.Parent.DebounceHit.Value == true then | |
247 | return | |
248 | end | |
249 | end | |
250 | if insta == true then | |
251 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
252 | end | |
253 | local c = Create("ObjectValue"){ | |
254 | Name = "creator", | |
255 | Value = game:service("Players").LocalPlayer, | |
256 | Parent = h, | |
257 | } | |
258 | game:GetService("Debris"):AddItem(c, .5) | |
259 | if HitSound ~= nil and HitPitch ~= nil then | |
260 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
261 | end | |
262 | local Damage = math.random(minim, maxim) | |
263 | local blocked = false | |
264 | local block = hit.Parent:findFirstChild("Block") | |
265 | if block ~= nil then | |
266 | if block.className == "IntValue" then | |
267 | if block.Value > 0 then | |
268 | blocked = true | |
269 | block.Value = block.Value - 1 | |
270 | print(block.Value) | |
271 | end | |
272 | end | |
273 | end | |
274 | if blocked == false then | |
275 | h.Health = h.Health - Damage | |
276 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
277 | else | |
278 | h.Health = h.Health - (Damage / 2) | |
279 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
280 | end | |
281 | if Type == "Knockdown" then | |
282 | local hum = hit.Parent.Humanoid | |
283 | hum.PlatformStand = true | |
284 | coroutine.resume(coroutine.create(function(HHumanoid) | |
285 | swait(1) | |
286 | HHumanoid.PlatformStand = false | |
287 | end), hum) | |
288 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
289 | local bodvol = Create("BodyVelocity"){ | |
290 | velocity = angle * knockback, | |
291 | P = 5000, | |
292 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
293 | Parent = hit, | |
294 | } | |
295 | local rl = Create("BodyAngularVelocity"){ | |
296 | P = 3000, | |
297 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
298 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
299 | Parent = hit, | |
300 | } | |
301 | game:GetService("Debris"):AddItem(bodvol, .5) | |
302 | game:GetService("Debris"):AddItem(rl, .5) | |
303 | elseif Type == "Normal" then | |
304 | local vp = Create("BodyVelocity"){ | |
305 | P = 500, | |
306 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
307 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
308 | } | |
309 | if knockback > 0 then | |
310 | vp.Parent = hit.Parent.Torso | |
311 | end | |
312 | game:GetService("Debris"):AddItem(vp, .5) | |
313 | elseif Type == "Up" then | |
314 | local bodyVelocity = Create("BodyVelocity"){ | |
315 | velocity = Vector3.new(0, 20, 0), | |
316 | P = 5000, | |
317 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
318 | Parent = hit, | |
319 | } | |
320 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
321 | elseif Type == "DarkUp" then | |
322 | coroutine.resume(coroutine.create(function() | |
323 | for i = 0, 1, 0.1 do | |
324 | swait() | |
325 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
326 | end | |
327 | end)) | |
328 | local bodyVelocity = Create("BodyVelocity"){ | |
329 | velocity = Vector3.new(0, 20, 0), | |
330 | P = 5000, | |
331 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
332 | Parent = hit, | |
333 | } | |
334 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
335 | elseif Type == "Snare" then | |
336 | local bp = Create("BodyPosition"){ | |
337 | P = 2000, | |
338 | D = 100, | |
339 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
340 | position = hit.Parent.Torso.Position, | |
341 | Parent = hit.Parent.Torso, | |
342 | } | |
343 | game:GetService("Debris"):AddItem(bp, 1) | |
344 | elseif Type == "Freeze" then | |
345 | local BodPos = Create("BodyPosition"){ | |
346 | P = 50000, | |
347 | D = 1000, | |
348 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
349 | position = hit.Parent.Torso.Position, | |
350 | Parent = hit.Parent.Torso, | |
351 | } | |
352 | local BodGy = Create("BodyGyro") { | |
353 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
354 | P = 20e+003, | |
355 | Parent = hit.Parent.Torso, | |
356 | cframe = hit.Parent.Torso.CFrame, | |
357 | } | |
358 | hit.Parent.Torso.Anchored = true | |
359 | coroutine.resume(coroutine.create(function(Part) | |
360 | swait(1.5) | |
361 | Part.Anchored = false | |
362 | end), hit.Parent.Torso) | |
363 | game:GetService("Debris"):AddItem(BodPos, 3) | |
364 | game:GetService("Debris"):AddItem(BodGy, 3) | |
365 | end | |
366 | local debounce = Create("BoolValue"){ | |
367 | Name = "DebounceHit", | |
368 | Parent = hit.Parent, | |
369 | Value = true, | |
370 | } | |
371 | game:GetService("Debris"):AddItem(debounce, Delay) | |
372 | c = Create("ObjectValue"){ | |
373 | Name = "creator", | |
374 | Value = Player, | |
375 | Parent = h, | |
376 | } | |
377 | game:GetService("Debris"):AddItem(c, .5) | |
378 | end | |
379 | end | |
380 | ------------------------------------------------------- | |
381 | --End Damage Function-- | |
382 | ------------------------------------------------------- | |
383 | ||
384 | ------------------------------------------------------- | |
385 | --Start Damage Function Customization-- | |
386 | ------------------------------------------------------- | |
387 | function ShowDamage(Pos, Text, Time, Color) | |
388 | local Rate = (1 / 30) | |
389 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
390 | local Text = (Text or "") | |
391 | local Time = (Time or 2) | |
392 | local Color = (Color or Color3.new(1, 0, 1)) | |
393 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
394 | EffectPart.Anchored = true | |
395 | local BillboardGui = Create("BillboardGui"){ | |
396 | Size = UDim2.new(3, 0, 3, 0), | |
397 | Adornee = EffectPart, | |
398 | Parent = EffectPart, | |
399 | } | |
400 | local TextLabel = Create("TextLabel"){ | |
401 | BackgroundTransparency = 1, | |
402 | Size = UDim2.new(1, 0, 1, 0), | |
403 | Text = Text, | |
404 | Font = "Bodoni", | |
405 | TextColor3 = Color, | |
406 | TextScaled = true, | |
407 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
408 | Parent = BillboardGui, | |
409 | } | |
410 | game.Debris:AddItem(EffectPart, (Time)) | |
411 | EffectPart.Parent = game:GetService("Workspace") | |
412 | delay(0, function() | |
413 | local Frames = (Time / Rate) | |
414 | for Frame = 1, Frames do | |
415 | wait(Rate) | |
416 | local Percent = (Frame / Frames) | |
417 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
418 | TextLabel.TextTransparency = Percent | |
419 | end | |
420 | if EffectPart and EffectPart.Parent then | |
421 | EffectPart:Destroy() | |
422 | end | |
423 | end) | |
424 | end | |
425 | ------------------------------------------------------- | |
426 | --End Damage Function Customization-- | |
427 | ------------------------------------------------------- | |
428 | ||
429 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
430 | for _, c in pairs(workspace:children()) do | |
431 | local hum = c:findFirstChild("Humanoid") | |
432 | if hum ~= nil then | |
433 | local head = c:findFirstChild("Head") | |
434 | if head ~= nil then | |
435 | local targ = head.Position - Part.Position | |
436 | local mag = targ.magnitude | |
437 | if magni >= mag and c.Name ~= plr.Name then | |
438 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
439 | end | |
440 | end | |
441 | end | |
442 | end | |
443 | end | |
444 | ||
445 | ||
446 | CFuncs = { | |
447 | Part = { | |
448 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
449 | local Part = Create("Part")({ | |
450 | Parent = Parent, | |
451 | Reflectance = Reflectance, | |
452 | Transparency = Transparency, | |
453 | CanCollide = false, | |
454 | Locked = true, | |
455 | BrickColor = BrickColor.new(tostring(BColor)), | |
456 | Name = Name, | |
457 | Size = Size, | |
458 | Material = Material | |
459 | }) | |
460 | RemoveOutlines(Part) | |
461 | return Part | |
462 | end | |
463 | }, | |
464 | Mesh = { | |
465 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
466 | local Msh = Create(Mesh)({ | |
467 | Parent = Part, | |
468 | Offset = OffSet, | |
469 | Scale = Scale | |
470 | }) | |
471 | if Mesh == "SpecialMesh" then | |
472 | Msh.MeshType = MeshType | |
473 | Msh.MeshId = MeshId | |
474 | end | |
475 | return Msh | |
476 | end | |
477 | }, | |
478 | Mesh = { | |
479 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
480 | local Msh = Create(Mesh)({ | |
481 | Parent = Part, | |
482 | Offset = OffSet, | |
483 | Scale = Scale | |
484 | }) | |
485 | if Mesh == "SpecialMesh" then | |
486 | Msh.MeshType = MeshType | |
487 | Msh.MeshId = MeshId | |
488 | end | |
489 | return Msh | |
490 | end | |
491 | }, | |
492 | Weld = { | |
493 | Create = function(Parent, Part0, Part1, C0, C1) | |
494 | local Weld = Create("Weld")({ | |
495 | Parent = Parent, | |
496 | Part0 = Part0, | |
497 | Part1 = Part1, | |
498 | C0 = C0, | |
499 | C1 = C1 | |
500 | }) | |
501 | return Weld | |
502 | end | |
503 | }, | |
504 | Sound = { | |
505 | Create = function(id, par, vol, pit) | |
506 | coroutine.resume(coroutine.create(function() | |
507 | local S = Create("Sound")({ | |
508 | Volume = vol, | |
509 | Pitch = pit or 1, | |
510 | SoundId = id, | |
511 | Parent = par or workspace | |
512 | }) | |
513 | wait() | |
514 | S:play() | |
515 | game:GetService("Debris"):AddItem(S, 6) | |
516 | end)) | |
517 | end | |
518 | }, | |
519 | ParticleEmitter = { | |
520 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
521 | local fp = Create("ParticleEmitter")({ | |
522 | Parent = Parent, | |
523 | Color = ColorSequence.new(Color1, Color2), | |
524 | LightEmission = LightEmission, | |
525 | Size = Size, | |
526 | Texture = Texture, | |
527 | Transparency = Transparency, | |
528 | ZOffset = ZOffset, | |
529 | Acceleration = Accel, | |
530 | Drag = Drag, | |
531 | LockedToPart = LockedToPart, | |
532 | VelocityInheritance = VelocityInheritance, | |
533 | EmissionDirection = EmissionDirection, | |
534 | Enabled = Enabled, | |
535 | Lifetime = LifeTime, | |
536 | Rate = Rate, | |
537 | Rotation = Rotation, | |
538 | RotSpeed = RotSpeed, | |
539 | Speed = Speed, | |
540 | VelocitySpread = VelocitySpread | |
541 | }) | |
542 | return fp | |
543 | end | |
544 | } | |
545 | } | |
546 | function RemoveOutlines(part) | |
547 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
548 | end | |
549 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
550 | local Part = Create("Part")({ | |
551 | formFactor = FormFactor, | |
552 | Parent = Parent, | |
553 | Reflectance = Reflectance, | |
554 | Transparency = Transparency, | |
555 | CanCollide = false, | |
556 | Locked = true, | |
557 | BrickColor = BrickColor.new(tostring(BColor)), | |
558 | Name = Name, | |
559 | Size = Size, | |
560 | Material = Material | |
561 | }) | |
562 | RemoveOutlines(Part) | |
563 | return Part | |
564 | end | |
565 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
566 | local Msh = Create(Mesh)({ | |
567 | Parent = Part, | |
568 | Offset = OffSet, | |
569 | Scale = Scale | |
570 | }) | |
571 | if Mesh == "SpecialMesh" then | |
572 | Msh.MeshType = MeshType | |
573 | Msh.MeshId = MeshId | |
574 | end | |
575 | return Msh | |
576 | end | |
577 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
578 | local Weld = Create("Weld")({ | |
579 | Parent = Parent, | |
580 | Part0 = Part0, | |
581 | Part1 = Part1, | |
582 | C0 = C0, | |
583 | C1 = C1 | |
584 | }) | |
585 | return Weld | |
586 | end | |
587 | ||
588 | ||
589 | ------------------------------------------------------- | |
590 | --Start Effect Function-- | |
591 | ------------------------------------------------------- | |
592 | EffectModel = Instance.new("Model", char) | |
593 | Effects = { | |
594 | Block = { | |
595 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
596 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
597 | prt.Anchored = true | |
598 | prt.CFrame = cframe | |
599 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
600 | game:GetService("Debris"):AddItem(prt, 10) | |
601 | if Type == 1 or Type == nil then | |
602 | table.insert(Effects, { | |
603 | prt, | |
604 | "Block1", | |
605 | delay, | |
606 | x3, | |
607 | y3, | |
608 | z3, | |
609 | msh | |
610 | }) | |
611 | elseif Type == 2 then | |
612 | table.insert(Effects, { | |
613 | prt, | |
614 | "Block2", | |
615 | delay, | |
616 | x3, | |
617 | y3, | |
618 | z3, | |
619 | msh | |
620 | }) | |
621 | else | |
622 | table.insert(Effects, { | |
623 | prt, | |
624 | "Block3", | |
625 | delay, | |
626 | x3, | |
627 | y3, | |
628 | z3, | |
629 | msh | |
630 | }) | |
631 | end | |
632 | end | |
633 | }, | |
634 | Sphere = { | |
635 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
636 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
637 | prt.Anchored = true | |
638 | prt.CFrame = cframe | |
639 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
640 | game:GetService("Debris"):AddItem(prt, 10) | |
641 | table.insert(Effects, { | |
642 | prt, | |
643 | "Cylinder", | |
644 | delay, | |
645 | x3, | |
646 | y3, | |
647 | z3, | |
648 | msh | |
649 | }) | |
650 | end | |
651 | }, | |
652 | Cylinder = { | |
653 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
654 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
655 | prt.Anchored = true | |
656 | prt.CFrame = cframe | |
657 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
658 | game:GetService("Debris"):AddItem(prt, 10) | |
659 | table.insert(Effects, { | |
660 | prt, | |
661 | "Cylinder", | |
662 | delay, | |
663 | x3, | |
664 | y3, | |
665 | z3, | |
666 | msh | |
667 | }) | |
668 | end | |
669 | }, | |
670 | Wave = { | |
671 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
672 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
673 | prt.Anchored = true | |
674 | prt.CFrame = cframe | |
675 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
676 | game:GetService("Debris"):AddItem(prt, 10) | |
677 | table.insert(Effects, { | |
678 | prt, | |
679 | "Cylinder", | |
680 | delay, | |
681 | x3 / 60, | |
682 | y3 / 60, | |
683 | z3 / 60, | |
684 | msh | |
685 | }) | |
686 | end | |
687 | }, | |
688 | Ring = { | |
689 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
690 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
691 | prt.Anchored = true | |
692 | prt.CFrame = cframe | |
693 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
694 | game:GetService("Debris"):AddItem(prt, 10) | |
695 | table.insert(Effects, { | |
696 | prt, | |
697 | "Cylinder", | |
698 | delay, | |
699 | x3, | |
700 | y3, | |
701 | z3, | |
702 | msh | |
703 | }) | |
704 | end | |
705 | }, | |
706 | Break = { | |
707 | Create = function(brickcolor, cframe, x1, y1, z1) | |
708 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
709 | prt.Anchored = true | |
710 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
711 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
712 | local num = math.random(10, 50) / 1000 | |
713 | game:GetService("Debris"):AddItem(prt, 10) | |
714 | table.insert(Effects, { | |
715 | prt, | |
716 | "Shatter", | |
717 | num, | |
718 | prt.CFrame, | |
719 | math.random() - math.random(), | |
720 | 0, | |
721 | math.random(50, 100) / 100 | |
722 | }) | |
723 | end | |
724 | }, | |
725 | Spiral = { | |
726 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
727 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
728 | prt.Anchored = true | |
729 | prt.CFrame = cframe | |
730 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
731 | game:GetService("Debris"):AddItem(prt, 10) | |
732 | table.insert(Effects, { | |
733 | prt, | |
734 | "Cylinder", | |
735 | delay, | |
736 | x3, | |
737 | y3, | |
738 | z3, | |
739 | msh | |
740 | }) | |
741 | end | |
742 | }, | |
743 | Push = { | |
744 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
745 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
746 | prt.Anchored = true | |
747 | prt.CFrame = cframe | |
748 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
749 | game:GetService("Debris"):AddItem(prt, 10) | |
750 | table.insert(Effects, { | |
751 | prt, | |
752 | "Cylinder", | |
753 | delay, | |
754 | x3, | |
755 | y3, | |
756 | z3, | |
757 | msh | |
758 | }) | |
759 | end | |
760 | } | |
761 | } | |
762 | ------------------------------------------------------- | |
763 | --End Effect Function-- | |
764 | ------------------------------------------------------- | |
765 | ||
766 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
767 | local NSound = nil | |
768 | coroutine.resume(coroutine.create(function() | |
769 | NSound = Instance.new("Sound", PARENT) | |
770 | NSound.Volume = VOLUME | |
771 | NSound.Pitch = PITCH | |
772 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
773 | swait() | |
774 | NSound:play() | |
775 | game:GetService("Debris"):AddItem(NSound, 10) | |
776 | end)) | |
777 | return NSound | |
778 | end | |
779 | ||
780 | --Very lazi from here to below except the animations but who cares /shrug | |
781 | function chatfunc(text) | |
782 | local chat = coroutine.wrap(function() | |
783 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
784 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
785 | end | |
786 | local naeeym2 = Instance.new("BillboardGui",char) | |
787 | naeeym2.Size = UDim2.new(0,100,0,40) | |
788 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
789 | naeeym2.Adornee = char.Head | |
790 | naeeym2.Name = "TalkingBillBoard" | |
791 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
792 | tecks2.BackgroundTransparency = 1 | |
793 | tecks2.BorderSizePixel = 0 | |
794 | tecks2.Text = "" | |
795 | tecks2.Font = "Bodoni" | |
796 | tecks2.TextSize = 30 | |
797 | tecks2.TextStrokeTransparency = 0 | |
798 | tecks2.TextColor3 = Color3.new(255,0,0) | |
799 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
800 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
801 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
802 | tecks3.BackgroundTransparency = 1 | |
803 | tecks3.BorderSizePixel = 0 | |
804 | tecks3.Text = "" | |
805 | tecks3.Font = "Bodoni" | |
806 | tecks3.TextSize = 30 | |
807 | tecks3.TextStrokeTransparency = 0 | |
808 | tecks3.TextColor3 = Color3.new(255,0,0) | |
809 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
810 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
811 | coroutine.resume(coroutine.create(function() | |
812 | while tecks3 ~= nil do | |
813 | swait() | |
814 | tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
815 | tecks3.Rotation = math.random(-3,3) | |
816 | tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0) | |
817 | tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0) | |
818 | end | |
819 | end)) | |
820 | for i = 1,string.len(text),1 do | |
821 | tecks2.Text = string.sub(text,1,i) | |
822 | tecks3.Text = string.sub(text,1,i) | |
823 | wait(0.01) | |
824 | end | |
825 | wait(2) | |
826 | for i = 1, 50 do | |
827 | swait() | |
828 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
829 | tecks2.Rotation = tecks2.Rotation - .8 | |
830 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
831 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
832 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
833 | tecks3.Rotation = tecks2.Rotation + .8 | |
834 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
835 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
836 | end | |
837 | naeeym2:Destroy() | |
838 | end) | |
839 | chat() | |
840 | end | |
841 | function onChatted(msg) | |
842 | chatfunc(msg) | |
843 | end | |
844 | --plr.Chatted:connect(onChatted) | |
845 | ||
846 | abss = Instance.new("BillboardGui",char) | |
847 | abss.Size = UDim2.new(10,0,10,0) | |
848 | abss.Enabled = false | |
849 | imgl = Instance.new("ImageLabel",abss) | |
850 | imgl.Position = UDim2.new(0,0,0,0) | |
851 | imgl.Size = UDim2.new(1,0,1,0) | |
852 | imgl.Image = "rbxassetid://153485522" | |
853 | imgl.BackgroundTransparency = 1 | |
854 | imgl.ImageColor3 = Color3.new(.9,0,0) | |
855 | img2 = Instance.new("ImageLabel",abss) | |
856 | img2.Position = UDim2.new(0,0,0,0) | |
857 | img2.Size = UDim2.new(1,0,1,0) | |
858 | img2.Image = "rbxassetid://153485522" | |
859 | img2.BackgroundTransparency = 1 | |
860 | img2.ImageColor3 = Color3.new(.9,0,0) | |
861 | ||
862 | function TargetSelect(person) | |
863 | local dd=coroutine.wrap(function() | |
864 | if targetted ~= person then | |
865 | targetted = person | |
866 | img2.Size = UDim2.new(1,0,1,0) | |
867 | img2.ImageTransparency = 0 | |
868 | img2.Position = UDim2.new(0,0,0,0) | |
869 | for i = 0, 2, 0.1 do | |
870 | swait() | |
871 | img2.Size = img2.Size + UDim2.new(.05,0,.05,0) | |
872 | img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0) | |
873 | img2.ImageTransparency = img2.ImageTransparency + 0.05 | |
874 | end | |
875 | end | |
876 | end) | |
877 | dd() | |
878 | end | |
879 | ||
880 | function dmg(dude) | |
881 | if dude.Name ~= char then | |
882 | dude:FindFirstChildOfClass("Humanoid").PlatformStand = true | |
883 | local bgf = Instance.new("BodyGyro",dude.Head) | |
884 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
885 | local val = Instance.new("BoolValue",dude) | |
886 | val.Name = "IsHit" | |
887 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso") | |
888 | local partasdeff = Instance.new("ParticleEmitter",torsy) | |
889 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
890 | partasdeff.LightEmission = .1 | |
891 | partasdeff.Size = NumberSequence.new(0.2) | |
892 | partasdeff.Texture = "rbxassetid://771221224" | |
893 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
894 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
895 | partasdeff.Transparency = bbb | |
896 | partasdeff.Size = aaa | |
897 | partasdeff.ZOffset = .9 | |
898 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
899 | partasdeff.LockedToPart = false | |
900 | partasdeff.EmissionDirection = "Back" | |
901 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
902 | partasdeff.Rate = 1000 | |
903 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
904 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
905 | partasdeff.Speed = NumberRange.new(6) | |
906 | partasdeff.VelocitySpread = 10000 | |
907 | partasdeff.Enabled=false | |
908 | partasdeff:Emit(30) | |
909 | coroutine.wrap(function() | |
910 | targetted = nil | |
911 | swait(30) | |
912 | dude:BreakJoints() | |
913 | swait(5) | |
914 | dude:FindFirstChildOfClass("Humanoid"):Destroy() | |
915 | for i=0,1,.05 do | |
916 | for a,v in pairs(dude:GetChildren()) do | |
917 | if v:IsA("BasePart") then | |
918 | v.Transparency = i | |
919 | end | |
920 | end | |
921 | swait() | |
922 | end | |
923 | for a,v in pairs(dude:GetChildren()) do | |
924 | if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then | |
925 | v.ParticleEmitter.Enabled = false | |
926 | end | |
927 | game:service'Debris':AddItem(v,2) | |
928 | end | |
929 | end)() | |
930 | end | |
931 | end | |
932 | ||
933 | --lazi | |
934 | function kdown(dd) | |
935 | if dd.Name ~= char then | |
936 | dd.Humanoid.PlatformStand = true | |
937 | local bgf = Instance.new("BodyGyro",dd.Head) | |
938 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
939 | local val = Instance.new("BoolValue",dd) | |
940 | val.Name = "IsHit" | |
941 | end | |
942 | end | |
943 | ||
944 | function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
945 | --local buddy | |
946 | for _, c in pairs(workspace:children()) do | |
947 | local hum = c:findFirstChild("Humanoid") | |
948 | if hum ~= nil then | |
949 | local head = c:findFirstChild("Torso") | |
950 | if head ~= nil then | |
951 | local targ = head.Position - Part.Position | |
952 | local mag = targ.magnitude | |
953 | if mag <= Magnitude and c.Name ~= plr.Name then | |
954 | if c.Name ~= char then | |
955 | if c.Name ~= "makhail07" and c.Name ~= "Nebula_Zorua" and c.Name ~= "KillerDarkness0105" and c.Name ~= "Salvo_Starly" then | |
956 | local asd = Instance.new("ParticleEmitter",c.Torso) | |
957 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
958 | asd.LightEmission = .1 | |
959 | asd.Size = NumberSequence.new(0.2) | |
960 | asd.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
961 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
962 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
963 | asd.Transparency = bbb | |
964 | asd.Size = aaa | |
965 | asd.ZOffset = .9 | |
966 | asd.Acceleration = Vector3.new(0, -5, 0) | |
967 | asd.LockedToPart = false | |
968 | asd.EmissionDirection = "Back" | |
969 | asd.Lifetime = NumberRange.new(1, 2) | |
970 | asd.Rate = 1000 | |
971 | asd.Rotation = NumberRange.new(-100, 100) | |
972 | asd.RotSpeed = NumberRange.new(-100, 100) | |
973 | asd.Speed = NumberRange.new(6) | |
974 | asd.VelocitySpread = 10000 | |
975 | asd.Enabled=true | |
976 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
977 | dmg(c) | |
978 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8) | |
979 | coroutine.wrap(function() | |
980 | wait(.2) | |
981 | asd.Enabled = false | |
982 | wait(2) | |
983 | asd:Remove() | |
984 | end)() | |
985 | else | |
986 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3)) | |
987 | Effects.Sphere.Create(BrickColor.new("Bright red"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04) | |
988 | ||
989 | end | |
990 | end | |
991 | end | |
992 | end | |
993 | end | |
994 | end | |
995 | end | |
996 | ||
997 | ------------------------------------------------------- | |
998 | --End Important Functions-- | |
999 | ------------------------------------------------------- | |
1000 | ||
1001 | --[[ | |
1002 | Thanks for using Build-To-Lua by jarredbcv. | |
1003 | ]]-- | |
1004 | ||
1005 | New = function(Object, Parent, Name, Data) | |
1006 | local Object = Instance.new(Object) | |
1007 | for Index, Value in pairs(Data or {}) do | |
1008 | Object[Index] = Value | |
1009 | end | |
1010 | Object.Parent = Parent | |
1011 | Object.Name = Name | |
1012 | return Object | |
1013 | end | |
1014 | ||
1015 | Doll = New("Model",char,"Doll",{}) | |
1016 | Handle = New("Part",Doll,"Handle",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.755005181, 0.52783519, 0.664805532),CFrame = CFrame.new(17.7066402, 4.04866695, 4.38868618, -0.408491671, 0.666965187, -0.623126268, 0.353551745, 0.745008111, 0.565648913, 0.841502249, 0.0107554942, -0.540138841),Color = Color3.new(0.792157, 0.74902, 0.639216),}) | |
1017 | Mesh = New("CylinderMesh",Handle,"Mesh",{}) | |
1018 | --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1019 | --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1020 | --Decal = New("Decal",Handle,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1021 | --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1022 | --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1023 | --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1024 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.8601875, 3.91987228, 3.94369364, 0.725253046, -0.0676794797, 0.685131192, -0.652452052, -0.385200739, 0.652613878, 0.219753951, -0.920328677, -0.3235268),Color = Color3.new(0.792157, 0.74902, 0.639216),}) | |
1025 | Mesh = New("CylinderMesh",Part,"Mesh",{}) | |
1026 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1027 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1028 | --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1029 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1030 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1031 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1032 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.725257337, -0.652455866, 0.219753742, -0.0676780641, -0.385204077, -0.920336843, 0.685135007, 0.652616382, -0.323529661),C1 = CFrame.new(-0.482725382, 0.00167179108, 0.0718259811, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1033 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.834486, 3.79168725, 3.64936543, 0.0676793754, -0.685130835, 0.725253344, 0.385200799, -0.652614176, -0.652451873, 0.920328736, 0.323526919, 0.219753981),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),}) | |
1034 | --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1035 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1036 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1037 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1038 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1039 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1040 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0676779449, 0.385204136, 0.920336902, -0.685134649, -0.65261662, 0.32352975, 0.725257695, -0.652455688, 0.219753742),C1 = CFrame.new(-0.765227079, -0.114135742, 0.174312592, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1041 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.469902, 4.25766516, 4.74769306, 0.445832253, 0.789082885, 0.422561586, -0.410611928, -0.239177942, 0.879868925, 0.795366764, -0.565779567, 0.217372388),Color = Color3.new(0.792157, 0.74902, 0.639216),}) | |
1042 | Mesh = New("CylinderMesh",Part,"Mesh",{}) | |
1043 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1044 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1045 | --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1046 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1047 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1048 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1049 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.445833862, -0.410613358, 0.795372128, 0.789088428, -0.239180744, -0.565785825, 0.422562867, 0.879873633, 0.217374772),C1 = CFrame.new(0.472706556, 0.0016708374, 0.0718240738, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1050 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.1839867, 3.98582673, 3.75731707, 0.429396152, -0.706048965, 0.563108683, -0.389012426, -0.70731467, -0.590215027, 0.815025091, 0.0343795903, -0.578376234),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),}) | |
1051 | --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1052 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1053 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1054 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1055 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1056 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1057 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.429397583, -0.389013648, 0.815030634, -0.706052482, -0.707317889, 0.0343799815, 0.563113213, -0.590219498, -0.57838279),C1 = CFrame.new(-0.340019703, -0.402200699, 0.631163597, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1058 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.3263435, 3.86502314, 4.01973581, 0.563109279, -0.429397821, 0.706047297, -0.590211987, 0.389013797, 0.707316399, -0.578378439, -0.815023482, -0.0343782082),Color = Color3.new(0.792157, 0.74902, 0.639216),}) | |
1059 | Mesh = New("CylinderMesh",Part,"Mesh",{}) | |
1060 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1061 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1062 | --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1063 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1064 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1065 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1066 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.563113868, -0.590216458, -0.578384995, -0.429399252, 0.389015079, -0.815029025, 0.706050813, 0.707319558, -0.0343785957),C1 = CFrame.new(-0.220053911, -0.394431114, 0.332381248, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1067 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.1463699, 4.02708626, 4.39648008, 0.0949088037, -0.73499012, 0.671386242, -0.165235519, 0.653441608, 0.738708198, -0.981658518, -0.181056261, -0.0594294369),Color = Color3.new(0.792157, 0.74902, 0.639216),}) | |
1068 | Mesh = New("CylinderMesh",Part,"Mesh",{}) | |
1069 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1070 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1071 | --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1072 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1073 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1074 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1075 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0949110687, -0.165237904, -0.981667101, -0.734994531, 0.653445482, -0.181055605, 0.67138958, 0.738711536, -0.0594298989),C1 = CFrame.new(0.227796555, -0.389676094, 0.33270359, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1076 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(16.9056702, 4.23298216, 4.33822775, 0.734989643, -0.671386659, 0.0949084461, -0.65344131, -0.738707781, -0.165238559, 0.18105793, 0.0594319291, -0.981658101),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),}) | |
1077 | --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1078 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1079 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1080 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1081 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1082 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1083 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.734994054, -0.653445184, 0.181057304, -0.671389878, -0.738711119, 0.0594324097, 0.0949106514, -0.165240943, -0.981666625),C1 = CFrame.new(0.349896908, -0.397447586, 0.630620956, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1084 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.668146014, 0.668146014, 0.668146014),CFrame = CFrame.new(17.5317345, 3.8532939, 4.38586617, -0.408485681, -0.666960537, 0.62312144, 0.353546619, -0.745002985, -0.565644801, 0.841490149, -0.01075528, 0.540134549),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),}) | |
1085 | --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1086 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1087 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1088 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1089 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1090 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1091 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.408489615, 0.353550047, 0.841498256, -0.666963577, -0.745006442, -0.0107553881, 0.623124659, -0.565647602, 0.540137351),C1 = CFrame.new(2.38418579e-07, -0.262242317, -9.53674316e-07, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1092 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.2187252, 4.32988024, 4.93205738, 0.445832521, -0.422561586, 0.789083481, -0.410612077, -0.879869342, -0.239178166, 0.795367122, -0.217372417, -0.565779924),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),}) | |
1093 | --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1094 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1095 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1096 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1097 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1098 | --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",}) | |
1099 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.4458341, -0.410613567, 0.795372486, -0.422562897, -0.879873991, -0.217374831, 0.789088964, -0.239180893, -0.565786123),C1 = CFrame.new(0.755987883, -0.110072136, 0.169605255, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1100 | Part = New("Part",Doll,"Part",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.668145955, 0.668145835, 0.668145955),CFrame = CFrame.new(18.08988, 4.4767499, 4.39486742, 0.408485681, 0.666960537, 0.62312144, -0.353546619, 0.745002985, -0.565644801, -0.841490149, 0.01075528, 0.540134549),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
1101 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.267258376, 0.267258346, 0.267258376),MeshId = "rbxassetid://511959728",TextureId = "rbxassetid://511959832",MeshType = Enum.MeshType.FileMesh,}) | |
1102 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.408489615, -0.353550047, -0.841498256, 0.666963577, 0.745006442, 0.0107553881, 0.623124659, -0.565647602, 0.540137351),C1 = CFrame.new(7.15255737e-07, 0.574602127, -9.53674316e-07, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1103 | ConeMesh = New("Part",Doll,"ConeMesh",{Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.334072918, 0.200000003),CFrame = CFrame.new(17.9875202, 4.01644802, 3.77061558, -0.0676794201, -0.685131192, -0.725253105, -0.385200799, -0.652613878, 0.652452171, -0.920328856, 0.3235268, -0.219753891),CanCollide = false,}) | |
1104 | Mesh = New("SpecialMesh",ConeMesh,"Mesh",{Scale = Vector3.new(0.0100221895, 0.334072918, 0.0100221895),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,}) | |
1105 | mot = New("Motor",ConeMesh,"mot",{Part0 = ConeMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0676780194, -0.385204077, -0.920336962, -0.685135007, -0.652616382, 0.323529661, -0.725257397, 0.652455926, -0.219753653),C1 = CFrame.new(-0.646242142, 0.156686783, 0.14059639, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1106 | ConeMesh = New("Part",Doll,"ConeMesh",{Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.334072918, 0.200000003),CFrame = CFrame.new(17.5272255, 4.25228214, 4.19855928, 0.0679666698, 0.36827448, 0.927217185, -0.212974086, -0.902587652, 0.374107033, 0.974675775, -0.222893685, 0.017090857),CanCollide = false,}) | |
1107 | Mesh = New("SpecialMesh",ConeMesh,"Mesh",{Scale = Vector3.new(0.0100221895, 0.334072918, 0.0100221895),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,}) | |
1108 | mot = New("Motor",ConeMesh,"mot",{Part0 = ConeMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0679656863, -0.212973878, 0.974683523, 0.368277669, -0.902593136, -0.22289744, 0.927222073, 0.374108285, 0.0170900673),C1 = CFrame.new(-0.0147144794, 0.0299873352, 0.329668999, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1109 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Bright red"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Ball,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(18.0725803, 4.09775925, 3.73087263, 0.0676794201, 0.685131252, -0.725253105, 0.385200679, 0.652613938, 0.652452171, 0.920328856, -0.32352671, -0.219753891),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),}) | |
1110 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,}) | |
1111 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0676779896, 0.385204017, 0.920336962, 0.685135067, 0.652616382, -0.323529571, -0.725257397, 0.652455926, -0.219753653),C1 = CFrame.new(-0.685684681, 0.273569107, 0.155054092, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1112 | Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Bright red"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Ball,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(17.4762096, 4.37637663, 4.2292285, 0.0679666698, 0.927216947, -0.368275285, -0.212974086, 0.374107838, 0.902587295, 0.974675775, 0.0170910954, 0.222893804),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),}) | |
1113 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,}) | |
1114 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0679656863, -0.212973878, 0.974683523, 0.927221835, 0.374109089, 0.0170903057, -0.368278474, 0.902592778, 0.22289747),C1 = CFrame.new(0.0758080482, 0.0887422562, 0.4150877, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),}) | |
1115 | ||
1116 | --lazi xd | |
1117 | Needle = New("Model",char,"Needle",{}) | |
1118 | Handle2 = New("Part",Needle,"Handle2",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 2.4000001, 1),CFrame = CFrame.new(16.3492584, 4.78270006, 4.07852173, 0.0870969296, 0.578728557, -0.810855865, 0.54097569, -0.710955501, -0.449318945, -0.836516261, -0.399518967, -0.375000119),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
1119 | Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(0.100000001, 0.800000012, 0.100000001),MeshId = "http://www.roblox.com/asset/?id=1082802",MeshType = Enum.MeshType.FileMesh,}) | |
1120 | ||
1121 | ||
1122 | for _, v in pairs(Doll:GetChildren()) do | |
1123 | if v:IsA'BasePart' then | |
1124 | v.CanCollide = false | |
1125 | end | |
1126 | end | |
1127 | ||
1128 | for _, v in pairs(Needle:GetChildren()) do | |
1129 | if v:IsA'BasePart' then | |
1130 | v.CanCollide = false | |
1131 | end | |
1132 | end | |
1133 | ||
1134 | ||
1135 | local NewInstance = function(instance,parent,properties) | |
1136 | local inst = Instance.new(instance,parent) | |
1137 | if(properties)then | |
1138 | for i,v in next, properties do | |
1139 | pcall(function() inst[i] = v end) | |
1140 | end | |
1141 | end | |
1142 | return inst; | |
1143 | end | |
1144 | local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(-.2,-.8,-.4)*CFrame.Angles(math.rad(-30),math.rad(220),math.rad(65))}) | |
1145 | ||
1146 | local HW2 = NewInstance('Weld',char,{Part0=la,Part1=Handle2,C0 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(125),math.rad(90))}) | |
1147 | ||
1148 | ||
1149 | ||
1150 | ------------------------------------------------------- | |
1151 | --Start Music Option-- | |
1152 | ------------------------------------------------------- | |
1153 | local Music = Instance.new("Sound",tors) | |
1154 | Music.Volume = 2.5 | |
1155 | Music.SoundId = "rbxassetid://803936798" --536675558 1470848774 | |
1156 | Music.Looped = true | |
1157 | Music.Pitch = .9 --Pitcher | |
1158 | Music:Play() | |
1159 | ------------------------------------------------------- | |
1160 | --End Music Option-- | |
1161 | ------------------------------------------------------- | |
1162 | ||
1163 | ||
1164 | ------------------------------------------------------- | |
1165 | --Start Attacks N Stuff-- | |
1166 | ------------------------------------------------------- | |
1167 | local sine=0 | |
1168 | function LockOn() | |
1169 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1170 | TargetSelect(mouse.Target.Parent) | |
1171 | CreateSound("743521450", char, 1, .8) | |
1172 | end | |
1173 | end | |
1174 | ||
1175 | ||
1176 | ||
1177 | function Stab_Them_For_FUN() | |
1178 | attack = true | |
1179 | hum.WalkSpeed = 0 | |
1180 | if targetted.Name ~= "makhail07" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then | |
1181 | local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso") | |
1182 | local partasdeff = Instance.new("ParticleEmitter",torsy) | |
1183 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
1184 | partasdeff.LightEmission = .1 | |
1185 | partasdeff.Size = NumberSequence.new(0.2) | |
1186 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
1187 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1188 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1189 | partasdeff.Transparency = bbb | |
1190 | partasdeff.Size = aaa | |
1191 | partasdeff.ZOffset = .9 | |
1192 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1193 | partasdeff.LockedToPart = false | |
1194 | partasdeff.EmissionDirection = "Back" | |
1195 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1196 | partasdeff.Rate = 1000 | |
1197 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1198 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1199 | partasdeff.Speed = NumberRange.new(6) | |
1200 | partasdeff.VelocitySpread = 10000 | |
1201 | partasdeff.Enabled=false | |
1202 | for i = 0, 1.4, 0.1 do | |
1203 | swait() | |
1204 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1205 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3) | |
1206 | if Mrandom(1,15) == 1 then | |
1207 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1208 | end | |
1209 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1210 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1211 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
1212 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
1213 | end | |
1214 | dmg(targetted) | |
1215 | partasdeff.Enabled=true | |
1216 | CreateSound("429400881", torsy, 10, .8) | |
1217 | for i = 0, 1.4, 0.1 do | |
1218 | swait() | |
1219 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1220 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3) | |
1221 | if Mrandom(1,15) == 1 then | |
1222 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1223 | end | |
1224 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1225 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1226 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
1227 | LW.C0 = clerp(LW.C0, CF(-.4, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(65)), 0.1) | |
1228 | end | |
1229 | partasdeff.Enabled=false | |
1230 | for i = 0, 1.4, 0.1 do | |
1231 | swait() | |
1232 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1233 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3) | |
1234 | if Mrandom(1,15) == 1 then | |
1235 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1236 | end | |
1237 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1238 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1239 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
1240 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
1241 | end | |
1242 | attack = false | |
1243 | hum.WalkSpeed = 8 | |
1244 | elseif targetted.Name == "makhail07" then | |
1245 | for i = 0, 2.4, 0.1 do | |
1246 | swait() | |
1247 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1248 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3) | |
1249 | if Mrandom(1,15) == 1 then | |
1250 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1251 | end | |
1252 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1253 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1254 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
1255 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
1256 | end | |
1257 | for i = 0, 2.4, 0.1 do | |
1258 | swait() | |
1259 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1260 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3) | |
1261 | if Mrandom(1,15) == 1 then | |
1262 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1263 | end | |
1264 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1265 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1266 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
1267 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
1268 | end | |
1269 | coroutine.wrap(function() | |
1270 | wait(2) | |
1271 | --partasdeff:Remove() | |
1272 | end)() | |
1273 | local sel = Mrandom(1,3) | |
1274 | if sel == 1 then | |
1275 | chatfunc("Hmhmhm, Why try?") | |
1276 | elseif sel == 2 then | |
1277 | chatfunc("Stop it that's my creator.") | |
1278 | elseif sel == 3 then | |
1279 | chatfunc("I can't do that...") | |
1280 | end | |
1281 | wait(2) | |
1282 | hum.WalkSpeed = 8 | |
1283 | attack = false | |
1284 | elseif targetted.Name == "Salvo_Starly" then | |
1285 | for i = 0, 2.4, 0.1 do | |
1286 | swait() | |
1287 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1288 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3) | |
1289 | if Mrandom(1,15) == 1 then | |
1290 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1291 | end | |
1292 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1293 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1294 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
1295 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
1296 | end | |
1297 | for i = 0, 2.4, 0.1 do | |
1298 | swait() | |
1299 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1300 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3) | |
1301 | if Mrandom(1,15) == 1 then | |
1302 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1303 | end | |
1304 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1305 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1306 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
1307 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
1308 | end | |
1309 | coroutine.wrap(function() | |
1310 | wait(2) | |
1311 | --partasdeff:Remove() | |
1312 | end)() | |
1313 | local sel = Mrandom(1,3) | |
1314 | if sel == 1 then | |
1315 | chatfunc("Sorry about that.") | |
1316 | elseif sel == 2 then | |
1317 | chatfunc("H-Hello. I almost killed you.") | |
1318 | elseif sel == 3 then | |
1319 | chatfunc("OwO?") | |
1320 | end | |
1321 | wait(2) | |
1322 | hum.WalkSpeed = 8 | |
1323 | attack = false | |
1324 | elseif targetted.Name == "Nebula_Zorua" then | |
1325 | for i = 0, 2.4, 0.1 do | |
1326 | swait() | |
1327 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1328 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3) | |
1329 | if Mrandom(1,15) == 1 then | |
1330 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1331 | end | |
1332 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1333 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1334 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
1335 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
1336 | end | |
1337 | for i = 0, 2.4, 0.1 do | |
1338 | swait() | |
1339 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1340 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3) | |
1341 | if Mrandom(1,15) == 1 then | |
1342 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1343 | end | |
1344 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1345 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1346 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
1347 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
1348 | end | |
1349 | coroutine.wrap(function() | |
1350 | wait(2) | |
1351 | --partasdeff:Remove() | |
1352 | end)() | |
1353 | local sel = Mrandom(1,3) | |
1354 | if sel == 1 then | |
1355 | chatfunc("Sorry, Nebula.") | |
1356 | elseif sel == 2 then | |
1357 | chatfunc("Theres no need to harm you. Yet...") | |
1358 | elseif sel == 3 then | |
1359 | chatfunc("My mistake.") | |
1360 | end | |
1361 | wait(2) | |
1362 | hum.WalkSpeed = 8 | |
1363 | attack = false | |
1364 | elseif targetted.Name == "KillerDarkness0105" then | |
1365 | for i = 0, 2.4, 0.1 do | |
1366 | swait() | |
1367 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1368 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3) | |
1369 | if Mrandom(1,15) == 1 then | |
1370 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1371 | end | |
1372 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1373 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1374 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
1375 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1) | |
1376 | end | |
1377 | for i = 0, 2.4, 0.1 do | |
1378 | swait() | |
1379 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1380 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3) | |
1381 | if Mrandom(1,15) == 1 then | |
1382 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1383 | end | |
1384 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1385 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1386 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
1387 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
1388 | end | |
1389 | coroutine.wrap(function() | |
1390 | wait(2) | |
1391 | --partasdeff:Remove() | |
1392 | end)() | |
1393 | local sel = Mrandom(1,3) | |
1394 | if sel == 1 then | |
1395 | chatfunc("Hm, Killer it's been a while.") | |
1396 | elseif sel == 2 then | |
1397 | chatfunc("No need for this.") | |
1398 | elseif sel == 3 then | |
1399 | chatfunc("Hello, sorry.") | |
1400 | end | |
1401 | wait(2) | |
1402 | hum.WalkSpeed = 8 | |
1403 | attack = false | |
1404 | end | |
1405 | end | |
1406 | ||
1407 | function Oh_No_AN_ERROR_Has_OcccccccurrEEEED() | |
1408 | attack = true | |
1409 | hum.WalkSpeed = 0 | |
1410 | if targetted.Name ~= "makhail07" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then | |
1411 | local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso") | |
1412 | local partasdeff = Instance.new("ParticleEmitter",torsy) | |
1413 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
1414 | partasdeff.LightEmission = .1 | |
1415 | partasdeff.Size = NumberSequence.new(0.2) | |
1416 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
1417 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1418 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1419 | partasdeff.Transparency = bbb | |
1420 | partasdeff.Size = aaa | |
1421 | partasdeff.ZOffset = .9 | |
1422 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1423 | partasdeff.LockedToPart = false | |
1424 | partasdeff.EmissionDirection = "Back" | |
1425 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1426 | partasdeff.Rate = 1000 | |
1427 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1428 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1429 | partasdeff.Speed = NumberRange.new(6) | |
1430 | partasdeff.VelocitySpread = 10000 | |
1431 | partasdeff.Enabled=false | |
1432 | for i = 0, 1.2, 0.1 do | |
1433 | swait() | |
1434 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1435 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
1436 | if Mrandom(1,15) == 1 then | |
1437 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1438 | end | |
1439 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1440 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1441 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1) | |
1442 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1443 | end | |
1444 | HW.Part0 = root | |
1445 | for i = 0, 1.8, 0.1 do | |
1446 | swait() | |
1447 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1448 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3) | |
1449 | if Mrandom(1,15) == 1 then | |
1450 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1451 | end | |
1452 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1453 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1454 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(5)), 0.1) | |
1455 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1456 | HW.C0 = clerp(HW.C0, CF(1,-2.9,-.7) * angles(Rad(-90), Rad(0), Rad(0)), 0.1) | |
1457 | end | |
1458 | kdown(targetted) | |
1459 | for i = 0, 1.6, 0.1 do | |
1460 | swait() | |
1461 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1462 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3) | |
1463 | if Mrandom(1,15) == 1 then | |
1464 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1465 | end | |
1466 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.8 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1467 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1468 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
1469 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1470 | end | |
1471 | for i = 1,7 do | |
1472 | partasdeff.Enabled = false | |
1473 | for i = 0, 1.6, 0.1 do | |
1474 | swait() | |
1475 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15) | |
1476 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
1477 | if Mrandom(1,15) == 1 then | |
1478 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1479 | end | |
1480 | RH.C0 = clerp(RH.C0, CF(1, -0.1 - 0.1 * Cos(sine / 20), -.8 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1481 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1482 | RW.C0 = clerp(RW.C0, CF(1.5, 0.3 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(15)), 0.1) | |
1483 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.3 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1) | |
1484 | end | |
1485 | CreateSound("429400881", torsy, 10, 1) | |
1486 | partasdeff.Enabled = true | |
1487 | for i = 0, 1.6, 0.1 do | |
1488 | swait() | |
1489 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1490 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
1491 | if Mrandom(1,15) == 1 then | |
1492 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1493 | end | |
1494 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), -.5 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(10)), 0.15) | |
1495 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1496 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(15)), 0.1) | |
1497 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1) | |
1498 | end | |
1499 | end | |
1500 | partasdeff.Enabled = false | |
1501 | dmg(targetted) | |
1502 | attack = false | |
1503 | HW.Part0 = ra | |
1504 | HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1) | |
1505 | hum.WalkSpeed = 8 | |
1506 | elseif targetted.Name == "makhail07" then | |
1507 | for i = 0, 3.2, 0.1 do | |
1508 | swait() | |
1509 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1510 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
1511 | if Mrandom(1,15) == 1 then | |
1512 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1513 | end | |
1514 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1515 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1516 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1) | |
1517 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1518 | end | |
1519 | for i = 0, 1.8, 0.1 do | |
1520 | swait() | |
1521 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1522 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3) | |
1523 | if Mrandom(1,15) == 1 then | |
1524 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1525 | end | |
1526 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1527 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1528 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
1529 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1530 | end | |
1531 | coroutine.wrap(function() | |
1532 | wait(2) | |
1533 | --partasdeff:Remove() | |
1534 | end)() | |
1535 | local sel = Mrandom(1,3) | |
1536 | if sel == 1 then | |
1537 | chatfunc("Hah you tried.") | |
1538 | elseif sel == 2 then | |
1539 | chatfunc("No,no that's wrong.") | |
1540 | elseif sel == 3 then | |
1541 | chatfunc("Oops, I almost smashed myself to pieces.") | |
1542 | end | |
1543 | wait(2) | |
1544 | hum.WalkSpeed = 8 | |
1545 | attack = false | |
1546 | elseif targetted.Name == "Salvo_Starly" then | |
1547 | for i = 0, 3.2, 0.1 do | |
1548 | swait() | |
1549 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1550 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
1551 | if Mrandom(1,15) == 1 then | |
1552 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1553 | end | |
1554 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1555 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1556 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1) | |
1557 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1558 | end | |
1559 | for i = 0, 1.8, 0.1 do | |
1560 | swait() | |
1561 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1562 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3) | |
1563 | if Mrandom(1,15) == 1 then | |
1564 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1565 | end | |
1566 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1567 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1568 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
1569 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1570 | end | |
1571 | coroutine.wrap(function() | |
1572 | wait(2) | |
1573 | --partasdeff:Remove() | |
1574 | end)() | |
1575 | local sel = Mrandom(1,3) | |
1576 | if sel == 1 then | |
1577 | chatfunc("Ooooopsy.") | |
1578 | elseif sel == 2 then | |
1579 | chatfunc("OOF I almost smashed you.") | |
1580 | elseif sel == 3 then | |
1581 | chatfunc("Give me, wait...Salvo?") | |
1582 | end | |
1583 | wait(2) | |
1584 | hum.WalkSpeed = 8 | |
1585 | attack = false | |
1586 | elseif targetted.Name == "Nebula_Zorua" then | |
1587 | for i = 0, 3.2, 0.1 do | |
1588 | swait() | |
1589 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1590 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
1591 | if Mrandom(1,15) == 1 then | |
1592 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1593 | end | |
1594 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1595 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1596 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1) | |
1597 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1598 | end | |
1599 | for i = 0, 1.8, 0.1 do | |
1600 | swait() | |
1601 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1602 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3) | |
1603 | if Mrandom(1,15) == 1 then | |
1604 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1605 | end | |
1606 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1607 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1608 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
1609 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1610 | end | |
1611 | coroutine.wrap(function() | |
1612 | wait(2) | |
1613 | --partasdeff:Remove() | |
1614 | end)() | |
1615 | local sel = Mrandom(1,3) | |
1616 | if sel == 1 then | |
1617 | chatfunc("Lucky I know you...") | |
1618 | elseif sel == 2 then | |
1619 | chatfunc("Nebu?") | |
1620 | elseif sel == 3 then | |
1621 | chatfunc("VSB = Bad, GSB = Good") | |
1622 | end | |
1623 | wait(2) | |
1624 | hum.WalkSpeed = 8 | |
1625 | attack = false | |
1626 | elseif targetted.Name == "KillerDarkness0105" then | |
1627 | for i = 0, 3.2, 0.1 do | |
1628 | swait() | |
1629 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1630 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
1631 | if Mrandom(1,15) == 1 then | |
1632 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1633 | end | |
1634 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1635 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1636 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1) | |
1637 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1638 | end | |
1639 | for i = 0, 1.8, 0.1 do | |
1640 | swait() | |
1641 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1642 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3) | |
1643 | if Mrandom(1,15) == 1 then | |
1644 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1645 | end | |
1646 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1647 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1648 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
1649 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1650 | end | |
1651 | coroutine.wrap(function() | |
1652 | wait(2) | |
1653 | --partasdeff:Remove() | |
1654 | end)() | |
1655 | local sel = Mrandom(1,3) | |
1656 | if sel == 1 then | |
1657 | chatfunc("AaaaAA Killer, what are you doing?") | |
1658 | elseif sel == 2 then | |
1659 | chatfunc("Are you finished with those touhou scripts?") | |
1660 | elseif sel == 3 then | |
1661 | chatfunc("Oh hi, sorry for that.") | |
1662 | end | |
1663 | wait(2) | |
1664 | hum.WalkSpeed = 8 | |
1665 | attack = false | |
1666 | end | |
1667 | end | |
1668 | ||
1669 | function Get_Over_Here_And_PERISH() | |
1670 | attack = true | |
1671 | hum.WalkSpeed = 0 | |
1672 | local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso") | |
1673 | for i = 0, 2, 0.1 do | |
1674 | swait() | |
1675 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(25)), 0.15) | |
1676 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1677 | if Mrandom(1,15) == 1 then | |
1678 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1679 | end | |
1680 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1681 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1682 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1) | |
1683 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
1684 | end | |
1685 | coroutine.resume(coroutine.create(function() | |
1686 | for i = 1,10 do | |
1687 | swait() | |
1688 | local Pully = Create("BodyPosition")({ | |
1689 | P = 9000, | |
1690 | D = 1000, | |
1691 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1692 | position = ra.Position - ra.CFrame.lookVector * 6, | |
1693 | Parent = torsy | |
1694 | }) | |
1695 | game:GetService("Debris"):AddItem(Pully, 0.2) | |
1696 | wait() | |
1697 | end | |
1698 | end)) | |
1699 | CreateSound("541909814", torsy, 10, 1) | |
1700 | CreateSound("131228548", hed, 10, 1) | |
1701 | for i = 0, 2.2, 0.1 do | |
1702 | swait() | |
1703 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-35)), 0.15) | |
1704 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(35)), 0.3) | |
1705 | if Mrandom(1,15) == 1 then | |
1706 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1707 | end | |
1708 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(17), Rad(-10)), 0.15) | |
1709 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1710 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1711 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-5)), 0.1) | |
1712 | end | |
1713 | attack = false | |
1714 | hum.WalkSpeed = 8 | |
1715 | end | |
1716 | ||
1717 | function The_End_offfff() | |
1718 | attack = true | |
1719 | hum.WalkSpeed = 0 | |
1720 | Music:Stop() | |
1721 | for _, v in pairs(Doll:GetChildren()) do | |
1722 | if v:IsA'BasePart' then | |
1723 | v:Remove() | |
1724 | end | |
1725 | end | |
1726 | for _, v in pairs(Needle:GetChildren()) do | |
1727 | if v:IsA'BasePart' then | |
1728 | v:Remove() | |
1729 | end | |
1730 | end | |
1731 | for i = 0,6,0.1 do | |
1732 | swait() | |
1733 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1734 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1735 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1736 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1737 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
1738 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(15)), 0.1) | |
1739 | end | |
1740 | CreateSound("1093102664", hed, 10, 1) | |
1741 | for i = 0,4,0.1 do | |
1742 | swait() | |
1743 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15) | |
1744 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(-90)), 0.4) | |
1745 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1746 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1747 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
1748 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(40)), 0.4) | |
1749 | end | |
1750 | for i = 0,6,0.1 do | |
1751 | swait() | |
1752 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -3 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15) | |
1753 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.4) | |
1754 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14), Rad(0), Rad(0)), 0.15) | |
1755 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6), Rad(0), Rad(0)), 0.15) | |
1756 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(155)), 0.1) | |
1757 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-167)), 0.4) | |
1758 | end | |
1759 | wait(2) | |
1760 | dmg(char) | |
1761 | end | |
1762 | ||
1763 | ------------------------------------------------------- | |
1764 | --End Attacks N Stuff-- | |
1765 | ------------------------------------------------------- | |
1766 | mouse.Button1Down:connect(function() | |
1767 | if attack == false and targetted ~= nil then | |
1768 | Stab_Them_For_FUN() | |
1769 | end | |
1770 | end) | |
1771 | ||
1772 | ||
1773 | mouse.KeyDown:connect(function(key) | |
1774 | if attack == false then | |
1775 | if key == 'q' then | |
1776 | LockOn() | |
1777 | elseif key == 'f' then | |
1778 | chatfunc("Come on now child everythings okay...") | |
1779 | elseif key == 'e' and targetted ~= nil then | |
1780 | Oh_No_AN_ERROR_Has_OcccccccurrEEEED() | |
1781 | elseif key == 'x' and targetted ~= nil then | |
1782 | Get_Over_Here_And_PERISH() | |
1783 | elseif key == 'r' and targetted ~= nil then | |
1784 | CreateSound("289556450", hed, .4, math.random(5, 15) / 5) | |
1785 | root.CFrame = targetted.Head.CFrame * CFrame.new(0, 0, 6) | |
1786 | elseif key == 'p' then | |
1787 | The_End_offfff() | |
1788 | end | |
1789 | end | |
1790 | end) | |
1791 | ||
1792 | ||
1793 | ||
1794 | ||
1795 | ||
1796 | ||
1797 | ------------------------------------------------------- | |
1798 | --Start Animations-- | |
1799 | ------------------------------------------------------- | |
1800 | local equipped = false | |
1801 | hum.WalkSpeed = 8 | |
1802 | hed.face.Texture = "rbxassetid://1471407701" | |
1803 | local idle = 0 | |
1804 | local change = 1 | |
1805 | local val = 0 | |
1806 | local toim = 0 | |
1807 | local idleanim = 0.4 | |
1808 | hum.Animator.Parent = nil | |
1809 | while true do | |
1810 | swait() | |
1811 | game.Lighting.TimeOfDay = "00:00:00" | |
1812 | --game.Lighting.FogEnd = 50 | |
1813 | --game.Lighting.FogColor = Color3.fromRGB(0,0,0) | |
1814 | Music.Parent = tors | |
1815 | ||
1816 | imgl.Rotation = imgl.Rotation + 3 | |
1817 | img2.Rotation = img2.Rotation + 3 | |
1818 | if targetted ~= nil then | |
1819 | abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
1820 | abss.Enabled = true | |
1821 | elseif targetted == nil then | |
1822 | abss.Adornee = nil | |
1823 | abss.Enabled = false | |
1824 | end | |
1825 | ||
1826 | while true and imgl.Rotation >= 360 do | |
1827 | imgl.Rotation = 0 | |
1828 | img2.Rotation = 0 | |
1829 | end | |
1830 | ||
1831 | sine = sine + change | |
1832 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1833 | local velderp = root.Velocity.y | |
1834 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) | |
1835 | if equipped == true or equipped == false then | |
1836 | if attack == false then | |
1837 | idle = idle + 1 | |
1838 | else | |
1839 | idle = 0 | |
1840 | end | |
1841 | if 1 < root.Velocity.y and hitfloor == nil then | |
1842 | Anim = "Jump" | |
1843 | if attack == false then | |
1844 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.3) | |
1845 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3) | |
1846 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3) | |
1847 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3) | |
1848 | LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
1849 | RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
1850 | end | |
1851 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
1852 | Anim = "Fall" | |
1853 | if attack == false then | |
1854 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.3) | |
1855 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3) | |
1856 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3) | |
1857 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3) | |
1858 | LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
1859 | RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
1860 | end | |
1861 | elseif torvel < 1 and hitfloor ~= nil then | |
1862 | Anim = "Idle" | |
1863 | change = .6 | |
1864 | if attack == false then | |
1865 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
1866 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3) | |
1867 | if Mrandom(1,15) == 1 then | |
1868 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3) | |
1869 | end | |
1870 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1871 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15) | |
1872 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1) | |
1873 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(130), Rad(0), Rad(20)), 0.1) | |
1874 | HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1) | |
1875 | end | |
1876 | elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then | |
1877 | Anim = "Walk" | |
1878 | change = .4 | |
1879 | if attack == false then | |
1880 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15) | |
1881 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(30 * Cos(sine / 20)), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
1882 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
1883 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
1884 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15) - ra.RotVelocity.Y / 75), 0.1) | |
1885 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
1886 | HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1) | |
1887 | end | |
1888 | end | |
1889 | end | |
1890 | if 0 < #Effects then | |
1891 | for e = 1, #Effects do | |
1892 | if Effects[e] ~= nil then | |
1893 | local Thing = Effects[e] | |
1894 | if Thing ~= nil then | |
1895 | local Part = Thing[1] | |
1896 | local Mode = Thing[2] | |
1897 | local Delay = Thing[3] | |
1898 | local IncX = Thing[4] | |
1899 | local IncY = Thing[5] | |
1900 | local IncZ = Thing[6] | |
1901 | if 1 >= Thing[1].Transparency then | |
1902 | if Thing[2] == "Block1" then | |
1903 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1904 | local Mesh = Thing[1].Mesh | |
1905 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1906 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1907 | elseif Thing[2] == "Block2" then | |
1908 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
1909 | local Mesh = Thing[7] | |
1910 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1911 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1912 | elseif Thing[2] == "Block3" then | |
1913 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
1914 | local Mesh = Thing[7] | |
1915 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1916 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1917 | elseif Thing[2] == "Cylinder" then | |
1918 | local Mesh = Thing[1].Mesh | |
1919 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1920 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1921 | elseif Thing[2] == "Blood" then | |
1922 | local Mesh = Thing[7] | |
1923 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
1924 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1925 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1926 | elseif Thing[2] == "Elec" then | |
1927 | local Mesh = Thing[1].Mesh | |
1928 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1929 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1930 | elseif Thing[2] == "Disappear" then | |
1931 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1932 | elseif Thing[2] == "Shatter" then | |
1933 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1934 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1935 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1936 | Thing[6] = Thing[6] + Thing[5] | |
1937 | end | |
1938 | else | |
1939 | Part.Parent = nil | |
1940 | table.remove(Effects, e) | |
1941 | end | |
1942 | end | |
1943 | end | |
1944 | end | |
1945 | end | |
1946 | end | |
1947 | ------------------------------------------------------- | |
1948 | --End Animations And Script-- | |
1949 | ------------------------------------------------------- |