SHOW:
|
|
- or go back to the newest paste.
1 | Player = game.Players.LocalPlayer | |
2 | Character = Player.Character | |
3 | local txt = Instance.new("BillboardGui", Character) | |
4 | txt.Adornee = Character.Head | |
5 | txt.Name = "_status" | |
6 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
7 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
8 | local text = Instance.new("TextLabel", txt) | |
9 | text.Size = UDim2.new(10, 0, 7, 0) | |
10 | text.FontSize = "Size24" | |
11 | text.TextScaled = true | |
12 | text.TextTransparency = 0 | |
13 | text.BackgroundTransparency = 10 | |
14 | text.TextTransparency = 0 | |
15 | text.TextStrokeTransparency = 0 | |
16 | text.Font = "Arcade" | |
17 | - | text.TextStrokeColor3 = Color3.new(0,0,255) |
17 | + | text.TextStrokeColor3 = Color3.new(255,0,255) |
18 | - | text.Text = "Mr.Pixels" |
18 | + | text.Text = "Mrs. Pixels" |
19 | wait(0.2) | |
20 | ||
21 | Player = game:GetService("Players").LocalPlayer | |
22 | PlayerGui = Player.PlayerGui | |
23 | Cam = workspace.CurrentCamera | |
24 | Backpack = Player.Backpack | |
25 | Character = Player.Character | |
26 | Humanoid = Character.Humanoid | |
27 | Mouse = Player:GetMouse() | |
28 | RootPart = Character["HumanoidRootPart"] | |
29 | Torso = Character["Torso"] | |
30 | Head = Character["Head"] | |
31 | RightArm = Character["Right Arm"] | |
32 | LeftArm = Character["Left Arm"] | |
33 | RightLeg = Character["Right Leg"] | |
34 | LeftLeg = Character["Left Leg"] | |
35 | RootJoint = RootPart["RootJoint"] | |
36 | Neck = Torso["Neck"] | |
37 | RightShoulder = Torso["Right Shoulder"] | |
38 | LeftShoulder = Torso["Left Shoulder"] | |
39 | RightHip = Torso["Right Hip"] | |
40 | LeftHip = Torso["Left Hip"] | |
41 | ||
42 | IT = Instance.new | |
43 | CF = CFrame.new | |
44 | VT = Vector3.new | |
45 | RAD = math.rad | |
46 | C3 = Color3.new | |
47 | UD2 = UDim2.new | |
48 | BRICKC = BrickColor.new | |
49 | ANGLES = CFrame.Angles | |
50 | EULER = CFrame.fromEulerAnglesXYZ | |
51 | COS = math.cos | |
52 | ACOS = math.acos | |
53 | SIN = math.sin | |
54 | ASIN = math.asin | |
55 | ABS = math.abs | |
56 | MRANDOM = math.random | |
57 | FLOOR = math.floor | |
58 | ||
59 | --//=================================\\ | |
60 | --|| USEFUL VALUES | |
61 | --\\=================================// | |
62 | ||
63 | Animation_Speed = 3 | |
64 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
65 | local Speed = 20 | |
66 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
67 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
68 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
69 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
70 | local DAMAGEMULTIPLIER = 1 | |
71 | local ANIM = "Idle" | |
72 | local ATTACK = false | |
73 | local EQUIPPED = false | |
74 | local HOLD = false | |
75 | local COMBO = 1 | |
76 | local Rooted = false | |
77 | local SINE = 0 | |
78 | local KEYHOLD = false | |
79 | local CHANGE = 2 / Animation_Speed | |
80 | local WALKINGANIM = false | |
81 | local VALUE1 = false | |
82 | local VALUE2 = false | |
83 | local ROBLOXIDLEANIMATION = IT("Animation") | |
84 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
85 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
86 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
87 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
88 | WEAPONGUI.Name = "PIXELGUI" | |
89 | local Effects = IT("Folder", Character) | |
90 | Effects.Name = "Effects" | |
91 | local ANIMATOR = Humanoid.Animator | |
92 | local ANIMATE = Character.Animate | |
93 | local UNANCHOR = true | |
94 | local SONG = 853518668 | |
95 | local DEAD = false | |
96 | ||
97 | --//=================================\\ | |
98 | --\\=================================// | |
99 | ||
100 | ||
101 | --//=================================\\ | |
102 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
103 | --\\=================================// | |
104 | ||
105 | ArtificialHB = Instance.new("BindableEvent", script) | |
106 | ArtificialHB.Name = "ArtificialHB" | |
107 | ||
108 | script:WaitForChild("ArtificialHB") | |
109 | ||
110 | frame = Frame_Speed | |
111 | tf = 0 | |
112 | allowframeloss = false | |
113 | tossremainder = false | |
114 | lastframe = tick() | |
115 | script.ArtificialHB:Fire() | |
116 | ||
117 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
118 | tf = tf + s | |
119 | if tf >= frame then | |
120 | if allowframeloss then | |
121 | script.ArtificialHB:Fire() | |
122 | lastframe = tick() | |
123 | else | |
124 | for i = 1, math.floor(tf / frame) do | |
125 | script.ArtificialHB:Fire() | |
126 | end | |
127 | lastframe = tick() | |
128 | end | |
129 | if tossremainder then | |
130 | tf = 0 | |
131 | else | |
132 | tf = tf - frame * math.floor(tf / frame) | |
133 | end | |
134 | end | |
135 | end) | |
136 | ||
137 | --//=================================\\ | |
138 | --\\=================================// | |
139 | ||
140 | --//=================================\\ | |
141 | --|| SOME FUNCTIONS | |
142 | --\\=================================// | |
143 | ||
144 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
145 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
146 | end | |
147 | ||
148 | function PositiveAngle(NUMBER) | |
149 | if NUMBER >= 0 then | |
150 | NUMBER = 0 | |
151 | end | |
152 | return NUMBER | |
153 | end | |
154 | ||
155 | function NegativeAngle(NUMBER) | |
156 | if NUMBER <= 0 then | |
157 | NUMBER = 0 | |
158 | end | |
159 | return NUMBER | |
160 | end | |
161 | ||
162 | function Swait(NUMBER) | |
163 | if NUMBER == 0 or NUMBER == nil then | |
164 | ArtificialHB.Event:wait() | |
165 | else | |
166 | for i = 1, NUMBER do | |
167 | ArtificialHB.Event:wait() | |
168 | end | |
169 | end | |
170 | end | |
171 | ||
172 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
173 | local NEWMESH = IT(MESH) | |
174 | if MESH == "SpecialMesh" then | |
175 | NEWMESH.MeshType = MESHTYPE | |
176 | if MESHID ~= "nil" and MESHID ~= "" then | |
177 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
178 | end | |
179 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
180 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
181 | end | |
182 | end | |
183 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
184 | NEWMESH.Scale = SCALE | |
185 | NEWMESH.Parent = PARENT | |
186 | return NEWMESH | |
187 | end | |
188 | ||
189 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
190 | local NEWPART = IT("Part") | |
191 | NEWPART.formFactor = FORMFACTOR | |
192 | NEWPART.Reflectance = REFLECTANCE | |
193 | NEWPART.Transparency = TRANSPARENCY | |
194 | NEWPART.CanCollide = false | |
195 | NEWPART.Locked = true | |
196 | NEWPART.Anchored = true | |
197 | if ANCHOR == false then | |
198 | NEWPART.Anchored = false | |
199 | end | |
200 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
201 | NEWPART.Name = NAME | |
202 | NEWPART.Size = SIZE | |
203 | NEWPART.Position = Torso.Position | |
204 | NEWPART.Material = MATERIAL | |
205 | NEWPART:BreakJoints() | |
206 | NEWPART.Parent = PARENT | |
207 | return NEWPART | |
208 | end | |
209 | ||
210 | local function weldBetween(a, b) | |
211 | local weldd = Instance.new("ManualWeld") | |
212 | weldd.Part0 = a | |
213 | weldd.Part1 = b | |
214 | weldd.C0 = CFrame.new() | |
215 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
216 | weldd.Parent = a | |
217 | return weldd | |
218 | end | |
219 | ||
220 | ||
221 | function QuaternionFromCFrame(cf) | |
222 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
223 | local trace = m00 + m11 + m22 | |
224 | if trace > 0 then | |
225 | local s = math.sqrt(1 + trace) | |
226 | local recip = 0.5 / s | |
227 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
228 | else | |
229 | local i = 0 | |
230 | if m11 > m00 then | |
231 | i = 1 | |
232 | end | |
233 | if m22 > (i == 0 and m00 or m11) then | |
234 | i = 2 | |
235 | end | |
236 | if i == 0 then | |
237 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
238 | local recip = 0.5 / s | |
239 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
240 | elseif i == 1 then | |
241 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
242 | local recip = 0.5 / s | |
243 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
244 | elseif i == 2 then | |
245 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
246 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
247 | end | |
248 | end | |
249 | end | |
250 | ||
251 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
252 | local xs, ys, zs = x + x, y + y, z + z | |
253 | local wx, wy, wz = w * xs, w * ys, w * zs | |
254 | local xx = x * xs | |
255 | local xy = x * ys | |
256 | local xz = x * zs | |
257 | local yy = y * ys | |
258 | local yz = y * zs | |
259 | local zz = z * zs | |
260 | 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)) | |
261 | end | |
262 | ||
263 | function QuaternionSlerp(a, b, t) | |
264 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
265 | local startInterp, finishInterp; | |
266 | if cosTheta >= 0.0001 then | |
267 | if (1 - cosTheta) > 0.0001 then | |
268 | local theta = ACOS(cosTheta) | |
269 | local invSinTheta = 1 / SIN(theta) | |
270 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
271 | finishInterp = SIN(t * theta) * invSinTheta | |
272 | else | |
273 | startInterp = 1 - t | |
274 | finishInterp = t | |
275 | end | |
276 | else | |
277 | if (1 + cosTheta) > 0.0001 then | |
278 | local theta = ACOS(-cosTheta) | |
279 | local invSinTheta = 1 / SIN(theta) | |
280 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
281 | finishInterp = SIN(t * theta) * invSinTheta | |
282 | else | |
283 | startInterp = t - 1 | |
284 | finishInterp = t | |
285 | end | |
286 | end | |
287 | 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 | |
288 | end | |
289 | ||
290 | function Clerp(a, b, t) | |
291 | local qa = {QuaternionFromCFrame(a)} | |
292 | local qb = {QuaternionFromCFrame(b)} | |
293 | local ax, ay, az = a.x, a.y, a.z | |
294 | local bx, by, bz = b.x, b.y, b.z | |
295 | local _t = 1 - t | |
296 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
297 | end | |
298 | ||
299 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
300 | local frame = IT("Frame") | |
301 | frame.BackgroundTransparency = TRANSPARENCY | |
302 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
303 | frame.Position = POSITION | |
304 | frame.Size = SIZE | |
305 | frame.BackgroundColor3 = COLOR | |
306 | frame.BorderColor3 = BORDERCOLOR | |
307 | frame.Name = NAME | |
308 | frame.Parent = PARENT | |
309 | return frame | |
310 | end | |
311 | ||
312 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
313 | local label = IT("TextLabel") | |
314 | label.BackgroundTransparency = 1 | |
315 | label.Size = UD2(1, 0, 1, 0) | |
316 | label.Position = UD2(0, 0, 0, 0) | |
317 | label.TextColor3 = TEXTCOLOR | |
318 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
319 | label.TextTransparency = TRANSPARENCY | |
320 | label.FontSize = TEXTFONTSIZE | |
321 | label.Font = TEXTFONT | |
322 | label.BorderSizePixel = BORDERSIZEPIXEL | |
323 | label.TextScaled = false | |
324 | label.Text = TEXT | |
325 | label.Name = NAME | |
326 | label.Parent = PARENT | |
327 | return label | |
328 | end | |
329 | ||
330 | function NoOutlines(PART) | |
331 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
332 | end | |
333 | ||
334 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
335 | local NEWWELD = IT(TYPE) | |
336 | NEWWELD.Part0 = PART0 | |
337 | NEWWELD.Part1 = PART1 | |
338 | NEWWELD.C0 = C0 | |
339 | NEWWELD.C1 = C1 | |
340 | NEWWELD.Parent = PARENT | |
341 | return NEWWELD | |
342 | end | |
343 | ||
344 | local S = IT("Sound") | |
345 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
346 | local NEWSOUND = nil | |
347 | coroutine.resume(coroutine.create(function() | |
348 | NEWSOUND = S:Clone() | |
349 | NEWSOUND.Parent = PARENT | |
350 | NEWSOUND.Volume = VOLUME | |
351 | NEWSOUND.Pitch = PITCH | |
352 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
353 | NEWSOUND:play() | |
354 | if DOESLOOP == true then | |
355 | NEWSOUND.Looped = true | |
356 | else | |
357 | repeat wait(1) until NEWSOUND.Playing == false | |
358 | NEWSOUND:remove() | |
359 | end | |
360 | end)) | |
361 | return NEWSOUND | |
362 | end | |
363 | ||
364 | function CFrameFromTopBack(at, top, back) | |
365 | local right = top:Cross(back) | |
366 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
367 | end | |
368 | ||
369 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
370 | function WACKYEFFECT(Table) | |
371 | local TYPE = (Table.EffectType or "Sphere") | |
372 | local SIZE = (Table.Size or VT(1,1,1)) | |
373 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
374 | local TRANSPARENCY = (Table.Transparency or 0) | |
375 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
376 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
377 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
378 | local ROTATION1 = (Table.RotationX or 0) | |
379 | local ROTATION2 = (Table.RotationY or 0) | |
380 | local ROTATION3 = (Table.RotationZ or 0) | |
381 | local MATERIAL = (Table.Material or "Neon") | |
382 | local COLOR = (Table.Color or C3(1,1,1)) | |
383 | local TIME = (Table.Time or 45) | |
384 | local SOUNDID = (Table.SoundID or nil) | |
385 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
386 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
387 | coroutine.resume(coroutine.create(function() | |
388 | local PLAYSSOUND = false | |
389 | local SOUND = nil | |
390 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
391 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
392 | PLAYSSOUND = true | |
393 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
394 | end | |
395 | EFFECT.Color = COLOR | |
396 | local MSH = nil | |
397 | if TYPE == "Sphere" then | |
398 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
399 | elseif TYPE == "Block" or TYPE == "Box" then | |
400 | MSH = IT("BlockMesh",EFFECT) | |
401 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
402 | elseif TYPE == "Wave" then | |
403 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
404 | elseif TYPE == "Ring" then | |
405 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
406 | elseif TYPE == "Slash" then | |
407 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
408 | elseif TYPE == "Round Slash" then | |
409 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
410 | elseif TYPE == "Swirl" then | |
411 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
412 | elseif TYPE == "Skull" then | |
413 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
414 | elseif TYPE == "Crystal" then | |
415 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
416 | end | |
417 | if MSH ~= nil then | |
418 | local MOVESPEED = nil | |
419 | if MOVEDIRECTION ~= nil then | |
420 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
421 | end | |
422 | local GROWTH = SIZE - ENDSIZE | |
423 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
424 | if TYPE == "Block" then | |
425 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
426 | else | |
427 | EFFECT.CFrame = CFRAME | |
428 | end | |
429 | for LOOP = 1, TIME+1 do | |
430 | Swait() | |
431 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
432 | if TYPE == "Wave" then | |
433 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
434 | end | |
435 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
436 | if TYPE == "Block" then | |
437 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
438 | else | |
439 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
440 | end | |
441 | if MOVEDIRECTION ~= nil then | |
442 | local ORI = EFFECT.Orientation | |
443 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
444 | EFFECT.Orientation = ORI | |
445 | end | |
446 | end | |
447 | if PLAYSSOUND == false then | |
448 | EFFECT:remove() | |
449 | else | |
450 | repeat Swait() until SOUND.Playing == false | |
451 | EFFECT:remove() | |
452 | end | |
453 | else | |
454 | if PLAYSSOUND == false then | |
455 | EFFECT:remove() | |
456 | else | |
457 | repeat Swait() until SOUND.Playing == false | |
458 | EFFECT:remove() | |
459 | end | |
460 | end | |
461 | end)) | |
462 | end | |
463 | ||
464 | function MakeForm(PART,TYPE) | |
465 | if TYPE == "Cyl" then | |
466 | local MSH = IT("CylinderMesh",PART) | |
467 | elseif TYPE == "Ball" then | |
468 | local MSH = IT("SpecialMesh",PART) | |
469 | MSH.MeshType = "Sphere" | |
470 | elseif TYPE == "Wedge" then | |
471 | local MSH = IT("SpecialMesh",PART) | |
472 | MSH.MeshType = "Wedge" | |
473 | end | |
474 | end | |
475 | ||
476 | Debris = game:GetService("Debris") | |
477 | ||
478 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
479 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
480 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
481 | end | |
482 | ||
483 | function turnto(position) | |
484 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
485 | end | |
486 | ||
487 | --//=================================\\ | |
488 | --|| WEAPON CREATION | |
489 | --\\=================================// | |
490 | ||
491 | local sick = CreateSound(853518668, Torso, 3, 0.9, true) | |
492 | ||
493 | Head:ClearAllChildren() | |
494 | ||
495 | local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(2,0.2,2),false) | |
496 | HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0)) | |
497 | local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Part", VT(1.35,0.4,1.35),false) | |
498 | CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0.25,0), CF(0, 0, 0)) | |
499 | local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(1.3,2.2,1.3),false) | |
500 | CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0)) | |
501 | ||
502 | local TIE1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.5,0.5,0),false) | |
503 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, TIE1, CF(0,0.8,-0.5), CF(0, 0, 0)) | |
504 | local TIE2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.2,0.5,0),false) | |
505 | CreateWeldOrSnapOrMotor("Weld", TIE1, TIE1, TIE2, CF(0,-0.5,0), CF(0, 0, 0)) | |
506 | local TIE3 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.5,1,0),false) | |
507 | CreateWeldOrSnapOrMotor("Weld", TIE2, TIE2, TIE3, CF(0,-0.75,0), CF(0, 0, 0)) | |
508 | ||
509 | Humanoid.DisplayDistanceType = "None" | |
510 | local naeeym2 = IT("BillboardGui",Character) | |
511 | naeeym2.AlwaysOnTop = true | |
512 | naeeym2.Size = UDim2.new(5,35,2,15) | |
513 | naeeym2.StudsOffset = Vector3.new(0,6,0) | |
514 | naeeym2.MaxDistance = 75 | |
515 | naeeym2.Adornee = RootPart | |
516 | naeeym2.Name = "Name" | |
517 | naeeym2.PlayerToHideFrom = Player | |
518 | local tecks2 = IT("TextLabel",naeeym2) | |
519 | tecks2.BackgroundTransparency = 1 | |
520 | tecks2.TextScaled = true | |
521 | tecks2.BorderSizePixel = 0 | |
522 | tecks2.Text = "Mr Pixels" | |
523 | tecks2.Font = "Arcade" | |
524 | tecks2.TextSize = 20 | |
525 | tecks2.TextStrokeTransparency = 1 | |
526 | tecks2.TextColor3 = BRICKC"Cyan".Color | |
527 | tecks2.TextStrokeColor3 = BRICKC"Cyan".Color | |
528 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
529 | tecks2.Parent = naeeym2 | |
530 | ||
531 | local MESH = IT("BlockMesh",Head) | |
532 | MESH.Scale = VT(0.5,1,1) | |
533 | ||
534 | local SKILLTEXTCOLOR = BRICKC"Cyan".Color | |
535 | local SKILLFONT = "Arcade" | |
536 | local SKILLTEXTSIZE = 7 | |
537 | ||
538 | Humanoid.Died:connect(function() | |
539 | for _, c in pairs(Character:GetChildren()) do | |
540 | if c:IsA("BasePart") then | |
541 | c.Anchored = true | |
542 | end | |
543 | end | |
544 | naeeym2:remove() | |
545 | ATTACK = true | |
546 | DEAD = true | |
547 | UNANCHOR = false | |
548 | Character.PrimaryPart = RootPart | |
549 | CreateSound(580288658, Effects, 3, 1, false) | |
550 | Humanoid:remove() | |
551 | for i = 1, 50 do | |
552 | wait() | |
553 | Character:SetPrimaryPartCFrame(RootPart.CFrame *CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(90))) | |
554 | end | |
555 | UNANCHOR = true | |
556 | for _, c in pairs(Character:GetChildren()) do | |
557 | if c:IsA("BasePart") then | |
558 | c.CanCollide = true | |
559 | c.Velocity = VT(MRANDOM(-45,45),MRANDOM(45,85),MRANDOM(-45,45)) | |
560 | end | |
561 | end | |
562 | end) | |
563 | ||
564 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
565 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
566 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
567 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.72, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
568 | ||
569 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1") | |
570 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2") | |
571 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3") | |
572 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4") | |
573 | ||
574 | --//=================================\\ | |
575 | --|| DAMAGING | |
576 | --\\=================================// | |
577 | ||
578 | function ApplyDamage(Humanoid,Damage) | |
579 | Damage = Damage * DAMAGEMULTIPLIER | |
580 | if Humanoid.Health ~= 0 then | |
581 | Humanoid.Health = Humanoid.Health - Damage | |
582 | end | |
583 | end | |
584 | ||
585 | function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL) | |
586 | local CHILDREN = workspace:GetDescendants() | |
587 | for index, CHILD in pairs(CHILDREN) do | |
588 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
589 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
590 | if HUM then | |
591 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
592 | if TORSO then | |
593 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
594 | if INSTAKILL == true then | |
595 | CHILD:BreakJoints() | |
596 | else | |
597 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
598 | ApplyDamage(HUM,DMG) | |
599 | end | |
600 | if FLING > 0 then | |
601 | for _, c in pairs(CHILD:GetChildren()) do | |
602 | if c:IsA("BasePart") then | |
603 | local bv = Instance.new("BodyVelocity") | |
604 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
605 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
606 | bv.Parent = c | |
607 | Debris:AddItem(bv,0.05) | |
608 | end | |
609 | end | |
610 | end | |
611 | end | |
612 | end | |
613 | end | |
614 | end | |
615 | end | |
616 | end | |
617 | ||
618 | function APPLYMELEE(PART,MINDMG,MAXDMG) | |
619 | local ONESHOT = false | |
620 | if MINDMG == "inf" then | |
621 | ONESHOT = true | |
622 | end | |
623 | local HITS = {} | |
624 | local TOUCH = PART.Touched:Connect(function(hit) | |
625 | if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then | |
626 | local HUM = hit.Parent:FindFirstChildOfClass("Humanoid") | |
627 | local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
628 | if TORSO and HUM.Health > 0 then | |
629 | local PASS = true | |
630 | for i = 1, #HITS do | |
631 | if HITS[i] == hit.Parent then | |
632 | PASS = false | |
633 | end | |
634 | end | |
635 | table.insert(HITS,hit.Parent) | |
636 | if PASS == true then | |
637 | if ONESHOT == false then | |
638 | ApplyDamage(HUM,MRANDOM(MINDMG,MAXDMG)) | |
639 | else | |
640 | CreateSound(1538571923, TORSO, 10, 1, false) | |
641 | HUM.Parent:BreakJoints() | |
642 | HUM:remove() | |
643 | for _, c in pairs(TORSO.Parent:GetChildren()) do | |
644 | if c:IsA("BasePart") then | |
645 | c.CanCollide = true | |
646 | c.Velocity = VT(MRANDOM(-45,45),MRANDOM(45,85),MRANDOM(-45,45)) | |
647 | Debris:AddItem(c,MRANDOM(5,20)/10) | |
648 | end | |
649 | end | |
650 | end | |
651 | end | |
652 | end | |
653 | end | |
654 | end) | |
655 | return TOUCH | |
656 | end | |
657 | ||
658 | function GoombaStomp(OBJECT) | |
659 | for _, c in pairs(OBJECT:GetChildren()) do | |
660 | if c:IsA("BasePart") then | |
661 | c.Size = VT(c.Size.X,0,c.Size.Z) | |
662 | end | |
663 | end | |
664 | end | |
665 | ||
666 | --//=================================\\ | |
667 | --|| ATTACK FUNCTIONS AND STUFF | |
668 | --\\=================================// | |
669 | ||
670 | function MushroomAi(Mushroom) | |
671 | coroutine.resume(coroutine.create(function() | |
672 | for i = 1, 500 do | |
673 | wait() | |
674 | local DISTANCE = 500 | |
675 | local TARGET = nil | |
676 | local HUMAN = nil | |
677 | for _, c in pairs(workspace:GetChildren()) do | |
678 | if c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then | |
679 | local HUM = c:FindFirstChildOfClass("Humanoid") | |
680 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
681 | if TORSO and HUM.Health > 0 then | |
682 | if (TORSO.Position - Mushroom.PrimaryPart.Position).Magnitude < DISTANCE then | |
683 | DISTANCE = (TORSO.Position - Mushroom.PrimaryPart.Position).Magnitude | |
684 | TARGET = TORSO | |
685 | HUMAN = HUM | |
686 | end | |
687 | end | |
688 | end | |
689 | end | |
690 | if TARGET then | |
691 | local HITFLOOR,HITPOS = Raycast(Mushroom.PrimaryPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 1, Mushroom) | |
692 | if HITFLOOR then | |
693 | local CFRAME = CF(Mushroom.PrimaryPart.Position,VT(TARGET.Position.X,Mushroom.PrimaryPart.Position.Y,TARGET.Position.Z))*CF(0,0,-0.3).p | |
694 | Mushroom:SetPrimaryPartCFrame(CF(CFRAME)) | |
695 | local DIST = (TARGET.Position - Mushroom.PrimaryPart.Position).Magnitude | |
696 | if DIST < 4*(TARGET.Size.Y/2) then | |
697 | HUMAN.Health = HUMAN.Health - (HUMAN.MaxHealth-1) | |
698 | break | |
699 | end | |
700 | else | |
701 | Mushroom:SetPrimaryPartCFrame(CF(HITPOS)) | |
702 | end | |
703 | end | |
704 | end | |
705 | Mushroom:remove() | |
706 | end)) | |
707 | end | |
708 | ||
709 | function QuestionMarkBlock() | |
710 | ATTACK = true | |
711 | Rooted = true | |
712 | local BLOCKMODEL = IT("Model",Effects) | |
713 | local LOAD = false | |
714 | local BLOCK = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "New Yeller", "Base", VT(2,2,2)) | |
715 | BLOCK.CFrame = CF(RootPart.CFrame*CF(0,15,0).p) | |
716 | BLOCKMODEL.PrimaryPart = BLOCK | |
717 | for i = 1, 4 do | |
718 | local BASE = CreatePart(3, BLOCKMODEL, "Neon", 0, 1, "New Yeller", "Blocc", VT(1.3,1.3,2)*1.001) | |
719 | BASE.CFrame = BLOCK.CFrame * ANGLES(RAD(0), RAD((360/4)*i), RAD(0)) | |
720 | local DECAL = IT("Decal",BASE) | |
721 | DECAL.Texture = "http://www.roblox.com/asset/?id=1019185679" | |
722 | local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Pearl", "Blocc", VT(0.2,0.2,2.1)) | |
723 | PART.CFrame = BASE.CFrame*CF(0.75,0.75,0) | |
724 | local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Pearl", "Blocc", VT(0.2,0.2,2.1)) | |
725 | PART.CFrame = BASE.CFrame*CF(0.75,-0.75,0) | |
726 | end | |
727 | local LANDED = false | |
728 | local HIT = false | |
729 | local LOOP = 0 | |
730 | coroutine.resume(coroutine.create(function() | |
731 | repeat | |
732 | Swait() | |
733 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
734 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(0), RAD(7.5-30*SIN(sick.PlaybackLoudness/300)), RAD(0 - 25 * SIN(SINE / 15))), 1 / Animation_Speed) | |
735 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(0), RAD(-15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
736 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
737 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
738 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
739 | until LOAD == true | |
740 | repeat | |
741 | Swait() | |
742 | if HIT == false then | |
743 | local HITFLOOR = Raycast(BLOCK.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 1.2, BLOCKMODEL) | |
744 | if HITFLOOR then | |
745 | HIT = true | |
746 | coroutine.resume(coroutine.create(function() | |
747 | local CFRAME = BLOCK.CFrame | |
748 | RootPart.Velocity = VT(0,0,0) | |
749 | RootPart.RotVelocity = VT(0,0,0) | |
750 | for i = 1, 5 do | |
751 | wait() | |
752 | RootPart.Velocity = VT(0,-i*4,0) | |
753 | RootPart.RotVelocity = VT(0,0,0) | |
754 | BLOCKMODEL:SetPrimaryPartCFrame(Clerp(CFRAME, CFRAME*CF(0,(5-i),0), 1 / Animation_Speed)) | |
755 | end | |
756 | BLOCK.BrickColor = BRICKC"Dirt brown" | |
757 | for _, c in pairs(BLOCKMODEL:GetChildren()) do | |
758 | if c:IsA("BasePart") and c.Name ~= "Base" then | |
759 | c:remove() | |
760 | end | |
761 | end | |
762 | CreateSound(1246464612, BLOCK, 10, 1, false) | |
763 | local SIZE = 2.25 | |
764 | local MUSHROOM = IT("Model",Effects) | |
765 | local BASE = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Fawn brown", "Shroom", VT(0.5,0.5,0.5)*SIZE) | |
766 | MUSHROOM.PrimaryPart = BASE | |
767 | local HEAD = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Mulberry", "Shroom", VT(0.75,0.45,0.75)*SIZE) | |
768 | HEAD.CFrame = BASE.CFrame*CF(0,0.35*SIZE,0) | |
769 | for i = 1, 2 do | |
770 | local DOT = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Lime green", "Shroom", VT(0.35,0.35,0.8)*SIZE) | |
771 | DOT.CFrame = HEAD.CFrame * ANGLES(RAD(0), RAD((180/2)*i), RAD(0)) | |
772 | end | |
773 | local HEAD = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Mulberry", "Shroom", VT(0.55,0.45,0.55)*SIZE) | |
774 | HEAD.CFrame = BASE.CFrame*CF(0,0.55*SIZE,0) | |
775 | MUSHROOM:SetPrimaryPartCFrame(BLOCK.CFrame) | |
776 | for i = 1, 30 do | |
777 | wait() | |
778 | MUSHROOM:SetPrimaryPartCFrame(BLOCK.CFrame*CF(0,-0.35+(i/18),0)) | |
779 | end | |
780 | MushroomAi(MUSHROOM) | |
781 | Debris:AddItem(BLOCKMODEL,5) | |
782 | end)) | |
783 | end | |
784 | else | |
785 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
786 | if HITFLOOR then | |
787 | LANDED = true | |
788 | end | |
789 | end | |
790 | LOOP = LOOP + 1 | |
791 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
792 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
793 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, -0.2) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
794 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
795 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4-sick.PlaybackLoudness/800, -0.7) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
796 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.3) * ANGLES(RAD(-25), RAD(-80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
797 | until LANDED == true or ATTACK == false | |
798 | end)) | |
799 | wait(1) | |
800 | LOAD = true | |
801 | CreateSound(158309736, Torso, 10, 1, false) | |
802 | local bv = Instance.new("BodyVelocity",RootPart) | |
803 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
804 | bv.velocity = CF(RootPart.Position,BLOCK.Position).lookVector*150 | |
805 | Debris:AddItem(bv,0.05) | |
806 | repeat wait() until LANDED == true or LOOP > 45 | |
807 | Debris:AddItem(BLOCKMODEL,5) | |
808 | ATTACK = false | |
809 | Rooted = false | |
810 | end | |
811 | ||
812 | function SwordBeam() | |
813 | ATTACK = true | |
814 | Rooted = false | |
815 | local SWORDMODEL = IT("Model",Effects) | |
816 | local HANDLE = CreatePart(3, SWORDMODEL, "Neon", 0, 0, "Shamrock", "Stic", VT(0.2,2,0.2),false) | |
817 | local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1,0)* ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, -0.3, 0)) | |
818 | local PART = CreatePart(3, SWORDMODEL, "Neon", 0, 0, "Shamrock", "Stic", VT(1,0.2,0.2),false) | |
819 | CreateWeldOrSnapOrMotor("Weld", HANDLE, HANDLE, PART, CF(0,1,0), CF(0, 0, 0)) | |
820 | local PART = CreatePart(3, SWORDMODEL, "Neon", 0, 0, "Pearl", "Stic", VT(0.5,2,0.1),false) | |
821 | CreateWeldOrSnapOrMotor("Weld", HANDLE, HANDLE, PART, CF(0,2,0), CF(0, 0, 0)) | |
822 | local PART = CreatePart(3, SWORDMODEL, "Neon", 0, 0, "Pearl", "Stic", VT(0.25,2,0.1),false) | |
823 | CreateWeldOrSnapOrMotor("Weld", HANDLE, HANDLE, PART, CF(0,2.25,0), CF(0, 0, 0)) | |
824 | for i=0, 1, 0.1 / Animation_Speed do | |
825 | Swait() | |
826 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
827 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
828 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(160), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
829 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
830 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
831 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
832 | end | |
833 | coroutine.resume(coroutine.create(function() | |
834 | local BEAM = IT("Model",Effects) | |
835 | local BASE = CreatePart(3, BEAM, "Neon", 0, 0, "Really red", "Stic", VT(0.1,0.5,2)) | |
836 | BASE.CFrame = RootPart.CFrame*CF(1.5,-0.4,0) | |
837 | local PART = CreatePart(3, BEAM, "Neon", 0, 0, "Really red", "Stic", VT(0.1,0.25,2)) | |
838 | PART.CFrame = BASE.CFrame*CF(0,0,-0.2) | |
839 | for i = 1, 4 do | |
840 | local PART = CreatePart(3, BEAM, "Neon", 0, 0, "Really red", "Stic", VT(0.1,0.75,0.1)) | |
841 | PART.CFrame = BASE.CFrame*CF(0,0,-0.8+(i/2.5)) | |
842 | end | |
843 | BEAM.PrimaryPart = BASE | |
844 | for i = 1, 75 do | |
845 | wait() | |
846 | BEAM:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0,-2)) | |
847 | local HITFLOOR = Raycast(BASE.Position, BASE.CFrame.lookVector, 2.1, Character) | |
848 | if HITFLOOR then | |
849 | if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then | |
850 | local HUM = HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") | |
851 | ApplyDamage(HUM,15) | |
852 | end | |
853 | break | |
854 | end | |
855 | end | |
856 | BEAM:remove() | |
857 | end)) | |
858 | for i=0, 0.05, 0.1 / Animation_Speed do | |
859 | Swait() | |
860 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
861 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
862 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(25), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
863 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
864 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
865 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
866 | end | |
867 | for i=0, 0.5, 0.1 / Animation_Speed do | |
868 | Swait() | |
869 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
870 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
871 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(-25), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
872 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
873 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
874 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
875 | end | |
876 | SWORDMODEL:remove() | |
877 | ATTACK = false | |
878 | Rooted = false | |
879 | end | |
880 | ||
881 | function Candy() | |
882 | ATTACK = true | |
883 | Rooted = true | |
884 | local CANDYMODEL = IT("Model",Effects) | |
885 | local HANDLE = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Dirt brown", "Stic", VT(0.2,1,0.2),false) | |
886 | local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1,0)* ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, -0.3, 0)) | |
887 | local HEAD1 = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Pearl", "Stic", VT(1,1,0.21),false) | |
888 | CreateWeldOrSnapOrMotor("Weld", HANDLE, HANDLE, HEAD1, CF(0,1,0)* ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
889 | local HEAD2 = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Really red", "Stic", VT(0.85,0.85,0.22),false) | |
890 | CreateWeldOrSnapOrMotor("Weld", HEAD1, HEAD1, HEAD2, CF(0,0,0)* ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
891 | local HEAD3 = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Pearl", "Stic", VT(0.55,0.55,0.23),false) | |
892 | CreateWeldOrSnapOrMotor("Weld", HEAD2, HEAD2, HEAD3, CF(0,0,0)* ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
893 | local HEAD4 = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Really red", "Stic", VT(0.25,0.25,0.24),false) | |
894 | CreateWeldOrSnapOrMotor("Weld", HEAD3, HEAD3, HEAD4, CF(0,0,0)* ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
895 | local THROWN = false | |
896 | local THROW = Mouse.Button1Down:connect(function(NEWKEY) | |
897 | THROWN = true | |
898 | end) | |
899 | for i=0, 2, 0.1 / Animation_Speed do | |
900 | Swait() | |
901 | if THROWN == true then | |
902 | break | |
903 | end | |
904 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
905 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
906 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(120), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
907 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
908 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
909 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
910 | end | |
911 | THROW:disconnect() | |
912 | for i=0, 1, 0.1 / Animation_Speed do | |
913 | Swait() | |
914 | if THROWN == true then | |
915 | break | |
916 | end | |
917 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
918 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed) | |
919 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15+sick.PlaybackLoudness/1200, 0.3) * ANGLES(RAD(100), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
920 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
921 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
922 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
923 | end | |
924 | if THROWN == false then | |
925 | CANDYMODEL:remove() | |
926 | coroutine.resume(coroutine.create(function() | |
927 | SONG = 554418756 | |
928 | Speed = 35 | |
929 | sick:Play() | |
930 | for i = 1, 150 do | |
931 | local MELEES = {} | |
932 | for _, c in pairs(Character:GetChildren()) do | |
933 | if c:IsA("BasePart") then | |
934 | local MELEE = APPLYMELEE(c,"inf","inf") | |
935 | table.insert(MELEES,MELEE) | |
936 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1)/2, Size2 = VT(1,1,1)/2, Transparency = .7, Transparency2 = 1, CFrame = c.CFrame*ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
937 | end | |
938 | end | |
939 | wait(0.1) | |
940 | for e = 1, #MELEES do | |
941 | MELEES[e]:disconnect() | |
942 | end | |
943 | end | |
944 | sick:Play() | |
945 | Speed = 20 | |
946 | SONG = 853518668 | |
947 | end)) | |
948 | else | |
949 | local GIVEINV = function(OBJECT,HUMAN) | |
950 | local TORSO = OBJECT:FindFirstChild("Torso") or OBJECT:FindFirstChild("UpperTorso") | |
951 | if TORSO then | |
952 | if TORSO:FindFirstChild("YAY") == nil then | |
953 | local MUSIC = CreateSound(554418756, TORSO, 3, 1, true) | |
954 | MUSIC.Name = "YAY" | |
955 | HUMAN.WalkSpeed = 35 | |
956 | local HEALTH = HUMAN.MaxHealth | |
957 | for i = 1, 150 do | |
958 | HUMAN.MaxHealth = 999999999999999999*999999999999999999*999999999999999999*999999999999999999 | |
959 | HUMAN.Health = HUMAN.MaxHealth | |
960 | MUSIC.Parent = TORSO | |
961 | local MELEES = {} | |
962 | for _, c in pairs(OBJECT:GetChildren()) do | |
963 | if c:IsA("BasePart") then | |
964 | local MELEE = APPLYMELEE(c,"inf","inf") | |
965 | table.insert(MELEES,MELEE) | |
966 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1)/2, Size2 = VT(1,1,1)/2, Transparency = .7, Transparency2 = 1, CFrame = c.CFrame*ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
967 | end | |
968 | end | |
969 | wait(0.1) | |
970 | for e = 1, #MELEES do | |
971 | MELEES[e]:disconnect() | |
972 | end | |
973 | end | |
974 | HUMAN.MaxHealth = HEALTH | |
975 | HUMAN.Health = HUMAN.MaxHealth | |
976 | MUSIC:remove() | |
977 | HUMAN.WalkSpeed = 16 | |
978 | end | |
979 | end | |
980 | end | |
981 | for i=0, 1, 0.1 / Animation_Speed do | |
982 | Swait() | |
983 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
984 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
985 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(160), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
986 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
987 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
988 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
989 | end | |
990 | for i=0, 0.05, 0.1 / Animation_Speed do | |
991 | Swait() | |
992 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
993 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
994 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(25), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
995 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
996 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
997 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
998 | end | |
999 | for _, c in pairs(CANDYMODEL:GetChildren()) do | |
1000 | if c:IsA("BasePart") then | |
1001 | c.CanCollide = true | |
1002 | c.Touched:Connect(function(hit) | |
1003 | if hit.Parent ~= Character then | |
1004 | if hit.Parent:FindFirstChildOfClass("Humanoid") then | |
1005 | CANDYMODEL:remove() | |
1006 | GIVEINV(hit.Parent,hit.Parent:FindFirstChildOfClass("Humanoid")) | |
1007 | end | |
1008 | end | |
1009 | end) | |
1010 | end | |
1011 | end | |
1012 | GRIP:remove() | |
1013 | HANDLE.Velocity = CF(HANDLE.Position,Torso.CFrame*CF(0,7,-15).p).lookVector*MRANDOM(45,80) | |
1014 | Debris:AddItem(CANDYMODEL,10) | |
1015 | for i=0, 0.4, 0.1 / Animation_Speed do | |
1016 | Swait() | |
1017 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1018 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1019 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(25), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1020 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1021 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1022 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1023 | end | |
1024 | end | |
1025 | ATTACK = false | |
1026 | Rooted = false | |
1027 | end | |
1028 | ||
1029 | function Peashooter() | |
1030 | ATTACK = true | |
1031 | Rooted = true | |
1032 | local LOADED = false | |
1033 | local BLASTER = IT("Model",Effects) | |
1034 | local HANDLE = CreatePart(3, BLASTER, "Neon", 0, 1, "Cyan", "Shooter", VT(1.3,1.4,1.3),false) | |
1035 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-0.5,0), CF(0, 0, 0)) | |
1036 | local HANDLE = CreatePart(3, BLASTER, "Neon", 0, 1, "Cyan", "Shooter", VT(1.1,1.4,1.1),false) | |
1037 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-0.75,0), CF(0, 0, 0)) | |
1038 | local SHOT = false | |
1039 | local FINISHED = false | |
1040 | coroutine.resume(coroutine.create(function() | |
1041 | for i=0, 1, 0.1 / Animation_Speed do | |
1042 | Swait() | |
1043 | turnto(Mouse.Hit.p) | |
1044 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1045 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1046 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(160), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1047 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1048 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1049 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1050 | end | |
1051 | LOADED = true | |
1052 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1)*3, Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1053 | for _, c in pairs(BLASTER:GetChildren()) do | |
1054 | if c:IsA("BasePart") then | |
1055 | c.Transparency = 0 | |
1056 | end | |
1057 | end | |
1058 | repeat | |
1059 | Swait() | |
1060 | turnto(Mouse.Hit.p) | |
1061 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1062 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1063 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(80), RAD(15), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1064 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1065 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1066 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1067 | until SHOT == true | |
1068 | repeat | |
1069 | turnto(Mouse.Hit.p) | |
1070 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1071 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1072 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(80), RAD(15), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1073 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1074 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1075 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1076 | coroutine.resume(coroutine.create(function() | |
1077 | local BULLET = IT("Model",Effects) | |
1078 | local MAIN = CreatePart(3, BULLET, "Neon", 0, 0, "Cork", "Bullet", VT(1,1,1.5)) | |
1079 | CreateSound(635556833, RightArm, 3, 1, false) | |
1080 | BULLET.PrimaryPart = MAIN | |
1081 | local PART = CreatePart(3, BULLET, "Neon", 0, 0, "Cork", "Bullet", VT(0.8,0.8,2)) | |
1082 | MAIN.CFrame = CF(RightArm.CFrame*CF(0,-2,0).p,Mouse.Hit.p) | |
1083 | PART.CFrame = MAIN.CFrame | |
1084 | for i = 1, 75 do | |
1085 | wait() | |
1086 | BULLET:SetPrimaryPartCFrame(MAIN.CFrame*CF(0,0,-2)) | |
1087 | local HITFLOOR = Raycast(MAIN.Position, MAIN.CFrame.lookVector, 2.1, Character) | |
1088 | if HITFLOOR then | |
1089 | if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then | |
1090 | local HUM = HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") | |
1091 | ApplyDamage(HUM,10) | |
1092 | end | |
1093 | break | |
1094 | end | |
1095 | end | |
1096 | BULLET:remove() | |
1097 | end)) | |
1098 | for i = 1, 25 do | |
1099 | Swait() | |
1100 | turnto(Mouse.Hit.p) | |
1101 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1102 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1103 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(80), RAD(15), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1104 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1105 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1106 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1107 | end | |
1108 | until HOLD == false | |
1109 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1110 | Swait() | |
1111 | turnto(Mouse.Hit.p) | |
1112 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1113 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1114 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(80), RAD(15), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1115 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1116 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1117 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1118 | end | |
1119 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1)*3, Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1120 | BLASTER:remove() | |
1121 | FINISHED = true | |
1122 | end)) | |
1123 | repeat wait() until LOADED == true | |
1124 | wait(0.5) | |
1125 | local FIRE = Mouse.Button1Down:connect(function(NEWKEY) | |
1126 | SHOT = true | |
1127 | end) | |
1128 | repeat wait() until SHOT == true | |
1129 | FIRE:disconnect() | |
1130 | repeat wait() until FINISHED == true | |
1131 | ATTACK = false | |
1132 | Rooted = false | |
1133 | end | |
1134 | ||
1135 | function QuestionMarkBlock2() | |
1136 | ATTACK = true | |
1137 | Rooted = true | |
1138 | local BLOCKMODEL = IT("Model",Effects) | |
1139 | local LOAD = false | |
1140 | local BLOCK = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "New Yeller", "Base", VT(2,2,2)) | |
1141 | BLOCK.CFrame = CF(RootPart.CFrame*CF(0,15,0).p) | |
1142 | BLOCKMODEL.PrimaryPart = BLOCK | |
1143 | local FRAME = RootPart.CFrame*CF(0,15,0) | |
1144 | for i = 1, 4 do | |
1145 | local BASE = CreatePart(3, BLOCKMODEL, "Neon", 0, 1, "New Yeller", "Blocc", VT(1.3,1.3,2)*1.001) | |
1146 | BASE.CFrame = BLOCK.CFrame * ANGLES(RAD(0), RAD((360/4)*i), RAD(0)) | |
1147 | local DECAL = IT("Decal",BASE) | |
1148 | DECAL.Texture = "http://www.roblox.com/asset/?id=1019185679" | |
1149 | local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Pearl", "Blocc", VT(0.2,0.2,2.1)) | |
1150 | PART.CFrame = BASE.CFrame*CF(0.75,0.75,0) | |
1151 | local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Pearl", "Blocc", VT(0.2,0.2,2.1)) | |
1152 | PART.CFrame = BASE.CFrame*CF(0.75,-0.75,0) | |
1153 | end | |
1154 | local LANDED = false | |
1155 | local HIT = false | |
1156 | local LOOP = 0 | |
1157 | coroutine.resume(coroutine.create(function() | |
1158 | repeat | |
1159 | Swait() | |
1160 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1161 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(0), RAD(7.5-30*SIN(sick.PlaybackLoudness/300)), RAD(0 - 25 * SIN(SINE / 15))), 1 / Animation_Speed) | |
1162 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(0), RAD(-15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1163 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1164 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1165 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1166 | until LOAD == true | |
1167 | repeat | |
1168 | Swait() | |
1169 | if HIT == false then | |
1170 | local HITFLOOR = Raycast(BLOCK.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 1.2, BLOCKMODEL) | |
1171 | if HITFLOOR then | |
1172 | HIT = true | |
1173 | coroutine.resume(coroutine.create(function() | |
1174 | local CFRAME = BLOCK.CFrame | |
1175 | RootPart.Velocity = VT(0,0,0) | |
1176 | RootPart.RotVelocity = VT(0,0,0) | |
1177 | coroutine.resume(coroutine.create(function() | |
1178 | CreateSound(138702491, BLOCK, 10, 1, false) | |
1179 | local COIN = CreatePart(3, BLOCKMODEL, "Neon", 0, 1, "New Yeller", "Coin", VT(1.8,1.8,0)) | |
1180 | COIN.CFrame = BLOCK.CFrame | |
1181 | local DECAL = IT("Decal",COIN) | |
1182 | DECAL.Texture = "http://www.roblox.com/asset/?id=1512322302" | |
1183 | local DECAL = IT("Decal",COIN) | |
1184 | DECAL.Texture = "http://www.roblox.com/asset/?id=1512322302" | |
1185 | DECAL.Face = "Back" | |
1186 | for i = 1, 15 do | |
1187 | wait() | |
1188 | COIN.CFrame = Clerp(FRAME, FRAME*CF(0,(15-(i/10)),0), 1 / Animation_Speed) | |
1189 | end | |
1190 | COIN:remove() | |
1191 | end)) | |
1192 | for i = 1, 5 do | |
1193 | wait() | |
1194 | RootPart.Velocity = VT(0,-i*4,0) | |
1195 | RootPart.RotVelocity = VT(0,0,0) | |
1196 | BLOCKMODEL:SetPrimaryPartCFrame(Clerp(CFRAME, CFRAME*CF(0,(5-i),0), 1 / Animation_Speed)) | |
1197 | end | |
1198 | BLOCK.BrickColor = BRICKC"Dirt brown" | |
1199 | for _, c in pairs(BLOCKMODEL:GetChildren()) do | |
1200 | if c:IsA("BasePart") and c.Name ~= "Base" then | |
1201 | c:remove() | |
1202 | end | |
1203 | end | |
1204 | Debris:AddItem(BLOCKMODEL,5) | |
1205 | end)) | |
1206 | end | |
1207 | else | |
1208 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
1209 | if HITFLOOR then | |
1210 | LANDED = true | |
1211 | end | |
1212 | end | |
1213 | LOOP = LOOP + 1 | |
1214 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1215 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1216 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, -0.2) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1217 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1218 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4-sick.PlaybackLoudness/800, -0.7) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1219 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.3) * ANGLES(RAD(-25), RAD(-80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1220 | until LANDED == true or ATTACK == false | |
1221 | end)) | |
1222 | wait(0.3) | |
1223 | LOAD = true | |
1224 | CreateSound(158309736, Torso, 10, 1, false) | |
1225 | local bv = Instance.new("BodyVelocity",RootPart) | |
1226 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1227 | bv.velocity = CF(RootPart.Position,BLOCK.Position).lookVector*150 | |
1228 | Debris:AddItem(bv,0.05) | |
1229 | repeat wait() until LANDED == true or LOOP > 45 | |
1230 | Debris:AddItem(BLOCKMODEL,5) | |
1231 | ATTACK = false | |
1232 | Rooted = false | |
1233 | end | |
1234 | ||
1235 | --//=================================\\ | |
1236 | --|| ASSIGN THINGS TO KEYS | |
1237 | --\\=================================// | |
1238 | ||
1239 | function MouseDown(Mouse) | |
1240 | HOLD = true | |
1241 | if ATTACK == false then | |
1242 | end | |
1243 | end | |
1244 | ||
1245 | function MouseUp(Mouse) | |
1246 | HOLD = false | |
1247 | end | |
1248 | ||
1249 | function KeyDown(Key) | |
1250 | KEYHOLD = true | |
1251 | if Key == "z" and ATTACK == false then | |
1252 | QuestionMarkBlock() | |
1253 | end | |
1254 | ||
1255 | if Key == "b" and ATTACK == false then | |
1256 | SwordBeam() | |
1257 | end | |
1258 | ||
1259 | if Key == "c" and ATTACK == false and SONG == 853518668 then | |
1260 | Candy() | |
1261 | end | |
1262 | ||
1263 | if Key == "v" and ATTACK == false then | |
1264 | Peashooter() | |
1265 | end | |
1266 | ||
1267 | if Key == "t" and ATTACK == false then | |
1268 | QuestionMarkBlock2() | |
1269 | end | |
1270 | end | |
1271 | ||
1272 | function KeyUp(Key) | |
1273 | KEYHOLD = false | |
1274 | end | |
1275 | ||
1276 | Mouse.Button1Down:connect(function(NEWKEY) | |
1277 | MouseDown(NEWKEY) | |
1278 | end) | |
1279 | Mouse.Button1Up:connect(function(NEWKEY) | |
1280 | MouseUp(NEWKEY) | |
1281 | end) | |
1282 | Mouse.KeyDown:connect(function(NEWKEY) | |
1283 | KeyDown(NEWKEY) | |
1284 | end) | |
1285 | Mouse.KeyUp:connect(function(NEWKEY) | |
1286 | KeyUp(NEWKEY) | |
1287 | end) | |
1288 | ||
1289 | --//=================================\\ | |
1290 | --\\=================================// | |
1291 | ||
1292 | function unanchor() | |
1293 | if UNANCHOR == true then | |
1294 | for _, c in pairs(Character:GetChildren()) do | |
1295 | if c:IsA("BasePart") then | |
1296 | c.Anchored = false | |
1297 | end | |
1298 | end | |
1299 | else | |
1300 | for _, c in pairs(Character:GetChildren()) do | |
1301 | if c:IsA("BasePart") then | |
1302 | c.Anchored = true | |
1303 | end | |
1304 | end | |
1305 | end | |
1306 | end | |
1307 | ||
1308 | --//=================================\\ | |
1309 | --|| WRAP THE WHOLE SCRIPT UP | |
1310 | --\\=================================// | |
1311 | ||
1312 | local JUMPED = false | |
1313 | ||
1314 | Humanoid.Changed:connect(function(Jump) | |
1315 | if Jump == "Jump" and (Disable_Jump == true) then | |
1316 | Humanoid.Jump = false | |
1317 | elseif Jump == "Jump" and Disable_Jump == false and JUMPED == false then | |
1318 | JUMPED = true | |
1319 | CreateSound(158309736, Torso, 10, 1, false) | |
1320 | end | |
1321 | end) | |
1322 | ||
1323 | while true do | |
1324 | Swait() | |
1325 | script.Parent = WEAPONGUI | |
1326 | ANIMATE.Parent = nil | |
1327 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
1328 | v:Stop(); | |
1329 | end | |
1330 | Humanoid.JumpPower = 75 | |
1331 | SINE = SINE + CHANGE | |
1332 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
1333 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
1334 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
1335 | local WALKSPEEDVALUE = 4 / (Humanoid.WalkSpeed / 16) | |
1336 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
1337 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1338 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1339 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.825 - 0.175 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.1- 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1340 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.825 + 0.175 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.1+ 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1341 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
1342 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1343 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1344 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1345 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1346 | end | |
1347 | if HITFLOOR == nil then | |
1348 | ANIM = "Midair" | |
1349 | local JUMPHIT = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5, Character) | |
1350 | if JUMPHIT ~= nil and TORSOVERTICALVELOCITY < 0 then | |
1351 | if JUMPHIT.Name == "Head" and JUMPHIT:FindFirstChild("Stomped") == nil then | |
1352 | local HIT = IT("Folder",JUMPHIT) | |
1353 | HIT.Name = "Stomped" | |
1354 | CreateSound(165013277, JUMPHIT, 10, 1, false) | |
1355 | RootPart.Velocity = VT(0,80,0) | |
1356 | GoombaStomp(JUMPHIT.Parent) | |
1357 | elseif JUMPHIT.Parent.ClassName == "Accessory" then | |
1358 | local HEAD = JUMPHIT.Parent.Parent:FindFirstChild("Head") | |
1359 | if HEAD then | |
1360 | if HEAD:FindFirstChild("Stomped") == nil then | |
1361 | local HIT = IT("Folder",HEAD) | |
1362 | HIT.Name = "Stomped" | |
1363 | CreateSound(165013277, HEAD, 10, 1, false) | |
1364 | RootPart.Velocity = VT(0,80,0) | |
1365 | GoombaStomp(HEAD.Parent) | |
1366 | end | |
1367 | end | |
1368 | end | |
1369 | end | |
1370 | local JUMPHIT = Raycast(RootPart.CFrame*CF(1,0,0).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5, Character) | |
1371 | if JUMPHIT ~= nil and TORSOVERTICALVELOCITY < 0 then | |
1372 | if JUMPHIT.Name == "Head" and JUMPHIT:FindFirstChild("Stomped") == nil then | |
1373 | local HIT = IT("Folder",JUMPHIT) | |
1374 | HIT.Name = "Stomped" | |
1375 | CreateSound(165013277, JUMPHIT, 10, 1, false) | |
1376 | RootPart.Velocity = VT(0,80,0) | |
1377 | GoombaStomp(JUMPHIT.Parent) | |
1378 | elseif JUMPHIT.Parent.ClassName == "Accessory" then | |
1379 | local HEAD = JUMPHIT.Parent.Parent:FindFirstChild("Head") | |
1380 | if HEAD then | |
1381 | if HEAD:FindFirstChild("Stomped") == nil then | |
1382 | local HIT = IT("Folder",HEAD) | |
1383 | HIT.Name = "Stomped" | |
1384 | CreateSound(165013277, HEAD, 10, 1, false) | |
1385 | RootPart.Velocity = VT(0,80,0) | |
1386 | GoombaStomp(HEAD.Parent) | |
1387 | end | |
1388 | end | |
1389 | end | |
1390 | end | |
1391 | local JUMPHIT = Raycast(RootPart.CFrame*CF(-1,0,0).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5, Character) | |
1392 | if JUMPHIT ~= nil and TORSOVERTICALVELOCITY < 0 then | |
1393 | if JUMPHIT.Name == "Head" and JUMPHIT:FindFirstChild("Stomped") == nil then | |
1394 | local HIT = IT("Folder",JUMPHIT) | |
1395 | HIT.Name = "Stomped" | |
1396 | CreateSound(165013277, JUMPHIT, 10, 1, false) | |
1397 | RootPart.Velocity = VT(0,80,0) | |
1398 | GoombaStomp(JUMPHIT.Parent) | |
1399 | elseif JUMPHIT.Parent.ClassName == "Accessory" then | |
1400 | local HEAD = JUMPHIT.Parent.Parent:FindFirstChild("Head") | |
1401 | if HEAD then | |
1402 | if HEAD:FindFirstChild("Stomped") == nil then | |
1403 | local HIT = IT("Folder",HEAD) | |
1404 | HIT.Name = "Stomped" | |
1405 | CreateSound(165013277, HEAD, 10, 1, false) | |
1406 | RootPart.Velocity = VT(0,80,0) | |
1407 | GoombaStomp(HEAD.Parent) | |
1408 | end | |
1409 | end | |
1410 | end | |
1411 | end | |
1412 | if ATTACK == false then | |
1413 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1414 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1415 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, -0.2) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1416 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1417 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4-sick.PlaybackLoudness/800, -0.7) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1418 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.3) * ANGLES(RAD(-25), RAD(-80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1419 | end | |
1420 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
1421 | ANIM = "Idle" | |
1422 | JUMPED = false | |
1423 | if ATTACK == false then | |
1424 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1425 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(0), RAD(7.5-30*SIN(sick.PlaybackLoudness/300)), RAD(0 - 25 * SIN(SINE / 15))), 1 / Animation_Speed) | |
1426 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(0), RAD(-15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1427 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1428 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1429 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1430 | end | |
1431 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
1432 | ANIM = "Walk" | |
1433 | JUMPED = false | |
1434 | if ATTACK == false then | |
1435 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1+sick.PlaybackLoudness/800) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1436 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(5 - 2 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(7.5-30*SIN(sick.PlaybackLoudness/300)), RAD(0)), 1 / Animation_Speed) | |
1437 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed) | |
1438 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1439 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1-sick.PlaybackLoudness/800, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-3)), 2 / Animation_Speed) | |
1440 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(3)), 2 / Animation_Speed) | |
1441 | end | |
1442 | end | |
1443 | unanchor() | |
1444 | Humanoid.MaxHealth = 999999999999999999*999999999999999999*999999999999999999*999999999999999999 | |
1445 | Humanoid.Health = Humanoid.MaxHealth | |
1446 | if Rooted == false then | |
1447 | Disable_Jump = false | |
1448 | Humanoid.WalkSpeed = Speed | |
1449 | elseif Rooted == true then | |
1450 | Disable_Jump = true | |
1451 | Humanoid.WalkSpeed = 0 | |
1452 | end | |
1453 | local COLOR = C3((0+sick.PlaybackLoudness/200)/510,(115+sick.PlaybackLoudness/25)/510,(150+sick.PlaybackLoudness*1.5)/610) | |
1454 | for _, c in pairs(Character:GetChildren()) do | |
1455 | if c:IsA("BasePart") and c.Name ~= "Detail" then | |
1456 | c.Material = "Neon" | |
1457 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1458 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1459 | end | |
1460 | c.Color = BRICKC"Steel blue".Color | |
1461 | if c == Head then | |
1462 | if c:FindFirstChild("face") then | |
1463 | c.face:remove() | |
1464 | end | |
1465 | end | |
1466 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1467 | c:remove() | |
1468 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
1469 | c:remove() | |
1470 | elseif c.Name == "Detail" then | |
1471 | c.Material = "Neon" | |
1472 | c.Color = COLOR | |
1473 | end | |
1474 | end | |
1475 | if DEAD == false then | |
1476 | sick.SoundId = "rbxassetid://"..SONG | |
1477 | sick.Looped = true | |
1478 | sick.Pitch = 1 | |
1479 | sick.Volume = 2 | |
1480 | sick.Playing = true | |
1481 | sick.Parent = Torso | |
1482 | else | |
1483 | sick:remove() | |
1484 | end | |
1485 | Humanoid.Name = "Mr Pixels" | |
1486 | ||
1487 | local player = game:GetService('Players').LocalPlayer | |
1488 | local rightclone = Instance.new('Motor6D') | |
1489 | rightclone.Name = "Right Shoulder" | |
1490 | rightclone.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1491 | rightclone.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1492 | local leftclone = Instance.new('Motor6D') | |
1493 | leftclone.Name = "Left Shoulder" | |
1494 | leftclone.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
1495 | leftclone.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
1496 | local leftlegclone = Instance.new('Motor6D') | |
1497 | leftlegclone.Name = "Left Hip" | |
1498 | leftlegclone.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
1499 | leftlegclone.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
1500 | local rightlegclone = Instance.new('Motor6D') | |
1501 | rightlegclone.Name = "Right Hip" | |
1502 | rightlegclone.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1503 | rightlegclone.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1504 | local torsoclone = Instance.new('Motor6D') | |
1505 | torsoclone.Name = "RootJoint" | |
1506 | torsoclone.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1507 | torsoclone.C1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1508 | local mouse = player:GetMouse() | |
1509 | local rag1 = false | |
1510 | local rag2 = false | |
1511 | local firsttime = true | |
1512 | local firsttime2 = true | |
1513 | local firsttime3 = true | |
1514 | local firsttime4 = true | |
1515 | local firsttime5 = true | |
1516 | local childlock = true | |
1517 | local math1 = math.random(1,5) | |
1518 | math1 = math1+(math.random(0,9)/10) | |
1519 | local math2 = math.random(1,15) | |
1520 | math2 = math2+(math.random(0,9)/10) | |
1521 | local math3 = math.random(1,10) | |
1522 | math3 = math3+(math.random(0,9)/10) | |
1523 | local math4 = math.random(5,100) | |
1524 | math4 = math4+(math.random(0,9)/10) | |
1525 | local answer = (math4+(math1*math3))/(math1*math2) | |
1526 | answer = math.floor((answer*10)+0.5) | |
1527 | answer = answer/10 | |
1528 | print([[To be fair, you have to have a very high IQ to understand Rick and Morty. | |
1529 | The humor is extremely subtle, and without a solid grasp of theoretical physics most of the jokes will go over a typical viewer's head. | |
1530 | There's also Rick's nihilistic outlook, which is deftly woven into his characterisation - | |
1531 | his personal philosophy draws heavily from Narodnaya Volya literature, for instance. | |
1532 | The fans understand this stuff; | |
1533 | they have the intellectual capacity to truly appreciate the depths of these jokes, to realize that they're not just funny- they say something deep about LIFE. | |
1534 | As a consequence people who dislike Rick and Morty truly ARE idiots- | |
1535 | of course they wouldn't appreciate, for instance, the humour in Rick's existencial catchphrase "Wubba Lubba Dub Dub," which itself is a cryptic reference to Turgenev's Russian epic Fathers and Sons. | |
1536 | I'm smirking right now just imagining one of those addlepated simpletons scratching their heads in confusion as Dan Harmon's genius unfolds itself on their television screens. | |
1537 | What fools... how I pity them. | |
1538 | And yes by the way, I DO have a Rick and Morty tattoo. | |
1539 | And no, you cannot see it. | |
1540 | It's for the ladies' eyes only- | |
1541 | And even they have to demonstrate that they're within ]]..answer..[[ IQ points of my own (preferably lower) beforehand.]]) | |
1542 | local rekt = {} | |
1543 | ||
1544 | -- Objects | |
1545 | ||
1546 | local MainGUI = Instance.new("ScreenGui") | |
1547 | local Customize = Instance.new("TextButton") | |
1548 | local Frame = Instance.new("Frame") | |
1549 | local TextLabel = Instance.new("TextLabel") | |
1550 | local Frame_2 = Instance.new("Frame") | |
1551 | local Frame_3 = Instance.new("Frame") | |
1552 | local ImageLabel = Instance.new("ImageLabel") | |
1553 | local R = Instance.new("TextBox") | |
1554 | local G = Instance.new("TextBox") | |
1555 | local B = Instance.new("TextBox") | |
1556 | local TextLabel_2 = Instance.new("TextLabel") | |
1557 | local TextLabel_3 = Instance.new("TextLabel") | |
1558 | local TextLabel_4 = Instance.new("TextLabel") | |
1559 | local Slider = Instance.new("Frame") | |
1560 | local Slidee = Instance.new("ImageButton") | |
1561 | local ChildLock = Instance.new("Frame") | |
1562 | local TextLabel_5 = Instance.new("TextLabel") | |
1563 | local mathz = Instance.new("TextLabel") | |
1564 | local TextBox = Instance.new("TextBox") | |
1565 | local Black = Instance.new('Frame') | |
1566 | local fps = Instance.new('TextLabel') | |
1567 | ||
1568 | -- Properties | |
1569 | ||
1570 | MainGUI.Name = "MainGUI" | |
1571 | MainGUI.ResetOnSpawn = false | |
1572 | pcall(function() | |
1573 | MainGUI.Parent = player.PlayerGui | |
1574 | end) | |
1575 | pcall(function() | |
1576 | MainGUI.Parent = game.CoreGui | |
1577 | game.CoreGui.RobloxGui.Backpack.Hotbar.AnchorPoint = Vector2.new(0.5,0.5) | |
1578 | game.CoreGui.RobloxGui.Backpack.Hotbar.Position = UDim2.new(0.5,0,0.85,0) | |
1579 | end) | |
1580 | ||
1581 | ||
1582 | Customize.Name = "Customize" | |
1583 | Customize.Parent = MainGUI | |
1584 | Customize.BackgroundColor3 = Color3.new(0, 0.776471, 0.282353) | |
1585 | Customize.BorderSizePixel = 0 | |
1586 | Customize.Position = UDim2.new(0.15, 0, 0.9, 0) | |
1587 | Customize.Size = UDim2.new(0.699999988, 0, 0.100000001, 0) | |
1588 | Customize.Font = Enum.Font.SourceSans | |
1589 | Customize.FontSize = Enum.FontSize.Size14 | |
1590 | Customize.Text = "Customize V4" | |
1591 | Customize.TextColor3 = Color3.new(1, 1, 1) | |
1592 | Customize.TextScaled = true | |
1593 | Customize.TextSize = 14 | |
1594 | Customize.TextWrapped = true | |
1595 | ||
1596 | Frame.Parent = Customize | |
1597 | Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) | |
1598 | Frame.BorderSizePixel = 0 | |
1599 | Frame.Position = UDim2.new(0, 0, 1, 0) | |
1600 | Frame.Size = UDim2.new(1, 0, 6.5, 0) | |
1601 | ||
1602 | TextLabel.Parent = Frame | |
1603 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
1604 | TextLabel.BackgroundTransparency = 1 | |
1605 | TextLabel.Position = UDim2.new(0, 0, 0.100000001, 0) | |
1606 | TextLabel.Size = UDim2.new(0.300000012, 0, 0.200000003, 0) | |
1607 | TextLabel.Font = Enum.Font.SourceSansLight | |
1608 | TextLabel.FontSize = Enum.FontSize.Size14 | |
1609 | TextLabel.Text = "Blood Color: [255, 255, 255]" | |
1610 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
1611 | TextLabel.TextScaled = true | |
1612 | TextLabel.TextSize = 14 | |
1613 | TextLabel.TextWrapped = true | |
1614 | TextLabel.TextXAlignment = Enum.TextXAlignment.Right | |
1615 | ||
1616 | Frame_2.Parent = TextLabel | |
1617 | Frame_2.BackgroundColor3 = Color3.new(0.458824, 0, 0) | |
1618 | Frame_2.BorderSizePixel = 0 | |
1619 | Frame_2.Position = UDim2.new(1.04999995, 0, 0, 0) | |
1620 | Frame_2.Size = UDim2.new(1, 0, 1, 0) | |
1621 | Frame_2.SizeConstraint = Enum.SizeConstraint.RelativeYY | |
1622 | ||
1623 | Frame_3.Parent = Frame | |
1624 | Frame_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
1625 | Frame_3.BackgroundTransparency = 1 | |
1626 | Frame_3.BorderSizePixel = 0 | |
1627 | Frame_3.Position = UDim2.new(0.0500000007, 0, 0.449999988, 0) | |
1628 | Frame_3.Size = UDim2.new(0.5, 0, 0.5, 0) | |
1629 | Frame_3.SizeConstraint = Enum.SizeConstraint.RelativeYY | |
1630 | ||
1631 | ImageLabel.Parent = Frame_3 | |
1632 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
1633 | ImageLabel.BackgroundTransparency = 1 | |
1634 | ImageLabel.Size = UDim2.new(1, 0, 1, 0) | |
1635 | ImageLabel.Image = "rbxassetid://328298876" | |
1636 | ||
1637 | R.Name = "R" | |
1638 | R.Parent = Frame_3 | |
1639 | R.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1640 | R.BorderSizePixel = 0 | |
1641 | R.Position = UDim2.new(1.39999998, 0, 0, 0) | |
1642 | R.Size = UDim2.new(0.75, 0, 0.300000012, 0) | |
1643 | R.Font = Enum.Font.SourceSans | |
1644 | R.FontSize = Enum.FontSize.Size14 | |
1645 | R.Text = "Input" | |
1646 | R.TextColor3 = Color3.new(1, 1, 1) | |
1647 | R.TextScaled = true | |
1648 | R.TextSize = 14 | |
1649 | R.TextWrapped = true | |
1650 | R.TextXAlignment = Enum.TextXAlignment.Left | |
1651 | ||
1652 | G.Name = "G" | |
1653 | G.Parent = Frame_3 | |
1654 | G.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1655 | G.BorderSizePixel = 0 | |
1656 | G.Position = UDim2.new(1.39999998, 0, 0.349999994, 0) | |
1657 | G.Size = UDim2.new(0.75, 0, 0.300000012, 0) | |
1658 | G.Font = Enum.Font.SourceSans | |
1659 | G.FontSize = Enum.FontSize.Size14 | |
1660 | G.Text = "Input" | |
1661 | G.TextColor3 = Color3.new(1, 1, 1) | |
1662 | G.TextScaled = true | |
1663 | G.TextSize = 14 | |
1664 | G.TextWrapped = true | |
1665 | G.TextXAlignment = Enum.TextXAlignment.Left | |
1666 | ||
1667 | B.Name = "B" | |
1668 | B.Parent = Frame_3 | |
1669 | B.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1670 | B.BorderSizePixel = 0 | |
1671 | B.Position = UDim2.new(1.39999998, 0, 0.699999988, 0) | |
1672 | B.Size = UDim2.new(0.75, 0, 0.300000012, 0) | |
1673 | B.Font = Enum.Font.SourceSans | |
1674 | B.FontSize = Enum.FontSize.Size14 | |
1675 | B.Text = "Input" | |
1676 | B.TextColor3 = Color3.new(1, 1, 1) | |
1677 | B.TextScaled = true | |
1678 | B.TextSize = 14 | |
1679 | B.TextWrapped = true | |
1680 | B.TextXAlignment = Enum.TextXAlignment.Left | |
1681 | ||
1682 | TextLabel_2.Parent = Frame_3 | |
1683 | TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
1684 | TextLabel_2.BackgroundTransparency = 1 | |
1685 | TextLabel_2.Position = UDim2.new(1.04999995, 0, 0, 0) | |
1686 | TextLabel_2.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
1687 | TextLabel_2.Font = Enum.Font.SourceSansLight | |
1688 | TextLabel_2.FontSize = Enum.FontSize.Size14 | |
1689 | TextLabel_2.Text = "R" | |
1690 | TextLabel_2.TextColor3 = Color3.new(1, 1, 1) | |
1691 | TextLabel_2.TextScaled = true | |
1692 | TextLabel_2.TextSize = 14 | |
1693 | TextLabel_2.TextWrapped = true | |
1694 | ||
1695 | TextLabel_3.Parent = Frame_3 | |
1696 | TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
1697 | TextLabel_3.BackgroundTransparency = 1 | |
1698 | TextLabel_3.Position = UDim2.new(1.04999995, 0, 0.349999994, 0) | |
1699 | TextLabel_3.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
1700 | TextLabel_3.Font = Enum.Font.SourceSansLight | |
1701 | TextLabel_3.FontSize = Enum.FontSize.Size14 | |
1702 | TextLabel_3.Text = "G" | |
1703 | TextLabel_3.TextColor3 = Color3.new(1, 1, 1) | |
1704 | TextLabel_3.TextScaled = true | |
1705 | TextLabel_3.TextSize = 14 | |
1706 | TextLabel_3.TextWrapped = true | |
1707 | ||
1708 | TextLabel_4.Parent = Frame_3 | |
1709 | TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1) | |
1710 | TextLabel_4.BackgroundTransparency = 1 | |
1711 | TextLabel_4.Position = UDim2.new(1.04999995, 0, 0.699999988, 0) | |
1712 | TextLabel_4.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
1713 | TextLabel_4.Font = Enum.Font.SourceSansLight | |
1714 | TextLabel_4.FontSize = Enum.FontSize.Size14 | |
1715 | TextLabel_4.Text = "B" | |
1716 | TextLabel_4.TextColor3 = Color3.new(1, 1, 1) | |
1717 | TextLabel_4.TextScaled = true | |
1718 | TextLabel_4.TextSize = 14 | |
1719 | TextLabel_4.TextWrapped = true | |
1720 | ||
1721 | Slider.Name = "Slider" | |
1722 | Slider.Parent = Frame | |
1723 | Slider.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
1724 | Slider.Position = UDim2.new(0.0500000007, 0, 0.375, 0) | |
1725 | Slider.Size = UDim2.new(0.230000004, 0, 0.00999999978, 0) | |
1726 | ||
1727 | Slidee.Name = "Slidee" | |
1728 | Slidee.Parent = Slider | |
1729 | Slidee.AnchorPoint = Vector2.new(0.5, 0.5) | |
1730 | Slidee.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177) | |
1731 | Slidee.BorderSizePixel = 0 | |
1732 | Slidee.Size = UDim2.new(0.0299999993, 0, 7, 0) | |
1733 | Slidee.ImageTransparency = 1 | |
1734 | ||
1735 | ChildLock.Name = "ChildLock" | |
1736 | ChildLock.Parent = Frame | |
1737 | ChildLock.Active = true | |
1738 | ChildLock.BackgroundColor3 = Color3.new(0, 0, 0) | |
1739 | ChildLock.BackgroundTransparency = 0.60000002384186 | |
1740 | ChildLock.BorderSizePixel = 0 | |
1741 | ChildLock.Position = UDim2.new(0.600000024, 0, 0, 0) | |
1742 | ChildLock.Size = UDim2.new(0.400000006, 0, 1, 0) | |
1743 | ChildLock.ZIndex = 2 | |
1744 | ||
1745 | TextLabel_5.Parent = ChildLock | |
1746 | TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1) | |
1747 | TextLabel_5.BackgroundTransparency = 1 | |
1748 | TextLabel_5.BorderSizePixel = 0 | |
1749 | TextLabel_5.Position = UDim2.new(0.125, 0, 0.150000006, 0) | |
1750 | TextLabel_5.Size = UDim2.new(0.75, 0, 0.200000003, 0) | |
1751 | TextLabel_5.ZIndex = 3 | |
1752 | TextLabel_5.Font = Enum.Font.SourceSans | |
1753 | TextLabel_5.FontSize = Enum.FontSize.Size14 | |
1754 | TextLabel_5.Text = "do this math to disable child lock" | |
1755 | TextLabel_5.TextColor3 = Color3.new(1, 1, 1) | |
1756 | TextLabel_5.TextScaled = true | |
1757 | TextLabel_5.TextSize = 14 | |
1758 | TextLabel_5.TextWrapped = true | |
1759 | ||
1760 | mathz.Name = "mathz" | |
1761 | mathz.Parent = ChildLock | |
1762 | mathz.BackgroundColor3 = Color3.new(1, 1, 1) | |
1763 | mathz.BackgroundTransparency = 1 | |
1764 | mathz.Position = UDim2.new(0.125, 0, 0.449999988, 0) | |
1765 | mathz.Size = UDim2.new(0.75, 0, 0.200000003, 0) | |
1766 | mathz.ZIndex = 3 | |
1767 | mathz.Font = Enum.Font.SourceSans | |
1768 | mathz.FontSize = Enum.FontSize.Size14 | |
1769 | mathz.Text = math1.."("..math2.."r - "..math3..") = "..math4 | |
1770 | mathz.TextColor3 = Color3.new(1, 1, 1) | |
1771 | mathz.TextScaled = true | |
1772 | mathz.TextSize = 14 | |
1773 | mathz.TextWrapped = true | |
1774 | ||
1775 | fps.Name = "fps" | |
1776 | fps.Parent = Frame | |
1777 | fps.BackgroundColor3 = Color3.new(1, 1, 1) | |
1778 | fps.BackgroundTransparency = 1 | |
1779 | fps.Size = UDim2.new(0.75, 0, 0.05, 0) | |
1780 | fps.ZIndex = 3 | |
1781 | fps.Font = Enum.Font.SourceSansLight | |
1782 | fps.FontSize = Enum.FontSize.Size14 | |
1783 | fps.Text = "FPS: N/A" | |
1784 | fps.TextColor3 = Color3.new(1, 1, 1) | |
1785 | fps.TextScaled = true | |
1786 | fps.TextSize = 14 | |
1787 | fps.TextWrapped = true | |
1788 | fps.TextXAlignment = Enum.TextXAlignment.Left | |
1789 | ||
1790 | TextBox.Parent = ChildLock | |
1791 | TextBox.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1792 | TextBox.BorderSizePixel = 0 | |
1793 | TextBox.Position = UDim2.new(0.200000003, 0, 0.699999988, 0) | |
1794 | TextBox.Size = UDim2.new(0.600000024, 0, 0.200000003, 0) | |
1795 | TextBox.ZIndex = 3 | |
1796 | TextBox.Font = Enum.Font.SourceSans | |
1797 | TextBox.FontSize = Enum.FontSize.Size14 | |
1798 | TextBox.Text = "Answer (rounded to nearest tenth)" | |
1799 | TextBox.TextColor3 = Color3.new(1, 1, 1) | |
1800 | TextBox.TextScaled = true | |
1801 | TextBox.TextSize = 14 | |
1802 | TextBox.TextWrapped = true | |
1803 | TextBox.TextXAlignment = Enum.TextXAlignment.Left | |
1804 | ||
1805 | Black.Size = UDim2.new(1,0,1,0) | |
1806 | Black.BackgroundTransparency = 1 | |
1807 | Black.BorderSizePixel = 0 | |
1808 | Black.BackgroundColor3 = Color3.new(0,0,0) | |
1809 | Black.Parent = Frame_3 | |
1810 | ||
1811 | TextBox.FocusLost:connect(function() | |
1812 | if TextBox.Text == tostring(answer) or TextBox.Text == "r="..tostring(answer) or TextBox.Text == "r= "..tostring(answer) or TextBox.Text == "r = "..tostring(answer) or TextBox.Text == "r= "..tostring(answer) or TextBox.Text == tostring(answer).."=r" or TextBox.Text == tostring(answer).." =r" or TextBox.Text == tostring(answer).."= r" or TextBox.Text == tostring(answer).." = r" then | |
1813 | ChildLock:Destroy() | |
1814 | childlock = false | |
1815 | notify("Child lock disabled, press B to enable dildo mode.",true) | |
1816 | end | |
1817 | end) | |
1818 | ||
1819 | local mousedown = false | |
1820 | mouse.Button1Down:connect(function() | |
1821 | mousedown = true | |
1822 | end) | |
1823 | mouse.Button1Up:connect(function() | |
1824 | mousedown = false | |
1825 | slidee = false | |
1826 | end) | |
1827 | ||
1828 | Slidee.MouseButton1Down:connect(function() | |
1829 | slidee = true | |
1830 | end) | |
1831 | Slidee.MouseButton1Up:connect(function() | |
1832 | slidee = false | |
1833 | end) | |
1834 | ||
1835 | mouse.Move:connect(function() | |
1836 | if mousedown then | |
1837 | if mouse.X >= ImageLabel.AbsolutePosition.X and mouse.X <= ImageLabel.AbsolutePosition.X+ ImageLabel.AbsoluteSize.X and mouse.Y >= ImageLabel.AbsolutePosition.Y and mouse.Y <= ImageLabel.AbsolutePosition.Y+ ImageLabel.AbsoluteSize.Y then | |
1838 | local newX = ImageLabel.AbsoluteSize.X-(mouse.X-ImageLabel.AbsolutePosition.X) | |
1839 | local newY = ImageLabel.AbsoluteSize.Y-(mouse.Y-ImageLabel.AbsolutePosition.Y) | |
1840 | local newcolor = Color3.fromHSV(newX/ImageLabel.AbsoluteSize.X,newY/ImageLabel.AbsoluteSize.Y,Black.Transparency) | |
1841 | Frame_2.BackgroundColor3 = newcolor | |
1842 | TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" | |
1843 | end | |
1844 | end | |
1845 | if slidee then | |
1846 | local ree = mouse.X | |
1847 | if ree < Slider.AbsolutePosition.X then | |
1848 | ree = Slider.AbsolutePosition.X | |
1849 | elseif ree > Slider.AbsolutePosition.X+Slider.AbsoluteSize.X then | |
1850 | ree = Slider.AbsolutePosition.X+Slider.AbsoluteSize.X | |
1851 | end | |
1852 | Slidee.Position = UDim2.new(0,ree-Slider.AbsolutePosition.X,0,0) | |
1853 | Black.Transparency = 1-(Slidee.Position.X.Offset/Slider.AbsoluteSize.X) | |
1854 | end | |
1855 | end) | |
1856 | ||
1857 | R.FocusLost:connect(function() | |
1858 | if R.Text ~= "Input" then | |
1859 | if tonumber(R.Text) then | |
1860 | if tonumber(R.Text) > 255 then | |
1861 | R.Text = "255" | |
1862 | end | |
1863 | local newcolor = Color3.new(tonumber(R.Text/255),Frame_2.BackgroundColor3.g,Frame_2.BackgroundColor3.b) | |
1864 | Frame_2.BackgroundColor3 = newcolor | |
1865 | TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" | |
1866 | R.Text = "Input" | |
1867 | end | |
1868 | end | |
1869 | end) | |
1870 | G.FocusLost:connect(function() | |
1871 | if G.Text ~= "Input" then | |
1872 | if tonumber(G.Text) then | |
1873 | if tonumber(G.Text) > 255 then | |
1874 | G.Text = "255" | |
1875 | end | |
1876 | local newcolor = Color3.new(Frame_2.BackgroundColor3.r,tonumber(G.Text/255),Frame_2.BackgroundColor3.b) | |
1877 | Frame_2.BackgroundColor3 = newcolor | |
1878 | TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" | |
1879 | G.Text = "Input" | |
1880 | end | |
1881 | end | |
1882 | end) | |
1883 | B.FocusLost:connect(function() | |
1884 | if B.Text ~= "Input" then | |
1885 | if tonumber(B.Text) then | |
1886 | if tonumber(B.Text) > 255 then | |
1887 | B.Text = "255" | |
1888 | end | |
1889 | local newcolor = Color3.new(Frame_2.BackgroundColor3.r,Frame_2.BackgroundColor3.g,tonumber(B.Text/255)) | |
1890 | Frame_2.BackgroundColor3 = newcolor | |
1891 | TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" | |
1892 | B.Text = "Input" | |
1893 | end | |
1894 | end | |
1895 | end) | |
1896 | ||
1897 | local open = false | |
1898 | local opening = false | |
1899 | Customize.MouseButton1Click:connect(function() | |
1900 | if opening == false then | |
1901 | if open == false then | |
1902 | open = true | |
1903 | opening = true | |
1904 | Customize:TweenPosition(UDim2.new(0.15, 0, 0.1, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint,1) | |
1905 | wait(1) | |
1906 | opening = false | |
1907 | else | |
1908 | open = false | |
1909 | opening = true | |
1910 | Customize:TweenPosition(UDim2.new(0.15, 0, 0.9, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint,1) | |
1911 | wait(1) | |
1912 | opening = false | |
1913 | end | |
1914 | end | |
1915 | end) | |
1916 | ||
1917 | Frame_2.BackgroundColor3 = Color3.fromRGB(117,0,0) | |
1918 | ||
1919 | function removewelds(part) | |
1920 | for i,v in pairs(part:GetChildren()) do | |
1921 | if v:IsA('Weld') then v:Destroy() end | |
1922 | end | |
1923 | end | |
1924 | ||
1925 | function notify(msg,remove) | |
1926 | local coru= coroutine.wrap(function() | |
1927 | for i,v in pairs(MainGUI:GetChildren()) do | |
1928 | if v:IsA('TextLabel') then v:Destroy() end | |
1929 | end | |
1930 | if msg then | |
1931 | local TextLabel = Instance.new("TextLabel") | |
1932 | local Frame = Instance.new("Frame") | |
1933 | ||
1934 | -- Properties | |
1935 | ||
1936 | TextLabel.Parent = MainGUI | |
1937 | TextLabel.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451) | |
1938 | TextLabel.BorderSizePixel = 0 | |
1939 | TextLabel.Position = UDim2.new(0.25, 0, 0.05, -10) | |
1940 | TextLabel.Size = UDim2.new(0.5, 0, 0.1, 0) | |
1941 | TextLabel.Font = Enum.Font.SourceSans | |
1942 | TextLabel.FontSize = Enum.FontSize.Size60 | |
1943 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
1944 | TextLabel.TextSize = 50 | |
1945 | TextLabel.Transparency = 1 | |
1946 | TextLabel.TextScaled = true | |
1947 | TextLabel.TextYAlignment = Enum.TextYAlignment.Top | |
1948 | TextLabel.Text = "" | |
1949 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left | |
1950 | ||
1951 | Frame.Parent = TextLabel | |
1952 | Frame.BackgroundColor3 = Color3.new(0.192157, 0.192157, 0.192157) | |
1953 | Frame.BorderSizePixel = 0 | |
1954 | Frame.Transparency = 1 | |
1955 | Frame.Position = UDim2.new(0, 0, 1,0) | |
1956 | Frame.Size = UDim2.new(1, 0, 0, 5) | |
1957 | for i=1,10 do | |
1958 | TextLabel.Transparency = TextLabel.Transparency-0.1 | |
1959 | TextLabel.Position = TextLabel.Position+UDim2.new(0,0,0,1) | |
1960 | Frame.Transparency = Frame.Transparency-0.1 | |
1961 | wait() | |
1962 | end | |
1963 | for i=1,#msg do | |
1964 | TextLabel.Text = string.sub(msg,1,i) | |
1965 | wait() | |
1966 | end | |
1967 | wait(1) | |
1968 | if remove ~= true then | |
1969 | for i=1,10 do | |
1970 | TextLabel.Transparency = TextLabel.Transparency+0.1 | |
1971 | TextLabel.Position = TextLabel.Position-UDim2.new(0,0,0,1) | |
1972 | Frame.Transparency = Frame.Transparency+0.1 | |
1973 | wait() | |
1974 | end | |
1975 | TextLabel:Destroy() | |
1976 | end | |
1977 | end | |
1978 | end) | |
1979 | coru() | |
1980 | end | |
1981 | if workspace.FilteringEnabled == false then | |
1982 | if workspace:PGSIsEnabled() then | |
1983 | notify('Press Z to equip. Created by mustardfoot and Tollonis.',true) | |
1984 | else | |
1985 | notify('(this game is really old or something and has the shitty physics so a lot of things wont work sorry) Press Z to equip. Created by mustardfoot and Tollonis.',true) | |
1986 | end | |
1987 | else | |
1988 | notify('LOL this game has filtering enabled so it literally wont work here') | |
1989 | end | |
1990 | ||
1991 | local handProperties = { | |
1992 | {"LimitsEnabled", true}; | |
1993 | {"UpperAngle",0}; | |
1994 | {"LowerAngle",0}; | |
1995 | } | |
1996 | local shinProperties = { | |
1997 | {"LimitsEnabled", true}; | |
1998 | {"UpperAngle", 0}; | |
1999 | {"LowerAngle", -75}; | |
2000 | } | |
2001 | local footProperties = { | |
2002 | {"LimitsEnabled", true}; | |
2003 | {"UpperAngle", 15}; | |
2004 | {"LowerAngle", -45}; | |
2005 | } | |
2006 | ||
2007 | function bleed(frick,OwO) | |
2008 | while frick.Parent ~= nil and frick.Parent.Parent ~= nil do | |
2009 | local reeee = coroutine.wrap(function() | |
2010 | local thing = Instance.new('Part',workspace) | |
2011 | thing.Size = Vector3.new(0.2,0.2,0.2) | |
2012 | thing.CFrame = frick.CFrame | |
2013 | thing.Transparency = 1 | |
2014 | thing.BrickColor = BrickColor.new(Frame_2.BackgroundColor3) | |
2015 | thing.Material = Enum.Material.SmoothPlastic | |
2016 | thing.Name = "Blood" | |
2017 | thing.CanCollide =false | |
2018 | thing:BreakJoints() | |
2019 | local rawrxd = Instance.new('BodyForce',thing) | |
2020 | rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0) | |
2021 | local coru = coroutine.wrap(function() | |
2022 | wait(0.01) | |
2023 | rawrxd:Destroy() | |
2024 | end) | |
2025 | coru() | |
2026 | local ree = Instance.new('ParticleEmitter',thing) | |
2027 | if OwO ~= true then | |
2028 | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Frame_2.BackgroundColor3),ColorSequenceKeypoint.new(1,Frame_2.BackgroundColor3)}) | |
2029 | else | |
2030 | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))}) | |
2031 | end | |
2032 | ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)}) | |
2033 | ree.Texture = 'rbxassetid://867743272' | |
2034 | ree.Lifetime = NumberRange.new(0.4) | |
2035 | ree.Rate = 50 | |
2036 | ree.LockedToPart = true | |
2037 | ree.Speed = NumberRange.new(0, 2) | |
2038 | ||
2039 | thing.Touched:connect(function(tou) | |
2040 | if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" and tou.Parent.Name ~= 'handle' and tou.Name ~= "blade" and tou.Name ~= 'handle' and tou.Name ~= "Projectile" and tou.Parent.Name ~= "Projectile" then | |
2041 | local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z) | |
2042 | local Point1 = pos-Vector3.new(0.01,0.01,0.01) | |
2043 | local Point2 = pos+Vector3.new(0.01,0.01,0.01) | |
2044 | local Region = Region3.new(Point1,Point2) | |
2045 | for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do | |
2046 | if Part.Name == "BloodPuddle" then | |
2047 | tou = Part | |
2048 | end | |
2049 | end | |
2050 | thing:Destroy() | |
2051 | if tou.Name == "BloodPuddle" then | |
2052 | if tou.Size.X < 1 then | |
2053 | pcall(function() | |
2054 | tou.Sound:Play() | |
2055 | end) | |
2056 | end | |
2057 | local reee = tou.CFrame | |
2058 | if tou.Transparency > -0.2 then | |
2059 | tou.Transparency = tou.Transparency -0.1 | |
2060 | end | |
2061 | if tou.Size.X < 5 then | |
2062 | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) | |
2063 | tou.CFrame = reee | |
2064 | end | |
2065 | elseif tou.CanCollide == true then | |
2066 | local bloodlol = Instance.new('Part',workspace) | |
2067 | local sound = Instance.new('Sound',bloodlol) | |
2068 | sound.SoundId = 'rbxassetid://685857471' | |
2069 | sound.Volume = 0.025 | |
2070 | sound:Play() | |
2071 | bloodlol.Size=Vector3.new(1,0.2,1) | |
2072 | bloodlol.Name = "BloodPuddle" | |
2073 | bloodlol.Anchored = true | |
2074 | bloodlol.CanCollide = false | |
2075 | bloodlol.Material = Enum.Material.SmoothPlastic | |
2076 | if OwO ~= true then | |
2077 | bloodlol.Color = Frame_2.BackgroundColor3 | |
2078 | else | |
2079 | bloodlol.Color = Color3.new(1,1,1) | |
2080 | end | |
2081 | local cyl = Instance.new('CylinderMesh',bloodlol) | |
2082 | cyl.Scale = Vector3.new(1,0.1,1) | |
2083 | bloodlol.CFrame = CFrame.new(pos) | |
2084 | local coru=coroutine.wrap(function() | |
2085 | while bloodlol.Parent ~= nil do | |
2086 | if bloodlol.Transparency < 1 then | |
2087 | bloodlol.Transparency = bloodlol.Transparency+0.05 | |
2088 | else | |
2089 | bloodlol:Destroy() | |
2090 | end | |
2091 | wait(0.1) | |
2092 | end | |
2093 | end) | |
2094 | coru() | |
2095 | end | |
2096 | end | |
2097 | end) | |
2098 | local coru = coroutine.wrap(function() | |
2099 | wait(1) | |
2100 | thing:Destroy() | |
2101 | end) | |
2102 | coru() | |
2103 | end) | |
2104 | reeee() | |
2105 | wait() | |
2106 | end | |
2107 | end | |
2108 | ||
2109 | function stun(char) | |
2110 | local found = false | |
2111 | pcall(function() | |
2112 | char:FindFirstChildOfClass('Humanoid'):ChangeState(Enum.HumanoidStateType.Physics) | |
2113 | end) | |
2114 | for i,v in pairs(rekt) do | |
2115 | if v == char then | |
2116 | found = true | |
2117 | end | |
2118 | end | |
2119 | if found == false then | |
2120 | table.insert(rekt,char) | |
2121 | end | |
2122 | end | |
2123 | function unstun(char) | |
2124 | for i,v in pairs(rekt) do | |
2125 | if v == char then | |
2126 | if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChildOfClass('Humanoid').Health>0 then | |
2127 | v:FindFirstChildOfClass('Humanoid'):ChangeState(Enum.HumanoidStateType.Running) | |
2128 | v:FindFirstChildOfClass('Humanoid').PlatformStand = false | |
2129 | v:FindFirstChildOfClass('Humanoid').Sit = false | |
2130 | v:FindFirstChildOfClass('Humanoid').Jump = true | |
2131 | v:FindFirstChildOfClass('Humanoid').JumpPower = 50 | |
2132 | v:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
2133 | v:FindFirstChildOfClass('Humanoid').Name = "Humanoid" | |
2134 | end | |
2135 | table.remove(rekt,i) | |
2136 | end | |
2137 | end | |
2138 | end | |
2139 | ||
2140 | function recurse(root,callback,i) | |
2141 | i= i or 0 | |
2142 | for _,v in pairs(root:GetChildren()) do | |
2143 | i = i + 1 | |
2144 | callback(i,v) | |
2145 | ||
2146 | if #v:GetChildren() > 0 then | |
2147 | i = recurse(v,callback,i) | |
2148 | end | |
2149 | end | |
2150 | ||
2151 | return i | |
2152 | end | |
2153 | ||
2154 | function ragdollJoint(character, part0, part1, attachmentName, className, properties) | |
2155 | if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then | |
2156 | if character:FindFirstChild('HumanoidRootPart')then | |
2157 | character.HumanoidRootPart.CanCollide = false | |
2158 | end | |
2159 | for i,v in pairs(character:GetChildren()) do | |
2160 | if v:IsA("MeshPart") and (v.MeshId == 'http://www.roblox.com/asset/?id=553602991' or v.MeshId == 'http://www.roblox.com/asset/?id=553602977' or v.MeshId == 'http://www.roblox.com/asset/?id=553602987') then | |
2161 | v.Size = Vector3.new(1,1,1) | |
2162 | end | |
2163 | end | |
2164 | recurse(character, function(_,v) | |
2165 | if v:IsA("Attachment") and v.Parent.Name ~= "ayybleed" then | |
2166 | v.Axis = Vector3.new(0, 1, 0) | |
2167 | v.SecondaryAxis = Vector3.new(0, 0, 1) | |
2168 | v.Rotation = Vector3.new(0, 0, 0) | |
2169 | end | |
2170 | end) | |
2171 | if part1:FindFirstChildOfClass('Motor6D') then | |
2172 | part1:FindFirstChildOfClass('Motor6D'):Destroy() | |
2173 | end | |
2174 | if attachmentName ~= "NeckAttachment" then | |
2175 | attachmentName = attachmentName.."RigAttachment" | |
2176 | end | |
2177 | local constraint = Instance.new(className.."Constraint") | |
2178 | constraint.Attachment0 = part0:FindFirstChild(attachmentName) | |
2179 | constraint.Attachment1 = part1:FindFirstChild(attachmentName) | |
2180 | constraint.Name = "RagdollConstraint"..part1.Name | |
2181 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
2182 | local collidepart = Instance.new('Part',part1) | |
2183 | collidepart.Size = part1.Size/2 | |
2184 | if string.find(string.lower(part1.Name),"upper") then | |
2185 | if string.find(string.lower(part1.Name),"leg") then | |
2186 | collidepart.Size = part1.Size/3 | |
2187 | else | |
2188 | collidepart.Size = part1.Size/2.5 | |
2189 | end | |
2190 | end | |
2191 | collidepart.CanCollide = true | |
2192 | collidepart.Name = "Collision" | |
2193 | collidepart.Anchored = false | |
2194 | collidepart.Transparency = 1 | |
2195 | collidepart.CFrame = part1.CFrame | |
2196 | collidepart:BreakJoints() | |
2197 | local attachment0 = Instance.new('Attachment',part1) | |
2198 | local attachment1 = Instance.new('Attachment',collidepart) | |
2199 | if attachment0 and attachment1 then | |
2200 | local constraint = Instance.new("HingeConstraint") | |
2201 | constraint.Attachment0 = attachment0 | |
2202 | constraint.Attachment1 = attachment1 | |
2203 | constraint.LimitsEnabled = true | |
2204 | constraint.UpperAngle = 0 | |
2205 | constraint.LowerAngle = 0 | |
2206 | constraint.Parent = character | |
2207 | end | |
2208 | if string.find(string.lower(part1.Name),"upper") then | |
2209 | if string.find(string.lower(part1.Name),"leg") then | |
2210 | attachment0.Position = Vector3.new(0,0.01,0) | |
2211 | else | |
2212 | attachment0.Position = Vector3.new(0,0.25,0) | |
2213 | end | |
2214 | else | |
2215 | attachment0.Position = Vector3.new(0,-0.1,0) | |
2216 | end | |
2217 | end | |
2218 | for _,propertyData in next,properties or {} do | |
2219 | constraint[propertyData[1]] = propertyData[2] | |
2220 | end | |
2221 | ||
2222 | constraint.Parent = character | |
2223 | end | |
2224 | end | |
2225 | ||
2226 | function R6ragdollJoint(character,limbname,attached,heded) | |
2227 | pcall(function() | |
2228 | if limbname == "Right Arm" and character:FindFirstChild("Right Arm") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Right ArmRagdollConstraint") == nil and character[limbname]:FindFirstChild("Right ArmRagdollConstraint") == nil then | |
2229 | local torsoatt = Instance.new('Attachment',character.Torso) | |
2230 | torsoatt.Name = limbname.."RagdollConstraint" | |
2231 | torsoatt.Position = Vector3.new(1.45,0.768,-0.009) | |
2232 | torsoatt.Axis = Vector3.new(1,0,0) | |
2233 | torsoatt.SecondaryAxis = Vector3.new(0,1,0) | |
2234 | local limbatt = Instance.new("Attachment",character[limbname]) | |
2235 | limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) | |
2236 | limbatt.Name = limbname.."RagdollConstraint" | |
2237 | limbatt.Axis = Vector3.new(1,0,0) | |
2238 | limbatt.SecondaryAxis = Vector3.new(0,1,0) | |
2239 | local ballc = Instance.new('BallSocketConstraint',character) | |
2240 | ballc.Name = "RightArmRagdollRig" | |
2241 | ballc.Attachment0 = torsoatt | |
2242 | ballc.Attachment1 = limbatt | |
2243 | local part1 = character[limbname] | |
2244 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
2245 | local collidepart = Instance.new('Part',part1) | |
2246 | collidepart.Size = part1.Size/1.5 | |
2247 | collidepart.CanCollide = true | |
2248 | collidepart.Name = "Collision" | |
2249 | collidepart.Anchored = false | |
2250 | collidepart.Transparency = 1 | |
2251 | collidepart.CFrame = part1.CFrame | |
2252 | collidepart:BreakJoints() | |
2253 | local attachment0 = Instance.new('Attachment',part1) | |
2254 | local attachment1 = Instance.new('Attachment',collidepart) | |
2255 | if attachment0 and attachment1 then | |
2256 | local constraint = Instance.new("HingeConstraint") | |
2257 | constraint.Attachment0 = attachment0 | |
2258 | constraint.Attachment1 = attachment1 | |
2259 | constraint.LimitsEnabled = true | |
2260 | constraint.UpperAngle = 0 | |
2261 | constraint.LowerAngle = 0 | |
2262 | constraint.Parent = character | |
2263 | end | |
2264 | end | |
2265 | if character.Torso:FindFirstChild('Right Shoulder') then | |
2266 | character.Torso:FindFirstChild('Right Shoulder'):Destroy() | |
2267 | end | |
2268 | elseif limbname == "Left Arm" and character:FindFirstChild("Left Arm") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Left ArmRagdollConstraint") == nil and character[limbname]:FindFirstChild("Left ArmRagdollConstraint") == nil then | |
2269 | local torsoatt = Instance.new('Attachment',character.Torso) | |
2270 | torsoatt.Name = limbname.."RagdollConstraint" | |
2271 | torsoatt.Position = Vector3.new(-1.45,0.768,-0.009) | |
2272 | torsoatt.Axis = Vector3.new(1,0,0) | |
2273 | torsoatt.SecondaryAxis = Vector3.new(0,1,0) | |
2274 | local limbatt = Instance.new("Attachment",character[limbname]) | |
2275 | limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) | |
2276 | limbatt.Name = limbname.."RagdollConstraint" | |
2277 | limbatt.Axis = Vector3.new(1,0,0) | |
2278 | limbatt.SecondaryAxis = Vector3.new(0,1,0) | |
2279 | local ballc = Instance.new('BallSocketConstraint',character) | |
2280 | ballc.Name = "LeftArmRagdollRig" | |
2281 | ballc.Attachment0 = torsoatt | |
2282 | ballc.Attachment1 = limbatt | |
2283 | local part1 = character[limbname] | |
2284 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
2285 | local collidepart = Instance.new('Part',part1) | |
2286 | collidepart.Size = part1.Size/1.5 | |
2287 | collidepart.CanCollide = true | |
2288 | collidepart.Name = "Collision" | |
2289 | collidepart.Anchored = false | |
2290 | collidepart.Transparency = 1 | |
2291 | collidepart.CFrame = part1.CFrame | |
2292 | collidepart:BreakJoints() | |
2293 | local attachment0 = Instance.new('Attachment',part1) | |
2294 | local attachment1 = Instance.new('Attachment',collidepart) | |
2295 | if attachment0 and attachment1 then | |
2296 | local constraint = Instance.new("HingeConstraint") | |
2297 | constraint.Attachment0 = attachment0 | |
2298 | constraint.Attachment1 = attachment1 | |
2299 | constraint.LimitsEnabled = true | |
2300 | constraint.UpperAngle = 0 | |
2301 | constraint.LowerAngle = 0 | |
2302 | constraint.Parent = character | |
2303 | end | |
2304 | end | |
2305 | if character.Torso:FindFirstChild('Left Shoulder') then | |
2306 | character.Torso:FindFirstChild('Left Shoulder'):Destroy() | |
2307 | end | |
2308 | elseif limbname == "Right Leg" and character:FindFirstChild("Right Leg") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Right LegRagdollConstraint") == nil and character[limbname]:FindFirstChild("Right LegRagdollConstraint") == nil then | |
2309 | stun(character) | |
2310 | local torsoatt = Instance.new('Attachment',character.Torso) | |
2311 | torsoatt.Name = limbname.."RagdollConstraint" | |
2312 | torsoatt.Position = Vector3.new(0.45, -1.242, -0.009) | |
2313 | torsoatt.Axis = Vector3.new(1,0,0) | |
2314 | torsoatt.SecondaryAxis = Vector3.new(0,1,0) | |
2315 | local limbatt = Instance.new("Attachment",character[limbname]) | |
2316 | limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) | |
2317 | limbatt.Name = limbname.."RagdollConstraint" | |
2318 | limbatt.Axis = Vector3.new(1,0,0) | |
2319 | limbatt.SecondaryAxis = Vector3.new(0,1,0) | |
2320 | local ballc = Instance.new('BallSocketConstraint',character) | |
2321 | ballc.Name = "RightLegRagdollRig" | |
2322 | ballc.Attachment0 = torsoatt | |
2323 | ballc.Attachment1 = limbatt | |
2324 | local part1 = character[limbname] | |
2325 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
2326 | local collidepart = Instance.new('Part',part1) | |
2327 | collidepart.Size = part1.Size/1.5 | |
2328 | collidepart.CanCollide = true | |
2329 | collidepart.Name = "Collision" | |
2330 | collidepart.Anchored = false | |
2331 | collidepart.Transparency = 1 | |
2332 | collidepart.CFrame = part1.CFrame | |
2333 | collidepart:BreakJoints() | |
2334 | local attachment0 = Instance.new('Attachment',part1) | |
2335 | local attachment1 = Instance.new('Attachment',collidepart) | |
2336 | if attachment0 and attachment1 then | |
2337 | local constraint = Instance.new("HingeConstraint") | |
2338 | constraint.Attachment0 = attachment0 | |
2339 | constraint.Attachment1 = attachment1 | |
2340 | constraint.LimitsEnabled = true | |
2341 | constraint.UpperAngle = 0 | |
2342 | constraint.LowerAngle = 0 | |
2343 | constraint.Parent = character | |
2344 | end | |
2345 | end | |
2346 | if character.Torso:FindFirstChild('Right Hip') then | |
2347 | character.Torso:FindFirstChild('Right Hip'):Destroy() | |
2348 | end | |
2349 | elseif limbname == "Left Leg" and character:FindFirstChild("Left Leg") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Left LegRagdollConstraint") == nil and character[limbname]:FindFirstChild("Left LegRagdollConstraint") == nil then | |
2350 | stun(character) | |
2351 | local torsoatt = Instance.new('Attachment',character.Torso) | |
2352 | torsoatt.Name = limbname.."RagdollConstraint" | |
2353 | torsoatt.Position = Vector3.new(-0.45, -1.242, -0.009) | |
2354 | torsoatt.Axis = Vector3.new(1,0,0) | |
2355 | torsoatt.SecondaryAxis = Vector3.new(0,1,0) | |
2356 | local limbatt = Instance.new("Attachment",character[limbname]) | |
2357 | limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) | |
2358 | limbatt.Name = limbname.."RagdollConstraint" | |
2359 | limbatt.Axis = Vector3.new(1,0,0) | |
2360 | limbatt.SecondaryAxis = Vector3.new(0,1,0) | |
2361 | local ballc = Instance.new('BallSocketConstraint',character) | |
2362 | ballc.Name = "LeftLegRagdollRig" | |
2363 | ballc.Attachment0 = torsoatt | |
2364 | ballc.Attachment1 = limbatt | |
2365 | local part1 = character[limbname] | |
2366 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
2367 | local collidepart = Instance.new('Part',part1) | |
2368 | collidepart.Size = part1.Size/1.5 | |
2369 | collidepart.CanCollide = true | |
2370 | collidepart.Name = "Collision" | |
2371 | collidepart.Anchored = false | |
2372 | collidepart.Transparency = 1 | |
2373 | collidepart.CFrame = part1.CFrame | |
2374 | collidepart:BreakJoints() | |
2375 | local attachment0 = Instance.new('Attachment',part1) | |
2376 | local attachment1 = Instance.new('Attachment',collidepart) | |
2377 | if attachment0 and attachment1 then | |
2378 | local constraint = Instance.new("HingeConstraint") | |
2379 | constraint.Attachment0 = attachment0 | |
2380 | constraint.Attachment1 = attachment1 | |
2381 | constraint.LimitsEnabled = true | |
2382 | constraint.UpperAngle = 0 | |
2383 | constraint.LowerAngle = 0 | |
2384 | constraint.Parent = character | |
2385 | end | |
2386 | end | |
2387 | if character.Torso:FindFirstChild('Left Hip') then | |
2388 | character.Torso:FindFirstChild('Left Hip'):Destroy() | |
2389 | end | |
2390 | elseif limbname == "Head" or limbname == "Torso" and character:FindFirstChild("Head") and character:FindFirstChild("Torso") and character.Head:FindFirstChild("Neck") == nil then | |
2391 | if character:FindFirstChildOfClass('Humanoid') then | |
2392 | character:FindFirstChildOfClass('Humanoid').Health = 0 | |
2393 | end | |
2394 | while character:FindFirstChildOfClass('Humanoid').Health > 0 do wait() end | |
2395 | if character:FindFirstChild('HumanoidRootPart') then | |
2396 | character.HumanoidRootPart:Destroy() | |
2397 | end | |
2398 | game:GetService('Debris'):AddItem(character,10) | |
2399 | for _,child in next,character:GetChildren() do | |
2400 | if child:IsA("Accoutrement") then | |
2401 | for _,part in next,child:GetChildren() do | |
2402 | if part:IsA("BasePart") then | |
2403 | for _,c in pairs(part:GetChildren()) do | |
2404 | if c:IsA('Weld') then c:Destroy() end | |
2405 | end | |
2406 | local attachment1 = part:FindFirstChildOfClass("Attachment") | |
2407 | local attachment0 = getAttachment0(character,attachment1.Name) | |
2408 | if attachment0 and attachment1 then | |
2409 | local constraint = Instance.new("HingeConstraint") | |
2410 | constraint.Attachment0 = attachment0 | |
2411 | constraint.Attachment1 = attachment1 | |
2412 | constraint.LimitsEnabled = true | |
2413 | constraint.UpperAngle = 0 | |
2414 | constraint.LowerAngle = 0 | |
2415 | constraint.Parent = character | |
2416 | end | |
2417 | end | |
2418 | end | |
2419 | end | |
2420 | end | |
2421 | for i,v in pairs(character:GetChildren()) do | |
2422 | if v:IsA('MeshPart') or v:IsA('BasePart') then | |
2423 | for _,c in pairs(v:GetChildren()) do | |
2424 | if c.Name == "Collision" then c:Destroy() end | |
2425 | end | |
2426 | end | |
2427 | end | |
2428 | if character.Torso:FindFirstChild('Neck') then | |
2429 | character.Torso.Neck:Destroy() | |
2430 | end | |
2431 | if character:FindFirstChild('Torso') then | |
2432 | local collidepart = Instance.new('Part',character.Torso) | |
2433 | collidepart.Size = character.Torso.Size/1.5 | |
2434 | collidepart.CanCollide = true | |
2435 | collidepart.Name = "Collision" | |
2436 | collidepart.Anchored = false | |
2437 | collidepart.Transparency = 1 | |
2438 | collidepart.CFrame = character.Torso.CFrame | |
2439 | collidepart:BreakJoints() | |
2440 | local attachment0 = Instance.new('Attachment',character.Torso) | |
2441 | local attachment1 = Instance.new('Attachment',collidepart) | |
2442 | if attachment0 and attachment1 then | |
2443 | local constraint = Instance.new("HingeConstraint") | |
2444 | constraint.Attachment0 = attachment0 | |
2445 | constraint.Attachment1 = attachment1 | |
2446 | constraint.LimitsEnabled = true | |
2447 | constraint.UpperAngle = 0 | |
2448 | constraint.LowerAngle = 0 | |
2449 | constraint.Parent = character | |
2450 | end | |
2451 | end | |
2452 | if character:FindFirstChild('Torso') and character:FindFirstChild('Head') then | |
2453 | if character.Torso:FindFirstChild('NeckAttachment') == nil then | |
2454 | local neck = Instance.new('Attachment',character.Torso) | |
2455 | neck.Name = "NeckAttachment" | |
2456 | neck.Position = Vector3.new(0, 1, 0) | |
2457 | end | |
2458 | ragdollJoint(character,character.Torso, character.Head, "NeckAttachment", "Hinge", { | |
2459 | {"LimitsEnabled",true}; | |
2460 | {"UpperAngle",50}; | |
2461 | {"LowerAngle",-50}; | |
2462 | }) | |
2463 | end | |
2464 | if attached ~= false then | |
2465 | ragdollpart(character, "Right Leg") | |
2466 | ragdollpart(character, "Left Leg") | |
2467 | else | |
2468 | pcall(function() | |
2469 | local ayybleed = Instance.new('Part',character) | |
2470 | ayybleed.Size = Vector3.new(character.Torso.Size.X,0.1,character.Torso.Size.Z) | |
2471 | ayybleed.Transparency = 1 | |
2472 | ayybleed.CanCollide = false | |
2473 | ayybleed.CFrame = character.Torso.CFrame | |
2474 | ayybleed:BreakJoints() | |
2475 | local attachment1 = Instance.new('Attachment',ayybleed) | |
2476 | attachment1.Position = Vector3.new(0,-character.Torso.Size.Y/2,0) | |
2477 | attachment1.Orientation = Vector3.new(0, 0, -180) | |
2478 | local attachment0 = Instance.new('Attachment',character.Torso) | |
2479 | if attachment0 and attachment1 then | |
2480 | local constraint = Instance.new("HingeConstraint") | |
2481 | constraint.Attachment0 = attachment0 | |
2482 | constraint.Attachment1 = attachment1 | |
2483 | constraint.LimitsEnabled = true | |
2484 | constraint.UpperAngle = 0 | |
2485 | constraint.LowerAngle = 0 | |
2486 | constraint.Parent = character | |
2487 | end | |
2488 | local bleedBLEED= coroutine.wrap(function() | |
2489 | bleed(ayybleed) | |
2490 | end) | |
2491 | bleedBLEED() | |
2492 | end) | |
2493 | end | |
2494 | ragdollpart(character, "Right Arm") | |
2495 | ragdollpart(character, "Left Arm") | |
2496 | end | |
2497 | end) | |
2498 | end | |
2499 | ||
2500 | function getAttachment0(character,attachmentName) | |
2501 | for _,child in next,character:GetChildren() do | |
2502 | local attachment = child:FindFirstChild(attachmentName) | |
2503 | if attachment then | |
2504 | return attachment | |
2505 | end | |
2506 | end | |
2507 | end | |
2508 | ||
2509 | function ragdollpart(character,partname,attached,heded) | |
2510 | if heded ~= false then | |
2511 | local neck = Instance.new('Attachment',character.Head) | |
2512 | neck.Name = "NeckAttachment" | |
2513 | neck.Position = Vector3.new(0,-0.5,0) | |
2514 | else | |
2515 | local force = Instance.new('BodyForce',character.Head) | |
2516 | force.Force = Vector3.new(0,500,0) | |
2517 | game:GetService('Debris'):AddItem(force,0.25) | |
2518 | pcall(function() | |
2519 | local asdf = Instance.new('Attachment',character.Head) | |
2520 | asdf.Position = Vector3.new(0,-character.Head.Size.Y/2,0) | |
2521 | local last = asdf | |
2522 | for i=1,14 do | |
2523 | local bONE = Instance.new('Part',character) | |
2524 | bONE.BrickColor = BrickColor.new('Institutional white') | |
2525 | bONE.Size = Vector3.new(0.1,0.1,0.1) | |
2526 | bONE.CFrame = character.Head.CFrame+(character.Head.CFrame.upVector*-(i/10)) | |
2527 | local lole = Instance.new('Attachment',bONE) | |
2528 | local hangurself = Instance.new('RopeConstraint',bONE) | |
2529 | hangurself.Attachment0 = lole | |
2530 | hangurself.Attachment1 = last | |
2531 | hangurself.Visible = true | |
2532 | hangurself.Thickness = 0.05 | |
2533 | hangurself.Color = BrickColor.new('Bright red') | |
2534 | hangurself.Length = 0.2 | |
2535 | last = lole | |
2536 | end | |
2537 | local bleedee = Instance.new('Part',character.Head) | |
2538 | bleedee.Size = Vector3.new(0.75,0.25,0.75) | |
2539 | bleedee.CanCollide = false | |
2540 | bleedee.Color = Frame_2.BackgroundColor3 | |
2541 | bleedee.CFrame = character.Head.CFrame | |
2542 | local mehs = Instance.new('CylinderMesh',bleedee) | |
2543 | bleedee:BreakJoints() | |
2544 | local attachment1 = Instance.new('Attachment',bleedee) | |
2545 | attachment1.Position = Vector3.new(0,character.Head.Size.Y/2,0) | |
2546 | attachment1.Orientation = Vector3.new(0,0,180) | |
2547 | local attachment0 = Instance.new('Attachment',character.Head) | |
2548 | if attachment0 and attachment1 then | |
2549 | local constraint = Instance.new("HingeConstraint") | |
2550 | constraint.Attachment0 = attachment0 | |
2551 | constraint.Attachment1 = attachment1 | |
2552 | constraint.LimitsEnabled = true | |
2553 | constraint.UpperAngle = 0 | |
2554 | constraint.LowerAngle = 0 | |
2555 | constraint.Parent = character | |
2556 | end | |
2557 | spawn(function() | |
2558 | bleed(bleedee) | |
2559 | end) | |
2560 | end) | |
2561 | local thing = "Torso" | |
2562 | if character:FindFirstChild(thing) == nil then | |
2563 | thing = "UpperTorso" | |
2564 | end | |
2565 | pcall(function() | |
2566 | local bleedee = Instance.new('Part',character[thing]) | |
2567 | bleedee.Size = Vector3.new(0.75,0,0.75) | |
2568 | bleedee.CanCollide = false | |
2569 | bleedee.Color = Frame_2.BackgroundColor3 | |
2570 | bleedee.CFrame = character[thing].CFrame | |
2571 | local mehs = Instance.new('CylinderMesh',bleedee) | |
2572 | bleedee:BreakJoints() | |
2573 | local attachment1 = Instance.new('Attachment',bleedee) | |
2574 | attachment1.Position = Vector3.new(0,-character[thing].Size.Y/2,0) | |
2575 | attachment1.Orientation = Vector3.new(0,0,180) | |
2576 | local attachment0 = Instance.new('Attachment',character[thing]) | |
2577 | if attachment0 and attachment1 then | |
2578 | local constraint = Instance.new("HingeConstraint") | |
2579 | constraint.Attachment0 = attachment0 | |
2580 | constraint.Attachment1 = attachment1 | |
2581 | constraint.LimitsEnabled = true | |
2582 | constraint.UpperAngle = 0 | |
2583 | constraint.LowerAngle = 0 | |
2584 | constraint.Parent = character | |
2585 | end | |
2586 | spawn(function() | |
2587 | bleed(bleedee) | |
2588 | end) | |
2589 | end) | |
2590 | end | |
2591 | pcall(function() | |
2592 | if workspace.PGSPhysicsSolverEnabled == false then | |
2593 | workspace.PGSPhysicsSolverEnabled = true | |
2594 | end | |
2595 | end) | |
2596 | if partname == "HumanoidRootPart" then | |
2597 | if character:FindFirstChild('Torso') then | |
2598 | partname = "Torso" | |
2599 | else | |
2600 | partname = "UpperTorso" | |
2601 | end | |
2602 | end | |
2603 | if attached == false then | |
2604 | if character:FindFirstChild('UpperTorso') then | |
2605 | pcall(function() | |
2606 | character.UpperTorso.WaistRigAttachment:Destroy() | |
2607 | end) | |
2608 | pcall(function() | |
2609 | local ayybleed = Instance.new('Part',character) | |
2610 | ayybleed.Size = Vector3.new(character.UpperTorso.Size.X,0,character.UpperTorso.Size.Z) | |
2611 | ayybleed.Transparency = 1 | |
2612 | ayybleed.CanCollide = false | |
2613 | ayybleed.CFrame = character.UpperTorso.CFrame | |
2614 | ayybleed:BreakJoints() | |
2615 | ayybleed.Name = "ayybleed" | |
2616 | local attachment1 = Instance.new('Attachment',ayybleed) | |
2617 | attachment1.Position = Vector3.new(0,-character.UpperTorso.Size.Y/2,0) | |
2618 | attachment1.Orientation = Vector3.new(0,0,180) | |
2619 | local attachment0 = Instance.new('Attachment',character.UpperTorso) | |
2620 | if attachment0 and attachment1 then | |
2621 | local constraint = Instance.new("HingeConstraint") | |
2622 | constraint.Attachment0 = attachment0 | |
2623 | constraint.Attachment1 = attachment1 | |
2624 | constraint.LimitsEnabled = true | |
2625 | constraint.UpperAngle = 0 | |
2626 | constraint.LowerAngle = 0 | |
2627 | constraint.Parent = character | |
2628 | end | |
2629 | local bleedBLEED= coroutine.wrap(function() | |
2630 | bleed(ayybleed) | |
2631 | end) | |
2632 | bleedBLEED() | |
2633 | end) | |
2634 | pcall(function() | |
2635 | local ayybleed = Instance.new('Part',character) | |
2636 | ayybleed.Size = Vector3.new(character.LowerTorso.Size.X-0.1,0.1,character.LowerTorso.Size.Z-0.1) | |
2637 | ayybleed.Transparency = 1 | |
2638 | ayybleed.CanCollide = false | |
2639 | ayybleed.CFrame = character.LowerTorso.CFrame | |
2640 | ayybleed:BreakJoints() | |
2641 | ayybleed.Name = "ayybleed" | |
2642 | local attachment1 = Instance.new('Attachment',ayybleed) | |
2643 | attachment1.Position = Vector3.new(0,-character.LowerTorso.Size.Y/2,0) | |
2644 | attachment1.Orientation = Vector3.new(0,0,0) | |
2645 | local attachment0 = Instance.new('Attachment',character.LowerTorso) | |
2646 | if attachment0 and attachment1 then | |
2647 | local constraint = Instance.new("HingeConstraint") | |
2648 | constraint.Attachment0 = attachment0 | |
2649 | constraint.Attachment1 = attachment1 | |
2650 | constraint.LimitsEnabled = true | |
2651 | constraint.UpperAngle = 0 | |
2652 | constraint.LowerAngle = 0 | |
2653 | constraint.Parent = character | |
2654 | end | |
2655 | local bleedBLEED= coroutine.wrap(function() | |
2656 | bleed(ayybleed) | |
2657 | end) | |
2658 | bleedBLEED() | |
2659 | end) | |
2660 | end | |
2661 | pcall(function() | |
2662 | local thang = "Torso" | |
2663 | if character:FindFirstChild('UpperTorso') then | |
2664 | thang = "UpperTorso" | |
2665 | end | |
2666 | local ayybleed = Instance.new('Part',character) | |
2667 | ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) | |
2668 | ayybleed.Color = Frame_2.BackgroundColor3 | |
2669 | ayybleed.Material = Enum.Material.SmoothPlastic | |
2670 | ayybleed.Name = "ayybleed" | |
2671 | ayybleed.CanCollide = false | |
2672 | ayybleed.Transparency = 0 | |
2673 | ayybleed.CFrame = character[thang].CFrame | |
2674 | ayybleed:BreakJoints() | |
2675 | local attachment1 = Instance.new('Attachment',ayybleed) | |
2676 | attachment1.Position = Vector3.new(0,(character[thang].Size.Y/2)-0.045,0) | |
2677 | attachment1.Orientation = Vector3.new(0,0,0) | |
2678 | local attachment0 = Instance.new('Attachment',character[thang]) | |
2679 | if attachment0 and attachment1 then | |
2680 | local constraint = Instance.new("HingeConstraint") | |
2681 | constraint.Attachment0 = attachment0 | |
2682 | constraint.Attachment1 = attachment1 | |
2683 | constraint.LimitsEnabled = true | |
2684 | constraint.UpperAngle = 0 | |
2685 | constraint.LowerAngle = 0 | |
2686 | constraint.Parent = character | |
2687 | end | |
2688 | end) | |
2689 | pcall(function() | |
2690 | local ree = character.LowerTorso | |
2691 | local thang = "LowerTorso" | |
2692 | local ayybleed = Instance.new('Part',character) | |
2693 | ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) | |
2694 | ayybleed.Color = Frame_2.BackgroundColor3 | |
2695 | ayybleed.Material = Enum.Material.SmoothPlastic | |
2696 | ayybleed.Name = "ayybleed" | |
2697 | ayybleed.CanCollide = false | |
2698 | ayybleed.Transparency = 0 | |
2699 | ayybleed.CFrame = character[thang].CFrame | |
2700 | ayybleed:BreakJoints() | |
2701 | local attachment1 = Instance.new('Attachment',ayybleed) | |
2702 | attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0) | |
2703 | attachment1.Orientation = Vector3.new(0,0,0) | |
2704 | local attachment0 = Instance.new('Attachment',character[thang]) | |
2705 | if attachment0 and attachment1 then | |
2706 | local constraint = Instance.new("HingeConstraint") | |
2707 | constraint.Attachment0 = attachment0 | |
2708 | constraint.Attachment1 = attachment1 | |
2709 | constraint.LimitsEnabled = true | |
2710 | constraint.UpperAngle = 0 | |
2711 | constraint.LowerAngle = 0 | |
2712 | constraint.Parent = character | |
2713 | end | |
2714 | end) | |
2715 | pcall(function() | |
2716 | local ree = character["Right Leg"] | |
2717 | local thang = "Right Leg" | |
2718 | local ayybleed = Instance.new('Part',character) | |
2719 | ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) | |
2720 | ayybleed.Color = Frame_2.BackgroundColor3 | |
2721 | ayybleed.Material = Enum.Material.SmoothPlastic | |
2722 | ayybleed.Name = "ayybleed" | |
2723 | ayybleed.CanCollide = false | |
2724 | ayybleed.Transparency = 0 | |
2725 | ayybleed.CFrame = character[thang].CFrame | |
2726 | ayybleed:BreakJoints() | |
2727 | local attachment1 = Instance.new('Attachment',ayybleed) | |
2728 | attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0) | |
2729 | attachment1.Orientation = Vector3.new(0,0,0) | |
2730 | local attachment0 = Instance.new('Attachment',character[thang]) | |
2731 | if attachment0 and attachment1 then | |
2732 | local constraint = Instance.new("HingeConstraint") | |
2733 | constraint.Attachment0 = attachment0 | |
2734 | constraint.Attachment1 = attachment1 | |
2735 | constraint.LimitsEnabled = true | |
2736 | constraint.UpperAngle = 0 | |
2737 | constraint.LowerAngle = 0 | |
2738 | constraint.Parent = character | |
2739 | end | |
2740 | end) | |
2741 | pcall(function() | |
2742 | local ree = character["Left Leg"] | |
2743 | local thang = "Left Leg" | |
2744 | local ayybleed = Instance.new('Part',character) | |
2745 | ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) | |
2746 | ayybleed.Color = Frame_2.BackgroundColor3 | |
2747 | ayybleed.Material = Enum.Material.SmoothPlastic | |
2748 | ayybleed.Name = "ayybleed" | |
2749 | ayybleed.CanCollide = false | |
2750 | ayybleed.Transparency = 0 | |
2751 | ayybleed.CFrame = character[thang].CFrame | |
2752 | ayybleed:BreakJoints() | |
2753 | local attachment1 = Instance.new('Attachment',ayybleed) | |
2754 | attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0) | |
2755 | attachment1.Orientation = Vector3.new(0,0,0) | |
2756 | local attachment0 = Instance.new('Attachment',character[thang]) | |
2757 | if attachment0 and attachment1 then | |
2758 | local constraint = Instance.new("HingeConstraint") | |
2759 | constraint.Attachment0 = attachment0 | |
2760 | constraint.Attachment1 = attachment1 | |
2761 | constraint.LimitsEnabled = true | |
2762 | constraint.UpperAngle = 0 | |
2763 | constraint.LowerAngle = 0 | |
2764 | constraint.Parent = character | |
2765 | end | |
2766 | end) | |
2767 | partname="Head" | |
2768 | end | |
2769 | if partname == "RightHand" or partname == "RightLowerArm" or partname == "RightUpperArm" then | |
2770 | if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then | |
2771 | ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) | |
2772 | end | |
2773 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then | |
2774 | ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket") | |
2775 | end | |
2776 | if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then | |
2777 | ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") | |
2778 | end | |
2779 | elseif partname == "LeftHand" or partname == "LeftLowerArm" or partname == "LeftUpperArm" then | |
2780 | if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then | |
2781 | ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
2782 | end | |
2783 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then | |
2784 | ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket") | |
2785 | end | |
2786 | if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then | |
2787 | ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") | |
2788 | end | |
2789 | elseif partname == "RightFoot" or partname == "RightUpperLeg" or partname == "RightLowerLeg" then | |
2790 | stun(character) | |
2791 | if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then | |
2792 | ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
2793 | end | |
2794 | if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then | |
2795 | ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
2796 | end | |
2797 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then | |
2798 | ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") | |
2799 | end | |
2800 | elseif partname == "LeftFoot" or partname == "LeftUpperLeg" or partname == "LeftLowerLeg" then | |
2801 | stun(character) | |
2802 | if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then | |
2803 | ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
2804 | end | |
2805 | if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then | |
2806 | ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
2807 | end | |
2808 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then | |
2809 | ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") | |
2810 | end | |
2811 | elseif partname == "Head" or partname == "UpperTorso" or partname == "LowerTorso" then | |
2812 | if character:FindFirstChildOfClass('Humanoid') and character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then | |
2813 | if character:FindFirstChildOfClass('Humanoid') then | |
2814 | character:FindFirstChildOfClass('Humanoid').Health = 0 | |
2815 | end | |
2816 | if character:FindFirstChild('HumanoidRootPart') then | |
2817 | character.HumanoidRootPart:Destroy() | |
2818 | end | |
2819 | while character:FindFirstChildOfClass('Humanoid').Health > 0 do wait() end | |
2820 | game:GetService('Debris'):AddItem(character,10) | |
2821 | for _,child in next,character:GetChildren() do | |
2822 | if child:IsA("Accoutrement") then | |
2823 | for _,part in next,child:GetChildren() do | |
2824 | if part:IsA("BasePart") then | |
2825 | for _,c in pairs(part:GetChildren()) do | |
2826 | if c:IsA('Weld') then c:Destroy() end | |
2827 | end | |
2828 | local attachment1 = part:FindFirstChildOfClass("Attachment") | |
2829 | local attachment0 = getAttachment0(character,attachment1.Name) | |
2830 | if attachment0 and attachment1 then | |
2831 | local constraint = Instance.new("HingeConstraint") | |
2832 | constraint.Attachment0 = attachment0 | |
2833 | constraint.Attachment1 = attachment1 | |
2834 | constraint.LimitsEnabled = true | |
2835 | constraint.UpperAngle = 0 | |
2836 | constraint.LowerAngle = 0 | |
2837 | constraint.Parent = character | |
2838 | end | |
2839 | end | |
2840 | end | |
2841 | end | |
2842 | end | |
2843 | for i,v in pairs(character:GetChildren()) do | |
2844 | if v:IsA('MeshPart') or v:IsA('BasePart') then | |
2845 | for _,c in pairs(v:GetChildren()) do | |
2846 | if c.Name == "Collision" then c:Destroy() end | |
2847 | end | |
2848 | end | |
2849 | end | |
2850 | if heded == false then | |
2851 | pcall(function() | |
2852 | local asdf = Instance.new('Attachment',character.Head) | |
2853 | asdf.Position = Vector3.new(0,-character.Head.Size.Y/2,0) | |
2854 | local last = asdf | |
2855 | character.Head.Neck:Destroy() | |
2856 | character.Head.NeckRigAttachment:Destroy() | |
2857 | character.UpperTorso:FindFirstChild('NeckAttachment'):Destroy() | |
2858 | end) | |
2859 | end | |
2860 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then | |
2861 | ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", { | |
2862 | {"LimitsEnabled",true}; | |
2863 | {"UpperAngle",5}; | |
2864 | {"Radius",5}; | |
2865 | }) | |
2866 | end | |
2867 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then | |
2868 | ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", { | |
2869 | {"LimitsEnabled",true}; | |
2870 | {"UpperAngle",50}; | |
2871 | {"LowerAngle",-50}; | |
2872 | }) | |
2873 | end | |
2874 | ||
2875 | local handProperties = { | |
2876 | {"LimitsEnabled", true}; | |
2877 | {"UpperAngle",0}; | |
2878 | {"LowerAngle",0}; | |
2879 | } | |
2880 | if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then | |
2881 | ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
2882 | end | |
2883 | if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then | |
2884 | ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) | |
2885 | end | |
2886 | ||
2887 | local shinProperties = { | |
2888 | {"LimitsEnabled", true}; | |
2889 | {"UpperAngle", 0}; | |
2890 | {"LowerAngle", -75}; | |
2891 | } | |
2892 | if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then | |
2893 | ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
2894 | end | |
2895 | if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then | |
2896 | ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
2897 | end | |
2898 | ||
2899 | local footProperties = { | |
2900 | {"LimitsEnabled", true}; | |
2901 | {"UpperAngle", 15}; | |
2902 | {"LowerAngle", -45}; | |
2903 | } | |
2904 | if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then | |
2905 | ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
2906 | end | |
2907 | if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then | |
2908 | ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
2909 | end | |
2910 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then | |
2911 | ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket") | |
2912 | end | |
2913 | if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftUpperArm') then | |
2914 | ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") | |
2915 | end | |
2916 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then | |
2917 | ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket") | |
2918 | end | |
2919 | if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then | |
2920 | ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") | |
2921 | end | |
2922 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then | |
2923 | ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") | |
2924 | end | |
2925 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then | |
2926 | ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") | |
2927 | end | |
2928 | if character:FindFirstChild('HumanoidRootPart') then | |
2929 | character.HumanoidRootPart:Destroy() | |
2930 | end | |
2931 | else | |
2932 | R6ragdollJoint(character,partname,attached,heded) | |
2933 | end | |
2934 | else | |
2935 | R6ragdollJoint(character,partname,attached,heded) | |
2936 | end | |
2937 | end | |
2938 | ||
2939 | function grow(weld,part,endsize,endpos,amntime) | |
2940 | local start = weld.C1 | |
2941 | local parent = weld.Parent | |
2942 | local startsize = part.Size | |
2943 | local particl = Instance.new("ParticleEmitter") | |
2944 | particl.LightEmission = 3 | |
2945 | particl.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 0, 255)), ColorSequenceKeypoint.new(0.1, Color3.fromRGB(248, 153, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))}) | |
2946 | particl.LightInfluence = 0.75 | |
2947 | particl.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
2948 | particl.Lifetime = NumberRange.new(0.1, 1) | |
2949 | particl.Rate = 50 | |
2950 | particl.RotSpeed = NumberRange.new(300, 300) | |
2951 | particl.Speed = NumberRange.new(0, 1) | |
2952 | particl.SpreadAngle = Vector2.new(90, 90) | |
2953 | particl.Parent = part | |
2954 | for i=1,amntime*100 do | |
2955 | weld.C1 = start:lerp(endpos,i/(amntime*100)) | |
2956 | part.Size = startsize:lerp(endsize,i/(amntime*100)) | |
2957 | weld.Parent = parent | |
2958 | wait(0.01) | |
2959 | end | |
2960 | particl.Enabled = false | |
2961 | end | |
2962 | function lerp(weld,startpos,endpos,amntime,longatend) | |
2963 | local waited = 0 | |
2964 | for i=1,amntime*100 do | |
2965 | if longatend == true then | |
2966 | startpos = weld.C0 | |
2967 | end | |
2968 | weld.C0 = startpos:lerp(endpos,i/(amntime*100)) | |
2969 | wait(0.01) | |
2970 | waited=waited+0.01 | |
2971 | end | |
2972 | end | |
2973 | ||
2974 | function spawned() | |
2975 | local usable = true | |
2976 | local working = false | |
2977 | local mode = "kill" | |
2978 | local equipped = false | |
2979 | local char = player.Character | |
2980 | local blademode = "handle" | |
2981 | local swinging = false | |
2982 | local gettingeem = false | |
2983 | local MOAN = false | |
2984 | local sounding = false | |
2985 | local SLESH = false | |
2986 | local goteem = nil | |
2987 | local grabbing = false | |
2988 | local grabbed = nil | |
2989 | local grabweld = nil | |
2990 | local aidsificating = nil | |
2991 | player.CharacterAdded:connect(function() | |
2992 | if usable then | |
2993 | usable = false | |
2994 | end | |
2995 | end) | |
2996 | if char == nil then return end | |
2997 | while char:FindFirstChildOfClass('Humanoid') == nil or char:FindFirstChild('Head') == nil do wait() end | |
2998 | local badass = Instance.new('Sound',char.Head) | |
2999 | badass.Name = 'Badass' | |
3000 | badass.EmitterSize = player.CameraMaxZoomDistance+1 | |
3001 | badass.MaxDistance = player.CameraMaxZoomDistance+1 | |
3002 | badass.Volume = 10 | |
3003 | badass.Looped=true | |
3004 | badass.SoundId = 'rbxassetid://428902535' | |
3005 | local handle = Instance.new("Part", char) | |
3006 | handle.BrickColor = BrickColor.new("Really black") | |
3007 | handle.Material = "Metal" | |
3008 | handle.CanCollide = false | |
3009 | handle.Anchored = false | |
3010 | handle.Shape = "Cylinder" | |
3011 | handle.Size = Vector3.new(1.1, 0.3, 0.3) | |
3012 | handle.BackSurface = "SmoothNoOutlines" | |
3013 | handle.BottomSurface = "SmoothNoOutlines" | |
3014 | handle.FrontSurface = "SmoothNoOutlines" | |
3015 | handle.LeftSurface = "SmoothNoOutlines" | |
3016 | handle.RightSurface = "SmoothNoOutlines" | |
3017 | handle.TopSurface = "SmoothNoOutlines" | |
3018 | handle.Name = "handle" | |
3019 | ||
3020 | local hweld = Instance.new("Weld", char.Torso) | |
3021 | hweld.Part0 = char.Torso | |
3022 | hweld.Part1 = handle | |
3023 | hweld.C0 = CFrame.new(1, -0.8, 0) * CFrame.Angles(0, math.rad(90), 0) | |
3024 | ||
3025 | local rdd = false | |
3026 | function oogabooga() | |
3027 | if rdd == false then | |
3028 | rdd = true | |
3029 | pcall(function() | |
3030 | ragdollpart(char,"Right Arm") | |
3031 | ragdollpart(char,"Right Leg") | |
3032 | ragdollpart(char,"Left Arm") | |
3033 | ragdollpart(char,"Left Leg") | |
3034 | end) | |
3035 | pcall(function() | |
3036 | ragdollpart(char,"RightUpperArm") | |
3037 | ragdollpart(char,"RightUpperLeg") | |
3038 | ragdollpart(char,"LeftUpperArm") | |
3039 | ragdollpart(char,"LeftUpperLeg") | |
3040 | end) | |
3041 | unstun(char) | |
3042 | for i,v in pairs(char:GetChildren()) do | |
3043 | v.ChildAdded:connect(function(child) | |
3044 | if rdd == true then | |
3045 | if child.Name ~= "Neck" and child.Name ~= "RootJoint" and child.Name ~= "Root" and (child:IsA('Motor6D') or child:IsA('Weld')) then | |
3046 | if child ~= grabweld then | |
3047 | spawn(function() | |
3048 | wait() | |
3049 | child:Destroy() | |
3050 | end) | |
3051 | end | |
3052 | end | |
3053 | end | |
3054 | end) | |
3055 | if string.find(string.lower(v.Name),'leg') then | |
3056 | if v:FindFirstChild('Collision') then | |
3057 | v:FindFirstChild('Collision'):Destroy() | |
3058 | end | |
3059 | end | |
3060 | end | |
3061 | else | |
3062 | rdd = false | |
3063 | for i,v in pairs(char:GetChildren()) do | |
3064 | if v:IsA('HingeConstraint') or v:IsA('BallSocketConstraint') then | |
3065 | v:Destroy() | |
3066 | elseif v:IsA('BasePart') then | |
3067 | if v:FindFirstChild('Collision') then | |
3068 | v.Collision:Destroy() | |
3069 | end | |
3070 | for a,c in pairs(v:GetChildren()) do | |
3071 | if string.find(string.lower(c.Name),"ragdoll") then | |
3072 | c:Destroy() | |
3073 | end | |
3074 | end | |
3075 | end | |
3076 | end | |
3077 | pcall(function() | |
3078 | local ra = rightclone:Clone() | |
3079 | ra.Parent = char.Torso | |
3080 | ra.Part0 = char.Torso | |
3081 | ra.Part1 = char["Right Arm"] | |
3082 | end) | |
3083 | pcall(function() | |
3084 | local la = leftclone:Clone() | |
3085 | la.Parent = char.Torso | |
3086 | la.Part0 = char.Torso | |
3087 | la.Part1 = char["Left Arm"] | |
3088 | end) | |
3089 | pcall(function() | |
3090 | local ll = leftlegclone:Clone() | |
3091 | ll.Parent = char.Torso | |
3092 | ll.Part0 = char.Torso | |
3093 | ll.Part1 = char["Left Leg"] | |
3094 | end) | |
3095 | pcall(function() | |
3096 | local rl = rightlegclone:Clone() | |
3097 | rl.Parent = char.Torso | |
3098 | rl.Part0 = char.Torso | |
3099 | rl.Part1 = char["Right Leg"] | |
3100 | end) | |
3101 | end | |
3102 | end | |
3103 | function getrid() | |
3104 | if grabbed then | |
3105 | release() | |
3106 | end | |
3107 | blademode = "handle" | |
3108 | for _,ree in pairs(handle:GetChildren()) do | |
3109 | if ree:IsA('BasePart') then | |
3110 | local part = Instance.new('Part',workspace) | |
3111 | part.CFrame = ree.CFrame | |
3112 | part.Anchored = true | |
3113 | part.CanCollide = false | |
3114 | part.Size = ree.Size | |
3115 | part.Transparency = 1 | |
3116 | ree:Destroy() | |
3117 | local pe2 = Instance.new("ParticleEmitter") | |
3118 | pe2.Acceleration = Vector3.new(0, 1, 0) | |
3119 | pe2.Lifetime = NumberRange.new(0.1, 0.2) | |
3120 | pe2.Speed = NumberRange.new(0.5) | |
3121 | pe2.Rate = 20000 | |
3122 | pe2.RotSpeed = NumberRange.new(-30, 30) | |
3123 | pe2.Rotation = NumberRange.new(0, 360) | |
3124 | pe2.Size = NumberSequence.new({ | |
3125 | NumberSequenceKeypoint.new(0, part.Size.X*2, 0), | |
3126 | NumberSequenceKeypoint.new(1, part.Size.X*2, 0), | |
3127 | }) | |
3128 | pe2.Texture = "rbxassetid://244221440" | |
3129 | pe2.Transparency = NumberSequence.new({ | |
3130 | NumberSequenceKeypoint.new(0, 0.9, 0), | |
3131 | NumberSequenceKeypoint.new(1, 0.9, 0) | |
3132 | }) | |
3133 | pe2.ZOffset = 5 | |
3134 | pe2.VelocitySpread = 360 | |
3135 | pe2.Parent = part | |
3136 | pe2.Enabled = true | |
3137 | local coru=coroutine.wrap(function() | |
3138 | wait(0.2) | |
3139 | pe2.Enabled = false | |
3140 | game:GetService('Debris'):AddItem(part,0.5) | |
3141 | end) | |
3142 | coru() | |
3143 | else | |
3144 | ree:Remove() | |
3145 | end | |
3146 | end | |
3147 | end | |
3148 | ||
3149 | function equip() | |
3150 | equipped = true | |
3151 | working = true | |
3152 | if char.Torso:FindFirstChild("Right Shoulder") then | |
3153 | char.Torso:FindFirstChild("Right Shoulder"):Destroy() | |
3154 | end | |
3155 | local weld = Instance.new('Weld', char.Torso) | |
3156 | weld.Name = "Lerping" | |
3157 | weld.Part0 = char["Right Arm"] | |
3158 | weld.Part1 = char.Torso | |
3159 | weld.C0 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0) | |
3160 | ||
3161 | lerp(weld,weld.C0,CFrame.new(-1.3, -0.5, 0) * CFrame.Angles(0, 0, math.rad(15)),0.12,true) | |
3162 | ||
3163 | wait(0.1) | |
3164 | ||
3165 | hweld.Part0 = char["Right Arm"] | |
3166 | hweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0) | |
3167 | ||
3168 | lerp(weld,weld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3169 | ||
3170 | weld:Destroy() | |
3171 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3172 | local clone = rightclone:Clone() | |
3173 | clone.Part0 = char.Torso | |
3174 | clone.Part1 = char["Right Arm"] | |
3175 | clone.Parent = char.Torso | |
3176 | end | |
3177 | working = false | |
3178 | end | |
3179 | ||
3180 | function unequip() | |
3181 | getrid(handle) | |
3182 | equipped = false | |
3183 | working = true | |
3184 | ||
3185 | if char.Torso:FindFirstChild("Right Shoulder") then | |
3186 | char.Torso:FindFirstChild("Right Shoulder"):Destroy() | |
3187 | end | |
3188 | ||
3189 | local weld = Instance.new('Weld', char.Torso) | |
3190 | weld.Name = "Lerping" | |
3191 | weld.Part0 = char["Right Arm"] | |
3192 | weld.Part1 = char.Torso | |
3193 | weld.C0 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0) | |
3194 | ||
3195 | ||
3196 | lerp(weld,weld.C0,CFrame.new(-1.3, -0.5, 0) * CFrame.Angles(0, 0, math.rad(15)),0.12,true) | |
3197 | ||
3198 | hweld.Part0 = char["Torso"] | |
3199 | hweld.C0 = CFrame.new(1, -0.8, 0) * CFrame.Angles(0, math.rad(90), 0) | |
3200 | lerp(weld,weld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08,true) | |
3201 | weld:Destroy() | |
3202 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3203 | local clone = rightclone:Clone() | |
3204 | clone.Part0 = char.Torso | |
3205 | clone.Part1 = char["Right Arm"] | |
3206 | clone.Parent = char.Torso | |
3207 | end | |
3208 | working = false | |
3209 | end | |
3210 | ||
3211 | function dildo() | |
3212 | blademode = "dildo" | |
3213 | working = true | |
3214 | -- 1 - pink toy | |
3215 | local obj1 = Instance.new("Model") | |
3216 | obj1.Name = "pink toy" | |
3217 | obj1.Parent = handle | |
3218 | ||
3219 | -- 2 - Model | |
3220 | local obj2 = Instance.new("Model") | |
3221 | obj2.Parent = obj1 | |
3222 | ||
3223 | -- 3 - Part | |
3224 | local obj3 = Instance.new("Part") | |
3225 | obj3.CFrame = CFrame.new(Vector3.new(66.8643951, 3.86435986, 7.14990711)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3226 | obj3.CanCollide = false | |
3227 | obj3.TopSurface = Enum.SurfaceType.Smooth | |
3228 | obj3.BottomSurface = Enum.SurfaceType.Smooth | |
3229 | obj3.Material = Enum.Material.SmoothPlastic | |
3230 | obj3.Size = Vector3.new(1.00000024, 1.00000024, 1.00000024) | |
3231 | obj3.BrickColor = BrickColor.new("Hot pink") | |
3232 | obj3.Friction = 0.30000001192093 | |
3233 | obj3.Shape = Enum.PartType.Ball | |
3234 | obj3.Parent = obj2 | |
3235 | obj3.Name = "tip" | |
3236 | ||
3237 | -- 4 - Part | |
3238 | local obj4 = Instance.new("Part") | |
3239 | obj4.CFrame = CFrame.new(Vector3.new(67.8275909, 2.08898449, 7.50048351)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.0471986532211) | |
3240 | obj4.CanCollide = false | |
3241 | obj4.TopSurface = Enum.SurfaceType.Smooth | |
3242 | obj4.BottomSurface = Enum.SurfaceType.Smooth | |
3243 | obj4.Material = Enum.Material.SmoothPlastic | |
3244 | obj4.Size = Vector3.new(4.09999943, 1, 1) | |
3245 | obj4.BrickColor = BrickColor.new("Hot pink") | |
3246 | obj4.Friction = 0.30000001192093 | |
3247 | obj4.Shape = Enum.PartType.Cylinder | |
3248 | obj4.Parent = obj2 | |
3249 | ||
3250 | -- 5 - Part | |
3251 | local obj5 = Instance.new("Part") | |
3252 | obj5.CFrame = CFrame.new(Vector3.new(66.7104797, 3.86435843, 7.57276678)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3253 | obj5.CanCollide = false | |
3254 | obj5.TopSurface = Enum.SurfaceType.Smooth | |
3255 | obj5.BottomSurface = Enum.SurfaceType.Smooth | |
3256 | obj5.Material = Enum.Material.SmoothPlastic | |
3257 | obj5.Size = Vector3.new(0.25, 0.25, 0.25) | |
3258 | obj5.BrickColor = BrickColor.new("Hot pink") | |
3259 | obj5.Friction = 0.30000001192093 | |
3260 | obj5.Shape = Enum.PartType.Ball | |
3261 | obj5.Parent = obj2 | |
3262 | ||
3263 | -- 6 - Part | |
3264 | local obj6 = Instance.new("Part") | |
3265 | obj6.CFrame = CFrame.new(Vector3.new(68.6905365, 0.83212769, 8.29345417)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.7925276756287) | |
3266 | obj6.CanCollide = false | |
3267 | obj6.TopSurface = Enum.SurfaceType.Smooth | |
3268 | obj6.BottomSurface = Enum.SurfaceType.Smooth | |
3269 | obj6.Material = Enum.Material.SmoothPlastic | |
3270 | obj6.Size = Vector3.new(0.999999762, 0.999999762, 0.999999762) | |
3271 | obj6.BrickColor = BrickColor.new("Hot pink") | |
3272 | obj6.Friction = 0.30000001192093 | |
3273 | obj6.Shape = Enum.PartType.Ball | |
3274 | obj6.Parent = obj2 | |
3275 | ||
3276 | -- 7 - Part | |
3277 | local obj7 = Instance.new("Part") | |
3278 | obj7.CFrame = CFrame.new(Vector3.new(67.0182953, 3.86435866, 6.72704411)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3279 | obj7.CanCollide = false | |
3280 | obj7.TopSurface = Enum.SurfaceType.Smooth | |
3281 | obj7.BottomSurface = Enum.SurfaceType.Smooth | |
3282 | obj7.Material = Enum.Material.SmoothPlastic | |
3283 | obj7.Size = Vector3.new(0.25, 0.25, 0.25) | |
3284 | obj7.BrickColor = BrickColor.new("Hot pink") | |
3285 | obj7.Friction = 0.30000001192093 | |
3286 | obj7.Shape = Enum.PartType.Ball | |
3287 | obj7.Parent = obj2 | |
3288 | ||
3289 | -- 8 - Part | |
3290 | local obj8 = Instance.new("Part") | |
3291 | obj8.CFrame = CFrame.new(Vector3.new(68.9983597, 0.832128167, 7.44772816)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.7925276756287) | |
3292 | obj8.CanCollide = false | |
3293 | obj8.TopSurface = Enum.SurfaceType.Smooth | |
3294 | obj8.BottomSurface = Enum.SurfaceType.Smooth | |
3295 | obj8.Material = Enum.Material.SmoothPlastic | |
3296 | obj8.Size = Vector3.new(0.999999762, 0.999999762, 0.999999762) | |
3297 | obj8.BrickColor = BrickColor.new("Hot pink") | |
3298 | obj8.Friction = 0.30000001192093 | |
3299 | obj8.Shape = Enum.PartType.Ball | |
3300 | obj8.Parent = obj2 | |
3301 | local fiREPART = obj8 | |
3302 | ||
3303 | -- 9 - Part | |
3304 | local obj9 = Instance.new("Part") | |
3305 | obj9.CFrame = CFrame.new(Vector3.new(68.8566208, 0.357954353, 7.87501621)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.2217314243317) | |
3306 | obj9.CanCollide = false | |
3307 | obj9.TopSurface = Enum.SurfaceType.Smooth | |
3308 | obj9.BottomSurface = Enum.SurfaceType.Smooth | |
3309 | obj9.Material = Enum.Material.SmoothPlastic | |
3310 | obj9.Size = Vector3.new(0.0999999791, 1.50000036, 2) | |
3311 | obj9.BrickColor = BrickColor.new("Hot pink") | |
3312 | obj9.Friction = 0.30000001192093 | |
3313 | obj9.Shape = Enum.PartType.Cylinder | |
3314 | obj9.Parent = obj2 | |
3315 | ||
3316 | -- 10 - Part | |
3317 | local obj10 = Instance.new("Part") | |
3318 | obj10.CFrame = CFrame.new(Vector3.new(66.8069, 3.58244801, 7.60786104)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3319 | obj10.CanCollide = false | |
3320 | obj10.TopSurface = Enum.SurfaceType.Smooth | |
3321 | obj10.BottomSurface = Enum.SurfaceType.Smooth | |
3322 | obj10.Material = Enum.Material.SmoothPlastic | |
3323 | obj10.Size = Vector3.new(0.25, 0.25, 0.25) | |
3324 | obj10.BrickColor = BrickColor.new("Hot pink") | |
3325 | obj10.Friction = 0.30000001192093 | |
3326 | obj10.Shape = Enum.PartType.Ball | |
3327 | obj10.Parent = obj2 | |
3328 | ||
3329 | -- 11 - Part | |
3330 | local obj11 = Instance.new("Part") | |
3331 | obj11.CFrame = CFrame.new(Vector3.new(67.196106, 3.632447, 6.79175806)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3332 | obj11.CanCollide = false | |
3333 | obj11.TopSurface = Enum.SurfaceType.Smooth | |
3334 | obj11.BottomSurface = Enum.SurfaceType.Smooth | |
3335 | obj11.Material = Enum.Material.SmoothPlastic | |
3336 | obj11.Size = Vector3.new(0.25, 0.25, 0.25) | |
3337 | obj11.BrickColor = BrickColor.new("Hot pink") | |
3338 | obj11.Friction = 0.30000001192093 | |
3339 | obj11.Shape = Enum.PartType.Ball | |
3340 | obj11.Parent = obj2 | |
3341 | ||
3342 | -- 12 - Part | |
3343 | local obj12 = Instance.new("Part") | |
3344 | obj12.CFrame = CFrame.new(Vector3.new(67.0756683, 3.77002549, 7.63403416)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
3345 | obj12.CanCollide = false | |
3346 | obj12.TopSurface = Enum.SurfaceType.Smooth | |
3347 | obj12.BottomSurface = Enum.SurfaceType.Smooth | |
3348 | obj12.Material = Enum.Material.SmoothPlastic | |
3349 | obj12.Size = Vector3.new(0.25, 0.25, 0.25) | |
3350 | obj12.BrickColor = BrickColor.new("Hot pink") | |
3351 | obj12.Friction = 0.30000001192093 | |
3352 | obj12.Shape = Enum.PartType.Ball | |
3353 | obj12.Parent = obj2 | |
3354 | ||
3355 | -- 13 - Part | |
3356 | local obj13 = Instance.new("Part") | |
3357 | obj13.CFrame = CFrame.new(Vector3.new(67.4108353, 3.27276325, 6.88037825)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
3358 | obj13.CanCollide = false | |
3359 | obj13.TopSurface = Enum.SurfaceType.Smooth | |
3360 | obj13.BottomSurface = Enum.SurfaceType.Smooth | |
3361 | obj13.Material = Enum.Material.SmoothPlastic | |
3362 | obj13.Size = Vector3.new(0.25, 0.25, 0.25) | |
3363 | obj13.BrickColor = BrickColor.new("Hot pink") | |
3364 | obj13.Friction = 0.30000001192093 | |
3365 | obj13.Shape = Enum.PartType.Ball | |
3366 | obj13.Parent = obj2 | |
3367 | ||
3368 | -- 14 - Part | |
3369 | local obj14 = Instance.new("Part") | |
3370 | obj14.CFrame = CFrame.new(Vector3.new(66.868927, 3.43238807, 6.82578087)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
3371 | obj14.CanCollide = false | |
3372 | obj14.TopSurface = Enum.SurfaceType.Smooth | |
3373 | obj14.BottomSurface = Enum.SurfaceType.Smooth | |
3374 | obj14.Material = Enum.Material.SmoothPlastic | |
3375 | obj14.Size = Vector3.new(0.25, 0.25, 0.25) | |
3376 | obj14.BrickColor = BrickColor.new("Hot pink") | |
3377 | obj14.Friction = 0.30000001192093 | |
3378 | obj14.Shape = Enum.PartType.Ball | |
3379 | obj14.Parent = obj2 | |
3380 | ||
3381 | -- 15 - Part | |
3382 | local obj15 = Instance.new("Part") | |
3383 | obj15.CFrame = CFrame.new(Vector3.new(67.1951675, 3.383008, 7.69050598)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
3384 | obj15.CanCollide = false | |
3385 | obj15.TopSurface = Enum.SurfaceType.Smooth | |
3386 | obj15.BottomSurface = Enum.SurfaceType.Smooth | |
3387 | obj15.Material = Enum.Material.SmoothPlastic | |
3388 | obj15.Size = Vector3.new(0.25, 0.25, 0.25) | |
3389 | obj15.BrickColor = BrickColor.new("Hot pink") | |
3390 | obj15.Friction = 0.30000001192093 | |
3391 | obj15.Shape = Enum.PartType.Ball | |
3392 | obj15.Parent = obj2 | |
3393 | ||
3394 | -- 16 - Part | |
3395 | local obj16 = Instance.new("Part") | |
3396 | obj16.CFrame = CFrame.new(Vector3.new(67.50383, 3.46245813, 7.48069429)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
3397 | obj16.CanCollide = false | |
3398 | obj16.TopSurface = Enum.SurfaceType.Smooth | |
3399 | obj16.BottomSurface = Enum.SurfaceType.Smooth | |
3400 | obj16.Material = Enum.Material.SmoothPlastic | |
3401 | obj16.Size = Vector3.new(0.25, 0.25, 0.25) | |
3402 | obj16.BrickColor = BrickColor.new("Hot pink") | |
3403 | obj16.Friction = 0.30000001192093 | |
3404 | obj16.Shape = Enum.PartType.Ball | |
3405 | obj16.Parent = obj2 | |
3406 | ||
3407 | -- 17 - Part | |
3408 | local obj17 = Instance.new("Part") | |
3409 | obj17.CFrame = CFrame.new(Vector3.new(66.5551376, 3.4628334, 7.33871651)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
3410 | obj17.CanCollide = false | |
3411 | obj17.TopSurface = Enum.SurfaceType.Smooth | |
3412 | obj17.BottomSurface = Enum.SurfaceType.Smooth | |
3413 | obj17.Material = Enum.Material.SmoothPlastic | |
3414 | obj17.Size = Vector3.new(0.25, 0.25, 0.25) | |
3415 | obj17.BrickColor = BrickColor.new("Hot pink") | |
3416 | obj17.Friction = 0.30000001192093 | |
3417 | obj17.Shape = Enum.PartType.Ball | |
3418 | obj17.Parent = obj2 | |
3419 | ||
3420 | -- 18 - Part | |
3421 | local obj18 = Instance.new("Part") | |
3422 | obj18.CFrame = CFrame.new(Vector3.new(67.3677139, 3.83245182, 7.3331027)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3423 | obj18.CanCollide = false | |
3424 | obj18.TopSurface = Enum.SurfaceType.Smooth | |
3425 | obj18.BottomSurface = Enum.SurfaceType.Smooth | |
3426 | obj18.Material = Enum.Material.SmoothPlastic | |
3427 | obj18.Size = Vector3.new(0.25, 0.25, 0.25) | |
3428 | obj18.BrickColor = BrickColor.new("Hot pink") | |
3429 | obj18.Friction = 0.30000001192093 | |
3430 | obj18.Shape = Enum.PartType.Ball | |
3431 | obj18.Parent = obj2 | |
3432 | ||
3433 | -- 19 - Part | |
3434 | local obj19 = Instance.new("Part") | |
3435 | obj19.CFrame = CFrame.new(Vector3.new(67.4115601, 3.71535063, 7.01420689)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
3436 | obj19.CanCollide = false | |
3437 | obj19.TopSurface = Enum.SurfaceType.Smooth | |
3438 | obj19.BottomSurface = Enum.SurfaceType.Smooth | |
3439 | obj19.Material = Enum.Material.SmoothPlastic | |
3440 | obj19.Size = Vector3.new(0.25, 0.25, 0.25) | |
3441 | obj19.BrickColor = BrickColor.new("Hot pink") | |
3442 | obj19.Friction = 0.30000001192093 | |
3443 | obj19.Shape = Enum.PartType.Ball | |
3444 | obj19.Parent = obj2 | |
3445 | ||
3446 | -- 20 - Part | |
3447 | local obj20 = Instance.new("Part") | |
3448 | obj20.CFrame = CFrame.new(Vector3.new(67.6487045, 3.39313889, 7.19381428)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
3449 | obj20.CanCollide = false | |
3450 | obj20.TopSurface = Enum.SurfaceType.Smooth | |
3451 | obj20.BottomSurface = Enum.SurfaceType.Smooth | |
3452 | obj20.Material = Enum.Material.SmoothPlastic | |
3453 | obj20.Size = Vector3.new(0.25, 0.25, 0.25) | |
3454 | obj20.BrickColor = BrickColor.new("Hot pink") | |
3455 | obj20.Friction = 0.30000001192093 | |
3456 | obj20.Shape = Enum.PartType.Ball | |
3457 | obj20.Parent = obj2 | |
3458 | ||
3459 | -- 21 - Part | |
3460 | local obj21 = Instance.new("Part") | |
3461 | obj21.CFrame = CFrame.new(Vector3.new(66.8260422, 4.12417316, 6.81669378)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3462 | obj21.CanCollide = false | |
3463 | obj21.TopSurface = Enum.SurfaceType.Smooth | |
3464 | obj21.BottomSurface = Enum.SurfaceType.Smooth | |
3465 | obj21.Material = Enum.Material.SmoothPlastic | |
3466 | obj21.Size = Vector3.new(0.25, 0.25, 0.25) | |
3467 | obj21.BrickColor = BrickColor.new("Hot pink") | |
3468 | obj21.Friction = 0.30000001192093 | |
3469 | obj21.Shape = Enum.PartType.Ball | |
3470 | obj21.Parent = obj2 | |
3471 | ||
3472 | -- 22 - Part | |
3473 | local obj22 = Instance.new("Part") | |
3474 | obj22.CFrame = CFrame.new(Vector3.new(67.162117, 3.11433029, 6.8847661)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
3475 | obj22.CanCollide = false | |
3476 | obj22.TopSurface = Enum.SurfaceType.Smooth | |
3477 | obj22.BottomSurface = Enum.SurfaceType.Smooth | |
3478 | obj22.Material = Enum.Material.SmoothPlastic | |
3479 | obj22.Size = Vector3.new(0.25, 0.25, 0.25) | |
3480 | obj22.BrickColor = BrickColor.new("Hot pink") | |
3481 | obj22.Friction = 0.30000001192093 | |
3482 | obj22.Shape = Enum.PartType.Ball | |
3483 | obj22.Parent = obj2 | |
3484 | ||
3485 | -- 23 - Part | |
3486 | local obj23 = Instance.new("Part") | |
3487 | obj23.CFrame = CFrame.new(Vector3.new(66.4981842, 3.63936186, 7.01661682)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3488 | obj23.CanCollide = false | |
3489 | obj23.TopSurface = Enum.SurfaceType.Smooth | |
3490 | obj23.BottomSurface = Enum.SurfaceType.Smooth | |
3491 | obj23.Material = Enum.Material.SmoothPlastic | |
3492 | obj23.Size = Vector3.new(0.25, 0.25, 0.25) | |
3493 | obj23.BrickColor = BrickColor.new("Hot pink") | |
3494 | obj23.Friction = 0.30000001192093 | |
3495 | obj23.Shape = Enum.PartType.Ball | |
3496 | obj23.Parent = obj2 | |
3497 | ||
3498 | -- 24 - Part | |
3499 | local obj24 = Instance.new("Part") | |
3500 | obj24.CFrame = CFrame.new(Vector3.new(66.6352844, 3.38244724, 7.06651926)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3501 | obj24.CanCollide = false | |
3502 | obj24.TopSurface = Enum.SurfaceType.Smooth | |
3503 | obj24.BottomSurface = Enum.SurfaceType.Smooth | |
3504 | obj24.Material = Enum.Material.SmoothPlastic | |
3505 | obj24.Size = Vector3.new(0.25, 0.25, 0.25) | |
3506 | obj24.BrickColor = BrickColor.new("Hot pink") | |
3507 | obj24.Friction = 0.30000001192093 | |
3508 | obj24.Shape = Enum.PartType.Ball | |
3509 | obj24.Parent = obj2 | |
3510 | ||
3511 | -- 25 - Part | |
3512 | local obj25 = Instance.new("Part") | |
3513 | obj25.CFrame = CFrame.new(Vector3.new(66.753746, 3.10362744, 7.32704163)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
3514 | obj25.CanCollide = false | |
3515 | obj25.TopSurface = Enum.SurfaceType.Smooth | |
3516 | obj25.BottomSurface = Enum.SurfaceType.Smooth | |
3517 | obj25.Material = Enum.Material.SmoothPlastic | |
3518 | obj25.Size = Vector3.new(0.25, 0.25, 0.25) | |
3519 | obj25.BrickColor = BrickColor.new("Hot pink") | |
3520 | obj25.Friction = 0.30000001192093 | |
3521 | obj25.Shape = Enum.PartType.Ball | |
3522 | obj25.Parent = obj2 | |
3523 | ||
3524 | -- 26 - Part | |
3525 | local obj26 = Instance.new("Part") | |
3526 | obj26.CFrame = CFrame.new(Vector3.new(66.851532, 3.01907969, 7.04717398)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
3527 | obj26.CanCollide = false | |
3528 | obj26.TopSurface = Enum.SurfaceType.Smooth | |
3529 | obj26.BottomSurface = Enum.SurfaceType.Smooth | |
3530 | obj26.Material = Enum.Material.SmoothPlastic | |
3531 | obj26.Size = Vector3.new(0.25, 0.25, 0.25) | |
3532 | obj26.BrickColor = BrickColor.new("Hot pink") | |
3533 | obj26.Friction = 0.30000001192093 | |
3534 | obj26.Shape = Enum.PartType.Ball | |
3535 | obj26.Parent = obj2 | |
3536 | ||
3537 | -- 27 - Part | |
3538 | local obj27 = Instance.new("Part") | |
3539 | obj27.CFrame = CFrame.new(Vector3.new(66.944519, 3.20876789, 7.64748764)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
3540 | obj27.CanCollide = false | |
3541 | obj27.TopSurface = Enum.SurfaceType.Smooth | |
3542 | obj27.BottomSurface = Enum.SurfaceType.Smooth | |
3543 | obj27.Material = Enum.Material.SmoothPlastic | |
3544 | obj27.Size = Vector3.new(0.25, 0.25, 0.25) | |
3545 | obj27.BrickColor = BrickColor.new("Hot pink") | |
3546 | obj27.Friction = 0.30000001192093 | |
3547 | obj27.Shape = Enum.PartType.Ball | |
3548 | obj27.Parent = obj2 | |
3549 | ||
3550 | -- 28 - Part | |
3551 | local obj28 = Instance.new("Part") | |
3552 | obj28.CFrame = CFrame.new(Vector3.new(67.2306061, 4.08936405, 7.28319883)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3553 | obj28.CanCollide = false | |
3554 | obj28.TopSurface = Enum.SurfaceType.Smooth | |
3555 | obj28.BottomSurface = Enum.SurfaceType.Smooth | |
3556 | obj28.Material = Enum.Material.SmoothPlastic | |
3557 | obj28.Size = Vector3.new(0.25, 0.25, 0.25) | |
3558 | obj28.BrickColor = BrickColor.new("Hot pink") | |
3559 | obj28.Friction = 0.30000001192093 | |
3560 | obj28.Shape = Enum.PartType.Ball | |
3561 | obj28.Parent = obj2 | |
3562 | ||
3563 | -- 29 - Part | |
3564 | local obj29 = Instance.new("Part") | |
3565 | obj29.CFrame = CFrame.new(Vector3.new(66.5712891, 3.99917173, 6.8835969)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3566 | obj29.CanCollide = false | |
3567 | obj29.TopSurface = Enum.SurfaceType.Smooth | |
3568 | obj29.BottomSurface = Enum.SurfaceType.Smooth | |
3569 | obj29.Material = Enum.Material.SmoothPlastic | |
3570 | obj29.Size = Vector3.new(0.25, 0.25, 0.25) | |
3571 | obj29.BrickColor = BrickColor.new("Hot pink") | |
3572 | obj29.Friction = 0.30000001192093 | |
3573 | obj29.Shape = Enum.PartType.Ball | |
3574 | obj29.Parent = obj2 | |
3575 | ||
3576 | -- 30 - Part | |
3577 | local obj30 = Instance.new("Part") | |
3578 | obj30.CFrame = CFrame.new(Vector3.new(66.7236328, 4.26077843, 7.20509243)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3579 | obj30.CanCollide = false | |
3580 | obj30.TopSurface = Enum.SurfaceType.Smooth | |
3581 | obj30.BottomSurface = Enum.SurfaceType.Smooth | |
3582 | obj30.Material = Enum.Material.SmoothPlastic | |
3583 | obj30.Size = Vector3.new(0.25, 0.25, 0.25) | |
3584 | obj30.BrickColor = BrickColor.new("Hot pink") | |
3585 | obj30.Friction = 0.30000001192093 | |
3586 | obj30.Shape = Enum.PartType.Ball | |
3587 | obj30.Parent = obj2 | |
3588 | ||
3589 | -- 31 - Part | |
3590 | local obj31 = Instance.new("Part") | |
3591 | obj31.CFrame = CFrame.new(Vector3.new(66.5950623, 4.16077423, 7.05188084)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3592 | obj31.CanCollide = false | |
3593 | obj31.TopSurface = Enum.SurfaceType.Smooth | |
3594 | obj31.BottomSurface = Enum.SurfaceType.Smooth | |
3595 | obj31.Material = Enum.Material.SmoothPlastic | |
3596 | obj31.Size = Vector3.new(0.25, 0.25, 0.25) | |
3597 | obj31.BrickColor = BrickColor.new("Hot pink") | |
3598 | obj31.Friction = 0.30000001192093 | |
3599 | obj31.Shape = Enum.PartType.Ball | |
3600 | obj31.Parent = obj2 | |
3601 | ||
3602 | -- 32 - Part | |
3603 | local obj32 = Instance.new("Part") | |
3604 | obj32.CFrame = CFrame.new(Vector3.new(67.0637207, 4.03936481, 7.48850012)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3605 | obj32.CanCollide = false | |
3606 | obj32.TopSurface = Enum.SurfaceType.Smooth | |
3607 | obj32.BottomSurface = Enum.SurfaceType.Smooth | |
3608 | obj32.Material = Enum.Material.SmoothPlastic | |
3609 | obj32.Size = Vector3.new(0.25, 0.25, 0.25) | |
3610 | obj32.BrickColor = BrickColor.new("Hot pink") | |
3611 | obj32.Friction = 0.30000001192093 | |
3612 | obj32.Shape = Enum.PartType.Ball | |
3613 | obj32.Parent = obj2 | |
3614 | ||
3615 | -- 33 - Part | |
3616 | local obj33 = Instance.new("Part") | |
3617 | obj33.CFrame = CFrame.new(Vector3.new(66.4686813, 3.99917364, 7.16550922)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3618 | obj33.CanCollide = false | |
3619 | obj33.TopSurface = Enum.SurfaceType.Smooth | |
3620 | obj33.BottomSurface = Enum.SurfaceType.Smooth | |
3621 | obj33.Material = Enum.Material.SmoothPlastic | |
3622 | obj33.Size = Vector3.new(0.25, 0.25, 0.25) | |
3623 | obj33.BrickColor = BrickColor.new("Hot pink") | |
3624 | obj33.Friction = 0.30000001192093 | |
3625 | obj33.Shape = Enum.PartType.Ball | |
3626 | obj33.Parent = obj2 | |
3627 | ||
3628 | -- 34 - Part | |
3629 | local obj34 = Instance.new("Part") | |
3630 | obj34.CFrame = CFrame.new(Vector3.new(66.6615219, 4.14917231, 7.3953228)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3631 | obj34.CanCollide = false | |
3632 | obj34.TopSurface = Enum.SurfaceType.Smooth | |
3633 | obj34.BottomSurface = Enum.SurfaceType.Smooth | |
3634 | obj34.Material = Enum.Material.SmoothPlastic | |
3635 | obj34.Size = Vector3.new(0.25, 0.25, 0.25) | |
3636 | obj34.BrickColor = BrickColor.new("Hot pink") | |
3637 | obj34.Friction = 0.30000001192093 | |
3638 | obj34.Shape = Enum.PartType.Ball | |
3639 | obj34.Parent = obj2 | |
3640 | ||
3641 | -- 35 - Part | |
3642 | local obj35 = Instance.new("Part") | |
3643 | obj35.CFrame = CFrame.new(Vector3.new(66.8712616, 4.16257238, 7.47166586)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3644 | obj35.CanCollide = false | |
3645 | obj35.TopSurface = Enum.SurfaceType.Smooth | |
3646 | obj35.BottomSurface = Enum.SurfaceType.Smooth | |
3647 | obj35.Material = Enum.Material.SmoothPlastic | |
3648 | obj35.Size = Vector3.new(0.25, 0.25, 0.25) | |
3649 | obj35.BrickColor = BrickColor.new("Hot pink") | |
3650 | obj35.Friction = 0.30000001192093 | |
3651 | obj35.Shape = Enum.PartType.Ball | |
3652 | obj35.Parent = obj2 | |
3653 | ||
3654 | -- 36 - Part | |
3655 | local obj36 = Instance.new("Part") | |
3656 | obj36.CFrame = CFrame.new(Vector3.new(66.7165604, 3.82596827, 6.77684546)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3657 | obj36.CanCollide = false | |
3658 | obj36.TopSurface = Enum.SurfaceType.Smooth | |
3659 | obj36.BottomSurface = Enum.SurfaceType.Smooth | |
3660 | obj36.Material = Enum.Material.SmoothPlastic | |
3661 | obj36.Size = Vector3.new(0.25, 0.25, 0.25) | |
3662 | obj36.BrickColor = BrickColor.new("Hot pink") | |
3663 | obj36.Friction = 0.30000001192093 | |
3664 | obj36.Shape = Enum.PartType.Ball | |
3665 | obj36.Parent = obj2 | |
3666 | ||
3667 | -- 37 - Part | |
3668 | local obj37 = Instance.new("Part") | |
3669 | obj37.CFrame = CFrame.new(Vector3.new(66.9846878, 4.27417517, 7.14047909)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3670 | obj37.CanCollide = false | |
3671 | obj37.TopSurface = Enum.SurfaceType.Smooth | |
3672 | obj37.BottomSurface = Enum.SurfaceType.Smooth | |
3673 | obj37.Material = Enum.Material.SmoothPlastic | |
3674 | obj37.Size = Vector3.new(0.25, 0.25, 0.25) | |
3675 | obj37.BrickColor = BrickColor.new("Hot pink") | |
3676 | obj37.Friction = 0.30000001192093 | |
3677 | obj37.Shape = Enum.PartType.Ball | |
3678 | obj37.Parent = obj2 | |
3679 | ||
3680 | -- 38 - Part | |
3681 | local obj38 = Instance.new("Part") | |
3682 | obj38.CFrame = CFrame.new(Vector3.new(67.1641541, 4.10096312, 6.93975735)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3683 | obj38.CanCollide = false | |
3684 | obj38.TopSurface = Enum.SurfaceType.Smooth | |
3685 | obj38.BottomSurface = Enum.SurfaceType.Smooth | |
3686 | obj38.Material = Enum.Material.SmoothPlastic | |
3687 | obj38.Size = Vector3.new(0.25, 0.25, 0.25) | |
3688 | obj38.BrickColor = BrickColor.new("Hot pink") | |
3689 | obj38.Friction = 0.30000001192093 | |
3690 | obj38.Shape = Enum.PartType.Ball | |
3691 | obj38.Parent = obj2 | |
3692 | ||
3693 | -- 39 - Part | |
3694 | local obj39 = Instance.new("Part") | |
3695 | obj39.CFrame = CFrame.new(Vector3.new(66.792038, 4.26077843, 7.01715183)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3696 | obj39.CanCollide = false | |
3697 | obj39.TopSurface = Enum.SurfaceType.Smooth | |
3698 | obj39.BottomSurface = Enum.SurfaceType.Smooth | |
3699 | obj39.Material = Enum.Material.SmoothPlastic | |
3700 | obj39.Size = Vector3.new(0.25, 0.25, 0.25) | |
3701 | obj39.BrickColor = BrickColor.new("Hot pink") | |
3702 | obj39.Friction = 0.30000001192093 | |
3703 | obj39.Shape = Enum.PartType.Ball | |
3704 | obj39.Parent = obj2 | |
3705 | ||
3706 | -- 40 - Part | |
3707 | local obj40 = Instance.new("Part") | |
3708 | obj40.CFrame = CFrame.new(Vector3.new(66.5005493, 3.71436262, 7.38994217)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3709 | obj40.CanCollide = false | |
3710 | obj40.TopSurface = Enum.SurfaceType.Smooth | |
3711 | obj40.BottomSurface = Enum.SurfaceType.Smooth | |
3712 | obj40.Material = Enum.Material.SmoothPlastic | |
3713 | obj40.Size = Vector3.new(0.25, 0.25, 0.25) | |
3714 | obj40.BrickColor = BrickColor.new("Hot pink") | |
3715 | obj40.Friction = 0.30000001192093 | |
3716 | obj40.Shape = Enum.PartType.Ball | |
3717 | obj40.Parent = obj2 | |
3718 | ||
3719 | -- 41 - stretches | |
3720 | local obj41 = Instance.new("Model") | |
3721 | obj41.Name = "stretches" | |
3722 | obj41.Parent = obj1 | |
3723 | ||
3724 | -- 42 - stretchlol | |
3725 | local obj42 = Instance.new("Part") | |
3726 | obj42.CFrame = CFrame.new(Vector3.new(67.162117, 3.13544774, 6.8847661)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
3727 | obj42.CanCollide = false | |
3728 | obj42.Transparency = 1 | |
3729 | obj42.TopSurface = Enum.SurfaceType.Smooth | |
3730 | obj42.BottomSurface = Enum.SurfaceType.Smooth | |
3731 | obj42.Material = Enum.Material.SmoothPlastic | |
3732 | obj42.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3733 | obj42.BrickColor = BrickColor.new("Pastel brown") | |
3734 | obj42.Friction = 0.30000001192093 | |
3735 | obj42.Shape = Enum.PartType.Ball | |
3736 | obj42.Name = "stretchlol" | |
3737 | obj42.Parent = obj41 | |
3738 | ||
3739 | -- 43 - stretchlol | |
3740 | local obj43 = Instance.new("Part") | |
3741 | obj43.CFrame = CFrame.new(Vector3.new(67.1951675, 3.40412855, 7.69050598)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
3742 | obj43.CanCollide = false | |
3743 | obj43.Transparency = 1 | |
3744 | obj43.TopSurface = Enum.SurfaceType.Smooth | |
3745 | obj43.BottomSurface = Enum.SurfaceType.Smooth | |
3746 | obj43.Material = Enum.Material.SmoothPlastic | |
3747 | obj43.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3748 | obj43.BrickColor = BrickColor.new("Pastel brown") | |
3749 | obj43.Friction = 0.30000001192093 | |
3750 | obj43.Shape = Enum.PartType.Ball | |
3751 | obj43.Name = "stretchlol" | |
3752 | obj43.Parent = obj41 | |
3753 | ||
3754 | -- 44 - stretchlol | |
3755 | local obj44 = Instance.new("Part") | |
3756 | obj44.CFrame = CFrame.new(Vector3.new(67.5038223, 3.48357916, 7.48069382)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
3757 | obj44.CanCollide = false | |
3758 | obj44.Transparency = 1 | |
3759 | obj44.TopSurface = Enum.SurfaceType.Smooth | |
3760 | obj44.BottomSurface = Enum.SurfaceType.Smooth | |
3761 | obj44.Material = Enum.Material.SmoothPlastic | |
3762 | obj44.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3763 | obj44.BrickColor = BrickColor.new("Pastel brown") | |
3764 | obj44.Friction = 0.30000001192093 | |
3765 | obj44.Shape = Enum.PartType.Ball | |
3766 | obj44.Name = "stretchlol" | |
3767 | obj44.Parent = obj41 | |
3768 | ||
3769 | -- 45 - stretchlol | |
3770 | local obj45 = Instance.new("Part") | |
3771 | obj45.CFrame = CFrame.new(Vector3.new(67.1641541, 4.12207699, 6.93975687)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3772 | obj45.CanCollide = false | |
3773 | obj45.Transparency = 1 | |
3774 | obj45.TopSurface = Enum.SurfaceType.Smooth | |
3775 | obj45.BottomSurface = Enum.SurfaceType.Smooth | |
3776 | obj45.Material = Enum.Material.SmoothPlastic | |
3777 | obj45.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3778 | obj45.BrickColor = BrickColor.new("Pastel brown") | |
3779 | obj45.Friction = 0.30000001192093 | |
3780 | obj45.Shape = Enum.PartType.Ball | |
3781 | obj45.Name = "stretchlol" | |
3782 | obj45.Parent = obj41 | |
3783 | ||
3784 | -- 46 - stretchlol | |
3785 | local obj46 = Instance.new("Part") | |
3786 | obj46.CFrame = CFrame.new(Vector3.new(66.8712616, 4.18368626, 7.47166586)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3787 | obj46.CanCollide = false | |
3788 | obj46.Transparency = 1 | |
3789 | obj46.TopSurface = Enum.SurfaceType.Smooth | |
3790 | obj46.BottomSurface = Enum.SurfaceType.Smooth | |
3791 | obj46.Material = Enum.Material.SmoothPlastic | |
3792 | obj46.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3793 | obj46.BrickColor = BrickColor.new("Pastel brown") | |
3794 | obj46.Friction = 0.30000001192093 | |
3795 | obj46.Shape = Enum.PartType.Ball | |
3796 | obj46.Name = "stretchlol" | |
3797 | obj46.Parent = obj41 | |
3798 | ||
3799 | -- 47 - stretchlol | |
3800 | local obj47 = Instance.new("Part") | |
3801 | obj47.CFrame = CFrame.new(Vector3.new(66.8260345, 4.14528561, 6.81669378)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3802 | obj47.CanCollide = false | |
3803 | obj47.Transparency = 1 | |
3804 | obj47.TopSurface = Enum.SurfaceType.Smooth | |
3805 | obj47.BottomSurface = Enum.SurfaceType.Smooth | |
3806 | obj47.Material = Enum.Material.SmoothPlastic | |
3807 | obj47.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3808 | obj47.BrickColor = BrickColor.new("Pastel brown") | |
3809 | obj47.Friction = 0.30000001192093 | |
3810 | obj47.Shape = Enum.PartType.Ball | |
3811 | obj47.Name = "stretchlol" | |
3812 | obj47.Parent = obj41 | |
3813 | ||
3814 | -- 48 - stretchlol | |
3815 | local obj48 = Instance.new("Part") | |
3816 | obj48.CFrame = CFrame.new(Vector3.new(66.7104797, 3.88547921, 7.57276678)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3817 | obj48.CanCollide = false | |
3818 | obj48.Transparency = 1 | |
3819 | obj48.TopSurface = Enum.SurfaceType.Smooth | |
3820 | obj48.BottomSurface = Enum.SurfaceType.Smooth | |
3821 | obj48.Material = Enum.Material.SmoothPlastic | |
3822 | obj48.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3823 | obj48.BrickColor = BrickColor.new("Pastel brown") | |
3824 | obj48.Friction = 0.30000001192093 | |
3825 | obj48.Shape = Enum.PartType.Ball | |
3826 | obj48.Name = "stretchlol" | |
3827 | obj48.Parent = obj41 | |
3828 | ||
3829 | -- 49 - stretchlol | |
3830 | local obj49 = Instance.new("Part") | |
3831 | obj49.CFrame = CFrame.new(Vector3.new(67.0637207, 4.06047773, 7.48850012)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3832 | obj49.CanCollide = false | |
3833 | obj49.Transparency = 1 | |
3834 | obj49.TopSurface = Enum.SurfaceType.Smooth | |
3835 | obj49.BottomSurface = Enum.SurfaceType.Smooth | |
3836 | obj49.Material = Enum.Material.SmoothPlastic | |
3837 | obj49.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3838 | obj49.BrickColor = BrickColor.new("Pastel brown") | |
3839 | obj49.Friction = 0.30000001192093 | |
3840 | obj49.Shape = Enum.PartType.Ball | |
3841 | obj49.Name = "stretchlol" | |
3842 | obj49.Parent = obj41 | |
3843 | ||
3844 | -- 50 - stretchlol | |
3845 | local obj50 = Instance.new("Part") | |
3846 | obj50.CFrame = CFrame.new(Vector3.new(66.7165604, 3.84708691, 6.77684498)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3847 | obj50.CanCollide = false | |
3848 | obj50.Transparency = 1 | |
3849 | obj50.TopSurface = Enum.SurfaceType.Smooth | |
3850 | obj50.BottomSurface = Enum.SurfaceType.Smooth | |
3851 | obj50.Material = Enum.Material.SmoothPlastic | |
3852 | obj50.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3853 | obj50.BrickColor = BrickColor.new("Pastel brown") | |
3854 | obj50.Friction = 0.30000001192093 | |
3855 | obj50.Shape = Enum.PartType.Ball | |
3856 | obj50.Name = "stretchlol" | |
3857 | obj50.Parent = obj41 | |
3858 | ||
3859 | -- 51 - stretchlol | |
3860 | local obj51 = Instance.new("Part") | |
3861 | obj51.CFrame = CFrame.new(Vector3.new(66.9846878, 4.29528904, 7.14047909)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3862 | obj51.CanCollide = false | |
3863 | obj51.Transparency = 1 | |
3864 | obj51.TopSurface = Enum.SurfaceType.Smooth | |
3865 | obj51.BottomSurface = Enum.SurfaceType.Smooth | |
3866 | obj51.Material = Enum.Material.SmoothPlastic | |
3867 | obj51.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3868 | obj51.BrickColor = BrickColor.new("Pastel brown") | |
3869 | obj51.Friction = 0.30000001192093 | |
3870 | obj51.Shape = Enum.PartType.Ball | |
3871 | obj51.Name = "stretchlol" | |
3872 | obj51.Parent = obj41 | |
3873 | ||
3874 | -- 52 - stretchlol | |
3875 | local obj52 = Instance.new("Part") | |
3876 | obj52.CFrame = CFrame.new(Vector3.new(66.868927, 3.45350599, 6.82578087)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
3877 | obj52.CanCollide = false | |
3878 | obj52.Transparency = 1 | |
3879 | obj52.TopSurface = Enum.SurfaceType.Smooth | |
3880 | obj52.BottomSurface = Enum.SurfaceType.Smooth | |
3881 | obj52.Material = Enum.Material.SmoothPlastic | |
3882 | obj52.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3883 | obj52.BrickColor = BrickColor.new("Pastel brown") | |
3884 | obj52.Friction = 0.30000001192093 | |
3885 | obj52.Shape = Enum.PartType.Ball | |
3886 | obj52.Name = "stretchlol" | |
3887 | obj52.Parent = obj41 | |
3888 | ||
3889 | -- 53 - stretchlol | |
3890 | local obj53 = Instance.new("Part") | |
3891 | obj53.CFrame = CFrame.new(Vector3.new(67.287262, 3.10603261, 7.30382156)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.0471986532211) | |
3892 | obj53.CanCollide = false | |
3893 | obj53.Transparency = 1 | |
3894 | obj53.TopSurface = Enum.SurfaceType.Smooth | |
3895 | obj53.BottomSurface = Enum.SurfaceType.Smooth | |
3896 | obj53.Material = Enum.Material.SmoothPlastic | |
3897 | obj53.Size = Vector3.new(1.79999995, 1.04999995, 1.04999995) | |
3898 | obj53.BrickColor = BrickColor.new("Pastel brown") | |
3899 | obj53.Friction = 0.30000001192093 | |
3900 | obj53.Shape = Enum.PartType.Cylinder | |
3901 | obj53.Name = "stretchlol" | |
3902 | obj53.Parent = obj41 | |
3903 | ||
3904 | -- 54 - stretchlol | |
3905 | local obj54 = Instance.new("Part") | |
3906 | obj54.CFrame = CFrame.new(Vector3.new(66.4686813, 4.02028799, 7.16550922)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3907 | obj54.CanCollide = false | |
3908 | obj54.Transparency = 1 | |
3909 | obj54.TopSurface = Enum.SurfaceType.Smooth | |
3910 | obj54.BottomSurface = Enum.SurfaceType.Smooth | |
3911 | obj54.Material = Enum.Material.SmoothPlastic | |
3912 | obj54.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3913 | obj54.BrickColor = BrickColor.new("Pastel brown") | |
3914 | obj54.Friction = 0.30000001192093 | |
3915 | obj54.Shape = Enum.PartType.Ball | |
3916 | obj54.Name = "stretchlol" | |
3917 | obj54.Parent = obj41 | |
3918 | ||
3919 | -- 55 - stretchlol | |
3920 | local obj55 = Instance.new("Part") | |
3921 | obj55.CFrame = CFrame.new(Vector3.new(66.6615219, 4.17028332, 7.3953228)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3922 | obj55.CanCollide = false | |
3923 | obj55.Transparency = 1 | |
3924 | obj55.TopSurface = Enum.SurfaceType.Smooth | |
3925 | obj55.BottomSurface = Enum.SurfaceType.Smooth | |
3926 | obj55.Material = Enum.Material.SmoothPlastic | |
3927 | obj55.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3928 | obj55.BrickColor = BrickColor.new("Pastel brown") | |
3929 | obj55.Friction = 0.30000001192093 | |
3930 | obj55.Shape = Enum.PartType.Ball | |
3931 | obj55.Name = "stretchlol" | |
3932 | obj55.Parent = obj41 | |
3933 | ||
3934 | -- 56 - stretchlol | |
3935 | local obj56 = Instance.new("Part") | |
3936 | obj56.CFrame = CFrame.new(Vector3.new(66.753746, 3.12474751, 7.32704115)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
3937 | obj56.CanCollide = false | |
3938 | obj56.Transparency = 1 | |
3939 | obj56.TopSurface = Enum.SurfaceType.Smooth | |
3940 | obj56.BottomSurface = Enum.SurfaceType.Smooth | |
3941 | obj56.Material = Enum.Material.SmoothPlastic | |
3942 | obj56.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3943 | obj56.BrickColor = BrickColor.new("Pastel brown") | |
3944 | obj56.Friction = 0.30000001192093 | |
3945 | obj56.Shape = Enum.PartType.Ball | |
3946 | obj56.Name = "stretchlol" | |
3947 | obj56.Parent = obj41 | |
3948 | ||
3949 | -- 57 - stretchlol | |
3950 | local obj57 = Instance.new("Part") | |
3951 | obj57.CFrame = CFrame.new(Vector3.new(67.2306061, 4.11047649, 7.28319883)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3952 | obj57.CanCollide = false | |
3953 | obj57.Transparency = 1 | |
3954 | obj57.TopSurface = Enum.SurfaceType.Smooth | |
3955 | obj57.BottomSurface = Enum.SurfaceType.Smooth | |
3956 | obj57.Material = Enum.Material.SmoothPlastic | |
3957 | obj57.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3958 | obj57.BrickColor = BrickColor.new("Pastel brown") | |
3959 | obj57.Friction = 0.30000001192093 | |
3960 | obj57.Shape = Enum.PartType.Ball | |
3961 | obj57.Name = "stretchlol" | |
3962 | obj57.Parent = obj41 | |
3963 | ||
3964 | -- 58 - stretchlol | |
3965 | local obj58 = Instance.new("Part") | |
3966 | obj58.CFrame = CFrame.new(Vector3.new(67.0756683, 3.79114079, 7.63403416)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
3967 | obj58.CanCollide = false | |
3968 | obj58.Transparency = 1 | |
3969 | obj58.TopSurface = Enum.SurfaceType.Smooth | |
3970 | obj58.BottomSurface = Enum.SurfaceType.Smooth | |
3971 | obj58.Material = Enum.Material.SmoothPlastic | |
3972 | obj58.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3973 | obj58.BrickColor = BrickColor.new("Pastel brown") | |
3974 | obj58.Friction = 0.30000001192093 | |
3975 | obj58.Shape = Enum.PartType.Ball | |
3976 | obj58.Name = "stretchlol" | |
3977 | obj58.Parent = obj41 | |
3978 | ||
3979 | -- 59 - stretchlol | |
3980 | local obj59 = Instance.new("Part") | |
3981 | obj59.CFrame = CFrame.new(Vector3.new(66.5005493, 3.73548079, 7.38994217)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
3982 | obj59.CanCollide = false | |
3983 | obj59.Transparency = 1 | |
3984 | obj59.TopSurface = Enum.SurfaceType.Smooth | |
3985 | obj59.BottomSurface = Enum.SurfaceType.Smooth | |
3986 | obj59.Material = Enum.Material.SmoothPlastic | |
3987 | obj59.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
3988 | obj59.BrickColor = BrickColor.new("Pastel brown") | |
3989 | obj59.Friction = 0.30000001192093 | |
3990 | obj59.Shape = Enum.PartType.Ball | |
3991 | obj59.Name = "stretchlol" | |
3992 | obj59.Parent = obj41 | |
3993 | ||
3994 | -- 60 - stretchlol | |
3995 | local obj60 = Instance.new("Part") | |
3996 | obj60.CFrame = CFrame.new(Vector3.new(67.6487045, 3.41425848, 7.1938138)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
3997 | obj60.CanCollide = false | |
3998 | obj60.Transparency = 1 | |
3999 | obj60.TopSurface = Enum.SurfaceType.Smooth | |
4000 | obj60.BottomSurface = Enum.SurfaceType.Smooth | |
4001 | obj60.Material = Enum.Material.SmoothPlastic | |
4002 | obj60.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4003 | obj60.BrickColor = BrickColor.new("Pastel brown") | |
4004 | obj60.Friction = 0.30000001192093 | |
4005 | obj60.Shape = Enum.PartType.Ball | |
4006 | obj60.Name = "stretchlol" | |
4007 | obj60.Parent = obj41 | |
4008 | ||
4009 | -- 61 - stretchlol | |
4010 | local obj61 = Instance.new("Part") | |
4011 | obj61.CFrame = CFrame.new(Vector3.new(67.3677139, 3.85357118, 7.33310223)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
4012 | obj61.CanCollide = false | |
4013 | obj61.Transparency = 1 | |
4014 | obj61.TopSurface = Enum.SurfaceType.Smooth | |
4015 | obj61.BottomSurface = Enum.SurfaceType.Smooth | |
4016 | obj61.Material = Enum.Material.SmoothPlastic | |
4017 | obj61.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4018 | obj61.BrickColor = BrickColor.new("Pastel brown") | |
4019 | obj61.Friction = 0.30000001192093 | |
4020 | obj61.Shape = Enum.PartType.Ball | |
4021 | obj61.Name = "stretchlol" | |
4022 | obj61.Parent = obj41 | |
4023 | ||
4024 | -- 62 - stretchlol | |
4025 | local obj62 = Instance.new("Part") | |
4026 | obj62.CFrame = CFrame.new(Vector3.new(66.6352844, 3.40356588, 7.06651878)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
4027 | obj62.CanCollide = false | |
4028 | obj62.Transparency = 1 | |
4029 | obj62.TopSurface = Enum.SurfaceType.Smooth | |
4030 | obj62.BottomSurface = Enum.SurfaceType.Smooth | |
4031 | obj62.Material = Enum.Material.SmoothPlastic | |
4032 | obj62.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4033 | obj62.BrickColor = BrickColor.new("Pastel brown") | |
4034 | obj62.Friction = 0.30000001192093 | |
4035 | obj62.Shape = Enum.PartType.Ball | |
4036 | obj62.Name = "stretchlol" | |
4037 | obj62.Parent = obj41 | |
4038 | ||
4039 | -- 63 - stretchlol | |
4040 | local obj63 = Instance.new("Part") | |
4041 | obj63.CFrame = CFrame.new(Vector3.new(66.7236328, 4.28189754, 7.20509195)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
4042 | obj63.CanCollide = false | |
4043 | obj63.Transparency = 1 | |
4044 | obj63.TopSurface = Enum.SurfaceType.Smooth | |
4045 | obj63.BottomSurface = Enum.SurfaceType.Smooth | |
4046 | obj63.Material = Enum.Material.SmoothPlastic | |
4047 | obj63.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4048 | obj63.BrickColor = BrickColor.new("Pastel brown") | |
4049 | obj63.Friction = 0.30000001192093 | |
4050 | obj63.Shape = Enum.PartType.Ball | |
4051 | obj63.Name = "stretchlol" | |
4052 | obj63.Parent = obj41 | |
4053 | ||
4054 | -- 64 - stretchlol | |
4055 | local obj64 = Instance.new("Part") | |
4056 | obj64.CFrame = CFrame.new(Vector3.new(66.5712891, 4.02028799, 6.8835969)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
4057 | obj64.CanCollide = false | |
4058 | obj64.Transparency = 1 | |
4059 | obj64.TopSurface = Enum.SurfaceType.Smooth | |
4060 | obj64.BottomSurface = Enum.SurfaceType.Smooth | |
4061 | obj64.Material = Enum.Material.SmoothPlastic | |
4062 | obj64.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4063 | obj64.BrickColor = BrickColor.new("Pastel brown") | |
4064 | obj64.Friction = 0.30000001192093 | |
4065 | obj64.Shape = Enum.PartType.Ball | |
4066 | obj64.Name = "stretchlol" | |
4067 | obj64.Parent = obj41 | |
4068 | ||
4069 | -- 65 - stretchlol | |
4070 | local obj65 = Instance.new("Part") | |
4071 | obj65.CFrame = CFrame.new(Vector3.new(66.4981842, 3.66047978, 7.01661682)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
4072 | obj65.CanCollide = false | |
4073 | obj65.Transparency = 1 | |
4074 | obj65.TopSurface = Enum.SurfaceType.Smooth | |
4075 | obj65.BottomSurface = Enum.SurfaceType.Smooth | |
4076 | obj65.Material = Enum.Material.SmoothPlastic | |
4077 | obj65.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4078 | obj65.BrickColor = BrickColor.new("Pastel brown") | |
4079 | obj65.Friction = 0.30000001192093 | |
4080 | obj65.Shape = Enum.PartType.Ball | |
4081 | obj65.Name = "stretchlol" | |
4082 | obj65.Parent = obj41 | |
4083 | ||
4084 | -- 66 - stretchlol | |
4085 | local obj66 = Instance.new("Part") | |
4086 | obj66.CFrame = CFrame.new(Vector3.new(66.7920303, 4.28189754, 7.01715183)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
4087 | obj66.CanCollide = false | |
4088 | obj66.Transparency = 1 | |
4089 | obj66.TopSurface = Enum.SurfaceType.Smooth | |
4090 | obj66.BottomSurface = Enum.SurfaceType.Smooth | |
4091 | obj66.Material = Enum.Material.SmoothPlastic | |
4092 | obj66.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4093 | obj66.BrickColor = BrickColor.new("Pastel brown") | |
4094 | obj66.Friction = 0.30000001192093 | |
4095 | obj66.Shape = Enum.PartType.Ball | |
4096 | obj66.Name = "stretchlol" | |
4097 | obj66.Parent = obj41 | |
4098 | ||
4099 | -- 67 - stretchlol | |
4100 | local obj67 = Instance.new("Part") | |
4101 | obj67.CFrame = CFrame.new(Vector3.new(66.5950623, 4.18188763, 7.05188084)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
4102 | obj67.CanCollide = false | |
4103 | obj67.Transparency = 1 | |
4104 | obj67.TopSurface = Enum.SurfaceType.Smooth | |
4105 | obj67.BottomSurface = Enum.SurfaceType.Smooth | |
4106 | obj67.Material = Enum.Material.SmoothPlastic | |
4107 | obj67.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4108 | obj67.BrickColor = BrickColor.new("Pastel brown") | |
4109 | obj67.Friction = 0.30000001192093 | |
4110 | obj67.Shape = Enum.PartType.Ball | |
4111 | obj67.Name = "stretchlol" | |
4112 | obj67.Parent = obj41 | |
4113 | ||
4114 | -- 68 - stretchlol | |
4115 | local obj68 = Instance.new("Part") | |
4116 | obj68.CFrame = CFrame.new(Vector3.new(67.4115601, 3.73646879, 7.01420689)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
4117 | obj68.CanCollide = false | |
4118 | obj68.Transparency = 1 | |
4119 | obj68.TopSurface = Enum.SurfaceType.Smooth | |
4120 | obj68.BottomSurface = Enum.SurfaceType.Smooth | |
4121 | obj68.Material = Enum.Material.SmoothPlastic | |
4122 | obj68.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4123 | obj68.BrickColor = BrickColor.new("Pastel brown") | |
4124 | obj68.Friction = 0.30000001192093 | |
4125 | obj68.Shape = Enum.PartType.Ball | |
4126 | obj68.Name = "stretchlol" | |
4127 | obj68.Parent = obj41 | |
4128 | ||
4129 | -- 69 - stretchlol | |
4130 | local obj69 = Instance.new("Part") | |
4131 | obj69.CFrame = CFrame.new(Vector3.new(66.8643951, 3.88548112, 7.14990711)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
4132 | obj69.CanCollide = false | |
4133 | obj69.Transparency = 1 | |
4134 | obj69.TopSurface = Enum.SurfaceType.Smooth | |
4135 | obj69.BottomSurface = Enum.SurfaceType.Smooth | |
4136 | obj69.Material = Enum.Material.SmoothPlastic | |
4137 | obj69.Size = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
4138 | obj69.BrickColor = BrickColor.new("Pastel brown") | |
4139 | obj69.Friction = 0.30000001192093 | |
4140 | obj69.Shape = Enum.PartType.Ball | |
4141 | obj69.Name = "stretchlol" | |
4142 | obj69.Parent = obj41 | |
4143 | ||
4144 | -- 70 - stretchlol | |
4145 | local obj70 = Instance.new("Part") | |
4146 | obj70.CFrame = CFrame.new(Vector3.new(67.4108353, 3.29388237, 6.88037777)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
4147 | obj70.CanCollide = false | |
4148 | obj70.Transparency = 1 | |
4149 | obj70.TopSurface = Enum.SurfaceType.Smooth | |
4150 | obj70.BottomSurface = Enum.SurfaceType.Smooth | |
4151 | obj70.Material = Enum.Material.SmoothPlastic | |
4152 | obj70.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4153 | obj70.BrickColor = BrickColor.new("Pastel brown") | |
4154 | obj70.Friction = 0.30000001192093 | |
4155 | obj70.Shape = Enum.PartType.Ball | |
4156 | obj70.Name = "stretchlol" | |
4157 | obj70.Parent = obj41 | |
4158 | ||
4159 | -- 71 - stretchlol | |
4160 | local obj71 = Instance.new("Part") | |
4161 | obj71.CFrame = CFrame.new(Vector3.new(67.1960983, 3.65356374, 6.79175806)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
4162 | obj71.CanCollide = false | |
4163 | obj71.Transparency = 1 | |
4164 | obj71.TopSurface = Enum.SurfaceType.Smooth | |
4165 | obj71.BottomSurface = Enum.SurfaceType.Smooth | |
4166 | obj71.Material = Enum.Material.SmoothPlastic | |
4167 | obj71.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4168 | obj71.BrickColor = BrickColor.new("Pastel brown") | |
4169 | obj71.Friction = 0.30000001192093 | |
4170 | obj71.Shape = Enum.PartType.Ball | |
4171 | obj71.Name = "stretchlol" | |
4172 | obj71.Parent = obj41 | |
4173 | ||
4174 | -- 72 - stretchlol | |
4175 | local obj72 = Instance.new("Part") | |
4176 | obj72.CFrame = CFrame.new(Vector3.new(66.944519, 3.22988653, 7.64748716)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
4177 | obj72.CanCollide = false | |
4178 | obj72.Transparency = 1 | |
4179 | obj72.TopSurface = Enum.SurfaceType.Smooth | |
4180 | obj72.BottomSurface = Enum.SurfaceType.Smooth | |
4181 | obj72.Material = Enum.Material.SmoothPlastic | |
4182 | obj72.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4183 | obj72.BrickColor = BrickColor.new("Pastel brown") | |
4184 | obj72.Friction = 0.30000001192093 | |
4185 | obj72.Shape = Enum.PartType.Ball | |
4186 | obj72.Name = "stretchlol" | |
4187 | obj72.Parent = obj41 | |
4188 | ||
4189 | -- 73 - stretchlol | |
4190 | local obj73 = Instance.new("Part") | |
4191 | obj73.CFrame = CFrame.new(Vector3.new(66.851532, 3.04020095, 7.04717398)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
4192 | obj73.CanCollide = false | |
4193 | obj73.Transparency = 1 | |
4194 | obj73.TopSurface = Enum.SurfaceType.Smooth | |
4195 | obj73.BottomSurface = Enum.SurfaceType.Smooth | |
4196 | obj73.Material = Enum.Material.SmoothPlastic | |
4197 | obj73.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4198 | obj73.BrickColor = BrickColor.new("Pastel brown") | |
4199 | obj73.Friction = 0.30000001192093 | |
4200 | obj73.Shape = Enum.PartType.Ball | |
4201 | obj73.Name = "stretchlol" | |
4202 | obj73.Parent = obj41 | |
4203 | ||
4204 | -- 74 - stretchlol | |
4205 | local obj74 = Instance.new("Part") | |
4206 | obj74.CFrame = CFrame.new(Vector3.new(66.5551376, 3.48395109, 7.33871603)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
4207 | obj74.CanCollide = false | |
4208 | obj74.Transparency = 1 | |
4209 | obj74.TopSurface = Enum.SurfaceType.Smooth | |
4210 | obj74.BottomSurface = Enum.SurfaceType.Smooth | |
4211 | obj74.Material = Enum.Material.SmoothPlastic | |
4212 | obj74.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4213 | obj74.BrickColor = BrickColor.new("Pastel brown") | |
4214 | obj74.Friction = 0.30000001192093 | |
4215 | obj74.Shape = Enum.PartType.Ball | |
4216 | obj74.Name = "stretchlol" | |
4217 | obj74.Parent = obj41 | |
4218 | ||
4219 | -- 75 - stretchlol | |
4220 | local obj75 = Instance.new("Part") | |
4221 | obj75.CFrame = CFrame.new(Vector3.new(66.8069, 3.60357046, 7.60786104)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
4222 | obj75.CanCollide = false | |
4223 | obj75.Transparency = 1 | |
4224 | obj75.TopSurface = Enum.SurfaceType.Smooth | |
4225 | obj75.BottomSurface = Enum.SurfaceType.Smooth | |
4226 | obj75.Material = Enum.Material.SmoothPlastic | |
4227 | obj75.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4228 | obj75.BrickColor = BrickColor.new("Pastel brown") | |
4229 | obj75.Friction = 0.30000001192093 | |
4230 | obj75.Shape = Enum.PartType.Ball | |
4231 | obj75.Name = "stretchlol" | |
4232 | obj75.Parent = obj41 | |
4233 | ||
4234 | -- 76 - stretchlol | |
4235 | local obj76 = Instance.new("Part") | |
4236 | obj76.CFrame = CFrame.new(Vector3.new(67.0182953, 3.88547921, 6.72704411)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
4237 | obj76.CanCollide = false | |
4238 | obj76.Transparency = 1 | |
4239 | obj76.TopSurface = Enum.SurfaceType.Smooth | |
4240 | obj76.BottomSurface = Enum.SurfaceType.Smooth | |
4241 | obj76.Material = Enum.Material.SmoothPlastic | |
4242 | obj76.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
4243 | obj76.BrickColor = BrickColor.new("Pastel brown") | |
4244 | obj76.Friction = 0.30000001192093 | |
4245 | obj76.Shape = Enum.PartType.Ball | |
4246 | obj76.Name = "stretchlol" | |
4247 | obj76.Parent = obj41 | |
4248 | obj1.PrimaryPart = obj4 | |
4249 | ||
4250 | local stretches = obj41:GetChildren() | |
4251 | for i,v in pairs(stretches) do | |
4252 | v.Anchored = true | |
4253 | v.Parent = obj1 | |
4254 | end | |
4255 | for i,v in pairs(obj2:GetChildren()) do | |
4256 | v.Anchored = true | |
4257 | v.Parent = obj1 | |
4258 | end | |
4259 | obj2:Destroy() | |
4260 | obj41:Destroy() | |
4261 | ||
4262 | local previous = nil | |
4263 | for i,v in pairs(obj1:GetChildren()) do | |
4264 | if v:IsA('BasePart') then | |
4265 | if previous then | |
4266 | local weld = Instance.new('Weld',v) | |
4267 | weld.Part0 = v | |
4268 | weld.Part1 = previous | |
4269 | weld.C0 = v.CFrame:inverse() * previous.CFrame | |
4270 | previous.Anchored = false | |
4271 | previous.CanCollide = false | |
4272 | local vee = v | |
4273 | weld.AncestryChanged:connect(function(mez,par) | |
4274 | wait() | |
4275 | weld.Parent = vee | |
4276 | end) | |
4277 | end | |
4278 | previous = v | |
4279 | end | |
4280 | end | |
4281 | previous.Anchored = false | |
4282 | previous.CanCollide = false | |
4283 | obj1:SetPrimaryPartCFrame(handle.CFrame*CFrame.Angles(0,math.rad(180),0)+Vector3.new(0,100,0)) | |
4284 | -- 2 - Part | |
4285 | local ree = Instance.new("Part") | |
4286 | ree.CFrame = CFrame.new(Vector3.new(50.5, 141, 5.5)) | |
4287 | ree.Transparency = 0.80000001192093 | |
4288 | ree.Material = Enum.Material.Neon | |
4289 | ree.CFrame = CFrame.new(obj4.Position) | |
4290 | ree.Size = Vector3.new(5, math.huge, 5) | |
4291 | ree.BrickColor = BrickColor.new("New Yeller") | |
4292 | ree.Friction = 0.30000001192093 | |
4293 | ree.Shape = Enum.PartType.Block | |
4294 | ree.Parent = handle | |
4295 | ||
4296 | -- 3 - Mesh | |
4297 | local ree2 = Instance.new("CylinderMesh") | |
4298 | ree2.Parent = ree | |
4299 | local thing = Instance.new('BodyPosition',obj9) | |
4300 | local thing2 = Instance.new('BodyPosition',ree) | |
4301 | thing2.P = 100000 | |
4302 | thing2.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
4303 | thing.MaxForce = Vector3.new(10000,10000,10000) | |
4304 | for i=1,100 do | |
4305 | thing2.Position = obj4.Position | |
4306 | obj1:SetPrimaryPartCFrame(CFrame.new(obj1.PrimaryPart.Position)*CFrame.Angles(math.rad(handle.Orientation.X),math.rad(handle.Orientation.Y),math.rad(handle.Orientation.Z))*CFrame.Angles(0,math.rad(180),0)) | |
4307 | thing.Position = handle.Position+(handle.CFrame.rightVector*0.5) | |
4308 | wait() | |
4309 | end | |
4310 | thing:Destroy() | |
4311 | local lmfao = Instance.new('Weld',obj4) | |
4312 | lmfao.C0 = CFrame.new(2.5,0.2,0)*CFrame.Angles(0,math.rad(180),0) | |
4313 | lmfao.Part0 = obj4 | |
4314 | lmfao.Part1 = handle | |
4315 | ree:Destroy() | |
4316 | working = false | |
4317 | end | |
4318 | ||
4319 | function katanamode() | |
4320 | blademode = "katana" | |
4321 | -- 1 - weeb shit | |
4322 | local weebshit1 = handle | |
4323 | ||
4324 | -- 16 - top cap | |
4325 | local weebshit16 = Instance.new("Part") | |
4326 | weebshit16.CFrame = CFrame.new(Vector3.new(206.400146, 11.5499945, 5.00058556)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063) | |
4327 | weebshit16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4328 | weebshit16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4329 | weebshit16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4330 | weebshit16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4331 | weebshit16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4332 | weebshit16.Size = Vector3.new(0.1, 0.05,0.05) --0.65, 0.65 | |
4333 | weebshit16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4334 | weebshit16.Anchored = false | |
4335 | weebshit16.BrickColor = BrickColor.new("Really black") | |
4336 | weebshit16.Friction = 0.30000001192093 | |
4337 | weebshit16.Shape = Enum.PartType.Cylinder | |
4338 | weebshit16.Name = "top cap" | |
4339 | weebshit16.Parent = weebshit1 | |
4340 | local weld = Instance.new('Weld',weebshit16) | |
4341 | weld.Part0 = weebshit16 | |
4342 | weld.Part1 = handle | |
4343 | weld.C1 = CFrame.new(0.6, 0, 0, 1.00000048, 0, 0, 0, 1, 0, 0, 0, 1.00000048) | |
4344 | --weld,part,endsize,endpos,amntime | |
4345 | grow(weld,weebshit16,Vector3.new(0.1,0.65,0.65),CFrame.new(0.6, 0, 0, 1.00000048, 0, 0, 0, 1, 0, 0, 0, 1.00000048),0.1) | |
4346 | ||
4347 | -- 8 - blade | |
4348 | local weebshit8 = Instance.new("Part") | |
4349 | weebshit8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4350 | weebshit8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4351 | weebshit8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4352 | weebshit8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4353 | weebshit8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4354 | weebshit8.Material = Enum.Material.Metal | |
4355 | weebshit8.Size = Vector3.new(0.23,0.05, 0.1) | |
4356 | weebshit8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4357 | weebshit8.Anchored = false | |
4358 | weebshit8.BrickColor = BrickColor.new("Dark stone grey") | |
4359 | weebshit8.Friction = 0.30000001192093 | |
4360 | weebshit8.Shape = Enum.PartType.Block | |
4361 | weebshit8.Name = "blade" | |
4362 | weebshit8.Parent = weebshit1 | |
4363 | weebshit8:BreakJoints() | |
4364 | local bld1 = weebshit8 | |
4365 | local weld2 = Instance.new('Weld',weebshit8) | |
4366 | weld2.Part0 = weebshit8 | |
4367 | weld2.Part1 = handle | |
4368 | weld2.C1 = CFrame.new(0.75, 0, 0) * CFrame.Angles(math.rad(180), 0, math.rad(-90)) | |
4369 | local coru=coroutine.wrap(function() | |
4370 | grow(weld2,weebshit8,Vector3.new(0.23,1.17,0.1),CFrame.new(1.25, 0, 0) * CFrame.Angles(math.rad(180), 0, math.rad(-90)),0.05) | |
4371 | end) | |
4372 | coru() | |
4373 | ||
4374 | -- 9 - blade | |
4375 | local weebshit9 = Instance.new("Part") | |
4376 | weebshit9.CFrame = CFrame.new(Vector3.new(206.475388, 13.3372736, 5.00158167)) * CFrame.Angles(-0, 0, 0.052359949797392) | |
4377 | weebshit9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4378 | weebshit9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4379 | weebshit9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4380 | weebshit9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4381 | weebshit9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4382 | weebshit9.Material = Enum.Material.Metal | |
4383 | weebshit9.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) | |
4384 | weebshit9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4385 | weebshit9.Anchored = false | |
4386 | weebshit9.BrickColor = BrickColor.new("Pearl") | |
4387 | weebshit9.Friction = 0.30000001192093 | |
4388 | weebshit9.Shape = Enum.PartType.Block | |
4389 | weebshit9.Name = "blade" | |
4390 | weebshit9.Parent = weebshit8 | |
4391 | local bld2 = weebshit9 | |
4392 | local weld3 = Instance.new('Weld',weebshit9) | |
4393 | weld3.Part0 = weebshit9 | |
4394 | weld3.Part1 = weebshit8 | |
4395 | weld3.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0) | |
4396 | grow(weld3,weebshit9,Vector3.new(0.100000009, 1.17, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.05) | |
4397 | -- 10 - blade | |
4398 | local weebshit10 = Instance.new("Part") | |
4399 | weebshit10.CFrame = CFrame.new(Vector3.new(206.26973, 14.458313, 5)) * CFrame.Angles(-0, 0, 0.10472027212381) | |
4400 | weebshit10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4401 | weebshit10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4402 | weebshit10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4403 | weebshit10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4404 | weebshit10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4405 | weebshit10.Material = Enum.Material.Metal | |
4406 | weebshit10.Size = Vector3.new(0.229999945, 0.05, 0.100000009) | |
4407 | weebshit10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4408 | weebshit10.Anchored = false | |
4409 | weebshit10.BrickColor = BrickColor.new("Dark stone grey") | |
4410 | weebshit10.Friction = 0.30000001192093 | |
4411 | weebshit10.Shape = Enum.PartType.Block | |
4412 | weebshit10.Name = "blade" | |
4413 | weebshit10.Parent = weebshit1 | |
4414 | local weld4 = Instance.new('Weld',weebshit10) | |
4415 | weld4.Part0 = weebshit10 | |
4416 | weld4.Part1 = weebshit8 | |
4417 | weld4.C1 = CFrame.new(-0.01, 0.55, -1.14440918e-05, 0.998631477, 0.0523363762, -1.25522347e-05, 0.0523363687, -0.998631358, -8.97663813e-06, -1.3056685e-05, 8.01841452e-06, -1.00000095) | |
4418 | local coru=coroutine.wrap(function() | |
4419 | grow(weld4,weebshit10,Vector3.new(0.23,1.17,0.1),CFrame.new(-0.0285797119, 1.14634609, -1.14440918e-05, 0.998631477, 0.0523363762, -1.25522347e-05, 0.0523363687, -0.998631358, -8.97663813e-06, -1.3056685e-05, 8.01841452e-06, -1.00000095),0.1) | |
4420 | end) | |
4421 | coru() | |
4422 | -- 11 - blade | |
4423 | local weebshit11 = Instance.new("Part") | |
4424 | weebshit11.CFrame = CFrame.new(Vector3.new(206.384079, 14.4703341, 5.00158167)) * CFrame.Angles(-0, 0, 0.10472027212381) | |
4425 | weebshit11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4426 | weebshit11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4427 | weebshit11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4428 | weebshit11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4429 | weebshit11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4430 | weebshit11.Material = Enum.Material.Metal | |
4431 | weebshit11.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) | |
4432 | weebshit11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4433 | weebshit11.Anchored = false | |
4434 | weebshit11.BrickColor = BrickColor.new("Pearl") | |
4435 | weebshit11.Friction = 0.30000001192093 | |
4436 | weebshit11.Shape = Enum.PartType.Block | |
4437 | weebshit11.Name = "blade" | |
4438 | weebshit11.Parent = weebshit1 | |
4439 | local weld5 = Instance.new('Weld',weebshit10) | |
4440 | weld5.Part0 = weebshit10 | |
4441 | weld5.Part1 = weebshit11 | |
4442 | weld5.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0) | |
4443 | grow(weld5,weebshit11,Vector3.new(0.100000009, 1.16999841, 0.0500000007),CFrame.new(-0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1) | |
4444 | ||
4445 | -- 15 - blade | |
4446 | local weebshit15 = Instance.new("Part") | |
4447 | weebshit15.CFrame = CFrame.new(Vector3.new(206.36055, 13.3312511, 5)) * CFrame.Angles(-0, 0, 0.052359949797392) | |
4448 | weebshit15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4449 | weebshit15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4450 | weebshit15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4451 | weebshit15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4452 | weebshit15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4453 | weebshit15.Material = Enum.Material.Metal | |
4454 | weebshit15.Size = Vector3.new(0.229999945, 0.55, 0.100000009) | |
4455 | weebshit15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4456 | weebshit15.Anchored = false | |
4457 | weebshit15.BrickColor = BrickColor.new("Dark stone grey") | |
4458 | weebshit15.Friction = 0.30000001192093 | |
4459 | weebshit15.Shape = Enum.PartType.Block | |
4460 | weebshit15.Name = "blade" | |
4461 | weebshit15.Parent = weebshit1 | |
4462 | local weld6 = Instance.new('Weld',weebshit15) | |
4463 | weld6.Part0 = weebshit15 | |
4464 | weld6.Part1 = weebshit10 | |
4465 | weld6.C1 = CFrame.new(-0.01, -0.55, 0, 0.99863112, -0.0523363762, 5.34574838e-07, -0.0523363203, -0.998631358, 9.75034527e-06, 9.04611142e-08, -1.00508332e-05, -1.0000006) | |
4466 | local coru=coroutine.wrap(function() | |
4467 | grow(weld6,weebshit15,Vector3.new(0.229999945, 1.17000151, 0.100000009),CFrame.new(-0.0274810791, -1.13038063, 0, 0.99863112, -0.0523363762, 5.34574838e-07, -0.0523363203, -0.998631358, 9.75034527e-06, 9.04611142e-08, -1.00508332e-05, -1.0000006),0.1) | |
4468 | end) | |
4469 | coru() | |
4470 | ||
4471 | -- 12 - blade | |
4472 | local weebshit12 = Instance.new("Part") | |
4473 | weebshit12.CFrame = CFrame.new(Vector3.new(206.50705, 12.1849957, 5.00158167)) * CFrame.Angles(-0, 0, -0) | |
4474 | weebshit12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4475 | weebshit12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4476 | weebshit12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4477 | weebshit12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4478 | weebshit12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4479 | weebshit12.Material = Enum.Material.Metal | |
4480 | weebshit12.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) | |
4481 | weebshit12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4482 | weebshit12.Anchored = false | |
4483 | weebshit12.BrickColor = BrickColor.new("Pearl") | |
4484 | weebshit12.Friction = 0.30000001192093 | |
4485 | weebshit12.Shape = Enum.PartType.Block | |
4486 | weebshit12.Name = "blade" | |
4487 | weebshit12.Parent = weebshit1 | |
4488 | local weld7 = Instance.new('Weld',weebshit12) | |
4489 | weld7.Part0 = weebshit12 | |
4490 | weld7.Part1 = weebshit15 | |
4491 | weld7.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0) | |
4492 | grow(weld7,weebshit12,Vector3.new(0.100000009, 1.16999841, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1) | |
4493 | ||
4494 | -- 14 - blade | |
4495 | local weebshit14 = Instance.new("Part") | |
4496 | weebshit14.CFrame = CFrame.new(Vector3.new(206.155365, 15.3628922, 5)) * CFrame.Angles(-0, 0, 0.15708021819592) | |
4497 | weebshit14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4498 | weebshit14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4499 | weebshit14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4500 | weebshit14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4501 | weebshit14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4502 | weebshit14.Material = Enum.Material.Metal | |
4503 | weebshit14.Size = Vector3.new(0.229999945, 0.05, 0.100000009) | |
4504 | weebshit14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4505 | weebshit14.Anchored = false | |
4506 | weebshit14.BrickColor = BrickColor.new("Dark stone grey") | |
4507 | weebshit14.Friction = 0.30000001192093 | |
4508 | weebshit14.Shape = Enum.PartType.Block | |
4509 | weebshit14.Name = "blade" | |
4510 | weebshit14.Parent = weebshit1 | |
4511 | local weld8 = Instance.new('Weld',weebshit14) | |
4512 | weld8.Part0 = weebshit14 | |
4513 | weld8.Part1 = weebshit15 | |
4514 | weld8.C1 = CFrame.new(-0.01, 0.45, -1.43051147e-06, 0.99862963, 0.0522801876, -1.10407145e-05, 0.0522794127, 0.998632491, -1.50609173e-06, 8.47656065e-06, 1.7598054e-06, 1) | |
4515 | local coru=coroutine.wrap(function() | |
4516 | grow(weld8,weebshit14,Vector3.new(0.229999945, 0.700001657, 0.100000009),CFrame.new(-0.0191650391, 0.911635399, -1.43051147e-06, 0.99862963, 0.0522801876, -1.10407145e-05, 0.0522794127, 0.998632491, -1.50609173e-06, 8.47656065e-06, 1.7598054e-06, 1),0.1) | |
4517 | end) | |
4518 | coru() | |
4519 | ||
4520 | -- 13 - blade | |
4521 | local weebshit13 = Instance.new("Part") | |
4522 | weebshit13.CFrame = CFrame.new(Vector3.new(206.268967, 15.3808832, 5.00158167)) * CFrame.Angles(-0, 0, 0.15708021819592) | |
4523 | weebshit13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4524 | weebshit13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4525 | weebshit13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4526 | weebshit13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4527 | weebshit13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4528 | weebshit13.Material = Enum.Material.Metal | |
4529 | weebshit13.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) | |
4530 | weebshit13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4531 | weebshit13.Anchored = false | |
4532 | weebshit13.BrickColor = BrickColor.new("Pearl") | |
4533 | weebshit13.Friction = 0.30000001192093 | |
4534 | weebshit13.Shape = Enum.PartType.Block | |
4535 | weebshit13.Name = "blade" | |
4536 | weebshit13.Parent = weebshit1 | |
4537 | local weld9 = Instance.new('Weld',weebshit13) | |
4538 | weld9.Part0 = weebshit13 | |
4539 | weld9.Part1 = weebshit14 | |
4540 | weld9.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
4541 | grow(weld9,weebshit13,Vector3.new(0.100000009, 0.699998796, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1) | |
4542 | ||
4543 | -- 18 - blade | |
4544 | local weebshit18 = Instance.new("WedgePart") | |
4545 | weebshit18.CFrame = CFrame.new(Vector3.new(206.077118, 15.85674, 5)) * CFrame.Angles(1.5707963705063, -1.4137160778046, 1.5707963705063) | |
4546 | weebshit18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4547 | weebshit18.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4548 | weebshit18.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4549 | weebshit18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4550 | weebshit18.Material = Enum.Material.Metal | |
4551 | weebshit18.Size = Vector3.new(0.100000009, 0.05, 0.230000108) | |
4552 | weebshit18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4553 | weebshit18.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4554 | weebshit18.Anchored = false | |
4555 | weebshit18.BrickColor = BrickColor.new("Dark stone grey") | |
4556 | weebshit18.Friction = 0.30000001192093 | |
4557 | weebshit18.Name = "blade" | |
4558 | weebshit18.Parent = weebshit1 | |
4559 | local weld10 = Instance.new('Weld',weebshit18) | |
4560 | weld10.Part0 = weebshit18 | |
4561 | weld10.Part1 = weebshit14 | |
4562 | weld10.C1 = CFrame.new(-0.015, 0.299937057, 2.86102295e-06)*CFrame.Angles(0,math.rad(-90),0) | |
4563 | local coru=coroutine.wrap(function() | |
4564 | grow(weld10,weebshit18,Vector3.new(0.1, 0.3, 0.23),CFrame.new(0, 0.499937057, 2.86102295e-06)*CFrame.Angles(0,math.rad(-90),0),0.1) | |
4565 | end) | |
4566 | coru() | |
4567 | ||
4568 | -- 19 - blade | |
4569 | local weebshit19 = Instance.new("WedgePart") | |
4570 | weebshit19.CFrame = CFrame.new(Vector3.new(206.096375, 15.8952179, 5.00177383)) * CFrame.Angles(1.5707963705063, -1.4137160778046, 1.5707963705063) | |
4571 | weebshit19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4572 | weebshit19.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4573 | weebshit19.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4574 | weebshit19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4575 | weebshit19.Material = Enum.Material.Metal | |
4576 | weebshit19.Size = Vector3.new(0.0500000007, 0.05, 0.280000091) | |
4577 | weebshit19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4578 | weebshit19.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4579 | weebshit19.Anchored = false | |
4580 | weebshit19.BrickColor = BrickColor.new("Pearl") | |
4581 | weebshit19.Friction = 0.30000001192093 | |
4582 | weebshit19.Name = "blade" | |
4583 | weebshit19.Parent = weebshit1 | |
4584 | local weld11 = Instance.new('Weld',weebshit19) | |
4585 | weld11.Part0 = weebshit19 | |
4586 | weld11.Part1 = weebshit18 | |
4587 | weld11.C1 = CFrame.new(0, 0, -0.029) * CFrame.Angles(0, 0, 0) | |
4588 | local coru=coroutine.wrap(function() | |
4589 | grow(weld11,weebshit19,Vector3.new(0.05, 0.37, 0.28),CFrame.new(0, 0.011, -0.029) * CFrame.Angles(0, 0, 0),0.1) | |
4590 | end) | |
4591 | coru() | |
4592 | end | |
4593 | ||
4594 | function gunmode() | |
4595 | working = true | |
4596 | ||
4597 | working = false | |
4598 | end | |
4599 | ||
4600 | function knifemode() | |
4601 | blademode = "knife" | |
4602 | -- 6 - thicc cap | |
4603 | local obj6 = Instance.new("Part") | |
4604 | obj6.CFrame = CFrame.new(Vector3.new(202.399948, 10.5999813, 5.00099993)) * CFrame.Angles(-0, 0, 3.5017728805542e-07) | |
4605 | obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4606 | obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4607 | obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4608 | obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4609 | obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4610 | obj6.Size = Vector3.new(0.3, 0.3, 0.3) | |
4611 | obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4612 | obj6.Anchored = false | |
4613 | obj6.BrickColor = BrickColor.new("Really black") | |
4614 | obj6.Friction = 0.30000001192093 | |
4615 | obj6.Shape = Enum.PartType.Ball | |
4616 | obj6.Name = "thicc cap" | |
4617 | obj6.Parent = handle | |
4618 | local weld2 = Instance.new('Weld',obj6) | |
4619 | weld2.Part0 = obj6 | |
4620 | weld2.Part1 = handle | |
4621 | weld2.C0 = CFrame.new(0.4, 0, 0) | |
4622 | grow(weld2,obj6,Vector3.new(0.3, 0.3, 0.3),CFrame.new(-0.15, 0, 0),0.1) | |
4623 | ||
4624 | -- 8 - thicc top cap | |
4625 | local obj8 = Instance.new("Part") | |
4626 | obj8.CFrame = CFrame.new(Vector3.new(202.399963, 11.3000078, 5.00099993)) * CFrame.Angles(-0, 0, 3.5017728805542e-07) | |
4627 | obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4628 | obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4629 | obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4630 | obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4631 | obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4632 | obj8.Size = Vector3.new(0.3, 0.3, 0.3) | |
4633 | obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4634 | obj8.Anchored = false | |
4635 | obj8.BrickColor = BrickColor.new("Really black") | |
4636 | obj8.Friction = 0.30000001192093 | |
4637 | obj8.Shape = Enum.PartType.Ball | |
4638 | obj8.Name = "thicc top cap" | |
4639 | obj8.Parent = handle | |
4640 | local weld1 = Instance.new('Weld',obj8) | |
4641 | weld1.Part0 = obj8 | |
4642 | weld1.Part1 = handle | |
4643 | weld1.C0 = CFrame.new(-0.4, 0, 0) | |
4644 | grow(weld1,obj8,Vector3.new(0.3, 0.3, 0.3),CFrame.new(0.15, 0, 0),0.1) | |
4645 | -- 4 - thicc blade | |
4646 | local obj4 = Instance.new("Part") | |
4647 | obj4.CFrame = CFrame.new(Vector3.new(202.40007, 12.1600046, 5.00099707)) * CFrame.Angles(-0, 0, -0) | |
4648 | obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4649 | obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4650 | obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4651 | obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4652 | obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4653 | obj4.Material = Enum.Material.Metal | |
4654 | obj4.Size = Vector3.new(0.23, 0.1, 0.1) | |
4655 | obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4656 | obj4.Anchored = false | |
4657 | obj4.BrickColor = BrickColor.new("Dark stone grey") | |
4658 | obj4.Friction = 0.30000001192093 | |
4659 | obj4.Shape = Enum.PartType.Block | |
4660 | obj4.Name = "blade" | |
4661 | obj4.Parent = handle | |
4662 | local weld4 = Instance.new('Weld',obj4) | |
4663 | weld4.Part0 = obj4 | |
4664 | weld4.Part1 = handle | |
4665 | weld4.C0 = CFrame.new(0, -0.535, 0)*CFrame.Angles(0,0,math.rad(90)) | |
4666 | local coru=coroutine.wrap(function() | |
4667 | grow(weld4,obj4,Vector3.new(0.23, 1.19, 0.1),CFrame.new(0.5, 0, 0),0.1) | |
4668 | end) | |
4669 | coru() | |
4670 | ||
4671 | -- 5 - thicc blade | |
4672 | local obj5 = Instance.new("Part") | |
4673 | obj5.CFrame = CFrame.new(Vector3.new(202.507141, 12.1749954, 5.00158167)) * CFrame.Angles(-0, 0, -0) | |
4674 | obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4675 | obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4676 | obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4677 | obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4678 | obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4679 | obj5.Material = Enum.Material.Metal | |
4680 | obj5.Size = Vector3.new(0.100000009, 0.1, 0.0500000007) | |
4681 | obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4682 | obj5.Anchored = false | |
4683 | obj5.BrickColor = BrickColor.new("Pearl") | |
4684 | obj5.Friction = 0.30000001192093 | |
4685 | obj5.Shape = Enum.PartType.Block | |
4686 | obj5.Name = "blade" | |
4687 | obj5.Parent = handle | |
4688 | local weld5 = Instance.new('Weld',obj5) | |
4689 | weld5.Part0 = obj5 | |
4690 | weld5.Part1 = obj4 | |
4691 | weld5.C0 = CFrame.new(0.09, 0, 0)*CFrame.Angles(0,0,0) | |
4692 | grow(weld5,obj5,Vector3.new(0.1, 1.19, 0.05),CFrame.new(0, 0, 0),0.1) | |
4693 | ||
4694 | -- 3 - thicc blade | |
4695 | local obj3 = Instance.new("WedgePart") | |
4696 | obj3.CFrame = CFrame.new(Vector3.new(202.40007, 12.9000006, 5.00099707)) * CFrame.Angles(-0, -1.5707963705063, 0) | |
4697 | obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4698 | obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4699 | obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4700 | obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4701 | obj3.Material = Enum.Material.Metal | |
4702 | obj3.Size = Vector3.new(0.1, 0, 0.23) | |
4703 | obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4704 | obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4705 | obj3.Anchored = false | |
4706 | obj3.BrickColor = BrickColor.new("Dark stone grey") | |
4707 | obj3.Friction = 0.30000001192093 | |
4708 | obj3.Name = "blade" | |
4709 | obj3.Parent = handle | |
4710 | local weld6 = Instance.new('Weld',obj3) | |
4711 | weld6.Part0 = obj3 | |
4712 | weld6.Part1 = obj4 | |
4713 | weld6.C0 = CFrame.new(0, -0.595, 0)*CFrame.Angles(math.rad(0),math.rad(270),math.rad(0)) | |
4714 | local coru=coroutine.wrap(function() | |
4715 | grow(weld6,obj3,Vector3.new(0.1, 0.3, 0.23),CFrame.new(0, 0.15, 0),0.05) | |
4716 | end) | |
4717 | coru() | |
4718 | ||
4719 | -- 2 - thicc blade | |
4720 | local obj2 = Instance.new("WedgePart") | |
4721 | obj2.CFrame = CFrame.new(Vector3.new(202.423431, 12.9305696, 5.00099707)) * CFrame.Angles(-0, -1.5707963705063, 0) | |
4722 | obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
4723 | obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
4724 | obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
4725 | obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
4726 | obj2.Material = Enum.Material.Metal | |
4727 | obj2.Size = Vector3.new(0.05, 0, 0.26) | |
4728 | obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
4729 | obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
4730 | obj2.Anchored = false | |
4731 | obj2.BrickColor = BrickColor.new("Lily white") | |
4732 | obj2.Friction = 0.30000001192093 | |
4733 | obj2.Name = "blade" | |
4734 | obj2.Parent = handle | |
4735 | local weld7 = Instance.new('Weld',obj2) | |
4736 | weld7.Part0 = obj2 | |
4737 | weld7.Part1 = obj4 | |
4738 | weld7.C0 = CFrame.new(0, -0.595, 0)*CFrame.Angles(math.rad(0),math.rad(270),math.rad(0)) | |
4739 | grow(weld7,obj2,Vector3.new(0.05, 0.33, 0.24),CFrame.new(-0.02, 0.165, 0),0.05) | |
4740 | end | |
4741 | ||
4742 | function raep() | |
4743 | working = true | |
4744 | pcall(function() | |
4745 | local holyshit = Instance.new("Sound", handle) | |
4746 | holyshit.SoundId = "rbxassetid://345287845" | |
4747 | holyshit.Volume = 5 | |
4748 | holyshit:Play() | |
4749 | holyshit.TimePosition = 0.6 | |
4750 | --[[local waitwhatthefuck = Instance.new("Sound", handle) | |
4751 | waitwhatthefuck.SoundId = "rbxassetid://864314263" | |
4752 | waitwhatthefuck:Play()]]-- | |
4753 | local coru=coroutine.wrap(function() | |
4754 | wait(1.95) | |
4755 | holyshit.TimePosition = 2.8 | |
4756 | end) | |
4757 | coru() | |
4758 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
4759 | tweld.Part0 = char.HumanoidRootPart | |
4760 | tweld.Part1 = char.Torso | |
4761 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
4762 | rweld.Part0 = char["Torso"] | |
4763 | rweld.Part1 = char["Right Arm"] | |
4764 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
4765 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
4766 | lweld.Part0 = char.Torso | |
4767 | lweld.Part1 = char["Left Arm"] | |
4768 | lweld.C0 = CFrame.new(-1.5, 0, 0) | |
4769 | ||
4770 | char.Humanoid.WalkSpeed = 16 | |
4771 | ||
4772 | local cor = coroutine.wrap(function() | |
4773 | lerp(rweld,rweld.C0,CFrame.new(1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(50)),0.2) | |
4774 | end) | |
4775 | local cor2 = coroutine.wrap(function() | |
4776 | lerp(tweld,tweld.C0,CFrame.new(0, -0.25, 0) * CFrame.Angles(math.rad(-15), math.rad(-45), math.rad(0)),0.2) | |
4777 | end) | |
4778 | cor() | |
4779 | cor2() | |
4780 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, -0.35) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)),0.2) | |
4781 | ||
4782 | local particl = Instance.new("ParticleEmitter") | |
4783 | particl.LightEmission = 3 | |
4784 | particl.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 0, 255)), ColorSequenceKeypoint.new(0.25, Color3.fromRGB(248, 153, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))}) | |
4785 | particl.LightInfluence = 0.75 | |
4786 | particl.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
4787 | particl.Lifetime = NumberRange.new(0.1, 0.5) | |
4788 | particl.Rate = 50 | |
4789 | particl.RotSpeed = NumberRange.new(300, 300) | |
4790 | particl.Speed = NumberRange.new(0, 1) | |
4791 | particl.SpreadAngle = Vector2.new(90, 90) | |
4792 | particl.Parent = handle | |
4793 | ||
4794 | for i, v in pairs(handle["pink toy"]:GetChildren()) do | |
4795 | if v:IsA("Part") then | |
4796 | cooldildo = particl:Clone() | |
4797 | cooldildo.Parent = v | |
4798 | end | |
4799 | end | |
4800 | ||
4801 | particl:Remove() | |
4802 | ||
4803 | wait(1) | |
4804 | MOAN = true | |
4805 | ||
4806 | char.Humanoid.WalkSpeed = 75 | |
4807 | ||
4808 | ||
4809 | local cor = coroutine.wrap(function() | |
4810 | lerp(rweld,rweld.C0,CFrame.new(1.6, 0.5, -0.75) * CFrame.Angles(0, math.rad(55), math.rad(90)),0.06) | |
4811 | end) | |
4812 | local cor2 = coroutine.wrap(function() | |
4813 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),0.06) | |
4814 | end) | |
4815 | local cor3 = coroutine.wrap(function() | |
4816 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-90),math.rad(180)), 0.06) | |
4817 | end) | |
4818 | cor() | |
4819 | cor2() | |
4820 | cor3() | |
4821 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.06) | |
4822 | local omgg = 0 | |
4823 | repeat wait(0.05) omgg = omgg+0.05 until aidsificating ~= nil or omgg > 2 | |
4824 | holyshit:Destroy() | |
4825 | char.Humanoid.WalkSpeed = 16 | |
4826 | MOAN = false | |
4827 | if aidsificating == nil then | |
4828 | for i, v in pairs(handle["pink toy"]:GetChildren()) do | |
4829 | if v:IsA("Part") then | |
4830 | v:FindFirstChild("ParticleEmitter"):Destroy() | |
4831 | end | |
4832 | end | |
4833 | local cor = coroutine.wrap(function() | |
4834 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08) | |
4835 | end) | |
4836 | local cor2 = coroutine.wrap(function() | |
4837 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08) | |
4838 | end) | |
4839 | local cor3 = coroutine.wrap(function() | |
4840 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.08) | |
4841 | end) | |
4842 | cor() | |
4843 | cor2() | |
4844 | cor3() | |
4845 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.08) | |
4846 | ||
4847 | lweld:Remove() | |
4848 | rweld:Remove() | |
4849 | tweld:Remove() | |
4850 | ||
4851 | if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then | |
4852 | local clone = torsoclone:Clone() | |
4853 | clone.Part0 = char.HumanoidRootPart | |
4854 | clone.Part1 = char.Torso | |
4855 | clone.Parent = char.HumanoidRootPart | |
4856 | end | |
4857 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
4858 | local clone = leftclone:Clone() | |
4859 | clone.Part0 = char.Torso | |
4860 | clone.Part1 = char["Left Arm"] | |
4861 | clone.Parent = char.Torso | |
4862 | end | |
4863 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
4864 | local clone = rightclone:Clone() | |
4865 | clone.Part0 = char.Torso | |
4866 | clone.Part1 = char["Right Arm"] | |
4867 | clone.Parent = char.Torso | |
4868 | end | |
4869 | else | |
4870 | pcall(function() | |
4871 | aidsificating.HumanoidRootPart:Destroy() | |
4872 | end) | |
4873 | pcall(function() | |
4874 | ragdollpart(aidsificating,"Right Arm") | |
4875 | ragdollpart(aidsificating,"Right Leg") | |
4876 | ragdollpart(aidsificating,"Left Arm") | |
4877 | ragdollpart(aidsificating,"Left Leg") | |
4878 | end) | |
4879 | pcall(function() | |
4880 | ragdollpart(aidsificating,"RightUpperArm") | |
4881 | ragdollpart(aidsificating,"RightUpperLeg") | |
4882 | ragdollpart(aidsificating,"LeftUpperArm") | |
4883 | ragdollpart(aidsificating,"LeftUpperLeg") | |
4884 | end) | |
4885 | pcall(function() | |
4886 | local weld = Instance.new('Weld',aidsificating.Torso) | |
4887 | weld.Part0 = aidsificating.Torso | |
4888 | weld.Part1 = handle | |
4889 | weld.C0 = CFrame.new(0.2,-2.5,2)*CFrame.Angles(math.rad(135),0,math.rad(-90)) | |
4890 | for i,v in pairs(handle["pink toy"]:GetChildren()) do | |
4891 | if v:IsA('BasePart') and v.Name == "stretchlol" then | |
4892 | v.BrickColor = aidsificating.Torso.BrickColor | |
4893 | v.Transparency = 0 | |
4894 | end | |
4895 | end | |
4896 | end) | |
4897 | pcall(function() | |
4898 | local weld = Instance.new('Weld',aidsificating.UpperTorso) | |
4899 | weld.Part0 = aidsificating.UpperTorso | |
4900 | weld.Part1 = handle | |
4901 | weld.C0 = CFrame.new(0.2,-2.5,2)*CFrame.Angles(math.rad(135),0,math.rad(-90)) | |
4902 | for i,v in pairs(handle["pink toy"]:GetChildren()) do | |
4903 | if v:IsA('BasePart') and v.Name == "stretchlol" then | |
4904 | v.BrickColor = aidsificating.UpperTorso.BrickColor | |
4905 | v.Transparency = 0 | |
4906 | end | |
4907 | end | |
4908 | end) | |
4909 | lerp(rweld,rweld.C0,CFrame.new(1.6, 1, -0.5) * CFrame.Angles(0, math.rad(55), math.rad(145)),0.06) | |
4910 | wait(2) | |
4911 | for i,v in pairs(aidsificating:GetDescendants()) do | |
4912 | if v:IsA('Weld') then v:Destroy() end | |
4913 | end | |
4914 | pcall(function() | |
4915 | ragdollpart(aidsificating,"Head") | |
4916 | end) | |
4917 | pcall(function() | |
4918 | local thang = "Torso" | |
4919 | if aidsificating:FindFirstChild('UpperTorso') then | |
4920 | thang = "UpperTorso" | |
4921 | end | |
4922 | local ayybleed = Instance.new('Part',aidsificating) | |
4923 | ayybleed.Size = Vector3.new(0.2,0.2,0.2) | |
4924 | ayybleed.BrickColor = BrickColor.new('Maroon') | |
4925 | ayybleed.Material = Enum.Material.SmoothPlastic | |
4926 | ayybleed.Name = "ayybleed" | |
4927 | ayybleed.CanCollide = false | |
4928 | ayybleed.Transparency = 1 | |
4929 | ayybleed.CFrame = aidsificating[thang].CFrame | |
4930 | ayybleed:BreakJoints() | |
4931 | local attachment1 = Instance.new('Attachment',ayybleed) | |
4932 | attachment1.Position = Vector3.new(0,-1,0) | |
4933 | attachment1.Orientation = Vector3.new(180, 0, 0) | |
4934 | local attachment0 = Instance.new('Attachment',aidsificating[thang]) | |
4935 | if attachment0 and attachment1 then | |
4936 | local constraint = Instance.new("HingeConstraint") | |
4937 | constraint.Attachment0 = attachment0 | |
4938 | constraint.Attachment1 = attachment1 | |
4939 | constraint.LimitsEnabled = true | |
4940 | constraint.UpperAngle = 0 | |
4941 | constraint.LowerAngle = 0 | |
4942 | constraint.Parent = aidsificating | |
4943 | end | |
4944 | local bleedBLEED= coroutine.wrap(function() | |
4945 | bleed(ayybleed,true) | |
4946 | end) | |
4947 | bleedBLEED() | |
4948 | end) | |
4949 | aidsificating = nil | |
4950 | pcall(function() | |
4951 | for i,v in pairs(handle["pink toy"]:GetChildren()) do | |
4952 | if v:IsA('BasePart') and v.Name == "stretchlol" then | |
4953 | v.Transparency = 1 | |
4954 | end | |
4955 | end | |
4956 | end) | |
4957 | local cor = coroutine.wrap(function() | |
4958 | lerp(rweld,rweld.C0,CFrame.new(1.6, -0.25, 0.75) * CFrame.Angles(0, math.rad(55), math.rad(145)),0.04) | |
4959 | end) | |
4960 | local cor2 = coroutine.wrap(function() | |
4961 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.04) | |
4962 | end) | |
4963 | cor() | |
4964 | cor2() | |
4965 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.04) | |
4966 | wait(0.1) | |
4967 | local cor = coroutine.wrap(function() | |
4968 | lerp(rweld,rweld.C0,CFrame.new(1.6, -0.5, 1) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
4969 | end) | |
4970 | local cor2 = coroutine.wrap(function() | |
4971 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.08) | |
4972 | end) | |
4973 | local cor3 = coroutine.wrap(function() | |
4974 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.08) | |
4975 | end) | |
4976 | cor() | |
4977 | cor2() | |
4978 | cor3() | |
4979 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08) | |
4980 | ||
4981 | lweld:Remove() | |
4982 | rweld:Remove() | |
4983 | tweld:Remove() | |
4984 | ||
4985 | if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then | |
4986 | local clone = torsoclone:Clone() | |
4987 | clone.Part0 = char.HumanoidRootPart | |
4988 | clone.Part1 = char.Torso | |
4989 | clone.Parent = char.HumanoidRootPart | |
4990 | end | |
4991 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
4992 | local clone = leftclone:Clone() | |
4993 | clone.Part0 = char.Torso | |
4994 | clone.Part1 = char["Left Arm"] | |
4995 | clone.Parent = char.Torso | |
4996 | end | |
4997 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
4998 | local clone = rightclone:Clone() | |
4999 | clone.Part0 = char.Torso | |
5000 | clone.Part1 = char["Right Arm"] | |
5001 | clone.Parent = char.Torso | |
5002 | end | |
5003 | end | |
5004 | end) | |
5005 | working = false | |
5006 | end | |
5007 | ||
5008 | function katanaQ() | |
5009 | working = true | |
5010 | swinging = true | |
5011 | gettingeem = true | |
5012 | pcall(function() | |
5013 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
5014 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
5015 | pcall(function() | |
5016 | rweld.Part0 = char["Torso"] | |
5017 | rweld.Part1 = char["Right Arm"] | |
5018 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
5019 | tweld.Part0 = char.HumanoidRootPart | |
5020 | tweld.Part1 = char.Torso | |
5021 | end) | |
5022 | ||
5023 | char:FindFirstChildOfClass('Humanoid').WalkSpeed = 100 | |
5024 | ||
5025 | local at1 = Instance.new("Attachment", handle) | |
5026 | local at2 = Instance.new("Attachment", handle) | |
5027 | at1.Visible = false | |
5028 | at1.Position = Vector3.new(5, 0, 0) | |
5029 | at2.Visible = false | |
5030 | at2.Position = Vector3.new(1, 0, 0) | |
5031 | ||
5032 | local trail = Instance.new("Trail", handle) | |
5033 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
5034 | trail.LightEmission = 0.25 | |
5035 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)}) | |
5036 | trail.Lifetime = 0.10 | |
5037 | trail.MinLength = 0.05 | |
5038 | trail.Attachment0 = at1 | |
5039 | trail.Attachment1 = at2 | |
5040 | local coru=coroutine.wrap(function() | |
5041 | lerp(rweld,rweld.C0,CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(90), math.rad(90)),0.08) | |
5042 | end) | |
5043 | coru() | |
5044 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-90),math.rad(180)), 0.08) | |
5045 | local ree=0 | |
5046 | while goteem == nil and ree < 1 do | |
5047 | wait(0.05) | |
5048 | ree=ree+0.05 | |
5049 | end | |
5050 | char:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
5051 | gettingeem = false | |
5052 | swinging = false | |
5053 | if goteem then | |
5054 | wait(2) | |
5055 | pcall(function() | |
5056 | local sounn = Instance.new("Sound", goteem.Torso) | |
5057 | local lipp = math.random(1, 3) | |
5058 | if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end | |
5059 | if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end | |
5060 | if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end | |
5061 | sounn:Play() | |
5062 | end) | |
5063 | ragdollpart(goteem,"Head") | |
5064 | for i,v in pairs(goteem:GetDescendants()) do | |
5065 | if v:IsA('Weld') then v:Destroy() end | |
5066 | end | |
5067 | goteem = nil | |
5068 | end | |
5069 | trail:Destroy() | |
5070 | at1:Destroy() | |
5071 | at2:Destroy() | |
5072 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.05) | |
5073 | local cor = coroutine.wrap(function() | |
5074 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
5075 | end) | |
5076 | cor() | |
5077 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
5078 | rweld:Destroy() | |
5079 | tweld:Destroy() | |
5080 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
5081 | local clone = rightclone:Clone() | |
5082 | clone.Part0 = char.Torso | |
5083 | clone.Part1 = char["Right Arm"] | |
5084 | clone.Parent = char.Torso | |
5085 | end | |
5086 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
5087 | local clone = torsoclone:Clone() | |
5088 | clone.Part0 = char.HumanoidRootPart | |
5089 | clone.Part1 = char.Torso | |
5090 | clone.Parent = char.HumanoidRootPart | |
5091 | end | |
5092 | end) | |
5093 | swinging = false | |
5094 | gettingeem = false | |
5095 | working = false | |
5096 | end | |
5097 | local function katanaE() | |
5098 | working = true | |
5099 | swinging = true | |
5100 | SLESH = true | |
5101 | pcall(function() | |
5102 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
5103 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
5104 | rweld.Part0 = char["Torso"] | |
5105 | rweld.Part1 = char["Right Arm"] | |
5106 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
5107 | tweld.Part0 = char.HumanoidRootPart | |
5108 | tweld.Part1 = char.Torso | |
5109 | ||
5110 | char:FindFirstChildOfClass('Humanoid').WalkSpeed = 100 | |
5111 | ||
5112 | local at1 = Instance.new("Attachment", handle) | |
5113 | local at2 = Instance.new("Attachment", handle) | |
5114 | at1.Visible = false | |
5115 | at1.Position = Vector3.new(5, 0, 0) | |
5116 | at2.Visible = false | |
5117 | at2.Position = Vector3.new(1, 0, 0) | |
5118 | ||
5119 | local trail = Instance.new("Trail", handle) | |
5120 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
5121 | trail.LightEmission = 0.25 | |
5122 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)}) | |
5123 | trail.Lifetime = 0.10 | |
5124 | trail.MinLength = 0.05 | |
5125 | trail.Attachment0 = at1 | |
5126 | trail.Attachment1 = at2 | |
5127 | local coru=coroutine.wrap(function() | |
5128 | lerp(rweld,rweld.C0,CFrame.new(2, 1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(60)),0.08) | |
5129 | end) | |
5130 | coru() | |
5131 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-270),math.rad(0)), 0.08) | |
5132 | ||
5133 | wait(1) | |
5134 | char:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
5135 | trail:Destroy() | |
5136 | at1:Destroy() | |
5137 | at2:Destroy() | |
5138 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.05) | |
5139 | local cor = coroutine.wrap(function() | |
5140 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
5141 | end) | |
5142 | cor() | |
5143 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
5144 | rweld:Destroy() | |
5145 | tweld:Destroy() | |
5146 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
5147 | local clone = rightclone:Clone() | |
5148 | clone.Part0 = char.Torso | |
5149 | clone.Part1 = char["Right Arm"] | |
5150 | clone.Parent = char.Torso | |
5151 | end | |
5152 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
5153 | local clone = torsoclone:Clone() | |
5154 | clone.Part0 = char.HumanoidRootPart | |
5155 | clone.Part1 = char.Torso | |
5156 | clone.Parent = char.HumanoidRootPart | |
5157 | end | |
5158 | end) | |
5159 | swinging = false | |
5160 | SLESH = false | |
5161 | working = false | |
5162 | end | |
5163 | ||
5164 | function begoneTHOUGHT() | |
5165 | working = true | |
5166 | pcall(function() | |
5167 | local thott = Instance.new("Sound", char) | |
5168 | thott.SoundId = "rbxassetid://949916584" | |
5169 | thott.Volume = 1 | |
5170 | thott.TimePosition = 0.5 | |
5171 | thott.PlaybackSpeed = 1 | |
5172 | thott.EmitterSize = player.CameraMaxZoomDistance+1 | |
5173 | thott.MaxDistance = player.CameraMaxZoomDistance+1 | |
5174 | thott:Play() | |
5175 | ||
5176 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
5177 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
5178 | rweld.Part0 = char["Torso"] | |
5179 | rweld.Part1 = char["Right Arm"] | |
5180 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
5181 | tweld.Part0 = char.HumanoidRootPart | |
5182 | tweld.Part1 = char.Torso | |
5183 | ||
5184 | local coru=coroutine.wrap(function() | |
5185 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)),0.25) | |
5186 | end) | |
5187 | coru() | |
5188 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)), 0.25) | |
5189 | ||
5190 | wait(0.5) | |
5191 | local thote = Instance.new("Sound", char.Head) | |
5192 | thote.SoundId = "rbxassetid://358498516" | |
5193 | thote.Volume = 1 | |
5194 | thote:Play() | |
5195 | ||
5196 | ||
5197 | ||
5198 | local coru=coroutine.wrap(function() | |
5199 | lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)),0.04) | |
5200 | end) | |
5201 | coru() | |
5202 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.04) | |
5203 | wait(0.04) | |
5204 | local ree = Instance.new('Part',workspace) | |
5205 | ree.Shape = Enum.PartType.Cylinder | |
5206 | ree.CanCollide = false | |
5207 | ree.Anchored = false | |
5208 | ree.Size = Vector3.new(0.5,2,2) | |
5209 | ree.TopSurface = Enum.SurfaceType.Smooth | |
5210 | ree.BottomSurface = Enum.SurfaceType.Smooth | |
5211 | ree.Transparency = 0.8 | |
5212 | ree.Material =Enum.Material.Neon | |
5213 | ree.BrickColor = BrickColor.new('Toothpaste') | |
5214 | ree.CFrame = handle.CFrame*CFrame.Angles(0,0,math.rad(90)) | |
5215 | ree:BreakJoints() | |
5216 | local reee = Instance.new("Sound", ree) | |
5217 | reee.SoundId = "rbxassetid://138677306" | |
5218 | reee:Play() | |
5219 | local heck = Instance.new('BodyVelocity',ree) | |
5220 | heck.Velocity = ree.CFrame.rightVector*50 | |
5221 | heck.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
5222 | local coru=coroutine.wrap(function() | |
5223 | for i=1,21 do | |
5224 | local cf = ree.CFrame | |
5225 | ree.Size = ree.Size+Vector3.new(0,2,2) | |
5226 | ree.CFrame = cf | |
5227 | wait() | |
5228 | end | |
5229 | for i=1,4 do | |
5230 | local cf = ree.CFrame | |
5231 | ree.Size = ree.Size+Vector3.new(0,2,2) | |
5232 | ree.CFrame = cf | |
5233 | ree.Transparency = ree.Transparency + 0.05 | |
5234 | wait() | |
5235 | end | |
5236 | ree:Destroy() | |
5237 | end) | |
5238 | coru() | |
5239 | ree.Touched:connect(function(hit) | |
5240 | if hit.Parent and hit.Parent ~= char and hit.Parent:FindFirstChildOfClass('Humanoid') then | |
5241 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 100 | |
5242 | ragdollpart(hit.Parent,"Head") | |
5243 | end | |
5244 | end) | |
5245 | wait(0.5) | |
5246 | local coru=coroutine.wrap(function() | |
5247 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.8) | |
5248 | end) | |
5249 | coru() | |
5250 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8) | |
5251 | ||
5252 | rweld:Destroy() | |
5253 | tweld:Destroy() | |
5254 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
5255 | local clone = rightclone:Clone() | |
5256 | clone.Part0 = char.Torso | |
5257 | clone.Part1 = char["Right Arm"] | |
5258 | clone.Parent = char.Torso | |
5259 | end | |
5260 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
5261 | local clone = torsoclone:Clone() | |
5262 | clone.Part0 = char.HumanoidRootPart | |
5263 | clone.Part1 = char.Torso | |
5264 | clone.Parent = char.HumanoidRootPart | |
5265 | end | |
5266 | end) | |
5267 | working = false | |
5268 | end | |
5269 | ||
5270 | function katanaswing() | |
5271 | working = true | |
5272 | pcall(function() | |
5273 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
5274 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
5275 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
5276 | rweld.Part0 = char["Torso"] | |
5277 | rweld.Part1 = char["Right Arm"] | |
5278 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
5279 | lweld.Part0 = char.Torso | |
5280 | lweld.Part1 = char["Left Arm"] | |
5281 | lweld.C0 = CFrame.new(-1.5, 0, 0) | |
5282 | tweld.Part0 = char.HumanoidRootPart | |
5283 | tweld.Part1 = char.Torso | |
5284 | ||
5285 | local cor = coroutine.wrap(function() | |
5286 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), 0),0.08) | |
5287 | end) | |
5288 | cor() | |
5289 | lerp(rweld,rweld.C0,CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(110), math.rad(90)),0.08) | |
5290 | wait(0.2) | |
5291 | local at1 = Instance.new("Attachment", handle) | |
5292 | local at2 = Instance.new("Attachment", handle) | |
5293 | at1.Visible = false | |
5294 | at1.Position = Vector3.new(5, 0, 0) | |
5295 | at2.Visible = false | |
5296 | at2.Position = Vector3.new(1, 0, 0) | |
5297 | ||
5298 | local trail = Instance.new("Trail", handle) | |
5299 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, trail.Parent.Color), ColorSequenceKeypoint.new(1, trail.Parent.Color)}) | |
5300 | trail.LightEmission = 0.25 | |
5301 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)}) | |
5302 | trail.Lifetime = 0.10 | |
5303 | trail.MinLength = 0.05 | |
5304 | trail.Attachment0 = at1 | |
5305 | trail.Attachment1 = at2 | |
5306 | ||
5307 | swinging = true | |
5308 | ||
5309 | local cor = coroutine.wrap(function() | |
5310 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), 0),0.04) | |
5311 | end) | |
5312 | cor() | |
5313 | lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.04) | |
5314 | wait(0.2) | |
5315 | swinging = false | |
5316 | trail:Destroy() | |
5317 | at1:Destroy() | |
5318 | at2:Destroy() | |
5319 | local cor = coroutine.wrap(function() | |
5320 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
5321 | end) | |
5322 | cor() | |
5323 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
5324 | rweld:Destroy() | |
5325 | lweld:Destroy() | |
5326 | tweld:Destroy() | |
5327 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
5328 | local clone = rightclone:Clone() | |
5329 | clone.Part0 = char.Torso | |
5330 | clone.Part1 = char["Right Arm"] | |
5331 | clone.Parent = char.Torso | |
5332 | end | |
5333 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
5334 | local clone = leftclone:Clone() | |
5335 | clone.Part0 = char.Torso | |
5336 | clone.Part1 = char["Left Arm"] | |
5337 | clone.Parent = char.Torso | |
5338 | end | |
5339 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
5340 | local clone = torsoclone:Clone() | |
5341 | clone.Part0 = char.HumanoidRootPart | |
5342 | clone.Part1 = char.Torso | |
5343 | clone.Parent = char.HumanoidRootPart | |
5344 | end | |
5345 | end) | |
5346 | working = false | |
5347 | end | |
5348 | ||
5349 | function throw() | |
5350 | working = true | |
5351 | pcall(function() | |
5352 | local rweld = char["Right Arm"]:FindFirstChild("Weld") | |
5353 | local lweld = char["Left Arm"]:FindFirstChild("Weld") | |
5354 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
5355 | tweld.Part0 = char.HumanoidRootPart | |
5356 | tweld.Part1 = char.Torso | |
5357 | local throwsound = Instance.new("Sound", char.Head) | |
5358 | throwsound.SoundId = "rbxassetid://711753382" | |
5359 | throwsound.PlaybackSpeed = 0.75 | |
5360 | ||
5361 | local cor = coroutine.wrap(function() | |
5362 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-30), 0),0.04) | |
5363 | end) | |
5364 | local cor2 = coroutine.wrap(function() | |
5365 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-30), math.rad(15)),0.04) | |
5366 | end) | |
5367 | cor() | |
5368 | cor2() | |
5369 | grabweld:Remove() | |
5370 | throwsound:Play() | |
5371 | ||
5372 | local throwvel = Instance.new("BodyThrust") | |
5373 | throwvel.Force = Vector3.new(0, 3000, -2000) | |
5374 | pcall(function() | |
5375 | throwvel.Parent = grabbed.Torso | |
5376 | end) | |
5377 | pcall(function() | |
5378 | throwvel.Parent = grabbed.UpperTorso | |
5379 | end) | |
5380 | ||
5381 | lerp(lweld,lweld.C0,CFrame.new(-1.3, 0.7, -1) * CFrame.Angles(0, math.rad(-70), math.rad(-105)),0.04) | |
5382 | wait(0.15) | |
5383 | throwvel:Remove() | |
5384 | local cor = coroutine.wrap(function() | |
5385 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
5386 | end) | |
5387 | local cor2 = coroutine.wrap(function() | |
5388 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
5389 | end) | |
5390 | cor() | |
5391 | cor2() | |
5392 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
5393 | lweld:Remove() | |
5394 | rweld:Remove() | |
5395 | tweld:Remove() | |
5396 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
5397 | local clone = rightclone:Clone() | |
5398 | clone.Part0 = char.Torso | |
5399 | clone.Part1 = char["Right Arm"] | |
5400 | clone.Parent = char.Torso | |
5401 | end | |
5402 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
5403 | local clone = leftclone:Clone() | |
5404 | clone.Part0 = char.Torso | |
5405 | clone.Part1 = char["Left Arm"] | |
5406 | clone.Parent = char.Torso | |
5407 | end | |
5408 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
5409 | local clone = torsoclone:Clone() | |
5410 | clone.Part0 = char.HumanoidRootPart | |
5411 | clone.Part1 = char.Torso | |
5412 | clone.Parent = char.HumanoidRootPart | |
5413 | end | |
5414 | local lolgrabbed = grabbed | |
5415 | spawn(function() | |
5416 | wait(2) | |
5417 | unstun(lolgrabbed) | |
5418 | end) | |
5419 | end) | |
5420 | grabbed = nil | |
5421 | working = false | |
5422 | end | |
5423 | ||
5424 | function whoosh(vroom) | |
5425 | vroom.Parent = workspace | |
5426 | vroom.Name = "Projectile" | |
5427 | vroom.CFrame = CFrame.new(char.Head.CFrame.p,mouse.Hit.p)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)) | |
5428 | vroom.Anchored = true | |
5429 | vroom.Velocity = Vector3.new(0,0,0) | |
5430 | vroom.RotVelocity = Vector3.new(0,0,0) | |
5431 | vroom.Anchored = false | |
5432 | game:GetService('Debris'):AddItem(vroom,10) | |
5433 | local flyy = Instance.new('BodyVelocity',vroom) | |
5434 | flyy.Velocity = vroom.CFrame.rightVector*200 | |
5435 | local touched = false | |
5436 | for i,v in pairs(vroom:GetChildren()) do | |
5437 | if v:IsA('BasePart') then | |
5438 | v.Touched:connect(function(hit) | |
5439 | local pos = vroom.CFrame | |
5440 | if touched == false then | |
5441 | if hit and hit.Parent and hit.Transparency ~= 1 and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent~= char then | |
5442 | touched = true | |
5443 | local before = hit.Anchored | |
5444 | vroom.Anchored = true | |
5445 | vroom.Velocity = Vector3.new(0,0,0) | |
5446 | vroom.RotVelocity = Vector3.new(0,0,0) | |
5447 | vroom.CFrame = vroom.CFrame-(vroom.CFrame.rightVector) | |
5448 | hit.Anchored = true | |
5449 | flyy:Destroy() | |
5450 | pcall(function() | |
5451 | local weld = Instance.new('Weld',hit) | |
5452 | weld.Part0 = hit | |
5453 | weld.Part1 = vroom | |
5454 | weld.C0 = hit.CFrame:toObjectSpace(vroom.CFrame) | |
5455 | local ayybleed = Instance.new('Part',hit) | |
5456 | ayybleed.Size = Vector3.new(0.2,0.2,0.2) | |
5457 | ayybleed.BrickColor = BrickColor.new('Maroon') | |
5458 | ayybleed.Material = Enum.Material.SmoothPlastic | |
5459 | ayybleed.Name = "ayybleed" | |
5460 | ayybleed.CanCollide = false | |
5461 | ayybleed.Transparency = 1 | |
5462 | ayybleed.CFrame = hit.CFrame | |
5463 | ayybleed:BreakJoints() | |
5464 | local attachment1 = Instance.new('Attachment',ayybleed) | |
5465 | local attachment0 = Instance.new('Attachment',hit) | |
5466 | for i,v in pairs(vroom:GetChildren()) do | |
5467 | if v.Name == "blade" and v.Size == Vector3.new(0.23, 1.19, 0.1) then | |
5468 | v.Name = "REEEE" | |
5469 | end | |
5470 | end | |
5471 | attachment1.Orientation = vroom["REEEE"].Orientation+Vector3.new(90,0,0) | |
5472 | attachment0.Position = hit.CFrame:toObjectSpace(vroom["REEEE"].CFrame).p-(hit.CFrame:toObjectSpace(vroom["REEEE"].CFrame).upVector) | |
5473 | if attachment0 and attachment1 then | |
5474 | local constraint = Instance.new("HingeConstraint") | |
5475 | constraint.Attachment0 = attachment0 | |
5476 | constraint.Attachment1 = attachment1 | |
5477 | constraint.LimitsEnabled = true | |
5478 | constraint.UpperAngle = 0 | |
5479 | constraint.LowerAngle = 0 | |
5480 | constraint.Parent = attachment0 | |
5481 | end | |
5482 | local bleedBLEED= coroutine.wrap(function() | |
5483 | bleed(ayybleed) | |
5484 | end) | |
5485 | bleedBLEED() | |
5486 | if hit.Name ~= "Head" and hit.Name ~= "UpperTorso" and hit.Name ~= "Torso" and hit.Name ~= "LowerTorso" then | |
5487 | game:GetService('Debris'):AddItem(ayybleed,7.5) | |
5488 | end | |
5489 | end) | |
5490 | hit.Anchored = before | |
5491 | vroom.Anchored = false | |
5492 | vroom.CanCollide = true | |
5493 | pcall(function() | |
5494 | vroom:FindFirstChildOfClass('Trail'):Destroy() | |
5495 | end) | |
5496 | for i,v in pairs(vroom:GetChildren()) do | |
5497 | if v:IsA('BasePart') then | |
5498 | v.CanCollide = true | |
5499 | end | |
5500 | end | |
5501 | if hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Torso" or hit.Name == "LowerTorso" then | |
5502 | pcall(function() | |
5503 | hit.Parent.HumanoidRootPart:Destroy() | |
5504 | end) | |
5505 | pcall(function() | |
5506 | ragdollpart(hit.Parent,"Left Arm") | |
5507 | ragdollpart(hit.Parent,"Left Leg") | |
5508 | ragdollpart(hit.Parent,"Right Arm") | |
5509 | ragdollpart(hit.Parent,"Right Leg") | |
5510 | end) | |
5511 | pcall(function() | |
5512 | ragdollpart(hit.Parent,"LeftUpperLeg") | |
5513 | ragdollpart(hit.Parent,"RightUpperLeg") | |
5514 | ragdollpart(hit.Parent,"LeftUpperArm") | |
5515 | ragdollpart(hit.Parent,"RightUpperArm") | |
5516 | end) | |
5517 | spawn(function() | |
5518 | wait(5) | |
5519 | ragdollpart(hit.Parent,"Head") | |
5520 | end) | |
5521 | else | |
5522 | pcall(function() | |
5523 | ragdollpart(hit.Parent,hit.Name) | |
5524 | end) | |
5525 | end | |
5526 | elseif hit and hit.CanCollide == true and hit.Parent and hit.Parent ~= char then | |
5527 | touched = true | |
5528 | local before = hit.Anchored | |
5529 | vroom.Anchored = true | |
5530 | vroom.Velocity = Vector3.new(0,0,0) | |
5531 | vroom.RotVelocity = Vector3.new(0,0,0) | |
5532 | hit.Anchored = true | |
5533 | flyy:Destroy() | |
5534 | vroom.CFrame = vroom.CFrame-vroom.CFrame.rightVector | |
5535 | pcall(function() | |
5536 | local weld = Instance.new('Weld',hit) | |
5537 | weld.Part0 = hit | |
5538 | weld.Part1 = vroom | |
5539 | weld.C0 = hit.CFrame:toObjectSpace(vroom.CFrame) | |
5540 | end) | |
5541 | pcall(function() | |
5542 | vroom:FindFirstChildOfClass('Trail'):Destroy() | |
5543 | end) | |
5544 | hit.Anchored = before | |
5545 | vroom.Anchored = false | |
5546 | end | |
5547 | end | |
5548 | end) | |
5549 | end | |
5550 | end | |
5551 | end | |
5552 | ||
5553 | function fling() | |
5554 | working = true | |
5555 | pcall(function() | |
5556 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
5557 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
5558 | rweld.Part0 = char["Torso"] | |
5559 | rweld.Part1 = char["Right Arm"] | |
5560 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
5561 | lweld.Part0 = char.Torso | |
5562 | lweld.Part1 = char["Left Arm"] | |
5563 | lweld.C0 = CFrame.new(-1.5, 0, 0) | |
5564 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
5565 | tweld.Part0 = char.HumanoidRootPart | |
5566 | tweld.Part1 = char.Torso | |
5567 | ||
5568 | local at1 = Instance.new("Attachment", handle) | |
5569 | local at2 = Instance.new("Attachment", handle) | |
5570 | at1.Visible = false | |
5571 | at1.Position = Vector3.new(2, 0, 0) | |
5572 | at2.Visible = false | |
5573 | at2.Position = Vector3.new(-0.3, 0, 0) | |
5574 | ||
5575 | local trail = Instance.new("Trail", handle) | |
5576 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
5577 | trail.LightEmission = 0.25 | |
5578 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)}) | |
5579 | trail.Lifetime = 0.10 | |
5580 | trail.MinLength = 0.05 | |
5581 | trail.Attachment0 = at1 | |
5582 | trail.Attachment1 = at2 | |
5583 | ||
5584 | local cor = coroutine.wrap(function() | |
5585 | lerp(rweld,rweld.C0,CFrame.new(1.75, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(45)),0.07) | |
5586 | end) | |
5587 | cor() | |
5588 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, -0.5) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.07) | |
5589 | ||
5590 | local cor = coroutine.wrap(function() | |
5591 | lerp(rweld,rweld.C0,CFrame.new(1.75, 1, 0.25) * CFrame.Angles(math.rad(35), math.rad(0), math.rad(150)),0.07) | |
5592 | end) | |
5593 | local cor2 = coroutine.wrap(function() | |
5594 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), math.rad(0)),0.07) | |
5595 | end) | |
5596 | local cor3 = coroutine.wrap(function() | |
5597 | lerp(hweld,hweld.C0,CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90),math.rad(90), 0),0.12) | |
5598 | end) | |
5599 | cor() | |
5600 | cor2() | |
5601 | cor3() | |
5602 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0.5, -0.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45)),0.07) | |
5603 | wait(0.2) | |
5604 | ||
5605 | local cor = coroutine.wrap(function() | |
5606 | lerp(rweld,rweld.C0,CFrame.new(1.5, 1, 0.25) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(170)),0.03) | |
5607 | end) | |
5608 | local cor2 = coroutine.wrap(function() | |
5609 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.03) | |
5610 | end) | |
5611 | cor() | |
5612 | cor2() | |
5613 | lerp(lweld,lweld.C0,CFrame.new(-1, 0, -0.45) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(45)),0.03) | |
5614 | ||
5615 | local cor = coroutine.wrap(function() | |
5616 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(90)),0.03) | |
5617 | end) | |
5618 | local cor2 = coroutine.wrap(function() | |
5619 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), math.rad(0)),0.01) | |
5620 | end) | |
5621 | cor() | |
5622 | cor2() | |
5623 | whoosh(handle:Clone()) | |
5624 | for i, v in pairs(handle:GetChildren()) do | |
5625 | if v:IsA("Part") then | |
5626 | v.Transparency = 1 | |
5627 | end | |
5628 | end | |
5629 | handle.Transparency = 1 | |
5630 | trail:Remove() | |
5631 | at1:Remove() | |
5632 | at2:Remove() | |
5633 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.01) | |
5634 | local cor = coroutine.wrap(function() | |
5635 | lerp(rweld,rweld.C0,CFrame.new(0.5, 0.4, -1) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(75)),0.04) | |
5636 | end) | |
5637 | local cor2 = coroutine.wrap(function() | |
5638 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(55), math.rad(0)),0.04) | |
5639 | end) | |
5640 | cor() | |
5641 | cor2() | |
5642 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.04) | |
5643 | wait(0.2) | |
5644 | ||
5645 | local cor = coroutine.wrap(function() | |
5646 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.07) | |
5647 | end) | |
5648 | local cor2 = coroutine.wrap(function() | |
5649 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.07) | |
5650 | end) | |
5651 | cor() | |
5652 | cor2() | |
5653 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.07) | |
5654 | ||
5655 | for i, v in pairs(handle:GetChildren()) do | |
5656 | if v:IsA("Part") then | |
5657 | v.Transparency = 0 | |
5658 | end | |
5659 | end | |
5660 | handle.Transparency = 0 | |
5661 | hweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0) | |
5662 | ||
5663 | lweld:Remove() | |
5664 | rweld:Remove() | |
5665 | tweld:Remove() | |
5666 | ||
5667 | if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then | |
5668 | local clone = torsoclone:Clone() | |
5669 | clone.Part0 = char.HumanoidRootPart | |
5670 | clone.Part1 = char.Torso | |
5671 | clone.Parent = char.HumanoidRootPart | |
5672 | end | |
5673 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
5674 | local clone = leftclone:Clone() | |
5675 | clone.Part0 = char.Torso | |
5676 | clone.Part1 = char["Left Arm"] | |
5677 | clone.Parent = char.Torso | |
5678 | end | |
5679 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
5680 | local clone = rightclone:Clone() | |
5681 | clone.Part0 = char.Torso | |
5682 | clone.Part1 = char["Right Arm"] | |
5683 | clone.Parent = char.Torso | |
5684 | end | |
5685 | end) | |
5686 | working = false | |
5687 | end | |
5688 | ||
5689 | function kill() | |
5690 | working = true | |
5691 | pcall(function() | |
5692 | local rweld = char["Right Arm"]:FindFirstChild("Weld") | |
5693 | local lweld = char["Left Arm"]:FindFirstChild("Weld") | |
5694 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
5695 | tweld.Part0 = char.HumanoidRootPart | |
5696 | tweld.Part1 = char.Torso | |
5697 | local killsound = Instance.new("Sound", grabbed.Head) | |
5698 | killsound.SoundId = "rbxassetid://150315649" | |
5699 | killsound.PlaybackSpeed = 1.2 | |
5700 | local killsoundac = Instance.new("Sound", grabbed.Head) | |
5701 | killsoundac.SoundId = "rbxassetid://162194585" | |
5702 | killsoundac.PlaybackSpeed = 1 | |
5703 | killsoundac.Volume = 1 | |
5704 | local throwsound = Instance.new("Sound", char.Head) | |
5705 | throwsound.SoundId = "rbxassetid://711753382" | |
5706 | throwsound.PlaybackSpeed = 0.75 | |
5707 | local chokesound = Instance.new("Sound", grabbed.Head) | |
5708 | chokesound.SoundId = "rbxassetid://418658161" | |
5709 | chokesound.TimePosition = 3 | |
5710 | chokesound.PlaybackSpeed = 1 | |
5711 | local bleedsound = Instance.new("Sound", grabbed.Head) | |
5712 | bleedsound.SoundId = "rbxassetid://244502094" | |
5713 | bleedsound.PlaybackSpeed = 1.5 | |
5714 | bleedsound.Volume = 1 | |
5715 | ||
5716 | pitchun = math.random(9, 12)/10 | |
5717 | pitchdos = math.random(9, 13)/10 | |
5718 | ||
5719 | killsound.PlaybackSpeed = pitchun | |
5720 | killsoundac.PlaybackSpeed = pitchdos | |
5721 | chokesound.PlaybackSpeed = pitchun | |
5722 | ||
5723 | pcall(function() | |
5724 | grabbed.HumanoidRootPart:Destroy() | |
5725 | end) | |
5726 | ||
5727 | lerp(rweld,rweld.C0,CFrame.new(0.5, 0.7, -0.70) * CFrame.Angles(0, math.rad(100), math.rad(105)),0.1) | |
5728 | wait(0.2) | |
5729 | lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.04) | |
5730 | ||
5731 | killsound:Play() | |
5732 | killsoundac:Play() | |
5733 | chokesound:Play() | |
5734 | bleedsound:Play() | |
5735 | ||
5736 | local ayybleed = Instance.new('Part',grabbed) | |
5737 | ayybleed.Size = Vector3.new(0.2,0.2,0.2) | |
5738 | ayybleed.BrickColor = BrickColor.new('Maroon') | |
5739 | ayybleed.Material = Enum.Material.SmoothPlastic | |
5740 | ayybleed.Name = "ayybleed" | |
5741 | ayybleed.CanCollide = false | |
5742 | ayybleed.Transparency = 0.5 | |
5743 | ayybleed.CFrame = grabbed.Head.CFrame | |
5744 | ayybleed:BreakJoints() | |
5745 | local attachment1 = Instance.new('Attachment',ayybleed) | |
5746 | attachment1.Position = Vector3.new(-0.55,0,0) | |
5747 | attachment1.Orientation = Vector3.new(90, 0, -90) | |
5748 | local attachment0 = Instance.new('Attachment') | |
5749 | pcall(function() | |
5750 | attachment0.Parent = grabbed.Torso | |
5751 | end) | |
5752 | pcall(function() | |
5753 | attachment0.Parent = grabbed.UpperTorso | |
5754 | end) | |
5755 | if attachment0 and attachment1 then | |
5756 | local constraint = Instance.new("HingeConstraint") | |
5757 | constraint.Attachment0 = attachment0 | |
5758 | constraint.Attachment1 = attachment1 | |
5759 | constraint.LimitsEnabled = true | |
5760 | constraint.UpperAngle = 0 | |
5761 | constraint.LowerAngle = 0 | |
5762 | pcall(function() | |
5763 | constraint.Parent = grabbed.Torso | |
5764 | end) | |
5765 | pcall(function() | |
5766 | constraint.Parent = grabbed.UpperTorso | |
5767 | end) | |
5768 | end | |
5769 | local bleedBLEED= coroutine.wrap(function() | |
5770 | bleed(ayybleed) | |
5771 | end) | |
5772 | bleedBLEED() | |
5773 | ||
5774 | wait(0.2) | |
5775 | ||
5776 | local at1 = Instance.new("Attachment", handle) | |
5777 | local at2 = Instance.new("Attachment", handle) | |
5778 | at1.Visible = false | |
5779 | at1.Position = Vector3.new(2, 0, 0) | |
5780 | at2.Visible = false | |
5781 | at2.Position = Vector3.new(-0.3, 0, 0) | |
5782 | ||
5783 | local trail = Instance.new("Trail", handle) | |
5784 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
5785 | trail.LightEmission = 0.25 | |
5786 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)}) | |
5787 | trail.Lifetime = 0.10 | |
5788 | trail.MinLength = 0.05 | |
5789 | trail.Attachment0 = at1 | |
5790 | trail.Attachment1 = at2 | |
5791 | ||
5792 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-40), math.rad(15)),0.08) | |
5793 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-30), math.rad(15)),0.1) | |
5794 | local coru=coroutine.wrap(function() | |
5795 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-90), 0), 0.07) | |
5796 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.09) | |
5797 | end) | |
5798 | coru() | |
5799 | local cor = coroutine.wrap(function() | |
5800 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-30), 0),0.04) | |
5801 | end) | |
5802 | cor() | |
5803 | grabweld:Remove() | |
5804 | throwsound:Play() | |
5805 | ||
5806 | local throwvel = Instance.new("BodyThrust") | |
5807 | throwvel.Force = Vector3.new(0, 3000, -1000) | |
5808 | pcall(function() | |
5809 | throwvel.Parent = grabbed.Torso | |
5810 | end) | |
5811 | pcall(function() | |
5812 | throwvel.Parent = grabbed.UpperTorso | |
5813 | end) | |
5814 | ||
5815 | trail:Remove() | |
5816 | at1:Remove() | |
5817 | at2:Remove() | |
5818 | lerp(lweld,lweld.C0,CFrame.new(-1.3, 0.7, -1) * CFrame.Angles(0, math.rad(-70), math.rad(-105)),0.04) | |
5819 | pcall(function() | |
5820 | ragdollpart(grabbed,"Left Arm") | |
5821 | ragdollpart(grabbed,"Left Leg") | |
5822 | ragdollpart(grabbed,"Right Arm") | |
5823 | ragdollpart(grabbed,"Right Leg") | |
5824 | end) | |
5825 | pcall(function() | |
5826 | ragdollpart(grabbed,"LeftUpperLeg") | |
5827 | ragdollpart(grabbed,"RightUpperLeg") | |
5828 | ragdollpart(grabbed,"LeftUpperArm") | |
5829 | ragdollpart(grabbed,"RightUpperArm") | |
5830 | end) | |
5831 | wait(0.15) | |
5832 | throwvel:Remove() | |
5833 | local cor = coroutine.wrap(function() | |
5834 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
5835 | end) | |
5836 | local cor2 = coroutine.wrap(function() | |
5837 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
5838 | end) | |
5839 | cor() | |
5840 | cor2() | |
5841 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
5842 | ||
5843 | lweld:Remove() | |
5844 | rweld:Remove() | |
5845 | tweld:Remove() | |
5846 | ||
5847 | if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then | |
5848 | local clone = torsoclone:Clone() | |
5849 | clone.Part0 = char.HumanoidRootPart | |
5850 | clone.Part1 = char.Torso | |
5851 | clone.Parent = char.HumanoidRootPart | |
5852 | end | |
5853 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
5854 | local clone = leftclone:Clone() | |
5855 | clone.Part0 = char.Torso | |
5856 | clone.Part1 = char["Left Arm"] | |
5857 | clone.Parent = char.Torso | |
5858 | end | |
5859 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
5860 | local clone = rightclone:Clone() | |
5861 | clone.Part0 = char.Torso | |
5862 | clone.Part1 = char["Right Arm"] | |
5863 | clone.Parent = char.Torso | |
5864 | end | |
5865 | local coru2=coroutine.wrap(function() | |
5866 | local whyy = grabbed | |
5867 | local continue = true | |
5868 | local repeats = 0 | |
5869 | while continue == true do | |
5870 | local ree = pcall(function() | |
5871 | if repeats < 20 then | |
5872 | whyy:FindFirstChildOfClass('Humanoid').Health = whyy:FindFirstChildOfClass('Humanoid').Health-4.9 | |
5873 | repeats = repeats+1 | |
5874 | if whyy:FindFirstChildOfClass('Humanoid').Health <= 0 then | |
5875 | continue = false | |
5876 | end | |
5877 | else | |
5878 | continue = false | |
5879 | end | |
5880 | end) | |
5881 | if ree == false then | |
5882 | continue = false | |
5883 | end | |
5884 | if continue == true then | |
5885 | wait(0.2) | |
5886 | end | |
5887 | end | |
5888 | ragdollpart(whyy,"Head") | |
5889 | end) | |
5890 | coru2() | |
5891 | throwsound:Remove() | |
5892 | killsound:Remove() | |
5893 | end) | |
5894 | grabbed = nil | |
5895 | working = false | |
5896 | end | |
5897 | ||
5898 | function release() | |
5899 | working = true | |
5900 | pcall(function() | |
5901 | unstun(grabbed) | |
5902 | grabbed = nil | |
5903 | grabweld:Destroy() | |
5904 | removewelds(char["Right Arm"]) | |
5905 | removewelds(char["Left Arm"]) | |
5906 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
5907 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
5908 | rweld.Part0 = char["Torso"] | |
5909 | rweld.Part1 = char["Right Arm"] | |
5910 | rweld.C0 = CFrame.new(1, 0.7, -0.75) * CFrame.Angles(0, math.rad(95), math.rad(105)) | |
5911 | lweld.Part0 = char.Torso | |
5912 | lweld.Part1 = char["Left Arm"] | |
5913 | lweld.C0 = CFrame.new(-1.25, 0.7, -0.75) * CFrame.Angles(0, math.rad(-140), math.rad(-105)) | |
5914 | local cor = coroutine.wrap(function() | |
5915 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
5916 | end) | |
5917 | local cor2 = coroutine.wrap(function() | |
5918 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0),0.08) | |
5919 | end) | |
5920 | cor() | |
5921 | cor2() | |
5922 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
5923 | lweld:Remove() | |
5924 | rweld:Remove() | |
5925 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
5926 | local clone = leftclone:Clone() | |
5927 | clone.Part0 = char.Torso | |
5928 | clone.Part1 = char["Left Arm"] | |
5929 | clone.Parent = char.Torso | |
5930 | end | |
5931 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
5932 | local clone = rightclone:Clone() | |
5933 | clone.Part0 = char.Torso | |
5934 | clone.Part1 = char["Right Arm"] | |
5935 | clone.Parent = char.Torso | |
5936 | end | |
5937 | end) | |
5938 | working = false | |
5939 | end | |
5940 | ||
5941 | function grab() | |
5942 | working = true | |
5943 | pcall(function() | |
5944 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
5945 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
5946 | rweld.Part0 = char["Torso"] | |
5947 | rweld.Part1 = char["Right Arm"] | |
5948 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
5949 | lweld.Part0 = char.Torso | |
5950 | lweld.Part1 = char["Left Arm"] | |
5951 | lweld.C0 = CFrame.new(-1.5, 0, 0) | |
5952 | ||
5953 | local at1 = Instance.new("Attachment", handle) | |
5954 | local at2 = Instance.new("Attachment", handle) | |
5955 | at1.Visible = false | |
5956 | at1.Position = Vector3.new(2, 0, 0) | |
5957 | at2.Visible = false | |
5958 | at2.Position = Vector3.new(-0.3, 0, 0) | |
5959 | ||
5960 | local trail = Instance.new("Trail", handle) | |
5961 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
5962 | trail.LightEmission = 0.25 | |
5963 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)}) | |
5964 | trail.Lifetime = 0.10 | |
5965 | trail.MinLength = 0.05 | |
5966 | trail.Attachment0 = at1 | |
5967 | trail.Attachment1 = at2 | |
5968 | ||
5969 | local spinnyshit = coroutine.wrap(function() | |
5970 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-90), 0), 0.07) | |
5971 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(90), 0), 0.07) | |
5972 | end) | |
5973 | spinnyshit() | |
5974 | local cor = coroutine.wrap(function() | |
5975 | lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.08) | |
5976 | end) | |
5977 | cor() | |
5978 | lerp(lweld,lweld.C0,CFrame.new(-2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(-90)),0.08) | |
5979 | wait(0.15) | |
5980 | grabbing = true | |
5981 | local cor = coroutine.wrap(function() | |
5982 | lerp(rweld,rweld.C0,CFrame.new(1, 0.7, -0.75) * CFrame.Angles(0, math.rad(95), math.rad(105)),0.08) | |
5983 | end) | |
5984 | cor() | |
5985 | lerp(lweld,lweld.C0,CFrame.new(-1.25, 0.7, -0.75) * CFrame.Angles(0, math.rad(-140), math.rad(-105)),0.08) | |
5986 | at1:Remove() | |
5987 | at2:Remove() | |
5988 | trail:Remove() | |
5989 | wait(0.3) | |
5990 | grabbing = false | |
5991 | ||
5992 | if grabbed == nil then | |
5993 | local cor = coroutine.wrap(function() | |
5994 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
5995 | end) | |
5996 | local cor2 = coroutine.wrap(function() | |
5997 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0),0.08) | |
5998 | end) | |
5999 | cor() | |
6000 | cor2() | |
6001 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
6002 | lweld:Remove() | |
6003 | rweld:Remove() | |
6004 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
6005 | local clone = leftclone:Clone() | |
6006 | clone.Part0 = char.Torso | |
6007 | clone.Part1 = char["Left Arm"] | |
6008 | clone.Parent = char.Torso | |
6009 | end | |
6010 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
6011 | local clone = rightclone:Clone() | |
6012 | clone.Part0 = char.Torso | |
6013 | clone.Part1 = char["Right Arm"] | |
6014 | clone.Parent = char.Torso | |
6015 | end | |
6016 | end | |
6017 | end) | |
6018 | working = false | |
6019 | end | |
6020 | ||
6021 | mouse.KeyDown:connect(function(kkk) | |
6022 | local key = kkk:lower() | |
6023 | if usable and working == false then | |
6024 | if key == "z" then | |
6025 | if equipped == false then | |
6026 | if firsttime then | |
6027 | firsttime = false | |
6028 | notify("Equipped || Press X or C to equip one of two weapons",true) | |
6029 | else | |
6030 | notify("Equipped") | |
6031 | end | |
6032 | equip() | |
6033 | else | |
6034 | notify("Unequipped") | |
6035 | unequip() | |
6036 | end | |
6037 | elseif key == "x" then | |
6038 | if blademode ~= "katana" and equipped == true then | |
6039 | getrid(handle) | |
6040 | if firsttime2 then | |
6041 | firsttime2 = false | |
6042 | notify("Katana mode enabled || Press Q, E, or click to perform an action",true) | |
6043 | else | |
6044 | notify("Katana mode enabled") | |
6045 | end | |
6046 | katanamode() | |
6047 | elseif blademode == "katana" then | |
6048 | getrid(handle) | |
6049 | notify("Katana mode disabled") | |
6050 | end | |
6051 | elseif key == "v" then | |
6052 | if blademode ~= "gun" and equipped == true then | |
6053 | getrid(handle) | |
6054 | if firsttime5 then | |
6055 | firsttime5 = false | |
6056 | notify("Gun mode enabled || Click to perform an action",true) | |
6057 | else | |
6058 | notify("Gun mode enabled") | |
6059 | end | |
6060 | gunmode() | |
6061 | elseif blademode == "gun" then | |
6062 | getrid(handle) | |
6063 | notify("Gun mode disabled") | |
6064 | end | |
6065 | elseif key == "b" then | |
6066 | if childlock == false then | |
6067 | if blademode ~= "dildo" and equipped == true then | |
6068 | getrid(handle) | |
6069 | if firsttime4 then | |
6070 | firsttime4 = false | |
6071 | notify("Dildo mode enabled || Click to perform an action",true) | |
6072 | else | |
6073 | notify("Dildo mode enabled") | |
6074 | end | |
6075 | dildo() | |
6076 | elseif blademode == "dildo" then | |
6077 | notify("Dildo mode disabled") | |
6078 | getrid(handle) | |
6079 | end | |
6080 | end | |
6081 | elseif key == "c" then | |
6082 | if blademode ~= "knife" and equipped == true then | |
6083 | getrid(handle) | |
6084 | if firsttime3 then | |
6085 | firsttime3 = false | |
6086 | notify("Knife mode enabled || Press F, E, T, or Q to set modes; Click to perform an action",true) | |
6087 | else | |
6088 | notify("Knife mode enabled") | |
6089 | end | |
6090 | knifemode() | |
6091 | elseif blademode == "knife" then | |
6092 | notify("Knife mode disabled") | |
6093 | getrid(handle) | |
6094 | end | |
6095 | elseif key == "q" then | |
6096 | if blademode == "katana" then | |
6097 | notify() | |
6098 | katanaQ() | |
6099 | elseif blademode == "knife" then | |
6100 | mode = "release" | |
6101 | notify("Mode changed to "..mode) | |
6102 | end | |
6103 | elseif key == "e" then | |
6104 | if blademode == "katana" then | |
6105 | notify() | |
6106 | katanaE() | |
6107 | elseif blademode == "knife" then | |
6108 | mode = "throw" | |
6109 | notify("Mode changed to "..mode) | |
6110 | end | |
6111 | elseif key == "f" then | |
6112 | if blademode == "handle" then | |
6113 | notify([[BEGONE | |
6114 | THOT]]) | |
6115 | begoneTHOUGHT() | |
6116 | elseif blademode == "knife" then | |
6117 | mode = "kill" | |
6118 | notify("Mode changed to "..mode) | |
6119 | end | |
6120 | elseif key == "t" then | |
6121 | if blademode == "knife" then | |
6122 | mode = "fling" | |
6123 | notify("Mode changed to "..mode) | |
6124 | end | |
6125 | end | |
6126 | end | |
6127 | if key == "m" and sounding == false then | |
6128 | --badass mode | |
6129 | pcall(function() | |
6130 | if badass.Playing == false then | |
6131 | sounding = true | |
6132 | for i,v in pairs(workspace:GetDescendants()) do | |
6133 | if v:IsA('Sound') and v~=player.Character.Head.Badass then | |
6134 | v:Stop() | |
6135 | end | |
6136 | end | |
6137 | badass:Play() | |
6138 | badass.Volume = 10 | |
6139 | sounding = false | |
6140 | else | |
6141 | sounding = true | |
6142 | for i=1,100 do | |
6143 | badass.Volume = badass.Volume-0.1 | |
6144 | wait() | |
6145 | end | |
6146 | badass.Volume = 0 | |
6147 | badass:Stop() | |
6148 | sounding = false | |
6149 | end | |
6150 | end) | |
6151 | end | |
6152 | if key == "r" then | |
6153 | rag1 = true | |
6154 | if rag1 == true and rag2 == true then | |
6155 | oogabooga() | |
6156 | end | |
6157 | end | |
6158 | if key == "g" then | |
6159 | rag2 = true | |
6160 | if rag1 == true and rag2 == true then | |
6161 | oogabooga() | |
6162 | end | |
6163 | end | |
6164 | end) | |
6165 | mouse.KeyUp:connect(function(key) | |
6166 | if key == "r" then | |
6167 | rag1 = false | |
6168 | end | |
6169 | if key == "g" then | |
6170 | rag2 = false | |
6171 | end | |
6172 | end) | |
6173 | ||
6174 | handle.ChildAdded:connect(function(child) | |
6175 | if child:IsA('BasePart') then | |
6176 | child.CanCollide = false | |
6177 | if child.Name == "blade" then | |
6178 | child.Touched:connect(function(hit) | |
6179 | if blademode == "katana" and swinging then | |
6180 | if gettingeem then | |
6181 | if goteem == nil then | |
6182 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
6183 | local sounn = Instance.new("Sound", char.Torso) | |
6184 | local lipp = math.random(1, 3) | |
6185 | if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end | |
6186 | if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end | |
6187 | if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end | |
6188 | sounn:Play() | |
6189 | goteem = hit.Parent | |
6190 | pcall(function() | |
6191 | goteem.HumanoidRootPart:Destroy() | |
6192 | end) | |
6193 | pcall(function() | |
6194 | ragdollpart(goteem,"Right Arm") | |
6195 | ragdollpart(goteem,"Right Leg") | |
6196 | ragdollpart(goteem,"Left Arm") | |
6197 | ragdollpart(goteem,"Left Leg") | |
6198 | end) | |
6199 | pcall(function() | |
6200 | ragdollpart(goteem,"RightUpperArm") | |
6201 | ragdollpart(goteem,"RightUpperLeg") | |
6202 | ragdollpart(goteem,"LeftUpperArm") | |
6203 | ragdollpart(goteem,"LeftUpperLeg") | |
6204 | end) | |
6205 | pcall(function() | |
6206 | local weld = Instance.new('Weld',goteem.Torso) | |
6207 | weld.Part0 = goteem.Torso | |
6208 | weld.Part1 = handle | |
6209 | weld.C0 = CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
6210 | end) | |
6211 | pcall(function() | |
6212 | local weld = Instance.new('Weld',goteem.UpperTorso) | |
6213 | weld.Part0 = goteem.UpperTorso | |
6214 | weld.Part1 = handle | |
6215 | weld.C0 = CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
6216 | end) | |
6217 | pcall(function() | |
6218 | local thang = "Torso" | |
6219 | if goteem:FindFirstChild('UpperTorso') then | |
6220 | thang = "UpperTorso" | |
6221 | end | |
6222 | local ayybleed = Instance.new('Part',goteem) | |
6223 | ayybleed.Size = Vector3.new(0.2,0.2,0.2) | |
6224 | ayybleed.BrickColor = BrickColor.new('Maroon') | |
6225 | ayybleed.Material = Enum.Material.SmoothPlastic | |
6226 | ayybleed.Name = "ayybleed" | |
6227 | ayybleed.CanCollide = false | |
6228 | ayybleed.Transparency = 1 | |
6229 | ayybleed.CFrame = goteem[thang].CFrame | |
6230 | ayybleed:BreakJoints() | |
6231 | local attachment1 = Instance.new('Attachment',ayybleed) | |
6232 | attachment1.Position = Vector3.new(0,0,0) | |
6233 | attachment1.Orientation = Vector3.new(-90, 0, -90) | |
6234 | local attachment0 = Instance.new('Attachment',goteem[thang]) | |
6235 | if attachment0 and attachment1 then | |
6236 | local constraint = Instance.new("HingeConstraint") | |
6237 | constraint.Attachment0 = attachment0 | |
6238 | constraint.Attachment1 = attachment1 | |
6239 | constraint.LimitsEnabled = true | |
6240 | constraint.UpperAngle = 0 | |
6241 | constraint.LowerAngle = 0 | |
6242 | constraint.Parent = goteem | |
6243 | end | |
6244 | local bleedBLEED= coroutine.wrap(function() | |
6245 | bleed(ayybleed) | |
6246 | end) | |
6247 | bleedBLEED() | |
6248 | end) | |
6249 | end | |
6250 | end | |
6251 | elseif SLESH then | |
6252 | ||
6253 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
6254 | local sounn = Instance.new("Sound", char.Torso) | |
6255 | local lipp = math.random(1, 3) | |
6256 | if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end | |
6257 | if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end | |
6258 | if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end | |
6259 | sounn:Play() | |
6260 | ragdollpart(hit.Parent,hit.Name,false) | |
6261 | end | |
6262 | else | |
6263 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
6264 | local sounn = Instance.new("Sound", char.Torso) | |
6265 | local lipp = math.random(1, 3) | |
6266 | if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end | |
6267 | if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end | |
6268 | if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end | |
6269 | sounn:Play() | |
6270 | swinging = false | |
6271 | ragdollpart(hit.Parent,"Head",true,false) | |
6272 | end | |
6273 | end | |
6274 | elseif blademode == "knife" then | |
6275 | if grabbing == true and grabbed == nil then | |
6276 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
6277 | grabbed = hit.Parent | |
6278 | ||
6279 | stun(grabbed) | |
6280 | ||
6281 | local grabwelds = Instance.new("Weld", char.Torso) | |
6282 | grabwelds.Part0 = char.Torso | |
6283 | pcall(function() | |
6284 | grabwelds.Part1 = grabbed.Torso | |
6285 | end) | |
6286 | pcall(function() | |
6287 | grabwelds.Part1 = grabbed.UpperTorso | |
6288 | end) | |
6289 | grabwelds.C0 = CFrame.new(-0.45, 0, -1) | |
6290 | grabweld = grabwelds | |
6291 | end | |
6292 | end | |
6293 | end | |
6294 | end) | |
6295 | end | |
6296 | elseif child:IsA("Model") then | |
6297 | child.ChildAdded:connect(function(dildotip) | |
6298 | if dildotip:IsA('BasePart') then | |
6299 | dildotip.Touched:connect(function(hit) | |
6300 | if MOAN == true then | |
6301 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
6302 | local sound = Instance.new('Sound',hit.Parent.Head) | |
6303 | sound.SoundId = 'rbxassetid://959679286' | |
6304 | sound.Volume = 5 | |
6305 | sound:Play() | |
6306 | local sound3 = Instance.new("Sound",hit.Parent.Head) | |
6307 | sound3.Volume = 5.5 | |
6308 | sound3.SoundId = "rbxassetid://702631545" | |
6309 | sound3:Play() | |
6310 | pcall(function() | |
6311 | for i,v in pairs(hit.Parent.Head:GetChildren()) do | |
6312 | if v:IsA('Decal') then v:Destroy() end | |
6313 | end | |
6314 | end) | |
6315 | pcall(function() | |
6316 | local ree=Instance.new('Decal',hit.Parent.Head) | |
6317 | ree.Name = "face" | |
6318 | ree.Texture = "rbxassetid://996521543" | |
6319 | end) | |
6320 | MOAN = false | |
6321 | aidsificating = hit.Parent | |
6322 | for i, v in pairs(handle["pink toy"]:GetChildren()) do | |
6323 | if v:IsA("Part") then | |
6324 | v:FindFirstChild("ParticleEmitter"):Destroy() | |
6325 | end | |
6326 | end | |
6327 | end | |
6328 | end | |
6329 | end) | |
6330 | end | |
6331 | end) | |
6332 | end | |
6333 | end) | |
6334 | ||
6335 | mouse.Button1Down:connect(function(jew) | |
6336 | if usable and working == false and equipped then | |
6337 | if blademode == "katana" then | |
6338 | notify() | |
6339 | katanaswing() | |
6340 | elseif blademode == "knife" then | |
6341 | notify() | |
6342 | if grabbed == nil then | |
6343 | if mode == "fling" then | |
6344 | fling() | |
6345 | else | |
6346 | grab() | |
6347 | end | |
6348 | elseif grabbed ~= nil then | |
6349 | if mode == "kill" then | |
6350 | kill() | |
6351 | elseif mode == "throw" then | |
6352 | throw() | |
6353 | elseif mode == "release" then | |
6354 | release() | |
6355 | end | |
6356 | end | |
6357 | elseif blademode == "dildo" then | |
6358 | raep() | |
6359 | end | |
6360 | end | |
6361 | end) | |
6362 | ||
6363 | end | |
6364 | spawned() | |
6365 | ||
6366 | player.CharacterAdded:connect(function() | |
6367 | spawned() | |
6368 | end) | |
6369 | local avgs = {} | |
6370 | ||
6371 | game:GetService('RunService').Heartbeat:connect(function(step) | |
6372 | local ofps = math.floor((60/(step*60))*10)/10 | |
6373 | if #avgs > 100 then | |
6374 | table.remove(avgs,1) | |
6375 | end | |
6376 | table.insert(avgs,#avgs+1,ofps) | |
6377 | local fpsa = 0 | |
6378 | for i,v in pairs(avgs) do | |
6379 | fpsa = fpsa+v | |
6380 | end | |
6381 | fpsa = math.floor(fpsa/#avgs) | |
6382 | fps.Text = 'FPS: '..tostring(fpsa) | |
6383 | end) | |
6384 | ||
6385 | while true do | |
6386 | for i,v in pairs(rekt) do | |
6387 | if v.Parent ~= nil then | |
6388 | if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChildOfClass('Humanoid').Health>0 then | |
6389 | for a,c in pairs(v:GetChildren()) do | |
6390 | if c:IsA('Tool') then | |
6391 | c.ManualActivationOnly = true | |
6392 | wait() | |
6393 | if game:GetService('Players'):GetPlayerFromCharacter(v) then | |
6394 | c.Parent = game:GetService('Players'):GetPlayerFromCharacter(v).Backpack | |
6395 | c.ManualActivationOnly = false | |
6396 | end | |
6397 | end | |
6398 | end | |
6399 | v:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
6400 | v:FindFirstChildOfClass('Humanoid').Sit = false | |
6401 | v:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
6402 | v:FindFirstChildOfClass('Humanoid').WalkSpeed = 0 | |
6403 | v:FindFirstChildOfClass('Humanoid').Name = "hecc" | |
6404 | else | |
6405 | table.remove(rekt,i) | |
6406 | end | |
6407 | else | |
6408 | table.remove(rekt,i) | |
6409 | end | |
6410 | end | |
6411 | wait() | |
6412 | end |