SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | local TweenService = game:GetService("TweenService") | |
88 | local RbxUtility = LoadLibrary("RbxUtility") | |
89 | local Create = RbxUtility.Create | |
90 | ||
91 | MaskTextureId = 124337542 --124337542 2340547251 | |
92 | ||
93 | ||
94 | owner= owner | |
95 | Player = owner | |
96 | script.Parent = Player.PlayerGui | |
97 | ZTfade=false | |
98 | ZT=false | |
99 | ||
100 | while Player.Character == nil do wait() | |
101 | ||
102 | end | |
103 | ||
104 | ||
105 | Character= owner.Character | |
106 | Torso = Character.Torso | |
107 | Head = Character.Head | |
108 | Humanoid = Character.Humanoid | |
109 | LeftArm = Character["Left Arm"] | |
110 | LeftLeg = Character["Left Leg"] | |
111 | RightArm = Character["Right Arm"] | |
112 | RightLeg = Character["Right Leg"] | |
113 | RootPart = Character["HumanoidRootPart"] | |
114 | local Anim="Idle" | |
115 | local inairvel=0 | |
116 | local WalkAnimStep = 0 | |
117 | local sine = 0 | |
118 | local change = 1 | |
119 | Animstep = 0 | |
120 | WalkAnimMove=0.1 | |
121 | Combo = 0 | |
122 | local attack=false | |
123 | local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint") | |
124 | local Neck = Character.Torso:FindFirstChild("Neck") | |
125 | local Tim = "" | |
126 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
127 | local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
128 | local ONeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
129 | Effects=Instance.new("Folder",Character) | |
130 | Effects.Name="Effects" | |
131 | it=Instance.new | |
132 | vt=Vector3.new | |
133 | cf=CFrame.new | |
134 | euler=CFrame.fromEulerAnglesXYZ | |
135 | angles=CFrame.Angles | |
136 | local cn = CFrame.new | |
137 | mr=math.rad | |
138 | mememode=false | |
139 | IT = Instance.new | |
140 | CF = CFrame.new | |
141 | VT = Vector3.new | |
142 | RAD = math.rad | |
143 | C3 = Color3.new | |
144 | UD2 = UDim2.new | |
145 | BRICKC = BrickColor.new | |
146 | ANGLES = CFrame.Angles | |
147 | EULER = CFrame.fromEulerAnglesXYZ | |
148 | COS = math.cos | |
149 | ACOS = math.acos | |
150 | SIN = math.sin | |
151 | ASIN = math.asin | |
152 | ABS = math.abs | |
153 | MRANDOM = math.random | |
154 | FLOOR = math.floor | |
155 | local lastid= "http://www.roblox.com/asset/?id=468582223" | |
156 | local s2=it("Sound",Torso) | |
157 | local CurId = 1 | |
158 | s2.EmitterSize = 30 | |
159 | local s2c=s2:Clone() | |
160 | ||
161 | ||
162 | ||
163 | ||
164 | ||
165 | local crying = "http://www.roblox.com/asset/?id=1452402780" | |
166 | local s3=it("Sound",Head) | |
167 | ||
168 | s3.EmitterSize = 40 | |
169 | local s3c=s3:Clone() | |
170 | ||
171 | ||
172 | ||
173 | Humanoid.MaxHealth = 99999999999 | |
174 | wait() | |
175 | ||
176 | Humanoid.Health = 99999999999 | |
177 | Humanoid.Name = "VoidBoss" | |
178 | ff = Instance.new("ForceField",Character) | |
179 | ff.Visible = false | |
180 | playsong = true | |
181 | ||
182 | s2.SoundId = lastid | |
183 | if playsong == true then | |
184 | s2:play() | |
185 | elseif playsong == false then | |
186 | s2:stop() | |
187 | end | |
188 | lastsongpos= 0 | |
189 | ||
190 | crosshair = Instance.new("BillboardGui",Character) | |
191 | crosshair.Size = UDim2.new(10,0,10,0) | |
192 | crosshair.Enabled = false | |
193 | imgl = Instance.new("ImageLabel",crosshair) | |
194 | imgl.Position = UDim2.new(0,0,0,0) | |
195 | imgl.Size = UDim2.new(1,0,1,0) | |
196 | imgl.Image = "rbxassetid://578065407" | |
197 | imgl.BackgroundTransparency = 1 | |
198 | imgl.ImageTransparency = .7 | |
199 | imgl.ImageColor3 = Color3.new(1,1,1) | |
200 | crosshair.StudsOffset = Vector3.new(0,0,-1) | |
201 | ||
202 | ||
203 | if Character:FindFirstChild("Animate")then | |
204 | Character.Animate:Destroy() | |
205 | end | |
206 | ||
207 | function RemoveOutlines(part) | |
208 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
209 | end | |
210 | ||
211 | ||
212 | ||
213 | ||
214 | CFuncs = { | |
215 | Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
216 | ||
217 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
218 | RemoveOutlines(Part) | |
219 | return Part | |
220 | end | |
221 | } | |
222 | , | |
223 | Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
224 | ||
225 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) | |
226 | if Mesh == "SpecialMesh" then | |
227 | Msh.MeshType = MeshType | |
228 | Msh.MeshId = MeshId | |
229 | end | |
230 | return Msh | |
231 | end | |
232 | } | |
233 | , | |
234 | Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
235 | ||
236 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) | |
237 | if Mesh == "SpecialMesh" then | |
238 | Msh.MeshType = MeshType | |
239 | Msh.MeshId = MeshId | |
240 | end | |
241 | return Msh | |
242 | end | |
243 | } | |
244 | , | |
245 | Weld = {Create = function(Parent, Part0, Part1, C0, C1) | |
246 | ||
247 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1}) | |
248 | return Weld | |
249 | end | |
250 | } | |
251 | , | |
252 | Sound = {Create = function(id, par, vol, pit) | |
253 | ||
254 | coroutine.resume(coroutine.create(function() | |
255 | ||
256 | local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace}) | |
257 | wait() | |
258 | S:play() | |
259 | game:GetService("Debris"):AddItem(S, 12) | |
260 | end | |
261 | )) | |
262 | end | |
263 | } | |
264 | , | |
265 | ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
266 | ||
267 | local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread}) | |
268 | return fp | |
269 | end | |
270 | } | |
271 | } | |
272 | ||
273 | ||
274 | ||
275 | ||
276 | ||
277 | coroutine.resume(coroutine.create(function() | |
278 | if Head:FindFirstChildOfClass("Decal") then | |
279 | local face = Head:FindFirstChildOfClass("Decal") | |
280 | face:Destroy() | |
281 | end | |
282 | ||
283 | end)) | |
284 | ||
285 | ||
286 | ||
287 | ||
288 | ||
289 | ||
290 | ||
291 | for i, v in pairs(Character:GetChildren()) do | |
292 | if v:IsA("Accessory") then | |
293 | v:Destroy() | |
294 | end | |
295 | end | |
296 | ||
297 | ||
298 | --------------- | |
299 | --[Functions]-- | |
300 | --------------- | |
301 | so = function(id, par, vol, pit) | |
302 | ||
303 | CFuncs.Sound.Create(id, par, vol, pit) | |
304 | ||
305 | ||
306 | end | |
307 | ||
308 | function weld(parent,part0,part1,c0) | |
309 | local weld=it("Weld") | |
310 | weld.Parent=parent | |
311 | weld.Part0=part0 | |
312 | weld.Part1=part1 | |
313 | weld.C0=c0 | |
314 | return weld | |
315 | end | |
316 | ||
317 | ||
318 | function MakeJoint(parent,part0,part1,c0) | |
319 | local weld=it("Motor6D") | |
320 | weld.Parent=parent | |
321 | weld.Part0=part0 | |
322 | weld.Part1=part1 | |
323 | weld.C0=c0 | |
324 | return weld | |
325 | end | |
326 | ||
327 | rayCast = function(Pos, Dir, Max, Ignore) | |
328 | ||
329 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
330 | end | |
331 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
332 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
333 | return rayCast(StartPos, DIRECTION, Distance, Ignore) | |
334 | end | |
335 | ||
336 | function SetTween(SPart,CFr,MoveStyle2,outorin2,AnimTime) | |
337 | local MoveStyle = Enum.EasingStyle[MoveStyle2] | |
338 | local outorin = Enum.EasingDirection[outorin2] | |
339 | ||
340 | ||
341 | local dahspeed=1 | |
342 | ||
343 | local tweeningInformation = TweenInfo.new( | |
344 | AnimTime/dahspeed, | |
345 | MoveStyle, | |
346 | outorin, | |
347 | 0, | |
348 | false, | |
349 | 0 | |
350 | ) | |
351 | local MoveCF = CFr | |
352 | local tweenanim = TweenService:Create(SPart,tweeningInformation,MoveCF) | |
353 | tweenanim:Play() | |
354 | end | |
355 | ||
356 | function GatherAllInstances(Parent,ig) | |
357 | local Instances = {} | |
358 | local Ignore=nil | |
359 | if ig ~= nil then | |
360 | Ignore = ig | |
361 | end | |
362 | ||
363 | local function GatherInstances(Parent,Ignore) | |
364 | for i, v in pairs(Parent:GetChildren()) do | |
365 | ||
366 | if v ~= Ignore then | |
367 | GatherInstances(v,Ignore) | |
368 | table.insert(Instances, v) end | |
369 | end | |
370 | end | |
371 | GatherInstances(Parent,Ignore) | |
372 | return Instances | |
373 | end | |
374 | ||
375 | ||
376 | ||
377 | ||
378 | ||
379 | ||
380 | ||
381 | ||
382 | ||
383 | function WeldAllTo(Part1,Part2,Extra) | |
384 | ||
385 | local EXCF = Part2.CFrame * Extra | |
386 | ||
387 | for i, v3 in pairs(GatherAllInstances(Part2)) do | |
388 | if v3:isA("BasePart") then | |
389 | ||
390 | ||
391 | local STW=weld(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() ) | |
392 | ||
393 | ||
394 | v3.Anchored=false | |
395 | --v3.Transparency=0 | |
396 | v3.CanCollide=false | |
397 | ||
398 | v3.Parent = Part1 | |
399 | ||
400 | end | |
401 | end | |
402 | ||
403 | ||
404 | Part2:Destroy() | |
405 | ||
406 | end | |
407 | local SToneTexture = Create("Texture")({ | |
408 | ||
409 | ||
410 | Texture = "http://www.roblox.com/asset/?id=1693385655", | |
411 | Color3 = Color3.new(163/255, 162/255, 165/255), | |
412 | ||
413 | }) | |
414 | ||
415 | function AddStoneTexture(part) | |
416 | coroutine.resume(coroutine.create(function() | |
417 | for i = 0,6,1 do | |
418 | local Tx = SToneTexture:Clone() | |
419 | Tx.Face = i | |
420 | Tx.Parent=part | |
421 | end | |
422 | end)) | |
423 | end | |
424 | ||
425 | New = function(Object, Parent, Name, Data) | |
426 | local Object = Instance.new(Object) | |
427 | for Index, Value in pairs(Data or {}) do | |
428 | Object[Index] = Value | |
429 | end | |
430 | Object.Parent = Parent | |
431 | Object.Name = Name | |
432 | return Object | |
433 | end | |
434 | function recurse(root,callback,i) | |
435 | coroutine.resume(coroutine.create(function() | |
436 | i= i or 0 | |
437 | for _,v in pairs(root:GetChildren()) do | |
438 | i = i + 1 | |
439 | callback(i,v) | |
440 | ||
441 | if #v:GetChildren() > 0 then | |
442 | i = recurse(v,callback,i) | |
443 | end | |
444 | end | |
445 | end)) | |
446 | return i | |
447 | end | |
448 | ||
449 | function ragdollJoint(part0, part1, attachmentName, className, properties) | |
450 | ||
451 | attachmentName = attachmentName--.."RigAttachment" | |
452 | ||
453 | ||
454 | local constraint = Instance.new(className.."Constraint") | |
455 | constraint.Attachment0 = part0:FindFirstChild(attachmentName) | |
456 | constraint.Attachment1 = part1:FindFirstChild(attachmentName) | |
457 | constraint.Name = "RagdollConstraint"..part1.Name | |
458 | ||
459 | for _,propertyData in next,properties or {} do | |
460 | constraint[propertyData[1]] = propertyData[2] | |
461 | end | |
462 | ||
463 | local Rcharacter = part0.Parent | |
464 | constraint.Parent = Rcharacter | |
465 | end | |
466 | ||
467 | function MakeAth(AthParent,AthName,AthPosX,AthPosY,AthPosZ,AthRot,AthAX,SecondaryAxis) | |
468 | ||
469 | coroutine.resume(coroutine.create(function() | |
470 | local ATH = Instance.new("Attachment",AthParent) | |
471 | ATH.Position = Vector3.new(AthPosX,AthPosY,AthPosZ) | |
472 | ATH.Name = AthName | |
473 | if AthRot ~= nil then | |
474 | ATH.Rotation = AthRot end | |
475 | if AthAX ~= nil then | |
476 | ATH.Axis = AthAX end | |
477 | if SecondaryAxis ~= nil then | |
478 | ATH.SecondaryAxis = SecondaryAxis end | |
479 | end)) | |
480 | end | |
481 | function getAttachment0(attachmentName,Rcharacter) | |
482 | for i, child in pairs(GatherAllInstances(Rcharacter)) do | |
483 | local attachment = child:FindFirstChild(attachmentName) | |
484 | if attachment then | |
485 | return attachment | |
486 | ||
487 | end | |
488 | ||
489 | end | |
490 | ||
491 | ||
492 | ||
493 | ||
494 | ||
495 | end | |
496 | ||
497 | function makrag(Rcharacter) | |
498 | ||
499 | ||
500 | --HitModel | |
501 | ||
502 | ||
503 | local camera = workspace.CurrentCamera | |
504 | ||
505 | --Make it so ragdoll can't collide with invisible HRP, but don't let HRP fall through map and be destroyed in process | |
506 | coroutine.resume(coroutine.create(function() | |
507 | if Rcharacter:FindFirstChild("HumanoidRootPart")then | |
508 | Rcharacter.HumanoidRootPart.Anchored = true | |
509 | Rcharacter.HumanoidRootPart.CanCollide = false | |
510 | --- Rcharacter.HumanoidRootPart.Position = Vector3.new(0,-10,0) | |
511 | Rcharacter.HumanoidRootPart.Parent = nil | |
512 | end | |
513 | end)) | |
514 | --Helps to fix constraint spasms | |
515 | recurse(Rcharacter, function(_,v) | |
516 | if v:IsA("Attachment") then | |
517 | v.Axis = Vector3.new(0, 1, 0) | |
518 | v.SecondaryAxis = Vector3.new(0, 0, 1) | |
519 | v.Rotation = Vector3.new(0, 0, 0) | |
520 | end | |
521 | end) | |
522 | ||
523 | --Re-attach hats | |
524 | ||
525 | ||
526 | coroutine.resume(coroutine.create(function() | |
527 | if Rcharacter:FindFirstChild("Torso")then | |
528 | ||
529 | local RMT = Rcharacter:FindFirstChild("Torso") | |
530 | ||
531 | local RMH = Rcharacter:FindFirstChild("Head") | |
532 | ||
533 | local RLA = Rcharacter:FindFirstChild("Left Arm") | |
534 | ||
535 | local RRA = Rcharacter:FindFirstChild("Right Arm") | |
536 | ||
537 | local RLL = Rcharacter:FindFirstChild("Left Leg") | |
538 | ||
539 | local RRL = Rcharacter:FindFirstChild("Right Leg") | |
540 | ||
541 | --MakeAth(RMH,"",0,0,0) | |
542 | MakeAth(RMH,"NeckRigAttachment",0,-.5,0) | |
543 | MakeAth(RRA,"RightShoulderRigAttachment",-0.4, 0.8, 0,Vector3.new(-180, 0, 90),Vector3.new(0, -1, -0),Vector3.new(0, 1, 0)) | |
544 | MakeAth(RLA,"LeftShoulderRigAttachment",0.4, 0.8, 0,Vector3.new(-180, 0, 90),Vector3.new(0, -1, -0),Vector3.new(-1, 0, 0)) | |
545 | MakeAth(RRL,"RightHipRigAttachment",0, 1, 0,Vector3.new(90, -90, 0),Vector3.new(0, -1, -0),Vector3.new(0, -0, 1)) | |
546 | MakeAth(RLL,"LeftHipRigAttachment",0, 1, 0,Vector3.new(90, -90, 0),Vector3.new(0, -1, -0),Vector3.new(0, -0, 1)) | |
547 | ------------------------------------------------------ | |
548 | MakeAth(RMT,"NeckRigAttachment",0, 1, 0) | |
549 | MakeAth(RMT,"RightShoulderRigAttachment",1, 0.8, 0,Vector3.new(-180, 0, 0),Vector3.new(1, -0, 0),Vector3.new(0, -1, 0)) | |
550 | MakeAth(RMT,"LeftShoulderRigAttachment",-1, 0.8, 0,Vector3.new(0, 0, -180),Vector3.new(-1, -0, 0),Vector3.new(0, -1, 0)) | |
551 | MakeAth(RMT,"RightHipRigAttachment",0.5, -1.1, 0,Vector3.new(90, -90, 0),Vector3.new(0, -1, -0),Vector3.new(0, -0, 1)) | |
552 | MakeAth(RMT,"LeftHipRigAttachment",-0.5, -1.1, 0,Vector3.new(90, -90, 0),Vector3.new(0, -1, -0),Vector3.new(0, -0, 1)) | |
553 | ||
554 | ||
555 | ||
556 | ||
557 | ||
558 | ||
559 | ||
560 | ||
561 | coroutine.resume(coroutine.create(function() | |
562 | local LAT = Instance.new("BallSocketConstraint") | |
563 | LAT.Parent = RMT | |
564 | LAT.Attachment0 = RLA.LeftShoulderRigAttachment | |
565 | LAT.Attachment1 = RMT.LeftShoulderRigAttachment | |
566 | LAT.Enabled = true | |
567 | LAT.LimitsEnabled=true | |
568 | LAT.UpperAngle=70 | |
569 | end)) | |
570 | coroutine.resume(coroutine.create(function() | |
571 | local RAT = Instance.new("BallSocketConstraint") | |
572 | RAT.Parent = RMT | |
573 | RAT.Attachment0 = RRA.RightShoulderRigAttachment | |
574 | RAT.Attachment1 = RMT.RightShoulderRigAttachment | |
575 | RAT.Enabled = true | |
576 | RAT.LimitsEnabled=true | |
577 | RAT.UpperAngle=70 | |
578 | end)) | |
579 | coroutine.resume(coroutine.create(function() | |
580 | local TLL = Instance.new("BallSocketConstraint") | |
581 | TLL.Parent = RMT | |
582 | TLL.Attachment0 = RLL.LeftHipRigAttachment | |
583 | TLL.Attachment1 = RMT.LeftHipRigAttachment | |
584 | TLL.Enabled = true | |
585 | TLL.LimitsEnabled=true | |
586 | TLL.UpperAngle=70 | |
587 | end)) | |
588 | coroutine.resume(coroutine.create(function() | |
589 | local TRL = Instance.new("BallSocketConstraint") | |
590 | TRL.Parent = RMT | |
591 | TRL.Attachment0 = RRL.RightHipRigAttachment | |
592 | TRL.Attachment1 = RMT.RightHipRigAttachment | |
593 | TRL.Enabled = true | |
594 | TRL.LimitsEnabled=true | |
595 | TRL.UpperAngle=70 | |
596 | end)) | |
597 | ||
598 | end | |
599 | end)) | |
600 | coroutine.resume(coroutine.create(function() | |
601 | ragdollJoint(Rcharacter.LowerTorso, Rcharacter.UpperTorso, "WaistRigAttachment", "BallSocket", { | |
602 | {"LimitsEnabled",true}; | |
603 | {"UpperAngle",5}; | |
604 | }) end)) coroutine.resume(coroutine.create(function() | |
605 | local NeckProperties = { | |
606 | {"LimitsEnabled", true}; | |
607 | {"UpperAngle",5}; | |
608 | ||
609 | } | |
610 | local Rtorso = Rcharacter:FindFirstChild("Torso") or Rcharacter:FindFirstChild("UpperTorso") | |
611 | ragdollJoint(Rtorso, Rcharacter.Head, "NeckRigAttachment", "Hinge", NeckProperties) | |
612 | end)) coroutine.resume(coroutine.create(function() | |
613 | ||
614 | local handProperties = { | |
615 | {"LimitsEnabled", true}; | |
616 | {"UpperAngle",0}; | |
617 | {"LowerAngle",0}; | |
618 | } | |
619 | ragdollJoint(Rcharacter.LeftLowerArm, Rcharacter.LeftHand, "LeftWristRigAttachment", "Hinge", handProperties) | |
620 | ragdollJoint(Rcharacter.RightLowerArm, Rcharacter.RightHand, "RightWristRigAttachment", "Hinge", handProperties) | |
621 | end)) coroutine.resume(coroutine.create(function() | |
622 | local shinProperties = { | |
623 | {"LimitsEnabled", true}; | |
624 | {"UpperAngle", 0}; | |
625 | {"LowerAngle", -75}; | |
626 | } | |
627 | ragdollJoint(Rcharacter.LeftUpperLeg, Rcharacter.LeftLowerLeg, "LeftKneeRigAttachment", "Hinge", shinProperties) | |
628 | ragdollJoint(Rcharacter.RightUpperLeg, Rcharacter.RightLowerLeg, "RightKneeRigAttachment", "Hinge", shinProperties) | |
629 | end)) coroutine.resume(coroutine.create(function() | |
630 | local footProperties = { | |
631 | {"LimitsEnabled", true}; | |
632 | {"UpperAngle", 15}; | |
633 | {"LowerAngle", -45}; | |
634 | } | |
635 | ragdollJoint(Rcharacter.LeftLowerLeg, Rcharacter.LeftFoot, "LeftAnkleRigAttachment", "Hinge", footProperties) | |
636 | ragdollJoint(Rcharacter.RightLowerLeg, Rcharacter.RightFoot, "RightAnkleRigAttachment", "Hinge", footProperties) | |
637 | end)) | |
638 | --TODO fix ability for socket to turn backwards whenn ConeConstraints are shipped | |
639 | coroutine.resume(coroutine.create(function() | |
640 | ragdollJoint(Rcharacter.UpperTorso, Rcharacter.LeftUpperArm, "LeftShoulderRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function() | |
641 | ragdollJoint(Rcharacter.LeftUpperArm, Rcharacter.LeftLowerArm, "LeftElbowRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function() | |
642 | ragdollJoint(Rcharacter.UpperTorso, Rcharacter.RightUpperArm, "RightShoulderRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function() | |
643 | ragdollJoint(Rcharacter.RightUpperArm, Rcharacter.RightLowerArm, "RightElbowRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function() | |
644 | ragdollJoint(Rcharacter.LowerTorso, Rcharacter.LeftUpperLeg, "LeftHipRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function() | |
645 | ragdollJoint(Rcharacter.LowerTorso, Rcharacter.RightUpperLeg, "RightHipRigAttachment", "BallSocket") end)) | |
646 | ||
647 | ||
648 | for i = 0,2 do | |
649 | coroutine.resume(coroutine.create(function() | |
650 | for _,child in next,Rcharacter:GetChildren() do | |
651 | if child:IsA("Accoutrement") then | |
652 | --Loop through all parts instead of only checking for one to be forwards-compatible in the event | |
653 | --ROBLOX implements multi-part accessories | |
654 | for _,part in next,child:GetChildren() do | |
655 | if part:IsA("BasePart") then part.CanCollide = false | |
656 | ||
657 | ||
658 | local attachment1 = part:FindFirstChildOfClass("Attachment") | |
659 | local attachment0 = getAttachment0(attachment1.Name,Rcharacter) | |
660 | if attachment0 and attachment1 then | |
661 | --Shouldn't use constraints for this, but have to because of a ROBLOX idiosyncrasy where | |
662 | --joints connecting a character are perpetually deleted while the character is dead | |
663 | ||
664 | ||
665 | local HatProperties = { | |
666 | {"LimitsEnabled", true}; | |
667 | {"UpperAngle", 0}; | |
668 | {"LowerAngle", -0}; | |
669 | } | |
670 | ||
671 | coroutine.resume(coroutine.create(function() | |
672 | wait() | |
673 | local rg = ragdollJoint(attachment0.Parent, part, ""..attachment1.Name, "Hinge", HatProperties) | |
674 | end)) | |
675 | ||
676 | end | |
677 | end | |
678 | end | |
679 | end | |
680 | end | |
681 | ||
682 | end)) | |
683 | wait(0.5) | |
684 | end | |
685 | for _,v in pairs(Rcharacter:GetChildren()) do | |
686 | if v:isA("Script") or v:isA("LocalScript") then | |
687 | v:Destroy() | |
688 | end | |
689 | end | |
690 | ||
691 | ||
692 | coroutine.resume(coroutine.create(function() | |
693 | wait(1) | |
694 | for _,v3 in pairs(game:GetService("Players"):GetChildren()) do | |
695 | coroutine.resume(coroutine.create(function() | |
696 | if v3:isA("Player") and v3.Character == Rcharacter then | |
697 | Rcharacter.Archivable=true | |
698 | local ORcharacter = Rcharacter:Clone() | |
699 | --Rcharacter2.Archivable=false | |
700 | --Rcharacter3.Archivable=false | |
701 | ORcharacter.Parent = Rcharacter.Parent | |
702 | local Rhum = ORcharacter:FindFirstChildOfClass("Humanoid") | |
703 | Rhum.PlatformStand = true | |
704 | Rhum.Health = Rhum.MaxHealth | |
705 | Rcharacter:Destroy() | |
706 | wait() | |
707 | Rhum.Health = 0 | |
708 | game:GetService("Debris"):AddItem(ORcharacter, 380) | |
709 | ||
710 | end | |
711 | end)) | |
712 | end | |
713 | ||
714 | ||
715 | end)) | |
716 | ||
717 | ||
718 | end | |
719 | ||
720 | ||
721 | function Tran(Num) | |
722 | local GivenLeter = "" | |
723 | if Num == "1" then | |
724 | GivenLeter = "a" | |
725 | elseif Num == "2" then | |
726 | GivenLeter = "b" | |
727 | elseif Num == "3" then | |
728 | GivenLeter = "c" | |
729 | elseif Num == "4" then | |
730 | GivenLeter = "d" | |
731 | elseif Num == "5" then | |
732 | GivenLeter = "e" | |
733 | elseif Num == "6" then | |
734 | GivenLeter = "f" | |
735 | elseif Num == "7" then | |
736 | GivenLeter = "g" | |
737 | elseif Num == "8" then | |
738 | GivenLeter = "h" | |
739 | elseif Num == "9" then | |
740 | GivenLeter = "i" | |
741 | elseif Num == "10" then | |
742 | GivenLeter = "j" | |
743 | elseif Num == "11" then | |
744 | GivenLeter = "k" | |
745 | elseif Num == "12" then | |
746 | GivenLeter = "l" | |
747 | elseif Num == "13" then | |
748 | GivenLeter = "m" | |
749 | elseif Num == "14" then | |
750 | GivenLeter = "n" | |
751 | elseif Num == "15" then | |
752 | GivenLeter = "o" | |
753 | elseif Num == "16" then | |
754 | GivenLeter = "p" | |
755 | elseif Num == "17" then | |
756 | GivenLeter = "q" | |
757 | elseif Num == "18" then | |
758 | GivenLeter = "r" | |
759 | elseif Num == "19" then | |
760 | GivenLeter = "s" | |
761 | elseif Num == "20" then | |
762 | GivenLeter = "t" | |
763 | elseif Num == "21" then | |
764 | GivenLeter = "u" | |
765 | elseif Num == "22" then | |
766 | GivenLeter = "v" | |
767 | elseif Num == "23" then | |
768 | GivenLeter = "w" | |
769 | elseif Num == "24" then | |
770 | GivenLeter = "x" | |
771 | elseif Num == "25" then | |
772 | GivenLeter = "y" | |
773 | elseif Num == "26" then | |
774 | GivenLeter = "z" | |
775 | elseif Num == "27" then | |
776 | GivenLeter = "_" | |
777 | elseif Num == "28" then | |
778 | GivenLeter = "0" | |
779 | elseif Num == "29" then | |
780 | GivenLeter = "1" | |
781 | elseif Num == "30" then | |
782 | GivenLeter = "2" | |
783 | elseif Num == "31" then | |
784 | GivenLeter = "3" | |
785 | elseif Num == "32" then | |
786 | GivenLeter = "4" | |
787 | elseif Num == "33" then | |
788 | GivenLeter = "5" | |
789 | elseif Num == "34" then | |
790 | GivenLeter = "6" | |
791 | elseif Num == "35" then | |
792 | GivenLeter = "7" | |
793 | elseif Num == "36" then | |
794 | GivenLeter = "8" | |
795 | elseif Num == "37" then | |
796 | GivenLeter = "9" | |
797 | end | |
798 | return GivenLeter | |
799 | ||
800 | end | |
801 | ||
802 | function MaybeOk(Mode,Extra) | |
803 | local ReturningValue = "" | |
804 | if Mode == 1 then | |
805 | ||
806 | ||
807 | ||
808 | -- v.C0 = CFrame.new(1,1,1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
809 | ||
810 | --print(v.C0) | |
811 | local GivenText = "" | |
812 | local msg = Extra | |
813 | local Txt = "" | |
814 | local FoundTime=0 | |
815 | local LastFound = 0 | |
816 | delay(wait(0),function() | |
817 | for v3 = 1, #msg do | |
818 | ||
819 | if string.sub(msg,0+v3,v3) == "," then | |
820 | ||
821 | local TheN = string.sub(msg,LastFound,v3-1) | |
822 | ||
823 | ||
824 | local NumTranslate = Tran(string.sub(msg,LastFound,v3-1)) | |
825 | ||
826 | ||
827 | ||
828 | FoundTime = FoundTime + 1 | |
829 | ||
830 | ||
831 | GivenText = GivenText..NumTranslate | |
832 | ||
833 | LastFound=v3+1 | |
834 | Txt="" | |
835 | end | |
836 | Txt=string.sub(msg,1,v3) | |
837 | ||
838 | ||
839 | -- Gui.ExtentsOffset = Vector3.new(0,3,0) | |
840 | ||
841 | ||
842 | -- Gui.ExtentsOffset = Vector3.new(0,3,0) | |
843 | wait() | |
844 | -- Gui.ExtentsOffset = Vector3.new(0,3,0) | |
845 | end; | |
846 | ||
847 | ReturningValue=GivenText | |
848 | for v3 = 1, #Txt do | |
849 | Txt=string.sub(msg,-1,v3) | |
850 | ||
851 | ||
852 | ||
853 | ||
854 | ||
855 | ||
856 | ||
857 | end; | |
858 | -- Gui:remove() | |
859 | end) | |
860 | ||
861 | ||
862 | elseif Mode == 2 then | |
863 | ||
864 | print("fat") | |
865 | end | |
866 | ||
867 | ||
868 | ||
869 | while ReturningValue == "" do wait() end | |
870 | return ReturningValue | |
871 | ||
872 | end | |
873 | ||
874 | ||
875 | ||
876 | ---------------------- | |
877 | --[End Of Functions]-- | |
878 | ---------------------- | |
879 | ||
880 | ||
881 | ||
882 | ||
883 | ||
884 | ||
885 | ------------------ | |
886 | --[Sword]-- | |
887 | ------------------ | |
888 | ||
889 | ||
890 | ||
891 | ||
892 | function sandbox(var,func) | |
893 | local env = getfenv(func) | |
894 | local newenv = setmetatable({},{ | |
895 | __index = function(self,k) | |
896 | if k=="script" then | |
897 | return var | |
898 | else | |
899 | return env[k] | |
900 | end | |
901 | end, | |
902 | }) | |
903 | setfenv(func,newenv) | |
904 | return func | |
905 | end | |
906 | cors = {} | |
907 | mas = Instance.new("Model",game:GetService("Lighting")) | |
908 | Model0 = Instance.new("Model") | |
909 | Part1 = Instance.new("Part") | |
910 | ParticleEmitter2 = Instance.new("ParticleEmitter") | |
911 | Model3 = Instance.new("Model") | |
912 | Beam4 = Instance.new("Beam") ------------------------------------------------------------------------------ | |
913 | Beam5 = Instance.new("Beam") | |
914 | Beam6 = Instance.new("Beam") | |
915 | ||
916 | ||
917 | ||
918 | ||
919 | ||
920 | ||
921 | Model7 = Instance.new("Model") | |
922 | Part8 = Instance.new("Part") | |
923 | ParticleEmitter9 = Instance.new("ParticleEmitter") | |
924 | Part10 = Instance.new("Part") | |
925 | SpecialMesh11 = Instance.new("SpecialMesh") | |
926 | Part12 = Instance.new("Part") | |
927 | SpecialMesh13 = Instance.new("SpecialMesh") | |
928 | Model14 = Instance.new("Model") | |
929 | Part15 = Instance.new("Part") | |
930 | SpecialMesh16 = Instance.new("SpecialMesh") | |
931 | Part17 = Instance.new("Part") | |
932 | SpecialMesh18 = Instance.new("SpecialMesh") | |
933 | Part19 = Instance.new("Part") | |
934 | ParticleEmitter20 = Instance.new("ParticleEmitter") | |
935 | Model21 = Instance.new("Model") | |
936 | Part22 = Instance.new("Part") | |
937 | SpecialMesh23 = Instance.new("SpecialMesh") | |
938 | Part24 = Instance.new("Part") | |
939 | SpecialMesh25 = Instance.new("SpecialMesh") | |
940 | Part26 = Instance.new("Part") | |
941 | SpecialMesh27 = Instance.new("SpecialMesh") | |
942 | Part28 = Instance.new("Part") | |
943 | SpecialMesh29 = Instance.new("SpecialMesh") | |
944 | Part30 = Instance.new("Part") | |
945 | SpecialMesh31 = Instance.new("SpecialMesh") | |
946 | Part32 = Instance.new("Part") | |
947 | SpecialMesh33 = Instance.new("SpecialMesh") | |
948 | Decal34 = Instance.new("Decal") | |
949 | Part35 = Instance.new("Part") | |
950 | ParticleEmitter36 = Instance.new("ParticleEmitter") | |
951 | Part37 = Instance.new("Part") | |
952 | ||
953 | TAttachment = Instance.new("Attachment",Part1) | |
954 | HAttachment2 = Instance.new("Attachment",Part35) | |
955 | RAttachment3 = Instance.new("Attachment",Part8) | |
956 | LAttachment4 = Instance.new("Attachment",Part19) | |
957 | ||
958 | --TAttachment | |
959 | --HAttachment2 | |
960 | --RAttachment3 | |
961 | --LAttachment4 | |
962 | ||
963 | ||
964 | --Part35,Part19,Part8 | |
965 | --Head,LeftArm,RightArm | |
966 | ||
967 | ||
968 | SpecialMesh38 = Instance.new("SpecialMesh") | |
969 | Model0.Name = "VoidBoss" | |
970 | Model0.Parent = mas | |
971 | Part1.Name = "Torso" | |
972 | Part1.Parent = Model0 | |
973 | Part1.CFrame = CFrame.new(3.5, 0.0108870268, -65.510788, 2.08616257e-07, 0, -1, 0.999999881, 0, 2.08616257e-07, 0, -0.999999881, 0) | |
974 | Part1.Orientation = Vector3.new(0, -90, 90) | |
975 | Part1.Position = Vector3.new(3.5, 0.0108870268, -65.510788) | |
976 | Part1.Rotation = Vector3.new(-90, -90, 0) | |
977 | Part1.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
978 | Part1.Transparency = 1 | |
979 | Part1.Size = Vector3.new(1, 1, 1) | |
980 | Part1.Anchored = true | |
981 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
982 | Part1.BrickColor = BrickColor.new("Institutional white") | |
983 | Part1.CanCollide = false | |
984 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
985 | Part1.brickColor = BrickColor.new("Institutional white") | |
986 | Part1.FormFactor = Enum.FormFactor.Symmetric | |
987 | Part1.formFactor = Enum.FormFactor.Symmetric | |
988 | ParticleEmitter2.Parent = Part1 | |
989 | ParticleEmitter2.Speed = NumberRange.new(6, 6) | |
990 | ParticleEmitter2.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.299,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(0.499,Color3.new(0,0,0)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))}) | |
991 | ParticleEmitter2.LightInfluence = 1 | |
992 | ParticleEmitter2.Texture = "rbxassetid://258128463" | |
993 | ParticleEmitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.2,0.86913582086563),NumberSequenceKeypoint.new(1,1)}) | |
994 | ParticleEmitter2.ZOffset = 1 | |
995 | ParticleEmitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.3749998807907),NumberSequenceKeypoint.new(1,0.68749964237213)}) | |
996 | ParticleEmitter2.Acceleration = Vector3.new(1, 0, 0) | |
997 | ParticleEmitter2.Drag = 3 | |
998 | ParticleEmitter2.Lifetime = NumberRange.new(2, 4) | |
999 | ParticleEmitter2.LockedToPart = true | |
1000 | ParticleEmitter2.Rate = 50 | |
1001 | ParticleEmitter2.RotSpeed = NumberRange.new(-100, 100) | |
1002 | ParticleEmitter2.SpreadAngle = Vector2.new(360, 0) | |
1003 | ParticleEmitter2.VelocitySpread = 360 | |
1004 | Model3.Parent = Part1 | |
1005 | ||
1006 | --TAttachment | |
1007 | --HAttachment2 | |
1008 | --RAttachment3 | |
1009 | --LAttachment4 | |
1010 | ||
1011 | ||
1012 | Beam4.Name = "RightArm" | |
1013 | Beam4.Parent = Model3 | |
1014 | Beam4.Attachment0 = TAttachment | |
1015 | Beam4.Attachment1 = RAttachment3 | |
1016 | Beam4.CurveSize0 = 10 | |
1017 | Beam4.FaceCamera = true | |
1018 | Beam4.LightInfluence = 1 | |
1019 | Beam4.Texture = "rbxassetid://130207880" | |
1020 | Beam4.TextureLength = 0.875 | |
1021 | Beam4.TextureSpeed = 1 | |
1022 | Beam4.Transparency = NumberSequence.new(.5,0) | |
1023 | Beam4.Width0 = 3 | |
1024 | Beam4.Width1 = 3 | |
1025 | Beam5.Name = "LeftArm" | |
1026 | Beam5.Parent = Model3 | |
1027 | Beam5.Attachment0 = TAttachment | |
1028 | Beam5.Attachment1 = LAttachment4 | |
1029 | Beam5.CurveSize0 = 10 | |
1030 | Beam5.FaceCamera = true | |
1031 | Beam5.LightInfluence = 1 | |
1032 | Beam5.Texture = "rbxassetid://130207880" | |
1033 | Beam5.TextureLength = 0.875 | |
1034 | Beam5.TextureSpeed = 1 | |
1035 | Beam5.Transparency = NumberSequence.new(.5,0) | |
1036 | Beam5.Width0 = 3 | |
1037 | Beam5.Width1 = 3 | |
1038 | Beam6.Name = "Head" | |
1039 | Beam6.Parent = Model3 | |
1040 | Beam6.Attachment0 = TAttachment | |
1041 | Beam6.Attachment1 = HAttachment2 | |
1042 | Beam6.FaceCamera = true | |
1043 | Beam6.LightInfluence = 1 | |
1044 | Beam6.Segments = 1 | |
1045 | Beam6.Texture = "rbxassetid://130207880" | |
1046 | Beam6.TextureSpeed = 1 | |
1047 | Beam6.Transparency = NumberSequence.new(.5,0) | |
1048 | Beam6.Width0 = 3 | |
1049 | Beam6.Width1 = 1.5 | |
1050 | Model7.Name = "RightArm" | |
1051 | Model7.Parent = Model0 | |
1052 | Part8.Name = "Particles" | |
1053 | Part8.Parent = Model7 | |
1054 | Part8.CFrame = CFrame.new(-3, 3.62246037, -66.4395981, -1, 0, 0, 0, 0.999390841, 0.0348994173, 0, 0.0348994173, -0.999390841) | |
1055 | Part8.Orientation = Vector3.new(-2, 180, 0) | |
1056 | Part8.Position = Vector3.new(-3, 3.62246037, -66.4395981) | |
1057 | Part8.Rotation = Vector3.new(-178, 0, -180) | |
1058 | Part8.Color = Color3.new(0, 0, 0) | |
1059 | Part8.Transparency = 1 | |
1060 | Part8.Size = Vector3.new(0.5, 0.5, 0.5) | |
1061 | Part8.Anchored = true | |
1062 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
1063 | ||
1064 | Part8.CanCollide = false | |
1065 | Part8.Material = Enum.Material.Neon | |
1066 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
1067 | ||
1068 | Part8.FormFactor = Enum.FormFactor.Symmetric | |
1069 | Part8.formFactor = Enum.FormFactor.Symmetric | |
1070 | ParticleEmitter9.Parent = Part8 | |
1071 | ParticleEmitter9.Speed = NumberRange.new(1.2000000476837, 1.2000000476837) | |
1072 | ParticleEmitter9.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.699,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))}) | |
1073 | ParticleEmitter9.LightInfluence = 1 | |
1074 | ParticleEmitter9.Texture = "rbxassetid://258128463" | |
1075 | ParticleEmitter9.Transparency= NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.5,0.7),NumberSequenceKeypoint.new(1,1)}) | |
1076 | ParticleEmitter9.ZOffset = 2 | |
1077 | ParticleEmitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.9999998807907),NumberSequenceKeypoint.new(0.43749988079071,0.37499964237213),NumberSequenceKeypoint.new(1,0.68749964237213)}) | |
1078 | ParticleEmitter9.Acceleration = Vector3.new(0, 0, -0.400000006) | |
1079 | ParticleEmitter9.Drag = 1 | |
1080 | ParticleEmitter9.Lifetime = NumberRange.new(3, 3) | |
1081 | ParticleEmitter9.LockedToPart = true | |
1082 | ParticleEmitter9.Rate = 100 | |
1083 | ParticleEmitter9.RotSpeed = NumberRange.new(-100, 100) | |
1084 | ParticleEmitter9.SpreadAngle = Vector2.new(360, 360) | |
1085 | ParticleEmitter9.VelocitySpread = 360 | |
1086 | Part10.Parent = Model7 | |
1087 | Part10.CFrame = CFrame.new(-2, 4.33036613, -62.6395836, -0.965925813, 0.0669872463, -0.25, 0, 0.965925872, 0.258818835, 0.258819044, 0.249999791, -0.933012724) | |
1088 | Part10.Orientation = Vector3.new(-15, -165, 0) | |
1089 | Part10.Position = Vector3.new(-2, 4.33036613, -62.6395836) | |
1090 | Part10.Rotation = Vector3.new(-164.5, -14.4799995, -176.029999) | |
1091 | Part10.Color = Color3.new(0, 0, 0) | |
1092 | Part10.Size = Vector3.new(1, 1, 0.5) | |
1093 | Part10.Anchored = true | |
1094 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
1095 | ||
1096 | Part10.CanCollide = false | |
1097 | Part10.Material = Enum.Material.Neon | |
1098 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
1099 | ||
1100 | Part10.FormFactor = Enum.FormFactor.Symmetric | |
1101 | Part10.formFactor = Enum.FormFactor.Symmetric | |
1102 | SpecialMesh11.Parent = Part10 | |
1103 | SpecialMesh11.MeshType = Enum.MeshType.Sphere | |
1104 | Part12.Parent = Model7 | |
1105 | Part12.CFrame = CFrame.new(-1.5, 4.83036566, -63.1395836, 1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, 1) | |
1106 | Part12.Position = Vector3.new(-1.5, 4.83036566, -63.1395836) | |
1107 | Part12.Color = Color3.new(0.792157, 0.796079, 0.819608) | |
1108 | Part12.Size = Vector3.new(1, 1, 1) | |
1109 | Part12.Anchored = true | |
1110 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
1111 | Part12.BrickColor = BrickColor.new("Linen") | |
1112 | Part12.CanCollide = false | |
1113 | Part12.Material = Enum.Material.Fabric | |
1114 | Part12.TopSurface = Enum.SurfaceType.Smooth | |
1115 | Part12.brickColor = BrickColor.new("Linen") | |
1116 | Part12.FormFactor = Enum.FormFactor.Symmetric | |
1117 | Part12.formFactor = Enum.FormFactor.Symmetric | |
1118 | SpecialMesh13.Parent = Part12 | |
1119 | SpecialMesh13.MeshId = "rbxassetid://1282322452" | |
1120 | SpecialMesh13.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024) | |
1121 | SpecialMesh13.MeshType = Enum.MeshType.FileMesh | |
1122 | Model14.Name = "LeftArm" | |
1123 | Model14.Parent = Model0 | |
1124 | Part15.Parent = Model14 | |
1125 | Part15.CFrame = CFrame.new(8.5, 4.83036566, -63.1395836, 1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, 1) | |
1126 | Part15.Position = Vector3.new(8.5, 4.83036566, -63.1395836) | |
1127 | Part15.Color = Color3.new(0.792157, 0.796079, 0.819608) | |
1128 | Part15.Size = Vector3.new(1, 1, 1) | |
1129 | Part15.Anchored = true | |
1130 | Part15.BottomSurface = Enum.SurfaceType.Smooth | |
1131 | Part15.BrickColor = BrickColor.new("Linen") | |
1132 | Part15.CanCollide = false | |
1133 | Part15.Material = Enum.Material.Fabric | |
1134 | Part15.TopSurface = Enum.SurfaceType.Smooth | |
1135 | Part15.brickColor = BrickColor.new("Linen") | |
1136 | Part15.FormFactor = Enum.FormFactor.Symmetric | |
1137 | Part15.formFactor = Enum.FormFactor.Symmetric | |
1138 | SpecialMesh16.Parent = Part15 | |
1139 | SpecialMesh16.MeshId = "rbxassetid://1279765257" | |
1140 | SpecialMesh16.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024) | |
1141 | SpecialMesh16.MeshType = Enum.MeshType.FileMesh | |
1142 | Part17.Parent = Model14 | |
1143 | Part17.CFrame = CFrame.new(9, 4.33036613, -62.6395836, -0.965925872, -0.0669871867, 0.249999806, 0, 0.965925872, 0.258818835, -0.258818835, 0.249999806, -0.933012784) | |
1144 | Part17.Orientation = Vector3.new(-15, 165, 0) | |
1145 | Part17.Position = Vector3.new(9, 4.33036613, -62.6395836) | |
1146 | Part17.Rotation = Vector3.new(-164.5, 14.4799995, 176.029999) | |
1147 | Part17.Color = Color3.new(0, 0, 0) | |
1148 | Part17.Size = Vector3.new(1, 1, 0.5) | |
1149 | Part17.Anchored = true | |
1150 | Part17.BottomSurface = Enum.SurfaceType.Smooth | |
1151 | ||
1152 | Part17.CanCollide = false | |
1153 | Part17.Material = Enum.Material.Neon | |
1154 | Part17.TopSurface = Enum.SurfaceType.Smooth | |
1155 | ||
1156 | Part17.FormFactor = Enum.FormFactor.Symmetric | |
1157 | Part17.formFactor = Enum.FormFactor.Symmetric | |
1158 | SpecialMesh18.Parent = Part17 | |
1159 | SpecialMesh18.MeshType = Enum.MeshType.Sphere | |
1160 | Part19.Name = "Particles" | |
1161 | Part19.Parent = Model14 | |
1162 | Part19.CFrame = CFrame.new(10, 3.62246037, -66.4395981, -1, 0, 0, 0, 0.999390841, 0.0348994173, 0, 0.0348994173, -0.999390841) | |
1163 | Part19.Orientation = Vector3.new(-2, 180, 0) | |
1164 | Part19.Position = Vector3.new(10, 3.62246037, -66.4395981) | |
1165 | Part19.Rotation = Vector3.new(-178, 0, -180) | |
1166 | Part19.Color = Color3.new(0, 0, 0) | |
1167 | Part19.Transparency = 1 | |
1168 | Part19.Size = Vector3.new(0.5, 0.5, 0.5) | |
1169 | Part19.Anchored = true | |
1170 | Part19.BottomSurface = Enum.SurfaceType.Smooth | |
1171 | ||
1172 | Part19.CanCollide = false | |
1173 | Part19.Material = Enum.Material.Neon | |
1174 | Part19.TopSurface = Enum.SurfaceType.Smooth | |
1175 | ||
1176 | Part19.FormFactor = Enum.FormFactor.Symmetric | |
1177 | Part19.formFactor = Enum.FormFactor.Symmetric | |
1178 | ParticleEmitter20.Parent = Part19 | |
1179 | ParticleEmitter20.Speed = NumberRange.new(1.2000000476837, 1.2000000476837) | |
1180 | ParticleEmitter20.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.699,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))}) | |
1181 | ParticleEmitter20.LightInfluence = 1 | |
1182 | ParticleEmitter20.Texture = "rbxassetid://258128463" | |
1183 | ParticleEmitter20.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.5,0.7),NumberSequenceKeypoint.new(1,1)}) | |
1184 | ParticleEmitter20.ZOffset = 2 | |
1185 | ParticleEmitter20.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.9999998807907),NumberSequenceKeypoint.new(0.43749988079071,0.37499964237213),NumberSequenceKeypoint.new(1,0.68749964237213)}) | |
1186 | ParticleEmitter20.Acceleration = Vector3.new(0, 0, -0.400000006) | |
1187 | ParticleEmitter20.Drag = 1 | |
1188 | ParticleEmitter20.Lifetime = NumberRange.new(3, 3) | |
1189 | ParticleEmitter20.LockedToPart = true | |
1190 | ParticleEmitter20.Rate = 100 | |
1191 | ParticleEmitter20.RotSpeed = NumberRange.new(-100, 100) | |
1192 | ParticleEmitter20.SpreadAngle = Vector2.new(360, 360) | |
1193 | ParticleEmitter20.VelocitySpread = 360 | |
1194 | Model21.Name = "Head" | |
1195 | Model21.Parent = Model0 | |
1196 | Part22.Parent = Model21 | |
1197 | Part22.CFrame = CFrame.new(4, 8.9408741, -63.4595413, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872) | |
1198 | Part22.Orientation = Vector3.new(-15, 180, 0) | |
1199 | Part22.Position = Vector3.new(4, 8.9408741, -63.4595413) | |
1200 | Part22.Rotation = Vector3.new(-165, 0, -180) | |
1201 | Part22.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
1202 | Part22.Size = Vector3.new(0.400000036, 0.400000036, 1.20000005) | |
1203 | Part22.Anchored = true | |
1204 | Part22.BottomSurface = Enum.SurfaceType.Smooth | |
1205 | Part22.BrickColor = BrickColor.new("Institutional white") | |
1206 | Part22.CanCollide = false | |
1207 | Part22.Locked = true | |
1208 | Part22.Material = Enum.Material.Neon | |
1209 | Part22.TopSurface = Enum.SurfaceType.Smooth | |
1210 | Part22.brickColor = BrickColor.new("Institutional white") | |
1211 | Part22.FormFactor = Enum.FormFactor.Symmetric | |
1212 | Part22.formFactor = Enum.FormFactor.Symmetric | |
1213 | Part22.Name = "Eye1" | |
1214 | SpecialMesh23.Parent = Part22 | |
1215 | SpecialMesh23.MeshType = Enum.MeshType.Sphere | |
1216 | Part24.Parent = Model21 | |
1217 | Part24.CFrame = CFrame.new(3.5, 8.93740559, -63.2534142, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872) | |
1218 | Part24.Orientation = Vector3.new(-15, 180, 0) | |
1219 | Part24.Position = Vector3.new(3.5, 8.93740559, -63.2534142) | |
1220 | Part24.Rotation = Vector3.new(-165, 0, -180) | |
1221 | Part24.Color = Color3.new(0, 0, 0) | |
1222 | Part24.Size = Vector3.new(2, 1, 0.800000012) | |
1223 | Part24.Anchored = true | |
1224 | Part24.BottomSurface = Enum.SurfaceType.Smooth | |
1225 | ||
1226 | Part24.CanCollide = false | |
1227 | Part24.Locked = true | |
1228 | Part24.Material = Enum.Material.Neon | |
1229 | Part24.TopSurface = Enum.SurfaceType.Smooth | |
1230 | ||
1231 | Part24.FormFactor = Enum.FormFactor.Symmetric | |
1232 | Part24.formFactor = Enum.FormFactor.Symmetric | |
1233 | SpecialMesh25.Parent = Part24 | |
1234 | SpecialMesh25.MeshType = Enum.MeshType.Sphere | |
1235 | Part26.Parent = Model21 | |
1236 | Part26.CFrame = CFrame.new(3.5, 7.62994099, -63.3966942, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872) | |
1237 | Part26.Orientation = Vector3.new(-15, 180, 0) | |
1238 | Part26.Position = Vector3.new(3.5, 7.62994099, -63.3966942) | |
1239 | Part26.Rotation = Vector3.new(-165, 0, -180) | |
1240 | Part26.Color = Color3.new(0, 0, 0) | |
1241 | Part26.Size = Vector3.new(1.80000007, 1.5999999, 0.600000024) | |
1242 | Part26.Anchored = true | |
1243 | Part26.BottomSurface = Enum.SurfaceType.Smooth | |
1244 | ||
1245 | Part26.CanCollide = false | |
1246 | Part26.Locked = true | |
1247 | Part26.Material = Enum.Material.Neon | |
1248 | Part26.TopSurface = Enum.SurfaceType.Smooth | |
1249 | ||
1250 | Part26.FormFactor = Enum.FormFactor.Symmetric | |
1251 | Part26.formFactor = Enum.FormFactor.Symmetric | |
1252 | SpecialMesh27.Parent = Part26 | |
1253 | SpecialMesh27.MeshType = Enum.MeshType.Sphere | |
1254 | Part28.Parent = Model21 | |
1255 | Part28.CFrame = CFrame.new(3, 8.9408741, -63.4595413, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872) | |
1256 | Part28.Orientation = Vector3.new(-15, 180, 0) | |
1257 | Part28.Position = Vector3.new(3, 8.9408741, -63.4595413) | |
1258 | Part28.Rotation = Vector3.new(-165, 0, -180) | |
1259 | Part28.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
1260 | Part28.Size = Vector3.new(0.400000036, 0.400000036, 1.20000005) | |
1261 | Part28.Anchored = true | |
1262 | Part28.BottomSurface = Enum.SurfaceType.Smooth | |
1263 | Part28.BrickColor = BrickColor.new("Institutional white") | |
1264 | Part28.CanCollide = false | |
1265 | Part28.Locked = true | |
1266 | Part28.Material = Enum.Material.Neon | |
1267 | Part28.TopSurface = Enum.SurfaceType.Smooth | |
1268 | Part28.brickColor = BrickColor.new("Institutional white") | |
1269 | Part28.FormFactor = Enum.FormFactor.Symmetric | |
1270 | Part28.formFactor = Enum.FormFactor.Symmetric | |
1271 | Part28.Name = "Eye2" | |
1272 | SpecialMesh29.Parent = Part28 | |
1273 | SpecialMesh29.MeshType = Enum.MeshType.Sphere | |
1274 | Part30.Parent = Model21 | |
1275 | Part30.CFrame = CFrame.new(3.5, 8.98917007, -63.4466019, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872) | |
1276 | Part30.Orientation = Vector3.new(-15, 180, 0) | |
1277 | Part30.Position = Vector3.new(3.5, 8.98917007, -63.4466019) | |
1278 | Part30.Rotation = Vector3.new(-165, 0, -180) | |
1279 | Part30.Color = Color3.new(0, 0, 0) | |
1280 | Part30.Size = Vector3.new(1, 1, 1) | |
1281 | Part30.Anchored = true | |
1282 | Part30.BottomSurface = Enum.SurfaceType.Smooth | |
1283 | ||
1284 | Part30.CanCollide = false | |
1285 | Part30.Locked = true | |
1286 | Part30.Material = Enum.Material.Neon | |
1287 | Part30.TopSurface = Enum.SurfaceType.Smooth | |
1288 | ||
1289 | Part30.FormFactor = Enum.FormFactor.Symmetric | |
1290 | Part30.formFactor = Enum.FormFactor.Symmetric | |
1291 | SpecialMesh31.Parent = Part30 | |
1292 | SpecialMesh31.MeshType = Enum.MeshType.Sphere | |
1293 | Part32.Name = "Handle" | |
1294 | Part32.Parent = Model21 | |
1295 | Part32.CFrame = CFrame.new(3.5, 8.19017696, -63.2465782, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872) | |
1296 | Part32.Orientation = Vector3.new(-15, 180, 0) | |
1297 | Part32.Position = Vector3.new(3.5, 8.19017696, -63.2465782) | |
1298 | Part32.Rotation = Vector3.new(-165, 0, -180) | |
1299 | Part32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1300 | Part32.Size = Vector3.new(0.100000001, 0.100000001, 0.100000001) | |
1301 | Part32.Anchored = true | |
1302 | Part32.BottomSurface = Enum.SurfaceType.Smooth | |
1303 | - | Part32.BrickColor = BrickColor.new("Really black") |
1303 | + | Part32.BrickColor = BrickColor.new("Really red") |
1304 | Part32.CanCollide = false | |
1305 | Part32.Locked = true | |
1306 | Part32.Material = Enum.Material.Fabric | |
1307 | Part32.TopSurface = Enum.SurfaceType.Smooth | |
1308 | - | Part32.brickColor = BrickColor.new("Really black") |
1308 | + | Part32.brickColor = BrickColor.new("Really red") |
1309 | Part32.FormFactor = Enum.FormFactor.Symmetric | |
1310 | Part32.formFactor = Enum.FormFactor.Symmetric | |
1311 | SpecialMesh33.Parent = Part32 | |
1312 | SpecialMesh33.MeshId = "http://www.roblox.com/asset/?id=13520257" | |
1313 | SpecialMesh33.Scale = Vector3.new(3, 3.0999999, 3) | |
1314 | SpecialMesh33.MeshType = Enum.MeshType.FileMesh | |
1315 | SpecialMesh33.TextureId = "http://www.roblox.com/asset/?id=2349706532" | |
1316 | Decal34.Parent = Part32 | |
1317 | --Decal34.Texture = "http://www.roblox.com/asset/?id="..MaskTextureId--124337542 2340547251 | |
1318 | Part35.Name = "Particles" | |
1319 | Part35.Parent = Model21 | |
1320 | Part35.CFrame = CFrame.new(3.5, 8.64255619, -64.4712448, -1, 0, 0, 0, 0.956304669, 0.292371869, 0, 0.292371869, -0.956304669) | |
1321 | Part35.Orientation = Vector3.new(-17, 180, 0) | |
1322 | Part35.Position = Vector3.new(3.5, 8.64255619, -64.4712448) | |
1323 | Part35.Rotation = Vector3.new(-163, 0, -180) | |
1324 | Part35.Color = Color3.new(0, 0, 0) | |
1325 | Part35.Transparency = 1 | |
1326 | Part35.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007) | |
1327 | Part35.Anchored = true | |
1328 | Part35.BottomSurface = Enum.SurfaceType.Smooth | |
1329 | ||
1330 | Part35.CanCollide = false | |
1331 | Part35.Locked = true | |
1332 | Part35.Material = Enum.Material.Neon | |
1333 | Part35.TopSurface = Enum.SurfaceType.Smooth | |
1334 | ||
1335 | Part35.FormFactor = Enum.FormFactor.Symmetric | |
1336 | Part35.formFactor = Enum.FormFactor.Symmetric | |
1337 | ParticleEmitter36.Parent = Part35 | |
1338 | ParticleEmitter36.Speed = NumberRange.new(2, 2) | |
1339 | ParticleEmitter36.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.699,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))}) | |
1340 | ParticleEmitter36.LightInfluence = 1 | |
1341 | ParticleEmitter36.Texture = "rbxassetid://258128463" | |
1342 | ParticleEmitter36.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.5,0.5),NumberSequenceKeypoint.new(1,1)}) | |
1343 | ParticleEmitter36.ZOffset = -2 | |
1344 | ParticleEmitter36.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.7500001192093),NumberSequenceKeypoint.new(0.7500001192093,0.74999988079071),NumberSequenceKeypoint.new(1,0.68749964237213)}) | |
1345 | ParticleEmitter36.Acceleration = Vector3.new(0, 0.25, 0) | |
1346 | ParticleEmitter36.Drag = 2 | |
1347 | ParticleEmitter36.Lifetime = NumberRange.new(1, 3) | |
1348 | ParticleEmitter36.LockedToPart = true | |
1349 | ParticleEmitter36.Rate = 100.01999664307 | |
1350 | ParticleEmitter36.RotSpeed = NumberRange.new(-100, 100) | |
1351 | ParticleEmitter36.SpreadAngle = Vector2.new(360, 360) | |
1352 | ParticleEmitter36.VelocitySpread = 360 | |
1353 | Part37.Name = "Head" | |
1354 | Part37.Parent = Model21 | |
1355 | Part37.CFrame = CFrame.new(3.5, 8.64255619, -64.4712448, -1, 0, 0, 0, 0.956304669, 0.292371869, 0, 0.292371869, -0.956304669) | |
1356 | Part37.Orientation = Vector3.new(-17, 180, 0) | |
1357 | Part37.Position = Vector3.new(3.5, 8.64255619, -64.4712448) | |
1358 | Part37.Rotation = Vector3.new(-163, 0, -180) | |
1359 | Part37.Color = Color3.new(0.00784314, 0.00784314, 0.00784314) | |
1360 | Part37.Size = Vector3.new(3, 3, 3) | |
1361 | Part37.Anchored = true | |
1362 | Part37.BottomSurface = Enum.SurfaceType.Smooth | |
1363 | ||
1364 | Part37.CanCollide = false | |
1365 | Part37.Locked = true | |
1366 | Part37.Material = Enum.Material.Fabric | |
1367 | Part37.TopSurface = Enum.SurfaceType.Smooth | |
1368 | ||
1369 | Part37.FormFactor = Enum.FormFactor.Symmetric | |
1370 | Part37.formFactor = Enum.FormFactor.Symmetric | |
1371 | SpecialMesh38.Parent = Part37 | |
1372 | for i,v in pairs(mas:GetChildren()) do | |
1373 | v.Parent = script | |
1374 | pcall(function() v:MakeJoints() end) | |
1375 | end | |
1376 | mas:Destroy() | |
1377 | for i,v in pairs(cors) do | |
1378 | spawn(function() | |
1379 | pcall(v) | |
1380 | end) | |
1381 | end | |
1382 | ||
1383 | script:WaitForChild("VoidBoss") | |
1384 | script.VoidBoss:WaitForChild("LeftArm") | |
1385 | script.VoidBoss:WaitForChild("RightArm") | |
1386 | script.VoidBoss:WaitForChild("Head") | |
1387 | local LAP=Instance.new("Part") | |
1388 | LAP.Reflectance = 0 | |
1389 | LAP.Transparency = 1 | |
1390 | LAP.CanCollide = false | |
1391 | LAP.Locked = true | |
1392 | LAP.Anchored=true | |
1393 | - | LAP.BrickColor = BrickColor.new("Really red") |
1393 | + | LAP.BrickColor = BrickColor.new("really black") |
1394 | LAP.Name = "Left Leg" | |
1395 | LAP.Size = Vector3.new() | |
1396 | LAP.Material = "SmoothPlastic" | |
1397 | LAP:BreakJoints() | |
1398 | -- LAP.Parent = Character | |
1399 | LAP.CFrame = CFrame.new(8.5, 4.83036566, -63.1395836, 1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, 1)*angles(math.rad(90),0,math.rad(180)) | |
1400 | for i,v in pairs(script.VoidBoss.LeftArm:GetChildren()) do | |
1401 | v.Parent = LAP | |
1402 | end | |
1403 | script.VoidBoss.LeftArm:Destroy() | |
1404 | LAP.Parent = script.VoidBoss | |
1405 | ||
1406 | local RAP=Instance.new("Part") | |
1407 | RAP.Reflectance = 0 | |
1408 | RAP.Transparency = 1 | |
1409 | RAP.CanCollide = false | |
1410 | RAP.Locked = true | |
1411 | RAP.Anchored=true | |
1412 | - | RAP.BrickColor = BrickColor.new("Really red") |
1412 | + | RAP.BrickColor = BrickColor.new("really black") |
1413 | RAP.Name = "Right Leg" | |
1414 | RAP.Size = Vector3.new() | |
1415 | RAP.Material = "SmoothPlastic" | |
1416 | RAP:BreakJoints() | |
1417 | -- RAP.Parent = Character | |
1418 | RAP.CFrame = CFrame.new(-1.5, 4.83036566, -63.1395836, 1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, 1)*angles(math.rad(90),0,math.rad(180)) | |
1419 | for i,v in pairs(script.VoidBoss.RightArm:GetChildren()) do | |
1420 | v.Parent = RAP | |
1421 | end | |
1422 | script.VoidBoss.RightArm:Destroy() | |
1423 | RAP.Parent = script.VoidBoss | |
1424 | ||
1425 | local HHP=Instance.new("Part") | |
1426 | HHP.Reflectance = 0 | |
1427 | HHP.Transparency = 1 | |
1428 | HHP.CanCollide = false | |
1429 | HHP.Locked = true | |
1430 | HHP.Anchored=true | |
1431 | - | HHP.BrickColor = BrickColor.new("Really red") |
1431 | + | HHP.BrickColor = BrickColor.new("really black") |
1432 | HHP.Name = "Head" | |
1433 | HHP.Size = Vector3.new() | |
1434 | HHP.Material = "SmoothPlastic" | |
1435 | HHP:BreakJoints() | |
1436 | ||
1437 | HHP.CFrame = CFrame.new(3.5, 8.64255619, -64.4712448, -1, 0, 0, 0, 0.956304669, 0.292371869, 0, 0.292371869, -0.956304669) | |
1438 | for i,v in pairs(script.VoidBoss.Head:GetChildren()) do | |
1439 | v.Parent = HHP | |
1440 | end | |
1441 | script.VoidBoss.Head:Destroy() | |
1442 | HHP.Parent = script.VoidBoss | |
1443 | ||
1444 | ||
1445 | --[ ACTIVATE MODEL BY GETING RID OF THIS LINE | |
1446 | for i, v in pairs(GatherAllInstances(script.VoidBoss)) do | |
1447 | if v:isA("BasePart") then | |
1448 | RemoveOutlines(v) | |
1449 | if v:FindFirstChildOfClass("SpecialMesh") and v:FindFirstChildOfClass("SpecialMesh").MeshId~=nil then | |
1450 | --local mesh = v:FindChildOfClass("SpecialMesh") | |
1451 | --v.Size = v.Size/2 | |
1452 | ||
1453 | ||
1454 | end | |
1455 | end | |
1456 | end | |
1457 | ||
1458 | for _,v in pairs(script.VoidBoss:children()) do | |
1459 | if v:IsA("BasePart") then | |
1460 | ||
1461 | if Character:FindFirstChild(""..v.Name) then | |
1462 | local Part1=Character:FindFirstChild(""..v.Name) | |
1463 | local Part2=v | |
1464 | ||
1465 | WeldAllTo(Part1,Part2,CFrame.new(0,0,0)) | |
1466 | ||
1467 | end | |
1468 | ||
1469 | ||
1470 | end | |
1471 | end | |
1472 | ||
1473 | --]] | |
1474 | ||
1475 | ||
1476 | ||
1477 | ||
1478 | for _,v in pairs(Character:children()) do | |
1479 | if v:IsA("Accessory") then | |
1480 | v:Destroy() | |
1481 | elseif v:IsA("BasePart") then | |
1482 | v.Transparency =1 | |
1483 | end | |
1484 | end | |
1485 | ||
1486 | ||
1487 | ||
1488 | DGT= function() | |
1489 | local Tlifetime = 0.17 | |
1490 | local DaggerTrail=Instance.new("Trail",Sword) | |
1491 | local Attach1 = Instance.new("Attachment",Sword.HitBox) | |
1492 | local Attach2 = Instance.new("Attachment",Sword.HitBox) | |
1493 | Attach2.Position = Vector3.new(0,0,3) | |
1494 | Attach1.Position = Vector3.new(0,0,-3) | |
1495 | DaggerTrail.Attachment0 = Attach1 | |
1496 | DaggerTrail.Attachment1 = Attach2 | |
1497 | DaggerTrail.Texture = "rbxassetid://1251856844" | |
1498 | DaggerTrail.Lifetime = .1 | |
1499 | DaggerTrail.MaxLength = 10 | |
1500 | DaggerTrail.MinLength = 0 | |
1501 | DaggerTrail.TextureMode= "Static" | |
1502 | DaggerTrail.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)}) | |
1503 | DaggerTrail.WidthScale=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
1504 | DaggerTrail.LightEmission=0 | |
1505 | DaggerTrail.Color = ColorSequence.new(Color3.new(0,1,0),Color3.new(0,1,0)) | |
1506 | DaggerTrail.LightEmission = 1 | |
1507 | game:GetService("Debris"):AddItem(DaggerTrail, Tlifetime) | |
1508 | game:GetService("Debris"):AddItem(Attach1, Tlifetime) | |
1509 | game:GetService("Debris"):AddItem(Attach2, Tlifetime) | |
1510 | end | |
1511 | ||
1512 | function CreatePart( Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1513 | local Part = Create("Part"){ | |
1514 | ||
1515 | Parent = Parent, | |
1516 | Reflectance = Reflectance, | |
1517 | Transparency = Transparency, | |
1518 | CanCollide = false, | |
1519 | Locked = true, | |
1520 | BrickColor = BrickColor.new(tostring(BColor)), | |
1521 | Name = Name, | |
1522 | Size = Size, | |
1523 | Material = Material, | |
1524 | } | |
1525 | RemoveOutlines(Part) | |
1526 | return Part | |
1527 | end | |
1528 | ||
1529 | function CreateMesh2(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
1530 | local NEWMESH = IT(MESH) | |
1531 | if MESH == "SpecialMesh" then | |
1532 | NEWMESH.MeshType = MESHTYPE | |
1533 | if MESHID ~= "nil" and MESHID ~= "" then | |
1534 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
1535 | end | |
1536 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
1537 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
1538 | end | |
1539 | end | |
1540 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
1541 | NEWMESH.Scale = SCALE | |
1542 | NEWMESH.Parent = PARENT | |
1543 | return NEWMESH | |
1544 | end | |
1545 | ||
1546 | function CreatePart2(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
1547 | local NEWPART = IT("Part") | |
1548 | NEWPART.formFactor = FORMFACTOR | |
1549 | NEWPART.Reflectance = REFLECTANCE | |
1550 | NEWPART.Transparency = TRANSPARENCY | |
1551 | NEWPART.CanCollide = false | |
1552 | NEWPART.Locked = true | |
1553 | NEWPART.Anchored = true | |
1554 | if ANCHOR == false then | |
1555 | NEWPART.Anchored = false | |
1556 | end | |
1557 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
1558 | NEWPART.Name = NAME | |
1559 | NEWPART.Size = SIZE | |
1560 | NEWPART.Position = Torso.Position | |
1561 | NEWPART.Material = MATERIAL | |
1562 | NEWPART:BreakJoints() | |
1563 | NEWPART.Parent = PARENT | |
1564 | return NEWPART | |
1565 | end | |
1566 | ||
1567 | local S = IT("Sound") | |
1568 | function CreateSound2(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
1569 | local NEWSOUND = nil | |
1570 | coroutine.resume(coroutine.create(function() | |
1571 | NEWSOUND = S:Clone() | |
1572 | NEWSOUND.Parent = PARENT | |
1573 | NEWSOUND.Volume = VOLUME | |
1574 | NEWSOUND.Pitch = PITCH | |
1575 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1576 | NEWSOUND:play() | |
1577 | if DOESLOOP == true then | |
1578 | NEWSOUND.Looped = true | |
1579 | else | |
1580 | repeat wait(1) until NEWSOUND.Playing == false | |
1581 | NEWSOUND:remove() | |
1582 | end | |
1583 | end)) | |
1584 | return NEWSOUND | |
1585 | end | |
1586 | ||
1587 | ||
1588 | function WACKYEFFECT(Table) | |
1589 | local TYPE = (Table.EffectType or "Sphere") | |
1590 | local SIZE = (Table.Size or VT(1,1,1)) | |
1591 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
1592 | local TRANSPARENCY = (Table.Transparency or 0) | |
1593 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
1594 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
1595 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
1596 | local ROTATION1 = (Table.RotationX or 0) | |
1597 | local ROTATION2 = (Table.RotationY or 0) | |
1598 | local ROTATION3 = (Table.RotationZ or 0) | |
1599 | local MATERIAL = (Table.Material or "Neon") | |
1600 | local COLOR = (Table.Color or C3(1,1,1)) | |
1601 | local TIME = (Table.Time or 45) | |
1602 | local SOUNDID = (Table.SoundID or nil) | |
1603 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
1604 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
1605 | local TweenNameType = (Table.TweenNType or "Linear" ) | |
1606 | local TweenInOutType = (Table.TweenOType or "InOut" ) | |
1607 | coroutine.resume(coroutine.create(function() | |
1608 | local PLAYSSOUND = false | |
1609 | local SOUND = nil | |
1610 | local EFFECT = CreatePart2(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
1611 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
1612 | PLAYSSOUND = true | |
1613 | SOUND = CreateSound2(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
1614 | end | |
1615 | EFFECT.Color = COLOR | |
1616 | local MSH = nil | |
1617 | if TYPE == "Sphere" then | |
1618 | MSH = CreateMesh2("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
1619 | elseif TYPE == "Block" then | |
1620 | MSH = IT("BlockMesh",EFFECT) | |
1621 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
1622 | elseif TYPE == "Wave" then | |
1623 | MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
1624 | elseif TYPE == "Ring" then | |
1625 | MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
1626 | elseif TYPE == "Slash" then | |
1627 | MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1628 | elseif TYPE == "Round Slash" then | |
1629 | MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1630 | elseif TYPE == "Swirl" then | |
1631 | MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
1632 | elseif TYPE == "Skull" then | |
1633 | MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
1634 | elseif TYPE == "Crystal" then | |
1635 | MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
1636 | elseif TYPE == "Crown" then | |
1637 | MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "173770780", "", SIZE, VT(0,0,0)) | |
1638 | end | |
1639 | if MSH ~= nil then | |
1640 | local MOVESPEED = nil | |
1641 | if MOVEDIRECTION ~= nil then | |
1642 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
1643 | end | |
1644 | local GROWTH = SIZE - ENDSIZE | |
1645 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
1646 | if TYPE == "Block" then | |
1647 | ||
1648 | SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",TIME/60) | |
1649 | else | |
1650 | ||
1651 | SetTween(EFFECT,{CFrame = CFRAME},"Linear","InOut",0) | |
1652 | ||
1653 | end | |
1654 | ||
1655 | ||
1656 | ||
1657 | wait() | |
1658 | ||
1659 | SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS},"Linear","InOut",TIME/60) | |
1660 | ||
1661 | if TYPE == "Block" then | |
1662 | ||
1663 | SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0) | |
1664 | else | |
1665 | ||
1666 | SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0) | |
1667 | ||
1668 | end | |
1669 | if MOVEDIRECTION ~= nil then | |
1670 | local ORI = EFFECT.Orientation | |
1671 | ||
1672 | SetTween(EFFECT,{CFrame=CF(MOVEDIRECTION)},"Linear","InOut",TIME/60) | |
1673 | SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",TIME/60) | |
1674 | ||
1675 | ||
1676 | end | |
1677 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
1678 | SetTween(MSH,{Scale=ENDSIZE},TweenNameType,TweenInOutType,TIME/60) | |
1679 | if TYPE == "Wave" then | |
1680 | ||
1681 | SetTween(MSH,{Offset=VT(0,0,-MSH.Scale.X/8)},TweenNameType,TweenInOutType,TIME/60) | |
1682 | end | |
1683 | for LOOP = 1, TIME+1 do | |
1684 | wait(.05) | |
1685 | ||
1686 | --SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS/TIME},"Linear","InOut",0) | |
1687 | ||
1688 | ||
1689 | if TYPE == "Block" then | |
1690 | ||
1691 | -- SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0) | |
1692 | else | |
1693 | ||
1694 | -- SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0) | |
1695 | ||
1696 | end | |
1697 | if MOVEDIRECTION ~= nil then | |
1698 | local ORI = EFFECT.Orientation | |
1699 | ||
1700 | -- SetTween(EFFECT,{CFrame=CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)},"Linear","InOut",0) | |
1701 | -- SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",0) | |
1702 | ||
1703 | ||
1704 | end | |
1705 | end | |
1706 | game:GetService("Debris"):AddItem(EFFECT, 15) | |
1707 | coroutine.resume(coroutine.create(function() | |
1708 | if PLAYSSOUND == false then | |
1709 | EFFECT:remove() | |
1710 | else | |
1711 | SOUND.Stopped:Connect(function() | |
1712 | EFFECT:remove() | |
1713 | end) | |
1714 | end | |
1715 | end)) | |
1716 | else | |
1717 | coroutine.resume(coroutine.create(function() | |
1718 | if PLAYSSOUND == false then | |
1719 | EFFECT:remove() | |
1720 | else | |
1721 | repeat wait() until SOUND.Playing == false | |
1722 | EFFECT:remove() | |
1723 | end | |
1724 | end)) | |
1725 | end | |
1726 | end)) | |
1727 | end | |
1728 | ||
1729 | ||
1730 | ||
1731 | ||
1732 | ||
1733 | ||
1734 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1735 | ||
1736 | if hit.Parent == nil then | |
1737 | return | |
1738 | end | |
1739 | local h = hit.Parent:FindFirstChild("Humanoid") | |
1740 | for _,v in pairs(hit.Parent:children()) do | |
1741 | if v:IsA("Humanoid") then | |
1742 | ||
1743 | h = v | |
1744 | ||
1745 | end | |
1746 | ||
1747 | end | |
1748 | ||
1749 | --gg | |
1750 | ||
1751 | --local FoundTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
1752 | coroutine.resume(coroutine.create(function() | |
1753 | if h.Health >9999999 and minim <9999 and Type~= "IgnoreType" and(h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then | |
1754 | ||
1755 | ||
1756 | local FATag = Instance.new("Model",h.Parent) | |
1757 | ||
1758 | FATag.Name = "Fly away" | |
1759 | game:GetService("Debris"):AddItem(FATag, 2.5) | |
1760 | ||
1761 | ||
1762 | for _,v in pairs(h.Parent:children()) do | |
1763 | if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then | |
1764 | v.Anchored=true | |
1765 | end | |
1766 | end | |
1767 | ||
1768 | wait(.25) | |
1769 | ||
1770 | if h.Parent:FindFirstChildOfClass("Body Colors")then | |
1771 | h.Parent:FindFirstChildOfClass("Body Colors"):Destroy() | |
1772 | end | |
1773 | ||
1774 | ||
1775 | local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso") | |
1776 | ||
1777 | coroutine.resume(coroutine.create(function() | |
1778 | ||
1779 | ||
1780 | local YourGone = Instance.new("Part") | |
1781 | YourGone.Reflectance = 0 | |
1782 | YourGone.Transparency = 1 | |
1783 | YourGone.CanCollide = false | |
1784 | YourGone.Locked = true | |
1785 | YourGone.Anchored=true | |
1786 | - | YourGone.BrickColor = BrickColor.new("Really red") |
1786 | + | YourGone.BrickColor = BrickColor.new("really black") |
1787 | YourGone.Name = "YourGone" | |
1788 | YourGone.Size = Vector3.new() | |
1789 | YourGone.Material = "SmoothPlastic" | |
1790 | YourGone:BreakJoints() | |
1791 | YourGone.Parent = FoundTorso | |
1792 | YourGone.CFrame = FoundTorso.CFrame | |
1793 | ||
1794 | local NewParticle = Instance.new("ParticleEmitter") | |
1795 | NewParticle.Parent = YourGone | |
1796 | NewParticle.Acceleration = Vector3.new(0,0,0) | |
1797 | NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)}) | |
1798 | NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0)) | |
1799 | NewParticle.Lifetime = NumberRange.new(0.55,0.95) | |
1800 | NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)}) | |
1801 | NewParticle.Speed = NumberRange.new(0,0.0) | |
1802 | NewParticle.ZOffset = 2 | |
1803 | NewParticle.Texture = "rbxassetid://243660364" | |
1804 | NewParticle.RotSpeed = NumberRange.new(-0,0) | |
1805 | NewParticle.Rotation = NumberRange.new(-180,180) | |
1806 | NewParticle.Enabled = false | |
1807 | game:GetService("Debris"):AddItem(YourGone, 3) | |
1808 | for i = 0,2,1 do | |
1809 | NewParticle:Emit(1) | |
1810 | so("1448044156", FoundTorso,2, 1) | |
1811 | h.Parent:BreakJoints() | |
1812 | YourGone.CFrame = FoundTorso.CFrame | |
1813 | for _,v in pairs(h.Parent:children()) do | |
1814 | if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then | |
1815 | v.Anchored=false | |
1816 | -- v.Material = "Neon" | |
1817 | - | --v.BrickColor = BrickColor.new("Really red") |
1817 | + | --v.BrickColor = BrickColor.new("really black") |
1818 | if v:FindFirstChildOfClass("SpecialMesh")then | |
1819 | --v:Destroy() | |
1820 | end | |
1821 | if v:FindFirstChildOfClass("Decal") and v.Name == "face" then | |
1822 | -- v:Destroy() | |
1823 | end | |
1824 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) }) | |
1825 | ||
1826 | vp.Parent = v | |
1827 | game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000) | |
1828 | ||
1829 | ||
1830 | end | |
1831 | ||
1832 | ||
1833 | ||
1834 | end | |
1835 | ||
1836 | ||
1837 | ||
1838 | wait(.2) | |
1839 | end | |
1840 | wait(.1) | |
1841 | NewParticle:Emit(3) | |
1842 | so("1448044156", FoundTorso,2, .8) | |
1843 | h.Parent:BreakJoints() | |
1844 | YourGone.CFrame = FoundTorso.CFrame | |
1845 | for _,v in pairs(h.Parent:children()) do | |
1846 | if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then | |
1847 | v.Anchored=false | |
1848 | -- v.Material = "Neon" | |
1849 | - | --v.BrickColor = BrickColor.new("Really red") |
1849 | + | --v.BrickColor = BrickColor.new("really black") |
1850 | if v:FindFirstChildOfClass("SpecialMesh")then | |
1851 | --v:Destroy() | |
1852 | end | |
1853 | if v:FindFirstChildOfClass("Decal") and v.Name == "face" then | |
1854 | -- v:Destroy() | |
1855 | end | |
1856 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) }) | |
1857 | ||
1858 | vp.Parent = v | |
1859 | game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000) | |
1860 | ||
1861 | ||
1862 | end | |
1863 | ||
1864 | ||
1865 | ||
1866 | end | |
1867 | ||
1868 | ||
1869 | ||
1870 | ||
1871 | end)) | |
1872 | ||
1873 | ||
1874 | ||
1875 | ||
1876 | wait(.1) | |
1877 | ||
1878 | ||
1879 | ||
1880 | ||
1881 | ||
1882 | ||
1883 | ||
1884 | end | |
1885 | ||
1886 | ||
1887 | end)) | |
1888 | if h ~= nil and hit.Parent ~= Character and hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
1889 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
1890 | return | |
1891 | end | |
1892 | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").basstracker1970, Parent = h}) | |
1893 | game:GetService("Debris"):AddItem(c, 0.5) | |
1894 | if HitSound ~= nil and HitPitch ~= nil then | |
1895 | so(HitSound, hit, 1, HitPitch) | |
1896 | end | |
1897 | local Damage = math.random(minim, maxim) | |
1898 | local blocked = false | |
1899 | local block = hit.Parent:findFirstChild("Block") | |
1900 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
1901 | blocked = true | |
1902 | block.Value = block.Value - 1 | |
1903 | print(block.Value) | |
1904 | end | |
1905 | lockon(h.Parent) | |
1906 | if blocked == false then | |
1907 | h.Health = h.Health - Damage | |
1908 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 2.5, Color3.new(0,0,0)) | |
1909 | else | |
1910 | h.Health = h.Health - Damage / 2 | |
1911 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 2.5, Color3.new(0,0,0)) | |
1912 | ||
1913 | end | |
1914 | ||
1915 | if Type == "Knockdown" then | |
1916 | local hum = h | |
1917 | ||
1918 | hum.PlatformStand = true | |
1919 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1920 | ||
1921 | wait(.2) | |
1922 | HHumanoid.PlatformStand = false | |
1923 | end | |
1924 | ), hum) | |
1925 | ||
1926 | ||
1927 | ||
1928 | local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso") | |
1929 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
1930 | local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,FoundTorso.Position).lookVector * knockback, Parent = hit}) | |
1931 | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit}) | |
1932 | game:GetService("Debris"):AddItem(bodvol, .2) | |
1933 | game:GetService("Debris"):AddItem(rl, 0.2) | |
1934 | ||
1935 | ||
1936 | ||
1937 | elseif Type == "Knockdown2" then | |
1938 | local hum = h | |
1939 | ||
1940 | hum.PlatformStand = true | |
1941 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1942 | ||
1943 | ||
1944 | Combo = 1 wait(.2) | |
1945 | HHumanoid.PlatformStand = false | |
1946 | end | |
1947 | ), hum) | |
1948 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
1949 | local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback}) | |
1950 | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit}) | |
1951 | game:GetService("Debris"):AddItem(bodvol, 0.2) | |
1952 | game:GetService("Debris"):AddItem(rl, 0.2) | |
1953 | ||
1954 | ||
1955 | ||
1956 | ||
1957 | ||
1958 | ||
1959 | local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart}) | |
1960 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.1) | |
1961 | ||
1962 | elseif Type == "Normal" then | |
1963 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback}) | |
1964 | if knockback > 0 then | |
1965 | ||
1966 | local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
1967 | vp.Parent = HTorso | |
1968 | end | |
1969 | game:GetService("Debris"):AddItem(vp, 0.25) | |
1970 | ||
1971 | ||
1972 | ||
1973 | ||
1974 | ||
1975 | ||
1976 | ||
1977 | ||
1978 | ||
1979 | ||
1980 | ||
1981 | ||
1982 | ||
1983 | elseif Type== "Instakill" then | |
1984 | coroutine.resume(coroutine.create(function() | |
1985 | if (h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then | |
1986 | ||
1987 | ||
1988 | local FATag = Instance.new("Model",h.Parent) | |
1989 | ||
1990 | FATag.Name = "Fly away" | |
1991 | game:GetService("Debris"):AddItem(FATag, 2.5) | |
1992 | ||
1993 | ||
1994 | for _,v in pairs(h.Parent:children()) do | |
1995 | if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then | |
1996 | v.Anchored=true | |
1997 | end | |
1998 | end | |
1999 | ||
2000 | wait(.25) | |
2001 | ||
2002 | if h.Parent:FindFirstChildOfClass("Body Colors")then | |
2003 | h.Parent:FindFirstChildOfClass("Body Colors"):Destroy() | |
2004 | end | |
2005 | ||
2006 | ||
2007 | local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso") | |
2008 | ||
2009 | coroutine.resume(coroutine.create(function() | |
2010 | ||
2011 | ||
2012 | local YourGone = Instance.new("Part") | |
2013 | YourGone.Reflectance = 0 | |
2014 | YourGone.Transparency = 1 | |
2015 | YourGone.CanCollide = false | |
2016 | YourGone.Locked = true | |
2017 | YourGone.Anchored=true | |
2018 | - | YourGone.BrickColor = BrickColor.new("Really red") |
2018 | + | YourGone.BrickColor = BrickColor.new("really black") |
2019 | YourGone.Name = "YourGone" | |
2020 | YourGone.Size = Vector3.new() | |
2021 | YourGone.Material = "SmoothPlastic" | |
2022 | YourGone:BreakJoints() | |
2023 | YourGone.Parent = FoundTorso | |
2024 | YourGone.CFrame = FoundTorso.CFrame | |
2025 | ||
2026 | local NewParticle = Instance.new("ParticleEmitter") | |
2027 | NewParticle.Parent = YourGone | |
2028 | NewParticle.Acceleration = Vector3.new(0,0,0) | |
2029 | NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)}) | |
2030 | NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0)) | |
2031 | NewParticle.Lifetime = NumberRange.new(0.55,0.95) | |
2032 | NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)}) | |
2033 | NewParticle.Speed = NumberRange.new(0,0.0) | |
2034 | NewParticle.ZOffset = 2 | |
2035 | NewParticle.Texture = "rbxassetid://243660364" | |
2036 | NewParticle.RotSpeed = NumberRange.new(-0,0) | |
2037 | NewParticle.Rotation = NumberRange.new(-180,180) | |
2038 | NewParticle.Enabled = false | |
2039 | game:GetService("Debris"):AddItem(YourGone, 3) | |
2040 | for i = 0,2,1 do | |
2041 | NewParticle:Emit(1) | |
2042 | so("1448044156", FoundTorso,2, 1) | |
2043 | h.Parent:BreakJoints() | |
2044 | YourGone.CFrame = FoundTorso.CFrame | |
2045 | for _,v in pairs(h.Parent:children()) do | |
2046 | if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then | |
2047 | v.Anchored=false | |
2048 | -- v.Material = "Neon" | |
2049 | - | --v.BrickColor = BrickColor.new("Really red") |
2049 | + | --v.BrickColor = BrickColor.new("really black") |
2050 | if v:FindFirstChildOfClass("SpecialMesh")then | |
2051 | --v:Destroy() | |
2052 | end | |
2053 | if v:FindFirstChildOfClass("Decal") and v.Name == "face" then | |
2054 | -- v:Destroy() | |
2055 | end | |
2056 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) }) | |
2057 | ||
2058 | vp.Parent = v | |
2059 | game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000) | |
2060 | ||
2061 | ||
2062 | end | |
2063 | ||
2064 | ||
2065 | ||
2066 | end | |
2067 | ||
2068 | ||
2069 | ||
2070 | wait(.2) | |
2071 | end | |
2072 | wait(.1) | |
2073 | NewParticle:Emit(3) | |
2074 | so("1448044156", FoundTorso,2, .8) | |
2075 | h.Parent:BreakJoints() | |
2076 | YourGone.CFrame = FoundTorso.CFrame | |
2077 | for _,v in pairs(h.Parent:children()) do | |
2078 | if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then | |
2079 | v.Anchored=false | |
2080 | -- v.Material = "Neon" | |
2081 | - | --v.BrickColor = BrickColor.new("Really red") |
2081 | + | --v.BrickColor = BrickColor.new("really black") |
2082 | if v:FindFirstChildOfClass("SpecialMesh")then | |
2083 | --v:Destroy() | |
2084 | end | |
2085 | if v:FindFirstChildOfClass("Decal") and v.Name == "face" then | |
2086 | -- v:Destroy() | |
2087 | end | |
2088 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) }) | |
2089 | ||
2090 | vp.Parent = v | |
2091 | game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000) | |
2092 | ||
2093 | ||
2094 | end | |
2095 | ||
2096 | ||
2097 | ||
2098 | end | |
2099 | ||
2100 | ||
2101 | ||
2102 | ||
2103 | end)) | |
2104 | ||
2105 | ||
2106 | ||
2107 | ||
2108 | wait(.1) | |
2109 | ||
2110 | ||
2111 | ||
2112 | ||
2113 | ||
2114 | ||
2115 | ||
2116 | end | |
2117 | ||
2118 | ||
2119 | end)) | |
2120 | ||
2121 | ||
2122 | ||
2123 | ||
2124 | elseif Type == "HPSteal" then | |
2125 | Humanoid.Health = Humanoid.Health + Damage | |
2126 | local hum = h | |
2127 | ||
2128 | hum.PlatformStand = true | |
2129 | coroutine.resume(coroutine.create(function(HHumanoid) | |
2130 | ||
2131 | ||
2132 | Combo = 1 wait(.2) | |
2133 | HHumanoid.PlatformStand = false | |
2134 | end | |
2135 | ), hum) | |
2136 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
2137 | local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback}) | |
2138 | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit}) | |
2139 | game:GetService("Debris"):AddItem(bodvol, 0.2) | |
2140 | game:GetService("Debris"):AddItem(rl, 0.2) | |
2141 | ||
2142 | ||
2143 | ||
2144 | ||
2145 | ||
2146 | ||
2147 | local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart}) | |
2148 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.1) | |
2149 | ||
2150 | ||
2151 | elseif Type == "Impale" then | |
2152 | ||
2153 | ||
2154 | ||
2155 | ||
2156 | ||
2157 | ||
2158 | ||
2159 | ||
2160 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2) | |
2161 | hit.Parent.Humanoid.PlatformStand = true | |
2162 | ||
2163 | ||
2164 | wait(1) | |
2165 | hit.Parent.Humanoid.PlatformStand = false | |
2166 | elseif Type == "IgnoreType" then | |
2167 | ||
2168 | ||
2169 | ||
2170 | ||
2171 | ||
2172 | elseif Type == "Up" then | |
2173 | local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
2174 | game:GetService("Debris"):AddItem(bodyVelocity, 0.1) | |
2175 | local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
2176 | game:GetService("Debris"):AddItem(bodyVelocity, .1) | |
2177 | ||
2178 | ||
2179 | ||
2180 | ||
2181 | ||
2182 | ||
2183 | ||
2184 | elseif Type == "Snare" then | |
2185 | local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso}) | |
2186 | game:GetService("Debris"):AddItem(bp, 1) | |
2187 | ||
2188 | ||
2189 | ||
2190 | elseif Type == "Freeze2" then | |
2191 | local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso}) | |
2192 | local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame}) | |
2193 | hit.Parent.Torso.Anchored = true | |
2194 | coroutine.resume(coroutine.create(function(Part) | |
2195 | ||
2196 | wait(1.5) | |
2197 | Part.Anchored = false | |
2198 | end | |
2199 | ), hit.Parent.Torso) | |
2200 | game:GetService("Debris"):AddItem(BodPos, 3) | |
2201 | game:GetService("Debris"):AddItem(BodGy, 3) | |
2202 | end | |
2203 | local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true}) | |
2204 | game:GetService("Debris"):AddItem(debounce, Delay) | |
2205 | c = Instance.new("ObjectValue") | |
2206 | c.Name = "creator" | |
2207 | c.Value = Player | |
2208 | c.Parent = h | |
2209 | game:GetService("Debris"):AddItem(c, 0.5) | |
2210 | end | |
2211 | end | |
2212 | ||
2213 | ||
2214 | ||
2215 | ShowDamage = function(Pos, Text, Time, Color) | |
2216 | ||
2217 | local Rate = 0.033333333333333 | |
2218 | if not Pos then | |
2219 | local Pos = Vector3.new(0, 0, 0) | |
2220 | end | |
2221 | local Text = Text or "" | |
2222 | local Time = Time or 2 | |
2223 | if not Color then | |
2224 | local Color = Color3.new(1, 0, 1) | |
2225 | end | |
2226 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
2227 | EffectPart.Anchored = true | |
2228 | local BillboardGui = Create("BillboardGui")({Size = UDim2.new(2, 0, 2, 0), Adornee = EffectPart, Parent = EffectPart}) | |
2229 | local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = "DMG: "..Text.."", TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui}) | |
2230 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
2231 | EffectPart.Parent = game:GetService("Workspace") | |
2232 | delay(0, function() | |
2233 | ||
2234 | local Frames = Time / Rate | |
2235 | ||
2236 | ||
2237 | ||
2238 | print(Frames) | |
2239 | TextLabel.TextTransparency=0 | |
2240 | EffectPart.CFrame=CFrame.new(Pos) | |
2241 | wait() | |
2242 | SetTween(TextLabel,{TextTransparency=1},"Quad","In",Frames/60) | |
2243 | SetTween(TextLabel,{Rotation=math.random(-25,25)},"Elastic","InOut",Frames/60) | |
2244 | SetTween(TextLabel,{TextColor3=Color3.new(.15,0,.5)},"Elastic","InOut",Frames/60) | |
2245 | ||
2246 | SetTween(EffectPart,{CFrame = CFrame.new(Pos) + Vector3.new(math.random(-5,5), math.random(1,5), math.random(-5,5))},"Linear","InOut",Frames/60) | |
2247 | ||
2248 | ||
2249 | wait(Frames/60) | |
2250 | ||
2251 | if EffectPart and EffectPart.Parent then | |
2252 | EffectPart:Destroy() | |
2253 | end | |
2254 | end | |
2255 | ) | |
2256 | end | |
2257 | ||
2258 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type2) | |
2259 | ||
2260 | ||
2261 | ||
2262 | ||
2263 | local Type="" | |
2264 | ||
2265 | ||
2266 | ||
2267 | ||
2268 | if mememode == true then | |
2269 | ||
2270 | Type= "Instakill" | |
2271 | ||
2272 | else | |
2273 | Type=Type2 | |
2274 | end | |
2275 | if Type2 == "NormalKnockdown" then | |
2276 | Type= "Knockdown" | |
2277 | end | |
2278 | ||
2279 | for _,c in pairs(workspace:children()) do | |
2280 | ||
2281 | ||
2282 | ||
2283 | ||
2284 | ||
2285 | local hum = c:FindFirstChild("Humanoid") | |
2286 | for _,v in pairs(c:children()) do | |
2287 | if v:IsA("Humanoid") then | |
2288 | hum = v | |
2289 | end | |
2290 | end | |
2291 | ||
2292 | ||
2293 | ||
2294 | ||
2295 | if hum ~= nil then | |
2296 | local head = c:findFirstChild("Head") | |
2297 | if head ~= nil then | |
2298 | local targ = head.Position - Part.Position | |
2299 | local mag = targ.magnitude | |
2300 | if mag <= magni and c.Name ~= Player.Name then | |
2301 | Damagefunc(Part, head, mindam, maxdam, knock, Type, RootPart, 0.1, "851453784", 1.2) | |
2302 | end | |
2303 | end | |
2304 | end | |
2305 | end | |
2306 | end | |
2307 | ||
2308 | ||
2309 | function CFMagniDamage(HTCF,magni, mindam, maxdam, knock, Type) | |
2310 | local DGP = Instance.new("Part") | |
2311 | ||
2312 | DGP.Parent = Character | |
2313 | DGP.Size = Vector3.new(0.05, 0.05, 0.05) | |
2314 | DGP.Transparency = 1 | |
2315 | DGP.CanCollide = false | |
2316 | DGP.Anchored = true | |
2317 | RemoveOutlines(DGP) | |
2318 | DGP.Position=DGP.Position + Vector3.new(0,-.1,0) | |
2319 | DGP.CFrame = HTCF | |
2320 | ||
2321 | coroutine.resume(coroutine.create(function() | |
2322 | MagniDamage(DGP, magni, mindam, maxdam, knock, Type) | |
2323 | end)) | |
2324 | game:GetService("Debris"):AddItem(DGP, .05) | |
2325 | ||
2326 | ||
2327 | DGP.Archivable = false | |
2328 | end | |
2329 | ||
2330 | ||
2331 | ||
2332 | ||
2333 | ------------------ | |
2334 | --[End of Sword]-- | |
2335 | ------------------ | |
2336 | ||
2337 | --------------- | |
2338 | --[Particles]-- | |
2339 | --------------- | |
2340 | ||
2341 | ||
2342 | local Particle2_1 = Create("ParticleEmitter"){ | |
2343 | Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (170/255, 255/255, 255/255)), | |
2344 | Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.75,.4),NumberSequenceKeypoint.new(1,1)}), | |
2345 | Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,.0)}), | |
2346 | Texture = "rbxassetid://241922778", | |
2347 | Lifetime = NumberRange.new(0.55,0.95), | |
2348 | Rate = 100, | |
2349 | VelocitySpread = 180, | |
2350 | Rotation = NumberRange.new(0), | |
2351 | RotSpeed = NumberRange.new(-200,200), | |
2352 | Speed = NumberRange.new(8.0), | |
2353 | LightEmission = 1, | |
2354 | LockedToPart = false, | |
2355 | Acceleration = Vector3.new(0, 0, 0), | |
2356 | EmissionDirection = "Top", | |
2357 | Drag = 4, | |
2358 | Enabled = false | |
2359 | } | |
2360 | ||
2361 | ||
2362 | local BEGONE_Particle = Create("ParticleEmitter"){ | |
2363 | Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (1, 1, 1)), | |
2364 | Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,0),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(0.5,.2),NumberSequenceKeypoint.new(1,1)}), | |
2365 | Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.15,1.5),NumberSequenceKeypoint.new(.75,1.5),NumberSequenceKeypoint.new(1,0)}), | |
2366 | Texture = "rbxassetid://936193661", | |
2367 | Lifetime = NumberRange.new(1.5), | |
2368 | Rate = 100, | |
2369 | VelocitySpread = 0, | |
2370 | Rotation = NumberRange.new(0), | |
2371 | RotSpeed = NumberRange.new(-10,10), | |
2372 | Speed = NumberRange.new(0), | |
2373 | LightEmission = .25, | |
2374 | LockedToPart = true, | |
2375 | Acceleration = Vector3.new(0, -0, 0), | |
2376 | EmissionDirection = "Top", | |
2377 | Drag = 4, | |
2378 | ZOffset = 1, | |
2379 | Enabled = false | |
2380 | } | |
2381 | ||
2382 | ||
2383 | ||
2384 | ||
2385 | ||
2386 | ||
2387 | ||
2388 | ||
2389 | ||
2390 | ||
2391 | local VoidEmitter = Create("ParticleEmitter"){ | |
2392 | Speed = NumberRange.new(1, 1), | |
2393 | Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.699,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))}), | |
2394 | LightInfluence = 1, | |
2395 | Texture = "rbxassetid://258128463", | |
2396 | Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.5,0.5),NumberSequenceKeypoint.new(1,1)}), | |
2397 | ZOffset = 2, | |
2398 | Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.7500001192093),NumberSequenceKeypoint.new(0.7500001192093,0.74999988079071),NumberSequenceKeypoint.new(1,0.68749964237213)}), | |
2399 | Acceleration = Vector3.new(0, 0.25, 0), | |
2400 | Drag = 2, | |
2401 | Lifetime = NumberRange.new(1, 2), | |
2402 | LockedToPart = false, | |
2403 | Rate = 50.01999664307, | |
2404 | RotSpeed = NumberRange.new(-100, 100), | |
2405 | SpreadAngle = Vector2.new(360, 360), | |
2406 | VelocitySpread = 360, | |
2407 | Enabled = false | |
2408 | } | |
2409 | ||
2410 | ||
2411 | ||
2412 | ||
2413 | ||
2414 | ||
2415 | ---------------------- | |
2416 | --[End Of Particles]-- | |
2417 | ---------------------- | |
2418 | ||
2419 | ||
2420 | ||
2421 | ||
2422 | ----------------- | |
2423 | ||
2424 | function lockon_OnOff () | |
2425 | coroutine.resume(coroutine.create(function() | |
2426 | ||
2427 | local NewParticleH = Instance.new("Attachment",eye) | |
2428 | NewParticleH.Position = Vector3.new(0,0,.25) | |
2429 | coroutine.resume(coroutine.create(function() | |
2430 | local CrystalMainColor = Color3.new(0,1,0) | |
2431 | ||
2432 | ||
2433 | local NewParticle = Particle2_1:Clone() | |
2434 | NewParticle.Parent = NewParticleH | |
2435 | NewParticle.Enabled = true | |
2436 | NewParticle.Texture = "rbxassetid://68942583" | |
2437 | NewParticle.Acceleration = Vector3.new(0,0,0) | |
2438 | NewParticle.Speed = NumberRange.new(0) | |
2439 | NewParticle.LockedToPart = true | |
2440 | NewParticle.ZOffset = .25 | |
2441 | NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5),NumberSequenceKeypoint.new(1,0)}) | |
2442 | NewParticle.Rate = 50 | |
2443 | NewParticle.Color = ColorSequence.new(CrystalMainColor, CrystalMainColor) | |
2444 | NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,.9)}) | |
2445 | NewParticle.Name = "XEF" | |
2446 | ||
2447 | ||
2448 | end)) | |
2449 | ||
2450 | ||
2451 | while ZT == true do | |
2452 | ||
2453 | ||
2454 | ||
2455 | SetTween(imgl,{Rotation=imgl.Rotation+25.5},"Elastic","Out",3) | |
2456 | if ZTfade==true then | |
2457 | SetTween(imgl,{ImageTransparency=.7},"Elastic","Out",3) | |
2458 | SetTween(crosshair,{Size = UDim2.new(10,0,10,0)},"Elastic","Out",1.5) | |
2459 | end | |
2460 | ||
2461 | ||
2462 | wait(1.5) | |
2463 | if ZTfade==true then | |
2464 | SetTween(imgl,{ImageTransparency=0},"Linear","InOut",0) | |
2465 | SetTween(crosshair,{Size = UDim2.new(11,0,11,0)},"Elastic","InOut",0) | |
2466 | end | |
2467 | wait() | |
2468 | end | |
2469 | ||
2470 | crosshair.Adornee = nil | |
2471 | crosshair.Enabled = false | |
2472 | NewParticleH:Destroy() | |
2473 | ||
2474 | end)) | |
2475 | end | |
2476 | ||
2477 | function lockon (targetted) | |
2478 | if ZT == true then | |
2479 | ||
2480 | coroutine.resume(coroutine.create(function() | |
2481 | crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
2482 | crosshair.Enabled = true | |
2483 | ||
2484 | ZTfade = false | |
2485 | SetTween(imgl,{ImageTransparency=1},"Linear","InOut",0) | |
2486 | ||
2487 | SetTween(crosshair,{Size = UDim2.new(40,0,40,0)},"Linear","InOut",0) | |
2488 | ||
2489 | wait() | |
2490 | ||
2491 | SetTween(imgl,{ImageTransparency=.7},"Bounce","Out",2) | |
2492 | ||
2493 | SetTween(crosshair,{Size = UDim2.new(10,0,10,0)},"Elastic","InOut",1) | |
2494 | wait(1) | |
2495 | ZTfade = true | |
2496 | end)) | |
2497 | end | |
2498 | end | |
2499 | ||
2500 | ||
2501 | ||
2502 | ||
2503 | ||
2504 | ||
2505 | ----------------- | |
2506 | ||
2507 | ||
2508 | ||
2509 | ||
2510 | ||
2511 | --[[ | |
2512 | for i, v in pairs(C:GetChildren()) do | |
2513 | if v:IsA("Accessory")then | |
2514 | v:Destroy() | |
2515 | end | |
2516 | if v:IsA("BasePart")then | |
2517 | v.Transparency =1 | |
2518 | if v.Name == "Head" then | |
2519 | v:FindFirstChildOfClass("Decal"):Destroy() | |
2520 | end | |
2521 | end | |
2522 | end--]] | |
2523 | --[[ | |
2524 | ||
2525 | ||
2526 | ||
2527 | ||
2528 | ||
2529 | ||
2530 | ||
2531 | ||
2532 | ||
2533 | ||
2534 | ||
2535 | ||
2536 | ||
2537 | local tweeningInformation = TweenInfo.new( | |
2538 | 0.5, | |
2539 | Enum.EasingStyle.Back, | |
2540 | Enum.EasingDirection.Out, | |
2541 | 0, | |
2542 | false, | |
2543 | 0 | |
2544 | ) | |
2545 | --]] | |
2546 | ||
2547 | ||
2548 | local RJW=weld(RJ.Parent,RJ.Part0,RJ.Part1,RJ.C0) | |
2549 | RJW.C1 = RJ.C1 | |
2550 | RJW.Name = RJ.Name | |
2551 | ||
2552 | local NeckW=weld(Neck.Parent,Neck.Part0,Neck.Part1,Neck.C0) | |
2553 | NeckW.C1 = Neck.C1 | |
2554 | NeckW.Name = Neck.Name | |
2555 | ||
2556 | ||
2557 | --print(WRJ.Parent.Name) | |
2558 | ||
2559 | local RW=weld(Torso,Torso,RightArm,cf(0,0,0)) | |
2560 | ||
2561 | local LW=weld(Torso,Torso,LeftArm,cf(0,0,0)) | |
2562 | ||
2563 | local RH=weld(Torso,RightArm,RightLeg,cf(0,0,0)) | |
2564 | ||
2565 | local LH=weld(Torso,LeftArm,LeftLeg,cf(0,0,0)) | |
2566 | ||
2567 | ||
2568 | ||
2569 | RW.C1 = cn(0, 0.5, 0) | |
2570 | LW.C1 = cn(0, 0.5, 0) | |
2571 | RH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2572 | LH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2573 | ||
2574 | ||
2575 | ||
2576 | ||
2577 | ||
2578 | ||
2579 | -------- | |
2580 | --(#Torso) | |
2581 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)},"Quad","InOut",0.1) | |
2582 | -------- | |
2583 | --(#Head) | |
2584 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)},"Quad","InOut",0.1) | |
2585 | -------- | |
2586 | --(#Right Arm) | |
2587 | SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",0.1) | |
2588 | -------- | |
2589 | --(#Left Arm) | |
2590 | SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",0.1) | |
2591 | -------- | |
2592 | --(#Right Leg) | |
2593 | SetTween(RH,{C0=CFrame.new(0, -0.90, 0)},"Quad","InOut",0.1) | |
2594 | -------- | |
2595 | --(#Left Leg) | |
2596 | SetTween(LH,{C0=CFrame.new(0, -0.90, 0)},"Quad","InOut",0.1) | |
2597 | ||
2598 | ||
2599 | ||
2600 | --[[ | |
2601 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
2602 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
2603 | SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(30))},"Quad","Out",0.1) | |
2604 | SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-30))},"Quad","Out",0.1) | |
2605 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
2606 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
2607 | --]] | |
2608 | ||
2609 | function Attack1() | |
2610 | attack = true | |
2611 | SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",1) | |
2612 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",1) | |
2613 | SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(30))},"Quad","InOut",1) | |
2614 | SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-30))},"Quad","InOut",1) | |
2615 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(-90))},"Quad","InOut",1) | |
2616 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(90))},"Quad","InOut",1) | |
2617 | ||
2618 | ||
2619 | wait(1) | |
2620 | ||
2621 | WACKYEFFECT({Time = 10, EffectType = "Slash", Size = (VT(60,0,60)), Size2 = (VT(0,0,0)), Transparency = 1, Transparency2 = .5, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 454850461, SoundPitch = 1, SoundVolume = 8}) | |
2622 | ||
2623 | for i = 10, 60,10 do | |
2624 | WACKYEFFECT({Time = 10+i, EffectType = "Slash", Size = (VT(60,0,60)), Size2 = (VT(0,0,0)), Transparency = 1, Transparency2 = .5, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
2625 | end | |
2626 | for i = 0,10 do wait() wait() wait() | |
2627 | local AREA = RootPart.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(2,20)) | |
2628 | local TIMER = MRANDOM(30,50)/4 | |
2629 | WACKYEFFECT({Time = TIMER, EffectType = "Sphere", Size = VT(5,0,5)/1.1, Size2 = VT(0,15,0)/1.1, Transparency = .9, Transparency2 = 0, CFrame = AREA, MoveToPos = AREA.p+VT(0,MRANDOM(35,60),0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,0,1), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5}) | |
2630 | WACKYEFFECT({Time = TIMER, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,15,0), Transparency = 0.9, Transparency2 = 0.5, CFrame = AREA, MoveToPos = AREA.p+VT(0,MRANDOM(35,60),0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5}) | |
2631 | ||
2632 | end | |
2633 | if mememode == false then | |
2634 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,3)*angles(math.rad(-40),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
2635 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
2636 | SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -3.5)*angles(math.rad(-70),math.rad(0),math.rad(30))},"Quad","InOut",.4) | |
2637 | SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -3.5)*angles(math.rad(-70),math.rad(0),math.rad(-30))},"Quad","InOut",.4) | |
2638 | SetTween(RH,{C0=CFrame.new(0, -3, -3)*angles(math.rad(50),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
2639 | SetTween(LH,{C0=CFrame.new(-0, -3, -3)*angles(math.rad(50),math.rad(0),math.rad(-0))},"Quad","InOut",.4) | |
2640 | ||
2641 | for i = 10, 30,10 do | |
2642 | WACKYEFFECT({Time = 20+i, EffectType = "Wave", Size = VT(5,0,5), Size2 = (VT(31,0,31)*7)/4.1, Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*cn(0,5,0) * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
2643 | end | |
2644 | WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(600,600,600), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,0,1), SoundID = 376976397, SoundPitch = .5, SoundVolume = 7}) | |
2645 | WACKYEFFECT({Time = 100, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(600,600,600), Transparency = 0, Transparency2 = 1, CFrame=RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 528589382, SoundPitch = 1.5, SoundVolume = 10}) | |
2646 | WACKYEFFECT({Time = 120, EffectType = "Crown", Size = VT(0,0,0), Size2 = (VT(600,600,600)), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5,TweenNType="Quad",TweenOType="Out"}) | |
2647 | ||
2648 | CFMagniDamage(Head.CFrame,600,80,90,100,"Knockdown") | |
2649 | ||
2650 | ||
2651 | ||
2652 | else | |
2653 | ||
2654 | ||
2655 | ||
2656 | ||
2657 | ||
2658 | ||
2659 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,3)*angles(math.rad(-40),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
2660 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
2661 | SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -3.5)*angles(math.rad(-70),math.rad(0),math.rad(30))},"Quad","InOut",.4) | |
2662 | SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -3.5)*angles(math.rad(-70),math.rad(0),math.rad(-30))},"Quad","InOut",.4) | |
2663 | SetTween(RH,{C0=CFrame.new(0, -3, -3)*angles(math.rad(50),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
2664 | SetTween(LH,{C0=CFrame.new(-0, -3, -3)*angles(math.rad(50),math.rad(0),math.rad(-0))},"Quad","InOut",.4) | |
2665 | ||
2666 | ||
2667 | WACKYEFFECT({Time = 120*2, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1600,1600,1600), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,0,1), SoundID = 376976397, SoundPitch = .5, SoundVolume = 5}) | |
2668 | WACKYEFFECT({Time = 100*2, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1600,1600,1600), Transparency = 0, Transparency2 = 1, CFrame=RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 132164034, SoundPitch = 1.2, SoundVolume = 10}) | |
2669 | for i = 10, 60,10 do | |
2670 | WACKYEFFECT({Time = 20+i*2, EffectType = "Wave", Size = VT(5,0,5), Size2 = (VT(31,0,31)*7)/4.1, Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*cn(0,5,0) * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
2671 | WACKYEFFECT({Time = 12*i, EffectType = "Crown", Size = VT(0,0,0), Size2 = (VT(1600,1600,1600)), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame , MoveToPos = nil, RotationX = 0, RotationY = math.random(-180,180), RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5,TweenNType="Quad",TweenOType="Out"}) | |
2672 | ||
2673 | CFMagniDamage(Head.CFrame,1600,80,90,100,"Knockdown") | |
2674 | wait(.05) | |
2675 | end | |
2676 | ||
2677 | ||
2678 | ||
2679 | ||
2680 | ||
2681 | ||
2682 | ||
2683 | ||
2684 | ||
2685 | ||
2686 | end | |
2687 | ||
2688 | wait(1) | |
2689 | ||
2690 | ||
2691 | ||
2692 | ||
2693 | ||
2694 | attack=false | |
2695 | end | |
2696 | ||
2697 | ||
2698 | function Attack2() | |
2699 | attack = true | |
2700 | ||
2701 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(-0),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
2702 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-0),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
2703 | SetTween(RW,{C0=CFrame.new(3.5 , 2.5, -0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Back","Out",.4) | |
2704 | SetTween(LW,{C0=CFrame.new(-3.5, 2.5, -0)*angles(math.rad(-0),math.rad(0),math.rad(-30))},"Quad","InOut",.4) | |
2705 | SetTween(RH,{C0=CFrame.new(0, -3, -3)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
2706 | SetTween(LH,{C0=CFrame.new(-0, -3, -3)*angles(math.rad(0),math.rad(0),math.rad(-0))},"Quad","InOut",.4) | |
2707 | ||
2708 | ||
2709 | ||
2710 | ||
2711 | ||
2712 | wait(.3) | |
2713 | ||
2714 | ||
2715 | SetTween(RJW,{C0=RootCF*CFrame.new(0,-5,2)*angles(math.rad(-0),math.rad(0),math.rad(0))},"Quad","InOut",.2) | |
2716 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(20),math.rad(40),math.rad(0))},"Quad","InOut",.2) | |
2717 | SetTween(RW,{C0=CFrame.new(3.5 , -4.5, -10)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",.2) | |
2718 | SetTween(LW,{C0=CFrame.new(-3.5, 2.5, 2)*angles(math.rad(-30),math.rad(0),math.rad(-30))},"Quad","InOut",.2) | |
2719 | SetTween(RH,{C0=CFrame.new(0, -3, -3)*angles(math.rad(-90),math.rad(-40),math.rad(20))},"Quad","InOut",.2) | |
2720 | SetTween(LH,{C0=CFrame.new(-0, -3, -3)*angles(math.rad(0),math.rad(0),math.rad(-0))},"Quad","InOut",.2) | |
2721 | ||
2722 | ||
2723 | ||
2724 | ||
2725 | -- LAP.Parent = Character | |
2726 | wait(.1) | |
2727 | local portal =Instance.new("Part") | |
2728 | portal.Reflectance = 0 | |
2729 | portal.Transparency = 1 | |
2730 | portal.CanCollide = false | |
2731 | portal.Locked = true | |
2732 | portal.Anchored=true | |
2733 | - | portal.BrickColor = BrickColor.new("Really red") |
2733 | + | portal.BrickColor = BrickColor.new("really black") |
2734 | portal.Name = "portal" | |
2735 | portal.Size = Vector3.new() | |
2736 | portal.Material = "SmoothPlastic" | |
2737 | portal:BreakJoints() | |
2738 | portal.CFrame = RootPart.CFrame*cn(4,0,-17) | |
2739 | local Portalfloor,PortalPos = rayCast(portal.Position, CFrame.new(portal.Position, portal.Position - Vector3.new(0, 1, 0)).lookVector, 80, Character) | |
2740 | portal.CFrame = cn(PortalPos) | |
2741 | ||
2742 | local max = 50 | |
2743 | local min = 6.5 | |
2744 | local light = min | |
2745 | if mememode == true then | |
2746 | min = 0 | |
2747 | max = 100 | |
2748 | light = 3 | |
2749 | end | |
2750 | ||
2751 | coroutine.resume(coroutine.create(function() | |
2752 | WACKYEFFECT({Time = 120, EffectType = "Crown", Size = VT(0,0,0), Size2 = (VT(max+15,1,max+15)), Transparency = 0.9, Transparency2 = 1, CFrame = portal.CFrame , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5,TweenNType="Quad",TweenOType="Out"}) | |
2753 | WACKYEFFECT({Time = 240, EffectType = "Sphere", Size = VT(0,.1,0), Size2 = VT(light-.5,0.1,light-.5)*1.5, Transparency = 0, Transparency2 = 1, CFrame=portal.CFrame*cn(0,-0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 376976397, SoundPitch = 1, SoundVolume = 3,TweenNType="Back",TweenOType="Out"}) | |
2754 | wait(120/60) | |
2755 | ||
2756 | coroutine.resume(coroutine.create(function() | |
2757 | wait(.1) | |
2758 | for _,c in pairs(workspace:children()) do | |
2759 | ||
2760 | ||
2761 | ||
2762 | ||
2763 | ||
2764 | ||
2765 | ||
2766 | ||
2767 | local h = c:FindFirstChild("Humanoid") | |
2768 | for _,v in pairs(c:children()) do | |
2769 | if v:IsA("Humanoid") then | |
2770 | if v.Health > 0.0001 then | |
2771 | h = v else h = nil end | |
2772 | end | |
2773 | end | |
2774 | ||
2775 | local head = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
2776 | ||
2777 | if h ~= nil and head ~= nil then | |
2778 | local targ = head.Position - portal.Position | |
2779 | local mag = targ.magnitude | |
2780 | ||
2781 | ||
2782 | if mag < max and mag > min and c ~= Character then | |
2783 | ||
2784 | print("Kill") | |
2785 | coroutine.resume(coroutine.create(function() | |
2786 | local Shade =Instance.new("Model",Effects) | |
2787 | local hed =Instance.new("Part") | |
2788 | hed.Reflectance = 0 | |
2789 | hed.Transparency = 1 | |
2790 | hed.CanCollide = false | |
2791 | hed.Locked = true | |
2792 | hed.Anchored=false | |
2793 | hed.Color = Color3.new(0,0,0) | |
2794 | head.Material = "SmoothPlastic" | |
2795 | local sTor=hed:Clone() | |
2796 | sTor.Name = "Torso2" | |
2797 | sTor.Size = Vector3.new(2,2,1) | |
2798 | sTor.Material = "SmoothPlastic" | |
2799 | sTor:BreakJoints() | |
2800 | sTor.CFrame = portal.CFrame*cn(0,-10,0) | |
2801 | local sraor=hed:Clone() | |
2802 | sraor.Name = "RightArm" | |
2803 | sraor.Size = Vector3.new(1,2,1) | |
2804 | sraor.Material = "SmoothPlastic" | |
2805 | sraor:BreakJoints() | |
2806 | sraor.CFrame = portal.CFrame*cn(0,-10,0) | |
2807 | local slaor=sraor:Clone() | |
2808 | slaor.Name = "LeftArm" | |
2809 | local srlor=sraor:Clone() | |
2810 | srlor.Name = "RightLeg" | |
2811 | local sllor=sraor:Clone() | |
2812 | sllor.Name = "LeftLeg" | |
2813 | hed.Name = "Head2" | |
2814 | hed.Size = Vector3.new(1,1,1) | |
2815 | hed.Material = "SmoothPlastic" | |
2816 | hed:BreakJoints() | |
2817 | hed.CFrame = portal.CFrame*cn(0,-10,0) | |
2818 | ||
2819 | local Mesh =Instance.new("SpecialMesh",hed) | |
2820 | ||
2821 | Mesh.Scale=Vector3.new(1.25,1.25,1.25) | |
2822 | coroutine.resume(coroutine.create(function() | |
2823 | local Eye = Instance.new("Part") | |
2824 | Eye.Reflectance = 0 | |
2825 | Eye.Transparency = 0 | |
2826 | Eye.CanCollide = false | |
2827 | Eye.Locked = true | |
2828 | Eye.Anchored=false | |
2829 | - | Eye.BrickColor = BrickColor.new("White") |
2829 | + | Eye.BrickColor = BrickColor.new("Really red") |
2830 | Eye.Name = "BEGONE" | |
2831 | Eye.Size = Vector3.new(0.05,0.3,0.05) | |
2832 | Eye.Material = "Neon" | |
2833 | Eye:BreakJoints() | |
2834 | Eye.Parent = Shade | |
2835 | local EMesh =Instance.new("SpecialMesh",Eye) | |
2836 | ||
2837 | EMesh.MeshType = "Sphere" | |
2838 | ||
2839 | ||
2840 | ||
2841 | ||
2842 | local Eye=weld(Eye,hed,Eye,cf(.18,.18,-.55)) | |
2843 | ||
2844 | end)) | |
2845 | coroutine.resume(coroutine.create(function() | |
2846 | local Eye = Instance.new("Part") | |
2847 | Eye.Reflectance = 0 | |
2848 | Eye.Transparency = 0 | |
2849 | Eye.CanCollide = false | |
2850 | Eye.Locked = true | |
2851 | Eye.Anchored=false | |
2852 | - | Eye.BrickColor = BrickColor.new("White") |
2852 | + | Eye.BrickColor = BrickColor.new("Really red") |
2853 | Eye.Name = "BEGONE" | |
2854 | Eye.Size = Vector3.new(.05,.3,.05) | |
2855 | Eye.Material = "Neon" | |
2856 | Eye:BreakJoints() | |
2857 | Eye.Parent = Shade | |
2858 | ||
2859 | ||
2860 | local EMesh =Instance.new("SpecialMesh",Eye) | |
2861 | ||
2862 | EMesh.MeshType = "Sphere" | |
2863 | ||
2864 | ||
2865 | local Eye=weld(Eye,hed,Eye,cf(-.18,.18,-.55)) | |
2866 | ||
2867 | end)) | |
2868 | ||
2869 | sTor.Anchored = true | |
2870 | hed.Parent = Shade | |
2871 | sTor.Parent = Shade | |
2872 | sraor.Parent = Shade | |
2873 | slaor.Parent = Shade | |
2874 | srlor.Parent = Shade | |
2875 | sllor.Parent = Shade | |
2876 | ||
2877 | ||
2878 | SetTween(sTor,{Transparency=0},"Quad","InOut",1) | |
2879 | SetTween(hed,{Transparency=0},"Quad","InOut",1) | |
2880 | SetTween(sraor,{Transparency=0},"Quad","InOut",1) | |
2881 | SetTween(slaor,{Transparency=0},"Quad","InOut",1) | |
2882 | SetTween(srlor,{Transparency=0},"Quad","InOut",1) | |
2883 | SetTween(sllor,{Transparency=0},"Quad","InOut",1) | |
2884 | ||
2885 | ||
2886 | ||
2887 | ||
2888 | ||
2889 | local NeckW2=MakeJoint(sTor,sTor,hed,CFrame.new(0,0,0)) | |
2890 | NeckW2.C1 = NeckW.C1 | |
2891 | ||
2892 | --print(WRJ.Parent.Name) | |
2893 | ||
2894 | local RW2=MakeJoint(sTor,sTor,sraor,cf(0,0,0)) | |
2895 | ||
2896 | local LW2=MakeJoint(sTor,sTor,slaor,cf(0,0,0)) | |
2897 | ||
2898 | local RH2=MakeJoint(sTor,sTor,srlor,cf(0,0,0)) | |
2899 | ||
2900 | local LH2=MakeJoint(sTor,sTor,sllor,cf(0,0,0)) | |
2901 | ||
2902 | ||
2903 | ||
2904 | RW2.C1 = cn(0, 0.5, 0) | |
2905 | LW2.C1 = cn(0, 0.5, 0) | |
2906 | RH2.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2907 | LH2.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2908 | ||
2909 | ||
2910 | ||
2911 | ||
2912 | head.Anchored = true | |
2913 | ||
2914 | -------- | |
2915 | --(#Torso) | |
2916 | SetTween(sTor,{CFrame=cn(head.Position.x,portal.Position.y-5,head.Position.z)},"Quad","InOut", .1) | |
2917 | -------- | |
2918 | --(#Head) | |
2919 | SetTween(NeckW2,{C0=NeckCF*CFrame.new(0,0,0)},"Quad","InOut",0.1) | |
2920 | -------- | |
2921 | --(#Right Arm) | |
2922 | SetTween(RW2,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",0.1) | |
2923 | -------- | |
2924 | --(#Left Arm) | |
2925 | SetTween(LW2,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",0.1) | |
2926 | -------- | |
2927 | --(#Right Leg) | |
2928 | SetTween(RH2,{C0=CFrame.new(.5, -0.90, 0)},"Quad","InOut",0.1) | |
2929 | -------- | |
2930 | --(#Left Leg) | |
2931 | SetTween(LH2,{C0=CFrame.new(-.5, -0.90, 0)},"Quad","InOut",0.1) | |
2932 | ||
2933 | ||
2934 | wait(.1) | |
2935 | ||
2936 | ||
2937 | -------- | |
2938 | --(#Torso) | |
2939 | SetTween(sTor,{CFrame=head.CFrame*CFrame.new(0,0,2)},"Quad","InOut",1/2) | |
2940 | -------- | |
2941 | --(#Head) | |
2942 | SetTween(NeckW2,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0))},"Quad","InOut",1/2) | |
2943 | -------- | |
2944 | --(#Right Arm) | |
2945 | SetTween(RW2,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",1/2) | |
2946 | -------- | |
2947 | --(#Left Arm) | |
2948 | SetTween(LW2,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",1/2) | |
2949 | ||
2950 | wait(1/2) | |
2951 | -------- | |
2952 | --(#Torso) | |
2953 | SetTween(sTor,{CFrame=head.CFrame*CFrame.new(0,0,1)},"Quad","InOut",1/3) | |
2954 | -------- | |
2955 | --(#Head) | |
2956 | SetTween(NeckW2,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0))},"Quad","InOut",1/3) | |
2957 | -------- | |
2958 | --(#Right Arm) | |
2959 | SetTween(RW2,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",1/3) | |
2960 | -------- | |
2961 | --(#Left Arm) | |
2962 | SetTween(LW2,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",1/3) | |
2963 | ||
2964 | wait(1/3) | |
2965 | -------- | |
2966 | local Grab=MakeJoint(sTor,sTor,head,cf(0,0,-1)) | |
2967 | head.Anchored = false | |
2968 | --(#Torso) | |
2969 | ||
2970 | -------- | |
2971 | --(#Head) | |
2972 | SetTween(NeckW2,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0))},"Quad","InOut",1/3) | |
2973 | -------- | |
2974 | --(#Right Arm) | |
2975 | SetTween(RW2,{C0=CFrame.new(1.3 , 0.5, -.3)*angles(math.rad(90),math.rad(0),math.rad(-50))},"Quad","InOut",1/3) | |
2976 | -------- | |
2977 | --(#Left Arm) | |
2978 | SetTween(LW2,{C0=CFrame.new(-1.3, 0.5, -.3)*angles(math.rad(90),math.rad(0),math.rad(50))},"Quad","InOut",1/3) | |
2979 | ||
2980 | wait(1/3) | |
2981 | WACKYEFFECT({Time = 40, EffectType = "Crown", Size = VT(1,16,1), Size2 = (VT(10,0,10)), Transparency = 0.2, Transparency2 = 1, CFrame = cn(head.Position.x,portal.Position.y,head.Position.z) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
2982 | ||
2983 | SetTween(sTor,{CFrame=cn(head.Position.x,portal.Position.y-5,head.Position.z)},"Quad","InOut", .2) | |
2984 | ||
2985 | wait(.2) | |
2986 | ||
2987 | Shade:Destroy() | |
2988 | coroutine.resume(coroutine.create(function() | |
2989 | c:BreakJoints() | |
2990 | end)) | |
2991 | c.Parent = nil | |
2992 | h:Destroy() | |
2993 | c:Destroy() | |
2994 | ||
2995 | ||
2996 | end)) | |
2997 | ||
2998 | end | |
2999 | end | |
3000 | end | |
3001 | end)) | |
3002 | --CFMagniDamage(portal.CFrame,60,10,20,0,"Normal") | |
3003 | ||
3004 | WACKYEFFECT({Time = 160, EffectType = "Sphere", Size = VT(max+15,1,max+15)*1.5, Size2 = VT(0,.05,0), Transparency = 1, Transparency2 = 0, CFrame=portal.CFrame*cn(0,-0.025,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 424195979, SoundPitch = .5, SoundVolume = 4,TweenNType="Quad",TweenOType="InOut"}) | |
3005 | portal:Destroy() | |
3006 | end)) | |
3007 | ||
3008 | ||
3009 | ||
3010 | ||
3011 | wait(.3) | |
3012 | ||
3013 | ||
3014 | ||
3015 | attack=false | |
3016 | end | |
3017 | ||
3018 | ||
3019 | ||
3020 | ||
3021 | --[[ | |
3022 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
3023 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
3024 | SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(30))},"Quad","Out",0.1) | |
3025 | SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-30))},"Quad","Out",0.1) | |
3026 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
3027 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
3028 | --]] | |
3029 | ||
3030 | ||
3031 | ||
3032 | function AT1() | |
3033 | attack = true | |
3034 | ||
3035 | ||
3036 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(-50),math.rad(40),math.rad(80))},"Quad","InOut",.3) | |
3037 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(50),math.rad(-40),math.rad(-40))},"Quad","InOut",.3) | |
3038 | SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(40),math.rad(-30),math.rad(-25))},"Quad","Out",.3) | |
3039 | SetTween(LW,{C0=CFrame.new(-3.5, 5.5, -.0)*angles(math.rad(-78),math.rad(0),math.rad(-120))},"Quad","Out",.3) | |
3040 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(45),math.rad(0))},"Quad","InOut",.3) | |
3041 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",.3) | |
3042 | wait(.3) | |
3043 | so("160773067", RootPart, 1.5, math.random(120,150)/100) | |
3044 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(-40))},"Quad","InOut",.15) | |
3045 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(40))},"Quad","InOut",.15) | |
3046 | SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(-0),math.rad(-50),math.rad(90))},"Quad","Out",.15) | |
3047 | SetTween(LW,{C0=CFrame.new(-3.5, 2.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-30))},"Quad","Out",.15) | |
3048 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.15) | |
3049 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.15) | |
3050 | wait(.15/2) | |
3051 | ||
3052 | CFMagniDamage(RootPart.CFrame*cn(4,0,-4),12.5,10,20,20,"HPSteal") | |
3053 | ||
3054 | wait(.15/2) | |
3055 | ||
3056 | ||
3057 | ||
3058 | ||
3059 | attack = false | |
3060 | end | |
3061 | ||
3062 | ||
3063 | function AT2() | |
3064 | attack = true | |
3065 | ||
3066 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(-50),math.rad(-40),math.rad(-80))},"Quad","InOut",.3) | |
3067 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(50),math.rad(40),math.rad(40))},"Quad","InOut",.3) | |
3068 | SetTween(RW,{C0=CFrame.new(3.5 , 5.5, -.0)*angles(math.rad(-78),math.rad(0),math.rad(120))},"Quad","Out",.3) | |
3069 | SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(40),math.rad(30),math.rad(25))},"Quad","Out",.3) | |
3070 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",.3) | |
3071 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(-45),math.rad(0))},"Quad","InOut",.3) | |
3072 | wait(.3) | |
3073 | so("160773067", RootPart, 1.5, math.random(120,150)/100) | |
3074 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(40))},"Quad","InOut",.15) | |
3075 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(-40))},"Quad","InOut",.15) | |
3076 | SetTween(RW,{C0=CFrame.new(3.5 , 2.5, -.0)*angles(math.rad(-0),math.rad(0),math.rad(30))},"Quad","Out",.15) | |
3077 | SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(0),math.rad(50),math.rad(-90))},"Quad","Out",.15) | |
3078 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.15) | |
3079 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.15) | |
3080 | wait(.15/2) | |
3081 | ||
3082 | CFMagniDamage(RootPart.CFrame*cn(-4,0,-4),12.5,10,20,50,"HPSteal") | |
3083 | ||
3084 | wait(.15/2) | |
3085 | ||
3086 | ||
3087 | ||
3088 | ||
3089 | attack = false | |
3090 | end | |
3091 | ||
3092 | function findNearestTorso(pos) | |
3093 | local list = game.Workspace:children() | |
3094 | local torso = nil | |
3095 | local dist = 1000 | |
3096 | local temp = nil | |
3097 | local human = nil | |
3098 | local temp2 = nil | |
3099 | for x = 1, #list do | |
3100 | temp2 = list[x] | |
3101 | if (temp2.className == "Model") and (temp2 ~= Character) then | |
3102 | temp = (temp2:FindFirstChild("Torso") or temp2:FindFirstChild("UpperTorso")) | |
3103 | human = temp2:FindFirstChildOfClass("Humanoid") | |
3104 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
3105 | if (temp.Position - pos).magnitude < dist then | |
3106 | torso = temp | |
3107 | dist = (temp.Position - pos).magnitude | |
3108 | end | |
3109 | end | |
3110 | end | |
3111 | end | |
3112 | return torso | |
3113 | end | |
3114 | ||
3115 | function Attack3() | |
3116 | attack = true | |
3117 | ||
3118 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
3119 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
3120 | SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","Out",.4) | |
3121 | SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(-0))},"Quad","Out",.4) | |
3122 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
3123 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
3124 | wait(.05) | |
3125 | ||
3126 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3) | |
3127 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3) | |
3128 | SetTween(RW,{C0=CFrame.new(3.5 , 3.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(80))},"Quad","Out",.3) | |
3129 | SetTween(LW,{C0=CFrame.new(-3.5, 3.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-80))},"Quad","Out",.3) | |
3130 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(-90),math.rad(0))},"Quad","InOut",.3) | |
3131 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(90),math.rad(-0))},"Quad","InOut",.3) | |
3132 | wait(.3) | |
3133 | so("260435136", RootPart, 2, .8) | |
3134 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3) | |
3135 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,-5,2)*angles(math.rad(30),math.rad(-40),math.rad(0))},"Quad","InOut",.3) | |
3136 | SetTween(RW,{C0=CFrame.new(6.0 , -2, -8)*angles(math.rad(85),math.rad(0),math.rad(-80))},"Quad","Out",.3) | |
3137 | SetTween(LW,{C0=CFrame.new(-6.0, -2, -8)*angles(math.rad(90),math.rad(0),math.rad(80))},"Quad","Out",.3) | |
3138 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(-90),math.rad(0))},"Quad","InOut",.3) | |
3139 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(90),math.rad(-0))},"Quad","InOut",.3) | |
3140 | wait(.3) | |
3141 | ||
3142 | ||
3143 | local TheGunHandle = Instance.new("Part") | |
3144 | TheGunHandle.Reflectance = 0 | |
3145 | TheGunHandle.Transparency = 1 | |
3146 | TheGunHandle.CanCollide = false | |
3147 | TheGunHandle.Locked = true | |
3148 | TheGunHandle.Anchored=false | |
3149 | - | TheGunHandle.BrickColor = BrickColor.new("Really red") |
3149 | + | TheGunHandle.BrickColor = BrickColor.new("really black") |
3150 | TheGunHandle.Name = "BHandle" | |
3151 | TheGunHandle.Size = Vector3.new(2.5,1,2.5) | |
3152 | TheGunHandle.Material = "SmoothPlastic" | |
3153 | TheGunHandle:BreakJoints() | |
3154 | TheGunHandle.Parent = workspace | |
3155 | TheGunHandle.CFrame = RootPart.CFrame | |
3156 | ||
3157 | ||
3158 | local SWeld=weld(TheGunHandle,RootPart,TheGunHandle,cf(0,0,-9)*angles(math.rad(0),math.rad(0),math.rad(0))) | |
3159 | local IsHit = false | |
3160 | local function onTouch(HitPa) | |
3161 | if IsHit == false then | |
3162 | local c = HitPa.Parent | |
3163 | local h = HitPa.Parent:FindFirstChild("Humanoid") | |
3164 | for _,v in pairs(HitPa.Parent:children()) do | |
3165 | if v:IsA("Humanoid") then | |
3166 | ||
3167 | h = v end | |
3168 | ||
3169 | end | |
3170 | local head = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
3171 | local realhead = c:FindFirstChild("Head") | |
3172 | if h ~= nil and head ~= nil and realhead ~= nil then | |
3173 | ||
3174 | IsHit = true | |
3175 | RootPart.Anchored=true | |
3176 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,-5,2)*angles(math.rad(30),math.rad(40),math.rad(0))},"Quad","InOut",3) | |
3177 | local SWeld=MakeJoint(head,Torso,head,cf(0,-1,-9)*angles(math.rad(180),math.rad(0),math.rad(180))) | |
3178 | ||
3179 | coroutine.resume(coroutine.create(function() | |
3180 | local pem = VoidEmitter:Clone() | |
3181 | pem.Enabled = true | |
3182 | pem.Parent = realhead | |
3183 | so("2162238854", RootPart, 2, .5) | |
3184 | wait(2.9) | |
3185 | if mememode == false then | |
3186 | wait(.1) | |
3187 | end | |
3188 | pem.Rate = 0 | |
3189 | if mememode == true then | |
3190 | coroutine.resume(coroutine.create(function() | |
3191 | ||
3192 | local Dust = Instance.new("Model") | |
3193 | local DustTorso = Instance.new("Part",Dust) | |
3194 | local DustHead = Instance.new("Part",Dust) | |
3195 | game:GetService("Debris"):AddItem(DustHead, 120) | |
3196 | DustHead.Name = "Head" | |
3197 | DustHead.Size = Vector3.new(realhead.Size.y,realhead.Size.y,realhead.Size.y) | |
3198 | RemoveOutlines(DustHead) | |
3199 | DustHead:BreakJoints() | |
3200 | DustHead.CFrame = CFrame.new(0,1000,0) | |
3201 | DustHead.Transparency = 1 | |
3202 | DustTorso.Name = "Torso" | |
3203 | DustTorso.Size = Vector3.new(realhead.Size.y,realhead.Size.y,realhead.Size.y) | |
3204 | RemoveOutlines(DustTorso) | |
3205 | DustTorso:BreakJoints() | |
3206 | DustTorso.CFrame = CFrame.new(0,1000,0) | |
3207 | DustTorso.Transparency = 1 | |
3208 | Dust.Name = "DustMinion" | |
3209 | ||
3210 | ||
3211 | ||
3212 | ||
3213 | ||
3214 | ||
3215 | ||
3216 | ||
3217 | ||
3218 | ||
3219 | pem.Parent = DustHead | |
3220 | pem.Rate = 100 | |
3221 | ||
3222 | local DustWeld=weld(DustTorso,DustHead,DustTorso,cf(0,0,0)) | |
3223 | DustTorso.CFrame = realhead.CFrame | |
3224 | wait(.2) | |
3225 | local DustHumanoid = Instance.new("Humanoid",Dust) | |
3226 | DustHumanoid.MaxHealth = 40 | |
3227 | DustHumanoid.Health = 40 | |
3228 | DustHumanoid.WalkSpeed = 17 | |
3229 | Dust.Parent = Effects | |
3230 | ||
3231 | so("438666001", DustTorso, 2, .8) | |
3232 | ||
3233 | ||
3234 | coroutine.resume(coroutine.create(function() | |
3235 | local DustAlive = true | |
3236 | ||
3237 | while DustAlive == true do | |
3238 | ||
3239 | ||
3240 | ||
3241 | if DustHumanoid.Health > 0.001 then | |
3242 | ||
3243 | ||
3244 | ||
3245 | local FindNewTorso = findNearestTorso(DustTorso.Position) | |
3246 | ||
3247 | if FindNewTorso ~= nil then | |
3248 | ||
3249 | DustHumanoid:MoveTo(FindNewTorso.Position) | |
3250 | --print(DustHumanoid.Name) | |
3251 | local mag = (DustTorso.Position-FindNewTorso.Position).magnitude | |
3252 | if mag < 10 and FindNewTorso.Parent:FindFirstChildOfClass("Humanoid") and FindNewTorso.Parent:FindFirstChildOfClass("Humanoid").Health > 0.001 then | |
3253 | ||
3254 | ||
3255 | coroutine.resume(coroutine.create(function() | |
3256 | ||
3257 | coroutine.resume(coroutine.create(function() | |
3258 | makrag(FindNewTorso.Parent) | |
3259 | end)) | |
3260 | FindNewTorso.Parent:FindFirstChildOfClass("Humanoid").Health = 0 | |
3261 | FindNewTorso.Parent:BreakJoints() | |
3262 | if FindNewTorso.Parent:FindFirstChild("Head") then | |
3263 | pem.Parent = FindNewTorso.Parent.Head | |
3264 | pem:Emit(10) | |
3265 | so("215395388", DustTorso, 2, .8) | |
3266 | end | |
3267 | end)) | |
3268 | DustHumanoid.Health = 0 | |
3269 | end | |
3270 | ||
3271 | else | |
3272 | wait(2) | |
3273 | DustHumanoid.Health = 0 | |
3274 | end | |
3275 | ||
3276 | ||
3277 | end | |
3278 | ||
3279 | ||
3280 | ||
3281 | ||
3282 | ||
3283 | if DustHumanoid.Health < 0.001 then | |
3284 | coroutine.resume(coroutine.create(function() | |
3285 | pem.Rate = 0 | |
3286 | end)) | |
3287 | DustAlive = false | |
3288 | game:GetService("Debris"):AddItem(Dust, 2) | |
3289 | so("2162238854", DustTorso, 2, .8) | |
3290 | end | |
3291 | ||
3292 | ||
3293 | if Dust.Parent ~= Effects then | |
3294 | coroutine.resume(coroutine.create(function() | |
3295 | Dust:Destroy() | |
3296 | end)) | |
3297 | DustAlive = false | |
3298 | end | |
3299 | ||
3300 | ||
3301 | ||
3302 | ||
3303 | ||
3304 | wait(1) | |
3305 | end | |
3306 | ||
3307 | ||
3308 | ||
3309 | end)) | |
3310 | ||
3311 | ||
3312 | ||
3313 | ||
3314 | end)) | |
3315 | end | |
3316 | end)) | |
3317 | ||
3318 | ||
3319 | ||
3320 | wait(3) | |
3321 | coroutine.resume(coroutine.create(function() | |
3322 | head.Velocity = RootPart.CFrame.lookVector * 1.2 | |
3323 | coroutine.resume(coroutine.create(function() | |
3324 | makrag(c) | |
3325 | end)) | |
3326 | h.Health = 0 | |
3327 | c:BreakJoints() | |
3328 | RootPart.CFrame = Torso.CFrame*cn(0,-2,0) | |
3329 | RootPart.Anchored=false | |
3330 | end)) | |
3331 | attack = false | |
3332 | ||
3333 | end | |
3334 | ||
3335 | end | |
3336 | end | |
3337 | TheGunHandle.Touched:connect(onTouch) | |
3338 | ||
3339 | ||
3340 | wait(1) | |
3341 | coroutine.resume(coroutine.create(function() | |
3342 | TheGunHandle:Destroy() | |
3343 | end)) | |
3344 | ||
3345 | if IsHit == false then | |
3346 | attack = false | |
3347 | end | |
3348 | end | |
3349 | ||
3350 | ||
3351 | function Attack4() | |
3352 | attack=true | |
3353 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.6) | |
3354 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.6) | |
3355 | SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(50))},"Back","Out",.6) | |
3356 | SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(-50))},"Back","Out",.6) | |
3357 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.6) | |
3358 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.6) | |
3359 | wait(.6) | |
3360 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
3361 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
3362 | SetTween(RW,{C0=CFrame.new(3.5 , 4.5, 4.0)*angles(math.rad(90),math.rad(0),math.rad(10))},"Quad","Out",.4) | |
3363 | SetTween(LW,{C0=CFrame.new(-3.5, 4.5, 4.0)*angles(math.rad(90),math.rad(0),math.rad(-10))},"Quad","Out",.4) | |
3364 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
3365 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
3366 | wait(.4) | |
3367 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.2) | |
3368 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(60),math.rad(0),math.rad(0))},"Quad","InOut",.2) | |
3369 | SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(-20))},"Back","Out",.2) | |
3370 | SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(20))},"Back","Out",.2) | |
3371 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.2) | |
3372 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.2) | |
3373 | wait(.2) | |
3374 | ||
3375 | local pilarsize= 1 | |
3376 | ||
3377 | if mememode == true then | |
3378 | pilarsize= 3 | |
3379 | end | |
3380 | ||
3381 | ||
3382 | ||
3383 | ||
3384 | ||
3385 | ||
3386 | WACKYEFFECT({Time = 30, EffectType = "Crown", Size = VT(9,0,9)*pilarsize, Size2 = (VT(10.5,110,10.5)*pilarsize), Transparency = 0.2, Transparency2 = 1, CFrame = RootPart.CFrame*cn(0,-3,-6)*angles(RAD(40),0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 357540482, SoundPitch = 1.8/(pilarsize/2), SoundVolume = 2*pilarsize}) | |
3387 | ||
3388 | ||
3389 | ||
3390 | coroutine.resume(coroutine.create(function() | |
3391 | wait(.1) | |
3392 | local RPP = RootPart.Position + Vector3.new(0,5,0) | |
3393 | local lookv= RootPart.CFrame.lookVector | |
3394 | coroutine.resume(coroutine.create(function() | |
3395 | for i = 1,10,1 do | |
3396 | local attackP = RPP+lookv*i*(15*pilarsize) | |
3397 | local attackCF = CF(attackP,attackP+lookv*5) | |
3398 | local Portalfloor,PortalPos,test1 = rayCast(attackP, CFrame.new(attackP, attackP - Vector3.new(0, 1, 0)).lookVector, 80, Character) | |
3399 | ||
3400 | local PortalPosCF = CF(PortalPos,PortalPos+test1)*ANGLES(RAD(-90+math.random(-10,10)),RAD(math.random(-360,360)),RAD(math.random(-10,10))) | |
3401 | if PortalPosCF ~= nil then | |
3402 | local Pillar = Instance.new("Part") | |
3403 | Pillar.Reflectance = 0 | |
3404 | Pillar.Transparency = 0 | |
3405 | Pillar.CanCollide = true | |
3406 | Pillar.Locked = true | |
3407 | Pillar.Anchored=true | |
3408 | - | Pillar.BrickColor = BrickColor.new("White") |
3408 | + | Pillar.BrickColor = BrickColor.new("Really red") |
3409 | Pillar.Name = "Pillar" | |
3410 | Pillar.Size = Vector3.new(8.108, 29.681, 8.108)*pilarsize | |
3411 | Pillar.Material = "Concrete" | |
3412 | Pillar:BreakJoints() | |
3413 | Pillar.Parent = Effects | |
3414 | Pillar.CFrame = PortalPosCF*cn(0,-30*pilarsize,0) | |
3415 | local NewPillarMesh = Instance.new("SpecialMesh") | |
3416 | NewPillarMesh.Parent = Pillar | |
3417 | NewPillarMesh.MeshId = "http://www.roblox.com/asset/?id=2449719398" | |
3418 | NewPillarMesh.TextureId = "http://www.roblox.com/asset/?id=1693385655" | |
3419 | NewPillarMesh.Scale = Vector3.new(1,1,1)*pilarsize | |
3420 | NewPillarMesh.VertexColor = Vector3.new(23/255, 21/255, 29/255) | |
3421 | NewPillarMesh.MeshType = Enum.MeshType.FileMesh | |
3422 | ||
3423 | SetTween(Pillar,{CFrame=PortalPosCF*cn(0,12*pilarsize,0)},"Quad","Out",.5) | |
3424 | coroutine.resume(coroutine.create(function() | |
3425 | wait(math.random(3,6)) | |
3426 | SetTween(Pillar,{CFrame=PortalPosCF*cn(0,-30*pilarsize,0)*ANGLES(RAD(math.random(-90,90)),RAD(math.random(-360,360)),RAD(math.random(-90,90)))},"Bounce","In",2) | |
3427 | Pillar.CanCollide = false | |
3428 | wait(1.5) | |
3429 | CFMagniDamage(cn(PortalPos),18*pilarsize,20*pilarsize,30*pilarsize,50*pilarsize,"Knockdown") | |
3430 | ||
3431 | WACKYEFFECT({Time = 50, EffectType = "Crown", Size = VT(15,0,15)*pilarsize, Size2 = (VT(19,120,19)*pilarsize), Transparency = 0.6, Transparency2 = 1, CFrame = CF(PortalPos,PortalPos+test1)*ANGLES(RAD(-90),RAD(math.random(-360,360)),RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 1788899396, SoundPitch = 1/(pilarsize/2), SoundVolume = 3*pilarsize}) | |
3432 | ||
3433 | SetTween(Pillar,{Transparency=1},"Quad","Out",2) | |
3434 | wait(4) | |
3435 | Pillar:Destroy() | |
3436 | end)) | |
3437 | CFMagniDamage(cn(PortalPos),16*pilarsize,10*pilarsize,20*pilarsize,-20*pilarsize,"NormalKnockdown") | |
3438 | ||
3439 | WACKYEFFECT({Time = 40, EffectType = "Crown", Size = VT(9,0,9)*pilarsize, Size2 = (VT(4.5,160,4.5)*pilarsize), Transparency = 0.2, Transparency2 = 1, CFrame = PortalPosCF, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 2175667385, SoundPitch = 0.8/(pilarsize/2), SoundVolume = 2*pilarsize}) | |
3440 | WACKYEFFECT({Time = 40, EffectType = "Crown", Size = VT(4.5,40,4.5)*pilarsize, Size2 = (VT(30,0,30)*pilarsize), Transparency = 0.7, Transparency2 = 1, CFrame = CF(PortalPos,PortalPos+test1)*ANGLES(RAD(-90),RAD(math.random(-360,360)),RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 3}) | |
3441 | ||
3442 | end | |
3443 | ||
3444 | wait(.05) | |
3445 | end | |
3446 | end)) | |
3447 | ||
3448 | ||
3449 | ||
3450 | end)) | |
3451 | ||
3452 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
3453 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
3454 | SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -2.0)*angles(math.rad(90),math.rad(0),math.rad(-20))},"Back","Out",.4) | |
3455 | SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -2.0)*angles(math.rad(90),math.rad(0),math.rad(20))},"Back","Out",.4) | |
3456 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
3457 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4) | |
3458 | wait(.4) | |
3459 | attack=false | |
3460 | end | |
3461 | ||
3462 | ||
3463 | ||
3464 | ||
3465 | ||
3466 | ||
3467 | ||
3468 | ||
3469 | ||
3470 | ||
3471 | for i, v in pairs(Head:GetChildren()) do | |
3472 | ||
3473 | if v:IsA("BasePart") and v.BrickColor.Name == "Institutional white" then | |
3474 | --v.Name = "Eye" | |
3475 | end | |
3476 | ||
3477 | ||
3478 | end | |
3479 | ||
3480 | ||
3481 | ||
3482 | ||
3483 | function ClickCombo() | |
3484 | if Anim == "Fall" or Anim == "Jump" then | |
3485 | if Combo == 0 then | |
3486 | --DownAT() | |
3487 | end | |
3488 | else | |
3489 | if Combo == 0 then | |
3490 | AT1() | |
3491 | Combo = 1 | |
3492 | elseif Combo == 1 then | |
3493 | AT2() | |
3494 | Combo = 0 | |
3495 | elseif Combo == 2 then | |
3496 | AT3() | |
3497 | Combo = 0 | |
3498 | end | |
3499 | end | |
3500 | end | |
3501 | ||
3502 | Button1DownF=function() | |
3503 | ||
3504 | if attack==false then | |
3505 | ||
3506 | ClickCombo() | |
3507 | else | |
3508 | ||
3509 | end | |
3510 | ||
3511 | end | |
3512 | ||
3513 | ||
3514 | ||
3515 | KeyUpF=function(key) | |
3516 | ||
3517 | ||
3518 | ||
3519 | end | |
3520 | ||
3521 | Mouse.KeyDown:Connect(function(key) | |
3522 | key:lower() | |
3523 | if key == "z" and attack ==false then | |
3524 | Attack1() | |
3525 | end | |
3526 | if key == "x" and attack ==false then | |
3527 | Attack2() | |
3528 | end | |
3529 | if key == "c" and attack ==false then | |
3530 | Attack3() | |
3531 | end | |
3532 | if key == "v" and attack ==false then | |
3533 | Attack4() | |
3534 | end | |
3535 | end) | |
3536 | ||
3537 | ||
3538 | ||
3539 | ||
3540 | if mememode == false then | |
3541 | mememode=true | |
3542 | lastid= "http://www.roblox.com/asset/?id=167664731" --1847367023 | |
3543 | ||
3544 | lastsongpos = 0 | |
3545 | s2.TimePosition = lastsongpos | |
3546 | SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",1) | |
3547 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",1) | |
3548 | SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(60))},"Quad","InOut",1) | |
3549 | SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-60))},"Quad","InOut",1) | |
3550 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(-90))},"Quad","InOut",1) | |
3551 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(90))},"Quad","InOut",1) | |
3552 | so("1837106999", Character,1, 1) | |
3553 | wait(1) | |
3554 | ||
3555 | ||
3556 | lastid= "http://www.roblox.com/asset/?id=1907454616" --1847367023 194920243 | |
3557 | ||
3558 | lastsongpos = 0 | |
3559 | s2.TimePosition = lastsongpos | |
3560 | ||
3561 | ||
3562 | ||
3563 | ||
3564 | for i, v in pairs(Head:GetChildren()) do | |
3565 | - | if v:IsA("BasePart") and v.BrickColor.Name == "Really black" and v.Name ~= "Head" then |
3565 | + | if v:IsA("BasePart") and v.BrickColor.Name == "Really red" and v.Name ~= "Head" then |
3566 | ||
3567 | if v.Name == "Handle" then | |
3568 | v.Transparency=1 | |
3569 | v.Decal.Transparency=1 | |
3570 | else | |
3571 | SetTween(v,{Transparency=1},"Quad","InOut",.1) | |
3572 | ||
3573 | end | |
3574 | ||
3575 | ||
3576 | end | |
3577 | if v:IsA("BasePart") and (v.Name == "Eye1" or v.Name == "Eye2" ) then | |
3578 | SetTween(v,{Color=Color3.new(1,0,0)},"Quad","InOut",1) | |
3579 | ||
3580 | SetTween(v.Mesh,{Scale=Vector3.new(0.8,5.8,.825)},"Quad","InOut",1) | |
3581 | ||
3582 | ||
3583 | SetTween(v.Mesh,{Offset=Vector3.new(0,-.5,0)},"Quad","InOut",1) | |
3584 | ||
3585 | ||
3586 | ||
3587 | end | |
3588 | ||
3589 | ||
3590 | end | |
3591 | ||
3592 | coroutine.resume(coroutine.create(function() | |
3593 | local MaskPart = Instance.new("Part") | |
3594 | MaskPart.Reflectance = 0 | |
3595 | MaskPart.Transparency = 0 | |
3596 | MaskPart.CanCollide = false | |
3597 | MaskPart.Locked = true | |
3598 | MaskPart.Anchored=false | |
3599 | - | MaskPart.BrickColor = BrickColor.new("Really red") |
3599 | + | MaskPart.BrickColor = BrickColor.new("really black") |
3600 | MaskPart.Name = "LMaskPart" | |
3601 | MaskPart.Size = Vector3.new(.1,.1,.1) | |
3602 | MaskPart.Material = "SmoothPlastic" | |
3603 | MaskPart:BreakJoints() | |
3604 | MaskPart.Parent = Head | |
3605 | MaskPart.CFrame = RootPart.CFrame | |
3606 | ||
3607 | local SWeld=weld(MaskPart,Head,MaskPart,cf(-.75,-0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0))) | |
3608 | SetTween(SWeld,{C0=CFrame.new(-2.75,0,-1.0)*angles(math.rad(0),math.rad(-15),math.rad(math.random(-15,15)))},"Elastic","Out",1.5) | |
3609 | ||
3610 | local NewMaskMesh = Instance.new("SpecialMesh") | |
3611 | NewMaskMesh.Parent = MaskPart | |
3612 | NewMaskMesh.MeshId = "http://www.roblox.com/asset/?id=2349611011" | |
3613 | NewMaskMesh.TextureId = "http://www.roblox.com/asset/?id=2349706532" | |
3614 | NewMaskMesh.Scale = Vector3.new(3, 3.0999999, 3)/10 | |
3615 | NewMaskMesh.MeshType = Enum.MeshType.FileMesh | |
3616 | end)) | |
3617 | coroutine.resume(coroutine.create(function() | |
3618 | local MaskPart = Instance.new("Part") | |
3619 | MaskPart.Reflectance = 0 | |
3620 | MaskPart.Transparency = 0 | |
3621 | MaskPart.CanCollide = false | |
3622 | MaskPart.Locked = true | |
3623 | MaskPart.Anchored=false | |
3624 | - | MaskPart.BrickColor = BrickColor.new("Really red") |
3624 | + | MaskPart.BrickColor = BrickColor.new("really black") |
3625 | MaskPart.Name = "RMaskPart" | |
3626 | MaskPart.Size = Vector3.new(.1,.1,.1) | |
3627 | MaskPart.Material = "SmoothPlastic" | |
3628 | MaskPart:BreakJoints() | |
3629 | MaskPart.Parent = Head | |
3630 | MaskPart.CFrame = RootPart.CFrame | |
3631 | ||
3632 | local SWeld=weld(MaskPart,Head,MaskPart,cf(.75,-0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0))) | |
3633 | SetTween(SWeld,{C0=CFrame.new(2.75,0,-1.0)*angles(math.rad(0),math.rad(-15),math.rad(math.random(-15,15)))},"Elastic","Out",1) | |
3634 | ||
3635 | local NewMaskMesh = Instance.new("SpecialMesh") | |
3636 | NewMaskMesh.Parent = MaskPart | |
3637 | NewMaskMesh.MeshId = "http://www.roblox.com/asset/?id=2349606351" | |
3638 | NewMaskMesh.TextureId = "http://www.roblox.com/asset/?id=2349706532" | |
3639 | NewMaskMesh.Scale = Vector3.new(3, 3.0999999, 3)/10 | |
3640 | NewMaskMesh.MeshType = Enum.MeshType.FileMesh | |
3641 | end)) | |
3642 | ||
3643 | ||
3644 | ||
3645 | ||
3646 | coroutine.resume(coroutine.create(function() | |
3647 | wait(1) | |
3648 | local MoveVal = 1 | |
3649 | while mememode == true do | |
3650 | ||
3651 | if MoveVal == 1 then | |
3652 | MoveVal =-1 | |
3653 | else | |
3654 | MoveVal=1 | |
3655 | end | |
3656 | ||
3657 | if Head:FindFirstChild("RMaskPart") then | |
3658 | ||
3659 | local HPa = Head:FindFirstChild("RMaskPart") | |
3660 | SetTween(HPa:FindFirstChildOfClass("Weld"),{C0=CFrame.new(2.75+MoveVal/(math.random(30,40)/10),MoveVal/(math.random(60,80)/10),-1.0)*angles(math.rad(-30),math.rad(-15+MoveVal*5),math.rad(math.random(-15,15)))},"Quad","InOut",1) | |
3661 | end | |
3662 | if Head:FindFirstChild("LMaskPart") then | |
3663 | local HPa = Head:FindFirstChild("LMaskPart") | |
3664 | SetTween(HPa:FindFirstChildOfClass("Weld"),{C0=CFrame.new(-2.75-MoveVal/(math.random(30,40)/10),MoveVal/(math.random(60,80)/10),-1.0)*angles(math.rad(-30),math.rad(15+MoveVal*5),math.rad(math.random(-15,15)))},"Quad","InOut",1) | |
3665 | end | |
3666 | if Head:FindFirstChild("Eye1") then | |
3667 | local HPa = Head:FindFirstChild("Eye1") | |
3668 | SetTween(HPa,{Color=Color3.new(.25+MoveVal/4,0,0)},"Quad","InOut",1) | |
3669 | ||
3670 | ||
3671 | end | |
3672 | ||
3673 | if Head:FindFirstChild("Eye2") then | |
3674 | local HPa = Head:FindFirstChild("Eye2") | |
3675 | SetTween(HPa,{Color=Color3.new(.25+MoveVal/4,0,0)},"Quad","InOut",1) | |
3676 | ||
3677 | ||
3678 | ||
3679 | ||
3680 | end | |
3681 | ||
3682 | wait(1) | |
3683 | end | |
3684 | ||
3685 | ||
3686 | if Head:FindFirstChild("RMaskPart") then | |
3687 | ||
3688 | local HPa = Head:FindFirstChild("RMaskPart") | |
3689 | SetTween(HPa:FindFirstChildOfClass("Weld"),{C0=CFrame.new(.75,-0,-1.25)*angles(math.rad(-0),math.rad(-0),math.rad(0))},"Quad","InOut",.1) | |
3690 | end | |
3691 | if Head:FindFirstChild("LMaskPart") then | |
3692 | local HPa = Head:FindFirstChild("LMaskPart") | |
3693 | SetTween(HPa:FindFirstChildOfClass("Weld"),{C0=CFrame.new(-.75,-0.1,-1.25)*angles(math.rad(-0),math.rad(0),math.rad(0))},"Quad","InOut",.1) | |
3694 | end | |
3695 | ||
3696 | ||
3697 | ||
3698 | ||
3699 | ||
3700 | for i, v in pairs(Head:GetChildren()) do | |
3701 | - | if v:IsA("BasePart") and v.BrickColor.Name == "Really black" and v.Name ~= "Head" then |
3701 | + | if v:IsA("BasePart") and v.BrickColor.Name == "Really red" and v.Name ~= "Head" then |
3702 | ||
3703 | if v.Name == "Handle" then | |
3704 | coroutine.resume(coroutine.create(function() | |
3705 | wait(.2) | |
3706 | v.Transparency=0 | |
3707 | v.Decal.Transparency=0 | |
3708 | end)) | |
3709 | else | |
3710 | SetTween(v,{Transparency=0},"Quad","InOut",.1) | |
3711 | ||
3712 | end | |
3713 | ||
3714 | ||
3715 | end | |
3716 | if v:IsA("BasePart") and (v.Name == "Eye1" or v.Name == "Eye2" ) then | |
3717 | SetTween(v,{Color=Color3.new(1,1,1)},"Quad","InOut",1) | |
3718 | SetTween(v.Mesh,{Offset=Vector3.new(0,0,0)},"Quad","InOut",1) | |
3719 | SetTween(v.Mesh,{Scale=Vector3.new(1,1,1)},"Quad","InOut",1) | |
3720 | ||
3721 | ||
3722 | ||
3723 | ||
3724 | end | |
3725 | if v:IsA("BasePart") and (v.Name == "RMaskPart" or v.Name == "LMaskPart" ) then | |
3726 | coroutine.resume(coroutine.create(function() | |
3727 | wait(.2) | |
3728 | v:Destroy() | |
3729 | end)) | |
3730 | end | |
3731 | ||
3732 | end | |
3733 | ||
3734 | ||
3735 | ||
3736 | end)) | |
3737 | ||
3738 | ||
3739 | ||
3740 | lastsongpos = 0 | |
3741 | s2.TimePosition = lastsongpos | |
3742 | ||
3743 | SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",.5) | |
3744 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.5) | |
3745 | SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(90))},"Quad","InOut",.5) | |
3746 | SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-90))},"Quad","InOut",.5) | |
3747 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(10),math.rad(0),math.rad(-90))},"Quad","InOut",.5) | |
3748 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(10),math.rad(0),math.rad(90))},"Quad","InOut",.5) | |
3749 | ||
3750 | wait(.5) | |
3751 | else | |
3752 | mememode=false | |
3753 | ||
3754 | ||
3755 | ||
3756 | SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",.5) | |
3757 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.5) | |
3758 | SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(90))},"Quad","InOut",.5) | |
3759 | SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-90))},"Quad","InOut",.5) | |
3760 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(10),math.rad(0),math.rad(-90))},"Quad","InOut",.5) | |
3761 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(10),math.rad(0),math.rad(90))},"Quad","InOut",.5) | |
3762 | ||
3763 | wait(.25) | |
3764 | ||
3765 | SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",.5) | |
3766 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.5) | |
3767 | SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(60))},"Quad","InOut",.5) | |
3768 | SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-60))},"Quad","InOut",.5) | |
3769 | SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(-90))},"Quad","InOut",.5) | |
3770 | SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(90))},"Quad","InOut",.5) | |
3771 | ||
3772 | wait(.5) | |
3773 | ||
3774 | ||
3775 | CurId=CurId-1 | |
3776 | ||
3777 | ||
3778 | end | |
3779 | ||
3780 | attack = false | |
3781 | ||
3782 | ||
3783 | ||
3784 | ||
3785 | ||
3786 | ||
3787 | ||
3788 | ||
3789 | ||
3790 | ||
3791 | ||
3792 | ||
3793 | ||
3794 | ||
3795 | --math.rad(math.random(-math.random(1,5),math.random(1,5))) | |
3796 | gout= false | |
3797 | gnum = 0 | |
3798 | gnum2 = 20 | |
3799 | crypos=0 | |
3800 | s3:play() | |
3801 | s3.Volume = 0 | |
3802 | coroutine.resume(coroutine.create(function() | |
3803 | while Humanoid.Health>0.001 do | |
3804 | sine = sine + change | |
3805 | hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
3806 | ||
3807 | local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
3808 | local velderp = RootPart.Velocity.y | |
3809 | ||
3810 | ||
3811 | local wwalk = Anim | |
3812 | ||
3813 | if RootPart.Velocity.y > 1 and hitfloor == nil then | |
3814 | Anim = "Jump" | |
3815 | ||
3816 | elseif RootPart.Velocity.y < -1 and hitfloor == nil then | |
3817 | Anim = "Fall" | |
3818 | elseif Humanoid.Sit == true then | |
3819 | Anim = "Sit" | |
3820 | elseif torvel < 1 and hitfloor ~= nil then | |
3821 | Anim = "Idle" | |
3822 | elseif torvel > 2 and hitfloor ~= nil then | |
3823 | ||
3824 | Anim = "Walk" | |
3825 | ||
3826 | else | |
3827 | Anim = "" | |
3828 | ||
3829 | end | |
3830 | ||
3831 | if Anim=="Jump" and wwalk == "Walk" and mememode==true then | |
3832 | local Portalfloor,PortalPos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 80, Character) | |
3833 | ||
3834 | WACKYEFFECT({Time = 40, EffectType = "Crown", Size = VT(0,60,0), Size2 = (VT(30,0,30)), Transparency = 0.2, Transparency2 = 1, CFrame = cn(PortalPos) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
3835 | ||
3836 | end | |
3837 | ||
3838 | ||
3839 | ||
3840 | coroutine.resume(coroutine.create(function() | |
3841 | if mememode == true then | |
3842 | if s3.Parent == nil or s3 == nil then | |
3843 | ||
3844 | s3 = s3c:Clone() | |
3845 | s3.Parent = Head | |
3846 | s3.Name = "Crying" | |
3847 | -- s2.SoundId = lastid | |
3848 | s3.Pitch = 0.5 | |
3849 | s3.Volume = 0 | |
3850 | s3.Looped = true | |
3851 | s3.archivable = false | |
3852 | s3.TimePosition = crypos | |
3853 | ||
3854 | s3:play() | |
3855 | ||
3856 | ||
3857 | else | |
3858 | crypos=s3.TimePosition | |
3859 | s3.Pitch = 0.5 | |
3860 | ||
3861 | --s2.Volume = 1.5 | |
3862 | ||
3863 | s3.Looped = true | |
3864 | s3.SoundId = crying | |
3865 | s3.EmitterSize = 40 | |
3866 | end | |
3867 | ||
3868 | ||
3869 | end | |
3870 | end)) | |
3871 | ||
3872 | ||
3873 | ||
3874 | coroutine.resume(coroutine.create(function() | |
3875 | ||
3876 | ||
3877 | if s2.Parent == nil or s2 == nil then | |
3878 | ||
3879 | s2 = s2c:Clone() | |
3880 | s2.Parent = Torso | |
3881 | s2.Name = "BGMusic" | |
3882 | -- s2.SoundId = lastid | |
3883 | s2.Pitch = 1.5 | |
3884 | s2.Volume = 1.5 | |
3885 | s2.Looped = true | |
3886 | s2.archivable = false | |
3887 | s2.TimePosition = lastsongpos | |
3888 | if playsong == true then | |
3889 | s2:play() | |
3890 | elseif playsong == false then | |
3891 | s2:stop() | |
3892 | end | |
3893 | ||
3894 | ||
3895 | else | |
3896 | lastsongpos=s2.TimePosition | |
3897 | ||
3898 | if mememode == false then | |
3899 | ||
3900 | s2.Pitch = .85 | |
3901 | ||
3902 | s2.Volume = 1.5 | |
3903 | ||
3904 | s2.Looped = true | |
3905 | s2.SoundId = lastid | |
3906 | s2.EmitterSize = 30 | |
3907 | else | |
3908 | ||
3909 | ||
3910 | s2.Pitch = .9 | |
3911 | ||
3912 | s2.Volume = 2 | |
3913 | ||
3914 | s2.Looped = true | |
3915 | s2.SoundId = lastid | |
3916 | s2.EmitterSize = 35 | |
3917 | end | |
3918 | ||
3919 | end | |
3920 | ||
3921 | ||
3922 | ||
3923 | end)) | |
3924 | ||
3925 | if mememode == true then | |
3926 | gnum = gnum + 1 | |
3927 | if gnum > gnum2 then | |
3928 | ||
3929 | gnum2 = math.random(10,100) | |
3930 | gnum = 0 | |
3931 | coroutine.resume(coroutine.create(function() | |
3932 | gout = true | |
3933 | s3.Volume = 3 | |
3934 | wait(math.random(2,12)/50) | |
3935 | ||
3936 | ||
3937 | s3.Volume = 0 | |
3938 | gout=false | |
3939 | end)) | |
3940 | ||
3941 | ||
3942 | end | |
3943 | end | |
3944 | ||
3945 | ||
3946 | ||
3947 | inairvel=torvel | |
3948 | ||
3949 | ||
3950 | if inairvel > 30 then | |
3951 | inairvel=30 | |
3952 | end | |
3953 | inairvel=inairvel/50*2 | |
3954 | ||
3955 | ||
3956 | ||
3957 | if attack == false then | |
3958 | if Anim == "Jump" then | |
3959 | change = 0.60*2 | |
3960 | SetTween(RJW,{C0=RootCF* cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(-6.5 - 1.5 * math.cos(sine / 8))+inairvel/2, math.rad(0), math.rad(0))},"Quad","Out",0.25) | |
3961 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0))},"Quad","Out",0.25) | |
3962 | SetTween(RW,{C0=CFrame.new(3.5 , -2.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8)))},"Quad","InOut",0.1) | |
3963 | SetTween(LW,{C0=CFrame.new(-3.5, -2.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8)))},"Quad","InOut",0.1) | |
3964 | SetTween(RH,{C0=CFrame.new(0, -2+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075) | |
3965 | SetTween(LH,{C0=CFrame.new(0, -2+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075) | |
3966 | ||
3967 | ||
3968 | elseif Anim == "Fall" then | |
3969 | change = 0.60*2 | |
3970 | SetTween(RJW,{C0=RootCF*cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(5.5 - 1.5 * math.cos(sine / 8))-inairvel, math.rad(0), math.rad(0))},"Quad","Out",0.25) | |
3971 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(26.5 + 2.5 * math.cos(sine / 8))+inairvel, math.rad(0), math.rad(-0))},"Quad","Out",0.25) | |
3972 | SetTween(RW,{C0=CFrame.new(3.2 , -1.50, .20) * angles(math.rad(140 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(45 + 0 * math.cos(sine / 8)))},"Quad","InOut",0.15) | |
3973 | SetTween(LW,{C0=CFrame.new(-3.2, -1.5, .20) * angles(math.rad(140 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-45 - 2 * math.cos(sine / 8)))},"Quad","InOut",0.15) | |
3974 | SetTween(RH,{C0=CFrame.new(0, -1+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
3975 | SetTween(LH,{C0=CFrame.new(0, -1+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
3976 | ||
3977 | ||
3978 | ||
3979 | ||
3980 | ||
3981 | ||
3982 | ||
3983 | ||
3984 | ||
3985 | ||
3986 | elseif Anim == "Idle" then | |
3987 | ||
3988 | ||
3989 | ||
3990 | if mememode == false then | |
3991 | ||
3992 | change = 0.60 | |
3993 | Humanoid.JumpPower = 90 | |
3994 | Humanoid.WalkSpeed=16 | |
3995 | local ADNum = .25 | |
3996 | SetTween(RJW,{C0=RootCF*cn(0, 0, 2.1 + 0.2395 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(20 - 0 * math.cos(sine / 8)), math.rad((0 + .5* math.cos(sine / 4))), math.rad(-0))},"Quad","InOut",0.1) | |
3997 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0, -1, 2) *angles(math.rad(-3.5 - 1.5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(10), math.rad(0 - 26.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1) | |
3998 | SetTween(RW,{C0=CFrame.new(3 , 2.5 + .02 * math.cos(sine / 8), -.0) * angles(math.rad(10 - 12 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(-25), math.rad(30 - 6 * math.cos(sine / 8)))},"Quad","Out",0.2) | |
3999 | SetTween(LW,{C0=CFrame.new(-3, 2.5 + .02 * math.cos(sine / 8), -.0) * angles(math.rad(10 - 12 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(25), math.rad(-30 + 6 * math.cos(sine / 8 )))},"Quad","Out",0.1) | |
4000 | SetTween(RH,{C0=CFrame.new(0, -3+ .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -2) * CFrame.Angles(math.rad(60 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-12.5- 6.0 * math.cos(sine / 4)))},"Quad","InOut",0.1) | |
4001 | SetTween(LH,{C0=CFrame.new(-0, -3+ .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -2) * CFrame.Angles(math.rad(60 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-12.5+ 6.0 * math.cos(sine / 4)))},"Quad","InOut",0.1) | |
4002 | else | |
4003 | change = 0.60 | |
4004 | Humanoid.JumpPower = 90 | |
4005 | Humanoid.WalkSpeed=16 | |
4006 | local ADNum = .25 | |
4007 | SetTween(RJW,{C0=RootCF*cn(0, 0, 2.1 + 0.2395 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(20 - 0 * math.cos(sine / 8)), math.rad((0 + .5* math.cos(sine / 4))), math.rad(-0))},"Quad","InOut",0.1) | |
4008 | ||
4009 | if gout == false then | |
4010 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0, -1, 2) *angles(math.rad(13.5 - 1.5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(0), math.rad(0 - 26.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1) | |
4011 | else | |
4012 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0+ (math.random(-10,10)/350), -1, 2 + (math.random(-10,10)/350)) *angles(math.rad(math.random(-math.random(1,5),math.random(1,5))), math.rad(0+math.random(-math.random(1,5),math.random(1,5))), math.rad(0 - 26.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.0) | |
4013 | ||
4014 | end | |
4015 | SetTween(RW,{C0=CFrame.new(3 , 2.5 + .02 * math.cos(sine / 8), -.0) * angles(math.rad(10 - 6 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(-25), math.rad(30 - 2 * math.cos(sine / 8)))},"Quad","Out",0.2) | |
4016 | SetTween(LW,{C0=CFrame.new(-3, 2.5 + .02 * math.cos(sine / 8), -.0) * angles(math.rad(10 - 6 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(25), math.rad(-30 + 2 * math.cos(sine / 8 )))},"Quad","Out",0.1) | |
4017 | SetTween(RH,{C0=CFrame.new(0, -3+ .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -2) * CFrame.Angles(math.rad(60 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-12.5- 2.0 * math.cos(sine / 4)))},"Quad","InOut",0.1) | |
4018 | SetTween(LH,{C0=CFrame.new(-0, -3+ .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -2) * CFrame.Angles(math.rad(60 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-12.5+ 2.0 * math.cos(sine / 4)))},"Quad","InOut",0.1) | |
4019 | ||
4020 | end | |
4021 | ||
4022 | ||
4023 | elseif Anim == "Walk" then | |
4024 | local speed=1 | |
4025 | if mememode == true then | |
4026 | speed=1.5 | |
4027 | end | |
4028 | ||
4029 | ||
4030 | ||
4031 | if mememode == false then | |
4032 | ||
4033 | ||
4034 | local ADNum = 1 | |
4035 | ||
4036 | change = 2.6*speed | |
4037 | Humanoid.JumpPower = 90*speed | |
4038 | Humanoid.WalkSpeed=56*speed | |
4039 | SetTween(RJW,{C0=RootCF*CFrame.new(0, 1 + 1.0395 * math.cos(sine / 4), 2.4+ 0.855 * math.cos(sine / 4) + -math.sin(sine / 4) / 8) * angles(math.rad(20 - 6 * math.cos(sine / 4)), math.rad(12 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 70, math.rad(18 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed) | |
4040 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0, -1, 2 + 0.025 * math.cos(sine / 4)) * angles(math.rad(10 + 6.5 * math.cos(sine / 4)), math.rad(0 - 16 * math.cos(sine / 8)), math.rad(-18 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 16)},"Linear","InOut",WalkAnimMove/speed) | |
4041 | --SetTween(RW,{C0=CFrame.new(1.5, 0.6, 0) * angles(math.rad(21+8 * math.cos(sine / 8)), math.rad(-70) + RootPart.RotVelocity.Y / 80, math.rad(70) + RootPart.RotVelocity.Y / 120)},"Linear","InOut",WalkAnimMove/speed) | |
4042 | --SetTween(LW,{C0=CFrame.new(-1.5, 0.6, 0) * angles(math.rad(90-6* math.cos(sine / 4)), math.rad(0) + RootPart.RotVelocity.Y / 80, math.rad(-10) - RootPart.RotVelocity.Y / 90)},"Linear","InOut",WalkAnimMove/speed) | |
4043 | SetTween(RW,{C0=cf(3, 1.5 - 0.55 * math.cos(sine / 8) / 2,-1.1+ 0.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-10.5 + 90 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90 + 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(-10 + 22.5 * math.cos(sine / 8)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed) | |
4044 | SetTween(LW,{C0=cf(-3, 1.5 + 0.55 * math.cos(sine / 8) / 2,-1.1+ -0.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-10.5 - 90 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90 + 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(-10 - 22.5 * math.cos(sine / 8)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed) | |
4045 | SetTween(RH,{C0=cf(0, -2.825 - 0.55 * math.cos(sine / 8) / 2,-1 + 1 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * CFrame.Angles(math.rad(45 - 50 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) + -math.sin(sine / 8) / 2.5, math.rad(90 + 0 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 8)), math.rad(-90) - RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed/1) | |
4046 | SetTween(LH,{C0=cf(-0, -2.825 + 0.55 * math.cos(sine / 8) / 2,-1 - 1 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * CFrame.Angles(math.rad(45 + 50 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) + math.sin(sine / 8) / 2.5, math.rad(-90 + 0 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 8)), math.rad(90)- RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed/1) | |
4047 | else | |
4048 | ||
4049 | ||
4050 | ||
4051 | ||
4052 | local ADNum = 1 | |
4053 | ||
4054 | change = 2.6*speed | |
4055 | Humanoid.JumpPower = 90*speed | |
4056 | Humanoid.WalkSpeed=76*speed | |
4057 | SetTween(RJW,{C0=RootCF*CFrame.new(0, 1 + 1.3395 * math.cos(sine / 4), 2.4+ 0.855 * math.cos(sine / 4) + -math.sin(sine / 4) / 8) * angles(math.rad(20 - 6 * math.cos(sine / 4)), math.rad(12 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 70, math.rad(18 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed) | |
4058 | ||
4059 | ||
4060 | if gout == false then | |
4061 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0, 1, 0 + 0.025 * math.cos(sine / 4)) * angles(math.rad(10 + 6.5 * math.cos(sine / 4)), math.rad(0 - 3 * math.cos(sine / 8)), math.rad(-18 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 16)},"Linear","InOut",WalkAnimMove/speed) | |
4062 | else | |
4063 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0+ (math.random(-10,10)/350), 1, 0 + (math.random(-10,10)/350)) *angles(math.rad(math.random(-math.random(1,5),math.random(1,5))), math.rad(0+math.random(-math.random(1,5),math.random(1,5))), math.rad(0 - 26.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.0) | |
4064 | ||
4065 | end | |
4066 | ||
4067 | ||
4068 | --SetTween(RW,{C0=CFrame.new(1.5, 0.6, 0) * angles(math.rad(21+8 * math.cos(sine / 8)), math.rad(-70) + RootPart.RotVelocity.Y / 80, math.rad(70) + RootPart.RotVelocity.Y / 120)},"Linear","InOut",WalkAnimMove/speed) | |
4069 | --SetTween(LW,{C0=CFrame.new(-1.5, 0.6, 0) * angles(math.rad(90-6* math.cos(sine / 4)), math.rad(0) + RootPart.RotVelocity.Y / 80, math.rad(-10) - RootPart.RotVelocity.Y / 90)},"Linear","InOut",WalkAnimMove/speed) | |
4070 | SetTween(RW,{C0=cf(3, 1.5 - 0.55 * math.cos(sine / 8) / 2,-1.1- 2.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-1.5 + 30 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90 + 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(-10 + 22.5 * math.cos(sine / 8)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed) | |
4071 | SetTween(LW,{C0=cf(-3, 1.5 + 0.55 * math.cos(sine / 8) / 2,-1.1- -2.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-1.5 - 30 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90 + 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(-10 - 22.5 * math.cos(sine / 8)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed) | |
4072 | SetTween(RH,{C0=cf(0, -2.825 - 0.55 * math.cos(sine / 8) / 2,-1 - 1 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * CFrame.Angles(math.rad(45 - 60 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) + -math.sin(sine / 8) / 2.5, math.rad(90 - 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 + 6.5 * math.cos(sine / 8)), math.rad(-90) - RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed/1) | |
4073 | SetTween(LH,{C0=cf(-0, -2.825 + 0.55 * math.cos(sine / 8) / 2,-1 + 1 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * CFrame.Angles(math.rad(45 + 60 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) + math.sin(sine / 8) / 2.5, math.rad(-90 - 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 - 6.5 * math.cos(sine / 8)), math.rad(90)- RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed/1) | |
4074 | ||
4075 | ||
4076 | ||
4077 | ||
4078 | ||
4079 | ||
4080 | ||
4081 | ||
4082 | end | |
4083 | ||
4084 | ||
4085 | ||
4086 | ||
4087 | ||
4088 | ||
4089 | ||
4090 | ||
4091 | ||
4092 | ||
4093 | elseif Anim == "Sit" then | |
4094 | SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
4095 | SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
4096 | SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1) | |
4097 | SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1) | |
4098 | SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
4099 | SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1) | |
4100 | ||
4101 | end | |
4102 | end | |
4103 | ||
4104 | wait(Animstep) | |
4105 | end | |
4106 | end)) | |
4107 | local Value1=MaybeOk(1,"29,30,31,10,12,29,30,31,0") warn(MaybeOk(1,"12,15,1,4,9,14,7,0")) | |
4108 | ||
4109 | ||
4110 | ||
4111 | ||
4112 | ||
4113 | ----------------------------------------------------------------- | |
4114 | -- ____________ | |
4115 | -- /100101001011\ [-Deer Logger-] | |
4116 | -- [01-()-10-()-01] when runing this script then i can | |
4117 | -- \011001000101/ see who it isso its not the best | |
4118 | -- [10\-'--'-/01] plan you had and the white list | |
4119 | -- \10\ /10/ is just there to get rid of sum | |
4120 | -- [10\__/10] that copy the script | |
4121 | -- \======/ | |
4122 | ----------------------------------------------------------------- |