SHOW:
|
|
- or go back to the newest paste.
1 | - | script.Name = "Banisher HELL / 1" |
1 | + | |
2 | --|| CREATED BY SHACKLUSTER | |
3 | --\\====================================================//-- | |
4 | ||
5 | script:ClearAllChildren() | |
6 | wait(0.2) | |
7 | ||
8 | Player = game:GetService("Players").LocalPlayer | |
9 | PlayerGui = Player.PlayerGui | |
10 | Cam = workspace.CurrentCamera | |
11 | Backpack = Player.Backpack | |
12 | Character = Player.Character | |
13 | Humanoid = Character.Humanoid | |
14 | Mouse = Player:GetMouse() | |
15 | RootPart = Character["HumanoidRootPart"] | |
16 | Torso = Character["Torso"] | |
17 | Head = Character["Head"] | |
18 | RightArm = Character["Right Arm"] | |
19 | LeftArm = Character["Left Arm"] | |
20 | RightLeg = Character["Right Leg"] | |
21 | LeftLeg = Character["Left Leg"] | |
22 | RootJoint = RootPart["RootJoint"] | |
23 | Neck = Torso["Neck"] | |
24 | RightShoulder = Torso["Right Shoulder"] | |
25 | LeftShoulder = Torso["Left Shoulder"] | |
26 | RightHip = Torso["Right Hip"] | |
27 | LeftHip = Torso["Left Hip"] | |
28 | local TIME = 0 | |
29 | local sick = Instance.new("Sound",Torso) | |
30 | ||
31 | IT = Instance.new | |
32 | CF = CFrame.new | |
33 | VT = Vector3.new | |
34 | RAD = math.rad | |
35 | C3 = Color3.new | |
36 | UD2 = UDim2.new | |
37 | BRICKC = BrickColor.new | |
38 | ANGLES = CFrame.Angles | |
39 | EULER = CFrame.fromEulerAnglesXYZ | |
40 | COS = math.cos | |
41 | ACOS = math.acos | |
42 | SIN = math.sin | |
43 | ASIN = math.asin | |
44 | ABS = math.abs | |
45 | MRANDOM = math.random | |
46 | FLOOR = math.floor | |
47 | ||
48 | --//=================================\\ | |
49 | --|| USEFUL VALUES | |
50 | --\\=================================// | |
51 | ||
52 | Animation_Speed = 3 | |
53 | local FORCERESET = false | |
54 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
55 | local Speed = 16 | |
56 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
57 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
58 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
59 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
60 | local DAMAGEMULTIPLIER = 1 | |
61 | local ANIM = "Idle" | |
62 | local ATTACK = false | |
63 | local EQUIPPED = false | |
64 | local HOLD = false | |
65 | local COMBO = 1 | |
66 | local Rooted = false | |
67 | local SINE = 0 | |
68 | local KEYHOLD = false | |
69 | local CHANGE = 2 / Animation_Speed | |
70 | local WALKINGANIM = false | |
71 | local VALUE1 = false | |
72 | local VALUE2 = false | |
73 | local ROBLOXIDLEANIMATION = IT("Animation") | |
74 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
75 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
76 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
77 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
78 | WEAPONGUI.Name = "BanishV3Gui" | |
79 | local Weapon = IT("Model") | |
80 | Weapon.Name = "Adds" | |
81 | local Effects = IT("Folder", Weapon) | |
82 | Effects.Name = "Effects" | |
83 | local ANIMATOR = Humanoid.Animator | |
84 | local ANIMATE = Character:FindFirstChild("Animate") | |
85 | local UNANCHOR = true | |
86 | local TOBANISH = {} | |
87 | script.Parent = PlayerGui | |
88 | ||
89 | --//=================================\\ | |
90 | --\\=================================// | |
91 | ||
92 | ||
93 | --//=================================\\ | |
94 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
95 | --\\=================================// | |
96 | ||
97 | ArtificialHB = Instance.new("BindableEvent", script) | |
98 | ArtificialHB.Name = "ArtificialHB" | |
99 | ||
100 | script:WaitForChild("ArtificialHB") | |
101 | ||
102 | frame = Frame_Speed | |
103 | tf = 0 | |
104 | allowframeloss = false | |
105 | tossremainder = false | |
106 | lastframe = tick() | |
107 | script.ArtificialHB:Fire() | |
108 | ||
109 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
110 | tf = tf + s | |
111 | if tf >= frame then | |
112 | if allowframeloss then | |
113 | script.ArtificialHB:Fire() | |
114 | lastframe = tick() | |
115 | else | |
116 | for i = 1, math.floor(tf / frame) do | |
117 | script.ArtificialHB:Fire() | |
118 | end | |
119 | lastframe = tick() | |
120 | end | |
121 | if tossremainder then | |
122 | tf = 0 | |
123 | else | |
124 | tf = tf - frame * math.floor(tf / frame) | |
125 | end | |
126 | end | |
127 | end) | |
128 | ||
129 | --//=================================\\ | |
130 | --\\=================================// | |
131 | ||
132 | --//=================================\\ | |
133 | --|| SOME FUNCTIONS | |
134 | --\\=================================// | |
135 | ||
136 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
137 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
138 | end | |
139 | ||
140 | function PositiveAngle(NUMBER) | |
141 | if NUMBER >= 0 then | |
142 | NUMBER = 0 | |
143 | end | |
144 | return NUMBER | |
145 | end | |
146 | ||
147 | function NegativeAngle(NUMBER) | |
148 | if NUMBER <= 0 then | |
149 | NUMBER = 0 | |
150 | end | |
151 | return NUMBER | |
152 | end | |
153 | ||
154 | function Swait(NUMBER) | |
155 | if NUMBER == 0 or NUMBER == nil then | |
156 | ArtificialHB.Event:wait() | |
157 | else | |
158 | for i = 1, NUMBER do | |
159 | ArtificialHB.Event:wait() | |
160 | end | |
161 | end | |
162 | end | |
163 | ||
164 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
165 | local NEWMESH = IT(MESH) | |
166 | if MESH == "SpecialMesh" then | |
167 | NEWMESH.MeshType = MESHTYPE | |
168 | if MESHID ~= "nil" and MESHID ~= "" then | |
169 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
170 | end | |
171 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
172 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
173 | end | |
174 | end | |
175 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
176 | NEWMESH.Scale = SCALE | |
177 | NEWMESH.Parent = PARENT | |
178 | return NEWMESH | |
179 | end | |
180 | ||
181 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
182 | local NEWPART = IT("Part") | |
183 | NEWPART.formFactor = FORMFACTOR | |
184 | NEWPART.Reflectance = REFLECTANCE | |
185 | NEWPART.Transparency = TRANSPARENCY | |
186 | NEWPART.CanCollide = false | |
187 | NEWPART.Locked = true | |
188 | NEWPART.Anchored = true | |
189 | if ANCHOR == false then | |
190 | NEWPART.Anchored = false | |
191 | end | |
192 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
193 | NEWPART.Name = NAME | |
194 | NEWPART.Size = SIZE | |
195 | NEWPART.Position = Torso.Position | |
196 | NEWPART.Material = MATERIAL | |
197 | NEWPART:BreakJoints() | |
198 | NEWPART.Parent = PARENT | |
199 | return NEWPART | |
200 | end | |
201 | ||
202 | local function weldBetween(a, b) | |
203 | local weldd = Instance.new("ManualWeld") | |
204 | weldd.Part0 = a | |
205 | weldd.Part1 = b | |
206 | weldd.C0 = CFrame.new() | |
207 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
208 | weldd.Parent = a | |
209 | return weldd | |
210 | end | |
211 | ||
212 | ||
213 | function QuaternionFromCFrame(cf) | |
214 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
215 | local trace = m00 + m11 + m22 | |
216 | if trace > 0 then | |
217 | local s = math.sqrt(1 + trace) | |
218 | local recip = 0.5 / s | |
219 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
220 | else | |
221 | local i = 0 | |
222 | if m11 > m00 then | |
223 | i = 1 | |
224 | end | |
225 | if m22 > (i == 0 and m00 or m11) then | |
226 | i = 2 | |
227 | end | |
228 | if i == 0 then | |
229 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
230 | local recip = 0.5 / s | |
231 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
232 | elseif i == 1 then | |
233 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
234 | local recip = 0.5 / s | |
235 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
236 | elseif i == 2 then | |
237 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
238 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
239 | end | |
240 | end | |
241 | end | |
242 | ||
243 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
244 | local xs, ys, zs = x + x, y + y, z + z | |
245 | local wx, wy, wz = w * xs, w * ys, w * zs | |
246 | local xx = x * xs | |
247 | local xy = x * ys | |
248 | local xz = x * zs | |
249 | local yy = y * ys | |
250 | local yz = y * zs | |
251 | local zz = z * zs | |
252 | 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)) | |
253 | end | |
254 | ||
255 | function QuaternionSlerp(a, b, t) | |
256 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
257 | local startInterp, finishInterp; | |
258 | if cosTheta >= 0.0001 then | |
259 | if (1 - cosTheta) > 0.0001 then | |
260 | local theta = ACOS(cosTheta) | |
261 | local invSinTheta = 1 / SIN(theta) | |
262 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
263 | finishInterp = SIN(t * theta) * invSinTheta | |
264 | else | |
265 | startInterp = 1 - t | |
266 | finishInterp = t | |
267 | end | |
268 | else | |
269 | if (1 + cosTheta) > 0.0001 then | |
270 | local theta = ACOS(-cosTheta) | |
271 | local invSinTheta = 1 / SIN(theta) | |
272 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
273 | finishInterp = SIN(t * theta) * invSinTheta | |
274 | else | |
275 | startInterp = t - 1 | |
276 | finishInterp = t | |
277 | end | |
278 | end | |
279 | 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 | |
280 | end | |
281 | ||
282 | function Clerp(a, b, t) | |
283 | local qa = {QuaternionFromCFrame(a)} | |
284 | local qb = {QuaternionFromCFrame(b)} | |
285 | local ax, ay, az = a.x, a.y, a.z | |
286 | local bx, by, bz = b.x, b.y, b.z | |
287 | local _t = 1 - t | |
288 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
289 | end | |
290 | ||
291 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
292 | local frame = IT("Frame") | |
293 | frame.BackgroundTransparency = TRANSPARENCY | |
294 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
295 | frame.Position = POSITION | |
296 | frame.Size = SIZE | |
297 | frame.BackgroundColor3 = COLOR | |
298 | frame.BorderColor3 = BORDERCOLOR | |
299 | frame.Name = NAME | |
300 | frame.Parent = PARENT | |
301 | return frame | |
302 | end | |
303 | ||
304 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
305 | local label = IT("TextLabel") | |
306 | label.BackgroundTransparency = 1 | |
307 | label.Size = UD2(1, 0, 1, 0) | |
308 | label.Position = UD2(0, 0, 0, 0) | |
309 | label.TextColor3 = TEXTCOLOR | |
310 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
311 | label.TextTransparency = TRANSPARENCY | |
312 | label.FontSize = TEXTFONTSIZE | |
313 | label.Font = TEXTFONT | |
314 | label.BorderSizePixel = BORDERSIZEPIXEL | |
315 | label.TextScaled = false | |
316 | label.Text = TEXT | |
317 | label.Name = NAME | |
318 | label.Parent = PARENT | |
319 | return label | |
320 | end | |
321 | ||
322 | function NoOutlines(PART) | |
323 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
324 | end | |
325 | ||
326 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
327 | local NEWWELD = IT(TYPE) | |
328 | NEWWELD.Part0 = PART0 | |
329 | NEWWELD.Part1 = PART1 | |
330 | NEWWELD.C0 = C0 | |
331 | NEWWELD.C1 = C1 | |
332 | NEWWELD.Parent = PARENT | |
333 | return NEWWELD | |
334 | end | |
335 | ||
336 | local S = IT("Sound") | |
337 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
338 | local NEWSOUND = nil | |
339 | coroutine.resume(coroutine.create(function() | |
340 | NEWSOUND = S:Clone() | |
341 | NEWSOUND.Parent = PARENT | |
342 | NEWSOUND.Volume = VOLUME | |
343 | NEWSOUND.Pitch = PITCH | |
344 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
345 | NEWSOUND:play() | |
346 | if DOESLOOP == true then | |
347 | NEWSOUND.Looped = true | |
348 | else | |
349 | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT | |
350 | NEWSOUND:remove() | |
351 | end | |
352 | end)) | |
353 | return NEWSOUND | |
354 | end | |
355 | ||
356 | function CFrameFromTopBack(at, top, back) | |
357 | local right = top:Cross(back) | |
358 | 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) | |
359 | end | |
360 | ||
361 | --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}) | |
362 | function WACKYEFFECT(Table) | |
363 | local TYPE = (Table.EffectType or "Sphere") | |
364 | local SIZE = (Table.Size or VT(1,1,1)) | |
365 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
366 | local TRANSPARENCY = (Table.Transparency or 0) | |
367 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
368 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
369 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
370 | local ROTATION1 = (Table.RotationX or 0) | |
371 | local ROTATION2 = (Table.RotationY or 0) | |
372 | local ROTATION3 = (Table.RotationZ or 0) | |
373 | local MATERIAL = (Table.Material or "Neon") | |
374 | local COLOR = (Table.Color or C3(1,1,1)) | |
375 | local TIME = (Table.Time or 45) | |
376 | local SOUNDID = (Table.SoundID or nil) | |
377 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
378 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
379 | coroutine.resume(coroutine.create(function() | |
380 | local PLAYSSOUND = false | |
381 | local SOUND = nil | |
382 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
383 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
384 | PLAYSSOUND = true | |
385 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
386 | end | |
387 | EFFECT.Color = COLOR | |
388 | local MSH = nil | |
389 | if TYPE == "Sphere" then | |
390 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
391 | elseif TYPE == "Block" then | |
392 | MSH = IT("BlockMesh",EFFECT) | |
393 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
394 | elseif TYPE == "Wave" then | |
395 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
396 | elseif TYPE == "Ring" then | |
397 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
398 | elseif TYPE == "Slash" then | |
399 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
400 | elseif TYPE == "Round Slash" then | |
401 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
402 | elseif TYPE == "Swirl" then | |
403 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
404 | elseif TYPE == "Skull" then | |
405 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
406 | elseif TYPE == "Crystal" then | |
407 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
408 | end | |
409 | if MSH ~= nil then | |
410 | local MOVESPEED = nil | |
411 | if MOVEDIRECTION ~= nil then | |
412 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
413 | end | |
414 | local GROWTH = SIZE - ENDSIZE | |
415 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
416 | if TYPE == "Block" then | |
417 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
418 | else | |
419 | EFFECT.CFrame = CFRAME | |
420 | end | |
421 | for LOOP = 1, TIME+1 do | |
422 | Swait() | |
423 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
424 | if TYPE == "Wave" then | |
425 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
426 | end | |
427 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
428 | if TYPE == "Block" then | |
429 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
430 | else | |
431 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
432 | end | |
433 | if MOVEDIRECTION ~= nil then | |
434 | local ORI = EFFECT.Orientation | |
435 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
436 | EFFECT.Orientation = ORI | |
437 | end | |
438 | end | |
439 | if PLAYSSOUND == false then | |
440 | EFFECT:remove() | |
441 | else | |
442 | SOUND.Stopped:Connect(function() | |
443 | EFFECT:remove() | |
444 | end) | |
445 | end | |
446 | else | |
447 | if PLAYSSOUND == false then | |
448 | EFFECT:remove() | |
449 | else | |
450 | repeat Swait() until SOUND.Playing == false | |
451 | EFFECT:remove() | |
452 | end | |
453 | end | |
454 | end)) | |
455 | end | |
456 | ||
457 | function MakeForm(PART,TYPE) | |
458 | if TYPE == "Cyl" then | |
459 | local MSH = IT("CylinderMesh",PART) | |
460 | elseif TYPE == "Ball" then | |
461 | local MSH = IT("SpecialMesh",PART) | |
462 | MSH.MeshType = "Sphere" | |
463 | elseif TYPE == "Wedge" then | |
464 | local MSH = IT("SpecialMesh",PART) | |
465 | MSH.MeshType = "Wedge" | |
466 | end | |
467 | end | |
468 | end | |
469 | if PLAYSSOUND == false then | |
470 | EFFECT:remove() | |
471 | else | |
472 | SOUND.Stopped:Connect(function() | |
473 | EFFECT:remove() | |
474 | end) | |
475 | end | |
476 | else | |
477 | if PLAYSSOUND == false then | |
478 | EFFECT:remove() | |
479 | else | |
480 | repeat Swait() until SOUND.Playing == false | |
481 | EFFECT:remove() | |
482 | end | |
483 | end | |
484 | end)) | |
485 | end | |
486 | ||
487 | function MakeForm(PART,TYPE) | |
488 | if TYPE == "Cyl" then | |
489 | local MSH = IT("CylinderMesh",PART) | |
490 | elseif TYPE == "Ball" then | |
491 | local MSH = IT("SpecialMesh",PART) | |
492 | MSH.MeshType = "Sphere" | |
493 | elseif TYPE == "Wedge" then | |
494 | local MSH = IT("SpecialMesh",PART) | |
495 | MSH.MeshType = "Wedge" | |
496 | end | |
497 | end | |
498 | ||
499 | function SpawnTrail(FROM,TO,BIG) | |
500 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0)) | |
501 | MakeForm(TRAIL,"Cyl") | |
502 | local DIST = (FROM - TO).Magnitude | |
503 | if BIG == true then | |
504 | TRAIL.Size = VT(0.5,DIST,0.5) | |
505 | else | |
506 | TRAIL.Size = VT(0.25,DIST,0.25) | |
507 | end | |
508 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
509 | coroutine.resume(coroutine.create(function() | |
510 | for i = 1, 5 do | |
511 | Swait() | |
512 | TRAIL.Transparency = TRAIL.Transparency + 0.1 | |
513 | end | |
514 | TRAIL:remove() | |
515 | end)) | |
516 | end | |
517 | ||
518 | Debris = game:GetService("Debris") | |
519 | ||
520 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
521 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
522 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
523 | end | |
524 | ||
525 | function turnto(position) | |
526 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
527 | end | |
528 | local asd = Instance.new("ParticleEmitter") | |
529 | asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0)) | |
530 | asd.LightEmission = .1 | |
531 | asd.Texture = "http://www.roblox.com/asset/?ID=291880914" | |
532 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)}) | |
533 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
534 | asd.Transparency = bbb | |
535 | asd.Size = aaa | |
536 | asd.ZOffset = .9 | |
537 | asd.Acceleration = Vector3.new(0, -15, 0) | |
538 | asd.LockedToPart = false | |
539 | asd.EmissionDirection = "Back" | |
540 | asd.Lifetime = NumberRange.new(1, 2) | |
541 | asd.Rotation = NumberRange.new(-100, 100) | |
542 | asd.RotSpeed = NumberRange.new(-100, 100) | |
543 | asd.Speed = NumberRange.new(10) | |
544 | asd.Enabled = false | |
545 | asd.VelocitySpread = 999 | |
546 | ||
547 | function getbloody(victim,amount) | |
548 | local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size) | |
549 | PART.CFrame = victim.CFrame | |
550 | local HITPLAYERSOUNDS = {"356551938","264486467"} | |
551 | Debris:AddItem(PART,5) | |
552 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
553 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
554 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
555 | local prtcl = asd:Clone() | |
556 | prtcl.Parent = PART | |
557 | prtcl:Emit(amount*10) | |
558 | end | |
559 | ||
560 | local Particle = IT("ParticleEmitter",nil) | |
561 | Particle.Enabled = false | |
562 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)}) | |
563 | Particle.LightEmission = 0.5 | |
564 | Particle.Rate = 150 | |
565 | Particle.ZOffset = 1 | |
566 | Particle.Rotation = NumberRange.new(-180, 180) | |
567 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
568 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
569 | Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0)) | |
570 | ||
571 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
572 | function ParticleEmitter(Table) | |
573 | local PRTCL = Particle:Clone() | |
574 | local Speed = Table.Speed or 5 | |
575 | local Drag = Table.Drag or 0 | |
576 | local Size1 = Table.Size1 or 1 | |
577 | local Size2 = Table.Size2 or 5 | |
578 | local Lifetime1 = Table.Lifetime1 or 1 | |
579 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
580 | local Parent = Table.Parent or Torso | |
581 | local Emit = Table.Emit or 100 | |
582 | local Offset = Table.Offset or 360 | |
583 | local Acel = Table.Acel or VT(0,0,0) | |
584 | local Enabled = Table.Enabled or false | |
585 | PRTCL.Parent = Parent | |
586 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
587 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
588 | PRTCL.Speed = NumberRange.new(Speed) | |
589 | PRTCL.VelocitySpread = Offset | |
590 | PRTCL.Drag = Drag | |
591 | PRTCL.Acceleration = Acel | |
592 | if Enabled == false then | |
593 | PRTCL:Emit(Emit) | |
594 | Debris:AddItem(PRTCL,Lifetime2) | |
595 | else | |
596 | PRTCL.Enabled = true | |
597 | end | |
598 | return PRTCL | |
599 | end | |
600 | ||
601 | ||
602 | --//=================================\\ | |
603 | --|| WEAPON CREATION | |
604 | --\\=================================// | |
605 | local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head) | |
606 | txtfag.Adornee = suckadick | |
607 | txtfag.Name = "kys nigga" | |
608 | txtfag.Size = UDim2.new(2, 0, 1.2, 0) | |
609 | txtfag.StudsOffset = Vector3.new(-5, 3, 0) | |
610 | local textfag = Instance.new("TextLabel", txtfag) | |
611 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
612 | textfag.FontSize = "Size8" | |
613 | textfag.TextScaled = true | |
614 | textfag.TextTransparency = 0 | |
615 | textfag.BackgroundTransparency = 1 | |
616 | textfag.TextTransparency = 0 | |
617 | textfag.TextStrokeTransparency = 0 | |
618 | textfag.Font = "Cartoon" | |
619 | textfag.TextStrokeColor3 = Color3.new(0, 1, 0) | |
620 | v = Instance.new("Part") | |
621 | v.Name = "ColorBrick" | |
622 | v.Parent = part | |
623 | v.FormFactor = "Symmetric" | |
624 | v.Anchored = true | |
625 | v.CanCollide = false | |
626 | v.BottomSurface = "Smooth" | |
627 | v.TopSurface = "Smooth" | |
628 | v.Size = Vector3.new(10, 5, 3) | |
629 | v.Transparency = 0.7 | |
630 | v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor | |
631 | v.Transparency = 1 | |
632 | textfag.TextColor3 = v.BrickColor.Color | |
633 | textfag.TextStrokeColor3 = Color3.new(0, 0, 255) | |
634 | v.Shape = "Block" | |
635 | textfag.Text = "Script Edit By voyqgo" | |
636 | wait(2) | |
637 | textfag.Text = "I will make you in an to Blue HELL" | |
638 | wait(0.3) | |
639 | textfag.Text = game.Players.LocalPlayer.Character.Name.." Blue HELL" | |
640 | function sandbox(var,func) | |
641 | local env = getfenv(func) | |
642 | local newenv = setmetatable({},{ | |
643 | __index = function(self,k) | |
644 | if k=="script" then | |
645 | return var | |
646 | else | |
647 | return env[k] | |
648 | end | |
649 | end, | |
650 | }) | |
651 | setfenv(func,newenv) | |
652 | return func | |
653 | end | |
654 | cors = {} | |
655 | mas = Instance.new("Model",game:GetService("Lighting")) | |
656 | Model0 = Instance.new("Model") | |
657 | Part1 = Instance.new("Part") | |
658 | Weld2 = Instance.new("Weld") | |
659 | Part3 = Instance.new("Part") | |
660 | Decal4 = Instance.new("Decal") | |
661 | Decal5 = Instance.new("Decal") | |
662 | Model0.Name = "Flagloldiefurshits" | |
663 | Model0.Parent = mas | |
664 | Part1.Name = "Stick" | |
665 | Part1.Parent = Model0 | |
666 | Part1.Material = Enum.Material.Wood | |
667 | Part1.BrickColor = BrickColor.new("Really blue") | |
668 | Part1.Rotation = Vector3.new(0, 0, 126) | |
669 | Part1.Shape = Enum.PartType.Cylinder | |
670 | Part1.Size = Vector3.new(5.71999931, 0.319999993, 0.839999914) | |
671 | Part1.CFrame = CFrame.new(-11.7340431, 3.40531874, -51.7842827, -0.58777535, -0.809025586, 0, 0.809025586, -0.58777535, 0, 0, 0, 1) | |
672 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
673 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
674 | Part1.Color = Color3.new(0, 0, 255) | |
675 | Part1.Position = Vector3.new(-11.7340431, 3.40531874, -51.7842827) | |
676 | Part1.Orientation = Vector3.new(0, 0, 126) | |
677 | Part1.Color = Color3.new(0, 0, 255) | |
678 | Weld2.Parent = Part1 | |
679 | Weld2.C0 = CFrame.new(1.73310661, 1.69616222, 0.00998687744, -2.56299973e-06, 1.00000119, 0, -1.00000119, -2.56299973e-06, 0, 0, 0, 1) | |
680 | Weld2.Part0 = Part1 | |
681 | Weld2.Part1 = Part3 | |
682 | Part3.Name = "Flag" | |
683 | Part3.Parent = Model0 | |
684 | Part3.BrickColor = BrickColor.new("Really blue") | |
685 | Part3.Rotation = Vector3.new(0, 0, 36) | |
686 | Part3.Size = Vector3.new(3.32999945, 2.10000038, 0.0700000003) | |
687 | Part3.CFrame = CFrame.new(-14.124959, 3.81048417, -51.7742958, 0.809026122, -0.587772548, 0, 0.587772548, 0.809026122, 0, 0, 0, 1) | |
688 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
689 | Part3.Color = Color3.new(0, 0, 255) | |
690 | Part3.Position = Vector3.new(-14.124959, 3.81048417, -51.7742958) | |
691 | Part3.Orientation = Vector3.new(0, 0, 36) | |
692 | Part3.Color = Color3.new(0, 0, 255) | |
693 | Decal4.Parent = Part3 | |
694 | Decal4.Texture = "rbxassetid://1150731665" | |
695 | Decal5.Name = "Decal1" | |
696 | Decal5.Parent = Part3 | |
697 | Decal5.Texture = "rbxassetid://1150731665" | |
698 | Decal5.Face = Enum.NormalId.Back | |
699 | for i,v in pairs(mas:GetChildren()) do | |
700 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
701 | pcall(function() v:MakeJoints() end) | |
702 | end | |
703 | mas:Destroy() | |
704 | for i,v in pairs(cors) do | |
705 | spawn(function() | |
706 | pcall(v) | |
707 | end) | |
708 | end | |
709 | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
710 | MakeForm(LeftHole,"Cyl") | |
711 | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0)) | |
712 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false) | |
713 | MakeForm(Eye,"Ball") | |
714 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4)) | |
715 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false) | |
716 | MakeForm(Eye,"Ball") | |
717 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4)) | |
718 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false) | |
719 | MakeForm(Eye,"Ball") | |
720 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4)) | |
721 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false) | |
722 | MakeForm(Eye,"Ball") | |
723 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4)) | |
724 | local A = IT("Attachment",Torso) | |
725 | A.Position = VT(1,1.3,0) | |
726 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
727 | local B = IT("Attachment",Torso) | |
728 | B.Position = VT(-1.3,-0.6,0) | |
729 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
730 | local ChainLink = IT("Beam",Torso) | |
731 | ChainLink.Texture = "rbxassetid://343533707" | |
732 | ChainLink.Color = ColorSequence.new(C3(0, 0, 255)) | |
733 | ChainLink.TextureSpeed = 1 | |
734 | ChainLink.FaceCamera = true | |
735 | ChainLink.Width0 = 1 | |
736 | ChainLink.Width1 = 1 | |
737 | ChainLink.TextureLength = 3 | |
738 | ChainLink.Attachment0 = A | |
739 | ChainLink.Attachment1 = B | |
740 | ChainLink.CurveSize0 = 1.6 | |
741 | ChainLink.CurveSize1 = 1.6 | |
742 | ChainLink.FaceCamera = true | |
743 | ChainLink.Transparency = NumberSequence.new(0) | |
744 | local ChainLink = IT("Beam",Torso) | |
745 | ChainLink.Texture = "rbxassetid://343533707 | |
746 | ChainLink.Color = ColorSequence.new(C3(0, 0, 255)) | |
747 | ChainLink.TextureSpeed = 1 | |
748 | ChainLink.FaceCamera = true | |
749 | ChainLink.Width0 = 1 | |
750 | ChainLink.Width1 = 1 | |
751 | ChainLink.TextureLength = 3 | |
752 | ChainLink.Attachment0 = B | |
753 | ChainLink.Attachment1 = A | |
754 | ChainLink.CurveSize0 = 1.6 | |
755 | ChainLink.CurveSize1 = 1.6 | |
756 | ChainLink.FaceCamera = true | |
757 | ChainLink.Transparency = NumberSequence.new(0) | |
758 | local A = IT("Attachment",Torso) | |
759 | A.Position = VT(1.3,-0.85,0) | |
760 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
761 | local B = IT("Attachment",Torso) | |
762 | B.Position = VT(-1,2,0) | |
763 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
764 | local ChainLink = IT("Beam",Torso) | |
765 | ChainLink.Texture = "rbxassetid://343533707" | |
766 | ChainLink.Color = ColorSequence.new(C3(0, 0, 255)) | |
767 | ChainLink.TextureSpeed = 1 | |
768 | ChainLink.FaceCamera = true | |
769 | ChainLink.Width0 = 1 | |
770 | ChainLink.Width1 = 1 | |
771 | ChainLink.TextureLength = 3 | |
772 | ChainLink.Attachment0 = A | |
773 | ChainLink.Attachment1 = B | |
774 | ChainLink.CurveSize0 = 1.3 | |
775 | ChainLink.CurveSize1 = 1.3 | |
776 | ChainLink.FaceCamera = true | |
777 | ChainLink.Transparency = NumberSequence.new(0) | |
778 | local ChainLink = IT("Beam",Torso) | |
779 | ChainLink.Texture = "rbxassetid://343533707" | |
780 | ChainLink.Color = ColorSequence.new(C3(0, 0, 255)) | |
781 | ChainLink.TextureSpeed = 1 | |
782 | ChainLink.FaceCamera = true | |
783 | ChainLink.Width0 = 1 | |
784 | ChainLink.Width1 = 1 | |
785 | ChainLink.TextureLength = 3 | |
786 | ChainLink.Attachment0 = B | |
787 | ChainLink.Attachment1 = A | |
788 | ChainLink.CurveSize0 = 1.3 | |
789 | ChainLink.CurveSize1 = 1.3 | |
790 | ChainLink.FaceCamera = true | |
791 | ChainLink.Transparency = NumberSequence.new(0) | |
792 | ||
793 | local A = IT("Attachment",RightBarrel) | |
794 | A.Position = VT(0,-2.5,0) | |
795 | local B = IT("Attachment",RightBarrel) | |
796 | B.Position = VT(0,2.5,0) | |
797 | local Trail = IT("Trail",RightBarrel) | |
798 | Trail.Attachment0 = A | |
799 | Trail.Attachment1 = B | |
800 | Trail.Lifetime = 0.2 | |
801 | Trail.Color = ColorSequence.new(BRICKC"Really blue".Color) | |
802 | Trail.Transparency = NumberSequence.new(0, 1) | |
803 | Trail.Enabled = false | |
804 | ||
805 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true}) | |
806 | PRT.LockedToPart = true | |
807 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true}) | |
808 | PRT.LockedToPart = true | |
809 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true}) | |
810 | PRT.LockedToPart = true | |
811 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true}) | |
812 | PRT.LockedToPart = true | |
813 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true}) | |
814 | PRT.LockedToPart = true | |
815 | for _, c in pairs(Character:GetDescendants()) do | |
816 | if c and c.Parent then | |
817 | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then | |
818 | local ACCESSORY = c.Parent | |
819 | c.Parent = Character | |
820 | if c then | |
821 | if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then | |
822 | weldBetween(Head,c) | |
823 | else | |
824 | weldBetween(Torso,c) | |
825 | end | |
826 | end | |
827 | end | |
828 | end | |
829 | end | |
830 | local BODY = {} | |
831 | for _, c in pairs(Character:GetDescendants()) do | |
832 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
833 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
834 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
835 | end | |
836 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name}) | |
837 | elseif c:IsA("JointInstance") then | |
838 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil}) | |
839 | end | |
840 | end | |
841 | function refit() | |
842 | Character.Parent = workspace | |
843 | for e = 1, #BODY do | |
844 | if BODY[e] ~= nil then | |
845 | local STUFF = BODY[e] | |
846 | local PART = STUFF[1] | |
847 | local PARENT = STUFF[2] | |
848 | local MATERIAL = STUFF[3] | |
849 | local COLOR = STUFF[4] | |
850 | local TRANSPARENCY = STUFF[5] | |
851 | --local SIZE = STUFF[6] | |
852 | local NAME = STUFF[7] | |
853 | if PART.ClassName == "Part" and PART ~= RootPart then | |
854 | PART.Material = MATERIAL | |
855 | PART.Transparency = TRANSPARENCY | |
856 | PART.Name = NAME | |
857 | end | |
858 | if PART.Parent ~= PARENT then | |
859 | Humanoid:remove() | |
860 | PART.Parent = PARENT | |
861 | Humanoid = IT("Humanoid",Character) | |
862 | end | |
863 | end | |
864 | end | |
865 | end | |
866 | ||
867 | ||
868 | --[[ | |
869 | Thanks for using Build-To-Lua by jarredbcv. | |
870 | ]]-- | |
871 | ||
872 | New = function(Object, Parent, Name, Data) | |
873 | local Object = Instance.new(Object) | |
874 | for Index, Value in pairs(Data or {}) do | |
875 | Object[Index] = Value | |
876 | end | |
877 | Object.Parent = Parent | |
878 | Object.Name = Name | |
879 | return Object | |
880 | end | |
881 | ||
882 | ||
883 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),}) | |
884 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),}) | |
885 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),}) | |
886 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),}) | |
887 | ||
888 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),}) | |
889 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
890 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
891 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
892 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
893 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
894 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
895 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
896 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
897 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
898 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
899 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
900 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
901 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
902 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),}) | |
903 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
904 | ||
905 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),}) | |
906 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),}) | |
907 | ||
908 | ||
909 | ||
910 | ||
911 | for i = 1, 35 do | |
912 | local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false) | |
913 | FACE.Color = C3(0,0,0) | |
914 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE | |
915 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0)) | |
916 | end | |
917 | ||
918 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false) | |
919 | MakeForm(Eye,"Ball") | |
920 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4)) | |
921 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false) | |
922 | MakeForm(Eye,"Ball") | |
923 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4)) | |
924 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false) | |
925 | MakeForm(Eye,"Ball") | |
926 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4)) | |
927 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false) | |
928 | MakeForm(Eye,"Ball") | |
929 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4)) | |
930 | ||
931 | local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(1.01,0.3,1.01),false) | |
932 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
933 | for i = 1, 3 do | |
934 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Royal purple", "BraceletPart", VT(0.2,1.02,0.2),false) | |
935 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0)) | |
936 | MakeForm(Part,"Cyl") | |
937 | end | |
938 | for i = 1, 3 do | |
939 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really blue", "BraceletPart", VT(0.2,1.02,0.2),false) | |
940 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0)) | |
941 | MakeForm(Part,"Cyl") | |
942 | end | |
943 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really blue", "BraceletPart", VT(0.51,0.6,0.25),false) | |
944 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0)) | |
945 | MakeForm(Part,"Wedge") | |
946 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really blue", "BraceletPart", VT(0.51,0.6,0.25),false) | |
947 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0)) | |
948 | MakeForm(Part,"Wedge") | |
949 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really blue", "BraceletPart", VT(0.52,0.5,0.25/2.3),false) | |
950 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0)) | |
951 | MakeForm(Part,"Wedge") | |
952 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really blue", "BraceletPart", VT(0.52,0.5,0.25/2.3),false) | |
953 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0)) | |
954 | MakeForm(Part,"Wedge") | |
955 | ||
956 | ||
957 | local Particle = IT("ParticleEmitter",nil) | |
958 | Particle.Enabled = false | |
959 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)}) | |
960 | Particle.LightEmission = 0.5 | |
961 | Particle.Rate = 150 | |
962 | Particle.ZOffset = 0.2 | |
963 | Particle.Rotation = NumberRange.new(-180, 180) | |
964 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
965 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
966 | Particle.Color = ColorSequence.new(C3(0, 0, 255),C3(0, 0, 255)) | |
967 | ||
968 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
969 | function ParticleEmitter(Table) | |
970 | local PRTCL = Particle:Clone() | |
971 | local Speed = Table.Speed or 5 | |
972 | local Drag = Table.Drag or 0 | |
973 | local Size1 = Table.Size1 or 1 | |
974 | local Size2 = Table.Size2 or 5 | |
975 | local Lifetime1 = Table.Lifetime1 or 1 | |
976 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
977 | local Parent = Table.Parent or Torso | |
978 | local Emit = Table.Emit or 100 | |
979 | local Offset = Table.Offset or 360 | |
980 | local Acel = Table.Acel or VT(0,0,0) | |
981 | local Enabled = Table.Enabled or false | |
982 | PRTCL.Parent = Parent | |
983 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
984 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
985 | PRTCL.Speed = NumberRange.new(Speed) | |
986 | PRTCL.VelocitySpread = Offset | |
987 | PRTCL.Drag = Drag | |
988 | PRTCL.Acceleration = Acel | |
989 | if Enabled == false then | |
990 | PRTCL:Emit(Emit) | |
991 | Debris:AddItem(PRTCL,Lifetime2) | |
992 | else | |
993 | PRTCL.Enabled = true | |
994 | end | |
995 | return PRTCL | |
996 | end | |
997 | ||
998 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) | |
999 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
1000 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
1001 | MakeForm(Part,"Wedge") | |
1002 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1003 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) | |
1004 | MakeForm(Part,"Wedge") | |
1005 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) | |
1006 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) | |
1007 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1008 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) | |
1009 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1010 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
1011 | MakeForm(Part,"Cyl") | |
1012 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1013 | for i = 1, 8 do | |
1014 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
1015 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1016 | end | |
1017 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) | |
1018 | MakeForm(Part,"Cyl") | |
1019 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1020 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) | |
1021 | MakeForm(Part,"Ball") | |
1022 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1023 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) | |
1024 | MakeForm(Part,"Wedge") | |
1025 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) | |
1026 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) | |
1027 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1028 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) | |
1029 | MakeForm(Part,"Cyl") | |
1030 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1031 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) | |
1032 | MakeForm(Part,"Cyl") | |
1033 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1034 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) | |
1035 | MakeForm(Part,"Cyl") | |
1036 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1037 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
1038 | MakeForm(Part,"Wedge") | |
1039 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
1040 | local LASTPART = Handle | |
1041 | for i = 1, 10 do | |
1042 | if LASTPART == Handle then | |
1043 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) | |
1044 | LASTPART = Part | |
1045 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1046 | else | |
1047 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) | |
1048 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) | |
1049 | LASTPART = Part | |
1050 | end | |
1051 | end | |
1052 | ||
1053 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) | |
1054 | MakeForm(Barrel,"Cyl") | |
1055 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1056 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) | |
1057 | MakeForm(Part,"Cyl") | |
1058 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) | |
1059 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) | |
1060 | MakeForm(Part,"Wedge") | |
1061 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1062 | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) | |
1063 | MakeForm(Hole,"Cyl") | |
1064 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0)) | |
1065 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) | |
1066 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1067 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2)) | |
1068 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) | |
1069 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1070 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2)) | |
1071 | coroutine.resume(coroutine.create(function() | |
1072 | while wait() do | |
1073 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) | |
1074 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) | |
1075 | end | |
1076 | end)) | |
1077 | ||
1078 | ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
1079 | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
1080 | ||
1081 | for _, c in pairs(Weapon:GetDescendants()) do | |
1082 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1083 | c.Material = "Glass" | |
1084 | c.Color = C3(0, 0, 255) | |
1085 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
1086 | c.Color = C3(0, 0, 255) | |
1087 | c.Material = "Neon" | |
1088 | end | |
1089 | end | |
1090 | ||
1091 | Weapon.Parent = Character | |
1092 | for _, c in pairs(Weapon:GetChildren()) do | |
1093 | if c.ClassName == "Part" then | |
1094 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1095 | end | |
1096 | end | |
1097 | ||
1098 | local SKILLTEXTCOLOR = C3(0, 0, 255) | |
1099 | local SKILLFONT = "Antique" | |
1100 | local SKILLTEXTSIZE = 7 | |
1101 | ||
1102 | Humanoid.Died:connect(function() | |
1103 | ATTACK = true | |
1104 | end) | |
1105 | ||
1106 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
1107 | --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
1108 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
1109 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
1110 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
1111 | ||
1112 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] lets go blue hell", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1") | |
1113 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2") | |
1114 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3") | |
1115 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4") | |
1116 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5") | |
1117 | ||
1118 | function printbye(Name) | |
1119 | local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "} | |
1120 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
1121 | end | |
1122 | ||
1123 | workspace.ChildAdded:connect(function(instance) | |
1124 | for BANISH = 1, #TOBANISH do | |
1125 | if TOBANISH[BANISH] ~= nil then | |
1126 | if instance.Name == TOBANISH[BANISH] then | |
1127 | coroutine.resume(coroutine.create(function() | |
1128 | printbye(instance.Name) | |
1129 | instance:ClearAllChildren() | |
1130 | Debris:AddItem(instance,0.0005) | |
1131 | end)) | |
1132 | end | |
1133 | end | |
1134 | end | |
1135 | end) | |
1136 | ||
1137 | ||
1138 | ||
1139 | ||
1140 | ||
1141 | ||
1142 | ||
1143 | for _, c in pairs(Weapon:GetChildren()) do | |
1144 | if c.ClassName == "Part" then | |
1145 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1146 | local AURA = c:Clone() | |
1147 | AURA:BreakJoints() | |
1148 | AURA.Parent = c | |
1149 | AURA.CFrame = c.CFrame | |
1150 | AURA.Size = AURA.Size*1.001 | |
1151 | AURA.Transparency = 0.8 | |
1152 | AURA.BrickColor = BRICKC"Lime green" | |
1153 | AURA.Material = "Neon" | |
1154 | weldBetween(c,AURA) | |
1155 | end | |
1156 | end | |
1157 | ||
1158 | local SKILLTEXTCOLOR = BRICKC"Really blue".Color | |
1159 | local SKILLFONT = "Bodoni" | |
1160 | local SKILLTEXTSIZE = 7 | |
1161 | ||
1162 | Humanoid.DisplayDistanceType = "None" | |
1163 | local naeeym2 = IT("BillboardGui",Character) | |
1164 | naeeym2.AlwaysOnTop = true | |
1165 | naeeym2.Size = UDim2.new(5,35,2,15) | |
1166 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1167 | naeeym2.MaxDistance = 75 | |
1168 | naeeym2.Adornee = Character.Head | |
1169 | naeeym2.Name = "Name" | |
1170 | local tecks2 = IT("TextLabel",naeeym2) | |
1171 | tecks2.BackgroundTransparency = 1 | |
1172 | tecks2.TextScaled = true | |
1173 | tecks2.BorderSizePixel = 0 | |
1174 | tecks2.Text = "" | |
1175 | tecks2.Font = "Fantasy" | |
1176 | tecks2.TextSize = 30 | |
1177 | tecks2.TextStrokeTransparency = 0 | |
1178 | tecks2.TextColor3 = C3(0,1,0) | |
1179 | tecks2.TextStrokeColor3 = C3(159/255, 111/255, 183/255) | |
1180 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1181 | tecks2.Parent = naeeym2 | |
1182 | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
1183 | MakeForm(LeftHole,"Cyl") | |
1184 | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0)) | |
1185 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false) | |
1186 | MakeForm(Eye,"Ball") | |
1187 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4)) | |
1188 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false) | |
1189 | MakeForm(Eye,"Ball") | |
1190 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4)) | |
1191 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false) | |
1192 | MakeForm(Eye,"Ball") | |
1193 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4)) | |
1194 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false) | |
1195 | MakeForm(Eye,"Ball") | |
1196 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4)) | |
1197 | local A = IT("Attachment",Torso) | |
1198 | A.Position = VT(1,1.3,0) | |
1199 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
1200 | local B = IT("Attachment",Torso) | |
1201 | B.Position = VT(-1.3,-0.6,0) | |
1202 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
1203 | local ChainLink = IT("Beam",Torso) | |
1204 | ChainLink.Texture = "rbxassetid://343533707" | |
1205 | ChainLink.Color = ColorSequence.new(C3(0, 0, 255)) | |
1206 | ChainLink.TextureSpeed = 1 | |
1207 | ChainLink.FaceCamera = true | |
1208 | ChainLink.Width0 = 1 | |
1209 | ChainLink.Width1 = 1 | |
1210 | ChainLink.TextureLength = 3 | |
1211 | ChainLink.Attachment0 = A | |
1212 | ChainLink.Attachment1 = B | |
1213 | ChainLink.CurveSize0 = 1.6 | |
1214 | ChainLink.CurveSize1 = 1.6 | |
1215 | ChainLink.FaceCamera = true | |
1216 | ChainLink.Transparency = NumberSequence.new(0) | |
1217 | local ChainLink = IT("Beam",Torso) | |
1218 | ChainLink.Texture = "rbxassetid://343533707" | |
1219 | ChainLink.Color = ColorSequence.new(C3(0, 0, 255)) | |
1220 | ChainLink.TextureSpeed = 1 | |
1221 | ChainLink.FaceCamera = true | |
1222 | ChainLink.Width0 = 1 | |
1223 | ChainLink.Width1 = 1 | |
1224 | ChainLink.TextureLength = 3 | |
1225 | ChainLink.Attachment0 = B | |
1226 | ChainLink.Attachment1 = A | |
1227 | ChainLink.CurveSize0 = 1.6 | |
1228 | ChainLink.CurveSize1 = 1.6 | |
1229 | ChainLink.FaceCamera = true | |
1230 | ChainLink.Transparency = NumberSequence.new(0) | |
1231 | local A = IT("Attachment",Torso) | |
1232 | A.Position = VT(1.3,-0.85,0) | |
1233 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
1234 | local B = IT("Attachment",Torso) | |
1235 | B.Position = VT(-1,2,0) | |
1236 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
1237 | local ChainLink = IT("Beam",Torso) | |
1238 | ChainLink.Texture = "rbxassetid://343533707" | |
1239 | ChainLink.Color = ColorSequence.new(C3(0, 0, 255)) | |
1240 | ChainLink.TextureSpeed = 1 | |
1241 | ChainLink.FaceCamera = true | |
1242 | ChainLink.Width0 = 1 | |
1243 | ChainLink.Width1 = 1 | |
1244 | ChainLink.TextureLength = 3 | |
1245 | ChainLink.Attachment0 = A | |
1246 | ChainLink.Attachment1 = B | |
1247 | ChainLink.CurveSize0 = 1.3 | |
1248 | ChainLink.CurveSize1 = 1.3 | |
1249 | ChainLink.FaceCamera = true | |
1250 | ChainLink.Transparency = NumberSequence.new(0) | |
1251 | local ChainLink = IT("Beam",Torso) | |
1252 | ChainLink.Texture = "rbxassetid://343533707" | |
1253 | ChainLink.Color = ColorSequence.new(C3(0, 0, 255)) | |
1254 | ChainLink.TextureSpeed = 1 | |
1255 | ChainLink.FaceCamera = true | |
1256 | ChainLink.Width0 = 1 | |
1257 | ChainLink.Width1 = 1 | |
1258 | ChainLink.TextureLength = 3 | |
1259 | ChainLink.Attachment0 = B | |
1260 | ChainLink.Attachment1 = A | |
1261 | ChainLink.CurveSize0 = 1.3 | |
1262 | ChainLink.CurveSize1 = 1.3 | |
1263 | ChainLink.FaceCamera = true | |
1264 | ChainLink.Transparency = NumberSequence.new(0) | |
1265 | ||
1266 | local A = IT("Attachment",RightBarrel) | |
1267 | A.Position = VT(0,-2.5,0) | |
1268 | local B = IT("Attachment",RightBarrel) | |
1269 | B.Position = VT(0,2.5,0) | |
1270 | local Trail = IT("Trail",RightBarrel) | |
1271 | Trail.Attachment0 = A | |
1272 | Trail.Attachment1 = B | |
1273 | Trail.Lifetime = 0.2 | |
1274 | Trail.Color = ColorSequence.new(BRICKC"Really blue".Color) | |
1275 | Trail.Transparency = NumberSequence.new(0, 1) | |
1276 | Trail.Enabled = false | |
1277 | ||
1278 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true}) | |
1279 | PRT.LockedToPart = true | |
1280 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true}) | |
1281 | PRT.LockedToPart = true | |
1282 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true}) | |
1283 | PRT.LockedToPart = true | |
1284 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true}) | |
1285 | PRT.LockedToPart = true | |
1286 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true}) | |
1287 | PRT.LockedToPart = true | |
1288 | for _, c in pairs(Character:GetDescendants()) do | |
1289 | if c and c.Parent then | |
1290 | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then | |
1291 | local ACCESSORY = c.Parent | |
1292 | c.Parent = Character | |
1293 | if c then | |
1294 | if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then | |
1295 | weldBetween(Head,c) | |
1296 | else | |
1297 | weldBetween(Torso,c) | |
1298 | end | |
1299 | end | |
1300 | end | |
1301 | end | |
1302 | end | |
1303 | local BODY = {} | |
1304 | for _, c in pairs(Character:GetDescendants()) do | |
1305 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
1306 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
1307 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1308 | end | |
1309 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name}) | |
1310 | elseif c:IsA("JointInstance") then | |
1311 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil}) | |
1312 | end | |
1313 | end | |
1314 | function refit() | |
1315 | Character.Parent = workspace | |
1316 | for e = 1, #BODY do | |
1317 | if BODY[e] ~= nil then | |
1318 | local STUFF = BODY[e] | |
1319 | local PART = STUFF[1] | |
1320 | local PARENT = STUFF[2] | |
1321 | local MATERIAL = STUFF[3] | |
1322 | local COLOR = STUFF[4] | |
1323 | local TRANSPARENCY = STUFF[5] | |
1324 | --local SIZE = STUFF[6] | |
1325 | local NAME = STUFF[7] | |
1326 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1327 | PART.Material = MATERIAL | |
1328 | PART.Transparency = TRANSPARENCY | |
1329 | PART.Name = NAME | |
1330 | end | |
1331 | if PART.Parent ~= PARENT then | |
1332 | Humanoid:remove() | |
1333 | PART.Parent = PARENT | |
1334 | Humanoid = IT("Humanoid",Character) | |
1335 | end | |
1336 | end | |
1337 | end | |
1338 | end | |
1339 | ||
1340 | ||
1341 | local Particle = IT("ParticleEmitter",nil) | |
1342 | Particle.Enabled = false | |
1343 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)}) | |
1344 | Particle.LightEmission = 0.5 | |
1345 | Particle.Rate = 150 | |
1346 | Particle.ZOffset = 0.2 | |
1347 | Particle.Rotation = NumberRange.new(-180, 180) | |
1348 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
1349 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
1350 | Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0)) | |
1351 | ||
1352 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
1353 | function ParticleEmitter(Table) | |
1354 | local PRTCL = Particle:Clone() | |
1355 | local Speed = Table.Speed or 5 | |
1356 | local Drag = Table.Drag or 0 | |
1357 | local Size1 = Table.Size1 or 1 | |
1358 | local Size2 = Table.Size2 or 5 | |
1359 | local Lifetime1 = Table.Lifetime1 or 1 | |
1360 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
1361 | local Parent = Table.Parent or Torso | |
1362 | local Emit = Table.Emit or 100 | |
1363 | local Offset = Table.Offset or 360 | |
1364 | local Acel = Table.Acel or VT(0,0,0) | |
1365 | local Enabled = Table.Enabled or false | |
1366 | PRTCL.Parent = Parent | |
1367 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
1368 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
1369 | PRTCL.Speed = NumberRange.new(Speed) | |
1370 | PRTCL.VelocitySpread = Offset | |
1371 | PRTCL.Drag = Drag | |
1372 | PRTCL.Acceleration = Acel | |
1373 | if Enabled == false then | |
1374 | PRTCL:Emit(Emit) | |
1375 | Debris:AddItem(PRTCL,Lifetime2) | |
1376 | else | |
1377 | PRTCL.Enabled = true | |
1378 | end | |
1379 | return PRTCL | |
1380 | end | |
1381 | ||
1382 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) | |
1383 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
1384 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
1385 | MakeForm(Part,"Wedge") | |
1386 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1387 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) | |
1388 | MakeForm(Part,"Wedge") | |
1389 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) | |
1390 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) | |
1391 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1392 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) | |
1393 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1394 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
1395 | MakeForm(Part,"Cyl") | |
1396 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1397 | for i = 1, 8 do | |
1398 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
1399 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1400 | end | |
1401 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) | |
1402 | MakeForm(Part,"Cyl") | |
1403 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1404 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) | |
1405 | MakeForm(Part,"Ball") | |
1406 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1407 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) | |
1408 | MakeForm(Part,"Wedge") | |
1409 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) | |
1410 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) | |
1411 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1412 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) | |
1413 | MakeForm(Part,"Cyl") | |
1414 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1415 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) | |
1416 | MakeForm(Part,"Cyl") | |
1417 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1418 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) | |
1419 | MakeForm(Part,"Cyl") | |
1420 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1421 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
1422 | MakeForm(Part,"Wedge") | |
1423 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
1424 | local LASTPART = Handle | |
1425 | for i = 1, 10 do | |
1426 | if LASTPART == Handle then | |
1427 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) | |
1428 | LASTPART = Part | |
1429 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1430 | else | |
1431 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) | |
1432 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) | |
1433 | LASTPART = Part | |
1434 | end | |
1435 | end | |
1436 | ||
1437 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) | |
1438 | MakeForm(Barrel,"Cyl") | |
1439 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1440 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) | |
1441 | MakeForm(Part,"Cyl") | |
1442 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) | |
1443 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) | |
1444 | MakeForm(Part,"Wedge") | |
1445 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1446 | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) | |
1447 | MakeForm(Hole,"Cyl") | |
1448 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0)) | |
1449 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) | |
1450 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1451 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2)) | |
1452 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) | |
1453 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1454 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2)) | |
1455 | coroutine.resume(coroutine.create(function() | |
1456 | while wait() do | |
1457 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) | |
1458 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) | |
1459 | end | |
1460 | end)) | |
1461 | ||
1462 | ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
1463 | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
1464 | ||
1465 | for _, c in pairs(Weapon:GetDescendants()) do | |
1466 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1467 | c.Material = "Glass" | |
1468 | c.Color = C3(0,0,0) | |
1469 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
1470 | c.Color = C3(0,1,0) | |
1471 | c.Material = "Neon" | |
1472 | end | |
1473 | end | |
1474 | ||
1475 | Weapon.Parent = Character | |
1476 | for _, c in pairs(Weapon:GetChildren()) do | |
1477 | if c.ClassName == "Part" then | |
1478 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1479 | end | |
1480 | end | |
1481 | ||
1482 | local SKILLTEXTCOLOR = C3(0, 0, 255) | |
1483 | local SKILLFONT = "Antique" | |
1484 | local SKILLTEXTSIZE = 7 | |
1485 | ||
1486 | Humanoid.Died:connect(function() | |
1487 | ATTACK = true | |
1488 | end) | |
1489 | ||
1490 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
1491 | --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
1492 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
1493 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
1494 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
1495 | ]] | |
1496 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] LETS GO BLUE HELL", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1") | |
1497 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2") | |
1498 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3") | |
1499 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4") | |
1500 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5") | |
1501 | ||
1502 | function printbye(Name) | |
1503 | local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "} | |
1504 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
1505 | end | |
1506 | ||
1507 | workspace.ChildAdded:connect(function(instance) | |
1508 | for BANISH = 1, #TOBANISH do | |
1509 | if TOBANISH[BANISH] ~= nil then | |
1510 | if instance.Name == TOBANISH[BANISH] then | |
1511 | coroutine.resume(coroutine.create(function() | |
1512 | printbye(instance.Name) | |
1513 | instance:ClearAllChildren() | |
1514 | Debris:AddItem(instance,0.0005) | |
1515 | end)) | |
1516 | end | |
1517 | end | |
1518 | end | |
1519 | end) | |
1520 | ||
1521 | --//=================================\\ | |
1522 | --|| DAMAGING | |
1523 | --\\=================================// | |
1524 | ||
1525 | function Banish(Foe) | |
1526 | if Foe then | |
1527 | coroutine.resume(coroutine.create(function() | |
1528 | --if game.Players:FindFirstChild(Foe.Name) then | |
1529 | table.insert(TOBANISH,Foe.Name) | |
1530 | printbye(Foe.Name) | |
1531 | --end | |
1532 | Foe.Archivable = true | |
1533 | local CLONE = Foe:Clone() | |
1534 | Foe:Destroy() | |
1535 | CLONE.Parent = Effects | |
1536 | CLONE:BreakJoints() | |
1537 | local MATERIALS = {"Glass","Neon"} | |
1538 | for _, c in pairs(CLONE:GetDescendants()) do | |
1539 | if c:IsA("BasePart") then | |
1540 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
1541 | CreateSound(340722848, c, 10, 1, false) | |
1542 | end | |
1543 | c.Anchored = true | |
1544 | c.Transparency = c.Transparency + 0.2 | |
1545 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1546 | c.Color = C3(0,1,0) | |
1547 | if c.ClassName == "MeshPart" then | |
1548 | c.TextureID = "" | |
1549 | end | |
1550 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1551 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1552 | end | |
1553 | if c:FindFirstChildOfClass("Decal") then | |
1554 | c:FindFirstChildOfClass("Decal"):remove() | |
1555 | end | |
1556 | c.Name = "Banished" | |
1557 | c.CanCollide = false | |
1558 | else | |
1559 | c:remove() | |
1560 | end | |
1561 | end | |
1562 | local A = false | |
1563 | for i = 1, 35 do | |
1564 | if A == false then | |
1565 | A = true | |
1566 | elseif A == true then | |
1567 | A = false | |
1568 | end | |
1569 | for _, c in pairs(CLONE:GetDescendants()) do | |
1570 | if c:IsA("BasePart") then | |
1571 | c.Anchored = true | |
1572 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1573 | c.Transparency = c.Transparency + 0.8/35 | |
1574 | if A == false then | |
1575 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1576 | elseif A == true then | |
1577 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1578 | end | |
1579 | end | |
1580 | end | |
1581 | Swait() | |
1582 | end | |
1583 | CLONE:remove() | |
1584 | end)) | |
1585 | end | |
1586 | end | |
1587 | ||
1588 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
1589 | local CHILDREN = workspace:GetDescendants() | |
1590 | for index, CHILD in pairs(CHILDREN) do | |
1591 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1592 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1593 | if HUM then | |
1594 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1595 | if TORSO then | |
1596 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
1597 | if ISBANISH == true then | |
1598 | Banish(CHILD) | |
1599 | else | |
1600 | if ISBANISH == "Gravity" then | |
1601 | HUM.PlatformStand = true | |
1602 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1603 | local grav = Instance.new("BodyPosition",TORSO) | |
1604 | grav.D = 15 | |
1605 | grav.P = 20000 | |
1606 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1607 | grav.position = TORSO.Position | |
1608 | grav.Name = "V3BanishForce"..Player.Name | |
1609 | else | |
1610 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) | |
1611 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
1612 | end | |
1613 | else | |
1614 | HUM.PlatformStand = false | |
1615 | end | |
1616 | end | |
1617 | elseif ISBANISH == "Gravity" then | |
1618 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1619 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() | |
1620 | HUM.PlatformStand = false | |
1621 | end | |
1622 | end | |
1623 | end | |
1624 | end | |
1625 | end | |
1626 | end | |
1627 | end | |
1628 | ||
1629 | ||
1630 | --//=================================\\ | |
1631 | --|| ATTACK FUNCTIONS AND STUFF | |
1632 | --\\=================================// | |
1633 | ||
1634 | function Banisher_Bullet() | |
1635 | ATTACK = true | |
1636 | Rooted = false | |
1637 | for i=0, 0.4, 0.1 / Animation_Speed do | |
1638 | Swait() | |
1639 | turnto(Mouse.Hit.p) | |
1640 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1641 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
1642 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1643 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1644 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1645 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1646 | end | |
1647 | repeat | |
1648 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1649 | Swait() | |
1650 | turnto(Mouse.Hit.p) | |
1651 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1652 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
1653 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1654 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1655 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1656 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1657 | end | |
1658 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
1659 | SpawnTrail(Hole.Position,POS) | |
1660 | if HIT ~= nil then | |
1661 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
1662 | Banish(HIT.Parent) | |
1663 | end | |
1664 | end | |
1665 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0, 0, 255), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1666 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0, 0, 255), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
1667 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0, 0, 255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
1668 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0, 0, 255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
1669 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1670 | Swait() | |
1671 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1672 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed) | |
1673 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1674 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1675 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1676 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1677 | end | |
1678 | until KEYHOLD == false | |
1679 | ATTACK = false | |
1680 | Rooted = false | |
1681 | end | |
1682 | ||
1683 | function AttackTemplate() | |
1684 | ATTACK = true | |
1685 | Rooted = false | |
1686 | for i=0, 1, 0.1 / Animation_Speed do | |
1687 | Swait() | |
1688 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1689 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1690 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1691 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1692 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1693 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1694 | end | |
1695 | ATTACK = false | |
1696 | Rooted = false | |
1697 | end | |
1698 | ||
1699 | --//=================================\\ | |
1700 | --|| ASSIGN THINGS TO KEYS | |
1701 | --\\=================================// | |
1702 | ||
1703 | function MouseDown(Mouse) | |
1704 | if ATTACK == false then | |
1705 | end | |
1706 | end | |
1707 | ||
1708 | function MouseUp(Mouse) | |
1709 | HOLD = false | |
1710 | end | |
1711 | ||
1712 | function KeyDown(Key) | |
1713 | KEYHOLD = true | |
1714 | if Key == "z" and ATTACK == false then | |
1715 | Banisher_Bullet() | |
1716 | end | |
1717 | ||
1718 | if Key == "b" and ATTACK == false then | |
1719 | end | |
1720 | ||
1721 | if Key == "c" and ATTACK == false then | |
1722 | end | |
1723 | ||
1724 | if Key == "v" and ATTACK == false then | |
1725 | end | |
1726 | ||
1727 | if Key == "x" and ATTACK == false then | |
1728 | end | |
1729 | end | |
1730 | ||
1731 | function KeyUp(Key) | |
1732 | KEYHOLD = false | |
1733 | end | |
1734 | ||
1735 | Mouse.Button1Down:connect(function(NEWKEY) | |
1736 | MouseDown(NEWKEY) | |
1737 | end) | |
1738 | Mouse.Button1Up:connect(function(NEWKEY) | |
1739 | MouseUp(NEWKEY) | |
1740 | end) | |
1741 | Mouse.KeyDown:connect(function(NEWKEY) | |
1742 | KeyDown(NEWKEY) | |
1743 | end) | |
1744 | Mouse.KeyUp:connect(function(NEWKEY) | |
1745 | KeyUp(NEWKEY) | |
1746 | end) | |
1747 | ||
1748 | --//=================================\\ | |
1749 | --\\=================================// | |
1750 | ||
1751 | ||
1752 | function unanchor() | |
1753 | if UNANCHOR == true then | |
1754 | g = Character:GetChildren() | |
1755 | for i = 1, #g do | |
1756 | if g[i].ClassName == "Part" then | |
1757 | g[i].Anchored = false | |
1758 | end | |
1759 | end | |
1760 | end | |
1761 | end | |
1762 | ||
1763 | ||
1764 | --//=================================\\ | |
1765 | --|| WRAP THE WHOLE SCRIPT UP | |
1766 | --\\=================================// | |
1767 | ||
1768 | Humanoid.Changed:connect(function(Jump) | |
1769 | if Jump == "Jump" and (Disable_Jump == true) then | |
1770 | Humanoid.Jump = false | |
1771 | end | |
1772 | end) | |
1773 | ||
1774 | local CONNECT = nil | |
1775 | ||
1776 | while true do | |
1777 | Swait() | |
1778 | ANIMATE.Parent = nil | |
1779 | if Character:FindFirstChildOfClass("Humanoid") == nil then | |
1780 | Humanoid = IT("Humanoid",Character) | |
1781 | end | |
1782 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
1783 | v:Stop(); | |
1784 | end | |
1785 | SINE = SINE + CHANGE | |
1786 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
1787 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
1788 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
1789 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
1790 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
1791 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1792 | 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) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1793 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1794 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1795 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
1796 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1797 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1798 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1799 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1800 | end | |
1801 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
1802 | ANIM = "Jump" | |
1803 | if ATTACK == false then | |
1804 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1805 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1806 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1807 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1808 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1809 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1810 | end | |
1811 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
1812 | ANIM = "Fall" | |
1813 | if ATTACK == false then | |
1814 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1815 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1816 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1817 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1818 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1819 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
1820 | end | |
1821 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
1822 | ANIM = "Idle" | |
1823 | if ATTACK == false then | |
1824 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed) | |
1825 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed) | |
1826 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1827 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1828 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1829 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1830 | end | |
1831 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
1832 | ANIM = "Walk" | |
1833 | if ATTACK == false then | |
1834 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1835 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1836 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1837 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) | |
1838 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
1839 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
1840 | end | |
1841 | end | |
1842 | unanchor() | |
1843 | Humanoid.MaxHealth = "inf" | |
1844 | Humanoid.Health = "inf" | |
1845 | if Rooted == false then | |
1846 | Disable_Jump = false | |
1847 | Humanoid.WalkSpeed = Speed | |
1848 | elseif Rooted == true then | |
1849 | Disable_Jump = true | |
1850 | Humanoid.WalkSpeed = 0 | |
1851 | end | |
1852 | sick.Parent = Torso | |
1853 | sick:resume() | |
1854 | sick.Volume = 5 | |
1855 | sick.Pitch = 1 | |
1856 | sick.SoundId = "rbxassetid://1696854181" | |
1857 | sick.Name = "BanishV3Music" | |
1858 | end | |
1859 | ||
1860 | --//=================================\\ | |
1861 | --\\=================================// | |
1862 | ||
1863 | ||
1864 | ||
1865 | ||
1866 | ||
1867 | --//====================================================\\-- | |
1868 | --|| END OF SCRIPT | |
1869 | --\\====================================================//-- |