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) | |
47 | Effects = { } | |
48 | local Player = game:service'Players'.localPlayer | |
49 | local chara = Player.Character | |
50 | local Humanoid = chara:FindFirstChildOfClass("Humanoid") | |
51 | local Mouse = Player:GetMouse() | |
52 | local LeftArm = chara["Left Arm"] | |
53 | local RightArm = chara["Right Arm"] | |
54 | local LeftLeg = chara["Left Leg"] | |
55 | local RightLeg = chara["Right Leg"] | |
56 | local Head = chara.Head | |
57 | local Torso = chara.Torso | |
58 | local RootPart = chara.HumanoidRootPart | |
59 | local RootJoint = RootPart.RootJoint | |
60 | local attack = false | |
61 | local Anim = 'Idle' | |
62 | local attacktype = 1 | |
63 | local delays = false | |
64 | local play = true | |
65 | local targetted = nil | |
66 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
67 | local velocity = RootPart.Velocity.y | |
68 | local sine = 0 | |
69 | local change = 1 | |
70 | local doe = 0 | |
71 | local heddo = nil | |
72 | local grabhead = false | |
73 | local armo = nil | |
74 | local grabhand = false | |
75 | local Create = LoadLibrary("RbxUtility").Create | |
76 | Humanoid.WalkSpeed = 8 | |
77 | ||
78 | Humanoid.Animator.Parent = nil | |
79 | chara.Animate.Parent = nil | |
80 | ||
81 | local newMotor = function(part0, part1, c0, c1) | |
82 | local w = Create('Motor'){ | |
83 | Parent = part0, | |
84 | Part0 = part0, | |
85 | Part1 = part1, | |
86 | C0 = c0, | |
87 | C1 = c1, | |
88 | } | |
89 | return w | |
90 | end | |
91 | ||
92 | function clerp(a, b, t) | |
93 | return a:lerp(b, t) | |
94 | end | |
95 | ||
96 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
97 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
98 | ||
99 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
100 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
101 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
102 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
103 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
104 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
105 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
106 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
107 | ||
108 | local rarmc1 = RW.C1 | |
109 | local larmc1 = LW.C1 | |
110 | local rlegc1 = RH.C1 | |
111 | local llegc1 = LH.C1 | |
112 | ||
113 | local resetc1 = false | |
114 | ||
115 | function PlayAnimationFromTable(table, speed, bool) | |
116 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
117 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
118 | RW.C0 = clerp(RW.C0, table[3], speed) | |
119 | LW.C0 = clerp(LW.C0, table[4], speed) | |
120 | RH.C0 = clerp(RH.C0, table[5], speed) | |
121 | LH.C0 = clerp(LH.C0, table[6], speed) | |
122 | if bool == true then | |
123 | if resetc1 == false then | |
124 | resetc1 = true | |
125 | RootJoint.C1 = RootJoint.C1 | |
126 | Torso.Neck.C1 = Torso.Neck.C1 | |
127 | RW.C1 = rarmc1 | |
128 | LW.C1 = larmc1 | |
129 | RH.C1 = rlegc1 | |
130 | LH.C1 = llegc1 | |
131 | end | |
132 | end | |
133 | end | |
134 | ||
135 | ArtificialHB = Instance.new("BindableEvent", script) | |
136 | ArtificialHB.Name = "Heartbeat" | |
137 | script:WaitForChild("Heartbeat") | |
138 | frame = 0.03333333333333 | |
139 | tf = 0 | |
140 | allowframeloss = false | |
141 | tossremainder = false | |
142 | lastframe = tick() | |
143 | script.Heartbeat:Fire() | |
144 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
145 | tf = tf + s | |
146 | if tf >= frame then | |
147 | if allowframeloss then | |
148 | script.Heartbeat:Fire() | |
149 | lastframe = tick() | |
150 | else | |
151 | for i = 1, math.floor(tf / frame) do | |
152 | script.Heartbeat:Fire() | |
153 | end | |
154 | lastframe = tick() | |
155 | end | |
156 | if tossremainder then | |
157 | tf = 0 | |
158 | else | |
159 | tf = tf - frame * math.floor(tf / frame) | |
160 | end | |
161 | end | |
162 | end) | |
163 | function swait(num) | |
164 | if num == 0 or num == nil then | |
165 | ArtificialHB.Event:wait() | |
166 | else | |
167 | for i = 0, num do | |
168 | ArtificialHB.Event:wait() | |
169 | end | |
170 | end | |
171 | end | |
172 | ||
173 | function RemoveOutlines(part) | |
174 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
175 | end | |
176 | ||
177 | CFuncs = { | |
178 | ["Part"] = { | |
179 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
180 | local Part = Create("Part"){ | |
181 | Parent = Parent, | |
182 | Reflectance = Reflectance, | |
183 | Transparency = Transparency, | |
184 | CanCollide = false, | |
185 | Locked = true, | |
186 | BrickColor = BrickColor.new(tostring(BColor)), | |
187 | Name = Name, | |
188 | Size = Size, | |
189 | Material = Material, | |
190 | } | |
191 | RemoveOutlines(Part) | |
192 | return Part | |
193 | end; | |
194 | }; | |
195 | ||
196 | ["Mesh"] = { | |
197 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
198 | local Msh = Create(Mesh){ | |
199 | Parent = Part, | |
200 | Offset = OffSet, | |
201 | Scale = Scale, | |
202 | } | |
203 | if Mesh == "SpecialMesh" then | |
204 | Msh.MeshType = MeshType | |
205 | Msh.MeshId = MeshId | |
206 | end | |
207 | return Msh | |
208 | end; | |
209 | }; | |
210 | ||
211 | ["Mesh"] = { | |
212 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
213 | local Msh = Create(Mesh){ | |
214 | Parent = Part, | |
215 | Offset = OffSet, | |
216 | Scale = Scale, | |
217 | } | |
218 | if Mesh == "SpecialMesh" then | |
219 | Msh.MeshType = MeshType | |
220 | Msh.MeshId = MeshId | |
221 | end | |
222 | return Msh | |
223 | end; | |
224 | }; | |
225 | ||
226 | ["Weld"] = { | |
227 | Create = function(Parent, Part0, Part1, C0, C1) | |
228 | local Weld = Create("Weld"){ | |
229 | Parent = Parent, | |
230 | Part0 = Part0, | |
231 | Part1 = Part1, | |
232 | C0 = C0, | |
233 | C1 = C1, | |
234 | } | |
235 | return Weld | |
236 | end; | |
237 | }; | |
238 | ||
239 | ["ParticleEmitter"] = { | |
240 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
241 | local fp = Create("ParticleEmitter"){ | |
242 | Parent = Parent, | |
243 | Color = ColorSequence.new(Color1, Color2), | |
244 | LightEmission = LightEmission, | |
245 | Size = Size, | |
246 | Texture = Texture, | |
247 | Transparency = Transparency, | |
248 | ZOffset = ZOffset, | |
249 | Acceleration = Accel, | |
250 | Drag = Drag, | |
251 | LockedToPart = LockedToPart, | |
252 | VelocityInheritance = VelocityInheritance, | |
253 | EmissionDirection = EmissionDirection, | |
254 | Enabled = Enabled, | |
255 | Lifetime = LifeTime, | |
256 | Rate = Rate, | |
257 | Rotation = Rotation, | |
258 | RotSpeed = RotSpeed, | |
259 | Speed = Speed, | |
260 | VelocitySpread = VelocitySpread, | |
261 | } | |
262 | return fp | |
263 | end; | |
264 | }; | |
265 | ||
266 | CreateTemplate = { | |
267 | ||
268 | }; | |
269 | } | |
270 | ||
271 | function so(id,par,pit,vol) | |
272 | local sou = Instance.new("Sound", par or workspace) | |
273 | if par == chara then | |
274 | sou.Parent = chara.Torso | |
275 | end | |
276 | sou.Volume = vol | |
277 | sou.Pitch = pit or 1 | |
278 | sou.SoundId = "rbxassetid://" .. id | |
279 | sou.PlayOnRemove = true | |
280 | sou:Destroy() | |
281 | end | |
282 | ||
283 | function CamShake(par,magni,env,dur) | |
284 | coroutine.wrap(function() | |
285 | for i=0,dur*60 do | |
286 | swait() | |
287 | 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) | |
288 | end | |
289 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
290 | end)() | |
291 | end | |
292 | ||
293 | local mus = Instance.new("Sound",chara) | |
294 | mus.Name = "mus" | |
295 | - | mus.SoundId = "rbxassetid://626819662"--421358540--1275432904 |
295 | + | mus.SoundId = "rbxassetid://3268684626"--421358540--1275432904 |
296 | mus.Looped = true | |
297 | - | mus.Volume = 1 |
297 | + | mus.Volume = 2.5 |
298 | mus:Play() | |
299 | ||
300 | New = function(Object, Parent, Name, Data) | |
301 | local Object = Instance.new(Object) | |
302 | for Index, Value in pairs(Data or {}) do | |
303 | Object[Index] = Value | |
304 | end | |
305 | Object.Parent = Parent | |
306 | Object.Name = Name | |
307 | return Object | |
308 | end | |
309 | ||
310 | function createrainbow(part,size,trans,life,face,speed,accel,velsp,lock,name) | |
311 | local fira = Instance.new("ParticleEmitter",part) | |
312 | fira.Name = name | |
313 | fira.Color = ColorSequence.new(Color3.new(0,0,0)) | |
314 | fira.Size = size | |
315 | fira.Texture = "rbxasset://textures/particles/fire_main.dds" | |
316 | fira.Transparency = trans | |
317 | fira.Lifetime = life | |
318 | fira.EmissionDirection = face | |
319 | fira.Rate = 10000 | |
320 | fira.RotSpeed = NumberRange.new(100) | |
321 | fira.Rotation = NumberRange.new(0,360) | |
322 | fira.Speed = speed | |
323 | fira.VelocitySpread = velsp | |
324 | fira.Acceleration = accel | |
325 | fira.LockedToPart = lock | |
326 | return fira | |
327 | end | |
328 | ||
329 | Wings = New("Model",chara,"Wings",{}) | |
330 | 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),}) | |
331 | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = Torso,}) | |
332 | 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),}) | |
333 | createrainbow(Wing1Part,NumberSequence.new(.5,1),NumberSequence.new(0),NumberRange.new(1),"Back",NumberRange.new(5),Vector3.new(0,10,0),0,true,"Firea") | |
334 | 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),}) | |
335 | 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),}) | |
336 | 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") | |
337 | 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),}) | |
338 | 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),}) | |
339 | 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") | |
340 | 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),}) | |
341 | 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),}) | |
342 | 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") | |
343 | 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),}) | |
344 | ||
345 | Halo = New("Model",chara,"Halo",{}) | |
346 | 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,}) | |
347 | 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),}) | |
348 | 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),}) | |
349 | 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),}) | |
350 | 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),}) | |
351 | 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),}) | |
352 | 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),}) | |
353 | 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),}) | |
354 | 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),}) | |
355 | 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),}) | |
356 | 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),}) | |
357 | 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),}) | |
358 | 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),}) | |
359 | 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),}) | |
360 | 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),}) | |
361 | 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),}) | |
362 | 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),}) | |
363 | 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),}) | |
364 | 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),}) | |
365 | 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),}) | |
366 | 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),}) | |
367 | 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),}) | |
368 | 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),}) | |
369 | 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),}) | |
370 | 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),}) | |
371 | 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),}) | |
372 | 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),}) | |
373 | 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),}) | |
374 | 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),}) | |
375 | 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),}) | |
376 | 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),}) | |
377 | 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),}) | |
378 | 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,}) | |
379 | 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,}) | |
380 | 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),}) | |
381 | for i,v in pairs(Halo:children()) do | |
382 | if v:IsA("BasePart") then | |
383 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
384 | end | |
385 | end | |
386 | coroutine.wrap(function() | |
387 | while true do | |
388 | swait() | |
389 | HaWeld.C0 = HaWeld.C0 * CFrame.Angles(0,math.rad(1),0) | |
390 | end | |
391 | end)() | |
392 | ||
393 | function CreateTrailObj(parent,color1,color2,ofsx,ofsz) | |
394 | local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)}) | |
395 | local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)}) | |
396 | 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}) | |
397 | return TEff | |
398 | end | |
399 | ||
400 | LLTr = CreateTrailObj(LeftLeg,"White","White",0,0) | |
401 | RLTr = CreateTrailObj(RightLeg,"White","White",0,0) | |
402 | LATr = CreateTrailObj(LeftArm,"White","White",0,0) | |
403 | RATR = CreateTrailObj(RightArm,"White","White",0,0) | |
404 | ||
405 | function rayCast(Position, Direction, Range, Ignore) | |
406 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
407 | end | |
408 | ||
409 | function noretaliation(dude) | |
410 | end | |
411 | ||
412 | function killmortal(dude,faws) | |
413 | local hah = dude:FindFirstChildOfClass("Humanoid") | |
414 | if hah then | |
415 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso") | |
416 | if torsy then | |
417 | torsy.Velocity = RootPart.CFrame.lookVector*faws | |
418 | coroutine.wrap(function() | |
419 | for nn=1,math.random(4,6) do | |
420 | local bl = Instance.new("Part",dude) | |
421 | bl.CFrame = torsy.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1)) | |
422 | local randd = math.random(6,20)/10 | |
423 | bl.Size = Vector3.new(randd,.2,randd) | |
424 | bl.BrickColor = BrickColor.new("Maroon") | |
425 | bl.Material = "Granite" | |
426 | local clm = Instance.new("CylinderMesh",bl) | |
427 | coroutine.wrap(function() | |
428 | swait(120) | |
429 | for i=0,1,.01 do | |
430 | clm.Scale = Vector3.new(1-i,1-i,1-i) | |
431 | swait() | |
432 | end | |
433 | bl:Destroy() | |
434 | end)() | |
435 | end | |
436 | end)() | |
437 | end | |
438 | noretaliation(dude) | |
439 | dude:BreakJoints() | |
440 | end | |
441 | end | |
442 | ||
443 | function mdmg(Part, Magnitude, HitType) | |
444 | for _, c in pairs(workspace:GetDescendants()) do | |
445 | local hum = c:FindFirstChildOfClass("Humanoid") | |
446 | if hum ~= nil then | |
447 | local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso") | |
448 | if head ~= nil then | |
449 | local targ = head.Position - Part.Position | |
450 | local mag = targ.magnitude | |
451 | if mag <= Magnitude and c.Name ~= Player.Name and c:FindFirstChild("MagDmgd")==nil then | |
452 | if c.Name ~= chara then | |
453 | if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" then | |
454 | local val = Instance.new("BoolValue",c) | |
455 | val.Name = "MagDmgd" | |
456 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
457 | if HitType == "Blunt" then | |
458 | so(386946017,head,.95,3) | |
459 | elseif HitType == "Scream" then | |
460 | coroutine.wrap(function() | |
461 | local haed = c:FindFirstChild("Head") | |
462 | swait(3) | |
463 | so(206082327,haed,1,5) | |
464 | local passa = haed.Position | |
465 | haed:Destroy() | |
466 | createSplatter(passa) | |
467 | for i=1,15 do | |
468 | local bl = Instance.new("Part",head) | |
469 | bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10) | |
470 | local rand = math.random(2,7)/10 | |
471 | bl.Size = Vector3.new(rand,rand,rand) | |
472 | bl.BrickColor = BrickColor.new("Maroon") | |
473 | bl.Material = "Granite" | |
474 | end | |
475 | end)() | |
476 | elseif HitType == "Arm" then | |
477 | grabhand = false | |
478 | so(386946017,head,.95,3) | |
479 | armo:BreakJoints() | |
480 | local ar = armo | |
481 | coroutine.wrap(function() | |
482 | ar.Velocity = RootPart.CFrame.lookVector*-5 + RootPart.CFrame.rightVector*-5 + Vector3.new(0,60,0) | |
483 | swait(2) | |
484 | ar.CanCollide = true | |
485 | swait(60) | |
486 | for i=0,1,.05 do | |
487 | swait() | |
488 | ar.Transparency = i | |
489 | end | |
490 | ar.Parent:Destroy() | |
491 | end)() | |
492 | armo = nil | |
493 | elseif HitType == "Shot" then | |
494 | so(144884872,head,.9,3) | |
495 | game:service'Debris':AddItem(val,.05) | |
496 | end | |
497 | noretaliation(c) | |
498 | killmortal(c,10) | |
499 | else | |
500 | end | |
501 | end | |
502 | end | |
503 | end | |
504 | end | |
505 | end | |
506 | end | |
507 | ||
508 | --[[FindNearestTorso = function(pos) | |
509 | local list = (game.workspace:GetDescendants()) | |
510 | local torso = nil | |
511 | local dist = 1000 | |
512 | local temp, human, temp2 = nil, nil, nil | |
513 | for x = 1, #list do | |
514 | temp2 = list[x] | |
515 | if temp2.className == "Model" and temp2.Name ~= chara.Name then | |
516 | temp = temp2:findFirstChild("Torso") | |
517 | human = temp2:FindFirstChildOfClass("Humanoid") | |
518 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
519 | local dohit = true | |
520 | if dohit == true then | |
521 | torso = temp | |
522 | dist = (temp.Position - pos).magnitude | |
523 | end | |
524 | end | |
525 | end | |
526 | end | |
527 | return torso, dist | |
528 | end]] | |
529 | ||
530 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
531 | if SinglePlayer then | |
532 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
533 | end | |
534 | local List = {} | |
535 | for i, v in pairs(workspace:GetDescendants()) do | |
536 | if v:IsA("Model") then | |
537 | if v:findFirstChild("Head") then | |
538 | if v ~= chara then | |
539 | if (v.Head.Position - Position).magnitude <= Distance then | |
540 | table.insert(List, v) | |
541 | end | |
542 | end | |
543 | end | |
544 | end | |
545 | end | |
546 | return List | |
547 | end | |
548 | ||
549 | --Chat Function-- | |
550 | function chatfunc(text) | |
551 | coroutine.wrap(function() | |
552 | if chara:FindFirstChild("TalkingBillBoard")~= nil then | |
553 | chara:FindFirstChild("TalkingBillBoard"):destroy() | |
554 | end | |
555 | local naeeym2 = Instance.new("BillboardGui",chara) | |
556 | naeeym2.Size = UDim2.new(0,100,0,40) | |
557 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
558 | naeeym2.Adornee = chara.Head | |
559 | naeeym2.Name = "TalkingBillBoard" | |
560 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
561 | tecks2.BackgroundTransparency = 1 | |
562 | tecks2.BorderSizePixel = 0 | |
563 | tecks2.Text = "" | |
564 | tecks2.Font = "Fantasy" | |
565 | tecks2.FontSize = "Size24" | |
566 | tecks2.TextStrokeTransparency = 0 | |
567 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
568 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
569 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
570 | local shk = coroutine.wrap(function() | |
571 | while tecks2 ~= nil do | |
572 | swait(.05) | |
573 | tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) | |
574 | end | |
575 | end) | |
576 | shk() | |
577 | for i = 1,string.len(text),1 do | |
578 | tecks2.Text = string.sub(text,1,i) | |
579 | swait(0.01) | |
580 | end | |
581 | swait(30) | |
582 | for i = 1, 5 do | |
583 | swait() | |
584 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
585 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
586 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
587 | end | |
588 | naeeym2:Destroy() | |
589 | end)() | |
590 | end | |
591 | ||
592 | EffectModel = Create("Model"){ | |
593 | Parent = chara, | |
594 | Name = "Effects", | |
595 | } | |
596 | ||
597 | Effects = { | |
598 | Block = { | |
599 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
600 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
601 | prt.Anchored = true | |
602 | prt.CFrame = cframe | |
603 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
604 | game:GetService("Debris"):AddItem(prt, 10) | |
605 | if Type == 1 or Type == nil then | |
606 | table.insert(Effects, { | |
607 | prt, | |
608 | "Block1", | |
609 | delay, | |
610 | x3, | |
611 | y3, | |
612 | z3, | |
613 | msh | |
614 | }) | |
615 | elseif Type == 2 then | |
616 | table.insert(Effects, { | |
617 | prt, | |
618 | "Block2", | |
619 | delay, | |
620 | x3, | |
621 | y3, | |
622 | z3, | |
623 | msh | |
624 | }) | |
625 | end | |
626 | end; | |
627 | }; | |
628 | ||
629 | Cylinder = { | |
630 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
631 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
632 | prt.Anchored = true | |
633 | prt.CFrame = cframe | |
634 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
635 | game:GetService("Debris"):AddItem(prt, 10) | |
636 | table.insert(Effects, { | |
637 | prt, | |
638 | "Cylinder", | |
639 | delay, | |
640 | x3, | |
641 | y3, | |
642 | z3, | |
643 | msh | |
644 | }) | |
645 | end; | |
646 | }; | |
647 | Head = { | |
648 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
649 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
650 | prt.Anchored = true | |
651 | prt.CFrame = cframe | |
652 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
653 | game:GetService("Debris"):AddItem(prt, 10) | |
654 | table.insert(Effects, { | |
655 | prt, | |
656 | "Cylinder", | |
657 | delay, | |
658 | x3, | |
659 | y3, | |
660 | z3, | |
661 | msh | |
662 | }) | |
663 | end; | |
664 | }; | |
665 | ||
666 | Sphere = { | |
667 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
668 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
669 | prt.Anchored = true | |
670 | prt.CFrame = cframe | |
671 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
672 | game:GetService("Debris"):AddItem(prt, 10) | |
673 | table.insert(Effects, { | |
674 | prt, | |
675 | "Cylinder", | |
676 | delay, | |
677 | x3, | |
678 | y3, | |
679 | z3, | |
680 | msh | |
681 | }) | |
682 | end; | |
683 | }; | |
684 | ||
685 | Elect = { | |
686 | Create = function(cff, x, y, z) | |
687 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
688 | prt.Anchored = true | |
689 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
690 | prt.CFrame = CFrame.new(prt.Position) | |
691 | game:GetService("Debris"):AddItem(prt, 2) | |
692 | local xval = math.random() / 2 | |
693 | local yval = math.random() / 2 | |
694 | local zval = math.random() / 2 | |
695 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
696 | table.insert(Effects, { | |
697 | prt, | |
698 | "Elec", | |
699 | 0.1, | |
700 | x, | |
701 | y, | |
702 | z, | |
703 | xval, | |
704 | yval, | |
705 | zval | |
706 | }) | |
707 | end; | |
708 | ||
709 | }; | |
710 | ||
711 | Ring = { | |
712 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
713 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
714 | prt.Anchored = true | |
715 | prt.CFrame = cframe | |
716 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", 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 | ||
730 | ||
731 | Wave = { | |
732 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
733 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
734 | prt.Anchored = true | |
735 | prt.CFrame = cframe | |
736 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
737 | game:GetService("Debris"):AddItem(prt, 10) | |
738 | table.insert(Effects, { | |
739 | prt, | |
740 | "Cylinder", | |
741 | delay, | |
742 | x3, | |
743 | y3, | |
744 | z3, | |
745 | msh | |
746 | }) | |
747 | end; | |
748 | }; | |
749 | ||
750 | Break = { | |
751 | Create = function(brickcolor, cframe, x1, y1, z1) | |
752 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
753 | prt.Anchored = true | |
754 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
755 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
756 | local num = math.random(10, 50) / 1000 | |
757 | game:GetService("Debris"):AddItem(prt, 10) | |
758 | table.insert(Effects, { | |
759 | prt, | |
760 | "Shatter", | |
761 | num, | |
762 | prt.CFrame, | |
763 | math.random() - math.random(), | |
764 | 0, | |
765 | math.random(50, 100) / 100 | |
766 | }) | |
767 | end; | |
768 | }; | |
769 | ||
770 | Fire = { | |
771 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
772 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
773 | prt.Anchored = true | |
774 | prt.CFrame = cframe | |
775 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
776 | game:GetService("Debris"):AddItem(prt, 10) | |
777 | table.insert(Effects, { | |
778 | prt, | |
779 | "Fire", | |
780 | delay, | |
781 | 1, | |
782 | 1, | |
783 | 1, | |
784 | msh | |
785 | }) | |
786 | end; | |
787 | }; | |
788 | ||
789 | FireWave = { | |
790 | Create = function(brickcolor, cframe, x1, y1, z1) | |
791 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
792 | prt.Anchored = true | |
793 | prt.CFrame = cframe | |
794 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
795 | local d = Create("Decal"){ | |
796 | Parent = prt, | |
797 | Texture = "rbxassetid://26356434", | |
798 | Face = "Top", | |
799 | } | |
800 | local d = Create("Decal"){ | |
801 | Parent = prt, | |
802 | Texture = "rbxassetid://26356434", | |
803 | Face = "Bottom", | |
804 | } | |
805 | game:GetService("Debris"):AddItem(prt, 10) | |
806 | table.insert(Effects, { | |
807 | prt, | |
808 | "FireWave", | |
809 | 1, | |
810 | 30, | |
811 | math.random(400, 600) / 100, | |
812 | msh | |
813 | }) | |
814 | end; | |
815 | }; | |
816 | ||
817 | Lightning = { | |
818 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
819 | local magz = (p0 - p1).magnitude | |
820 | local curpos = p0 | |
821 | local trz = { | |
822 | -ofs, | |
823 | ofs | |
824 | } | |
825 | for i = 1, tym do | |
826 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
827 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
828 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
829 | li.Material = "Neon" | |
830 | if tym == i then | |
831 | local magz2 = (curpos - p1).magnitude | |
832 | li.Size = Vector3.new(th, th, magz2) | |
833 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
834 | table.insert(Effects, { | |
835 | li, | |
836 | "Disappear", | |
837 | last | |
838 | }) | |
839 | else | |
840 | do | |
841 | do | |
842 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
843 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
844 | game.Debris:AddItem(li, 10) | |
845 | table.insert(Effects, { | |
846 | li, | |
847 | "Disappear", | |
848 | last | |
849 | }) | |
850 | end | |
851 | end | |
852 | end | |
853 | end | |
854 | end | |
855 | }; | |
856 | ||
857 | EffectTemplate = { | |
858 | ||
859 | }; | |
860 | } | |
861 | ||
862 | coroutine.wrap(function() | |
863 | while true do | |
864 | swait() | |
865 | Humanoid.MaxHealth = math.huge | |
866 | Humanoid.Health = math.huge | |
867 | Humanoid.Name = "CHACHASHHHAHHAAAAAAAAAAAAAAAA" | |
868 | if chara:FindFirstChild("GodFF")==nil then | |
869 | local ff = Instance.new("ForceField",chara) | |
870 | ff.Name = "GodFF" | |
871 | ff.Visible = false | |
872 | end | |
873 | end | |
874 | end)() | |
875 | ||
876 | if chara:FindFirstChild("FakeHeadM") then | |
877 | local CorruptFace = New("Decal",chara.FakeHeadM.FakeHead,"Corrupt",{Texture = "rbxassetid://1000657824",}) | |
878 | chara.FakeHeadM.FakeHead.Normal:Destroy() | |
879 | chara.FakeHeadM.FakeHead.Lood:Destroy() | |
880 | chara.FakeHeadM.FakeHead.Rooped:Destroy() | |
881 | chara.FaysG:Destroy() | |
882 | chara.FakeHeadM.Ahoge:Destroy() | |
883 | chara.Shirta.ShirtTemplate = "rbxassetid://1049388163" | |
884 | chara.Pantsa.PantsTemplate = "rbxassetid://1269870713" | |
885 | for i,v in pairs(chara:GetDescendants()) do | |
886 | if v:IsA("BasePart") and (v.BrickColor == BrickColor.new("Alder") or v.BrickColor == BrickColor.new("Royal purple")) then | |
887 | v.BrickColor = BrickColor.new("Crimson") | |
888 | elseif v:IsA("BasePart") and v.BrickColor == BrickColor.new("Institutional white") then | |
889 | v.BrickColor = BrickColor.new("Really black") | |
890 | elseif v.Name == "SpecPart" or v.Name == "Ears1Part" then | |
891 | v:Destroy() | |
892 | elseif v.Name == "Ears2Part" then | |
893 | v.Transparency = 0 | |
894 | end | |
895 | end | |
896 | end | |
897 | ||
898 | local blpemit = Instance.new("ParticleEmitter") | |
899 | blpemit.Color = ColorSequence.new(Color3.new(.5,0,0)) | |
900 | blpemit.Texture = "rbxassetid://233069772" | |
901 | blpemit.Transparency = NumberSequence.new(0,1) | |
902 | blpemit.Lifetime = NumberRange.new(1,3) | |
903 | blpemit.Acceleration = Vector3.new(0,-10,0) | |
904 | blpemit.Enabled = true | |
905 | blpemit.EmissionDirection = "Front" | |
906 | blpemit.Speed = NumberRange.new(1,3) | |
907 | blpemit.Size = NumberSequence.new(.5) | |
908 | blpemit.Rate = 1000 | |
909 | blpemit.RotSpeed = NumberRange.new(50) | |
910 | blpemit.Rotation = NumberRange.new(0,360) | |
911 | ||
912 | function createSplatter(pos) | |
913 | local emit = Instance.new("Part",chara) | |
914 | emit.Anchored = true | |
915 | emit.CanCollide = false | |
916 | emit.Size = Vector3.new() | |
917 | emit.Transparency = 1 | |
918 | emit.CFrame = CFrame.new(pos) | |
919 | local blp = blpemit:Clone() | |
920 | blp.Parent = emit | |
921 | blp.Enabled = false | |
922 | blp.EmissionDirection = "Top" | |
923 | blp.VelocitySpread = 60 | |
924 | blp.Size = NumberSequence.new(2,0) | |
925 | blp.Lifetime = NumberRange.new(3) | |
926 | blp.Speed = NumberRange.new(10) | |
927 | blp.Acceleration = Vector3.new(0,-10,0) | |
928 | blp:Emit(math.random(35,40)) | |
929 | game:service'Debris':AddItem(emit,4) | |
930 | end | |
931 | ||
932 | function thenatsuki() | |
933 | attack = true | |
934 | Humanoid.WalkSpeed = 2 | |
935 | local grab = nil | |
936 | local torsy = nil | |
937 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
938 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then | |
939 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
940 | grab = v | |
941 | end | |
942 | end | |
943 | if grab ~= nil and torsy ~= nil then | |
944 | Instance.new("BoolValue",grab).Name = "NATSUKID" | |
945 | noretaliation(grab) | |
946 | so(200632136, RootPart, .8, 1) | |
947 | for i = 0,2,0.1 do | |
948 | swait() | |
949 | PlayAnimationFromTable({ | |
950 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
951 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
952 | 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), | |
953 | 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), | |
954 | 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), | |
955 | 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), | |
956 | }, .3, false) | |
957 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
958 | torsy.Velocity = Vector3.new() | |
959 | end | |
960 | local wel = Instance.new("Weld",grab.Head) | |
961 | wel.Part0 = torsy | |
962 | wel.Part1 = grab.Head | |
963 | wel.C0 = CFrame.new(0,1.5,0) | |
964 | local bledp = Instance.new("Part",grab) | |
965 | bledp.Size = Vector3.new(0,0,0) | |
966 | bledp.Transparency = 1 | |
967 | bledp.CanCollide = false | |
968 | local blpe = blpemit:Clone() | |
969 | blpe.Parent = bledp | |
970 | blpe.EmissionDirection = "Top" | |
971 | blpe.VelocitySpread = 5 | |
972 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
973 | local bledw = Instance.new("Weld",bledp) | |
974 | bledw.Part0 = grab.Head | |
975 | bledw.Part1 = bledp | |
976 | bledw.C0 = CFrame.new(0,-.7,0) * CFrame.Angles(0,0,math.rad(45)) | |
977 | so(314390675,torsy,.7,5) | |
978 | for i = 0, 1, 0.25 do | |
979 | swait() | |
980 | PlayAnimationFromTable({ | |
981 | 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), | |
982 | 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), | |
983 | 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), | |
984 | 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), | |
985 | 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), | |
986 | 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), | |
987 | }, .3, false) | |
988 | wel.C0 = CFrame.new(.7*i,1.5,0) * CFrame.Angles(0,0,math.rad(-90*i)) | |
989 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-2) | |
990 | torsy.Velocity = Vector3.new() | |
991 | end | |
992 | for i=1,30 do | |
993 | swait() | |
994 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-2) | |
995 | torsy.Velocity = Vector3.new() | |
996 | end | |
997 | killmortal(grab,20) | |
998 | end | |
999 | attack = false | |
1000 | Humanoid.WalkSpeed = 8 | |
1001 | end | |
1002 | ||
1003 | xhold = false | |
1004 | function thesurou() | |
1005 | attack = true | |
1006 | Humanoid.WalkSpeed = 2 | |
1007 | local grab = nil | |
1008 | local torsy = nil | |
1009 | local hum = nil | |
1010 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1011 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then | |
1012 | hum = v:FindFirstChildOfClass("Humanoid") | |
1013 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1014 | grab = v | |
1015 | end | |
1016 | end | |
1017 | if grab ~= nil and torsy ~= nil then | |
1018 | noretaliation(grab) | |
1019 | so(200632136, RootPart, .8, 1) | |
1020 | for i = 0,1.5,0.1 do | |
1021 | swait() | |
1022 | PlayAnimationFromTable({ | |
1023 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1024 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1025 | 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), | |
1026 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1027 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1028 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1029 | }, .3, false) | |
1030 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1031 | torsy.Velocity = Vector3.new() | |
1032 | end | |
1033 | so(240429615, torsy, 1, 1) | |
1034 | for i = 0, 1.5, 0.1 do | |
1035 | swait() | |
1036 | PlayAnimationFromTable({ | |
1037 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1038 | 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), | |
1039 | 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), | |
1040 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1041 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1042 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1043 | }, .3, false) | |
1044 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1045 | torsy.Velocity = Vector3.new() | |
1046 | end | |
1047 | repeat | |
1048 | --for i = 0, 2, 0.1 do | |
1049 | swait() | |
1050 | PlayAnimationFromTable({ | |
1051 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1052 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1053 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
1054 | 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), | |
1055 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
1056 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
1057 | }, .3, false) | |
1058 | torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0) | |
1059 | hum.PlatformStand = true | |
1060 | torsy.Velocity = Vector3.new() | |
1061 | --end | |
1062 | until xhold == false | |
1063 | so(200632136, RootPart, .9, 1) | |
1064 | local pato = Instance.new("Part",torsy) | |
1065 | pato.CFrame = torsy.CFrame | |
1066 | pato.Size = Vector3.new(4.1,6.1,1.1) | |
1067 | pato.Transparency = 1 | |
1068 | pato.CanCollide = false | |
1069 | pato.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
1070 | local werudo = Instance.new("Weld",pato) | |
1071 | werudo.Part0 = pato | |
1072 | werudo.Part1 = torsy | |
1073 | torsy.Velocity = (Mouse.Hit.p-torsy.Position).unit*100+Vector3.new(0,30,0) | |
1074 | torsy.RotVelocity = Vector3.new(10,10,10) | |
1075 | coroutine.wrap(function() | |
1076 | while true do | |
1077 | swait() | |
1078 | hum.PlatformStand = true | |
1079 | end | |
1080 | end) | |
1081 | pato.Touched:connect(function(hit) | |
1082 | if hit:IsDescendantOf(chara)==false then | |
1083 | pato:Destroy() | |
1084 | killmortal(grab,5) | |
1085 | so(260430079,torsy,1,5) | |
1086 | CamShake(torsy,100,1,.4) | |
1087 | createSplatter(torsy.Position) | |
1088 | mdmg(torsy,3,"Blunt") | |
1089 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(torsy.Position), 0, 0, 0, 1, .2, 1, 0.1) | |
1090 | end | |
1091 | end) | |
1092 | end | |
1093 | for i = 0, 1, 0.1 do | |
1094 | swait() | |
1095 | PlayAnimationFromTable({ | |
1096 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1097 | 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), | |
1098 | 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), | |
1099 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1100 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1101 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1102 | }, .3, false) | |
1103 | end | |
1104 | attack = false | |
1105 | Humanoid.WalkSpeed = 8 | |
1106 | end | |
1107 | ||
1108 | function thehead() | |
1109 | attack = true | |
1110 | Humanoid.WalkSpeed = 2 | |
1111 | local grab = nil | |
1112 | local torsy = nil | |
1113 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1114 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then | |
1115 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1116 | grab = v | |
1117 | end | |
1118 | end | |
1119 | if grab ~= nil and torsy ~= nil then | |
1120 | noretaliation(grab) | |
1121 | so(200632136, RootPart, .8, 1) | |
1122 | for i = 0,2,0.1 do | |
1123 | swait() | |
1124 | PlayAnimationFromTable({ | |
1125 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
1126 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
1127 | 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), | |
1128 | 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), | |
1129 | 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), | |
1130 | 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), | |
1131 | }, .3, false) | |
1132 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1133 | torsy.Velocity = Vector3.new() | |
1134 | end | |
1135 | local armmod = Instance.new("Model",chara) | |
1136 | armmod.Name = grab.Name | |
1137 | Instance.new("Humanoid",armmod).Health = 0 | |
1138 | for i, v in pairs(grab:GetChildren()) do | |
1139 | if v:IsA("Accoutrement") then | |
1140 | if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then | |
1141 | v.Handle.AccessoryWeld.Part1 = nil | |
1142 | end | |
1143 | end | |
1144 | end | |
1145 | local armp = grab:FindFirstChild("Head") | |
1146 | createSplatter(armp.Position) | |
1147 | killmortal(grab,5) | |
1148 | CamShake(armp,10,.5,.4) | |
1149 | armp.Parent = armmod | |
1150 | for i, v in pairs(grab:GetChildren()) do | |
1151 | if v:IsA("Accoutrement") then | |
1152 | if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then | |
1153 | v.Handle.AccessoryWeld.Part1 = armp | |
1154 | v.Parent = armmod | |
1155 | end | |
1156 | end | |
1157 | end | |
1158 | so(206082327,armp,1,5) | |
1159 | local bledp = Instance.new("Part",grab) | |
1160 | bledp.Size = Vector3.new(0,0,0) | |
1161 | bledp.Transparency = 1 | |
1162 | bledp.CanCollide = false | |
1163 | local blpe = blpemit:Clone() | |
1164 | blpe.Parent = bledp | |
1165 | blpe.EmissionDirection = "Top" | |
1166 | blpe.VelocitySpread = 20 | |
1167 | local wel = Instance.new("Weld",armp) | |
1168 | wel.Part0 = RightArm | |
1169 | wel.Part1 = armp | |
1170 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(-90),0,0) | |
1171 | local blape = bledp:Clone() | |
1172 | blape.Parent = armmod | |
1173 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
1174 | local bledw = Instance.new("Weld",bledp) | |
1175 | bledw.Part0 = torsy | |
1176 | bledw.Part1 = bledp | |
1177 | bledw.C0 = CFrame.new(0,1,0) | |
1178 | local bledw2 = Instance.new("Weld",blape) | |
1179 | bledw2.Part0 = armp | |
1180 | bledw2.Part1 = blape | |
1181 | bledw2.C0 = CFrame.new(0,-.5,0) | |
1182 | grabhead = true | |
1183 | heddo = armp | |
1184 | for i = 0, 1, 0.25 do | |
1185 | swait() | |
1186 | PlayAnimationFromTable({ | |
1187 | 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), | |
1188 | 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), | |
1189 | 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), | |
1190 | 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), | |
1191 | 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), | |
1192 | 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), | |
1193 | }, .3, false) | |
1194 | end | |
1195 | swait(30) | |
1196 | end | |
1197 | attack = false | |
1198 | Humanoid.WalkSpeed = 8 | |
1199 | end | |
1200 | ||
1201 | function headthrow() | |
1202 | attack = true | |
1203 | Humanoid.WalkSpeed = 2 | |
1204 | for i = 0, 2, 0.1 do | |
1205 | swait() | |
1206 | PlayAnimationFromTable({ | |
1207 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1208 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1209 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
1210 | 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), | |
1211 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
1212 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
1213 | }, .3, false) | |
1214 | end | |
1215 | so(200632136, RootPart, .8, 1) | |
1216 | local haea = heddo | |
1217 | haea.Weld:Destroy() | |
1218 | haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0) | |
1219 | haea.RotVelocity = Vector3.new(10,10,10) | |
1220 | haea.Touched:connect(function(hit) | |
1221 | if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then | |
1222 | print("BOOBIES") | |
1223 | Instance.new("BoolValue",haea).Name = "HITA" | |
1224 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1) | |
1225 | killmortal(hit.Parent,50) | |
1226 | CamShake(haea,20,1,.4) | |
1227 | so(386946017,haea,.95,5) | |
1228 | swait(120) | |
1229 | for i=0,1,.05 do | |
1230 | haea.Transparency = i | |
1231 | swait() | |
1232 | end | |
1233 | haea.Parent:Destroy() | |
1234 | end | |
1235 | end) | |
1236 | heddo = nil | |
1237 | grabhead = false | |
1238 | for i = 0, 1, 0.1 do | |
1239 | swait() | |
1240 | PlayAnimationFromTable({ | |
1241 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1242 | 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), | |
1243 | 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), | |
1244 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1245 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1246 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1247 | }, .3, false) | |
1248 | end | |
1249 | attack = false | |
1250 | Humanoid.WalkSpeed = 8 | |
1251 | end | |
1252 | ||
1253 | function therip() | |
1254 | attack = true | |
1255 | Humanoid.WalkSpeed = 2 | |
1256 | local grab = nil | |
1257 | local torsy = nil | |
1258 | local hum = nil | |
1259 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1260 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then | |
1261 | hum = v:FindFirstChildOfClass("Humanoid") | |
1262 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1263 | grab = v | |
1264 | end | |
1265 | end | |
1266 | if grab ~= nil and torsy ~= nil then | |
1267 | noretaliation(grab) | |
1268 | so(200632136, RootPart, .8, 1) | |
1269 | for i = 0,1.5,0.1 do | |
1270 | swait() | |
1271 | PlayAnimationFromTable({ | |
1272 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1273 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1274 | 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), | |
1275 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1276 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1277 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1278 | }, .3, false) | |
1279 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1280 | torsy.Velocity = Vector3.new() | |
1281 | end | |
1282 | so(240429615, torsy, 1, 1) | |
1283 | for i = 0, 1.5, 0.1 do | |
1284 | swait() | |
1285 | PlayAnimationFromTable({ | |
1286 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1287 | 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), | |
1288 | 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), | |
1289 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1290 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1291 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1292 | }, .3, false) | |
1293 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1294 | torsy.Velocity = Vector3.new() | |
1295 | end | |
1296 | for i = 0, 3, 0.1 do | |
1297 | swait() | |
1298 | PlayAnimationFromTable({ | |
1299 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1300 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
1301 | CFrame.new(1.45148087, 1.32618856, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
1302 | CFrame.new(-1.48567963, 1.22015762, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
1303 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1304 | CFrame.new(-0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1305 | }, .3, false) | |
1306 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(90),0,math.rad(90)),.3) | |
1307 | hum.PlatformStand = true | |
1308 | torsy.Velocity = Vector3.new() | |
1309 | end | |
1310 | so(206082327,torsy,1,5) | |
1311 | createSplatter(torsy.Position) | |
1312 | CamShake(torsy,20,1,.3) | |
1313 | if hum.RigType == Enum.HumanoidRigType.R6 then | |
1314 | local lleg = grab:FindFirstChild("Left Leg") | |
1315 | local rleg = grab:FindFirstChild("Right Leg") | |
1316 | local mad = Instance.new("Model",workspace) | |
1317 | Instance.new("Humanoid",mad).Health = 0 | |
1318 | mad.Humanoid.MaxHealth = 0 | |
1319 | if grab:FindFirstChildOfClass("Pants") then grab:FindFirstChildOfClass("Pants"):Clone().Parent = mad end | |
1320 | killmortal(grab,0) | |
1321 | coroutine.wrap(function() | |
1322 | swait(4) | |
1323 | torsy.Velocity = RootPart.CFrame.rightVector*-30 | |
1324 | lleg.Parent = mad | |
1325 | rleg.Parent = mad | |
1326 | lleg.CanCollide = true | |
1327 | rleg.CanCollide = true | |
1328 | lleg:BreakJoints() | |
1329 | rleg:BreakJoints() | |
1330 | lleg.Velocity = RootPart.CFrame.rightVector*30 | |
1331 | rleg.Velocity = RootPart.CFrame.rightVector*30 | |
1332 | local bledp = Instance.new("Part",mad) | |
1333 | bledp.Size = Vector3.new(0,0,0) | |
1334 | bledp.Transparency = 1 | |
1335 | bledp.CanCollide = false | |
1336 | local blpe = blpemit:Clone() | |
1337 | blpe.Parent = bledp | |
1338 | blpe.EmissionDirection = "Top" | |
1339 | blpe.VelocitySpread = 20 | |
1340 | local bledp2 = bledp:Clone() | |
1341 | bledp2.Parent = mad | |
1342 | local blape = bledp:Clone() | |
1343 | blape.Parent = mad | |
1344 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
1345 | blape.Size = Vector3.new(1.5,0,0) | |
1346 | local bledw = Instance.new("Weld",bledp) | |
1347 | bledw.Part0 = lleg | |
1348 | bledw.Part1 = bledp | |
1349 | bledw.C0 = CFrame.new(0,1,0) | |
1350 | local bledw2 = Instance.new("Weld",blape) | |
1351 | bledw2.Part0 = torsy | |
1352 | bledw2.Part1 = blape | |
1353 | bledw2.C0 = CFrame.new(0,-.5,0) | |
1354 | local bledw3 = Instance.new("Weld",bledp2) | |
1355 | bledw.Part0 = rleg | |
1356 | bledw.Part1 = bledp2 | |
1357 | bledw.C0 = CFrame.new(0,1,0) | |
1358 | game:service'Debris':AddItem(mad,15) | |
1359 | end)() | |
1360 | elseif hum.RigType == Enum.HumanoidRigType.R15 then | |
1361 | local hip = grab:FindFirstChild("LowerTorso") | |
1362 | local lleg = grab:FindFirstChild("LeftUpperLeg") | |
1363 | local rleg = grab:FindFirstChild("RightUpperLeg") | |
1364 | --for i,v in pairs(grab:children()) do | |
1365 | --if v:IsA("BasePart") then blpemit:Clone().Parent = v end | |
1366 | --end | |
1367 | killmortal(grab,0) | |
1368 | coroutine.wrap(function() | |
1369 | swait(2) | |
1370 | hip:Destroy() | |
1371 | torsy.Velocity = RootPart.CFrame.rightVector*-60 | |
1372 | lleg.Velocity = RootPart.CFrame.rightVector*60 | |
1373 | rleg.Velocity = RootPart.CFrame.rightVector*60 | |
1374 | local bledp = Instance.new("Part",torsy.Parent) | |
1375 | bledp.Size = Vector3.new(0,0,0) | |
1376 | bledp.Transparency = 1 | |
1377 | bledp.CanCollide = false | |
1378 | local blpe = blpemit:Clone() | |
1379 | blpe.Parent = bledp | |
1380 | blpe.EmissionDirection = "Top" | |
1381 | blpe.VelocitySpread = 20 | |
1382 | local bledp2 = bledp:Clone() | |
1383 | bledp2.Parent = torsy.Parent | |
1384 | local blape = bledp:Clone() | |
1385 | blape.Parent = torsy.Parent | |
1386 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
1387 | blape.Size = Vector3.new(1.5,0,0) | |
1388 | local bledw = Instance.new("Weld",bledp) | |
1389 | bledw.Part0 = lleg | |
1390 | bledw.Part1 = bledp | |
1391 | bledw.C0 = CFrame.new(0,1,0) | |
1392 | local bledw2 = Instance.new("Weld",blape) | |
1393 | bledw2.Part0 = torsy | |
1394 | bledw2.Part1 = blape | |
1395 | bledw2.C0 = CFrame.new(0,-.5,0) | |
1396 | local bledw3 = Instance.new("Weld",bledp2) | |
1397 | bledw.Part0 = rleg | |
1398 | bledw.Part1 = bledp2 | |
1399 | bledw.C0 = CFrame.new(0,1,0) | |
1400 | end)() | |
1401 | --hip:BreakJoints() | |
1402 | --hip.Velocity = RootPart.CFrame.rightVector*-30 | |
1403 | end | |
1404 | for i = 0, 2, 0.1 do | |
1405 | swait() | |
1406 | PlayAnimationFromTable({ | |
1407 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1408 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
1409 | CFrame.new(1.45148087, 0.22618866, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1), | |
1410 | CFrame.new(-1.48567963, 0.220157385, 0, 0, 1, 0, 1, 0, 0, 0, 0, -1), | |
1411 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1412 | CFrame.new(-0.499995321, -1.99999988, -2.78651714e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1413 | }, .3, false) | |
1414 | end | |
1415 | end | |
1416 | attack = false | |
1417 | Humanoid.WalkSpeed = 8 | |
1418 | end | |
1419 | ||
1420 | function thecrush() | |
1421 | attack = true | |
1422 | Humanoid.WalkSpeed = 0 | |
1423 | local grab = nil | |
1424 | local torsy = nil | |
1425 | local heddo = nil | |
1426 | local hum = nil | |
1427 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1428 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then | |
1429 | hum = v:FindFirstChildOfClass("Humanoid") | |
1430 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1431 | heddo = v:FindFirstChild("Head") | |
1432 | grab = v | |
1433 | end | |
1434 | end | |
1435 | if grab ~= nil and torsy ~= nil then | |
1436 | noretaliation(grab) | |
1437 | so(200632136, RootPart, .8, 1) | |
1438 | for i = 0,1.5,0.1 do | |
1439 | swait() | |
1440 | PlayAnimationFromTable({ | |
1441 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1442 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1443 | 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), | |
1444 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1445 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1446 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1447 | }, .3, false) | |
1448 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1449 | torsy.Velocity = Vector3.new() | |
1450 | end | |
1451 | so(240429615, torsy, 1, 1) | |
1452 | if torsy.Name == "UpperTorso" then | |
1453 | heddo.CFrame = RootPart.CFrame*CFrame.new(-2,-3,-1)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
1454 | else | |
1455 | heddo.CFrame = RootPart.CFrame*CFrame.new(-1,-3,-1)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
1456 | end | |
1457 | heddo.Anchored = true | |
1458 | for i = 0, 1.5, 0.1 do | |
1459 | swait() | |
1460 | PlayAnimationFromTable({ | |
1461 | 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), | |
1462 | 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), | |
1463 | 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), | |
1464 | 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), | |
1465 | 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), | |
1466 | 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), | |
1467 | }, .3, false) | |
1468 | --heddo.CFrame = RootPart.CFrame*CFrame.new(.5,-3,-2)*CFrame.Angles(math.rad(90),0,math.rad(90)) | |
1469 | --heddo.Velocity = Vector3.new() | |
1470 | --hum.PlatformStand = true | |
1471 | end | |
1472 | for i = 0, 3, 0.1 do | |
1473 | swait() | |
1474 | PlayAnimationFromTable({ | |
1475 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1476 | CFrame.new(0, 1.46578956, -0.0939694047, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1477 | CFrame.new(1.52320564, 0.359808445, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1), | |
1478 | CFrame.new(-1.52320766, 0.359808564, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1479 | CFrame.new(0.5, -1.19999838, -0.600002289, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1480 | CFrame.new(-0.5, -1.9999994, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1481 | }, .3, false) | |
1482 | --heddo.CFrame = RootPart.CFrame*CFrame.new(.5,-3,-2)*CFrame.Angles(math.rad(90),0,math.rad(90)) | |
1483 | --heddo.Velocity = Vector3.new() | |
1484 | --hum.PlatformStand = true | |
1485 | end | |
1486 | so(206082327,torsy,1,5) | |
1487 | killmortal(grab,0) | |
1488 | createSplatter(heddo.Position) | |
1489 | CamShake(RootPart,20,1,.4) | |
1490 | coroutine.wrap(function() | |
1491 | swait(3) | |
1492 | local passa = heddo.Position | |
1493 | heddo:Destroy() | |
1494 | for i=1,15 do | |
1495 | local bl = Instance.new("Part",torsy) | |
1496 | bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10) | |
1497 | local rand = math.random(2,7)/10 | |
1498 | bl.Size = Vector3.new(rand,rand,rand) | |
1499 | bl.BrickColor = BrickColor.new("Maroon") | |
1500 | bl.Material = "Granite" | |
1501 | end | |
1502 | end)() | |
1503 | for i = 0, 3, 0.1 do | |
1504 | swait() | |
1505 | PlayAnimationFromTable({ | |
1506 | CFrame.new(0, -0.115425974, -0.607762575, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1507 | CFrame.new(0, 1.46579063, -0.0939693749, 1, 0, 0, 0, 0.939692438, 0.342020929, 0, -0.342020959, 0.939692438), | |
1508 | 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), | |
1509 | 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), | |
1510 | CFrame.new(0.5, -1.6025629, -1.10711849, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
1511 | CFrame.new(-0.5, -1.99999857, 3.87430191e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
1512 | }, .4, false) | |
1513 | end | |
1514 | end | |
1515 | attack = false | |
1516 | Humanoid.WalkSpeed = 8 | |
1517 | end | |
1518 | ||
1519 | function thehand() | |
1520 | attack = true | |
1521 | Humanoid.WalkSpeed = 2 | |
1522 | local grab = nil | |
1523 | local torsy = nil | |
1524 | local totear = nil | |
1525 | local hum = nil | |
1526 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1527 | if v:FindFirstChild('Head') and (v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm")) and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then | |
1528 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1529 | grab = v | |
1530 | totear = v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm") | |
1531 | hum = v:FindFirstChildOfClass("Humanoid") | |
1532 | end | |
1533 | end | |
1534 | if grab ~= nil and torsy ~= nil and totear ~= nil and hum ~= nil then | |
1535 | noretaliation(grab) | |
1536 | so(200632136, RootPart, .8, 1) | |
1537 | for i = 0,2,0.1 do | |
1538 | swait() | |
1539 | PlayAnimationFromTable({ | |
1540 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1541 | CFrame.new(0, 1.49999475, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1542 | CFrame.new(1.0939827, 0.850001335, -0.515790701, 0, -0.342019916, 0.939692736, 1, 0, 0, 0, 0.939692736, 0.342019886), | |
1543 | CFrame.new(-0.900009155, 0.849995136, -0.549995422, 0, 0, -1, -1, 0, 0, 0, 1, 0), | |
1544 | CFrame.new(0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1545 | CFrame.new(-0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1546 | }, .3, false) | |
1547 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1548 | torsy.Velocity = Vector3.new() | |
1549 | end | |
1550 | so(206082327,totear,1,5) | |
1551 | local bledp = Instance.new("Part",grab) | |
1552 | bledp.Size = Vector3.new(0,0,0) | |
1553 | bledp.Transparency = 1 | |
1554 | bledp.CanCollide = false | |
1555 | local blpe = blpemit:Clone() | |
1556 | blpe.Parent = bledp | |
1557 | blpe.EmissionDirection = "Left" | |
1558 | local armmod = Instance.new("Model",chara) | |
1559 | armmod.Name = "TornArmdd" | |
1560 | Instance.new("Humanoid",armmod).MaxHealth = 0 | |
1561 | for _, v in pairs(grab:GetChildren()) do | |
1562 | if v:IsA("Shirt") or v:IsA("CharacterMesh") then | |
1563 | v:Clone().Parent = armmod | |
1564 | end | |
1565 | end | |
1566 | local armp = totear | |
1567 | createSplatter(totear.Position) | |
1568 | CamShake(totear,20,1,.4) | |
1569 | armp:BreakJoints() | |
1570 | armp.Parent = armmod | |
1571 | so("206082327",armp,1,1) | |
1572 | local wel = Instance.new("Weld",armp) | |
1573 | wel.Part0 = RightArm | |
1574 | wel.Part1 = armp | |
1575 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1576 | local blape = bledp:Clone() | |
1577 | blape.Parent = armmod | |
1578 | local bledw = Instance.new("Weld",bledp) | |
1579 | bledw.Part0 = torsy | |
1580 | bledw.Part1 = bledp | |
1581 | local bledw2 = Instance.new("Weld",blape) | |
1582 | bledw2.Part0 = armp | |
1583 | bledw2.Part1 = blape | |
1584 | bledw.C0 = CFrame.new(1,.5,0) | |
1585 | bledw2.C0 = CFrame.new(-.5,.5,0) | |
1586 | blpe.EmissionDirection = "Right" | |
1587 | grabhand = true | |
1588 | armo = armp | |
1589 | coroutine.wrap(function() | |
1590 | local currhp = hum.Health | |
1591 | for i=1,currhp do | |
1592 | if hum.Health > 0 then | |
1593 | hum.Health = currhp - (i-1) | |
1594 | swait(3) | |
1595 | end | |
1596 | end | |
1597 | if hum.Health > 0 then | |
1598 | killmortal(grab,0) | |
1599 | end | |
1600 | end)() | |
1601 | for i = 0, 1, 0.25 do | |
1602 | swait() | |
1603 | PlayAnimationFromTable({ | |
1604 | CFrame.new(0, 0, 0, 0.866021276, 0, -0.499997795, 0, 1, 0, 0.499997914, 0, 0.866021156), | |
1605 | CFrame.new(0, 1.49999189, 0, 0.866021276, 0, 0.499997914, 0, 1, 0, -0.499997795, 0, 0.866021156), | |
1606 | 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), | |
1607 | CFrame.new(-1.38039482, 0.919607162, -0.300003946, 0, 0.500000179, -0.866022646, -1, 0, 0, 0, 0.866022587, 0.500000119), | |
1608 | CFrame.new(0.500005305, -1.99999964, -7.61445699e-06, 0.99999541, 0, 2.98023224e-08, 0, 1, 0, 2.98023224e-08, 0, 0.999995232), | |
1609 | CFrame.new(-0.499997407, -1.99999964, -5.43892384e-06, 0.766040862, 0, 0.642784715, 0, 1, 0, -0.642784536, 0, 0.766040802), | |
1610 | }, .3, false) | |
1611 | end | |
1612 | swait(30) | |
1613 | end | |
1614 | attack = false | |
1615 | Humanoid.WalkSpeed = 8 | |
1616 | end | |
1617 | ||
1618 | function armthrow() | |
1619 | attack = true | |
1620 | Humanoid.WalkSpeed = 2 | |
1621 | for i = 0, 2, 0.1 do | |
1622 | swait() | |
1623 | PlayAnimationFromTable({ | |
1624 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1625 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1626 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
1627 | 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), | |
1628 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
1629 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
1630 | }, .3, false) | |
1631 | end | |
1632 | so(200632136, RootPart, .8, 1) | |
1633 | local haea = armo | |
1634 | haea.Weld:Destroy() | |
1635 | haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0) | |
1636 | haea.RotVelocity = Vector3.new(10,10,10) | |
1637 | haea.Touched:connect(function(hit) | |
1638 | if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then | |
1639 | print("BOOBIES") | |
1640 | Instance.new("BoolValue",haea).Name = "HITA" | |
1641 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1) | |
1642 | killmortal(hit.Parent,50) | |
1643 | CamShake(haea,20,1,.4) | |
1644 | so(386946017,haea,.95,5) | |
1645 | swait(120) | |
1646 | for i=0,1,.05 do | |
1647 | haea.Transparency = i | |
1648 | swait() | |
1649 | end | |
1650 | haea.Parent:Destroy() | |
1651 | end | |
1652 | end) | |
1653 | armo = nil | |
1654 | grabhand = false | |
1655 | for i = 0, 1, 0.1 do | |
1656 | swait() | |
1657 | PlayAnimationFromTable({ | |
1658 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1659 | 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), | |
1660 | 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), | |
1661 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1662 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1663 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1664 | }, .3, false) | |
1665 | end | |
1666 | attack = false | |
1667 | Humanoid.WalkSpeed = 8 | |
1668 | end | |
1669 | ||
1670 | function smek() | |
1671 | attack = true | |
1672 | for i=0,1,.2 do | |
1673 | swait() | |
1674 | PlayAnimationFromTable({ | |
1675 | CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987), | |
1676 | CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987), | |
1677 | 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), | |
1678 | 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), | |
1679 | CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616), | |
1680 | CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544), | |
1681 | }, .3, false) | |
1682 | end | |
1683 | Humanoid.WalkSpeed = 2 | |
1684 | so(536642316,armo,1,1) | |
1685 | for i=0,1,.1 do | |
1686 | swait() | |
1687 | PlayAnimationFromTable({ | |
1688 | CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1689 | CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1690 | 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), | |
1691 | 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), | |
1692 | 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), | |
1693 | CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511), | |
1694 | }, .3, false) | |
1695 | if armo ~= nil then | |
1696 | mdmg(armo,3,"Arm") | |
1697 | CamShake(Torso,20,1,.3) | |
1698 | end | |
1699 | end | |
1700 | swait(5) | |
1701 | Humanoid.WalkSpeed = 8 | |
1702 | attack = false | |
1703 | end | |
1704 | ||
1705 | function dash() | |
1706 | attack = true | |
1707 | so("235097614",Torso,3,1) | |
1708 | so("75356820",Torso,2,1) | |
1709 | Effects.Ring.Create(BrickColor.new("Persimmon"),RootPart.CFrame, 1, 1, 0, 1, 1, .2, 0.05) | |
1710 | PlayAnimationFromTable({ | |
1711 | 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), | |
1712 | 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), | |
1713 | 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))), | |
1714 | 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), | |
1715 | 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), | |
1716 | 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) | |
1717 | },1,false) | |
1718 | for i = 1, 5 do | |
1719 | for _, v in pairs(chara:children()) do | |
1720 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
1721 | do | |
1722 | local p = v:clone() | |
1723 | p.Name = "trail" | |
1724 | p.Parent = EffectModel | |
1725 | p.Transparency = 0.5 | |
1726 | p.Anchored = true | |
1727 | p.BrickColor = BrickColor.new("Really red") | |
1728 | p.Material = "Neon" | |
1729 | p:BreakJoints() | |
1730 | p.CanCollide = false | |
1731 | if v == Head then | |
1732 | for a, b in pairs(p:children()) do | |
1733 | if b:IsA("Sound") then | |
1734 | b:Destroy() | |
1735 | end | |
1736 | end | |
1737 | end | |
1738 | coroutine.resume(coroutine.create(function() | |
1739 | for i = 1, 50 do | |
1740 | swait() | |
1741 | p.Transparency = i / 50 | |
1742 | end | |
1743 | p:Destroy() | |
1744 | end)) | |
1745 | end | |
1746 | end | |
1747 | if v.className == "Accessory" then | |
1748 | end | |
1749 | end | |
1750 | RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*10 | |
1751 | swait() | |
1752 | end | |
1753 | attack = false | |
1754 | end | |
1755 | ||
1756 | function scream() | |
1757 | attack = true | |
1758 | Humanoid.WalkSpeed = 0 | |
1759 | for i=0,1,.1 do | |
1760 | swait() | |
1761 | PlayAnimationFromTable({ | |
1762 | CFrame.new(0, 0.0885660946, 0.326515794, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736), | |
1763 | CFrame.new(0, 1.43158889, 0.18794021, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438), | |
1764 | CFrame.new(1.5, 0.099998951, 9.56654503e-07, 0, -1, 0, -1, 0, -2.98023224e-08, -2.98023224e-08, 0, -1), | |
1765 | CFrame.new(-1.5, 0.099998951, 9.56654503e-07, 0, 1, 0, 1, 0, -2.98023224e-08, 2.98023224e-08, 0, -1), | |
1766 | 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), | |
1767 | 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), | |
1768 | }, .3, false) | |
1769 | end | |
1770 | so(51322486,Torso,.5,5) | |
1771 | so(90696602,Torso,.5,5) | |
1772 | for i=1,120 do | |
1773 | CamShake(Torso,40,1,.1) | |
1774 | mdmg(Torso,20,"Scream") | |
1775 | 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) | |
1776 | 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) | |
1777 | swait() | |
1778 | end | |
1779 | Humanoid.WalkSpeed = 8 | |
1780 | attack = false | |
1781 | end | |
1782 | ||
1783 | function handcrack() | |
1784 | attack = true | |
1785 | Humanoid.WalkSpeed = 0 | |
1786 | for i=0,1,.1 do | |
1787 | swait() | |
1788 | PlayAnimationFromTable({ | |
1789 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1790 | CFrame.new(0, 1.4657917, -0.0939691663, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1791 | 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), | |
1792 | 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), | |
1793 | CFrame.new(0.499994665, -1.99999988, -9.83476639e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1794 | CFrame.new(-0.500002503, -1.99999988, -1.78813934e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1795 | }, .3, false) | |
1796 | end | |
1797 | so(240428955,Head,1,5) | |
1798 | swait(10) | |
1799 | Humanoid.WalkSpeed = 8 | |
1800 | attack = false | |
1801 | end | |
1802 | ||
1803 | function getoverhere() | |
1804 | attack = true | |
1805 | local dude = Mouse.Target.Parent | |
1806 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso") | |
1807 | if dude~=nil and dude:FindFirstChildOfClass("Humanoid") and torsy~=nil then | |
1808 | Humanoid.WalkSpeed = 0 | |
1809 | for i=0,1,.1 do | |
1810 | swait() | |
1811 | PlayAnimationFromTable({ | |
1812 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.Angles(0,math.rad(360*i),0), | |
1813 | CFrame.new(0, 1.5255599, -0.222141176, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1814 | CFrame.new(0.200967461, 0.899999142, -0.749996543, 0, 0.866025984, 0.499998987, 1, 0, 0, 0, 0.499998987, -0.866025984), | |
1815 | CFrame.new(-1.52556288, 0.222140282, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
1816 | CFrame.new(0.499997377, -2, -9.01520252e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849), | |
1817 | CFrame.new(-0.500002205, -2, 7.30156898e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1818 | }, .3, false) | |
1819 | end | |
1820 | so(743521497,RightArm,1,1) | |
1821 | coroutine.wrap(function() | |
1822 | for i=0,1,.1 do | |
1823 | swait() | |
1824 | PlayAnimationFromTable({ | |
1825 | CFrame.new(0.00389102311, 0, -0.0404044762, 2.68220901e-07, 0, 1.00000536, 0, 1, 0, -1.00000536, 0, 2.68220901e-07), | |
1826 | 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), | |
1827 | CFrame.new(1.50095332, 0.999999046, 0.0500030518, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
1828 | CFrame.new(-1.52557385, 0.222139984, 0, 0.939693272, 0.342018306, 0, -0.342018306, 0.939693332, 0, 0, 0, 1), | |
1829 | CFrame.new(0.500000775, -2, 1.69873238e-06, 0.984807789, 0, -0.173648104, 0, 1, 0, 0.173648089, 0, 0.984807789), | |
1830 | CFrame.new(-0.500008583, -2, 8.94069672e-08, 0.939692736, 0, 0.342020065, 0, 1, 0, -0.342020094, 0, 0.939692616), | |
1831 | }, .4, false) | |
1832 | end | |
1833 | end)() | |
1834 | so(138092011,Head,1,1) | |
1835 | local spikeh = Instance.new("Part",chara) | |
1836 | spikeh.CFrame = Torso.CFrame | |
1837 | spikeh.Size = Vector3.new(.5,.5,1) | |
1838 | spikeh.Material = "Metal" | |
1839 | spikeh.CanCollide = false | |
1840 | spikeh.Anchored = true | |
1841 | spikeh.BrickColor = BrickColor.new("Crimson") | |
1842 | local blast = Instance.new("Part",EffectModel) | |
1843 | blast.Size = Vector3.new(0,1,1) | |
1844 | blast.Transparency = 1 | |
1845 | blast.Anchored = true | |
1846 | blast.CanCollide = false | |
1847 | blast.CFrame = Torso.CFrame | |
1848 | local meh = Instance.new("SpecialMesh",spikeh) | |
1849 | meh.MeshType = "Wedge" | |
1850 | meh.Offset = Vector3.new(0,0,-1) | |
1851 | meh.Scale = Vector3.new(1,2,2) | |
1852 | local tex1 = Instance.new("Texture",blast) | |
1853 | tex1.Face = "Right" | |
1854 | tex1.Texture = "rbxassetid://187946416" | |
1855 | tex1.Color3 = Color3.new(1,0,0) | |
1856 | local tex2 = tex1:Clone() | |
1857 | tex2.Parent = blast | |
1858 | tex2.Face = "Left" | |
1859 | local origpos = Vector3.new() | |
1860 | for i=0,1,.1 do | |
1861 | swait() | |
1862 | local origpos = (RightArm.CFrame*CFrame.new(0,-1,0)).p | |
1863 | spikeh.CFrame = clerp(spikeh.CFrame,torsy.CFrame,.4) | |
1864 | spikeh.CFrame = CFrame.new(spikeh.Position,spikeh.Position+(torsy.Position-spikeh.Position).unit) | |
1865 | blast.Size = Vector3.new(0,1,(origpos-spikeh.Position).magnitude) | |
1866 | blast.CFrame = CFrame.new((origpos + spikeh.Position)/2,spikeh.Position) | |
1867 | end | |
1868 | local staypos = torsy.CFrame | |
1869 | so(154965973,spikeh,.7,2) | |
1870 | createSplatter(torsy.Position) | |
1871 | CamShake(torsy,20,1,.4) | |
1872 | for i=1,30 do | |
1873 | swait() | |
1874 | torsy.CFrame = staypos | |
1875 | end | |
1876 | coroutine.wrap(function() | |
1877 | for i=0,1,.1 do | |
1878 | swait() | |
1879 | PlayAnimationFromTable({ | |
1880 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1881 | 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), | |
1882 | 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), | |
1883 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1884 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1885 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1886 | }, .4, false) | |
1887 | end | |
1888 | end)() | |
1889 | so(28144425,RightArm,.265,2) | |
1890 | for i=0,3,.1 do | |
1891 | swait() | |
1892 | local origpos = (RightArm.CFrame*CFrame.new(0,-1,0)).p | |
1893 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,0,-2),.1) | |
1894 | torsy.Velocity = Vector3.new(0,0,0) | |
1895 | spikeh.CFrame = torsy.CFrame | |
1896 | blast.Size = Vector3.new(0,1,(origpos-spikeh.Position).magnitude) | |
1897 | blast.CFrame = CFrame.new((origpos + spikeh.Position)/2,spikeh.Position) | |
1898 | end | |
1899 | spikeh:Destroy() | |
1900 | blast:Destroy() | |
1901 | Humanoid.WalkSpeed = 8 | |
1902 | end | |
1903 | attack = false | |
1904 | end | |
1905 | ||
1906 | local notallowed={ | |
1907 | "Right Arm", | |
1908 | "Left Arm", | |
1909 | "Right Leg", | |
1910 | "Left Leg", | |
1911 | "Head", | |
1912 | "HumanoidRootPart", | |
1913 | "Torso", | |
1914 | "LeftFoot", | |
1915 | "LeftHand", | |
1916 | "LeftLowerArm", | |
1917 | "LeftUpperArm", | |
1918 | "LeftUpperLeg", | |
1919 | "LeftLowerLeg", | |
1920 | "RightFoot", | |
1921 | "RightHand", | |
1922 | "RightLowerArm", | |
1923 | "RightUpperArm", | |
1924 | "RightUpperLeg", | |
1925 | "RightLowerLeg", | |
1926 | "LowerTorso", | |
1927 | "UpperTorso", | |
1928 | } | |
1929 | ||
1930 | function grabobj() | |
1931 | attack = true | |
1932 | Humanoid.WalkSpeed = 2 | |
1933 | local grab = nil | |
1934 | local torsy = nil | |
1935 | local totear = nil | |
1936 | local hum = nil | |
1937 | local targ = Mouse.Target | |
1938 | if targ ~= nil and targ:IsA("BasePart") and targ.Anchored == false and (targ.Position-RightArm.Position).magnitude<=5 then | |
1939 | for i,v in pairs(notallowed) do | |
1940 | if targ.Name == v then | |
1941 | Humanoid.WalkSpeed = 8 | |
1942 | attack = false | |
1943 | return | |
1944 | end | |
1945 | end | |
1946 | totear = targ | |
1947 | end | |
1948 | --for i, v in pairs(FindNearestObject(Torso.Position, 5)) do | |
1949 | --if totear ~= nil then | |
1950 | --totear = v | |
1951 | --end | |
1952 | --end | |
1953 | if totear ~= nil then | |
1954 | so(200632136, RootPart, .8, 1) | |
1955 | for i = 0,1,.1 do | |
1956 | swait() | |
1957 | PlayAnimationFromTable({ | |
1958 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1959 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1960 | 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), | |
1961 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1962 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1963 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1964 | }, .3, false) | |
1965 | end | |
1966 | so(200632136, RootPart, .8, 1) | |
1967 | for i = 0,1,.1 do | |
1968 | swait() | |
1969 | PlayAnimationFromTable({ | |
1970 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1971 | 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), | |
1972 | 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), | |
1973 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1974 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1975 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1976 | }, .3, false) | |
1977 | end | |
1978 | so(200632136, RootPart, .8, 1) | |
1979 | local armmod = Instance.new("Model",chara) | |
1980 | armmod.Name = "PickedUp" | |
1981 | local armp = totear | |
1982 | armp:BreakJoints() | |
1983 | armp.Parent = armmod | |
1984 | local wel = Instance.new("Weld",armp) | |
1985 | wel.Part0 = RightArm | |
1986 | wel.Part1 = armp | |
1987 | wel.C0 = CFrame.new(0,-1.5,0) | |
1988 | grabhand = true | |
1989 | armo = armp | |
1990 | end | |
1991 | attack = false | |
1992 | Humanoid.WalkSpeed = 8 | |
1993 | end | |
1994 | ||
1995 | Mouse.Button1Down:connect(function() | |
1996 | if attack == false then | |
1997 | if grabhead == true then | |
1998 | headthrow() | |
1999 | elseif grabhand == true then | |
2000 | smek() | |
2001 | -- else | |
2002 | -- if Anim == "Jump" or Anim == "Fall" then | |
2003 | -- --asmek() | |
2004 | -- else | |
2005 | -- --smek() | |
2006 | -- end | |
2007 | end | |
2008 | end | |
2009 | end) | |
2010 | ||
2011 | local sprintt = 0 | |
2012 | ||
2013 | Mouse.KeyDown:connect(function(k) | |
2014 | k = k:lower() | |
2015 | if k=='m' then | |
2016 | if mus.IsPlaying == true then | |
2017 | mus:Stop() | |
2018 | elseif mus.IsPaused == true then | |
2019 | mus:Play() | |
2020 | end | |
2021 | end | |
2022 | if attack == false then | |
2023 | if k == 'z' and grabhead == false and grabhand == false then | |
2024 | thenatsuki() | |
2025 | elseif k == 'x' and grabhead == false and grabhand == false then | |
2026 | xhold = true | |
2027 | thesurou() | |
2028 | elseif k == 'c' and grabhead == false and grabhand == false then | |
2029 | therip() | |
2030 | elseif k == 'v' and grabhead == false and grabhand == false then | |
2031 | thecrush() | |
2032 | elseif k == 'b' then | |
2033 | if grabhead == true then | |
2034 | headthrow() | |
2035 | else | |
2036 | thehead() | |
2037 | end | |
2038 | elseif k == 'n' then | |
2039 | if grabhand == true then | |
2040 | armthrow() | |
2041 | else | |
2042 | thehand() | |
2043 | end | |
2044 | elseif k == 'e' then | |
2045 | dash() | |
2046 | elseif k == 'q' then | |
2047 | getoverhere() | |
2048 | elseif k == 'g' then | |
2049 | handcrack() | |
2050 | elseif k == 'h' then | |
2051 | scream() | |
2052 | elseif k == 'r' then | |
2053 | if grabhand == true then | |
2054 | armthrow() | |
2055 | else | |
2056 | grabobj() | |
2057 | end | |
2058 | end | |
2059 | end | |
2060 | end) | |
2061 | ||
2062 | Mouse.KeyUp:connect(function(k) | |
2063 | k = k:lower() | |
2064 | if k == 'x' then | |
2065 | xhold = false | |
2066 | end | |
2067 | end) | |
2068 | ||
2069 | coroutine.wrap(function() | |
2070 | while 1 do | |
2071 | swait() | |
2072 | if doe <= 360 then | |
2073 | doe = doe + 2 | |
2074 | else | |
2075 | doe = 0 | |
2076 | end | |
2077 | end | |
2078 | end)() | |
2079 | while true do | |
2080 | swait() | |
2081 | for i, v in pairs(chara:GetChildren()) do | |
2082 | if v:IsA("Part") then | |
2083 | v.Material = "SmoothPlastic" | |
2084 | elseif v:IsA("Accessory") then | |
2085 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
2086 | end | |
2087 | end | |
2088 | while true do | |
2089 | swait() | |
2090 | if sprintt >= 1 then | |
2091 | sprintt = sprintt - 1 | |
2092 | end | |
2093 | if chara:FindFirstChild("mus")==nil then | |
2094 | mus = Instance.new("Sound",chara) | |
2095 | mus.Name = "mus" | |
2096 | mus.SoundId = "rbxassetid://626819662"--421358540--1275432904 | |
2097 | mus.Looped = true | |
2098 | mus.Volume = 1 | |
2099 | mus:Play() | |
2100 | end | |
2101 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2102 | velocity = RootPart.Velocity.y | |
2103 | sine = sine + change | |
2104 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
2105 | if RootPart.Velocity.y > 1 and hit == nil then | |
2106 | Anim = "Jump" | |
2107 | if attack == false then | |
2108 | PlayAnimationFromTable({ | |
2109 | CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
2110 | CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855), | |
2111 | 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), | |
2112 | 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), | |
2113 | CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
2114 | CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
2115 | }, .3, false) | |
2116 | end | |
2117 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2118 | Anim = "Fall" | |
2119 | if attack == false then | |
2120 | PlayAnimationFromTable({ | |
2121 | CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849), | |
2122 | CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
2123 | 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), | |
2124 | 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), | |
2125 | CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
2126 | CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
2127 | }, .3, false) | |
2128 | end | |
2129 | elseif Torsovelocity < 1 and hit ~= nil then | |
2130 | Anim = "Idle" | |
2131 | if attack == false then | |
2132 | change = 1 | |
2133 | PlayAnimationFromTable({ | |
2134 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
2135 | CFrame.new(0, 1.4657923, -0.0939692855, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
2136 | CFrame.new(1.20945823, -0.213502824, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
2137 | CFrame.new(-1.20945406, -0.213503301, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1), | |
2138 | 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), | |
2139 | 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), | |
2140 | }, .3, false) | |
2141 | end | |
2142 | elseif Torsovelocity > 2 and hit ~= nil then | |
2143 | Anim = "Walk" | |
2144 | if attack == false then | |
2145 | PlayAnimationFromTable({ | |
2146 | 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), | |
2147 | CFrame.new(0, 1.48263013, -0.0984808952, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
2148 | 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), | |
2149 | 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), | |
2150 | 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), | |
2151 | 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), | |
2152 | }, .3, false) | |
2153 | end | |
2154 | end | |
2155 | if 0 < #Effects then | |
2156 | for e = 1, #Effects do | |
2157 | if Effects[e] ~= nil then | |
2158 | local Thing = Effects[e] | |
2159 | if Thing ~= nil then | |
2160 | local Part = Thing[1] | |
2161 | local Mode = Thing[2] | |
2162 | local Delay = Thing[3] | |
2163 | local IncX = Thing[4] | |
2164 | local IncY = Thing[5] | |
2165 | local IncZ = Thing[6] | |
2166 | if Thing[2] == "Shoot" then | |
2167 | local Look = Thing[1] | |
2168 | local move = 30 | |
2169 | if Thing[8] == 3 then | |
2170 | move = 10 | |
2171 | end | |
2172 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
2173 | if Thing[10] ~= nil then | |
2174 | da = pos | |
2175 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
2176 | cfa = CFrame.new(Thing[4], pos) | |
2177 | tehCF = cfa:lerp(cf2, 0.2) | |
2178 | Thing[1] = tehCF.lookVector | |
2179 | end | |
2180 | local mag = (Thing[4] - pos).magnitude | |
2181 | 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) | |
2182 | if Thing[8] == 2 then | |
2183 | 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) | |
2184 | end | |
2185 | Thing[4] = Thing[4] + Look * move | |
2186 | Thing[3] = Thing[3] - 1 | |
2187 | if 2 < Thing[5] then | |
2188 | Thing[5] = Thing[5] - 0.3 | |
2189 | Thing[6] = Thing[6] - 0.3 | |
2190 | end | |
2191 | if hit ~= nil then | |
2192 | Thing[3] = 0 | |
2193 | if Thing[8] == 1 or Thing[8] == 3 then | |
2194 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2195 | else | |
2196 | if Thing[8] == 2 then | |
2197 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2198 | if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then | |
2199 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2200 | ref.Anchored = true | |
2201 | ref.CFrame = CFrame.new(pos) | |
2202 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
2203 | game:GetService("Debris"):AddItem(ref, 0.2) | |
2204 | 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) | |
2205 | 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) | |
2206 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
2207 | end | |
2208 | end | |
2209 | end | |
2210 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2211 | ref.Anchored = true | |
2212 | ref.CFrame = CFrame.new(pos) | |
2213 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
2214 | game:GetService("Debris"):AddItem(ref, 1) | |
2215 | end | |
2216 | if Thing[3] <= 0 then | |
2217 | table.remove(Effects, e) | |
2218 | end | |
2219 | end | |
2220 | do | |
2221 | do | |
2222 | if Thing[2] == "FireWave" then | |
2223 | if Thing[3] <= Thing[4] then | |
2224 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
2225 | Thing[3] = Thing[3] + 1 | |
2226 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
2227 | else | |
2228 | Part.Parent = nil | |
2229 | table.remove(Effects, e) | |
2230 | end | |
2231 | end | |
2232 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
2233 | if Thing[1].Transparency <= 1 then | |
2234 | if Thing[2] == "Block1" then | |
2235 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2236 | Mesh = Thing[7] | |
2237 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2238 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2239 | else | |
2240 | if Thing[2] == "Block2" then | |
2241 | Thing[1].CFrame = Thing[1].CFrame | |
2242 | Mesh = Thing[7] | |
2243 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2244 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2245 | else | |
2246 | if Thing[2] == "Fire" then | |
2247 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2248 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2249 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2250 | else | |
2251 | if Thing[2] == "Cylinder" then | |
2252 | Mesh = Thing[7] | |
2253 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2254 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2255 | else | |
2256 | if Thing[2] == "Blood" then | |
2257 | Mesh = Thing[7] | |
2258 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
2259 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2260 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2261 | else | |
2262 | if Thing[2] == "Elec" then | |
2263 | Mesh = Thing[10] | |
2264 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2265 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2266 | else | |
2267 | if Thing[2] == "Disappear" then | |
2268 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2269 | else | |
2270 | if Thing[2] == "Shatter" then | |
2271 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2272 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2273 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2274 | Thing[6] = Thing[6] + Thing[5] | |
2275 | end | |
2276 | end | |
2277 | end | |
2278 | end | |
2279 | end | |
2280 | end | |
2281 | end | |
2282 | end | |
2283 | else | |
2284 | Part.Parent = nil | |
2285 | table.remove(Effects, e) | |
2286 | end | |
2287 | end | |
2288 | end | |
2289 | end | |
2290 | end | |
2291 | end | |
2292 | end | |
2293 | end | |
2294 | end | |
2295 | end |