SHOW:
|
|
- or go back to the newest paste.
1 | ------------------- | |
2 | --Brutal Overlord-- | |
3 | ---------------------------------------------------------------- | |
4 | --By CKbackup (Sugarie Saffron) -- | |
5 | --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw-- | |
6 | --Discord: Sugarie Saffron#4705 -- | |
7 | ---------------------------------------------------------------- | |
8 | ||
9 | print([[ | |
10 | --Brutal Overlord-- | |
11 | By CKbackup (Sugarie Saffron) | |
12 | YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw | |
13 | Discord: Sugarie Saffron#4705 | |
14 | -------------------------------- | |
15 | As I've been demoted from my SB | |
16 | Mod rank in VSB, I don't see the | |
17 | need to hold this back any longer. | |
18 | ||
19 | Also, if the anims look weird or | |
20 | the weapon looks out of place, | |
21 | it's because it's actually modeled | |
22 | off a scaled rig with a package. | |
23 | It looks better with the Boy | |
24 | package. | |
25 | -------------------------------- | |
26 | (Keys) | |
27 | M - Mute/Play Music | |
28 | ||
29 | Q - Get Over Here (Mouse Over Player) | |
30 | E - Dash | |
31 | ||
32 | (requires a player to be close to you) | |
33 | Z - Necksnap | |
34 | X - Grab and Throw | |
35 | C - Rip and Tear | |
36 | V - Curb Stomp | |
37 | B - Head Rip (Press again to throw head) | |
38 | N - Arm Rip (Slowly kills a player,) | |
39 | (Click to melee with arm) | |
40 | (Press key again to throw) | |
41 | ||
42 | R - Object Grab (Object must be close) | |
43 | (similar to arm grabbing) | |
44 | ]]) | |
45 | ||
46 | - | wait(1/60) |
46 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
47 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
48 | - | local Player = game:service'Players'.localPlayer |
48 | + | do |
49 | print("FE Compatibility code by Mokiros") | |
50 | script.Parent = Player.Character | |
51 | - | local Mouse = Player:GetMouse() |
51 | + | |
52 | --RemoteEvent for communicating | |
53 | local Event = Instance.new("RemoteEvent") | |
54 | Event.Name = "UserInput_Event" | |
55 | ||
56 | --Fake event to make stuff like Mouse.KeyDown work | |
57 | local function fakeEvent() | |
58 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
59 | t.connect = t.Connect | |
60 | return t | |
61 | end | |
62 | ||
63 | --Creating fake input objects with fake variables | |
64 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
65 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
66 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
67 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
68 | end} | |
69 | --Merged 2 functions into one by checking amount of arguments | |
70 | CAS.UnbindAction = CAS.BindAction | |
71 | ||
72 | --This function will trigger the events that have been :Connect()'ed | |
73 | local function te(self,ev,...) | |
74 | local t = m[ev] | |
75 | if t and t._fakeEvent and t.Function then | |
76 | t.Function(...) | |
77 | end | |
78 | end | |
79 | m.TrigEvent = te | |
80 | UIS.TrigEvent = te | |
81 | ||
82 | Event.OnServerEvent:Connect(function(plr,io) | |
83 | if plr~=Player then return end | |
84 | if io.isMouse then | |
85 | m.Target = io.Target | |
86 | m.Hit = io.Hit | |
87 | else | |
88 | local b = io.UserInputState == Enum.UserInputState.Begin | |
89 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
90 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
91 | end | |
92 | for _,t in pairs(CAS.Actions) do | |
93 | for _,k in pairs(t.Keys) do | |
94 | if k==io.KeyCode then | |
95 | t.Function(t.Name,io.UserInputState,io) | |
96 | end | |
97 | end | |
98 | end | |
99 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
100 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
101 | end | |
102 | end) | |
103 | Event.Parent = NLS([==[ | |
104 | local Player = game:GetService("Players").LocalPlayer | |
105 | local Event = script:WaitForChild("UserInput_Event") | |
106 | ||
107 | local UIS = game:GetService("UserInputService") | |
108 | local input = function(io,a) | |
109 | if a then return end | |
110 | --Since InputObject is a client-side instance, we create and pass table instead | |
111 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
112 | end | |
113 | UIS.InputBegan:Connect(input) | |
114 | UIS.InputEnded:Connect(input) | |
115 | ||
116 | local Mouse = Player:GetMouse() | |
117 | local h,t | |
118 | --Give the server mouse data 30 times every second, but only if the values changed | |
119 | --If player is not moving their mouse, client won't fire events | |
120 | while wait(1/30) do | |
121 | if h~=Mouse.Hit or t~=Mouse.Target then | |
122 | h,t=Mouse.Hit,Mouse.Target | |
123 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
124 | end | |
125 | end]==],Player.Character) | |
126 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
127 | end | |
128 | wait(0.2) | |
129 | Effects = { } | |
130 | local Player = owner | |
131 | local chara = Player.Character | |
132 | local Humanoid = chara:FindFirstChildOfClass("Humanoid") | |
133 | ||
134 | local LeftArm = chara["Left Arm"] | |
135 | local RightArm = chara["Right Arm"] | |
136 | local LeftLeg = chara["Left Leg"] | |
137 | local RightLeg = chara["Right Leg"] | |
138 | local Head = chara.Head | |
139 | local Torso = chara.Torso | |
140 | local RootPart = chara.HumanoidRootPart | |
141 | local RootJoint = RootPart.RootJoint | |
142 | local attack = false | |
143 | local Anim = 'Idle' | |
144 | local attacktype = 1 | |
145 | local delays = false | |
146 | local play = true | |
147 | local targetted = nil | |
148 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
149 | local velocity = RootPart.Velocity.y | |
150 | local sine = 0 | |
151 | local change = 1 | |
152 | local doe = 0 | |
153 | local heddo = nil | |
154 | local grabhead = false | |
155 | local armo = nil | |
156 | local grabhand = false | |
157 | local Create = LoadLibrary("RbxUtility").Create | |
158 | Humanoid.WalkSpeed = 8 | |
159 | ||
160 | Humanoid.Animator.Parent = nil | |
161 | chara.Animate.Parent = nil | |
162 | ||
163 | local newMotor = function(part0, part1, c0, c1) | |
164 | local w = Create('Motor'){ | |
165 | Parent = part0, | |
166 | Part0 = part0, | |
167 | Part1 = part1, | |
168 | C0 = c0, | |
169 | C1 = c1, | |
170 | } | |
171 | return w | |
172 | end | |
173 | ||
174 | function clerp(a, b, t) | |
175 | return a:lerp(b, t) | |
176 | end | |
177 | ||
178 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
179 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
180 | ||
181 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
182 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
183 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
184 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
185 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
186 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
187 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
188 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
189 | ||
190 | local rarmc1 = RW.C1 | |
191 | local larmc1 = LW.C1 | |
192 | local rlegc1 = RH.C1 | |
193 | local llegc1 = LH.C1 | |
194 | ||
195 | local resetc1 = false | |
196 | ||
197 | function PlayAnimationFromTable(table, speed, bool) | |
198 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
199 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
200 | RW.C0 = clerp(RW.C0, table[3], speed) | |
201 | LW.C0 = clerp(LW.C0, table[4], speed) | |
202 | RH.C0 = clerp(RH.C0, table[5], speed) | |
203 | LH.C0 = clerp(LH.C0, table[6], speed) | |
204 | if bool == true then | |
205 | if resetc1 == false then | |
206 | resetc1 = true | |
207 | RootJoint.C1 = RootJoint.C1 | |
208 | Torso.Neck.C1 = Torso.Neck.C1 | |
209 | RW.C1 = rarmc1 | |
210 | LW.C1 = larmc1 | |
211 | RH.C1 = rlegc1 | |
212 | LH.C1 = llegc1 | |
213 | end | |
214 | end | |
215 | end | |
216 | ||
217 | ArtificialHB = Instance.new("BindableEvent", script) | |
218 | ArtificialHB.Name = "Heartbeat" | |
219 | script:WaitForChild("Heartbeat") | |
220 | frame = 0.03333333333333 | |
221 | tf = 0 | |
222 | allowframeloss = false | |
223 | tossremainder = false | |
224 | lastframe = tick() | |
225 | script.Heartbeat:Fire() | |
226 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
227 | tf = tf + s | |
228 | if tf >= frame then | |
229 | if allowframeloss then | |
230 | script.Heartbeat:Fire() | |
231 | lastframe = tick() | |
232 | else | |
233 | for i = 1, math.floor(tf / frame) do | |
234 | script.Heartbeat:Fire() | |
235 | end | |
236 | lastframe = tick() | |
237 | end | |
238 | if tossremainder then | |
239 | tf = 0 | |
240 | else | |
241 | tf = tf - frame * math.floor(tf / frame) | |
242 | end | |
243 | end | |
244 | end) | |
245 | function swait(num) | |
246 | if num == 0 or num == nil then | |
247 | ArtificialHB.Event:wait() | |
248 | else | |
249 | for i = 0, num do | |
250 | ArtificialHB.Event:wait() | |
251 | end | |
252 | end | |
253 | end | |
254 | ||
255 | function RemoveOutlines(part) | |
256 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
257 | end | |
258 | ||
259 | CFuncs = { | |
260 | ["Part"] = { | |
261 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
262 | local Part = Create("Part"){ | |
263 | Parent = Parent, | |
264 | Reflectance = Reflectance, | |
265 | Transparency = Transparency, | |
266 | CanCollide = false, | |
267 | Locked = true, | |
268 | BrickColor = BrickColor.new(tostring(BColor)), | |
269 | Name = Name, | |
270 | Size = Size, | |
271 | Material = Material, | |
272 | } | |
273 | RemoveOutlines(Part) | |
274 | return Part | |
275 | end; | |
276 | }; | |
277 | ||
278 | ["Mesh"] = { | |
279 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
280 | local Msh = Create(Mesh){ | |
281 | Parent = Part, | |
282 | Offset = OffSet, | |
283 | Scale = Scale, | |
284 | } | |
285 | if Mesh == "SpecialMesh" then | |
286 | Msh.MeshType = MeshType | |
287 | Msh.MeshId = MeshId | |
288 | end | |
289 | return Msh | |
290 | end; | |
291 | }; | |
292 | ||
293 | ["Mesh"] = { | |
294 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
295 | local Msh = Create(Mesh){ | |
296 | Parent = Part, | |
297 | Offset = OffSet, | |
298 | Scale = Scale, | |
299 | } | |
300 | if Mesh == "SpecialMesh" then | |
301 | Msh.MeshType = MeshType | |
302 | Msh.MeshId = MeshId | |
303 | end | |
304 | return Msh | |
305 | end; | |
306 | }; | |
307 | ||
308 | ["Weld"] = { | |
309 | Create = function(Parent, Part0, Part1, C0, C1) | |
310 | local Weld = Create("Weld"){ | |
311 | Parent = Parent, | |
312 | Part0 = Part0, | |
313 | Part1 = Part1, | |
314 | C0 = C0, | |
315 | C1 = C1, | |
316 | } | |
317 | return Weld | |
318 | end; | |
319 | }; | |
320 | ||
321 | ["ParticleEmitter"] = { | |
322 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
323 | local fp = Create("ParticleEmitter"){ | |
324 | Parent = Parent, | |
325 | Color = ColorSequence.new(Color1, Color2), | |
326 | LightEmission = LightEmission, | |
327 | Size = Size, | |
328 | Texture = Texture, | |
329 | Transparency = Transparency, | |
330 | ZOffset = ZOffset, | |
331 | Acceleration = Accel, | |
332 | Drag = Drag, | |
333 | LockedToPart = LockedToPart, | |
334 | VelocityInheritance = VelocityInheritance, | |
335 | EmissionDirection = EmissionDirection, | |
336 | Enabled = Enabled, | |
337 | Lifetime = LifeTime, | |
338 | Rate = Rate, | |
339 | Rotation = Rotation, | |
340 | RotSpeed = RotSpeed, | |
341 | Speed = Speed, | |
342 | VelocitySpread = VelocitySpread, | |
343 | } | |
344 | return fp | |
345 | end; | |
346 | }; | |
347 | ||
348 | CreateTemplate = { | |
349 | ||
350 | }; | |
351 | } | |
352 | ||
353 | function so(id,par,pit,vol) | |
354 | local sou = Instance.new("Sound", par or workspace) | |
355 | if par == chara then | |
356 | sou.Parent = chara.Torso | |
357 | end | |
358 | sou.Volume = vol | |
359 | sou.Pitch = pit or 1 | |
360 | sou.SoundId = "rbxassetid://" .. id | |
361 | sou.PlayOnRemove = true | |
362 | sou:Destroy() | |
363 | end | |
364 | ||
365 | function CamShake(par,magni,env,dur) | |
366 | coroutine.wrap(function() | |
367 | for i=0,dur*60 do | |
368 | swait() | |
369 | Humanoid.CameraOffset = Vector3.new(math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10) | |
370 | end | |
371 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
372 | end)() | |
373 | end | |
374 | ||
375 | local mus = Instance.new("Sound",chara) | |
376 | mus.Name = "mus" | |
377 | mus.SoundId = "rbxassetid://626819662"--421358540--1275432904 | |
378 | mus.Looped = true | |
379 | mus.Volume = 1 | |
380 | mus:Play() | |
381 | ||
382 | New = function(Object, Parent, Name, Data) | |
383 | local Object = Instance.new(Object) | |
384 | for Index, Value in pairs(Data or {}) do | |
385 | Object[Index] = Value | |
386 | end | |
387 | Object.Parent = Parent | |
388 | Object.Name = Name | |
389 | return Object | |
390 | end | |
391 | ||
392 | function createrainbow(part,size,trans,life,face,speed,accel,velsp,lock,name) | |
393 | local fira = Instance.new("ParticleEmitter",part) | |
394 | fira.Name = name | |
395 | fira.Color = ColorSequence.new(Color3.new(0,0,0)) | |
396 | fira.Size = size | |
397 | fira.Texture = "rbxasset://textures/particles/fire_main.dds" | |
398 | fira.Transparency = trans | |
399 | fira.Lifetime = life | |
400 | fira.EmissionDirection = face | |
401 | fira.Rate = 10000 | |
402 | fira.RotSpeed = NumberRange.new(100) | |
403 | fira.Rotation = NumberRange.new(0,360) | |
404 | fira.Speed = speed | |
405 | fira.VelocitySpread = velsp | |
406 | fira.Acceleration = accel | |
407 | fira.LockedToPart = lock | |
408 | return fira | |
409 | end | |
410 | ||
411 | Wings = New("Model",chara,"Wings",{}) | |
412 | MainPart = New("Part",Wings,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(2, 2, 1),CFrame = CFrame.new(67.400032, 1.00001299, -47.2999992, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
413 | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = Torso,}) | |
414 | Wing1Part = New("Part",Wings,"Wing1Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.2041626, 2.02130413, -46.7787056, 0.866025448, 0.35355404, 0.35355413, -0.353553772, 0.933016062, -0.0669873655, -0.353553891, -0.0669873059, 0.933015943),}) | |
415 | createrainbow(Wing1Part,NumberSequence.new(.5,1),NumberSequence.new(0),NumberRange.new(1),"Back",NumberRange.new(5),Vector3.new(0,10,0),0,true,"Firea") | |
416 | Weld = New("ManualWeld",Wing1Part,"Weld",{Part0 = Wing1Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, -0.353553772, -0.353553891, 0.35355404, 0.933016062, -0.0669873059, 0.35355413, -0.0669873655, 0.933015943),C1 = CFrame.new(0.804130554, 1.02129114, 0.52129364, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
417 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.433013618, 0.250000477, 0.353553772, 0.176777452, -0.918561935, 0.353553891, 0.883886695, 0.306187093),}) | |
418 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
419 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.433013618, 0.176777452, 0.883886695, 0.250000477, -0.918561935, 0.306187093),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
420 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.482963979, 0.12940979, 0.353553772, 0.408495188, -0.841509461, 0.353553891, 0.774522126, 0.524520695),}) | |
421 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
422 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.482963979, 0.408495188, 0.774522126, 0.12940979, -0.841509461, 0.524520695),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
423 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.500001192, 3.06954462e-12, 0.353553772, 0.612374902, -0.707109571, 0.353553891, 0.61237514, 0.707109332),}) | |
424 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
425 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.500001192, 0.612374902, 0.61237514, 3.06954462e-12, -0.707109571, 0.707109332),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
426 | ||
427 | Halo = New("Model",chara,"Halo",{}) | |
428 | AHaloPart = New("Part",Halo,"AHaloPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.7999973, 5.50001764, -16.4999981, 1.00000644, 0, 1.25170106e-06, 0, 1, 0, 1.22189874e-06, 0, 1.00000715),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
429 | HaWeld = New("ManualWeld",AHaloPart,"HaWeld",{Part0 = AHaloPart,Part1 = Head,C0 = CFrame.new(0, 0, 0, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),C1 = CFrame.new(-1.90734863e-06, 1.00000906, 1.33514404e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
430 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.1071625, 5.50001764, -16.0999889, 0.500003397, 0, 0.866038799, 0, 1, 0, -0.866037428, 0, 0.500008583),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
431 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.499999106, 0, -0.866026282, 0, 1, 0, 0.866026342, 0, 0.499999285),C1 = CFrame.new(0.692829132, 0, 0.400005341, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
432 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.285759, 5.50001764, -15.8871527, 0.76605016, 0, 0.642795265, 0, 1, 0, -0.642793238, 0, 0.766053021),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
433 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.766044378, 0, -0.642788231, 0, 1, 0, 0.642788351, 0, 0.766044497),C1 = CFrame.new(0.514234543, 0, 0.612840652, 1.00000238, 0, 3.57627869e-07, 0, 1, 0, 3.57627869e-07, 0, 1.00000262),}) | |
434 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.0736217, 5.50001764, -17.2517643, 0.939700842, 0, 0.342024595, 0, 1, 0, -0.342021763, 0, 0.939702868),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
435 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.939693093, 0, -0.342019916, 0, 1, 0, 0.342020094, 0, 0.939693153),C1 = CFrame.new(-0.273622513, 0, -0.751760483, 1.00000238, 0, 3.57627869e-07, 0, 1, 0, 3.57627869e-07, 0, 1.00000262),}) | |
436 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.4928379, 5.50001764, -16.9000072, 0.500003397, 0, 0.866038799, 0, 1, 0, -0.866037428, 0, 0.500008583),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
437 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.499999106, 0, -0.866026282, 0, 1, 0, 0.866026342, 0, 0.499999285),C1 = CFrame.new(-0.692834854, 0, -0.400005341, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
438 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.4928265, 5.50001764, -16.0999737, -0.500008047, 0, 0.866034508, 0, 1, 0, -0.866037786, 0, -0.500004828),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
439 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.500000477, 0, -0.866025746, 0, 1, 0, 0.866025627, 0, -0.500000358),C1 = CFrame.new(-0.692825317, 0, 0.400022507, 1.00000501, 0, 8.64267349e-07, 0, 1, 0, 8.94069672e-07, 0, 1.00000548),}) | |
440 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.5878544, 5.50001764, -16.6389122, 0.173646897, 0, 0.984815121, 0, 1, 0, -0.984815359, 0, 0.173649639),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
441 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.173647016, 0, -0.984808564, 0, 1, 0, 0.984808564, 0, 0.173647195),C1 = CFrame.new(-0.787851334, 0, -0.138912201, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
442 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.5263824, 5.50001764, -17.2517605, -0.939701259, 0, 0.342020363, 0, 1, 0, -0.342023492, 0, -0.93970114),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
443 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.93969363, 0, -0.34201926, 0, 1, 0, 0.342019081, 0, -0.93969363),C1 = CFrame.new(0.273614883, 0, -0.751756668, 1.00000119, 0, 1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 1.00000131),}) | |
444 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.0121346, 5.50001764, -16.6389122, -0.173651725, 0, 0.984817922, 0, 1, 0, -0.984819889, 0, -0.173648074),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
445 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.173648179, 0, -0.984808624, 0, 1, 0, 0.984808445, 0, -0.17364794),C1 = CFrame.new(0.787857056, 0, -0.138914108, 1.00000358, 0, 5.81145287e-07, 0, 1, 0, 5.96046448e-07, 0, 1.00000393),}) | |
446 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.0121384, 5.50001764, -16.3610725, 0.173646957, 0, 0.984817505, 0, 1, 0, -0.984817922, 0, 0.173650518),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
447 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.173647016, 0, -0.984808624, 0, 1, 0, 0.984808564, 0, 0.173647255),C1 = CFrame.new(0.787853241, 0, 0.138923645, 1.00000238, 0, 3.57627869e-07, 0, 1, 0, 3.57627869e-07, 0, 1.00000262),}) | |
448 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.2857647, 5.50001764, -17.1128464, -0.766056955, 0, 0.642793596, 0, 1, 0, -0.642798543, 0, -0.766054869),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
449 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.766045511, 0, -0.642787457, 0, 1, 0, 0.642787278, 0, -0.766045451),C1 = CFrame.new(0.514230728, 0, -0.612844467, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
450 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.1071663, 5.50001764, -16.9000053, -0.500009298, 0, 0.866035819, 0, 1, 0, -0.866039753, 0, -0.500005484),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
451 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.500000715, 0, -0.866026103, 0, 1, 0, 0.866025865, 0, -0.500000477),C1 = CFrame.new(0.692827225, 0, -0.400005341, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
452 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.3142319, 5.50001764, -15.8871336, -0.766055584, 0, 0.642793, 0, 1, 0, -0.642797172, 0, -0.766053736),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
453 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.766045511, 0, -0.642787457, 0, 1, 0, 0.642787278, 0, -0.766045451),C1 = CFrame.new(-0.514232635, 0, 0.61286068, 1.00000501, 0, 8.64267349e-07, 0, 1, 0, 8.94069672e-07, 0, 1.00000548),}) | |
454 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.0736103, 5.50001764, -15.7482185, -0.939703703, 0, 0.34202081, 0, 1, 0, -0.342024893, 0, -0.939703524),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
455 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.939693749, 0, -0.342019379, 0, 1, 0, 0.342019081, 0, -0.939693689),C1 = CFrame.new(-0.273612976, 0, 0.751774788, 1.00000358, 0, 5.81145287e-07, 0, 1, 0, 5.96046448e-07, 0, 1.00000393),}) | |
456 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.587862, 5.50001764, -16.3610744, -0.173652977, 0, 0.984820604, 0, 1, 0, -0.984823227, 0, -0.17364794),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
457 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.173648298, 0, -0.984808683, 0, 1, 0, 0.984808445, 0, -0.17364791),C1 = CFrame.new(-0.787858963, 0, 0.138923645, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
458 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.7999992, 5.50001764, -17.3000011, 1.00001216, 0, 2.29479861e-06, 0, 1, 0, 2.29479883e-06, 0, 1.00001347),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
459 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 1.00000072, 0, 1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 1.00000083),C1 = CFrame.new(0, 0, -0.79999733, 1.00000501, 0, 8.64267349e-07, 0, 1, 0, 8.94069672e-07, 0, 1.00000548),}) | |
460 | Horns = New("Part",Halo,"Horns",{FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.100000001, 0.100000001, 0.100000001),CFrame = CFrame.new(-18.7999992, 5.72899342, -16.4698296, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
461 | Mesh = New("SpecialMesh",Horns,"Mesh",{Scale = Vector3.new(1.08000004, 1, 1),VertexColor = Vector3.new(-1, -1, -1),MeshId = "http://www.roblox.com/asset/?id=71494804",TextureId = "http://www.roblox.com/asset/?id=71494779",MeshType = Enum.MeshType.FileMesh,}) | |
462 | Weld = New("ManualWeld",Horns,"Weld",{Part0 = Horns,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.22898483, -0.0301551819, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
463 | for i,v in pairs(Halo:children()) do | |
464 | if v:IsA("BasePart") then | |
465 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
466 | end | |
467 | end | |
468 | coroutine.wrap(function() | |
469 | while true do | |
470 | swait() | |
471 | HaWeld.C0 = HaWeld.C0 * CFrame.Angles(0,math.rad(1),0) | |
472 | end | |
473 | end)() | |
474 | ||
475 | function CreateTrailObj(parent,color1,color2,ofsx,ofsz) | |
476 | local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)}) | |
477 | local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)}) | |
478 | local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001,LightEmission = 1}) | |
479 | return TEff | |
480 | end | |
481 | ||
482 | LLTr = CreateTrailObj(LeftLeg,"White","White",0,0) | |
483 | RLTr = CreateTrailObj(RightLeg,"White","White",0,0) | |
484 | LATr = CreateTrailObj(LeftArm,"White","White",0,0) | |
485 | RATR = CreateTrailObj(RightArm,"White","White",0,0) | |
486 | ||
487 | function rayCast(Position, Direction, Range, Ignore) | |
488 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
489 | end | |
490 | ||
491 | function noretaliation(dude) | |
492 | end | |
493 | ||
494 | function killmortal(dude,faws) | |
495 | local hah = dude:FindFirstChildOfClass("Humanoid") | |
496 | if hah then | |
497 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso") | |
498 | if torsy then | |
499 | torsy.Velocity = RootPart.CFrame.lookVector*faws | |
500 | coroutine.wrap(function() | |
501 | for nn=1,math.random(4,6) do | |
502 | local bl = Instance.new("Part",dude) | |
503 | bl.CFrame = torsy.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1)) | |
504 | local randd = math.random(6,20)/10 | |
505 | bl.Size = Vector3.new(randd,.2,randd) | |
506 | bl.BrickColor = BrickColor.new("Maroon") | |
507 | bl.Material = "Granite" | |
508 | local clm = Instance.new("CylinderMesh",bl) | |
509 | coroutine.wrap(function() | |
510 | swait(120) | |
511 | for i=0,1,.01 do | |
512 | clm.Scale = Vector3.new(1-i,1-i,1-i) | |
513 | swait() | |
514 | end | |
515 | bl:Destroy() | |
516 | end)() | |
517 | end | |
518 | end)() | |
519 | end | |
520 | noretaliation(dude) | |
521 | dude:BreakJoints() | |
522 | end | |
523 | end | |
524 | ||
525 | function mdmg(Part, Magnitude, HitType) | |
526 | for _, c in pairs(workspace:GetDescendants()) do | |
527 | local hum = c:FindFirstChildOfClass("Humanoid") | |
528 | if hum ~= nil then | |
529 | local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso") | |
530 | if head ~= nil then | |
531 | local targ = head.Position - Part.Position | |
532 | local mag = targ.magnitude | |
533 | if mag <= Magnitude and c.Name ~= Player.Name and c:FindFirstChild("MagDmgd")==nil then | |
534 | if c.Name ~= chara then | |
535 | if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" then | |
536 | local val = Instance.new("BoolValue",c) | |
537 | val.Name = "MagDmgd" | |
538 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
539 | if HitType == "Blunt" then | |
540 | so(386946017,head,.95,3) | |
541 | elseif HitType == "Scream" then | |
542 | coroutine.wrap(function() | |
543 | local haed = c:FindFirstChild("Head") | |
544 | swait(3) | |
545 | so(206082327,haed,1,5) | |
546 | local passa = haed.Position | |
547 | haed:Destroy() | |
548 | createSplatter(passa) | |
549 | for i=1,15 do | |
550 | local bl = Instance.new("Part",head) | |
551 | bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10) | |
552 | local rand = math.random(2,7)/10 | |
553 | bl.Size = Vector3.new(rand,rand,rand) | |
554 | bl.BrickColor = BrickColor.new("Maroon") | |
555 | bl.Material = "Granite" | |
556 | end | |
557 | end)() | |
558 | elseif HitType == "Arm" then | |
559 | grabhand = false | |
560 | so(386946017,head,.95,3) | |
561 | armo:BreakJoints() | |
562 | local ar = armo | |
563 | coroutine.wrap(function() | |
564 | ar.Velocity = RootPart.CFrame.lookVector*-5 + RootPart.CFrame.rightVector*-5 + Vector3.new(0,60,0) | |
565 | swait(2) | |
566 | ar.CanCollide = true | |
567 | swait(60) | |
568 | for i=0,1,.05 do | |
569 | swait() | |
570 | ar.Transparency = i | |
571 | end | |
572 | ar.Parent:Destroy() | |
573 | end)() | |
574 | armo = nil | |
575 | elseif HitType == "Shot" then | |
576 | so(144884872,head,.9,3) | |
577 | game:service'Debris':AddItem(val,.05) | |
578 | end | |
579 | noretaliation(c) | |
580 | killmortal(c,10) | |
581 | else | |
582 | end | |
583 | end | |
584 | end | |
585 | end | |
586 | end | |
587 | end | |
588 | end | |
589 | ||
590 | --[[FindNearestTorso = function(pos) | |
591 | local list = (game.workspace:GetDescendants()) | |
592 | local torso = nil | |
593 | local dist = 1000 | |
594 | local temp, human, temp2 = nil, nil, nil | |
595 | for x = 1, #list do | |
596 | temp2 = list[x] | |
597 | if temp2.className == "Model" and temp2.Name ~= chara.Name then | |
598 | temp = temp2:findFirstChild("Torso") | |
599 | human = temp2:FindFirstChildOfClass("Humanoid") | |
600 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
601 | local dohit = true | |
602 | if dohit == true then | |
603 | torso = temp | |
604 | dist = (temp.Position - pos).magnitude | |
605 | end | |
606 | end | |
607 | end | |
608 | end | |
609 | return torso, dist | |
610 | end]] | |
611 | ||
612 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
613 | if SinglePlayer then | |
614 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
615 | end | |
616 | local List = {} | |
617 | for i, v in pairs(workspace:GetDescendants()) do | |
618 | if v:IsA("Model") then | |
619 | if v:findFirstChild("Head") then | |
620 | if v ~= chara then | |
621 | if (v.Head.Position - Position).magnitude <= Distance then | |
622 | table.insert(List, v) | |
623 | end | |
624 | end | |
625 | end | |
626 | end | |
627 | end | |
628 | return List | |
629 | end | |
630 | ||
631 | --Chat Function-- | |
632 | function chatfunc(text) | |
633 | coroutine.wrap(function() | |
634 | if chara:FindFirstChild("TalkingBillBoard")~= nil then | |
635 | chara:FindFirstChild("TalkingBillBoard"):destroy() | |
636 | end | |
637 | local naeeym2 = Instance.new("BillboardGui",chara) | |
638 | naeeym2.Size = UDim2.new(0,100,0,40) | |
639 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
640 | naeeym2.Adornee = chara.Head | |
641 | naeeym2.Name = "TalkingBillBoard" | |
642 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
643 | tecks2.BackgroundTransparency = 1 | |
644 | tecks2.BorderSizePixel = 0 | |
645 | tecks2.Text = "" | |
646 | tecks2.Font = "Fantasy" | |
647 | tecks2.FontSize = "Size24" | |
648 | tecks2.TextStrokeTransparency = 0 | |
649 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
650 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
651 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
652 | local shk = coroutine.wrap(function() | |
653 | while tecks2 ~= nil do | |
654 | swait(.05) | |
655 | tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) | |
656 | end | |
657 | end) | |
658 | shk() | |
659 | for i = 1,string.len(text),1 do | |
660 | tecks2.Text = string.sub(text,1,i) | |
661 | swait(0.01) | |
662 | end | |
663 | swait(30) | |
664 | for i = 1, 5 do | |
665 | swait() | |
666 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
667 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
668 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
669 | end | |
670 | naeeym2:Destroy() | |
671 | end)() | |
672 | end | |
673 | ||
674 | EffectModel = Create("Model"){ | |
675 | Parent = chara, | |
676 | Name = "Effects", | |
677 | } | |
678 | ||
679 | Effects = { | |
680 | Block = { | |
681 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
682 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
683 | prt.Anchored = true | |
684 | prt.CFrame = cframe | |
685 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
686 | game:GetService("Debris"):AddItem(prt, 10) | |
687 | if Type == 1 or Type == nil then | |
688 | table.insert(Effects, { | |
689 | prt, | |
690 | "Block1", | |
691 | delay, | |
692 | x3, | |
693 | y3, | |
694 | z3, | |
695 | msh | |
696 | }) | |
697 | elseif Type == 2 then | |
698 | table.insert(Effects, { | |
699 | prt, | |
700 | "Block2", | |
701 | delay, | |
702 | x3, | |
703 | y3, | |
704 | z3, | |
705 | msh | |
706 | }) | |
707 | end | |
708 | end; | |
709 | }; | |
710 | ||
711 | Cylinder = { | |
712 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
713 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
714 | prt.Anchored = true | |
715 | prt.CFrame = cframe | |
716 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
717 | game:GetService("Debris"):AddItem(prt, 10) | |
718 | table.insert(Effects, { | |
719 | prt, | |
720 | "Cylinder", | |
721 | delay, | |
722 | x3, | |
723 | y3, | |
724 | z3, | |
725 | msh | |
726 | }) | |
727 | end; | |
728 | }; | |
729 | Head = { | |
730 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
731 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
732 | prt.Anchored = true | |
733 | prt.CFrame = cframe | |
734 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
735 | game:GetService("Debris"):AddItem(prt, 10) | |
736 | table.insert(Effects, { | |
737 | prt, | |
738 | "Cylinder", | |
739 | delay, | |
740 | x3, | |
741 | y3, | |
742 | z3, | |
743 | msh | |
744 | }) | |
745 | end; | |
746 | }; | |
747 | ||
748 | Sphere = { | |
749 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
750 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
751 | prt.Anchored = true | |
752 | prt.CFrame = cframe | |
753 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
754 | game:GetService("Debris"):AddItem(prt, 10) | |
755 | table.insert(Effects, { | |
756 | prt, | |
757 | "Cylinder", | |
758 | delay, | |
759 | x3, | |
760 | y3, | |
761 | z3, | |
762 | msh | |
763 | }) | |
764 | end; | |
765 | }; | |
766 | ||
767 | Elect = { | |
768 | Create = function(cff, x, y, z) | |
769 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
770 | prt.Anchored = true | |
771 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
772 | prt.CFrame = CFrame.new(prt.Position) | |
773 | game:GetService("Debris"):AddItem(prt, 2) | |
774 | local xval = math.random() / 2 | |
775 | local yval = math.random() / 2 | |
776 | local zval = math.random() / 2 | |
777 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
778 | table.insert(Effects, { | |
779 | prt, | |
780 | "Elec", | |
781 | 0.1, | |
782 | x, | |
783 | y, | |
784 | z, | |
785 | xval, | |
786 | yval, | |
787 | zval | |
788 | }) | |
789 | end; | |
790 | ||
791 | }; | |
792 | ||
793 | Ring = { | |
794 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
795 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
796 | prt.Anchored = true | |
797 | prt.CFrame = cframe | |
798 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
799 | game:GetService("Debris"):AddItem(prt, 10) | |
800 | table.insert(Effects, { | |
801 | prt, | |
802 | "Cylinder", | |
803 | delay, | |
804 | x3, | |
805 | y3, | |
806 | z3, | |
807 | msh | |
808 | }) | |
809 | end; | |
810 | }; | |
811 | ||
812 | ||
813 | Wave = { | |
814 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
815 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
816 | prt.Anchored = true | |
817 | prt.CFrame = cframe | |
818 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
819 | game:GetService("Debris"):AddItem(prt, 10) | |
820 | table.insert(Effects, { | |
821 | prt, | |
822 | "Cylinder", | |
823 | delay, | |
824 | x3, | |
825 | y3, | |
826 | z3, | |
827 | msh | |
828 | }) | |
829 | end; | |
830 | }; | |
831 | ||
832 | Break = { | |
833 | Create = function(brickcolor, cframe, x1, y1, z1) | |
834 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
835 | prt.Anchored = true | |
836 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
837 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
838 | local num = math.random(10, 50) / 1000 | |
839 | game:GetService("Debris"):AddItem(prt, 10) | |
840 | table.insert(Effects, { | |
841 | prt, | |
842 | "Shatter", | |
843 | num, | |
844 | prt.CFrame, | |
845 | math.random() - math.random(), | |
846 | 0, | |
847 | math.random(50, 100) / 100 | |
848 | }) | |
849 | end; | |
850 | }; | |
851 | ||
852 | Fire = { | |
853 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
854 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
855 | prt.Anchored = true | |
856 | prt.CFrame = cframe | |
857 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
858 | game:GetService("Debris"):AddItem(prt, 10) | |
859 | table.insert(Effects, { | |
860 | prt, | |
861 | "Fire", | |
862 | delay, | |
863 | 1, | |
864 | 1, | |
865 | 1, | |
866 | msh | |
867 | }) | |
868 | end; | |
869 | }; | |
870 | ||
871 | FireWave = { | |
872 | Create = function(brickcolor, cframe, x1, y1, z1) | |
873 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
874 | prt.Anchored = true | |
875 | prt.CFrame = cframe | |
876 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
877 | local d = Create("Decal"){ | |
878 | Parent = prt, | |
879 | Texture = "rbxassetid://26356434", | |
880 | Face = "Top", | |
881 | } | |
882 | local d = Create("Decal"){ | |
883 | Parent = prt, | |
884 | Texture = "rbxassetid://26356434", | |
885 | Face = "Bottom", | |
886 | } | |
887 | game:GetService("Debris"):AddItem(prt, 10) | |
888 | table.insert(Effects, { | |
889 | prt, | |
890 | "FireWave", | |
891 | 1, | |
892 | 30, | |
893 | math.random(400, 600) / 100, | |
894 | msh | |
895 | }) | |
896 | end; | |
897 | }; | |
898 | ||
899 | Lightning = { | |
900 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
901 | local magz = (p0 - p1).magnitude | |
902 | local curpos = p0 | |
903 | local trz = { | |
904 | -ofs, | |
905 | ofs | |
906 | } | |
907 | for i = 1, tym do | |
908 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
909 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
910 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
911 | li.Material = "Neon" | |
912 | if tym == i then | |
913 | local magz2 = (curpos - p1).magnitude | |
914 | li.Size = Vector3.new(th, th, magz2) | |
915 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
916 | table.insert(Effects, { | |
917 | li, | |
918 | "Disappear", | |
919 | last | |
920 | }) | |
921 | else | |
922 | do | |
923 | do | |
924 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
925 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
926 | game.Debris:AddItem(li, 10) | |
927 | table.insert(Effects, { | |
928 | li, | |
929 | "Disappear", | |
930 | last | |
931 | }) | |
932 | end | |
933 | end | |
934 | end | |
935 | end | |
936 | end | |
937 | }; | |
938 | ||
939 | EffectTemplate = { | |
940 | ||
941 | }; | |
942 | } | |
943 | ||
944 | coroutine.wrap(function() | |
945 | while true do | |
946 | swait() | |
947 | Humanoid.MaxHealth = math.huge | |
948 | Humanoid.Health = math.huge | |
949 | Humanoid.Name = "CHACHASHHHAHHAAAAAAAAAAAAAAAA" | |
950 | if chara:FindFirstChild("GodFF")==nil then | |
951 | local ff = Instance.new("ForceField",chara) | |
952 | ff.Name = "GodFF" | |
953 | ff.Visible = false | |
954 | end | |
955 | end | |
956 | end)() | |
957 | ||
958 | if chara:FindFirstChild("FakeHeadM") then | |
959 | local CorruptFace = New("Decal",chara.FakeHeadM.FakeHead,"Corrupt",{Texture = "rbxassetid://1000657824",}) | |
960 | chara.FakeHeadM.FakeHead.Normal:Destroy() | |
961 | chara.FakeHeadM.FakeHead.Lood:Destroy() | |
962 | chara.FakeHeadM.FakeHead.Rooped:Destroy() | |
963 | chara.FaysG:Destroy() | |
964 | chara.FakeHeadM.Ahoge:Destroy() | |
965 | chara.Shirta.ShirtTemplate = "rbxassetid://1049388163" | |
966 | chara.Pantsa.PantsTemplate = "rbxassetid://1269870713" | |
967 | for i,v in pairs(chara:GetDescendants()) do | |
968 | if v:IsA("BasePart") and (v.BrickColor == BrickColor.new("Alder") or v.BrickColor == BrickColor.new("Royal purple")) then | |
969 | v.BrickColor = BrickColor.new("Crimson") | |
970 | elseif v:IsA("BasePart") and v.BrickColor == BrickColor.new("Institutional white") then | |
971 | v.BrickColor = BrickColor.new("Really black") | |
972 | elseif v.Name == "SpecPart" or v.Name == "Ears1Part" then | |
973 | v:Destroy() | |
974 | elseif v.Name == "Ears2Part" then | |
975 | v.Transparency = 0 | |
976 | end | |
977 | end | |
978 | end | |
979 | ||
980 | local blpemit = Instance.new("ParticleEmitter") | |
981 | blpemit.Color = ColorSequence.new(Color3.new(.5,0,0)) | |
982 | blpemit.Texture = "rbxassetid://233069772" | |
983 | blpemit.Transparency = NumberSequence.new(0,1) | |
984 | blpemit.Lifetime = NumberRange.new(1,3) | |
985 | blpemit.Acceleration = Vector3.new(0,-10,0) | |
986 | blpemit.Enabled = true | |
987 | blpemit.EmissionDirection = "Front" | |
988 | blpemit.Speed = NumberRange.new(1,3) | |
989 | blpemit.Size = NumberSequence.new(.5) | |
990 | blpemit.Rate = 1000 | |
991 | blpemit.RotSpeed = NumberRange.new(50) | |
992 | blpemit.Rotation = NumberRange.new(0,360) | |
993 | ||
994 | function createSplatter(pos) | |
995 | local emit = Instance.new("Part",chara) | |
996 | emit.Anchored = true | |
997 | emit.CanCollide = false | |
998 | emit.Size = Vector3.new() | |
999 | emit.Transparency = 1 | |
1000 | emit.CFrame = CFrame.new(pos) | |
1001 | local blp = blpemit:Clone() | |
1002 | blp.Parent = emit | |
1003 | blp.Enabled = false | |
1004 | blp.EmissionDirection = "Top" | |
1005 | blp.VelocitySpread = 60 | |
1006 | blp.Size = NumberSequence.new(2,0) | |
1007 | blp.Lifetime = NumberRange.new(3) | |
1008 | blp.Speed = NumberRange.new(10) | |
1009 | blp.Acceleration = Vector3.new(0,-10,0) | |
1010 | blp:Emit(math.random(35,40)) | |
1011 | game:service'Debris':AddItem(emit,4) | |
1012 | end | |
1013 | ||
1014 | function thenatsuki() | |
1015 | attack = true | |
1016 | Humanoid.WalkSpeed = 2 | |
1017 | local grab = nil | |
1018 | local torsy = nil | |
1019 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1020 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then | |
1021 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1022 | grab = v | |
1023 | end | |
1024 | end | |
1025 | if grab ~= nil and torsy ~= nil then | |
1026 | Instance.new("BoolValue",grab).Name = "NATSUKID" | |
1027 | noretaliation(grab) | |
1028 | so(200632136, RootPart, .8, 1) | |
1029 | for i = 0,2,0.1 do | |
1030 | swait() | |
1031 | PlayAnimationFromTable({ | |
1032 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
1033 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
1034 | CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304), | |
1035 | CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768), | |
1036 | CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173), | |
1037 | CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326), | |
1038 | }, .3, false) | |
1039 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1040 | torsy.Velocity = Vector3.new() | |
1041 | end | |
1042 | local wel = Instance.new("Weld",grab.Head) | |
1043 | wel.Part0 = torsy | |
1044 | wel.Part1 = grab.Head | |
1045 | wel.C0 = CFrame.new(0,1.5,0) | |
1046 | local bledp = Instance.new("Part",grab) | |
1047 | bledp.Size = Vector3.new(0,0,0) | |
1048 | bledp.Transparency = 1 | |
1049 | bledp.CanCollide = false | |
1050 | local blpe = blpemit:Clone() | |
1051 | blpe.Parent = bledp | |
1052 | blpe.EmissionDirection = "Top" | |
1053 | blpe.VelocitySpread = 5 | |
1054 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1055 | local bledw = Instance.new("Weld",bledp) | |
1056 | bledw.Part0 = grab.Head | |
1057 | bledw.Part1 = bledp | |
1058 | bledw.C0 = CFrame.new(0,-.7,0) * CFrame.Angles(0,0,math.rad(45)) | |
1059 | so(314390675,torsy,.7,5) | |
1060 | for i = 0, 1, 0.25 do | |
1061 | swait() | |
1062 | PlayAnimationFromTable({ | |
1063 | CFrame.new(-0.37728107, 0.00182711286, -0.228351086, 0.707106352, 0.0616285279, -0.704416513, 0, 0.99619478, 0.0871558264, 0.707107365, -0.0616284423, 0.7044155), | |
1064 | CFrame.new(-9.90927219e-07, 1.49941754, 0.0767165273, 0.766044199, 0, 0.642788053, 0.0560227223, 0.99619478, -0.066765219, -0.640341938, 0.0871558264, 0.763129056), | |
1065 | CFrame.new(1.14925241, 0.936202288, -0.560600817, 0.834721982, 0.490812272, 0.249685481, 0.39564395, -0.219157442, -0.891872227, -0.383021295, 0.843251646, -0.377122372), | |
1066 | CFrame.new(-1.01654804, 1.22616923, -0.180458635, 0.525007069, -0.121539712, -0.8423751, -0.63483566, -0.715151966, -0.292475075, -0.566878796, 0.688320994, -0.452617407), | |
1067 | CFrame.new(0.499999106, -1.99927592, -0.116537355, 0.965925813, 0, -0.258819491, -0.0225576311, 0.99619478, -0.0841860622, 0.257834613, 0.0871558264, 0.962249994), | |
1068 | CFrame.new(-0.500003219, -1.99927604, -0.116538122, 0.984807849, 0, 0.173648447, 0.0151344724, 0.99619478, -0.0858317465, -0.17298761, 0.0871558264, 0.981060266), | |
1069 | }, .3, false) | |
1070 | wel.C0 = CFrame.new(.7*i,1.5,0) * CFrame.Angles(0,0,math.rad(-90*i)) | |
1071 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-2) | |
1072 | torsy.Velocity = Vector3.new() | |
1073 | end | |
1074 | for i=1,30 do | |
1075 | swait() | |
1076 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-2) | |
1077 | torsy.Velocity = Vector3.new() | |
1078 | end | |
1079 | killmortal(grab,20) | |
1080 | end | |
1081 | attack = false | |
1082 | Humanoid.WalkSpeed = 8 | |
1083 | end | |
1084 | ||
1085 | xhold = false | |
1086 | function thesurou() | |
1087 | attack = true | |
1088 | Humanoid.WalkSpeed = 2 | |
1089 | local grab = nil | |
1090 | local torsy = nil | |
1091 | local hum = nil | |
1092 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1093 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then | |
1094 | hum = v:FindFirstChildOfClass("Humanoid") | |
1095 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1096 | grab = v | |
1097 | end | |
1098 | end | |
1099 | if grab ~= nil and torsy ~= nil then | |
1100 | noretaliation(grab) | |
1101 | so(200632136, RootPart, .8, 1) | |
1102 | for i = 0,1.5,0.1 do | |
1103 | swait() | |
1104 | PlayAnimationFromTable({ | |
1105 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1106 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1107 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
1108 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1109 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1110 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1111 | }, .3, false) | |
1112 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1113 | torsy.Velocity = Vector3.new() | |
1114 | end | |
1115 | so(240429615, torsy, 1, 1) | |
1116 | for i = 0, 1.5, 0.1 do | |
1117 | swait() | |
1118 | PlayAnimationFromTable({ | |
1119 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1120 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
1121 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
1122 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1123 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1124 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1125 | }, .3, false) | |
1126 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1127 | torsy.Velocity = Vector3.new() | |
1128 | end | |
1129 | repeat | |
1130 | --for i = 0, 2, 0.1 do | |
1131 | swait() | |
1132 | PlayAnimationFromTable({ | |
1133 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1134 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1135 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
1136 | CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012), | |
1137 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
1138 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
1139 | }, .3, false) | |
1140 | torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0) | |
1141 | hum.PlatformStand = true | |
1142 | torsy.Velocity = Vector3.new() | |
1143 | --end | |
1144 | until xhold == false | |
1145 | so(200632136, RootPart, .9, 1) | |
1146 | local pato = Instance.new("Part",torsy) | |
1147 | pato.CFrame = torsy.CFrame | |
1148 | pato.Size = Vector3.new(4.1,6.1,1.1) | |
1149 | pato.Transparency = 1 | |
1150 | pato.CanCollide = false | |
1151 | pato.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
1152 | local werudo = Instance.new("Weld",pato) | |
1153 | werudo.Part0 = pato | |
1154 | werudo.Part1 = torsy | |
1155 | torsy.Velocity = (Mouse.Hit.p-torsy.Position).unit*100+Vector3.new(0,30,0) | |
1156 | torsy.RotVelocity = Vector3.new(10,10,10) | |
1157 | coroutine.wrap(function() | |
1158 | while true do | |
1159 | swait() | |
1160 | hum.PlatformStand = true | |
1161 | end | |
1162 | end) | |
1163 | pato.Touched:connect(function(hit) | |
1164 | if hit:IsDescendantOf(chara)==false then | |
1165 | pato:Destroy() | |
1166 | killmortal(grab,5) | |
1167 | so(260430079,torsy,1,5) | |
1168 | CamShake(torsy,100,1,.4) | |
1169 | createSplatter(torsy.Position) | |
1170 | mdmg(torsy,3,"Blunt") | |
1171 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(torsy.Position), 0, 0, 0, 1, .2, 1, 0.1) | |
1172 | end | |
1173 | end) | |
1174 | end | |
1175 | for i = 0, 1, 0.1 do | |
1176 | swait() | |
1177 | PlayAnimationFromTable({ | |
1178 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1179 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
1180 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
1181 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1182 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1183 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1184 | }, .3, false) | |
1185 | end | |
1186 | attack = false | |
1187 | Humanoid.WalkSpeed = 8 | |
1188 | end | |
1189 | ||
1190 | function thehead() | |
1191 | attack = true | |
1192 | Humanoid.WalkSpeed = 2 | |
1193 | local grab = nil | |
1194 | local torsy = nil | |
1195 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1196 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then | |
1197 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1198 | grab = v | |
1199 | end | |
1200 | end | |
1201 | if grab ~= nil and torsy ~= nil then | |
1202 | noretaliation(grab) | |
1203 | so(200632136, RootPart, .8, 1) | |
1204 | for i = 0,2,0.1 do | |
1205 | swait() | |
1206 | PlayAnimationFromTable({ | |
1207 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
1208 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
1209 | CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304), | |
1210 | CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768), | |
1211 | CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173), | |
1212 | CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326), | |
1213 | }, .3, false) | |
1214 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1215 | torsy.Velocity = Vector3.new() | |
1216 | end | |
1217 | local armmod = Instance.new("Model",chara) | |
1218 | armmod.Name = grab.Name | |
1219 | Instance.new("Humanoid",armmod).Health = 0 | |
1220 | for i, v in pairs(grab:GetChildren()) do | |
1221 | if v:IsA("Accoutrement") then | |
1222 | if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then | |
1223 | v.Handle.AccessoryWeld.Part1 = nil | |
1224 | end | |
1225 | end | |
1226 | end | |
1227 | local armp = grab:FindFirstChild("Head") | |
1228 | createSplatter(armp.Position) | |
1229 | killmortal(grab,5) | |
1230 | CamShake(armp,10,.5,.4) | |
1231 | armp.Parent = armmod | |
1232 | for i, v in pairs(grab:GetChildren()) do | |
1233 | if v:IsA("Accoutrement") then | |
1234 | if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then | |
1235 | v.Handle.AccessoryWeld.Part1 = armp | |
1236 | v.Parent = armmod | |
1237 | end | |
1238 | end | |
1239 | end | |
1240 | so(206082327,armp,1,5) | |
1241 | local bledp = Instance.new("Part",grab) | |
1242 | bledp.Size = Vector3.new(0,0,0) | |
1243 | bledp.Transparency = 1 | |
1244 | bledp.CanCollide = false | |
1245 | local blpe = blpemit:Clone() | |
1246 | blpe.Parent = bledp | |
1247 | blpe.EmissionDirection = "Top" | |
1248 | blpe.VelocitySpread = 20 | |
1249 | local wel = Instance.new("Weld",armp) | |
1250 | wel.Part0 = RightArm | |
1251 | wel.Part1 = armp | |
1252 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(-90),0,0) | |
1253 | local blape = bledp:Clone() | |
1254 | blape.Parent = armmod | |
1255 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
1256 | local bledw = Instance.new("Weld",bledp) | |
1257 | bledw.Part0 = torsy | |
1258 | bledw.Part1 = bledp | |
1259 | bledw.C0 = CFrame.new(0,1,0) | |
1260 | local bledw2 = Instance.new("Weld",blape) | |
1261 | bledw2.Part0 = armp | |
1262 | bledw2.Part1 = blape | |
1263 | bledw2.C0 = CFrame.new(0,-.5,0) | |
1264 | grabhead = true | |
1265 | heddo = armp | |
1266 | for i = 0, 1, 0.25 do | |
1267 | swait() | |
1268 | PlayAnimationFromTable({ | |
1269 | CFrame.new(-0.37728107, 0.00182711286, -0.228351086, 0.707106352, 0.0616285279, -0.704416513, 0, 0.99619478, 0.0871558264, 0.707107365, -0.0616284423, 0.7044155), | |
1270 | CFrame.new(-9.90927219e-07, 1.49941754, 0.0767165273, 0.766044199, 0, 0.642788053, 0.0560227223, 0.99619478, -0.066765219, -0.640341938, 0.0871558264, 0.763129056), | |
1271 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
1272 | CFrame.new(-1.01654804, 1.22616923, -0.180458635, 0.525007069, -0.121539712, -0.8423751, -0.63483566, -0.715151966, -0.292475075, -0.566878796, 0.688320994, -0.452617407), | |
1273 | CFrame.new(0.499999106, -1.99927592, -0.116537355, 0.965925813, 0, -0.258819491, -0.0225576311, 0.99619478, -0.0841860622, 0.257834613, 0.0871558264, 0.962249994), | |
1274 | CFrame.new(-0.500003219, -1.99927604, -0.116538122, 0.984807849, 0, 0.173648447, 0.0151344724, 0.99619478, -0.0858317465, -0.17298761, 0.0871558264, 0.981060266), | |
1275 | }, .3, false) | |
1276 | end | |
1277 | swait(30) | |
1278 | end | |
1279 | attack = false | |
1280 | Humanoid.WalkSpeed = 8 | |
1281 | end | |
1282 | ||
1283 | function headthrow() | |
1284 | attack = true | |
1285 | Humanoid.WalkSpeed = 2 | |
1286 | for i = 0, 2, 0.1 do | |
1287 | swait() | |
1288 | PlayAnimationFromTable({ | |
1289 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1290 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1291 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
1292 | CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012), | |
1293 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
1294 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
1295 | }, .3, false) | |
1296 | end | |
1297 | so(200632136, RootPart, .8, 1) | |
1298 | local haea = heddo | |
1299 | haea.Weld:Destroy() | |
1300 | haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0) | |
1301 | haea.RotVelocity = Vector3.new(10,10,10) | |
1302 | haea.Touched:connect(function(hit) | |
1303 | if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then | |
1304 | print("BOOBIES") | |
1305 | Instance.new("BoolValue",haea).Name = "HITA" | |
1306 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1) | |
1307 | killmortal(hit.Parent,50) | |
1308 | CamShake(haea,20,1,.4) | |
1309 | so(386946017,haea,.95,5) | |
1310 | swait(120) | |
1311 | for i=0,1,.05 do | |
1312 | haea.Transparency = i | |
1313 | swait() | |
1314 | end | |
1315 | haea.Parent:Destroy() | |
1316 | end | |
1317 | end) | |
1318 | heddo = nil | |
1319 | grabhead = false | |
1320 | for i = 0, 1, 0.1 do | |
1321 | swait() | |
1322 | PlayAnimationFromTable({ | |
1323 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1324 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
1325 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
1326 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1327 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1328 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1329 | }, .3, false) | |
1330 | end | |
1331 | attack = false | |
1332 | Humanoid.WalkSpeed = 8 | |
1333 | end | |
1334 | ||
1335 | function therip() | |
1336 | attack = true | |
1337 | Humanoid.WalkSpeed = 2 | |
1338 | local grab = nil | |
1339 | local torsy = nil | |
1340 | local hum = nil | |
1341 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1342 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then | |
1343 | hum = v:FindFirstChildOfClass("Humanoid") | |
1344 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1345 | grab = v | |
1346 | end | |
1347 | end | |
1348 | if grab ~= nil and torsy ~= nil then | |
1349 | noretaliation(grab) | |
1350 | so(200632136, RootPart, .8, 1) | |
1351 | for i = 0,1.5,0.1 do | |
1352 | swait() | |
1353 | PlayAnimationFromTable({ | |
1354 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1355 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1356 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
1357 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1358 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1359 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1360 | }, .3, false) | |
1361 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1362 | torsy.Velocity = Vector3.new() | |
1363 | end | |
1364 | so(240429615, torsy, 1, 1) | |
1365 | for i = 0, 1.5, 0.1 do | |
1366 | swait() | |
1367 | PlayAnimationFromTable({ | |
1368 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1369 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
1370 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
1371 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1372 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1373 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1374 | }, .3, false) | |
1375 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1376 | torsy.Velocity = Vector3.new() | |
1377 | end | |
1378 | for i = 0, 3, 0.1 do | |
1379 | swait() | |
1380 | PlayAnimationFromTable({ | |
1381 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1382 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
1383 | CFrame.new(1.45148087, 1.32618856, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
1384 | CFrame.new(-1.48567963, 1.22015762, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
1385 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1386 | CFrame.new(-0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1387 | }, .3, false) | |
1388 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(90),0,math.rad(90)),.3) | |
1389 | hum.PlatformStand = true | |
1390 | torsy.Velocity = Vector3.new() | |
1391 | end | |
1392 | so(206082327,torsy,1,5) | |
1393 | createSplatter(torsy.Position) | |
1394 | CamShake(torsy,20,1,.3) | |
1395 | if hum.RigType == Enum.HumanoidRigType.R6 then | |
1396 | local lleg = grab:FindFirstChild("Left Leg") | |
1397 | local rleg = grab:FindFirstChild("Right Leg") | |
1398 | local mad = Instance.new("Model",workspace) | |
1399 | Instance.new("Humanoid",mad).Health = 0 | |
1400 | mad.Humanoid.MaxHealth = 0 | |
1401 | if grab:FindFirstChildOfClass("Pants") then grab:FindFirstChildOfClass("Pants"):Clone().Parent = mad end | |
1402 | killmortal(grab,0) | |
1403 | coroutine.wrap(function() | |
1404 | swait(4) | |
1405 | torsy.Velocity = RootPart.CFrame.rightVector*-30 | |
1406 | lleg.Parent = mad | |
1407 | rleg.Parent = mad | |
1408 | lleg.CanCollide = true | |
1409 | rleg.CanCollide = true | |
1410 | lleg:BreakJoints() | |
1411 | rleg:BreakJoints() | |
1412 | lleg.Velocity = RootPart.CFrame.rightVector*30 | |
1413 | rleg.Velocity = RootPart.CFrame.rightVector*30 | |
1414 | local bledp = Instance.new("Part",mad) | |
1415 | bledp.Size = Vector3.new(0,0,0) | |
1416 | bledp.Transparency = 1 | |
1417 | bledp.CanCollide = false | |
1418 | local blpe = blpemit:Clone() | |
1419 | blpe.Parent = bledp | |
1420 | blpe.EmissionDirection = "Top" | |
1421 | blpe.VelocitySpread = 20 | |
1422 | local bledp2 = bledp:Clone() | |
1423 | bledp2.Parent = mad | |
1424 | local blape = bledp:Clone() | |
1425 | blape.Parent = mad | |
1426 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
1427 | blape.Size = Vector3.new(1.5,0,0) | |
1428 | local bledw = Instance.new("Weld",bledp) | |
1429 | bledw.Part0 = lleg | |
1430 | bledw.Part1 = bledp | |
1431 | bledw.C0 = CFrame.new(0,1,0) | |
1432 | local bledw2 = Instance.new("Weld",blape) | |
1433 | bledw2.Part0 = torsy | |
1434 | bledw2.Part1 = blape | |
1435 | bledw2.C0 = CFrame.new(0,-.5,0) | |
1436 | local bledw3 = Instance.new("Weld",bledp2) | |
1437 | bledw.Part0 = rleg | |
1438 | bledw.Part1 = bledp2 | |
1439 | bledw.C0 = CFrame.new(0,1,0) | |
1440 | game:service'Debris':AddItem(mad,15) | |
1441 | end)() | |
1442 | elseif hum.RigType == Enum.HumanoidRigType.R15 then | |
1443 | local hip = grab:FindFirstChild("LowerTorso") | |
1444 | local lleg = grab:FindFirstChild("LeftUpperLeg") | |
1445 | local rleg = grab:FindFirstChild("RightUpperLeg") | |
1446 | --for i,v in pairs(grab:children()) do | |
1447 | --if v:IsA("BasePart") then blpemit:Clone().Parent = v end | |
1448 | --end | |
1449 | killmortal(grab,0) | |
1450 | coroutine.wrap(function() | |
1451 | swait(2) | |
1452 | hip:Destroy() | |
1453 | torsy.Velocity = RootPart.CFrame.rightVector*-60 | |
1454 | lleg.Velocity = RootPart.CFrame.rightVector*60 | |
1455 | rleg.Velocity = RootPart.CFrame.rightVector*60 | |
1456 | local bledp = Instance.new("Part",torsy.Parent) | |
1457 | bledp.Size = Vector3.new(0,0,0) | |
1458 | bledp.Transparency = 1 | |
1459 | bledp.CanCollide = false | |
1460 | local blpe = blpemit:Clone() | |
1461 | blpe.Parent = bledp | |
1462 | blpe.EmissionDirection = "Top" | |
1463 | blpe.VelocitySpread = 20 | |
1464 | local bledp2 = bledp:Clone() | |
1465 | bledp2.Parent = torsy.Parent | |
1466 | local blape = bledp:Clone() | |
1467 | blape.Parent = torsy.Parent | |
1468 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
1469 | blape.Size = Vector3.new(1.5,0,0) | |
1470 | local bledw = Instance.new("Weld",bledp) | |
1471 | bledw.Part0 = lleg | |
1472 | bledw.Part1 = bledp | |
1473 | bledw.C0 = CFrame.new(0,1,0) | |
1474 | local bledw2 = Instance.new("Weld",blape) | |
1475 | bledw2.Part0 = torsy | |
1476 | bledw2.Part1 = blape | |
1477 | bledw2.C0 = CFrame.new(0,-.5,0) | |
1478 | local bledw3 = Instance.new("Weld",bledp2) | |
1479 | bledw.Part0 = rleg | |
1480 | bledw.Part1 = bledp2 | |
1481 | bledw.C0 = CFrame.new(0,1,0) | |
1482 | end)() | |
1483 | --hip:BreakJoints() | |
1484 | --hip.Velocity = RootPart.CFrame.rightVector*-30 | |
1485 | end | |
1486 | for i = 0, 2, 0.1 do | |
1487 | swait() | |
1488 | PlayAnimationFromTable({ | |
1489 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1490 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
1491 | CFrame.new(1.45148087, 0.22618866, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1), | |
1492 | CFrame.new(-1.48567963, 0.220157385, 0, 0, 1, 0, 1, 0, 0, 0, 0, -1), | |
1493 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1494 | CFrame.new(-0.499995321, -1.99999988, -2.78651714e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1495 | }, .3, false) | |
1496 | end | |
1497 | end | |
1498 | attack = false | |
1499 | Humanoid.WalkSpeed = 8 | |
1500 | end | |
1501 | ||
1502 | function thecrush() | |
1503 | attack = true | |
1504 | Humanoid.WalkSpeed = 0 | |
1505 | local grab = nil | |
1506 | local torsy = nil | |
1507 | local heddo = nil | |
1508 | local hum = nil | |
1509 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1510 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then | |
1511 | hum = v:FindFirstChildOfClass("Humanoid") | |
1512 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1513 | heddo = v:FindFirstChild("Head") | |
1514 | grab = v | |
1515 | end | |
1516 | end | |
1517 | if grab ~= nil and torsy ~= nil then | |
1518 | noretaliation(grab) | |
1519 | so(200632136, RootPart, .8, 1) | |
1520 | for i = 0,1.5,0.1 do | |
1521 | swait() | |
1522 | PlayAnimationFromTable({ | |
1523 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1524 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1525 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
1526 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1527 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1528 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1529 | }, .3, false) | |
1530 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1531 | torsy.Velocity = Vector3.new() | |
1532 | end | |
1533 | so(240429615, torsy, 1, 1) | |
1534 | if torsy.Name == "UpperTorso" then | |
1535 | heddo.CFrame = RootPart.CFrame*CFrame.new(-2,-3,-1)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
1536 | else | |
1537 | heddo.CFrame = RootPart.CFrame*CFrame.new(-1,-3,-1)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
1538 | end | |
1539 | heddo.Anchored = true | |
1540 | for i = 0, 1.5, 0.1 do | |
1541 | swait() | |
1542 | PlayAnimationFromTable({ | |
1543 | CFrame.new(0, 0, 0, 0.866025567, 3.5521316e-07, 0.500010252, 4.93042535e-06, 1.00000048, -7.94596781e-06, -0.50000006, -9.23901825e-06, 0.866042376), | |
1544 | CFrame.new(0.021950826, 1.50780511, -0.243860856, 0.852867603, 0.029702425, -0.521282434, 0.173647955, 0.925416946, 0.336825043, 0.492411494, -0.377797663, 0.784104764), | |
1545 | CFrame.new(0.956388712, -0.0409758762, -0.674532533, 0.766045928, 0.604021251, 0.219847187, -0.219834015, 0.567593455, -0.793417811, -0.604028642, 0.559465349, 0.567598879), | |
1546 | CFrame.new(-1.50000024, -1.14488239e-05, 8.18094031e-06, 1.00000012, 4.93042535e-06, 2.68220901e-07, 4.93042535e-06, 1.00000048, -7.94596781e-06, 2.68220901e-07, -7.94596781e-06, 1.00001991), | |
1547 | CFrame.new(0.499976635, -1.99998999, 3.24696302e-05, 0.866025567, 4.93042535e-06, -0.50000006, 3.5521316e-07, 1.00000048, -9.23901825e-06, 0.500010252, -7.94596781e-06, 0.866042376), | |
1548 | CFrame.new(-0.500013709, -2.00000167, 3.48316753e-05, 1.00000012, 4.93042535e-06, 2.68220901e-07, 4.93042535e-06, 1.00000048, -7.94596781e-06, 2.68220901e-07, -7.94596781e-06, 1.00001991), | |
1549 | }, .3, false) | |
1550 | --heddo.CFrame = RootPart.CFrame*CFrame.new(.5,-3,-2)*CFrame.Angles(math.rad(90),0,math.rad(90)) | |
1551 | --heddo.Velocity = Vector3.new() | |
1552 | --hum.PlatformStand = true | |
1553 | end | |
1554 | for i = 0, 3, 0.1 do | |
1555 | swait() | |
1556 | PlayAnimationFromTable({ | |
1557 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1558 | CFrame.new(0, 1.46578956, -0.0939694047, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1559 | CFrame.new(1.52320564, 0.359808445, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1), | |
1560 | CFrame.new(-1.52320766, 0.359808564, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1561 | CFrame.new(0.5, -1.19999838, -0.600002289, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1562 | CFrame.new(-0.5, -1.9999994, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1563 | }, .3, false) | |
1564 | --heddo.CFrame = RootPart.CFrame*CFrame.new(.5,-3,-2)*CFrame.Angles(math.rad(90),0,math.rad(90)) | |
1565 | --heddo.Velocity = Vector3.new() | |
1566 | --hum.PlatformStand = true | |
1567 | end | |
1568 | so(206082327,torsy,1,5) | |
1569 | killmortal(grab,0) | |
1570 | createSplatter(heddo.Position) | |
1571 | CamShake(RootPart,20,1,.4) | |
1572 | coroutine.wrap(function() | |
1573 | swait(3) | |
1574 | local passa = heddo.Position | |
1575 | heddo:Destroy() | |
1576 | for i=1,15 do | |
1577 | local bl = Instance.new("Part",torsy) | |
1578 | bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10) | |
1579 | local rand = math.random(2,7)/10 | |
1580 | bl.Size = Vector3.new(rand,rand,rand) | |
1581 | bl.BrickColor = BrickColor.new("Maroon") | |
1582 | bl.Material = "Granite" | |
1583 | end | |
1584 | end)() | |
1585 | for i = 0, 3, 0.1 do | |
1586 | swait() | |
1587 | PlayAnimationFromTable({ | |
1588 | CFrame.new(0, -0.115425974, -0.607762575, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1589 | CFrame.new(0, 1.46579063, -0.0939693749, 1, 0, 0, 0, 0.939692438, 0.342020929, 0, -0.342020959, 0.939692438), | |
1590 | CFrame.new(1.52320361, 0.359808356, 2.34974073e-06, 0.86602509, -0.500000656, -3.33671437e-07, 0.500000715, 0.86602509, 2.08616257e-07, 1.78813934e-07, -3.87430191e-07, 1), | |
1591 | CFrame.new(-1.5232048, 0.359810114, 2.34974073e-06, 0.86602509, 0.500000656, 3.33671437e-07, -0.500000715, 0.86602509, 2.08616257e-07, -1.78813934e-07, -3.87430191e-07, 1), | |
1592 | CFrame.new(0.5, -1.6025629, -1.10711849, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
1593 | CFrame.new(-0.5, -1.99999857, 3.87430191e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
1594 | }, .4, false) | |
1595 | end | |
1596 | end | |
1597 | attack = false | |
1598 | Humanoid.WalkSpeed = 8 | |
1599 | end | |
1600 | ||
1601 | function thehand() | |
1602 | attack = true | |
1603 | Humanoid.WalkSpeed = 2 | |
1604 | local grab = nil | |
1605 | local torsy = nil | |
1606 | local totear = nil | |
1607 | local hum = nil | |
1608 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1609 | if v:FindFirstChild('Head') and (v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm")) and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then | |
1610 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1611 | grab = v | |
1612 | totear = v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm") | |
1613 | hum = v:FindFirstChildOfClass("Humanoid") | |
1614 | end | |
1615 | end | |
1616 | if grab ~= nil and torsy ~= nil and totear ~= nil and hum ~= nil then | |
1617 | noretaliation(grab) | |
1618 | so(200632136, RootPart, .8, 1) | |
1619 | for i = 0,2,0.1 do | |
1620 | swait() | |
1621 | PlayAnimationFromTable({ | |
1622 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1623 | CFrame.new(0, 1.49999475, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1624 | CFrame.new(1.0939827, 0.850001335, -0.515790701, 0, -0.342019916, 0.939692736, 1, 0, 0, 0, 0.939692736, 0.342019886), | |
1625 | CFrame.new(-0.900009155, 0.849995136, -0.549995422, 0, 0, -1, -1, 0, 0, 0, 1, 0), | |
1626 | CFrame.new(0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1627 | CFrame.new(-0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1628 | }, .3, false) | |
1629 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1630 | torsy.Velocity = Vector3.new() | |
1631 | end | |
1632 | so(206082327,totear,1,5) | |
1633 | local bledp = Instance.new("Part",grab) | |
1634 | bledp.Size = Vector3.new(0,0,0) | |
1635 | bledp.Transparency = 1 | |
1636 | bledp.CanCollide = false | |
1637 | local blpe = blpemit:Clone() | |
1638 | blpe.Parent = bledp | |
1639 | blpe.EmissionDirection = "Left" | |
1640 | local armmod = Instance.new("Model",chara) | |
1641 | armmod.Name = "TornArmdd" | |
1642 | Instance.new("Humanoid",armmod).MaxHealth = 0 | |
1643 | for _, v in pairs(grab:GetChildren()) do | |
1644 | if v:IsA("Shirt") or v:IsA("CharacterMesh") then | |
1645 | v:Clone().Parent = armmod | |
1646 | end | |
1647 | end | |
1648 | local armp = totear | |
1649 | createSplatter(totear.Position) | |
1650 | CamShake(totear,20,1,.4) | |
1651 | armp:BreakJoints() | |
1652 | armp.Parent = armmod | |
1653 | so("206082327",armp,1,1) | |
1654 | local wel = Instance.new("Weld",armp) | |
1655 | wel.Part0 = RightArm | |
1656 | wel.Part1 = armp | |
1657 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1658 | local blape = bledp:Clone() | |
1659 | blape.Parent = armmod | |
1660 | local bledw = Instance.new("Weld",bledp) | |
1661 | bledw.Part0 = torsy | |
1662 | bledw.Part1 = bledp | |
1663 | local bledw2 = Instance.new("Weld",blape) | |
1664 | bledw2.Part0 = armp | |
1665 | bledw2.Part1 = blape | |
1666 | bledw.C0 = CFrame.new(1,.5,0) | |
1667 | bledw2.C0 = CFrame.new(-.5,.5,0) | |
1668 | blpe.EmissionDirection = "Right" | |
1669 | grabhand = true | |
1670 | armo = armp | |
1671 | coroutine.wrap(function() | |
1672 | local currhp = hum.Health | |
1673 | for i=1,currhp do | |
1674 | if hum.Health > 0 then | |
1675 | hum.Health = currhp - (i-1) | |
1676 | swait(3) | |
1677 | end | |
1678 | end | |
1679 | if hum.Health > 0 then | |
1680 | killmortal(grab,0) | |
1681 | end | |
1682 | end)() | |
1683 | for i = 0, 1, 0.25 do | |
1684 | swait() | |
1685 | PlayAnimationFromTable({ | |
1686 | CFrame.new(0, 0, 0, 0.866021276, 0, -0.499997795, 0, 1, 0, 0.499997914, 0, 0.866021156), | |
1687 | CFrame.new(0, 1.49999189, 0, 0.866021276, 0, 0.499997914, 0, 1, 0, -0.499997795, 0, 0.866021156), | |
1688 | CFrame.new(1.50001729, 0.492406696, 0.0868175104, 0.642792583, -0.766034186, -7.97212124e-07, -0.133019835, -0.111618251, -0.984808207, 0.754396439, 0.633027494, -0.173645109), | |
1689 | CFrame.new(-1.38039482, 0.919607162, -0.300003946, 0, 0.500000179, -0.866022646, -1, 0, 0, 0, 0.866022587, 0.500000119), | |
1690 | CFrame.new(0.500005305, -1.99999964, -7.61445699e-06, 0.99999541, 0, 2.98023224e-08, 0, 1, 0, 2.98023224e-08, 0, 0.999995232), | |
1691 | CFrame.new(-0.499997407, -1.99999964, -5.43892384e-06, 0.766040862, 0, 0.642784715, 0, 1, 0, -0.642784536, 0, 0.766040802), | |
1692 | }, .3, false) | |
1693 | end | |
1694 | swait(30) | |
1695 | end | |
1696 | attack = false | |
1697 | Humanoid.WalkSpeed = 8 | |
1698 | end | |
1699 | ||
1700 | function armthrow() | |
1701 | attack = true | |
1702 | Humanoid.WalkSpeed = 2 | |
1703 | for i = 0, 2, 0.1 do | |
1704 | swait() | |
1705 | PlayAnimationFromTable({ | |
1706 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1707 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1708 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
1709 | CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012), | |
1710 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
1711 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
1712 | }, .3, false) | |
1713 | end | |
1714 | so(200632136, RootPart, .8, 1) | |
1715 | local haea = armo | |
1716 | haea.Weld:Destroy() | |
1717 | haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0) | |
1718 | haea.RotVelocity = Vector3.new(10,10,10) | |
1719 | haea.Touched:connect(function(hit) | |
1720 | if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then | |
1721 | print("BOOBIES") | |
1722 | Instance.new("BoolValue",haea).Name = "HITA" | |
1723 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1) | |
1724 | killmortal(hit.Parent,50) | |
1725 | CamShake(haea,20,1,.4) | |
1726 | so(386946017,haea,.95,5) | |
1727 | swait(120) | |
1728 | for i=0,1,.05 do | |
1729 | haea.Transparency = i | |
1730 | swait() | |
1731 | end | |
1732 | haea.Parent:Destroy() | |
1733 | end | |
1734 | end) | |
1735 | armo = nil | |
1736 | grabhand = false | |
1737 | for i = 0, 1, 0.1 do | |
1738 | swait() | |
1739 | PlayAnimationFromTable({ | |
1740 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1741 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
1742 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
1743 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1744 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1745 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1746 | }, .3, false) | |
1747 | end | |
1748 | attack = false | |
1749 | Humanoid.WalkSpeed = 8 | |
1750 | end | |
1751 | ||
1752 | function smek() | |
1753 | attack = true | |
1754 | for i=0,1,.2 do | |
1755 | swait() | |
1756 | PlayAnimationFromTable({ | |
1757 | CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987), | |
1758 | CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987), | |
1759 | CFrame.new(1.6195364, 0.256343663, -3.60019794e-06, 0.939692736, -0.342020124, -8.94069672e-08, 0.342020154, 0.939692676, -4.35416268e-07, 2.08616257e-07, 3.87430191e-07, 1), | |
1760 | CFrame.new(-1.65980804, 0.323206544, 5.72385352e-06, 0.866025329, 0.500000238, -2.98023224e-07, -0.500000179, 0.866025388, -1.34623383e-06, -4.47034836e-07, 1.29640102e-06, 1.00000012), | |
1761 | CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616), | |
1762 | CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544), | |
1763 | }, .3, false) | |
1764 | end | |
1765 | Humanoid.WalkSpeed = 2 | |
1766 | so(536642316,armo,1,1) | |
1767 | for i=0,1,.1 do | |
1768 | swait() | |
1769 | PlayAnimationFromTable({ | |
1770 | CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1771 | CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1772 | CFrame.new(1.06065702, 1.09677029, -0.161810428, 0.400286436, 0.242276207, 0.88378346, 0.734158754, -0.661962748, -0.151050553, 0.548435688, 0.709300876, -0.442843854), | |
1773 | CFrame.new(-1.59605861, 0.10887894, 1.11486224e-06, 0.984807909, 0.173648059, -2.23517418e-06, -0.173648059, 0.984807849, 3.82394944e-07, 2.29477882e-06, 1.86264515e-08, 1), | |
1774 | CFrame.new(0.685087919, -1.96527183, 0.0673596561, 0.92541647, -0.163175598, -0.342020869, 0.173647985, 0.984807849, 2.90093368e-07, 0.336824894, -0.0593915246, 0.939692438), | |
1775 | CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511), | |
1776 | }, .3, false) | |
1777 | if armo ~= nil then | |
1778 | mdmg(armo,3,"Arm") | |
1779 | CamShake(Torso,20,1,.3) | |
1780 | end | |
1781 | end | |
1782 | swait(5) | |
1783 | Humanoid.WalkSpeed = 8 | |
1784 | attack = false | |
1785 | end | |
1786 | ||
1787 | function dash() | |
1788 | attack = true | |
1789 | so("235097614",Torso,3,1) | |
1790 | so("75356820",Torso,2,1) | |
1791 | Effects.Ring.Create(BrickColor.new("Persimmon"),RootPart.CFrame, 1, 1, 0, 1, 1, .2, 0.05) | |
1792 | PlayAnimationFromTable({ | |
1793 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999998331, 0, 0, 0, 0.999998331) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-35), 0, 0), | |
1794 | CFrame.new(0, 1.49999368, 8.34463322E-7, 1, 0, 0, 0, 0.999998033, -2.38418579E-7, 0, 2.38418579E-7, 0.999998033) * CFrame.Angles(math.rad(15), 0, 0), | |
1795 | CFrame.new(0.663555026, 0.49231568, -0.850663185, 0.015370708, 0.692666352, 0.721096218, 0.999231637, 0.0153704779, -0.036063727, -0.0360642895, 0.721095979, -0.691897511) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--CFrame.new(1.52564752, 0.0095030535, 0.16884166, 0.786316156, -0.464979529, -0.406817913, 0.489593357, 0.87058723, -0.0487444215, 0.376835734, -0.160846859, 0.912207723) * CFrame.new(0, 0.05 * math.cos(sine / 16), 0) * CFrame.Angles(0, 0, math.rad(3.5 * math.cos(sine / 16))), | |
1796 | CFrame.new(-1.57927585, 0.317291111, 0.397556216, 0.809802711, 0.208654553, 0.548345804, -0.517000973, 0.695623755, 0.498816311, -0.277362049, -0.687437952, 0.671192646) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1797 | CFrame.new(0.49999693, -1.99999774, -8.94069672E-8, 0.965925872, 3.7422879E-7, -0.258818924, 0.0449429974, 0.984807849, 0.167731062, 0.254886955, -0.173647881, 0.951251388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1798 | CFrame.new(-0.486001939, -1.31615341, 0.112926364, 1.00000167, 1.25169754E-6, -1.87754631E-6, 8.64267349E-7, 0.573579729, 0.819149494, -4.61935997E-7, -0.819151759, 0.573578417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1799 | },1,false) | |
1800 | for i = 1, 5 do | |
1801 | for _, v in pairs(chara:children()) do | |
1802 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
1803 | do | |
1804 | local p = v:clone() | |
1805 | p.Name = "trail" | |
1806 | p.Parent = EffectModel | |
1807 | p.Transparency = 0.5 | |
1808 | p.Anchored = true | |
1809 | p.BrickColor = BrickColor.new("Really red") | |
1810 | p.Material = "Neon" | |
1811 | p:BreakJoints() | |
1812 | p.CanCollide = false | |
1813 | if v == Head then | |
1814 | for a, b in pairs(p:children()) do | |
1815 | if b:IsA("Sound") then | |
1816 | b:Destroy() | |
1817 | end | |
1818 | end | |
1819 | end | |
1820 | coroutine.resume(coroutine.create(function() | |
1821 | for i = 1, 50 do | |
1822 | swait() | |
1823 | p.Transparency = i / 50 | |
1824 | end | |
1825 | p:Destroy() | |
1826 | end)) | |
1827 | end | |
1828 | end | |
1829 | if v.className == "Accessory" then | |
1830 | end | |
1831 | end | |
1832 | RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*10 | |
1833 | swait() | |
1834 | end | |
1835 | attack = false | |
1836 | end | |
1837 | ||
1838 | function scream() | |
1839 | attack = true | |
1840 | Humanoid.WalkSpeed = 0 | |
1841 | for i=0,1,.1 do | |
1842 | swait() | |
1843 | PlayAnimationFromTable({ | |
1844 | CFrame.new(0, 0.0885660946, 0.326515794, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736), | |
1845 | CFrame.new(0, 1.43158889, 0.18794021, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438), | |
1846 | CFrame.new(1.5, 0.099998951, 9.56654503e-07, 0, -1, 0, -1, 0, -2.98023224e-08, -2.98023224e-08, 0, -1), | |
1847 | CFrame.new(-1.5, 0.099998951, 9.56654503e-07, 0, 1, 0, 1, 0, -2.98023224e-08, 2.98023224e-08, 0, -1), | |
1848 | CFrame.new(0.696960211, -2.04165077, 0.395629227, 0.984807849, -0.173647985, 0, 0.163175747, 0.925416768, 0.342019916, -0.0593910627, -0.336823881, 0.939692736), | |
1849 | CFrame.new(-0.696963668, -2.04164839, 0.395628393, 0.984807849, 0.173647985, 0, -0.163175747, 0.925416768, 0.342019916, 0.0593910627, -0.336823881, 0.939692736), | |
1850 | }, .3, false) | |
1851 | end | |
1852 | so(51322486,Torso,.5,5) | |
1853 | so(90696602,Torso,.5,5) | |
1854 | for i=1,120 do | |
1855 | CamShake(Torso,40,1,.1) | |
1856 | mdmg(Torso,20,"Scream") | |
1857 | Effects.Ring.Create(BrickColor.new("Really black"),RootPart.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 1, 1, 0, 2, 2, .2, 0.05) | |
1858 | Effects.Wave.Create(BrickColor.new("Really black"),RootPart.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.random(-50,50),0), 1, 0, 1, 2, .1, 2, 0.05) | |
1859 | swait() | |
1860 | end | |
1861 | Humanoid.WalkSpeed = 8 | |
1862 | attack = false | |
1863 | end | |
1864 | ||
1865 | function handcrack() | |
1866 | attack = true | |
1867 | Humanoid.WalkSpeed = 0 | |
1868 | for i=0,1,.1 do | |
1869 | swait() | |
1870 | PlayAnimationFromTable({ | |
1871 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1872 | CFrame.new(0, 1.4657917, -0.0939691663, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1873 | CFrame.new(0.849929154, 0.669377863, -0.285191476, 0.133021966, 0.754403889, 0.642790735, 0.989228785, -0.0610861331, -0.133022368, -0.0610869862, 0.65356195, -0.754403949), | |
1874 | CFrame.new(-0.949649334, 0.569002092, -0.378571123, -0, -0.866025269, -0.500000298, -0.984807849, 0.0868240297, -0.150383547, 0.173647985, 0.492404163, -0.852868497), | |
1875 | CFrame.new(0.499994665, -1.99999988, -9.83476639e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1876 | CFrame.new(-0.500002503, -1.99999988, -1.78813934e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1877 | }, .3, false) | |
1878 | end | |
1879 | so(240428955,Head,1,5) | |
1880 | swait(10) | |
1881 | Humanoid.WalkSpeed = 8 | |
1882 | attack = false | |
1883 | end | |
1884 | ||
1885 | function getoverhere() | |
1886 | attack = true | |
1887 | local dude = Mouse.Target.Parent | |
1888 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso") | |
1889 | if dude~=nil and dude:FindFirstChildOfClass("Humanoid") and torsy~=nil then | |
1890 | Humanoid.WalkSpeed = 0 | |
1891 | for i=0,1,.1 do | |
1892 | swait() | |
1893 | PlayAnimationFromTable({ | |
1894 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.Angles(0,math.rad(360*i),0), | |
1895 | CFrame.new(0, 1.5255599, -0.222141176, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1896 | CFrame.new(0.200967461, 0.899999142, -0.749996543, 0, 0.866025984, 0.499998987, 1, 0, 0, 0, 0.499998987, -0.866025984), | |
1897 | CFrame.new(-1.52556288, 0.222140282, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
1898 | CFrame.new(0.499997377, -2, -9.01520252e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849), | |
1899 | CFrame.new(-0.500002205, -2, 7.30156898e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1900 | }, .3, false) | |
1901 | end | |
1902 | so(743521497,RightArm,1,1) | |
1903 | coroutine.wrap(function() | |
1904 | for i=0,1,.1 do | |
1905 | swait() | |
1906 | PlayAnimationFromTable({ | |
1907 | CFrame.new(0.00389102311, 0, -0.0404044762, 2.68220901e-07, 0, 1.00000536, 0, 1, 0, -1.00000536, 0, 2.68220901e-07), | |
1908 | CFrame.new(1.78813934e-06, 1.52555692, -0.222144455, 0.342020005, -1.01929949e-08, -0.939692736, 0.321392, 0.939693451, 0.116977029, 0.883023024, -0.342018187, 0.321393877), | |
1909 | CFrame.new(1.50095332, 0.999999046, 0.0500030518, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
1910 | CFrame.new(-1.52557385, 0.222139984, 0, 0.939693272, 0.342018306, 0, -0.342018306, 0.939693332, 0, 0, 0, 1), | |
1911 | CFrame.new(0.500000775, -2, 1.69873238e-06, 0.984807789, 0, -0.173648104, 0, 1, 0, 0.173648089, 0, 0.984807789), | |
1912 | CFrame.new(-0.500008583, -2, 8.94069672e-08, 0.939692736, 0, 0.342020065, 0, 1, 0, -0.342020094, 0, 0.939692616), | |
1913 | }, .4, false) | |
1914 | end | |
1915 | end)() | |
1916 | so(138092011,Head,1,1) | |
1917 | local spikeh = Instance.new("Part",chara) | |
1918 | spikeh.CFrame = Torso.CFrame | |
1919 | spikeh.Size = Vector3.new(.5,.5,1) | |
1920 | spikeh.Material = "Metal" | |
1921 | spikeh.CanCollide = false | |
1922 | spikeh.Anchored = true | |
1923 | spikeh.BrickColor = BrickColor.new("Crimson") | |
1924 | local blast = Instance.new("Part",EffectModel) | |
1925 | blast.Size = Vector3.new(0,1,1) | |
1926 | blast.Transparency = 1 | |
1927 | blast.Anchored = true | |
1928 | blast.CanCollide = false | |
1929 | blast.CFrame = Torso.CFrame | |
1930 | local meh = Instance.new("SpecialMesh",spikeh) | |
1931 | meh.MeshType = "Wedge" | |
1932 | meh.Offset = Vector3.new(0,0,-1) | |
1933 | meh.Scale = Vector3.new(1,2,2) | |
1934 | local tex1 = Instance.new("Texture",blast) | |
1935 | tex1.Face = "Right" | |
1936 | tex1.Texture = "rbxassetid://187946416" | |
1937 | tex1.Color3 = Color3.new(1,0,0) | |
1938 | local tex2 = tex1:Clone() | |
1939 | tex2.Parent = blast | |
1940 | tex2.Face = "Left" | |
1941 | local origpos = Vector3.new() | |
1942 | for i=0,1,.1 do | |
1943 | swait() | |
1944 | local origpos = (RightArm.CFrame*CFrame.new(0,-1,0)).p | |
1945 | spikeh.CFrame = clerp(spikeh.CFrame,torsy.CFrame,.4) | |
1946 | spikeh.CFrame = CFrame.new(spikeh.Position,spikeh.Position+(torsy.Position-spikeh.Position).unit) | |
1947 | blast.Size = Vector3.new(0,1,(origpos-spikeh.Position).magnitude) | |
1948 | blast.CFrame = CFrame.new((origpos + spikeh.Position)/2,spikeh.Position) | |
1949 | end | |
1950 | local staypos = torsy.CFrame | |
1951 | so(154965973,spikeh,.7,2) | |
1952 | createSplatter(torsy.Position) | |
1953 | CamShake(torsy,20,1,.4) | |
1954 | for i=1,30 do | |
1955 | swait() | |
1956 | torsy.CFrame = staypos | |
1957 | end | |
1958 | coroutine.wrap(function() | |
1959 | for i=0,1,.1 do | |
1960 | swait() | |
1961 | PlayAnimationFromTable({ | |
1962 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1963 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
1964 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
1965 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1966 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1967 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1968 | }, .4, false) | |
1969 | end | |
1970 | end)() | |
1971 | so(28144425,RightArm,.265,2) | |
1972 | for i=0,3,.1 do | |
1973 | swait() | |
1974 | local origpos = (RightArm.CFrame*CFrame.new(0,-1,0)).p | |
1975 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,0,-2),.1) | |
1976 | torsy.Velocity = Vector3.new(0,0,0) | |
1977 | spikeh.CFrame = torsy.CFrame | |
1978 | blast.Size = Vector3.new(0,1,(origpos-spikeh.Position).magnitude) | |
1979 | blast.CFrame = CFrame.new((origpos + spikeh.Position)/2,spikeh.Position) | |
1980 | end | |
1981 | spikeh:Destroy() | |
1982 | blast:Destroy() | |
1983 | Humanoid.WalkSpeed = 8 | |
1984 | end | |
1985 | attack = false | |
1986 | end | |
1987 | ||
1988 | local notallowed={ | |
1989 | "Right Arm", | |
1990 | "Left Arm", | |
1991 | "Right Leg", | |
1992 | "Left Leg", | |
1993 | "Head", | |
1994 | "HumanoidRootPart", | |
1995 | "Torso", | |
1996 | "LeftFoot", | |
1997 | "LeftHand", | |
1998 | "LeftLowerArm", | |
1999 | "LeftUpperArm", | |
2000 | "LeftUpperLeg", | |
2001 | "LeftLowerLeg", | |
2002 | "RightFoot", | |
2003 | "RightHand", | |
2004 | "RightLowerArm", | |
2005 | "RightUpperArm", | |
2006 | "RightUpperLeg", | |
2007 | "RightLowerLeg", | |
2008 | "LowerTorso", | |
2009 | "UpperTorso", | |
2010 | } | |
2011 | ||
2012 | function grabobj() | |
2013 | attack = true | |
2014 | Humanoid.WalkSpeed = 2 | |
2015 | local grab = nil | |
2016 | local torsy = nil | |
2017 | local totear = nil | |
2018 | local hum = nil | |
2019 | local targ = Mouse.Target | |
2020 | if targ ~= nil and targ:IsA("BasePart") and targ.Anchored == false and (targ.Position-RightArm.Position).magnitude<=5 then | |
2021 | for i,v in pairs(notallowed) do | |
2022 | if targ.Name == v then | |
2023 | Humanoid.WalkSpeed = 8 | |
2024 | attack = false | |
2025 | return | |
2026 | end | |
2027 | end | |
2028 | totear = targ | |
2029 | end | |
2030 | --for i, v in pairs(FindNearestObject(Torso.Position, 5)) do | |
2031 | --if totear ~= nil then | |
2032 | --totear = v | |
2033 | --end | |
2034 | --end | |
2035 | if totear ~= nil then | |
2036 | so(200632136, RootPart, .8, 1) | |
2037 | for i = 0,1,.1 do | |
2038 | swait() | |
2039 | PlayAnimationFromTable({ | |
2040 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
2041 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
2042 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
2043 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
2044 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
2045 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
2046 | }, .3, false) | |
2047 | end | |
2048 | so(200632136, RootPart, .8, 1) | |
2049 | for i = 0,1,.1 do | |
2050 | swait() | |
2051 | PlayAnimationFromTable({ | |
2052 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
2053 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
2054 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
2055 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
2056 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
2057 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
2058 | }, .3, false) | |
2059 | end | |
2060 | so(200632136, RootPart, .8, 1) | |
2061 | local armmod = Instance.new("Model",chara) | |
2062 | armmod.Name = "PickedUp" | |
2063 | local armp = totear | |
2064 | armp:BreakJoints() | |
2065 | armp.Parent = armmod | |
2066 | local wel = Instance.new("Weld",armp) | |
2067 | wel.Part0 = RightArm | |
2068 | wel.Part1 = armp | |
2069 | wel.C0 = CFrame.new(0,-1.5,0) | |
2070 | grabhand = true | |
2071 | armo = armp | |
2072 | end | |
2073 | attack = false | |
2074 | Humanoid.WalkSpeed = 8 | |
2075 | end | |
2076 | ||
2077 | Mouse.Button1Down:connect(function() | |
2078 | if attack == false then | |
2079 | if grabhead == true then | |
2080 | headthrow() | |
2081 | elseif grabhand == true then | |
2082 | smek() | |
2083 | -- else | |
2084 | -- if Anim == "Jump" or Anim == "Fall" then | |
2085 | -- --asmek() | |
2086 | -- else | |
2087 | -- --smek() | |
2088 | -- end | |
2089 | end | |
2090 | end | |
2091 | end) | |
2092 | ||
2093 | local sprintt = 0 | |
2094 | ||
2095 | Mouse.KeyDown:connect(function(k) | |
2096 | k = k:lower() | |
2097 | if k=='m' then | |
2098 | if mus.IsPlaying == true then | |
2099 | mus:Stop() | |
2100 | elseif mus.IsPaused == true then | |
2101 | mus:Play() | |
2102 | end | |
2103 | end | |
2104 | if attack == false then | |
2105 | if k == 'z' and grabhead == false and grabhand == false then | |
2106 | thenatsuki() | |
2107 | elseif k == 'x' and grabhead == false and grabhand == false then | |
2108 | xhold = true | |
2109 | thesurou() | |
2110 | elseif k == 'c' and grabhead == false and grabhand == false then | |
2111 | therip() | |
2112 | elseif k == 'v' and grabhead == false and grabhand == false then | |
2113 | thecrush() | |
2114 | elseif k == 'b' then | |
2115 | if grabhead == true then | |
2116 | headthrow() | |
2117 | else | |
2118 | thehead() | |
2119 | end | |
2120 | elseif k == 'n' then | |
2121 | if grabhand == true then | |
2122 | armthrow() | |
2123 | else | |
2124 | thehand() | |
2125 | end | |
2126 | elseif k == 'e' then | |
2127 | dash() | |
2128 | elseif k == 'q' then | |
2129 | getoverhere() | |
2130 | elseif k == 'g' then | |
2131 | handcrack() | |
2132 | elseif k == 'h' then | |
2133 | scream() | |
2134 | elseif k == 'r' then | |
2135 | if grabhand == true then | |
2136 | armthrow() | |
2137 | else | |
2138 | grabobj() | |
2139 | end | |
2140 | end | |
2141 | end | |
2142 | end) | |
2143 | ||
2144 | Mouse.KeyUp:connect(function(k) | |
2145 | k = k:lower() | |
2146 | if k == 'x' then | |
2147 | xhold = false | |
2148 | end | |
2149 | end) | |
2150 | ||
2151 | coroutine.wrap(function() | |
2152 | while 1 do | |
2153 | swait() | |
2154 | if doe <= 360 then | |
2155 | doe = doe + 2 | |
2156 | else | |
2157 | doe = 0 | |
2158 | end | |
2159 | end | |
2160 | end)() | |
2161 | while true do | |
2162 | swait() | |
2163 | for i, v in pairs(chara:GetChildren()) do | |
2164 | if v:IsA("Part") then | |
2165 | v.Material = "SmoothPlastic" | |
2166 | elseif v:IsA("Accessory") then | |
2167 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
2168 | end | |
2169 | end | |
2170 | while true do | |
2171 | swait() | |
2172 | if sprintt >= 1 then | |
2173 | sprintt = sprintt - 1 | |
2174 | end | |
2175 | if chara:FindFirstChild("mus")==nil then | |
2176 | mus = Instance.new("Sound",chara) | |
2177 | mus.Name = "mus" | |
2178 | mus.SoundId = "rbxassetid://626819662"--421358540--1275432904 | |
2179 | mus.Looped = true | |
2180 | mus.Volume = 1 | |
2181 | mus:Play() | |
2182 | end | |
2183 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2184 | velocity = RootPart.Velocity.y | |
2185 | sine = sine + change | |
2186 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
2187 | if RootPart.Velocity.y > 1 and hit == nil then | |
2188 | Anim = "Jump" | |
2189 | if attack == false then | |
2190 | PlayAnimationFromTable({ | |
2191 | CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
2192 | CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855), | |
2193 | CFrame.new(1.20945489, -0.213504896, 3.55388607e-07, 0.939692736, 0.342019916, 1.53461215e-07, -0.342019945, 0.939692736, 1.93715096e-07, -8.56816769e-08, -2.23517418e-07, 1.00000012), | |
2194 | CFrame.new(-1.20945573, -0.213503733, 5.0439985e-07, 0.939692736, -0.342019916, -1.53461215e-07, 0.342019945, 0.939692736, 1.93715096e-07, 8.56816769e-08, -2.23517418e-07, 1.00000012), | |
2195 | CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
2196 | CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
2197 | }, .3, false) | |
2198 | end | |
2199 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2200 | Anim = "Fall" | |
2201 | if attack == false then | |
2202 | PlayAnimationFromTable({ | |
2203 | CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849), | |
2204 | CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
2205 | CFrame.new(1.55285025, 0.466259956, -9.26282269e-08, 0.766043842, -0.642788351, -6.46188241e-08, 0.642788291, 0.766043961, -7.4505806e-08, 1.04308128e-07, 1.49011612e-08, 1.00000012), | |
2206 | CFrame.new(-1.5605253, 0.475036323, -2.10609159e-07, 0.766043842, 0.642788351, 6.46188241e-08, -0.642788291, 0.766043961, -7.4505806e-08, -1.04308128e-07, 1.49011612e-08, 1.00000012), | |
2207 | CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
2208 | CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
2209 | }, .3, false) | |
2210 | end | |
2211 | elseif Torsovelocity < 1 and hit ~= nil then | |
2212 | Anim = "Idle" | |
2213 | if attack == false then | |
2214 | change = 1 | |
2215 | PlayAnimationFromTable({ | |
2216 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
2217 | CFrame.new(0, 1.4657923, -0.0939692855, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
2218 | CFrame.new(1.20945823, -0.213502824, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
2219 | CFrame.new(-1.20945406, -0.213503301, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1), | |
2220 | CFrame.new(0.499998242, -1.99999988, 3.12924385e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
2221 | CFrame.new(-0.500002503, -1.99999988, -1.78813934e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
2222 | }, .3, false) | |
2223 | end | |
2224 | elseif Torsovelocity > 2 and hit ~= nil then | |
2225 | Anim = "Walk" | |
2226 | if attack == false then | |
2227 | PlayAnimationFromTable({ | |
2228 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
2229 | CFrame.new(0, 1.48263013, -0.0984808952, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
2230 | CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, -.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
2231 | CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
2232 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
2233 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
2234 | }, .3, false) | |
2235 | end | |
2236 | end | |
2237 | if 0 < #Effects then | |
2238 | for e = 1, #Effects do | |
2239 | if Effects[e] ~= nil then | |
2240 | local Thing = Effects[e] | |
2241 | if Thing ~= nil then | |
2242 | local Part = Thing[1] | |
2243 | local Mode = Thing[2] | |
2244 | local Delay = Thing[3] | |
2245 | local IncX = Thing[4] | |
2246 | local IncY = Thing[5] | |
2247 | local IncZ = Thing[6] | |
2248 | if Thing[2] == "Shoot" then | |
2249 | local Look = Thing[1] | |
2250 | local move = 30 | |
2251 | if Thing[8] == 3 then | |
2252 | move = 10 | |
2253 | end | |
2254 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
2255 | if Thing[10] ~= nil then | |
2256 | da = pos | |
2257 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
2258 | cfa = CFrame.new(Thing[4], pos) | |
2259 | tehCF = cfa:lerp(cf2, 0.2) | |
2260 | Thing[1] = tehCF.lookVector | |
2261 | end | |
2262 | local mag = (Thing[4] - pos).magnitude | |
2263 | Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
2264 | if Thing[8] == 2 then | |
2265 | Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
2266 | end | |
2267 | Thing[4] = Thing[4] + Look * move | |
2268 | Thing[3] = Thing[3] - 1 | |
2269 | if 2 < Thing[5] then | |
2270 | Thing[5] = Thing[5] - 0.3 | |
2271 | Thing[6] = Thing[6] - 0.3 | |
2272 | end | |
2273 | if hit ~= nil then | |
2274 | Thing[3] = 0 | |
2275 | if Thing[8] == 1 or Thing[8] == 3 then | |
2276 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2277 | else | |
2278 | if Thing[8] == 2 then | |
2279 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2280 | if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then | |
2281 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2282 | ref.Anchored = true | |
2283 | ref.CFrame = CFrame.new(pos) | |
2284 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
2285 | game:GetService("Debris"):AddItem(ref, 0.2) | |
2286 | Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
2287 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1) | |
2288 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
2289 | end | |
2290 | end | |
2291 | end | |
2292 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2293 | ref.Anchored = true | |
2294 | ref.CFrame = CFrame.new(pos) | |
2295 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
2296 | game:GetService("Debris"):AddItem(ref, 1) | |
2297 | end | |
2298 | if Thing[3] <= 0 then | |
2299 | table.remove(Effects, e) | |
2300 | end | |
2301 | end | |
2302 | do | |
2303 | do | |
2304 | if Thing[2] == "FireWave" then | |
2305 | if Thing[3] <= Thing[4] then | |
2306 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
2307 | Thing[3] = Thing[3] + 1 | |
2308 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
2309 | else | |
2310 | Part.Parent = nil | |
2311 | table.remove(Effects, e) | |
2312 | end | |
2313 | end | |
2314 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
2315 | if Thing[1].Transparency <= 1 then | |
2316 | if Thing[2] == "Block1" then | |
2317 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2318 | Mesh = Thing[7] | |
2319 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2320 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2321 | else | |
2322 | if Thing[2] == "Block2" then | |
2323 | Thing[1].CFrame = Thing[1].CFrame | |
2324 | Mesh = Thing[7] | |
2325 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2326 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2327 | else | |
2328 | if Thing[2] == "Fire" then | |
2329 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2330 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2331 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2332 | else | |
2333 | if Thing[2] == "Cylinder" then | |
2334 | Mesh = Thing[7] | |
2335 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2336 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2337 | else | |
2338 | if Thing[2] == "Blood" then | |
2339 | Mesh = Thing[7] | |
2340 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
2341 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2342 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2343 | else | |
2344 | if Thing[2] == "Elec" then | |
2345 | Mesh = Thing[10] | |
2346 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2347 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2348 | else | |
2349 | if Thing[2] == "Disappear" then | |
2350 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2351 | else | |
2352 | if Thing[2] == "Shatter" then | |
2353 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2354 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2355 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2356 | Thing[6] = Thing[6] + Thing[5] | |
2357 | end | |
2358 | end | |
2359 | end | |
2360 | end | |
2361 | end | |
2362 | end | |
2363 | end | |
2364 | end | |
2365 | else | |
2366 | Part.Parent = nil | |
2367 | table.remove(Effects, e) | |
2368 | end | |
2369 | end | |
2370 | end | |
2371 | end | |
2372 | end | |
2373 | end | |
2374 | end | |
2375 | end | |
2376 | end | |
2377 | end |