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