SHOW:
|
|
- or go back to the newest paste.
1 | - | script.Name = "machine gun banisher v2 maded to destroy skids" |
1 | + | script.Name = "Anti Dead Eye Made To Destroy Dead Eye Abusers" |
2 | --//====================================================\\-- | |
3 | --|| CREATED BY SHACKLUSTER | |
4 | --\\====================================================//-- | |
5 | ||
6 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
7 | local NSound = nil | |
8 | coroutine.resume(coroutine.create(function() | |
9 | NSound = Instance.new("Sound", PARENT) | |
10 | NSound.Volume = VOLUME | |
11 | NSound.Pitch = PITCH | |
12 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
13 | swait() | |
14 | NSound:play() | |
15 | game:GetService("Debris"):AddItem(NSound, 10) | |
16 | end)) | |
17 | return NSound | |
18 | end | |
19 | ||
20 | --Very lazi from here to below except the animations but who cares /shrug | |
21 | function chatfunc(text) | |
22 | local chat = coroutine.wrap(function() | |
23 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
24 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
25 | end | |
26 | local naeeym2 = Instance.new("BillboardGui",char) | |
27 | naeeym2.Size = UDim2.new(0,100,0,40) | |
28 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
29 | naeeym2.Adornee = char.Head | |
30 | naeeym2.Name = "TalkingBillBoard" | |
31 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
32 | tecks2.BackgroundTransparency = 1 | |
33 | tecks2.BorderSizePixel = 0 | |
34 | tecks2.Text = "" | |
35 | tecks2.Font = "Fantasy" | |
36 | tecks2.TextSize = 30 | |
37 | tecks2.TextStrokeTransparency = 0 | |
38 | tecks2.TextColor3 = Color3.new(255,0,0) | |
39 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
40 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
41 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
42 | tecks3.BackgroundTransparency = 1 | |
43 | tecks3.BorderSizePixel = 0 | |
44 | tecks3.Text = "" | |
45 | tecks3.Font = "Fantasy" | |
46 | tecks3.TextSize = 30 | |
47 | tecks3.TextStrokeTransparency = 0 | |
48 | tecks3.TextColor3 = Color3.new(255,0,0) | |
49 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
50 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
51 | coroutine.resume(coroutine.create(function() | |
52 | while tecks3 ~= nil do | |
53 | swait() | |
54 | tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
55 | tecks3.Rotation = math.random(-3,3) | |
56 | tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0) | |
57 | tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0) | |
58 | end | |
59 | end)) | |
60 | for i = 1,string.len(text),1 do | |
61 | tecks2.Text = string.sub(text,1,i) | |
62 | tecks3.Text = string.sub(text,1,i) | |
63 | wait(0.01) | |
64 | end | |
65 | wait(2) | |
66 | for i = 1, 50 do | |
67 | swait() | |
68 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10)) | |
69 | tecks2.Rotation = tecks2.Rotation - 2 | |
70 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
71 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
72 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10)) | |
73 | tecks3.Rotation = tecks2.Rotation + 2 | |
74 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
75 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
76 | end | |
77 | naeeym2:Destroy() | |
78 | end) | |
79 | chat() | |
80 | end | |
81 | function onChatted(msg) | |
82 | chatfunc(msg) | |
83 | end | |
84 | --plr.Chatted:connect(onChatted) | |
85 | ||
86 | GlowParticle = Instance.new("ParticleEmitter",ra) | |
87 | GlowParticle.LightEmission = 0 | |
88 | GlowParticle.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0)) | |
89 | GlowParticle.Size = NumberSequence.new(0,0.6) | |
90 | GlowParticle.Rotation = NumberRange.new(0, 360) | |
91 | GlowParticle.Texture = "http://www.roblox.com/asset/?id=1523916715" | |
92 | GlowParticle.Transparency = NumberSequence.new(0,1) | |
93 | GlowParticle.LockedToPart = true | |
94 | GlowParticle.Lifetime = NumberRange.new(1) | |
95 | GlowParticle.Rate = 999 | |
96 | GlowParticle.Speed = NumberRange.new(0) | |
97 | GlowParticle.VelocitySpread = 500 | |
98 | ||
99 | function TargetSelect(person) | |
100 | local dd=coroutine.wrap(function() | |
101 | if targetted ~= person then | |
102 | targetted = person | |
103 | GlowParticle.Enabled = true | |
104 | end | |
105 | end) | |
106 | dd() | |
107 | end | |
108 | ||
109 | if targetted == nil then | |
110 | GlowParticle.Enabled = false | |
111 | end | |
112 | ||
113 | function chatfunc(text) | |
114 | local chat = coroutine.wrap(function() | |
115 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
116 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
117 | end | |
118 | local naeeym2 = Instance.new("BillboardGui",char) | |
119 | naeeym2.Size = UDim2.new(0,100,0,40) | |
120 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
121 | naeeym2.Adornee = char.Head | |
122 | naeeym2.Name = "TalkingBillBoard" | |
123 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
124 | tecks2.BackgroundTransparency = 1 | |
125 | tecks2.BorderSizePixel = 0 | |
126 | tecks2.Text = "" | |
127 | tecks2.Font = "Fantasy" | |
128 | tecks2.TextSize = 30 | |
129 | tecks2.TextStrokeTransparency = 0 | |
130 | tecks2.TextColor3 = Color3.new(255,0,0) | |
131 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
132 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
133 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
134 | tecks3.BackgroundTransparency = 1 | |
135 | tecks3.BorderSizePixel = 0 | |
136 | tecks3.Text = "" | |
137 | tecks3.Font = "Fantasy" | |
138 | tecks3.TextSize = 30 | |
139 | tecks3.TextStrokeTransparency = 0 | |
140 | tecks3.TextColor3 = Color3.new(255,0,0) | |
141 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
142 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
143 | coroutine.resume(coroutine.create(function() | |
144 | while tecks3 ~= nil do | |
145 | swait() | |
146 | tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
147 | tecks3.Rotation = math.random(-3,3) | |
148 | tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0) | |
149 | tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0) | |
150 | end | |
151 | end)) | |
152 | for i = 1,string.len(text),1 do | |
153 | tecks2.Text = string.sub(text,1,i) | |
154 | tecks3.Text = string.sub(text,1,i) | |
155 | wait(0.01) | |
156 | end | |
157 | wait(2) | |
158 | for i = 1, 50 do | |
159 | swait() | |
160 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10)) | |
161 | tecks2.Rotation = tecks2.Rotation - 2 | |
162 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
163 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
164 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10)) | |
165 | tecks3.Rotation = tecks2.Rotation + 2 | |
166 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
167 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
168 | end | |
169 | naeeym2:Destroy() | |
170 | end) | |
171 | chat() | |
172 | end | |
173 | function onChatted(msg) | |
174 | chatfunc(msg) | |
175 | end | |
176 | ||
177 | -- | |
178 | local Player = game:GetService('Players').LocalPlayer | |
179 | repeat wait() until Player.Character | |
180 | local Character = Player.Character | |
181 | ||
182 | --All The Settings for Trails in this Script | |
183 | TrailSettings = { | |
184 | Lifetime = 0.7, | |
185 | Texture = 'rbxassetid://31270182', | |
186 | --Color1 is for UpperBody and Accessories, Color2 is for Lower Body | |
187 | Color1 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Lime green').Color), | |
188 | Color2 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Lime green').Color), | |
189 | AllBody = true, | |
190 | UpperBodyOnly = false, | |
191 | LowerBodyOnly = false, | |
192 | Accessories = false, | |
193 | Extras = true, | |
194 | R15 = false, --Change to true if you're using R15 | |
195 | R15Parts = { | |
196 | 'UpperTorso', | |
197 | 'LowerTorso', | |
198 | } | |
199 | } | |
200 | ||
201 | local Trail; --Making other Trails uses this in this Script | |
202 | ||
203 | --UpperBody Function | |
204 | UpperBody = function() | |
205 | if TrailSettings.R15 == false then | |
206 | A0 = Instance.new('Attachment',Character.Torso) | |
207 | A1 = Instance.new('Attachment',Character.Head) | |
208 | A2 = Instance.new('Attachment',Character['Right Arm']) | |
209 | A3 = Instance.new('Attachment',Character['Left Arm']) | |
210 | Trail = Instance.new('Trail',Character) | |
211 | Trail.Attachment0 = A0 | |
212 | Trail.Attachment1 = A1 | |
213 | Trail.Texture = TrailSettings.Texture | |
214 | Trail.Color = TrailSettings.Color1 | |
215 | Trail.Lifetime = TrailSettings.Lifetime | |
216 | local Trail2 = Trail:Clone() | |
217 | Trail2.Parent = Character | |
218 | Trail2.Attachment1 = A2 | |
219 | local Trail3 = Trail:Clone() | |
220 | Trail3.Parent = Character | |
221 | Trail3.Attachment1 = A3 | |
222 | local Trail6 = Trail:Clone() | |
223 | Trail6.Parent = Character | |
224 | Trail6.Attachment0 = A1 | |
225 | Trail6.Attachment1 = A2 | |
226 | local Trail7 = Trail:Clone() | |
227 | Trail7.Parent = Character | |
228 | Trail7.Attachment0 = A1 | |
229 | Trail7.Attachment1 = A3 | |
230 | else | |
231 | A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]]) | |
232 | A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]]) | |
233 | A1 = Instance.new('Attachment',Character.Head) | |
234 | A2 = Instance.new('Attachment',Character['RightUpperArm']) | |
235 | A2R = Instance.new('Attachment',Character['RightLowerArm']) | |
236 | A3 = Instance.new('Attachment',Character['LeftUpperArm']) | |
237 | A3R = Instance.new('Attachment',Character['LeftLowerArm']) | |
238 | Trail = Instance.new('Trail',Character) | |
239 | Trail.Attachment0 = A0 | |
240 | Trail.Attachment1 = A1 | |
241 | Trail.Texture = TrailSettings.Texture | |
242 | Trail.Color = TrailSettings.Color1 | |
243 | Trail.Lifetime = TrailSettings.Lifetime | |
244 | local Trail2 = Trail:Clone() | |
245 | Trail2.Parent = Character | |
246 | Trail2.Attachment1 = A2 | |
247 | local Trail3 = Trail:Clone() | |
248 | Trail3.Parent = Character | |
249 | Trail3.Attachment1 = A3 | |
250 | local Trail6 = Trail:Clone() | |
251 | Trail6.Parent = Character | |
252 | Trail6.Attachment0 = A1 | |
253 | Trail6.Attachment1 = A2 | |
254 | local Trail7 = Trail:Clone() | |
255 | Trail7.Parent = Character | |
256 | Trail7.Attachment0 = A1 | |
257 | Trail7.Attachment1 = A3 | |
258 | --R15 Trails | |
259 | local Trail1R = Trail:Clone() | |
260 | Trail1R.Parent = Character | |
261 | Trail1R.Attachment1 = A2R | |
262 | local Trail2R = Trail:Clone() | |
263 | Trail2R.Parent = Character | |
264 | Trail2R.Attachment1 = A3R | |
265 | local Trail6R = Trail:Clone() | |
266 | Trail6.Parent = Character | |
267 | Trail6.Attachment0 = A1 | |
268 | Trail6.Attachment1 = A2R | |
269 | local Trail7R = Trail:Clone() | |
270 | Trail7.Parent = Character | |
271 | Trail7.Attachment0 = A1 | |
272 | Trail7.Attachment1 = A3R | |
273 | end | |
274 | end | |
275 | ||
276 | --Lower Body Function | |
277 | LowerBody = function() | |
278 | if TrailSettings.R15 == false then | |
279 | A4 = Instance.new('Attachment',Character['Right Leg']) | |
280 | A5 = Instance.new('Attachment',Character['Left Leg']) | |
281 | local Trail4 = Trail:Clone() | |
282 | Trail4.Parent = Character | |
283 | Trail4.Attachment1 = A4 | |
284 | local Trail5 = Trail:Clone() | |
285 | Trail5.Parent = Character | |
286 | Trail5.Attachment1 = A5 | |
287 | local Trail8 = Trail:Clone() | |
288 | Trail8.Parent = Character | |
289 | Trail8.Attachment0 = A2 | |
290 | Trail8.Attachment1 = A4 | |
291 | Trail8.Color = TrailSettings.Color2 | |
292 | local Trail9 = Trail:Clone() | |
293 | Trail9.Parent = Character | |
294 | Trail9.Attachment0 = A3 | |
295 | Trail9.Attachment1 = A5 | |
296 | Trail9.Color = TrailSettings.Color2 | |
297 | local FT = Trail:Clone() | |
298 | FT.Parent = Character | |
299 | FT.Attachment0 = A4 | |
300 | FT.Attachment1 = A5 | |
301 | FT.Color = TrailSettings.Color2 | |
302 | else | |
303 | A4 = Instance.new('Attachment',Character['RightLowerLeg']) | |
304 | A4R = Instance.new('Attachment',Character['RightUpperLeg']) | |
305 | A5 = Instance.new('Attachment',Character['LeftLowerLeg']) | |
306 | A5R = Instance.new('Attachment',Character['LeftUpperLeg']) | |
307 | local Trail4 = Trail:Clone() | |
308 | Trail4.Parent = Character | |
309 | Trail4.Attachment1 = A4 | |
310 | local Trail5 = Trail:Clone() | |
311 | Trail5.Parent = Character | |
312 | Trail5.Attachment1 = A5 | |
313 | local Trail8 = Trail:Clone() | |
314 | Trail8.Parent = Character | |
315 | Trail8.Attachment0 = A2 | |
316 | Trail8.Attachment1 = A4 | |
317 | Trail8.Color = TrailSettings.Color2 | |
318 | local Trail9 = Trail:Clone() | |
319 | Trail9.Parent = Character | |
320 | Trail9.Attachment0 = A3 | |
321 | Trail9.Attachment1 = A5 | |
322 | Trail9.Color = TrailSettings.Color2 | |
323 | local FT = Trail:Clone() | |
324 | FT.Parent = Character | |
325 | FT.Attachment0 = A4 | |
326 | FT.Attachment1 = A5 | |
327 | FT.Color = TrailSettings.Color2 | |
328 | --R15 Trails | |
329 | local Trail3R = Trail:Clone() | |
330 | Trail3R.Parent = Character | |
331 | Trail3R.Attachment1 = A4R | |
332 | local Trail4R = Trail:Clone() | |
333 | Trail4R.Parent = Character | |
334 | Trail4R.Attachment1 = A5R | |
335 | local Trail8 = Trail:Clone() | |
336 | Trail8.Parent = Character | |
337 | Trail8.Attachment0 = A2R | |
338 | Trail8.Attachment1 = A4R | |
339 | Trail8.Color = TrailSettings.Color2 | |
340 | local Trail9 = Trail:Clone() | |
341 | Trail9.Parent = Character | |
342 | Trail9.Attachment0 = A3R | |
343 | Trail9.Attachment1 = A5R | |
344 | Trail9.Color = TrailSettings.Color2 | |
345 | local FT2R = Trail:Clone() | |
346 | FT2R.Parent = Character | |
347 | FT2R.Attachment0 = A4R | |
348 | FT2R.Attachment1 = A5R | |
349 | FT2R.Color = TrailSettings.Color2 | |
350 | end | |
351 | end | |
352 | ||
353 | --All Body Function calling Both Functions | |
354 | AllBody = function() | |
355 | UpperBody() | |
356 | LowerBody() | |
357 | end | |
358 | ||
359 | --Checking to make sure that Only some Variables are Selected else do All Body | |
360 | if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
361 | TrailSettings.UpperBodyOnly = false | |
362 | TrailSettings.LowerBodyOnly = false | |
363 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then | |
364 | TrailSettings.UpperBodyOnly = false | |
365 | TrailSettings.LowerBodyOnly = false | |
366 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then | |
367 | TrailSettings.UpperBodyOnly = false | |
368 | TrailSettings.LowerBodyOnly = false | |
369 | elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
370 | TrailSettings.AllBody = true | |
371 | TrailSettings.UpperBodyOnly = false | |
372 | TrailSettings.LowerBodyOnly = false | |
373 | end | |
374 | ||
375 | --Call Trail Functions | |
376 | if TrailSettings.UpperBodyOnly == true then | |
377 | UpperBody() | |
378 | print('Called Upper Body Trail') | |
379 | elseif TrailSettings.LowerBodyOnly == true then | |
380 | LowerBody() | |
381 | print('Called Lower Body Trail') | |
382 | elseif TrailSettings.AllBody == true then | |
383 | AllBody() | |
384 | print('Called Full Body Trail') | |
385 | end | |
386 | ||
387 | --Trails for Accessories | |
388 | if TrailSettings.Accessories == true then | |
389 | for Index,Item in pairs(Character:GetChildren()) do | |
390 | if Item:IsA'Accessory' then | |
391 | local AA = Instance.new('Attachment',Item.Handle) | |
392 | local ATrail = Trail:Clone() | |
393 | ATrail.Parent = Character | |
394 | ATrail.Attachment1 = AA | |
395 | end | |
396 | end | |
397 | end | |
398 | ||
399 | --Extras | |
400 | if TrailSettings.Extras == true then | |
401 | --Making an Invisible Platform Part | |
402 | local a = Instance.new('Part',Character) | |
403 | a.CanCollide = false | |
404 | a.Size = Vector3.new(2,.2,2) | |
405 | a.Transparency = 1 | |
406 | ||
407 | --Constantly putting it under your feet | |
408 | if TrailSettings.R15 == false then | |
409 | spawn(function() | |
410 | game:GetService('RunService').RenderStepped:connect(function() | |
411 | a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0) | |
412 | end) | |
413 | end) | |
414 | else | |
415 | spawn(function() | |
416 | game:GetService('RunService').RenderStepped:connect(function() | |
417 | a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0) | |
418 | end) | |
419 | end) | |
420 | end | |
421 | ||
422 | --Make a Trail from both feet to the Platform | |
423 | spawn(function() | |
424 | repeat wait() until Trail | |
425 | local AB = Instance.new('Attachment',a) | |
426 | local ABT = Trail:Clone() | |
427 | ABT.Parent = Character | |
428 | ABT.Attachment0 = A4 | |
429 | ABT.Attachment1 = AB | |
430 | ABT.Color = TrailSettings.Color2 | |
431 | local ABT2 = Trail:Clone() | |
432 | ABT2.Parent = Character | |
433 | ABT2.Attachment0 = A5 | |
434 | ABT2.Attachment1 = AB | |
435 | ABT2.Color = TrailSettings.Color2 | |
436 | end) | |
437 | end | |
438 | -- | |
439 | ||
440 | ||
441 | Player = game:GetService("Players").LocalPlayer | |
442 | PlayerGui = Player.PlayerGui | |
443 | Cam = workspace.CurrentCamera | |
444 | Backpack = Player.Backpack | |
445 | repeat wait() until Player.Character | |
446 | Character = Player.Character | |
447 | repeat wait() until Player.Character:FindFirstChildOfClass("Humanoid") | |
448 | Humanoid = Character:FindFirstChildOfClass("Humanoid") | |
449 | Mouse = Player:GetMouse() | |
450 | RootPart = Character["HumanoidRootPart"] | |
451 | Torso = Character["Torso"] | |
452 | Head = Character["Head"] | |
453 | RightArm = Character["Right Arm"] | |
454 | LeftArm = Character["Left Arm"] | |
455 | RightLeg = Character["Right Leg"] | |
456 | LeftLeg = Character["Left Leg"] | |
457 | RootJoint = RootPart["RootJoint"] | |
458 | Neck = Torso["Neck"] | |
459 | RightShoulder = Torso["Right Shoulder"] | |
460 | LeftShoulder = Torso["Left Shoulder"] | |
461 | RightHip = Torso["Right Hip"] | |
462 | LeftHip = Torso["Left Hip"] | |
463 | ||
464 | IT = Instance.new | |
465 | CF = CFrame.new | |
466 | VT = Vector3.new | |
467 | RAD = math.rad | |
468 | C3 = Color3.new | |
469 | UD2 = UDim2.new | |
470 | BRICKC = BrickColor.new | |
471 | ANGLES = CFrame.Angles | |
472 | EULER = CFrame.fromEulerAnglesXYZ | |
473 | COS = math.cos | |
474 | ACOS = math.acos | |
475 | SIN = math.sin | |
476 | ASIN = math.asin | |
477 | ABS = math.abs | |
478 | MRANDOM = math.random | |
479 | FLOOR = math.floor | |
480 | ||
481 | local naeeym2 = Instance.new("BillboardGui",Character) | |
482 | naeeym2.AlwaysOnTop = true | |
483 | naeeym2.Size = UDim2.new(7,35,3,15) | |
484 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
485 | naeeym2.MaxDistance = 75 | |
486 | naeeym2.Adornee = Character.Head | |
487 | naeeym2.Name = "Name2" | |
488 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
489 | tecks2.BackgroundTransparency = 1 | |
490 | tecks2.TextScaled = true | |
491 | tecks2.BorderSizePixel = 0 | |
492 | tecks2.Text = "" | |
493 | tecks2.Font = "ArialBold" | |
494 | tecks2.TextSize = 30 | |
495 | tecks2.TextStrokeTransparency = 0 | |
496 | tecks2.TextColor3 = Color3.fromRGB(0,1,0) | |
497 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
498 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
499 | tecks2.Parent = naeeym2 | |
500 | ||
501 | local naeeym3 = Instance.new("BillboardGui",Character) | |
502 | naeeym3.AlwaysOnTop = true | |
503 | naeeym3.Size = UDim2.new(7,35,3,15) | |
504 | naeeym3.StudsOffset = Vector3.new(2,3,0) | |
505 | naeeym3.MaxDistance = 75 | |
506 | naeeym3.Adornee = Character.Head | |
507 | naeeym3.Name = "Name3" | |
508 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
509 | tecks3.BackgroundTransparency = 1 | |
510 | tecks3.TextScaled = true | |
511 | tecks3.BorderSizePixel = 0 | |
512 | - | tecks3.Text = "Penien23" |
512 | + | tecks3.Text = game.Players.LocalPlayer.Name |
513 | tecks3.Font = "ArialBold" | |
514 | tecks3.TextSize = 30 | |
515 | tecks3.TextStrokeTransparency = 0 | |
516 | tecks3.TextColor3 = Color3.fromRGB(0,1,0) | |
517 | tecks3.TextStrokeColor3 = Color3.fromRGB(140, 140, 140) | |
518 | tecks3.Size = UDim2.new(0.5,0,0.2,0) | |
519 | tecks3.Parent = naeeym3 | |
520 | ||
521 | script:ClearAllChildren() | |
522 | wait(0.2) | |
523 | ||
524 | Player = game:GetService("Players").LocalPlayer | |
525 | PlayerGui = Player.PlayerGui | |
526 | Cam = workspace.CurrentCamera | |
527 | Backpack = Player.Backpack | |
528 | Character = Player.Character | |
529 | Humanoid = Character.Humanoid | |
530 | Mouse = Player:GetMouse() | |
531 | RootPart = Character["HumanoidRootPart"] | |
532 | Torso = Character["Torso"] | |
533 | Head = Character["Head"] | |
534 | RightArm = Character["Right Arm"] | |
535 | LeftArm = Character["Left Arm"] | |
536 | RightLeg = Character["Right Leg"] | |
537 | LeftLeg = Character["Left Leg"] | |
538 | RootJoint = RootPart["RootJoint"] | |
539 | Neck = Torso["Neck"] | |
540 | RightShoulder = Torso["Right Shoulder"] | |
541 | LeftShoulder = Torso["Left Shoulder"] | |
542 | RightHip = Torso["Right Hip"] | |
543 | LeftHip = Torso["Left Hip"] | |
544 | local TIME = 0 | |
545 | local sick = Instance.new("Sound",Torso) | |
546 | ||
547 | IT = Instance.new | |
548 | CF = CFrame.new | |
549 | VT = Vector3.new | |
550 | RAD = math.rad | |
551 | C3 = Color3.new | |
552 | UD2 = UDim2.new | |
553 | BRICKC = BrickColor.new | |
554 | ANGLES = CFrame.Angles | |
555 | EULER = CFrame.fromEulerAnglesXYZ | |
556 | COS = math.cos | |
557 | ACOS = math.acos | |
558 | SIN = math.sin | |
559 | ASIN = math.asin | |
560 | ABS = math.abs | |
561 | MRANDOM = math.random | |
562 | FLOOR = math.floor | |
563 | ||
564 | --//=================================\\ | |
565 | --|| USEFUL VALUES | |
566 | --\\=================================// | |
567 | ||
568 | Animation_Speed = 3 | |
569 | local FORCERESET = false | |
570 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
571 | local Speed = 16 | |
572 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
573 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
574 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
575 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
576 | local DAMAGEMULTIPLIER = 1 | |
577 | local ANIM = "Idle" | |
578 | local ATTACK = false | |
579 | local EQUIPPED = false | |
580 | local HOLD = false | |
581 | local COMBO = 1 | |
582 | local Rooted = false | |
583 | local SINE = 0 | |
584 | local KEYHOLD = false | |
585 | local CHANGE = 2 / Animation_Speed | |
586 | local WALKINGANIM = false | |
587 | local VALUE1 = false | |
588 | local VALUE2 = false | |
589 | local ROBLOXIDLEANIMATION = IT("Animation") | |
590 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
591 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
592 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
593 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
594 | WEAPONGUI.Name = "BanishV3Gui" | |
595 | local Weapon = IT("Model") | |
596 | Weapon.Name = "Adds" | |
597 | local Effects = IT("Folder", Weapon) | |
598 | Effects.Name = "Effects" | |
599 | local ANIMATOR = Humanoid.Animator | |
600 | local ANIMATE = Character:FindFirstChild("Animate") | |
601 | local UNANCHOR = true | |
602 | local TOBANISH = {} | |
603 | script.Parent = PlayerGui | |
604 | ||
605 | --//=================================\\ | |
606 | --\\=================================// | |
607 | ||
608 | ||
609 | --//=================================\\ | |
610 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
611 | --\\=================================// | |
612 | ||
613 | ArtificialHB = Instance.new("BindableEvent", script) | |
614 | ArtificialHB.Name = "ArtificialHB" | |
615 | ||
616 | script:WaitForChild("ArtificialHB") | |
617 | ||
618 | frame = Frame_Speed | |
619 | tf = 0 | |
620 | allowframeloss = false | |
621 | tossremainder = false | |
622 | lastframe = tick() | |
623 | script.ArtificialHB:Fire() | |
624 | ||
625 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
626 | tf = tf + s | |
627 | if tf >= frame then | |
628 | if allowframeloss then | |
629 | script.ArtificialHB:Fire() | |
630 | lastframe = tick() | |
631 | else | |
632 | for i = 1, math.floor(tf / frame) do | |
633 | script.ArtificialHB:Fire() | |
634 | end | |
635 | lastframe = tick() | |
636 | end | |
637 | if tossremainder then | |
638 | tf = 0 | |
639 | else | |
640 | tf = tf - frame * math.floor(tf / frame) | |
641 | end | |
642 | end | |
643 | end) | |
644 | ||
645 | --//=================================\\ | |
646 | --\\=================================// | |
647 | ||
648 | --//=================================\\ | |
649 | --|| SOME FUNCTIONS | |
650 | --\\=================================// | |
651 | ||
652 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
653 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
654 | end | |
655 | ||
656 | function PositiveAngle(NUMBER) | |
657 | if NUMBER >= 0 then | |
658 | NUMBER = 0 | |
659 | end | |
660 | return NUMBER | |
661 | end | |
662 | ||
663 | function NegativeAngle(NUMBER) | |
664 | if NUMBER <= 0 then | |
665 | NUMBER = 0 | |
666 | end | |
667 | return NUMBER | |
668 | end | |
669 | ||
670 | function Swait(NUMBER) | |
671 | if NUMBER == 0 or NUMBER == nil then | |
672 | ArtificialHB.Event:wait() | |
673 | else | |
674 | for i = 1, NUMBER do | |
675 | ArtificialHB.Event:wait() | |
676 | end | |
677 | end | |
678 | end | |
679 | ||
680 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
681 | local NEWMESH = IT(MESH) | |
682 | if MESH == "SpecialMesh" then | |
683 | NEWMESH.MeshType = MESHTYPE | |
684 | if MESHID ~= "nil" and MESHID ~= "" then | |
685 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
686 | end | |
687 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
688 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
689 | end | |
690 | end | |
691 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
692 | NEWMESH.Scale = SCALE | |
693 | NEWMESH.Parent = PARENT | |
694 | return NEWMESH | |
695 | end | |
696 | ||
697 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
698 | local NEWPART = IT("Part") | |
699 | NEWPART.formFactor = FORMFACTOR | |
700 | NEWPART.Reflectance = REFLECTANCE | |
701 | NEWPART.Transparency = TRANSPARENCY | |
702 | NEWPART.CanCollide = false | |
703 | NEWPART.Locked = true | |
704 | NEWPART.Anchored = true | |
705 | if ANCHOR == false then | |
706 | NEWPART.Anchored = false | |
707 | end | |
708 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
709 | NEWPART.Name = NAME | |
710 | NEWPART.Size = SIZE | |
711 | NEWPART.Position = Torso.Position | |
712 | NEWPART.Material = MATERIAL | |
713 | NEWPART:BreakJoints() | |
714 | NEWPART.Parent = PARENT | |
715 | return NEWPART | |
716 | end | |
717 | ||
718 | local function weldBetween(a, b) | |
719 | local weldd = Instance.new("ManualWeld") | |
720 | weldd.Part0 = a | |
721 | weldd.Part1 = b | |
722 | weldd.C0 = CFrame.new() | |
723 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
724 | weldd.Parent = a | |
725 | return weldd | |
726 | end | |
727 | ||
728 | ||
729 | function QuaternionFromCFrame(cf) | |
730 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
731 | local trace = m00 + m11 + m22 | |
732 | if trace > 0 then | |
733 | local s = math.sqrt(1 + trace) | |
734 | local recip = 0.5 / s | |
735 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
736 | else | |
737 | local i = 0 | |
738 | if m11 > m00 then | |
739 | i = 1 | |
740 | end | |
741 | if m22 > (i == 0 and m00 or m11) then | |
742 | i = 2 | |
743 | end | |
744 | if i == 0 then | |
745 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
746 | local recip = 0.5 / s | |
747 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
748 | elseif i == 1 then | |
749 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
750 | local recip = 0.5 / s | |
751 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
752 | elseif i == 2 then | |
753 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
754 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
755 | end | |
756 | end | |
757 | end | |
758 | ||
759 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
760 | local xs, ys, zs = x + x, y + y, z + z | |
761 | local wx, wy, wz = w * xs, w * ys, w * zs | |
762 | local xx = x * xs | |
763 | local xy = x * ys | |
764 | local xz = x * zs | |
765 | local yy = y * ys | |
766 | local yz = y * zs | |
767 | local zz = z * zs | |
768 | 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)) | |
769 | end | |
770 | ||
771 | function QuaternionSlerp(a, b, t) | |
772 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
773 | local startInterp, finishInterp; | |
774 | if cosTheta >= 0.0001 then | |
775 | if (1 - cosTheta) > 0.0001 then | |
776 | local theta = ACOS(cosTheta) | |
777 | local invSinTheta = 1 / SIN(theta) | |
778 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
779 | finishInterp = SIN(t * theta) * invSinTheta | |
780 | else | |
781 | startInterp = 1 - t | |
782 | finishInterp = t | |
783 | end | |
784 | else | |
785 | if (1 + cosTheta) > 0.0001 then | |
786 | local theta = ACOS(-cosTheta) | |
787 | local invSinTheta = 1 / SIN(theta) | |
788 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
789 | finishInterp = SIN(t * theta) * invSinTheta | |
790 | else | |
791 | startInterp = t - 1 | |
792 | finishInterp = t | |
793 | end | |
794 | end | |
795 | 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 | |
796 | end | |
797 | ||
798 | function Clerp(a, b, t) | |
799 | local qa = {QuaternionFromCFrame(a)} | |
800 | local qb = {QuaternionFromCFrame(b)} | |
801 | local ax, ay, az = a.x, a.y, a.z | |
802 | local bx, by, bz = b.x, b.y, b.z | |
803 | local _t = 1 - t | |
804 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
805 | end | |
806 | ||
807 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
808 | local frame = IT("Frame") | |
809 | frame.BackgroundTransparency = TRANSPARENCY | |
810 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
811 | frame.Position = POSITION | |
812 | frame.Size = SIZE | |
813 | frame.BackgroundColor3 = COLOR | |
814 | frame.BorderColor3 = BORDERCOLOR | |
815 | frame.Name = NAME | |
816 | frame.Parent = PARENT | |
817 | return frame | |
818 | end | |
819 | ||
820 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
821 | local label = IT("TextLabel") | |
822 | label.BackgroundTransparency = 1 | |
823 | label.Size = UD2(1, 0, 1, 0) | |
824 | label.Position = UD2(0, 0, 0, 0) | |
825 | label.TextColor3 = TEXTCOLOR | |
826 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
827 | label.TextTransparency = TRANSPARENCY | |
828 | label.FontSize = TEXTFONTSIZE | |
829 | label.Font = TEXTFONT | |
830 | label.BorderSizePixel = BORDERSIZEPIXEL | |
831 | label.TextScaled = false | |
832 | label.Text = TEXT | |
833 | label.Name = NAME | |
834 | label.Parent = PARENT | |
835 | return label | |
836 | end | |
837 | ||
838 | function NoOutlines(PART) | |
839 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
840 | end | |
841 | ||
842 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
843 | local NEWWELD = IT(TYPE) | |
844 | NEWWELD.Part0 = PART0 | |
845 | NEWWELD.Part1 = PART1 | |
846 | NEWWELD.C0 = C0 | |
847 | NEWWELD.C1 = C1 | |
848 | NEWWELD.Parent = PARENT | |
849 | return NEWWELD | |
850 | end | |
851 | ||
852 | local S = IT("Sound") | |
853 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
854 | local NEWSOUND = nil | |
855 | coroutine.resume(coroutine.create(function() | |
856 | NEWSOUND = S:Clone() | |
857 | NEWSOUND.Parent = PARENT | |
858 | NEWSOUND.Volume = VOLUME | |
859 | NEWSOUND.Pitch = PITCH | |
860 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
861 | NEWSOUND:play() | |
862 | if DOESLOOP == true then | |
863 | NEWSOUND.Looped = true | |
864 | else | |
865 | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT | |
866 | NEWSOUND:remove() | |
867 | end | |
868 | end)) | |
869 | return NEWSOUND | |
870 | end | |
871 | ||
872 | function CFrameFromTopBack(at, top, back) | |
873 | local right = top:Cross(back) | |
874 | 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) | |
875 | end | |
876 | ||
877 | --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}) | |
878 | function WACKYEFFECT(Table) | |
879 | local TYPE = (Table.EffectType or "Sphere") | |
880 | local SIZE = (Table.Size or VT(1,1,1)) | |
881 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
882 | local TRANSPARENCY = (Table.Transparency or 0) | |
883 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
884 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
885 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
886 | local ROTATION1 = (Table.RotationX or 0) | |
887 | local ROTATION2 = (Table.RotationY or 0) | |
888 | local ROTATION3 = (Table.RotationZ or 0) | |
889 | local MATERIAL = (Table.Material or "Neon") | |
890 | local COLOR = (Table.Color or C3(1,1,1)) | |
891 | local TIME = (Table.Time or 45) | |
892 | local SOUNDID = (Table.SoundID or nil) | |
893 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
894 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
895 | coroutine.resume(coroutine.create(function() | |
896 | local PLAYSSOUND = false | |
897 | local SOUND = nil | |
898 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
899 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
900 | PLAYSSOUND = true | |
901 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
902 | end | |
903 | EFFECT.Color = COLOR | |
904 | local MSH = nil | |
905 | if TYPE == "Sphere" then | |
906 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
907 | elseif TYPE == "Block" then | |
908 | MSH = IT("BlockMesh",EFFECT) | |
909 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
910 | elseif TYPE == "Wave" then | |
911 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
912 | elseif TYPE == "Ring" then | |
913 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
914 | elseif TYPE == "Slash" then | |
915 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
916 | elseif TYPE == "Round Slash" then | |
917 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
918 | elseif TYPE == "Swirl" then | |
919 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
920 | elseif TYPE == "Skull" then | |
921 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
922 | elseif TYPE == "Crystal" then | |
923 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
924 | end | |
925 | if MSH ~= nil then | |
926 | local MOVESPEED = nil | |
927 | if MOVEDIRECTION ~= nil then | |
928 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
929 | end | |
930 | local GROWTH = SIZE - ENDSIZE | |
931 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
932 | if TYPE == "Block" then | |
933 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
934 | else | |
935 | EFFECT.CFrame = CFRAME | |
936 | end | |
937 | for LOOP = 1, TIME+1 do | |
938 | Swait() | |
939 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
940 | if TYPE == "Wave" then | |
941 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
942 | end | |
943 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
944 | if TYPE == "Block" then | |
945 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
946 | else | |
947 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
948 | end | |
949 | if MOVEDIRECTION ~= nil then | |
950 | local ORI = EFFECT.Orientation | |
951 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
952 | EFFECT.Orientation = ORI | |
953 | end | |
954 | end | |
955 | if PLAYSSOUND == false then | |
956 | EFFECT:remove() | |
957 | else | |
958 | SOUND.Stopped:Connect(function() | |
959 | EFFECT:remove() | |
960 | end) | |
961 | end | |
962 | else | |
963 | if PLAYSSOUND == false then | |
964 | EFFECT:remove() | |
965 | else | |
966 | repeat Swait() until SOUND.Playing == false | |
967 | EFFECT:remove() | |
968 | end | |
969 | end | |
970 | end)) | |
971 | end | |
972 | ||
973 | function MakeForm(PART,TYPE) | |
974 | if TYPE == "Cyl" then | |
975 | local MSH = IT("CylinderMesh",PART) | |
976 | elseif TYPE == "Ball" then | |
977 | local MSH = IT("SpecialMesh",PART) | |
978 | MSH.MeshType = "Sphere" | |
979 | elseif TYPE == "Wedge" then | |
980 | local MSH = IT("SpecialMesh",PART) | |
981 | MSH.MeshType = "Wedge" | |
982 | end | |
983 | end | |
984 | ||
985 | function SpawnTrail(FROM,TO,BIG) | |
986 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0)) | |
987 | MakeForm(TRAIL,"Cyl") | |
988 | local DIST = (FROM - TO).Magnitude | |
989 | if BIG == true then | |
990 | TRAIL.Size = VT(10,DIST,10) | |
991 | else | |
992 | TRAIL.Size = VT(10,DIST,10) | |
993 | end | |
994 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
995 | coroutine.resume(coroutine.create(function() | |
996 | for i = 1, 5 do | |
997 | Swait() | |
998 | TRAIL.Transparency = TRAIL.Transparency + 0.1 | |
999 | end | |
1000 | TRAIL:remove() | |
1001 | end)) | |
1002 | end | |
1003 | ||
1004 | Debris = game:GetService("Debris") | |
1005 | ||
1006 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
1007 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
1008 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
1009 | end | |
1010 | ||
1011 | function turnto(position) | |
1012 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
1013 | end | |
1014 | local asd = Instance.new("ParticleEmitter") | |
1015 | asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0)) | |
1016 | asd.LightEmission = .1 | |
1017 | asd.Texture = "http://www.roblox.com/asset/?ID=291880914" | |
1018 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)}) | |
1019 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1020 | asd.Transparency = bbb | |
1021 | asd.Size = aaa | |
1022 | asd.ZOffset = .9 | |
1023 | asd.Acceleration = Vector3.new(0, -15, 0) | |
1024 | asd.LockedToPart = false | |
1025 | asd.EmissionDirection = "Back" | |
1026 | asd.Lifetime = NumberRange.new(1, 2) | |
1027 | asd.Rotation = NumberRange.new(-100, 100) | |
1028 | asd.RotSpeed = NumberRange.new(-100, 100) | |
1029 | asd.Speed = NumberRange.new(10) | |
1030 | asd.Enabled = false | |
1031 | asd.VelocitySpread = 999 | |
1032 | ||
1033 | function getbloody(victim,amount) | |
1034 | local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size) | |
1035 | PART.CFrame = victim.CFrame | |
1036 | local HITPLAYERSOUNDS = {"356551938","264486467"} | |
1037 | Debris:AddItem(PART,5) | |
1038 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
1039 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
1040 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
1041 | local prtcl = asd:Clone() | |
1042 | prtcl.Parent = PART | |
1043 | prtcl:Emit(amount*10) | |
1044 | end | |
1045 | ||
1046 | local Particle = IT("ParticleEmitter",nil) | |
1047 | Particle.Enabled = false | |
1048 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)}) | |
1049 | Particle.LightEmission = 0.5 | |
1050 | Particle.Rate = 150 | |
1051 | Particle.ZOffset = 1 | |
1052 | Particle.Rotation = NumberRange.new(-180, 180) | |
1053 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
1054 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
1055 | Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0)) | |
1056 | ||
1057 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
1058 | function ParticleEmitter(Table) | |
1059 | local PRTCL = Particle:Clone() | |
1060 | local Speed = Table.Speed or 5 | |
1061 | local Drag = Table.Drag or 0 | |
1062 | local Size1 = Table.Size1 or 1 | |
1063 | local Size2 = Table.Size2 or 5 | |
1064 | local Lifetime1 = Table.Lifetime1 or 1 | |
1065 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
1066 | local Parent = Table.Parent or Torso | |
1067 | local Emit = Table.Emit or 100 | |
1068 | local Offset = Table.Offset or 360 | |
1069 | local Acel = Table.Acel or VT(0,0,0) | |
1070 | local Enabled = Table.Enabled or false | |
1071 | PRTCL.Parent = Parent | |
1072 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
1073 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
1074 | PRTCL.Speed = NumberRange.new(Speed) | |
1075 | PRTCL.VelocitySpread = Offset | |
1076 | PRTCL.Drag = Drag | |
1077 | PRTCL.Acceleration = Acel | |
1078 | if Enabled == false then | |
1079 | PRTCL:Emit(Emit) | |
1080 | Debris:AddItem(PRTCL,Lifetime2) | |
1081 | else | |
1082 | PRTCL.Enabled = true | |
1083 | end | |
1084 | return PRTCL | |
1085 | end | |
1086 | ||
1087 | ||
1088 | --//=================================\\ | |
1089 | --|| WEAPON CREATION | |
1090 | --\\=================================// | |
1091 | ||
1092 | local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head) | |
1093 | txtfag.Adornee = suckadick | |
1094 | txtfag.Name = "kys nigga" | |
1095 | txtfag.Size = UDim2.new(2, 0, 1.2, 0) | |
1096 | txtfag.StudsOffset = Vector3.new(-5, 3, 0) | |
1097 | local textfag = Instance.new("TextLabel", txtfag) | |
1098 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
1099 | textfag.FontSize = "Size8" | |
1100 | textfag.TextScaled = true | |
1101 | textfag.TextTransparency = 0 | |
1102 | textfag.BackgroundTransparency = 1 | |
1103 | textfag.TextTransparency = 0 | |
1104 | textfag.TextStrokeTransparency = 0 | |
1105 | textfag.Font = "Cartoon" | |
1106 | textfag.TextStrokeColor3 = Color3.new(0, 1, 0) | |
1107 | v = Instance.new("Part") | |
1108 | v.Name = "ColorBrick" | |
1109 | v.Parent = part | |
1110 | v.FormFactor = "Symmetric" | |
1111 | v.Anchored = true | |
1112 | v.CanCollide = false | |
1113 | v.BottomSurface = "Smooth" | |
1114 | v.TopSurface = "Smooth" | |
1115 | v.Size = Vector3.new(10, 5, 3) | |
1116 | v.Transparency = 0.7 | |
1117 | v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor | |
1118 | v.Transparency = 1 | |
1119 | textfag.TextColor3 = v.BrickColor.Color | |
1120 | textfag.TextStrokeColor3 = Color3.new(0, 1, 0) | |
1121 | v.Shape = "Block" | |
1122 | - | textfag.Text = "I'M..." |
1122 | + | textfag.Text = "ANTI-DEAD EYE" |
1123 | wait(0.3) | |
1124 | - | textfag.Text = "HERO" |
1124 | + | |
1125 | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
1126 | - | function sandbox(var,func) |
1126 | + | |
1127 | - | local env = getfenv(func) |
1127 | + | |
1128 | - | local newenv = setmetatable({},{ |
1128 | + | |
1129 | - | __index = function(self,k) |
1129 | + | |
1130 | - | if k=="script" then |
1130 | + | |
1131 | - | return var |
1131 | + | |
1132 | MakeForm(Eye,"Ball") | |
1133 | - | return env[k] |
1133 | + | |
1134 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Black", "Eye", VT(0.1,1,1)/2,false) | |
1135 | - | end, |
1135 | + | |
1136 | - | }) |
1136 | + | |
1137 | - | setfenv(func,newenv) |
1137 | + | |
1138 | - | return func |
1138 | + | |
1139 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4)) | |
1140 | - | cors = {} |
1140 | + | |
1141 | - | mas = Instance.new("Model",game:GetService("Lighting")) |
1141 | + | |
1142 | - | Model0 = Instance.new("Model") |
1142 | + | |
1143 | - | Part1 = Instance.new("Part") |
1143 | + | |
1144 | - | Weld2 = Instance.new("Weld") |
1144 | + | |
1145 | - | Part3 = Instance.new("Part") |
1145 | + | |
1146 | - | Decal4 = Instance.new("Decal") |
1146 | + | |
1147 | - | Decal5 = Instance.new("Decal") |
1147 | + | |
1148 | - | Model0.Name = "Flagloldiefurshits" |
1148 | + | |
1149 | - | Model0.Parent = mas |
1149 | + | |
1150 | - | Part1.Name = "Stick" |
1150 | + | |
1151 | - | Part1.Parent = Model0 |
1151 | + | |
1152 | - | Part1.Material = Enum.Material.Wood |
1152 | + | |
1153 | - | Part1.BrickColor = BrickColor.new("Dark orange") |
1153 | + | |
1154 | - | Part1.Rotation = Vector3.new(0, 0, 126) |
1154 | + | |
1155 | - | Part1.Shape = Enum.PartType.Cylinder |
1155 | + | |
1156 | - | Part1.Size = Vector3.new(5.71999931, 0.319999993, 0.839999914) |
1156 | + | |
1157 | - | Part1.CFrame = CFrame.new(-11.7340431, 3.40531874, -51.7842827, -0.58777535, -0.809025586, 0, 0.809025586, -0.58777535, 0, 0, 0, 1) |
1157 | + | |
1158 | - | Part1.BottomSurface = Enum.SurfaceType.Smooth |
1158 | + | |
1159 | - | Part1.TopSurface = Enum.SurfaceType.Smooth |
1159 | + | |
1160 | - | Part1.Color = Color3.new(0.627451, 0.372549, 0.207843) |
1160 | + | |
1161 | - | Part1.Position = Vector3.new(-11.7340431, 3.40531874, -51.7842827) |
1161 | + | |
1162 | - | Part1.Orientation = Vector3.new(0, 0, 126) |
1162 | + | |
1163 | - | Part1.Color = Color3.new(0.627451, 0.372549, 0.207843) |
1163 | + | |
1164 | - | Weld2.Parent = Part1 |
1164 | + | |
1165 | - | 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) |
1165 | + | |
1166 | - | Weld2.Part0 = Part1 |
1166 | + | |
1167 | - | Weld2.Part1 = Part3 |
1167 | + | |
1168 | - | Part3.Name = "Flag" |
1168 | + | |
1169 | - | Part3.Parent = Model0 |
1169 | + | |
1170 | - | Part3.BrickColor = BrickColor.new("Lime green") |
1170 | + | |
1171 | - | Part3.Rotation = Vector3.new(0, 0, 36) |
1171 | + | |
1172 | - | Part3.Size = Vector3.new(3.32999945, 2.10000038, 0.0700000003) |
1172 | + | |
1173 | - | Part3.CFrame = CFrame.new(-14.124959, 3.81048417, -51.7742958, 0.809026122, -0.587772548, 0, 0.587772548, 0.809026122, 0, 0, 0, 1) |
1173 | + | |
1174 | - | Part3.BottomSurface = Enum.SurfaceType.Smooth |
1174 | + | |
1175 | - | Part3.Color = Color3.new(0, 0, 0) |
1175 | + | |
1176 | - | Part3.Position = Vector3.new(-14.124959, 3.81048417, -51.7742958) |
1176 | + | |
1177 | - | Part3.Orientation = Vector3.new(0, 0, 36) |
1177 | + | |
1178 | - | Part3.Color = Color3.new(0, 0, 0) |
1178 | + | |
1179 | - | Decal4.Parent = Part3 |
1179 | + | |
1180 | - | Decal4.Texture = "rbxassetid://1150731665" |
1180 | + | |
1181 | - | Decal5.Name = "Decal1" |
1181 | + | |
1182 | - | Decal5.Parent = Part3 |
1182 | + | |
1183 | - | Decal5.Texture = "rbxassetid://1150731665" |
1183 | + | |
1184 | - | Decal5.Face = Enum.NormalId.Back |
1184 | + | |
1185 | - | for i,v in pairs(mas:GetChildren()) do |
1185 | + | |
1186 | - | v.Parent = game:GetService("Players").LocalPlayer.Character |
1186 | + | |
1187 | - | pcall(function() v:MakeJoints() end) |
1187 | + | |
1188 | ChainLink.Attachment0 = A | |
1189 | - | mas:Destroy() |
1189 | + | |
1190 | - | for i,v in pairs(cors) do |
1190 | + | |
1191 | ChainLink.CurveSize1 = 1.3 | |
1192 | - | pcall(v) |
1192 | + | |
1193 | ChainLink.Transparency = NumberSequence.new(0) | |
1194 | local ChainLink = IT("Beam",Torso) | |
1195 | ChainLink.Texture = "rbxassetid://73042633" | |
1196 | ChainLink.Color = ColorSequence.new(C3(0,1,0)) | |
1197 | ChainLink.TextureSpeed = 1 | |
1198 | ChainLink.FaceCamera = true | |
1199 | ChainLink.Width0 = 1 | |
1200 | ChainLink.Width1 = 1 | |
1201 | ChainLink.TextureLength = 3 | |
1202 | ChainLink.Attachment0 = B | |
1203 | ChainLink.Attachment1 = A | |
1204 | ChainLink.CurveSize0 = 1.3 | |
1205 | ChainLink.CurveSize1 = 1.3 | |
1206 | ChainLink.FaceCamera = true | |
1207 | ChainLink.Transparency = NumberSequence.new(0) | |
1208 | ||
1209 | local A = IT("Attachment",RightBarrel) | |
1210 | A.Position = VT(0,-2.5,0) | |
1211 | local B = IT("Attachment",RightBarrel) | |
1212 | B.Position = VT(0,2.5,0) | |
1213 | local Trail = IT("Trail",RightBarrel) | |
1214 | Trail.Attachment0 = A | |
1215 | Trail.Attachment1 = B | |
1216 | Trail.Lifetime = 0.2 | |
1217 | Trail.Color = ColorSequence.new(BRICKC"Lime green".Color) | |
1218 | Trail.Transparency = NumberSequence.new(0, 1) | |
1219 | Trail.Enabled = false | |
1220 | ||
1221 | 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}) | |
1222 | PRT.LockedToPart = true | |
1223 | 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}) | |
1224 | PRT.LockedToPart = true | |
1225 | 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}) | |
1226 | PRT.LockedToPart = true | |
1227 | 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}) | |
1228 | PRT.LockedToPart = true | |
1229 | 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}) | |
1230 | PRT.LockedToPart = true | |
1231 | for _, c in pairs(Character:GetDescendants()) do | |
1232 | if c and c.Parent then | |
1233 | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then | |
1234 | local ACCESSORY = c.Parent | |
1235 | c.Parent = Character | |
1236 | if c then | |
1237 | if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then | |
1238 | weldBetween(Head,c) | |
1239 | else | |
1240 | weldBetween(Torso,c) | |
1241 | end | |
1242 | end | |
1243 | end | |
1244 | end | |
1245 | end | |
1246 | local BODY = {} | |
1247 | for _, c in pairs(Character:GetDescendants()) do | |
1248 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
1249 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
1250 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1251 | end | |
1252 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name}) | |
1253 | elseif c:IsA("JointInstance") then | |
1254 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil}) | |
1255 | end | |
1256 | end | |
1257 | function refit() | |
1258 | Character.Parent = workspace | |
1259 | for e = 1, #BODY do | |
1260 | if BODY[e] ~= nil then | |
1261 | local STUFF = BODY[e] | |
1262 | local PART = STUFF[1] | |
1263 | local PARENT = STUFF[2] | |
1264 | local MATERIAL = STUFF[3] | |
1265 | local COLOR = STUFF[4] | |
1266 | local TRANSPARENCY = STUFF[5] | |
1267 | --local SIZE = STUFF[6] | |
1268 | local NAME = STUFF[7] | |
1269 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1270 | PART.Material = MATERIAL | |
1271 | PART.Transparency = TRANSPARENCY | |
1272 | PART.Name = NAME | |
1273 | end | |
1274 | if PART.Parent ~= PARENT then | |
1275 | Humanoid:remove() | |
1276 | PART.Parent = PARENT | |
1277 | Humanoid = IT("Humanoid",Character) | |
1278 | end | |
1279 | end | |
1280 | end | |
1281 | end | |
1282 | Humanoid.Died:connect(function() | |
1283 | wait(1) | |
1284 | Banish(Character) | |
1285 | end) | |
1286 | ||
1287 | --[[ | |
1288 | Thanks for using Build-To-Lua by jarredbcv. | |
1289 | ]]-- | |
1290 | ||
1291 | New = function(Object, Parent, Name, Data) | |
1292 | local Object = Instance.new(Object) | |
1293 | for Index, Value in pairs(Data or {}) do | |
1294 | Object[Index] = Value | |
1295 | end | |
1296 | Object.Parent = Parent | |
1297 | Object.Name = Name | |
1298 | return Object | |
1299 | end | |
1300 | ||
1301 | ||
1302 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),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),}) | |
1303 | 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),}) | |
1304 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),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),}) | |
1305 | 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),}) | |
1306 | ||
1307 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),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),}) | |
1308 | 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),}) | |
1309 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),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),}) | |
1310 | 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),}) | |
1311 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),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),}) | |
1312 | 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),}) | |
1313 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),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),}) | |
1314 | 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),}) | |
1315 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),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),}) | |
1316 | 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),}) | |
1317 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),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),}) | |
1318 | 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),}) | |
1319 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),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),}) | |
1320 | 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),}) | |
1321 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),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),}) | |
1322 | 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),}) | |
1323 | ||
1324 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),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),}) | |
1325 | 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),}) | |
1326 | ||
1327 | ||
1328 | ||
1329 | for i = 1, 35 do | |
1330 | local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false) | |
1331 | FACE.Color = C3(0,0,0) | |
1332 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE | |
1333 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0)) | |
1334 | end | |
1335 | ||
1336 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Relly red", "Eye", VT(0.6,0.1,1)/2,false) | |
1337 | MakeForm(Eye,"Ball") | |
1338 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4)) | |
1339 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.6,0.1,1)/2,false) | |
1340 | MakeForm(Eye,"Ball") | |
1341 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4)) | |
1342 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Black", "Eye", VT(0.1,1,1)/2,false) | |
1343 | MakeForm(Eye,"Ball") | |
1344 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4)) | |
1345 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.1,1,1)/2,false) | |
1346 | MakeForm(Eye,"Ball") | |
1347 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4)) | |
1348 | ||
1349 | local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(1.01,0.3,1.01),false) | |
1350 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1351 | for i = 1, 3 do | |
1352 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Royal purple", "BraceletPart", VT(0.2,1.02,0.2),false) | |
1353 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0)) | |
1354 | MakeForm(Part,"Cyl") | |
1355 | end | |
1356 | for i = 1, 3 do | |
1357 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(0.2,1.02,0.2),false) | |
1358 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0)) | |
1359 | MakeForm(Part,"Cyl") | |
1360 | end | |
1361 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(0.51,0.6,0.25),false) | |
1362 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0)) | |
1363 | MakeForm(Part,"Wedge") | |
1364 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(0.51,0.6,0.25),false) | |
1365 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0)) | |
1366 | MakeForm(Part,"Wedge") | |
1367 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(0.52,0.5,0.25/2.3),false) | |
1368 | 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)) | |
1369 | MakeForm(Part,"Wedge") | |
1370 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(0.52,0.5,0.25/2.3),false) | |
1371 | 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)) | |
1372 | MakeForm(Part,"Wedge") | |
1373 | ||
1374 | ||
1375 | ||
1376 | ||
1377 | ||
1378 | ||
1379 | ||
1380 | for _, c in pairs(Weapon:GetChildren()) do | |
1381 | if c.ClassName == "Part" then | |
1382 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1383 | local AURA = c:Clone() | |
1384 | AURA:BreakJoints() | |
1385 | AURA.Parent = c | |
1386 | AURA.CFrame = c.CFrame | |
1387 | AURA.Size = AURA.Size*1.001 | |
1388 | AURA.Transparency = 0.8 | |
1389 | AURA.BrickColor = BRICKC"Lime green" | |
1390 | AURA.Material = "Neon" | |
1391 | weldBetween(c,AURA) | |
1392 | end | |
1393 | end | |
1394 | ||
1395 | local SKILLTEXTCOLOR = BRICKC"Lime green".Color | |
1396 | local SKILLFONT = "Bodoni" | |
1397 | local SKILLTEXTSIZE = 7 | |
1398 | ||
1399 | Humanoid.DisplayDistanceType = "None" | |
1400 | local naeeym2 = IT("BillboardGui",Character) | |
1401 | naeeym2.AlwaysOnTop = true | |
1402 | naeeym2.Size = UDim2.new(5,35,2,15) | |
1403 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1404 | naeeym2.MaxDistance = 75 | |
1405 | naeeym2.Adornee = Character.Head | |
1406 | naeeym2.Name = "Name" | |
1407 | local tecks2 = IT("TextLabel",naeeym2) | |
1408 | tecks2.BackgroundTransparency = 1 | |
1409 | tecks2.TextScaled = true | |
1410 | tecks2.BorderSizePixel = 0 | |
1411 | tecks2.Text = "" | |
1412 | tecks2.Font = "Fantasy" | |
1413 | tecks2.TextSize = 30 | |
1414 | tecks2.TextStrokeTransparency = 0 | |
1415 | tecks2.TextColor3 = C3(0,1,0) | |
1416 | tecks2.TextStrokeColor3 = C3(159/255, 111/255, 183/255) | |
1417 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1418 | tecks2.Parent = naeeym2 | |
1419 | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
1420 | MakeForm(LeftHole,"Cyl") | |
1421 | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0)) | |
1422 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Relly red", "Eye", VT(0.6,0.1,1)/2,false) | |
1423 | MakeForm(Eye,"Ball") | |
1424 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4)) | |
1425 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.6,0.1,1)/2,false) | |
1426 | MakeForm(Eye,"Ball") | |
1427 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4)) | |
1428 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Black", "Eye", VT(0.1,1,1)/2,false) | |
1429 | MakeForm(Eye,"Ball") | |
1430 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4)) | |
1431 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.1,1,1)/2,false) | |
1432 | MakeForm(Eye,"Ball") | |
1433 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4)) | |
1434 | local A = IT("Attachment",Torso) | |
1435 | A.Position = VT(1,1.3,0) | |
1436 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
1437 | local B = IT("Attachment",Torso) | |
1438 | B.Position = VT(-1.3,-0.6,0) | |
1439 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
1440 | local ChainLink = IT("Beam",Torso) | |
1441 | ChainLink.Texture = "rbxassetid://73042633" | |
1442 | ChainLink.Color = ColorSequence.new(C3(0,1,0)) | |
1443 | ChainLink.TextureSpeed = 1 | |
1444 | ChainLink.FaceCamera = true | |
1445 | ChainLink.Width0 = 1 | |
1446 | ChainLink.Width1 = 1 | |
1447 | ChainLink.TextureLength = 3 | |
1448 | ChainLink.Attachment0 = A | |
1449 | ChainLink.Attachment1 = B | |
1450 | ChainLink.CurveSize0 = 1.6 | |
1451 | ChainLink.CurveSize1 = 1.6 | |
1452 | ChainLink.FaceCamera = true | |
1453 | ChainLink.Transparency = NumberSequence.new(0) | |
1454 | local ChainLink = IT("Beam",Torso) | |
1455 | ChainLink.Texture = "rbxassetid://73042633" | |
1456 | ChainLink.Color = ColorSequence.new(C3(0,1,0)) | |
1457 | ChainLink.TextureSpeed = 1 | |
1458 | ChainLink.FaceCamera = true | |
1459 | ChainLink.Width0 = 1 | |
1460 | ChainLink.Width1 = 1 | |
1461 | ChainLink.TextureLength = 3 | |
1462 | ChainLink.Attachment0 = B | |
1463 | ChainLink.Attachment1 = A | |
1464 | ChainLink.CurveSize0 = 1.6 | |
1465 | ChainLink.CurveSize1 = 1.6 | |
1466 | ChainLink.FaceCamera = true | |
1467 | ChainLink.Transparency = NumberSequence.new(0) | |
1468 | local A = IT("Attachment",Torso) | |
1469 | A.Position = VT(1.3,-0.85,0) | |
1470 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
1471 | local B = IT("Attachment",Torso) | |
1472 | B.Position = VT(-1,2,0) | |
1473 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
1474 | local ChainLink = IT("Beam",Torso) | |
1475 | ChainLink.Texture = "rbxassetid://73042633" | |
1476 | ChainLink.Color = ColorSequence.new(C3(0,1,0)) | |
1477 | ChainLink.TextureSpeed = 1 | |
1478 | ChainLink.FaceCamera = true | |
1479 | ChainLink.Width0 = 1 | |
1480 | ChainLink.Width1 = 1 | |
1481 | ChainLink.TextureLength = 3 | |
1482 | ChainLink.Attachment0 = A | |
1483 | ChainLink.Attachment1 = B | |
1484 | ChainLink.CurveSize0 = 1.3 | |
1485 | ChainLink.CurveSize1 = 1.3 | |
1486 | ChainLink.FaceCamera = true | |
1487 | ChainLink.Transparency = NumberSequence.new(0) | |
1488 | local ChainLink = IT("Beam",Torso) | |
1489 | ChainLink.Texture = "rbxassetid://73042633" | |
1490 | ChainLink.Color = ColorSequence.new(C3(0,1,0)) | |
1491 | ChainLink.TextureSpeed = 1 | |
1492 | ChainLink.FaceCamera = true | |
1493 | ChainLink.Width0 = 1 | |
1494 | ChainLink.Width1 = 1 | |
1495 | ChainLink.TextureLength = 3 | |
1496 | ChainLink.Attachment0 = B | |
1497 | ChainLink.Attachment1 = A | |
1498 | ChainLink.CurveSize0 = 1.3 | |
1499 | ChainLink.CurveSize1 = 1.3 | |
1500 | ChainLink.FaceCamera = true | |
1501 | ChainLink.Transparency = NumberSequence.new(0) | |
1502 | ||
1503 | local A = IT("Attachment",RightBarrel) | |
1504 | A.Position = VT(0,-2.5,0) | |
1505 | local B = IT("Attachment",RightBarrel) | |
1506 | B.Position = VT(0,2.5,0) | |
1507 | local Trail = IT("Trail",RightBarrel) | |
1508 | Trail.Attachment0 = A | |
1509 | Trail.Attachment1 = B | |
1510 | Trail.Lifetime = 0.2 | |
1511 | Trail.Color = ColorSequence.new(BRICKC"Lime green".Color) | |
1512 | Trail.Transparency = NumberSequence.new(0, 1) | |
1513 | Trail.Enabled = false | |
1514 | ||
1515 | 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}) | |
1516 | PRT.LockedToPart = true | |
1517 | 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}) | |
1518 | PRT.LockedToPart = true | |
1519 | 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}) | |
1520 | PRT.LockedToPart = true | |
1521 | 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}) | |
1522 | PRT.LockedToPart = true | |
1523 | 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}) | |
1524 | PRT.LockedToPart = true | |
1525 | for _, c in pairs(Character:GetDescendants()) do | |
1526 | if c and c.Parent then | |
1527 | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then | |
1528 | local ACCESSORY = c.Parent | |
1529 | c.Parent = Character | |
1530 | if c then | |
1531 | if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then | |
1532 | weldBetween(Head,c) | |
1533 | else | |
1534 | weldBetween(Torso,c) | |
1535 | end | |
1536 | end | |
1537 | end | |
1538 | end | |
1539 | end | |
1540 | local BODY = {} | |
1541 | for _, c in pairs(Character:GetDescendants()) do | |
1542 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
1543 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
1544 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1545 | end | |
1546 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name}) | |
1547 | elseif c:IsA("JointInstance") then | |
1548 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil}) | |
1549 | end | |
1550 | end | |
1551 | function refit() | |
1552 | Character.Parent = workspace | |
1553 | for e = 1, #BODY do | |
1554 | if BODY[e] ~= nil then | |
1555 | local STUFF = BODY[e] | |
1556 | local PART = STUFF[1] | |
1557 | local PARENT = STUFF[2] | |
1558 | local MATERIAL = STUFF[3] | |
1559 | local COLOR = STUFF[4] | |
1560 | local TRANSPARENCY = STUFF[5] | |
1561 | --local SIZE = STUFF[6] | |
1562 | local NAME = STUFF[7] | |
1563 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1564 | PART.Material = MATERIAL | |
1565 | PART.Transparency = TRANSPARENCY | |
1566 | PART.Name = NAME | |
1567 | end | |
1568 | if PART.Parent ~= PARENT then | |
1569 | Humanoid:remove() | |
1570 | PART.Parent = PARENT | |
1571 | Humanoid = IT("Humanoid",Character) | |
1572 | end | |
1573 | end | |
1574 | end | |
1575 | end | |
1576 | ||
1577 | ||
1578 | local Particle = IT("ParticleEmitter",nil) | |
1579 | Particle.Enabled = false | |
1580 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)}) | |
1581 | Particle.LightEmission = 0.5 | |
1582 | Particle.Rate = 150 | |
1583 | Particle.ZOffset = 0.2 | |
1584 | Particle.Rotation = NumberRange.new(-180, 180) | |
1585 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
1586 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
1587 | Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0)) | |
1588 | ||
1589 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
1590 | function ParticleEmitter(Table) | |
1591 | local PRTCL = Particle:Clone() | |
1592 | local Speed = Table.Speed or 5 | |
1593 | local Drag = Table.Drag or 0 | |
1594 | local Size1 = Table.Size1 or 1 | |
1595 | local Size2 = Table.Size2 or 5 | |
1596 | local Lifetime1 = Table.Lifetime1 or 1 | |
1597 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
1598 | local Parent = Table.Parent or Torso | |
1599 | local Emit = Table.Emit or 100 | |
1600 | local Offset = Table.Offset or 360 | |
1601 | local Acel = Table.Acel or VT(0,0,0) | |
1602 | local Enabled = Table.Enabled or false | |
1603 | PRTCL.Parent = Parent | |
1604 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
1605 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
1606 | PRTCL.Speed = NumberRange.new(Speed) | |
1607 | PRTCL.VelocitySpread = Offset | |
1608 | PRTCL.Drag = Drag | |
1609 | PRTCL.Acceleration = Acel | |
1610 | if Enabled == false then | |
1611 | PRTCL:Emit(Emit) | |
1612 | Debris:AddItem(PRTCL,Lifetime2) | |
1613 | else | |
1614 | PRTCL.Enabled = true | |
1615 | end | |
1616 | return PRTCL | |
1617 | end | |
1618 | ||
1619 | local Handle = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,1.2,0.2),false) | |
1620 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0)) | |
1621 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.8,0.2),false) | |
1622 | MakeForm(Part,"Wedge") | |
1623 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1624 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.3,0.5,0.6),false) | |
1625 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1626 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.4,0.4,0.4),false) | |
1627 | MakeForm(Part,"Cyl") | |
1628 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1629 | for i = 1, 8 do | |
1630 | local Piece = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Eye", VT(0,0.35,0.41),false) | |
1631 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1632 | end | |
1633 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.5,0.2),false) | |
1634 | MakeForm(Part,"Wedge") | |
1635 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
1636 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Eye", VT(0.39,0.41,0.39),false) | |
1637 | MakeForm(Part,"Cyl") | |
1638 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1639 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.3,0.5,0.5),false) | |
1640 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1641 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.3,0.4,0.5),false) | |
1642 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1643 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0,0.6),false) | |
1644 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3)) | |
1645 | local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.28,5,0.28),false) | |
1646 | MakeForm(RightBarrel,"Cyl") | |
1647 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0)) | |
1648 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0,0.2,0.2),false) | |
1649 | MakeForm(Part,"Wedge") | |
1650 | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1651 | local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Eye", VT(0.2,0,0.2),false) | |
1652 | MakeForm(RightHole,"Cyl") | |
1653 | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0)) | |
1654 | local Handle = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,1.2,0.2),false) | |
1655 | local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0)) | |
1656 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.8,0.2),false) | |
1657 | MakeForm(Part,"Wedge") | |
1658 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1659 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.3,0.5,0.6),false) | |
1660 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1661 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.4,0.4,0.4),false) | |
1662 | MakeForm(Part,"Cyl") | |
1663 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1664 | for i = 1, 8 do | |
1665 | local Piece = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Eye", VT(0,0.35,0.41),false) | |
1666 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1667 | end | |
1668 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.5,0.2),false) | |
1669 | MakeForm(Part,"Wedge") | |
1670 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
1671 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Eye", VT(0.39,0.41,0.39),false) | |
1672 | MakeForm(Part,"Cyl") | |
1673 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1674 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.3,0.5,0.5),false) | |
1675 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1676 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.3,0.4,0.5),false) | |
1677 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1678 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0,0.6),false) | |
1679 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3)) | |
1680 | local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.28,5,0.28),false) | |
1681 | MakeForm(LeftBarrel,"Cyl") | |
1682 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0)) | |
1683 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0,0.2,0.2),false) | |
1684 | MakeForm(Part,"Wedge") | |
1685 | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1686 | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Eye", VT(0.2,0,0.2),false) | |
1687 | MakeForm(LeftHole,"Cyl") | |
1688 | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0)) | |
1689 | ||
1690 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) | |
1691 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
1692 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
1693 | MakeForm(Part,"Wedge") | |
1694 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1695 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) | |
1696 | MakeForm(Part,"Wedge") | |
1697 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) | |
1698 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) | |
1699 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1700 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) | |
1701 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1702 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
1703 | MakeForm(Part,"Cyl") | |
1704 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1705 | for i = 1, 8 do | |
1706 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
1707 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1708 | end | |
1709 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) | |
1710 | MakeForm(Part,"Cyl") | |
1711 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1712 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) | |
1713 | MakeForm(Part,"Ball") | |
1714 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1715 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) | |
1716 | MakeForm(Part,"Wedge") | |
1717 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) | |
1718 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) | |
1719 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1720 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) | |
1721 | MakeForm(Part,"Cyl") | |
1722 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1723 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) | |
1724 | MakeForm(Part,"Cyl") | |
1725 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1726 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) | |
1727 | MakeForm(Part,"Cyl") | |
1728 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1729 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
1730 | MakeForm(Part,"Wedge") | |
1731 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
1732 | local LASTPART = Handle | |
1733 | for i = 1, 10 do | |
1734 | if LASTPART == Handle then | |
1735 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) | |
1736 | LASTPART = Part | |
1737 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1738 | else | |
1739 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) | |
1740 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) | |
1741 | LASTPART = Part | |
1742 | end | |
1743 | end | |
1744 | ||
1745 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) | |
1746 | MakeForm(Barrel,"Cyl") | |
1747 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1748 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) | |
1749 | MakeForm(Part,"Cyl") | |
1750 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) | |
1751 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) | |
1752 | MakeForm(Part,"Wedge") | |
1753 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1754 | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) | |
1755 | MakeForm(Hole,"Cyl") | |
1756 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0)) | |
1757 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) | |
1758 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1759 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2)) | |
1760 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) | |
1761 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1762 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2)) | |
1763 | coroutine.resume(coroutine.create(function() | |
1764 | while wait() do | |
1765 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) | |
1766 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) | |
1767 | end | |
1768 | end)) | |
1769 | ||
1770 | 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)}) | |
1771 | --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)}) | |
1772 | ||
1773 | for _, c in pairs(Weapon:GetDescendants()) do | |
1774 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1775 | c.Material = "Glass" | |
1776 | c.Color = C3(0,0,0) | |
1777 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
1778 | c.Color = C3(0,1,0) | |
1779 | c.Material = "Neon" | |
1780 | end | |
1781 | end | |
1782 | ||
1783 | Weapon.Parent = Character | |
1784 | for _, c in pairs(Weapon:GetChildren()) do | |
1785 | if c.ClassName == "Part" then | |
1786 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1787 | end | |
1788 | end | |
1789 | ||
1790 | local SKILLTEXTCOLOR = C3(0,1,0) | |
1791 | local SKILLFONT = "Fantasy" | |
1792 | local SKILLTEXTSIZE = 6 | |
1793 | ||
1794 | ||
1795 | ||
1796 | 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") | |
1797 | 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") | |
1798 | 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") | |
1799 | 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") | |
1800 | 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") | |
1801 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
1802 | local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame") | |
1803 | ||
1804 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] SHOT!", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1") | |
1805 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] MORNING STAR!", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2") | |
1806 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] DEATH BOUND!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3") | |
1807 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] WARP!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4") | |
1808 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] DASH!", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5") | |
1809 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Y] AUTO AIM SHOT!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6") | |
1810 | local SKILL7TEXT = CreateLabel(SKILL7FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7") | |
1811 | ||
1812 | function printbye(Name) | |
1813 | 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, "} | |
1814 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
1815 | end | |
1816 | ||
1817 | workspace.ChildAdded:connect(function(instance) | |
1818 | for BANISH = 1, #TOBANISH do | |
1819 | if TOBANISH[BANISH] ~= nil then | |
1820 | if instance.Name == TOBANISH[BANISH] then | |
1821 | coroutine.resume(coroutine.create(function() | |
1822 | printbye(instance.Name) | |
1823 | instance:ClearAllChildren() | |
1824 | Debris:AddItem(instance,0.0005) | |
1825 | end)) | |
1826 | end | |
1827 | end | |
1828 | end | |
1829 | end) | |
1830 | ||
1831 | --//=================================\\ | |
1832 | --|| DAMAGING | |
1833 | --\\=================================// | |
1834 | ||
1835 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1836 | if hit.Parent == nil then | |
1837 | return | |
1838 | end | |
1839 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1840 | for _, v in pairs(hit.Parent:children()) do | |
1841 | if v:IsA("Humanoid") then | |
1842 | h = v | |
1843 | end | |
1844 | end | |
1845 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
1846 | ||
1847 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
1848 | end | |
1849 | ||
1850 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
1851 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
1852 | if hit.Parent.DebounceHit.Value == true then | |
1853 | return | |
1854 | end | |
1855 | end | |
1856 | if insta == true then | |
1857 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
1858 | end | |
1859 | local c = Create("ObjectValue"){ | |
1860 | Name = "creator", | |
1861 | Value = game:service("Players").LocalPlayer, | |
1862 | Parent = h, | |
1863 | - | refit() |
1863 | + | |
1864 | game:GetService("Debris"):AddItem(c, .5) | |
1865 | if HitSound ~= nil and HitPitch ~= nil then | |
1866 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1867 | end | |
1868 | local Damage = math.random(minim, maxim) | |
1869 | local blocked = false | |
1870 | local block = hit.Parent:findFirstChild("Block") | |
1871 | if block ~= nil then | |
1872 | if block.className == "IntValue" then | |
1873 | if block.Value > 0 then | |
1874 | blocked = true | |
1875 | block.Value = block.Value - 1 | |
1876 | print(block.Value) | |
1877 | end | |
1878 | end | |
1879 | - | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Y] HYPER SHOT!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6") |
1879 | + | |
1880 | if blocked == false then | |
1881 | h.Health = h.Health - Damage | |
1882 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
1883 | else | |
1884 | h.Health = h.Health - (Damage / 2) | |
1885 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
1886 | end | |
1887 | if Type == "Knockdown" then | |
1888 | local hum = hit.Parent.Humanoid | |
1889 | hum.PlatformStand = true | |
1890 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1891 | swait(1) | |
1892 | HHumanoid.PlatformStand = false | |
1893 | end), hum) | |
1894 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
1895 | local bodvol = Create("BodyVelocity"){ | |
1896 | velocity = angle * knockback, | |
1897 | P = 5000, | |
1898 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1899 | Parent = hit, | |
1900 | } | |
1901 | local rl = Create("BodyAngularVelocity"){ | |
1902 | P = 3000, | |
1903 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1904 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1905 | Parent = hit, | |
1906 | } | |
1907 | game:GetService("Debris"):AddItem(bodvol, .5) | |
1908 | game:GetService("Debris"):AddItem(rl, .5) | |
1909 | elseif Type == "Normal" then | |
1910 | local vp = Create("BodyVelocity"){ | |
1911 | P = 500, | |
1912 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1913 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
1914 | } | |
1915 | if knockback > 0 then | |
1916 | vp.Parent = hit.Parent.Torso | |
1917 | end | |
1918 | game:GetService("Debris"):AddItem(vp, .5) | |
1919 | elseif Type == "Up" then | |
1920 | local bodyVelocity = Create("BodyVelocity"){ | |
1921 | velocity = Vector3.new(0, 20, 0), | |
1922 | P = 5000, | |
1923 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1924 | Parent = hit, | |
1925 | } | |
1926 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
1927 | elseif Type == "DarkUp" then | |
1928 | coroutine.resume(coroutine.create(function() | |
1929 | for i = 0, 1, 0.1 do | |
1930 | swait() | |
1931 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
1932 | end | |
1933 | end)) | |
1934 | local bodyVelocity = Create("BodyVelocity"){ | |
1935 | velocity = Vector3.new(0, 20, 0), | |
1936 | P = 5000, | |
1937 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1938 | Parent = hit, | |
1939 | } | |
1940 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1941 | elseif Type == "Snare" then | |
1942 | local bp = Create("BodyPosition"){ | |
1943 | P = 2000, | |
1944 | D = 100, | |
1945 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1946 | position = hit.Parent.Torso.Position, | |
1947 | Parent = hit.Parent.Torso, | |
1948 | } | |
1949 | game:GetService("Debris"):AddItem(bp, 1) | |
1950 | elseif Type == "Freeze" then | |
1951 | local BodPos = Create("BodyPosition"){ | |
1952 | P = 50000, | |
1953 | D = 1000, | |
1954 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1955 | position = hit.Parent.Torso.Position, | |
1956 | Parent = hit.Parent.Torso, | |
1957 | } | |
1958 | local BodGy = Create("BodyGyro") { | |
1959 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
1960 | P = 20e+003, | |
1961 | Parent = hit.Parent.Torso, | |
1962 | cframe = hit.Parent.Torso.CFrame, | |
1963 | } | |
1964 | hit.Parent.Torso.Anchored = true | |
1965 | coroutine.resume(coroutine.create(function(Part) | |
1966 | swait(1.5) | |
1967 | Part.Anchored = false | |
1968 | end), hit.Parent.Torso) | |
1969 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1970 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1971 | end | |
1972 | local debounce = Create("BoolValue"){ | |
1973 | Name = "DebounceHit", | |
1974 | Parent = hit.Parent, | |
1975 | Value = true, | |
1976 | } | |
1977 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1978 | c = Create("ObjectValue"){ | |
1979 | Name = "creator", | |
1980 | Value = Player, | |
1981 | Parent = h, | |
1982 | } | |
1983 | game:GetService("Debris"):AddItem(c, .5) | |
1984 | end | |
1985 | end | |
1986 | ||
1987 | function Kill(Char) | |
1988 | local NewCharacter = IT("Model",Effects) | |
1989 | NewCharacter.Name = "Ow im ded ;-;" | |
1990 | for _, c in pairs(Char:GetDescendants()) do | |
1991 | if c:IsA("BasePart") and c.Transparency == 0 then | |
1992 | if c.Parent == Char then | |
1993 | getbloody(c,5) | |
1994 | end | |
1995 | c:BreakJoints() | |
1996 | c.Material = "Glass" | |
1997 | c.Color = C3(0,1,0) | |
1998 | c.CanCollide = true | |
1999 | c.Transparency = 0.3 | |
2000 | if c:FindFirstChildOfClass("SpecialMesh") then | |
2001 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
2002 | end | |
2003 | if c.Name == "Head" then | |
2004 | c:ClearAllChildren() | |
2005 | c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) | |
2006 | end | |
2007 | if c.ClassName == "MeshPart" then | |
2008 | c.TextureID = "" | |
2009 | end | |
2010 | if c:FindFirstChildOfClass("BodyPosition") then | |
2011 | c:FindFirstChildOfClass("BodyPosition"):remove() | |
2012 | end | |
2013 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2014 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2015 | end | |
2016 | c.Parent = NewCharacter | |
2017 | c.Name = "DeadPart" | |
2018 | c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 | |
2019 | c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) | |
2020 | end | |
2021 | end | |
2022 | Char:remove() | |
2023 | Debris:AddItem(NewCharacter,5) | |
2024 | end | |
2025 | ||
2026 | function ApplyAoE(POSITION,RANGE,BRUTAL) | |
2027 | local CHILDREN = workspace:GetDescendants() | |
2028 | for index, CHILD in pairs(CHILDREN) do | |
2029 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2030 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2031 | if HUM then | |
2032 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2033 | if TORSO then | |
2034 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
2035 | if BRUTAL == true then | |
2036 | Kill(CHILD) | |
2037 | else | |
2038 | CHILD:BreakJoints() | |
2039 | end | |
2040 | end | |
2041 | end | |
2042 | end | |
2043 | end | |
2044 | end | |
2045 | end | |
2046 | ||
2047 | function BulletDetection(FROM,TO,BRUTAL) | |
2048 | local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character) | |
2049 | coroutine.resume(coroutine.create(function() | |
2050 | if AIMHIT ~= nil then | |
2051 | if AIMHIT.Parent ~= Character then | |
2052 | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then | |
2053 | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then | |
2054 | if BRUTAL == true then | |
2055 | Kill(AIMHIT.Parent) | |
2056 | else | |
2057 | getbloody(AIMHIT,15) | |
2058 | Banish(AIMHIT.Parent) | |
2059 | if AIMHIT.Name == "Head" then | |
2060 | AIMHIT.Name = "HEADSHOT" | |
2061 | AIMHIT:remove() | |
2062 | end | |
2063 | end | |
2064 | else | |
2065 | if BRUTAL == true then | |
2066 | Kill(AIMHIT.Parent.Parent) | |
2067 | else | |
2068 | AIMHIT.Parent.Parent:BreakJoints() | |
2069 | end | |
2070 | end | |
2071 | end | |
2072 | end | |
2073 | end | |
2074 | end)) | |
2075 | SpawnTrail(FROM,AIMPOS) | |
2076 | return AIMHIT,AIMPOS,NORMAL | |
2077 | end | |
2078 | ||
2079 | function Banish(Foe) | |
2080 | if Foe then | |
2081 | coroutine.resume(coroutine.create(function() | |
2082 | --if game.Players:FindFirstChild(Foe.Name) then | |
2083 | table.insert(TOBANISH,Foe.Name) | |
2084 | printbye(Foe.Name) | |
2085 | --end | |
2086 | Foe.Archivable = true | |
2087 | local CLONE = Foe:Clone() | |
2088 | Foe:Destroy() | |
2089 | CLONE.Parent = Effects | |
2090 | CLONE:BreakJoints() | |
2091 | local MATERIALS = {"Glass","Neon"} | |
2092 | for _, c in pairs(CLONE:GetDescendants()) do | |
2093 | if c:IsA("BasePart") then | |
2094 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
2095 | CreateSound(340722848, c, 10, 1, false) | |
2096 | end | |
2097 | c.Anchored = true | |
2098 | c.Transparency = c.Transparency + 0.2 | |
2099 | c.Material = MATERIALS[MRANDOM(1,2)] | |
2100 | c.Color = C3(0,1,0) | |
2101 | if c.ClassName == "MeshPart" then | |
2102 | c.TextureID = "" | |
2103 | end | |
2104 | if c:FindFirstChildOfClass("SpecialMesh") then | |
2105 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
2106 | end | |
2107 | if c:FindFirstChildOfClass("Decal") then | |
2108 | c:FindFirstChildOfClass("Decal"):remove() | |
2109 | end | |
2110 | c.Name = "Banished" | |
2111 | c.CanCollide = false | |
2112 | else | |
2113 | c:remove() | |
2114 | end | |
2115 | end | |
2116 | local A = false | |
2117 | for i = 1, 35 do | |
2118 | if A == false then | |
2119 | A = true | |
2120 | elseif A == true then | |
2121 | A = false | |
2122 | end | |
2123 | for _, c in pairs(CLONE:GetDescendants()) do | |
2124 | if c:IsA("BasePart") then | |
2125 | c.Anchored = true | |
2126 | c.Material = MATERIALS[MRANDOM(1,2)] | |
2127 | c.Transparency = c.Transparency + 0.8/35 | |
2128 | - | AIMHIT.Parent:BreakJoints() |
2128 | + | |
2129 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
2130 | elseif A == true then | |
2131 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
2132 | end | |
2133 | end | |
2134 | end | |
2135 | Swait() | |
2136 | end | |
2137 | CLONE:remove() | |
2138 | end)) | |
2139 | end | |
2140 | end | |
2141 | ||
2142 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
2143 | local CHILDREN = workspace:GetDescendants() | |
2144 | for index, CHILD in pairs(CHILDREN) do | |
2145 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2146 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2147 | if HUM then | |
2148 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2149 | if TORSO then | |
2150 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
2151 | if ISBANISH == true then | |
2152 | Banish(CHILD) | |
2153 | else | |
2154 | if ISBANISH == "Gravity" then | |
2155 | HUM.PlatformStand = true | |
2156 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
2157 | local grav = Instance.new("BodyPosition",TORSO) | |
2158 | grav.D = 15 | |
2159 | grav.P = 20000 | |
2160 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2161 | grav.position = TORSO.Position | |
2162 | grav.Name = "V3BanishForce"..Player.Name | |
2163 | else | |
2164 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) | |
2165 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
2166 | end | |
2167 | else | |
2168 | HUM.PlatformStand = false | |
2169 | end | |
2170 | end | |
2171 | elseif ISBANISH == "Gravity" then | |
2172 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
2173 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() | |
2174 | HUM.PlatformStand = false | |
2175 | end | |
2176 | end | |
2177 | end | |
2178 | end | |
2179 | end | |
2180 | end | |
2181 | end | |
2182 | ||
2183 | --//=================================\\ | |
2184 | --|| ATTACK FUNCTIONS AND STUFF | |
2185 | --\\=================================// | |
2186 | ||
2187 | function Colorful_Death() | |
2188 | ATTACK = true | |
2189 | Rooted = false | |
2190 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2191 | Swait() | |
2192 | turnto(Mouse.Hit.p) | |
2193 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2194 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
2195 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2196 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2197 | 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) | |
2198 | 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) | |
2199 | end | |
2200 | repeat | |
2201 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2202 | Swait() | |
2203 | turnto(Mouse.Hit.p) | |
2204 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2205 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
2206 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2207 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2208 | 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) | |
2209 | 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) | |
2210 | end | |
2211 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
2212 | SpawnTrail(Hole.Position,POS) | |
2213 | if HIT ~= nil then | |
2214 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
2215 | Banish(HIT.Parent) | |
2216 | end | |
2217 | end | |
2218 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2219 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2220 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2221 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2222 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2223 | Swait() | |
2224 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2225 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed) | |
2226 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2227 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2228 | 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) | |
2229 | 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) | |
2230 | end | |
2231 | until KEYHOLD == false | |
2232 | ATTACK = false | |
2233 | Rooted = false | |
2234 | end | |
2235 | ||
2236 | ||
2237 | function TakeOnMe() | |
2238 | Speed = 5 | |
2239 | local MEME = CreateSound(0, Effects, 2, 1, false) | |
2240 | ATTACK = true | |
2241 | Rooted = false | |
2242 | local DANCE = true | |
2243 | local KEY = Mouse.KeyDown:connect(function(NEWKEY) | |
2244 | if NEWKEY == "p" then | |
2245 | DANCE = false | |
2246 | end | |
2247 | end) | |
2248 | ||
2249 | --- PLAYSONG = false | |
2250 | ||
2251 | while true do | |
2252 | ||
2253 | for i = 1, 15 do | |
2254 | Swait() | |
2255 | MEME.Parent = Effects | |
2256 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2257 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2258 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2259 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2260 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2261 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2262 | end | |
2263 | if DANCE == false then | |
2264 | break | |
2265 | end | |
2266 | for i = 1, 15 do | |
2267 | Swait() | |
2268 | MEME.Parent = Effects | |
2269 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2270 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2271 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2272 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2273 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2274 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2275 | end | |
2276 | end | |
2277 | ||
2278 | KEY:Disconnect() | |
2279 | MEME:remove() | |
2280 | Speed = 25 | |
2281 | ATTACK = false | |
2282 | Rooted = false | |
2283 | end | |
2284 | ||
2285 | function RTaunt() | |
2286 | ATTACK = true | |
2287 | Rooted = true | |
2288 | local TAUNT = CreateSound(159882635, Torso, 7, 1, false) | |
2289 | repeat | |
2290 | Swait() | |
2291 | TAUNT.Parent = Torso | |
2292 | TAUNT.Playing = true | |
2293 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2294 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed) | |
2295 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2296 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2297 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2298 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2299 | until TAUNT.TimePosition >= 1.25 | |
2300 | for i=0, 1.6, 0.1 / Animation_Speed do | |
2301 | Swait() | |
2302 | TAUNT.Parent = Torso | |
2303 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed) | |
2304 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed) | |
2305 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2306 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2307 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2308 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2309 | end | |
2310 | ATTACK = false | |
2311 | Rooted = false | |
2312 | end | |
2313 | function Lock_n_Load() | |
2314 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
2315 | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
2316 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso") | |
2317 | if TORSO and HUM.Health > 0 then | |
2318 | - | PLAYSONG = false |
2318 | + | ---CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false) |
2319 | ATTACK = true | |
2320 | Rooted = true | |
2321 | local GYRO = IT("BodyGyro",RootPart) | |
2322 | GYRO.D = 175 | |
2323 | GYRO.P = 20000 | |
2324 | GYRO.MaxTorque = VT(0,40000,0) | |
2325 | if COMBO == 1 then | |
2326 | COMBO = 2 | |
2327 | for i=0, 1, 0.1 / Animation_Speed do | |
2328 | Swait() | |
2329 | GYRO.cframe = CF(RootPart.Position,TORSO.Position) | |
2330 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
2331 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) | |
2332 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2333 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2334 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2335 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2336 | end | |
2337 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2338 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2339 | CreateSound(145080998, LeftHole, 7, 1, false) | |
2340 | BulletDetection(LeftHole.Position,TORSO.Position,false) | |
2341 | for i=0, 0.4, 0.1 / Animation_Speed do | |
2342 | Swait() | |
2343 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
2344 | - | PLAYSONG = true |
2344 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) |
2345 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2346 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2347 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2348 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2349 | end | |
2350 | elseif COMBO == 2 then | |
2351 | COMBO = 1 | |
2352 | for i=0, 1, 0.1 / Animation_Speed do | |
2353 | Swait() | |
2354 | GYRO.cframe = CF(RootPart.Position,TORSO.Position) | |
2355 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed) | |
2356 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
2357 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2358 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2359 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2360 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2361 | end | |
2362 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2363 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2364 | CreateSound(145080998, RightHole, 7, 1, false) | |
2365 | BulletDetection(RightHole.Position,TORSO.Position,false) | |
2366 | for i=0, 0.4, 0.1 / Animation_Speed do | |
2367 | Swait() | |
2368 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed) | |
2369 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
2370 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2371 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2372 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2373 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2374 | end | |
2375 | end | |
2376 | GYRO:remove() | |
2377 | ATTACK = false | |
2378 | Rooted = false | |
2379 | end | |
2380 | end | |
2381 | end | |
2382 | function Morning_Star() | |
2383 | ATTACK = true | |
2384 | Rooted = true | |
2385 | ---CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false) | |
2386 | for i=0, 1, 0.1 / Animation_Speed do | |
2387 | Swait() | |
2388 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2389 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2390 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2391 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2392 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2393 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2394 | end | |
2395 | - | local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,2000,0)) |
2395 | + | |
2396 | local POS = Mouse.Hit.p | |
2397 | - | local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,0,0)) |
2397 | + | local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0)) |
2398 | MakeForm(RAY,"Cyl") | |
2399 | - | local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Strike", VT(0,0,0)) |
2399 | + | local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0)) |
2400 | MakeForm(SPHERE,"Ball") | |
2401 | local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0)) | |
2402 | MakeForm(SHIELD,"Ball") | |
2403 | SHIELD.CFrame = CF(POS) | |
2404 | RAY.CFrame = CF(POS) | |
2405 | SPHERE.CFrame = CF(POS) | |
2406 | CreateSound(440145570, SPHERE, 10, 0.8, false) | |
2407 | CreateSound(415700134, SPHERE, 10, 0.8, false) | |
2408 | - | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1000,25,1000), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
2408 | + | |
2409 | Swait() | |
2410 | - | SPHERE.Size = SPHERE.Size + VT(0.1,0.1,0.1) |
2410 | + | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
2411 | - | SHIELD.Size = SPHERE.Size + VT(0.1,0.1,0,1) |
2411 | + | |
2412 | SPHERE.Size = SPHERE.Size + VT(2,2,2) | |
2413 | SHIELD.Size = SPHERE.Size + VT(3,3,3) | |
2414 | ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true) | |
2415 | end | |
2416 | for i = 1, 45 do | |
2417 | Swait() | |
2418 | RAY.Transparency = RAY.Transparency + 1/45 | |
2419 | SPHERE.Transparency = RAY.Transparency | |
2420 | SHIELD.Transparency = SPHERE.Transparency + 1/45 | |
2421 | end | |
2422 | RAY:remove() | |
2423 | SHIELD:remove() | |
2424 | SPHERE:remove() | |
2425 | end)) | |
2426 | for i=0, 1, 0.1 / Animation_Speed do | |
2427 | Swait() | |
2428 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2429 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2430 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2431 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2432 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2433 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2434 | end | |
2435 | ATTACK = false | |
2436 | Rooted = false | |
2437 | end | |
2438 | ||
2439 | function Deathbound() | |
2440 | ATTACK = true | |
2441 | Rooted = true | |
2442 | for i=0, 1, 0.1 / Animation_Speed do | |
2443 | Swait() | |
2444 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2445 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2446 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2447 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2448 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2449 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2450 | end | |
2451 | local DONE = false | |
2452 | local GATE = nil | |
2453 | local GATESPIN = true | |
2454 | coroutine.resume(coroutine.create(function() | |
2455 | repeat | |
2456 | Swait() | |
2457 | if GATE ~= nil then | |
2458 | GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0)) | |
2459 | end | |
2460 | until GATESPIN == false | |
2461 | end)) | |
2462 | coroutine.resume(coroutine.create(function() | |
2463 | repeat | |
2464 | Swait() | |
2465 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2466 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2467 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2468 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2469 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2470 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2471 | until DONE == true | |
2472 | Swait(50) | |
2473 | for i = 1, 35 do | |
2474 | Swait(4) | |
2475 | local FIRED = false | |
2476 | local CHILDREN = workspace:GetDescendants() | |
2477 | for index, CHILD in pairs(CHILDREN) do | |
2478 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2479 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2480 | if HUM then | |
2481 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2482 | if TORSO then | |
2483 | if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then | |
2484 | local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
2485 | local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15))) | |
2486 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6}) | |
2487 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2488 | SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p) | |
2489 | Kill(CHILD) | |
2490 | FIRED = true | |
2491 | break | |
2492 | end | |
2493 | end | |
2494 | end | |
2495 | end | |
2496 | end | |
2497 | if FIRED == false then | |
2498 | local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15))) | |
2499 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6}) | |
2500 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(10,10,01), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2501 | SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p) | |
2502 | local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character) | |
2503 | if HITBOD ~= nil then | |
2504 | if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then | |
2505 | Kill(HITBOD.Parent) | |
2506 | end | |
2507 | end | |
2508 | end | |
2509 | end | |
2510 | for i = 1, 45 do | |
2511 | Swait() | |
2512 | GATE.Size = GATE.Size - VT(30,30,30) | |
2513 | end | |
2514 | GATESPIN = false | |
2515 | GATE:remove() | |
2516 | end)) | |
2517 | Swait(15) | |
2518 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
2519 | GATE = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Gate", VT(0,0,0)) | |
2520 | local DECAL = IT("Decal",GATE) | |
2521 | DECAL.Texture = "http://www.roblox.com/asset/?id=1526406096" | |
2522 | DECAL.Face = "Top" | |
2523 | GATE.CFrame = CF(HITPOS) | |
2524 | CreateSound(160772554, GATE, 7, 1.3, false) | |
2525 | for i = 1, 45 do | |
2526 | Swait() | |
2527 | GATE.Size = GATE.Size + VT(3,0,3) | |
2528 | end | |
2529 | CreateSound(145080998, RightHole, 7, 1, false) | |
2530 | CreateSound(145080998, LeftHole, 7, 1, false) | |
2531 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2532 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2533 | ATTACK = false | |
2534 | Rooted = false | |
2535 | DONE = true | |
2536 | end | |
2537 | ||
2538 | function Dash() | |
2539 | ATTACK = true | |
2540 | Rooted = false | |
2541 | local TARGET = nil | |
2542 | local TORS = nil | |
2543 | local GYRO = IT("BodyGyro",RootPart) | |
2544 | GYRO.D = 175 | |
2545 | GYRO.P = 20000 | |
2546 | GYRO.MaxTorque = VT(0,40000,0) | |
2547 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2548 | local RANGE = 5 | |
2549 | CreateSound(541909867, Torso, 7, 1, false) | |
2550 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2551 | for i=0, 1, 0.1 / Animation_Speed do | |
2552 | Swait() | |
2553 | RootPart.CFrame = RootPart.CFrame * CF(0,0,-2) | |
2554 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2555 | local CHILDREN = workspace:GetDescendants() | |
2556 | for index, CHILD in pairs(CHILDREN) do | |
2557 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2558 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2559 | if HUM then | |
2560 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2561 | if TORSO then | |
2562 | if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then | |
2563 | RANGE = (TORSO.Position - LeftHole.Position).Magnitude | |
2564 | TARGET = HUM | |
2565 | TORS = TORSO | |
2566 | end | |
2567 | end | |
2568 | end | |
2569 | end | |
2570 | end | |
2571 | if TARGET then | |
2572 | break | |
2573 | end | |
2574 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed) | |
2575 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(80)), 1 / Animation_Speed) | |
2576 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2577 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2578 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2579 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2580 | end | |
2581 | GYRO:remove() | |
2582 | if TORS and TARGET then | |
2583 | Rooted = true | |
2584 | local BODYPOSITION = IT("BodyPosition", TORS) | |
2585 | BODYPOSITION.P = 2000 | |
2586 | BODYPOSITION.D = 100 | |
2587 | BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge) | |
2588 | for i=0, 1, 0.1 / Animation_Speed do | |
2589 | Swait() | |
2590 | TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
2591 | BODYPOSITION.Position = TORS.Position | |
2592 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
2593 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) | |
2594 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2595 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2596 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2597 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2598 | end | |
2599 | for i=0, 0.4, 0.1 / Animation_Speed do | |
2600 | Swait() | |
2601 | TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
2602 | BODYPOSITION.Position = TORS.Position | |
2603 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
2604 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) | |
2605 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2606 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2607 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2608 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2609 | end | |
2610 | local LOOP = 0 | |
2611 | local LOOP2 = 0 | |
2612 | for i=0, 5, 0.1 / Animation_Speed do | |
2613 | Swait() | |
2614 | LOOP = LOOP + 1 | |
2615 | TORS.Anchored = true | |
2616 | LOOP2 = LOOP2 + 1 | |
2617 | if LOOP2 >= 5 then | |
2618 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2619 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2620 | CreateSound(145080998, RightHole, 7, 1, false) | |
2621 | SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p) | |
2622 | LOOP2 = 0 | |
2623 | getbloody(TORS,1) | |
2624 | end | |
2625 | TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
2626 | BODYPOSITION.Position = TORS.Position | |
2627 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
2628 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) | |
2629 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145 + 2 * SIN(LOOP / 12)), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2630 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2631 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2632 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2633 | end | |
2634 | BODYPOSITION:remove() | |
2635 | - | Kill(TORS.Parent) |
2635 | + | |
2636 | TORS.Anchored = false | |
2637 | Banish(TORS.Parent) | |
2638 | end | |
2639 | end | |
2640 | ATTACK = false | |
2641 | Rooted = false | |
2642 | end | |
2643 | ||
2644 | function Taunt() | |
2645 | ATTACK = true | |
2646 | Rooted = true | |
2647 | local TAUNT = CreateSound(159882303,Torso,10,1,false) | |
2648 | coroutine.resume(coroutine.create(function() | |
2649 | repeat | |
2650 | Swait() | |
2651 | 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) | |
2652 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2653 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2654 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2655 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2656 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2657 | until ATTACK == false | |
2658 | end)) | |
2659 | repeat wait() until TAUNT.Playing == false | |
2660 | ATTACK = false | |
2661 | Rooted = false | |
2662 | end | |
2663 | ||
2664 | ||
2665 | function Debree(POS,SWAIT) | |
2666 | coroutine.resume(coroutine.create(function() | |
2667 | local HOLDER = IT("Model",Effects) | |
2668 | HOLDER.Name = "Debree" | |
2669 | local HITFLOOR = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
2670 | MagicSphere(VT(15,1,15),SWAIT,CF(POS),"Reddish brown",VT(0,0,0)) | |
2671 | MagicSphere(VT(13,1,13),SWAIT,CF(POS),"Reddish brown",VT(0,0,0)) | |
2672 | MagicSphere(VT(12,1,12),SWAIT,CF(POS),"Reddish brown",VT(0,0,0)) | |
2673 | repeat Swait() until HITFLOOR ~= nil | |
2674 | local O = 0 | |
2675 | for i = 1, 18 do | |
2676 | local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3)) | |
2677 | Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
2678 | O = O - (45/4)/5+i/4 | |
2679 | coroutine.resume(coroutine.create(function() | |
2680 | Swait(SWAIT) | |
2681 | for i = 1, 60 do | |
2682 | Swait() | |
2683 | local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace) | |
2684 | Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
2685 | end | |
2686 | for i = 1, 50 do | |
2687 | Swait() | |
2688 | Part.Size = Part.Size * 0.9 | |
2689 | end | |
2690 | end)) | |
2691 | end | |
2692 | local O = 0 | |
2693 | for i = 1, 18 do | |
2694 | local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3)) | |
2695 | Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
2696 | O = O + (45/4)/5-i/4 | |
2697 | coroutine.resume(coroutine.create(function() | |
2698 | Swait(SWAIT) | |
2699 | for i = 1, 60 do | |
2700 | Swait() | |
2701 | local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace) | |
2702 | Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
2703 | end | |
2704 | for i = 1, 50 do | |
2705 | Swait() | |
2706 | Part.Size = Part.Size * 0.9 | |
2707 | end | |
2708 | end)) | |
2709 | end | |
2710 | Swait(SWAIT+110) | |
2711 | HOLDER:remove() | |
2712 | end)) | |
2713 | end | |
2714 | ||
2715 | ||
2716 | ||
2717 | ||
2718 | function WarpVector() | |
2719 | ATTACK = false | |
2720 | Rooted = true | |
2721 | ||
2722 | Debree(CF(RootPart.Position)*CF(0,-2.8,0).p,75) | |
2723 | UNANCHOR = false | |
2724 | ||
2725 | RootPart.Anchored = true | |
2726 | for i=0, 2, 0.1 / Animation_Speed do | |
2727 | Swait() | |
2728 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2729 | 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.5 / Animation_Speed) | |
2730 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2731 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2732 | 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.5 / Animation_Speed) | |
2733 | 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.5 / Animation_Speed) | |
2734 | end | |
2735 | ||
2736 | local POS = RootPart.Position | |
2737 | RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2.8,0).p,POS) | |
2738 | Debree(CF(RootPart.Position)*CF(0,-2.5,0).p,150) | |
2739 | for i=0, 2, 0.1 / Animation_Speed do | |
2740 | Swait() | |
2741 | 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) | |
2742 | 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.5 / Animation_Speed) | |
2743 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2744 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2745 | 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.5 / Animation_Speed) | |
2746 | 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.5 / Animation_Speed) | |
2747 | end | |
2748 | UNANCHOR = true | |
2749 | ATTACK = false | |
2750 | Rooted = false | |
2751 | end | |
2752 | ||
2753 | function Banisher_Bullet() | |
2754 | ATTACK = true | |
2755 | Rooted = false | |
2756 | for i=2, 2, 2 / Animation_Speed do | |
2757 | Swait() | |
2758 | turnto(Mouse.Hit.p) | |
2759 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2760 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
2761 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2762 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2763 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2764 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2765 | end | |
2766 | repeat | |
2767 | for i=0, 0.2, 0.1 / Animation_Speed do | |
2768 | Swait() | |
2769 | turnto(Mouse.Hit.p) | |
2770 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2771 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
2772 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2773 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2774 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2775 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2776 | end | |
2777 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
2778 | SpawnTrail(Hole.Position,POS) | |
2779 | if HIT ~= nil then | |
2780 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
2781 | Banish(HIT.Parent) | |
2782 | end | |
2783 | end | |
2784 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2785 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2786 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2787 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2788 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2789 | Swait() | |
2790 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2791 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
2792 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2793 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2794 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2795 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2796 | end | |
2797 | until KEYHOLD == false | |
2798 | ATTACK = false | |
2799 | Rooted = false | |
2800 | end | |
2801 | ||
2802 | function AttackTemplate() | |
2803 | ATTACK = true | |
2804 | Rooted = false | |
2805 | for i=0, 1, 0.1 / Animation_Speed do | |
2806 | Swait() | |
2807 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2808 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2809 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2810 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2811 | 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)), 2 / Animation_Speed) | |
2812 | 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)), 2 / Animation_Speed) | |
2813 | end | |
2814 | ATTACK = false | |
2815 | Rooted = false | |
2816 | end | |
2817 | ||
2818 | --//=================================\\ | |
2819 | --|| ASSIGN THINGS TO KEYS | |
2820 | --\\=================================// | |
2821 | function MouseDown(Mouse) | |
2822 | if ATTACK == false then | |
2823 | end | |
2824 | end | |
2825 | ||
2826 | function MouseUp(Mouse) | |
2827 | HOLD = false | |
2828 | end | |
2829 | ||
2830 | function KeyDown(Key) | |
2831 | KEYHOLD = true | |
2832 | if Key == "z" and ATTACK == false then | |
2833 | Banisher_Bullet() | |
2834 | end | |
2835 | ||
2836 | if Key == "v" and ATTACK == false then | |
2837 | Morning_Star() | |
2838 | end | |
2839 | ||
2840 | if Key == "b" and ATTACK == false then | |
2841 | RTaunt() | |
2842 | end | |
2843 | - | Colorful_Death() |
2843 | + | |
2844 | if Key == "y" and ATTACK == false then | |
2845 | Lock_n_Load() | |
2846 | end | |
2847 | ||
2848 | if Key == "n" and ATTACK == false then | |
2849 | TakeOnMe() | |
2850 | end | |
2851 | ||
2852 | if Key == "q" and ATTACK == false then | |
2853 | Dash() | |
2854 | end | |
2855 | ||
2856 | if Key == "t" and ATTACK == false then | |
2857 | Taunt() | |
2858 | end | |
2859 | ||
2860 | if Key == "x" and ATTACK == false then | |
2861 | Deathbound() | |
2862 | end | |
2863 | ||
2864 | if Key == "c" and ATTACK == false then | |
2865 | WarpVector() | |
2866 | end | |
2867 | end | |
2868 | ||
2869 | function KeyUp(Key) | |
2870 | KEYHOLD = false | |
2871 | end | |
2872 | ||
2873 | Mouse.Button1Down:connect(function(NEWKEY) | |
2874 | MouseDown(NEWKEY) | |
2875 | end) | |
2876 | Mouse.Button1Up:connect(function(NEWKEY) | |
2877 | MouseUp(NEWKEY) | |
2878 | end) | |
2879 | Mouse.KeyDown:connect(function(NEWKEY) | |
2880 | KeyDown(NEWKEY) | |
2881 | end) | |
2882 | Mouse.KeyUp:connect(function(NEWKEY) | |
2883 | KeyUp(NEWKEY) | |
2884 | end) | |
2885 | ||
2886 | --//=================================\\ | |
2887 | --\\=================================// | |
2888 | ||
2889 | ||
2890 | function unanchor() | |
2891 | if UNANCHOR == true then | |
2892 | g = Character:GetChildren() | |
2893 | for i = 1, #g do | |
2894 | if g[i].ClassName == "Part" then | |
2895 | g[i].Anchored = false | |
2896 | end | |
2897 | end | |
2898 | end | |
2899 | end | |
2900 | ||
2901 | ||
2902 | --//=================================\\ | |
2903 | --|| WRAP THE WHOLE SCRIPT UP | |
2904 | --\\=================================// | |
2905 | ||
2906 | Humanoid.Changed:connect(function(Jump) | |
2907 | if Jump == "Jump" and (Disable_Jump == true) then | |
2908 | Humanoid.Jump = false | |
2909 | end | |
2910 | end) | |
2911 | ||
2912 | local CONNECT = nil | |
2913 | ||
2914 | while true do | |
2915 | Swait() | |
2916 | ANIMATE.Parent = nil | |
2917 | if Character:FindFirstChildOfClass("Humanoid") == nil then | |
2918 | Humanoid = IT("Humanoid",Character) | |
2919 | end | |
2920 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
2921 | v:Stop(); | |
2922 | end | |
2923 | SINE = SINE + CHANGE | |
2924 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2925 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2926 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
2927 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
2928 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
2929 | 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) | |
2930 | 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) | |
2931 | 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) | |
2932 | 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) | |
2933 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
2934 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2935 | 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.3 / Animation_Speed) | |
2936 | 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.3 / Animation_Speed) | |
2937 | 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.3 / Animation_Speed) | |
2938 | end | |
2939 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
2940 | ANIM = "Jump" | |
2941 | if ATTACK == false then | |
2942 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2943 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2944 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed) | |
2945 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed) | |
2946 | 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.3 / Animation_Speed) | |
2947 | 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.3 / Animation_Speed) | |
2948 | end | |
2949 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
2950 | ANIM = "Fall" | |
2951 | if ATTACK == false then | |
2952 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2953 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2954 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed) | |
2955 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.3 / Animation_Speed) | |
2956 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.3 / Animation_Speed) | |
2957 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.3 / Animation_Speed) | |
2958 | end | |
2959 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2960 | ANIM = "Idle" | |
2961 | if ATTACK == false then | |
2962 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.16 / Animation_Speed) | |
2963 | 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.16 / Animation_Speed) | |
2964 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed) | |
2965 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.16 / Animation_Speed) | |
2966 | 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.16 / Animation_Speed) | |
2967 | 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.16 / Animation_Speed) | |
2968 | end | |
2969 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2970 | ANIM = "Walk" | |
2971 | if ATTACK == false then | |
2972 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.16 / Animation_Speed) | |
2973 | 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.16 / Animation_Speed) | |
2974 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.16 / Animation_Speed) | |
2975 | 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) | |
2976 | 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) | |
2977 | 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) | |
2978 | end | |
2979 | end | |
2980 | unanchor() | |
2981 | Humanoid.MaxHealth = "inf" | |
2982 | Humanoid.Health = "inf" | |
2983 | if Rooted == false then | |
2984 | Disable_Jump = false | |
2985 | Humanoid.WalkSpeed = Speed | |
2986 | elseif Rooted == true then | |
2987 | Disable_Jump = true | |
2988 | Humanoid.WalkSpeed = 0 | |
2989 | end | |
2990 | sick.Parent = Character.Torso | |
2991 | sick:resume() | |
2992 | - | sick.SoundId = "rbxassetid://383141805" |
2992 | + | |
2993 | ||
2994 | sick.SoundId = "rbxassetid://539526132" | |
2995 | sick.Name = "BanishV3Music" | |
2996 | end | |
2997 | if Head:FindFirstChild("face") then | |
2998 | Head.face.Texture = "rbxassetid://176217464" | |
2999 | end | |
3000 | ||
3001 | Humanoid.Changed:connect(function(Jump) | |
3002 | if Jump == "Jump" and (Disable_Jump == true) then | |
3003 | Humanoid.Jump = false | |
3004 | end | |
3005 | end) | |
3006 | ||
3007 | local BLINKLOOP = 0 | |
3008 | ||
3009 | while true do | |
3010 | Swait() | |
3011 | script.Parent = WEAPONGUI | |
3012 | ANIMATE.Parent = nil | |
3013 | Humanoid.Parent = Character | |
3014 | if Humanoid then | |
3015 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
3016 | IDLEANIMATION:Play() | |
3017 | end | |
3018 | SINE = SINE + CHANGE | |
3019 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
3020 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
3021 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
3022 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
3023 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
3024 | 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) | |
3025 | 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) | |
3026 | 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) | |
3027 | 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) | |
3028 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
3029 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3030 | 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) | |
3031 | 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) | |
3032 | 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) | |
3033 | end | |
3034 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
3035 | ANIM = "Jump" | |
3036 | if ATTACK == false then | |
3037 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3038 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3039 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3040 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
3041 | 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) | |
3042 | 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) | |
3043 | end | |
3044 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
3045 | ANIM = "Fall" | |
3046 | if ATTACK == false then | |
3047 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3048 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3049 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3050 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
3051 | 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) | |
3052 | 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) | |
3053 | end | |
3054 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
3055 | ANIM = "Idle" | |
3056 | if ATTACK == false then | |
3057 | 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) | |
3058 | 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) | |
3059 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3060 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
3061 | 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) | |
3062 | 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) | |
3063 | end | |
3064 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
3065 | ANIM = "Walk" | |
3066 | if ATTACK == false then | |
3067 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3068 | 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) | |
3069 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3070 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) | |
3071 | 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) | |
3072 | 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) | |
3073 | end | |
3074 | end | |
3075 | unanchor() | |
3076 | Humanoid.MaxHealth = "inf" | |
3077 | Humanoid.Health = "inf" | |
3078 | if Rooted == false then | |
3079 | Disable_Jump = false | |
3080 | Humanoid.WalkSpeed = Speed | |
3081 | elseif Rooted == true then | |
3082 | Disable_Jump = true | |
3083 | - | sick.SoundId = "rbxassetid://383141805" |
3083 | + | |
3084 | end | |
3085 | sick.SoundId = "rbxassetid://0" | |
3086 | sick.Looped = true | |
3087 | sick.Pitch = 0.9 | |
3088 | sick.Volume = 50 | |
3089 | sick.Playing = true | |
3090 | sick.Parent = Torso | |
3091 | if Head:FindFirstChild("face") then | |
3092 | Head.face.Texture = "rbxassetid://404306534" | |
3093 | end | |
3094 | BLINKLOOP = BLINKLOOP + 1 | |
3095 | - | Blink() |
3095 | + | |
3096 | BLINKLOOP = 0 | |
3097 | ---Blink() | |
3098 | end | |
3099 | if #GHOSTS>0 then | |
3100 | for e=1,#GHOSTS do | |
3101 | if GHOSTS[e]~=nil then | |
3102 | local Thing=GHOSTS[e] | |
3103 | if Thing~=nil then | |
3104 | if Thing:FindFirstChild("Head") then | |
3105 | if Thing:FindFirstChild("Head"):FindFirstChild("face") then | |
3106 | Thing:FindFirstChild("Head").face.Texture = "rbxassetid://479674570" | |
3107 | end | |
3108 | if Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound") then | |
3109 | Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound"):remove() | |
3110 | end | |
3111 | end | |
3112 | local TORSO = Thing:FindFirstChild("Torso") | |
3113 | if TORSO then | |
3114 | TORSO.Anchored = false | |
3115 | local ROOT = Thing.HumanoidRootPart | |
3116 | local RootJoint1 = ROOT:FindFirstChild("RootJoint") | |
3117 | local Neck1 = TORSO:FindFirstChild("Neck") | |
3118 | local RightShoulder1 = TORSO:FindFirstChild("Right Shoulder") | |
3119 | local LeftShoulder1 = TORSO:FindFirstChild("Left Shoulder") | |
3120 | local RightHip1 = TORSO:FindFirstChild("Right Hip") | |
3121 | local LeftHip1 = TORSO:FindFirstChild("Left Hip") | |
3122 | if ROOT and RootJoint1 then | |
3123 | local VELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude | |
3124 | if VELOCITY < 1 then | |
3125 | RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12))) | |
3126 | Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12))) | |
3127 | RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0 | |
3128 | LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0 | |
3129 | RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) | |
3130 | LeftHip1.C0 = CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) | |
3131 | elseif VELOCITY > 1 then | |
3132 | RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12))) | |
3133 | Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12))) | |
3134 | RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0 | |
3135 | LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0 | |
3136 | RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)) | |
3137 | LeftHip1.C0 = CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) | |
3138 | end | |
3139 | end | |
3140 | local Human = Thing.Humanoid | |
3141 | if Human then | |
3142 | Human.HipHeight = 0.3 | |
3143 | for _, c in pairs(Thing:GetChildren()) do | |
3144 | if c.ClassName == "Part" and c.Transparency < 1 then | |
3145 | c.Color = C3(0,0,0) | |
3146 | c.Transparency = 0.65 + 0.15 * COS(SINE / 25) | |
3147 | elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then | |
3148 | c:remove() | |
3149 | end | |
3150 | end | |
3151 | if Human then | |
3152 | local IDLEANIMATION = Human:LoadAnimation(ROBLOXIDLEANIMATION) | |
3153 | IDLEANIMATION:Play() | |
3154 | end | |
3155 | local list = game.Workspace:children() | |
3156 | local torso = nil | |
3157 | local dist = 50 | |
3158 | local temp = nil | |
3159 | local human = nil | |
3160 | local temp2 = nil | |
3161 | local OwnerInDanger = false | |
3162 | for x = 1, #list do | |
3163 | temp2 = list[x] | |
3164 | if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then | |
3165 | temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso") | |
3166 | human = temp2:findFirstChildOfClass("Humanoid") | |
3167 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
3168 | if (temp.Position - Torso.Position).magnitude < 15 then | |
3169 | OwnerInDanger = true | |
3170 | newdist = (temp.Position - TORSO.Position).magnitude | |
3171 | dist = (Torso.Position - temp.Position).magnitude | |
3172 | Human:MoveTo(temp.Position) | |
3173 | torso = temp | |
3174 | if newdist < 7 then | |
3175 | torso.CFrame = CF(torso.Position,TORSO.Position)*CF(0,0,5) | |
3176 | CreateSound(814168787, temp, 1, 2, false) | |
3177 | ApplyDamage(human,MRANDOM(15,35),temp) | |
3178 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
3179 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = torso.CFrame*CF(0,-4*torso.Size.Y/2,0), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
3180 | end | |
3181 | end | |
3182 | end | |
3183 | end | |
3184 | end | |
3185 | if OwnerInDanger == false then | |
3186 | for x = 1, #list do | |
3187 | temp2 = list[x] | |
3188 | if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then | |
3189 | temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso") | |
3190 | human = temp2:findFirstChildOfClass("Humanoid") | |
3191 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
3192 | if (temp.Position - Torso.Position).magnitude < dist then | |
3193 | newdist = (temp.Position - TORSO.Position).magnitude | |
3194 | Human:MoveTo(temp.Position) | |
3195 | torso = temp | |
3196 | if newdist < 15 then | |
3197 | if MRANDOM(1,35) == 1 then | |
3198 | CreateSound(438665935, temp, 1, 3, false) | |
3199 | ApplyDamage(human,MRANDOM(2,20),temp) | |
3200 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
3201 | end | |
3202 | end | |
3203 | end | |
3204 | end | |
3205 | end | |
3206 | end | |
3207 | end | |
3208 | if torso == nil then | |
3209 | Human.WalkSpeed = Speed -0.2 | |
3210 | if (Torso.Position - TORSO.Position).magnitude < 12 and (Torso.Position - TORSO.Position).magnitude >= 11 then | |
3211 | Human:MoveTo(TORSO.Position) | |
3212 | elseif (Torso.Position - TORSO.Position).magnitude > 15 then | |
3213 | Human:MoveTo(Torso.Position) | |
3214 | elseif (Torso.Position - TORSO.Position).magnitude < 11 then | |
3215 | Human:MoveTo(CF(Torso.Position,TORSO.Position)*CF(0,0,-5).p) | |
3216 | end | |
3217 | else | |
3218 | if OwnerInDanger == false then | |
3219 | Human.WalkSpeed = Speed*1.2 | |
3220 | else | |
3221 | Human.WalkSpeed = Speed*5 | |
3222 | end | |
3223 | end | |
3224 | if Human.Health == 0 then | |
3225 | Thing:remove() | |
3226 | table.remove(GHOSTS,e) | |
3227 | else | |
3228 | Human.Health = Human.Health + 0.5 | |
3229 | end | |
3230 | else | |
3231 | Thing:remove() | |
3232 | table.remove(GHOSTS,e) | |
3233 | end | |
3234 | else | |
3235 | Thing:remove() | |
3236 | table.remove(GHOSTS,e) | |
3237 | end | |
3238 | end | |
3239 | end | |
3240 | - | refit() |
3240 | + | |
3241 | end | |
3242 | ||
3243 | end | |
3244 | ||
3245 | --//=================================\\ | |
3246 | --\\=================================// | |
3247 | ||
3248 | ||
3249 | ||
3250 | ||
3251 | ||
3252 | --//====================================================\\-- | |
3253 | --|| END OF SCRIPT | |
3254 | --\\====================================================//-- |