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