SHOW:
|
|
- or go back to the newest paste.
1 | ----Made by tyefoodmania | |
2 | ----Credits go to moneypro123 aka speedoflightpro123 | |
3 | ----Noobs | |
4 | local Player = game.Players.localPlayer | |
5 | local Character = Player.Character | |
6 | local Humanoid = Character.Humanoid | |
7 | local Mouse = Player:GetMouse() | |
8 | local LeftArm = Character["Left Arm"] | |
9 | local RightArm = Character["Right Arm"] | |
10 | local LeftLeg = Character["Left Leg"] | |
11 | local RightLeg = Character["Right Leg"] | |
12 | local Head = Character.Head | |
13 | local Torso = Character.Torso | |
14 | local Camera = game.Workspace.CurrentCamera | |
15 | local RootPart = Character.HumanoidRootPart | |
16 | local RootJoint = RootPart.RootJoint | |
17 | local Pause = false | |
18 | local attack = false | |
19 | local LOL = false | |
20 | local Anim = 'Idle' | |
21 | local attacktype = 1 | |
22 | local delays = false | |
23 | local play = true | |
24 | local targetted = nil | |
25 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
26 | local velocity = RootPart.Velocity.y | |
27 | local sine = 0 | |
28 | local change = 1 | |
29 | local doe = 0 | |
30 | local Create = LoadLibrary("RbxUtility").Create | |
31 | for i,v in pairs(Character:children()) do | |
32 | if v:IsA("Hat") then | |
33 | v:Destroy() | |
34 | end | |
35 | end | |
36 | for i,v in pairs(Character:children()) do | |
37 | if v:IsA("Accessory") then | |
38 | v:Destroy() | |
39 | end | |
40 | end | |
41 | for i,v in pairs(Character:children()) do | |
42 | if v:IsA("Clothing") then | |
43 | v:Destroy() | |
44 | end | |
45 | end | |
46 | for i,v in pairs(Character:children()) do | |
47 | if v:IsA("Accoutrement") then | |
48 | v:Destroy() | |
49 | end | |
50 | end | |
51 | local Shirt = Instance.new("Shirt",Character) | |
52 | local Pants = Instance.new("Pants",Character) | |
53 | Head.face.Texture = "rbxassetid://403828505" | |
54 | local Hat = Instance.new("Part",Character) | |
55 | Hat.Size = Vector3.new(1,1,1) | |
56 | Hat.CanCollide = false | |
57 | Hat.BrickColor = BrickColor.new("Really black") | |
58 | local Hat2 = Instance.new("SpecialMesh",Hat) | |
59 | Hat2.MeshId = "rbxassetid://922015392" | |
60 | Hat2.TextureId = "rbxassetid://922016290" | |
61 | Hat2.Scale = Vector3.new(0.08,0.08,0.08) | |
62 | local Hat3 = Instance.new("Weld",Hat) | |
63 | Hat3.Part0 = Head | |
64 | Hat3.Part1 = Hat | |
65 | Hat3.C0 = CFrame.new(-0.1,1,0)*CFrame.Angles(0,0,0.4) | |
66 | Shirt.ShirtTemplate = "rbxassetid://578666808" | |
67 | Pants.PantsTemplate = "rbxassetid://578667800" | |
68 | local M = Instance.new("Sound",Torso) | |
69 | - | M.SoundId = "rbxassetid://538732827" |
69 | + | M.SoundId = "rbxassetid://150160371" |
70 | M.Looped = true | |
71 | M.Volume = 0.5 | |
72 | M.Pitch = 1 | |
73 | M:play() | |
74 | Humanoid.WalkSpeed = 25 | |
75 | Humanoid.Animator.Parent = nil | |
76 | Character.Animate.Parent = nil | |
77 | ||
78 | local newMotor = function(part0, part1, c0, c1) | |
79 | local w = Create('Motor'){ | |
80 | Parent = part0, | |
81 | Part0 = part0, | |
82 | Part1 = part1, | |
83 | C0 = c0, | |
84 | C1 = c1, | |
85 | } | |
86 | return w | |
87 | end | |
88 | function clerp(a, b, t) | |
89 | return a:lerp(b, t) | |
90 | end | |
91 | ||
92 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
93 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
94 | ||
95 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
96 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
97 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
98 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
99 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
100 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
101 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
102 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
103 | ||
104 | local rarmc1 = RW.C1 | |
105 | local larmc1 = LW.C1 | |
106 | local rlegc1 = RH.C1 | |
107 | local llegc1 = LH.C1 | |
108 | ||
109 | local resetc1 = false | |
110 | ||
111 | function PlayAnimationFromTable(table, speed, bool) | |
112 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
113 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
114 | RW.C0 = clerp(RW.C0, table[3], speed) | |
115 | LW.C0 = clerp(LW.C0, table[4], speed) | |
116 | RH.C0 = clerp(RH.C0, table[5], speed) | |
117 | LH.C0 = clerp(LH.C0, table[6], speed) | |
118 | if bool == true then | |
119 | if resetc1 == false then | |
120 | resetc1 = true | |
121 | RootJoint.C1 = RootJoint.C1 | |
122 | Torso.Neck.C1 = Torso.Neck.C1 | |
123 | RW.C1 = rarmc1 | |
124 | LW.C1 = larmc1 | |
125 | RH.C1 = rlegc1 | |
126 | LH.C1 = llegc1 | |
127 | end | |
128 | end | |
129 | end | |
130 | ||
131 | ArtificialHB = Create("BindableEvent", script){ | |
132 | Parent = script, | |
133 | Name = "Heartbeat", | |
134 | } | |
135 | ||
136 | script:WaitForChild("Heartbeat") | |
137 | ||
138 | frame = 1 / 30 | |
139 | tf = 0 | |
140 | allowframeloss = false | |
141 | tossremainder = false | |
142 | lastframe = tick() | |
143 | script.Heartbeat:Fire() | |
144 | ||
145 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
146 | tf = tf + s | |
147 | if tf >= frame then | |
148 | if allowframeloss then | |
149 | script.Heartbeat:Fire() | |
150 | lastframe = tick() | |
151 | else | |
152 | for i = 1, math.floor(tf / frame) do | |
153 | script.Heartbeat:Fire() | |
154 | end | |
155 | lastframe = tick() | |
156 | end | |
157 | if tossremainder then | |
158 | tf = 0 | |
159 | else | |
160 | tf = tf - frame * math.floor(tf / frame) | |
161 | end | |
162 | end | |
163 | end) | |
164 | ||
165 | function swait(num) | |
166 | if num == 0 or num == nil then | |
167 | ArtificialHB.Event:wait() | |
168 | else | |
169 | for i = 0, num do | |
170 | ArtificialHB.Event:wait() | |
171 | end | |
172 | end | |
173 | end | |
174 | function Hit1() | |
175 | if not D then D = true | |
176 | Pause = true | |
177 | for i = 0,0.5,0.1 do | |
178 | swait() | |
179 | PlayAnimationFromTable({ | |
180 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0.2) * CFrame.Angles(0, -0.3, 0), | |
181 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
182 | CFrame.new(1.9,0.5,0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,1), | |
183 | CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
184 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
185 | CFrame.new(-0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.1), | |
186 | }, .5, false) | |
187 | end | |
188 | local Grab = Instance.new("Part",RightArm) | |
189 | Grab.Size = Vector3.new(1,1,1) | |
190 | Grab.CanCollide = false | |
191 | - | Grab.BrickColor = BrickColor.new("Deep orange") |
191 | + | Grab.BrickColor = BrickColor.new("Really red") |
192 | Grab.Transparency = math.huge | |
193 | local Grabo = Instance.new("Weld",Grab) | |
194 | Grabo.Part0 = RightArm | |
195 | Grabo.Part1 = Grab | |
196 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
197 | local RA = Instance.new("Part",RightArm) | |
198 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
199 | - | RA.BrickColor = BrickColor.new("New Yeller") |
199 | + | RA.BrickColor = BrickColor.new("Bright red") |
200 | RA.Material = "Neon" | |
201 | RA.Transparency = 0 | |
202 | local RA2 = Instance.new("Weld",RA) | |
203 | RA2.Part0 = RightArm | |
204 | RA2.Part1 = RA | |
205 | RA2.C0 = CFrame.new(0,0,0) | |
206 | local Sou = Instance.new("Sound",Torso) | |
207 | Sou.SoundId = "rbxassetid://727821717" | |
208 | Sou.Pitch = 1 | |
209 | Sou.Looped = false | |
210 | Sou.Volume = 1 | |
211 | Sou:play() | |
212 | coroutine.resume(coroutine.create(function() | |
213 | for i = 1,2 do | |
214 | for i = 1,5 do | |
215 | RA.Transparency = RA.Transparency + 0.1 | |
216 | game:GetService("RunService").RenderStepped:wait() | |
217 | end | |
218 | wait(0.1) | |
219 | for i = 1,5 do | |
220 | RA.Transparency = RA.Transparency - 0.1 | |
221 | game:GetService("RunService").RenderStepped:wait() | |
222 | end | |
223 | game:GetService("RunService").RenderStepped:wait() | |
224 | end | |
225 | for i = 1,10 do | |
226 | RA.Transparency = RA.Transparency + 0.1 | |
227 | game:GetService("RunService").RenderStepped:wait() | |
228 | end | |
229 | RA:remove() | |
230 | end)) | |
231 | local SFXZ = Instance.new("Sound",Torso) | |
232 | SFXZ.SoundId = "rbxassetid://169259383" | |
233 | SFXZ.Volume = 1 | |
234 | SFXZ.Pitch = 1.5 | |
235 | SFXZ.Looped = false | |
236 | wait(0.01) | |
237 | SFXZ:Play() | |
238 | Grab.Touched:connect(function(hit) | |
239 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
240 | Grab:remove() | |
241 | hit.Parent.Humanoid:TakeDamage(13) | |
242 | local SFXZ = Instance.new("Sound",Torso) | |
243 | SFXZ.SoundId = "rbxassetid://743886825" | |
244 | SFXZ.Volume = 1 | |
245 | SFXZ.Pitch = 1 | |
246 | SFXZ.Looped = false | |
247 | wait(0.01) | |
248 | SFXZ:Play() | |
249 | local Fl = Instance.new("BodyVelocity",hit.Parent.Torso) | |
250 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
251 | Fl.velocity = Torso.CFrame.lookVector*33 | |
252 | wait(0.05) | |
253 | Fl:remove() | |
254 | end | |
255 | end) | |
256 | for i = 0,1,0.1 do | |
257 | swait() | |
258 | PlayAnimationFromTable({ | |
259 | CFrame.new(0,0,0) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, 0.6, 0), | |
260 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.2, 0), | |
261 | CFrame.new(1.7,0.5,-0.6) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.4), | |
262 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1.2, 0, 0), | |
263 | CFrame.new(0.6,-1.8,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1), | |
264 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,-0.1), | |
265 | }, .5, false) | |
266 | end | |
267 | Grab:remove() | |
268 | Pause = false | |
269 | wait(0.2) | |
270 | D = false | |
271 | end | |
272 | end | |
273 | function Hit2() | |
274 | if not D then D = true | |
275 | Pause = true | |
276 | for i = 0,0.5,0.1 do | |
277 | swait() | |
278 | PlayAnimationFromTable({ | |
279 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0.2) * CFrame.Angles(0, 0.3, 0), | |
280 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
281 | CFrame.new(1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0), | |
282 | CFrame.new(-1.9,0.5,0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -1), | |
283 | CFrame.new(0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1), | |
284 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
285 | }, .5, false) | |
286 | end | |
287 | local Grab = Instance.new("Part",RightArm) | |
288 | Grab.Size = Vector3.new(1,1,1) | |
289 | Grab.CanCollide = false | |
290 | - | Grab.BrickColor = BrickColor.new("Deep orange") |
290 | + | Grab.BrickColor = BrickColor.new("Really red") |
291 | Grab.Transparency = math.huge | |
292 | local Grabo = Instance.new("Weld",Grab) | |
293 | Grabo.Part0 = LeftArm | |
294 | Grabo.Part1 = Grab | |
295 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
296 | local LA = Instance.new("Part",LeftArm) | |
297 | LA.Size = Vector3.new(1.1,2.1,1.1) | |
298 | - | LA.BrickColor = BrickColor.new("New Yeller") |
298 | + | LA.BrickColor = BrickColor.new("Bright red") |
299 | LA.Material = "Neon" | |
300 | LA.Transparency = 0 | |
301 | local LA2 = Instance.new("Weld",LA) | |
302 | LA2.Part0 = LeftArm | |
303 | LA2.Part1 = LA | |
304 | LA2.C0 = CFrame.new(0,0,0) | |
305 | local Sou = Instance.new("Sound",Torso) | |
306 | Sou.SoundId = "rbxassetid://727821717" | |
307 | Sou.Pitch = 1 | |
308 | Sou.Looped = false | |
309 | Sou.Volume = 1 | |
310 | Sou:play() | |
311 | coroutine.resume(coroutine.create(function() | |
312 | for i = 1,2 do | |
313 | for i = 1,5 do | |
314 | LA.Transparency = LA.Transparency + 0.1 | |
315 | game:GetService("RunService").RenderStepped:wait() | |
316 | end | |
317 | wait(0.1) | |
318 | for i = 1,5 do | |
319 | LA.Transparency = LA.Transparency - 0.1 | |
320 | game:GetService("RunService").RenderStepped:wait() | |
321 | end | |
322 | game:GetService("RunService").RenderStepped:wait() | |
323 | end | |
324 | for i = 1,10 do | |
325 | LA.Transparency = LA.Transparency + 0.1 | |
326 | game:GetService("RunService").RenderStepped:wait() | |
327 | end | |
328 | LA:remove() | |
329 | end)) | |
330 | local SFXZ = Instance.new("Sound",Torso) | |
331 | SFXZ.SoundId = "rbxassetid://169259383" | |
332 | SFXZ.Volume = 1 | |
333 | SFXZ.Pitch = 1.5 | |
334 | SFXZ.Looped = false | |
335 | wait(0.01) | |
336 | SFXZ:Play() | |
337 | Grab.Touched:connect(function(hit) | |
338 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
339 | Grab:remove() | |
340 | hit.Parent.Humanoid:TakeDamage(13) | |
341 | local SFXZ = Instance.new("Sound",Torso) | |
342 | SFXZ.SoundId = "rbxassetid://743886825" | |
343 | SFXZ.Volume = 1 | |
344 | SFXZ.Pitch = 1 | |
345 | SFXZ.Looped = false | |
346 | wait(0.01) | |
347 | SFXZ:Play() | |
348 | local Fl = Instance.new("BodyVelocity",hit.Parent.Torso) | |
349 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
350 | Fl.velocity = Torso.CFrame.lookVector*33 | |
351 | wait(0.05) | |
352 | Fl:remove() | |
353 | end | |
354 | end) | |
355 | for i = 0,1,0.1 do | |
356 | swait() | |
357 | PlayAnimationFromTable({ | |
358 | CFrame.new(0,0,0) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, -0.6, 0), | |
359 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.2, 0), | |
360 | CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2,0,0.4), | |
361 | CFrame.new(-1.7,0.5,-0.6) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -0.4), | |
362 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
363 | CFrame.new(-0.6,-1.8,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,-0.1), | |
364 | }, .5, false) | |
365 | end | |
366 | Grab:remove() | |
367 | Pause = false | |
368 | wait(0.2) | |
369 | D = false | |
370 | end | |
371 | end | |
372 | function Torn() | |
373 | if not D then D = true | |
374 | Pause = true | |
375 | for i = 0,1.2,0.1 do | |
376 | swait() | |
377 | PlayAnimationFromTable({ | |
378 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
379 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
380 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
381 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
382 | CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
383 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
384 | }, .5, false) | |
385 | end | |
386 | for i = 0,3,0.1 do | |
387 | swait() | |
388 | PlayAnimationFromTable({ | |
389 | CFrame.new(0,0,0) * CFrame.new(0, -0.7, 0) * CFrame.Angles(0, 0, 0), | |
390 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
391 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
392 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
393 | CFrame.new(0.5,-1.8,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.9, 0, 0), | |
394 | CFrame.new(-0.5,-1.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0), | |
395 | }, .1, false) | |
396 | end | |
397 | local RA = Instance.new("Part",RightArm) | |
398 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
399 | - | RA.BrickColor = BrickColor.new("New Yeller") |
399 | + | RA.BrickColor = BrickColor.new("Bright red") |
400 | RA.Material = "Neon" | |
401 | RA.Transparency = 0 | |
402 | local RA2 = Instance.new("Weld",RA) | |
403 | RA2.Part0 = RightLeg | |
404 | RA2.Part1 = RA | |
405 | RA2.C0 = CFrame.new(0,0,0) | |
406 | local E = Instance.new("Sound",Torso) | |
407 | E.SoundId = "rbxassetid://727821717" | |
408 | E.Volume = 112 | |
409 | E.Pitch = 1 | |
410 | E.Looped = false | |
411 | E:play() | |
412 | for i = 1,2 do ----15 | |
413 | for i = 1,5 do | |
414 | RA.Transparency = RA.Transparency + 0.1 | |
415 | game:GetService("RunService").RenderStepped:wait() | |
416 | end | |
417 | wait(0.1) | |
418 | for i = 1,5 do | |
419 | RA.Transparency = RA.Transparency - 0.1 | |
420 | game:GetService("RunService").RenderStepped:wait() | |
421 | end | |
422 | end | |
423 | for i = 1,10 do | |
424 | RA.Transparency = RA.Transparency + 0.1 | |
425 | game:GetService("RunService").RenderStepped:wait() | |
426 | end | |
427 | for i = 0,1.1,0.1 do | |
428 | swait() | |
429 | PlayAnimationFromTable({ | |
430 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
431 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
432 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
433 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
434 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
435 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
436 | }, .5, false) | |
437 | end | |
438 | --- | |
439 | local To = Instance.new("Part",Torso) | |
440 | To.Size = Vector3.new(10,10,10) | |
441 | - | To.BrickColor = BrickColor.new("New Yeller") |
441 | + | To.BrickColor = BrickColor.new("Bright red") |
442 | To.Transparency = 0 | |
443 | To.CanCollide = false | |
444 | To.CFrame = Torso.CFrame*CFrame.new(0,0,0) | |
445 | coroutine.resume(coroutine.create(function() | |
446 | for i = 1,26 do | |
447 | local Ef = Instance.new("Part",Torso) | |
448 | Ef.Size = Vector3.new(1,1,1) | |
449 | Ef.Anchored = true | |
450 | Ef.CanCollide = false | |
451 | - | Ef.BrickColor = BrickColor.new("New Yeller") |
451 | + | Ef.BrickColor = BrickColor.new("Bright red") |
452 | Ef.CFrame = To.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
453 | local Ef2 = Instance.new("SpecialMesh",Ef) | |
454 | Ef2.MeshId = "rbxassetid://3270017" | |
455 | Ef2.Scale = Vector3.new(1,1,0.01) | |
456 | coroutine.resume(coroutine.create(function() | |
457 | for i = 1,300 do | |
458 | Ef2.Scale = Ef2.Scale + Vector3.new(1,1,0.1) | |
459 | Ef.Transparency = Ef.Transparency + 0.005 | |
460 | game:GetService("RunService").RenderStepped:wait() | |
461 | end | |
462 | Ef:remove() | |
463 | end)) | |
464 | wait(0.3) | |
465 | end | |
466 | end)) | |
467 | To.Touched:connect(function(hit) | |
468 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then | |
469 | if not ZC then ZC = true | |
470 | hit.Parent.Humanoid:TakeDamage(20) | |
471 | local FlyIn = Instance.new("BodyPosition",hit.Parent.Torso) | |
472 | FlyIn.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
473 | FlyIn.Position = Torso.Position | |
474 | wait(0.3) | |
475 | FlyIn:remove() | |
476 | ZC = false | |
477 | end | |
478 | end | |
479 | end) | |
480 | local To2 = Instance.new("SpecialMesh",To) | |
481 | To2.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
482 | To2.Scale = Vector3.new(6,6,6) | |
483 | local Spa = Instance.new("ParticleEmitter",To) | |
484 | Spa.Texture = "rbxassetid://569507414" | |
485 | Spa.Size = NumberSequence.new(0.8,0.2) | |
486 | Spa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0)) | |
487 | Spa.Lifetime = NumberRange.new(1,2) | |
488 | Spa.Rate = 99 | |
489 | Spa.Transparency = NumberSequence.new(0.5,0.6) | |
490 | Spa.LightEmission = 0.75 | |
491 | Spa.Speed = NumberRange.new(2) | |
492 | Spa.Acceleration = Vector3.new(0, 0, 0) | |
493 | Spa.VelocitySpread = 1212 | |
494 | coroutine.resume(coroutine.create(function() | |
495 | for i = 1,300 do | |
496 | To.CFrame = Torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1,0) | |
497 | To.Transparency = To.Transparency + 0.00009 | |
498 | To2.Scale = To2.Scale + Vector3.new(0.05,0.05,0.05) | |
499 | game:GetService("RunService").RenderStepped:wait() | |
500 | end | |
501 | To:remove() | |
502 | end)) | |
503 | for i = 1,28 do | |
504 | for i = 0,0.1,0.1 do | |
505 | swait() | |
506 | PlayAnimationFromTable({ | |
507 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0), | |
508 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
509 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
510 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
511 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
512 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
513 | }, .5, false) | |
514 | end | |
515 | for i = 0,0.1,0.1 do | |
516 | swait() | |
517 | PlayAnimationFromTable({ | |
518 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -3, 0), | |
519 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
520 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
521 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
522 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
523 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
524 | }, .5, false) | |
525 | end | |
526 | for i = 0,0.1,0.1 do | |
527 | swait() | |
528 | PlayAnimationFromTable({ | |
529 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -4, 0), | |
530 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
531 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
532 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
533 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
534 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
535 | }, .5, false) | |
536 | end | |
537 | for i = 0,0.1,0.1 do | |
538 | swait() | |
539 | PlayAnimationFromTable({ | |
540 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -5, 0), | |
541 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
542 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
543 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
544 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
545 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
546 | }, .5, false) | |
547 | end | |
548 | game:GetService("RunService").RenderStepped:wait() | |
549 | end | |
550 | Pause = false | |
551 | To:remove() | |
552 | --- | |
553 | wait(1) | |
554 | D = false | |
555 | end | |
556 | end | |
557 | function Zoom() | |
558 | if not D then D = true | |
559 | Pause = true | |
560 | Character.Humanoid.WalkSpeed = 0 | |
561 | for i = 0,1.2,0.1 do | |
562 | swait() | |
563 | PlayAnimationFromTable({ | |
564 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.55, 0), | |
565 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.15, 0), | |
566 | CFrame.new(0.45,0.5,-1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(0,-0.5,-1.55), | |
567 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), | |
568 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
569 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
570 | }, .5, false) | |
571 | end | |
572 | local RA = Instance.new("Part",RightArm) | |
573 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
574 | - | RA.BrickColor = BrickColor.new("New Yeller") |
574 | + | RA.BrickColor = BrickColor.new("Bright red") |
575 | RA.Material = "Neon" | |
576 | RA.Transparency = 0 | |
577 | local RA2 = Instance.new("Weld",RA) | |
578 | RA2.Part0 = RightArm | |
579 | RA2.Part1 = RA | |
580 | RA2.C0 = CFrame.new(0,0,0) | |
581 | local E = Instance.new("Sound",Torso) | |
582 | E.SoundId = "rbxassetid://727821717" | |
583 | E.Volume = 112 | |
584 | E.Pitch = 1 | |
585 | E.Looped = false | |
586 | E:play() | |
587 | for i = 1,2 do ----15 | |
588 | for i = 1,5 do | |
589 | RA.Transparency = RA.Transparency + 0.1 | |
590 | game:GetService("RunService").RenderStepped:wait() | |
591 | end | |
592 | wait(0.1) | |
593 | for i = 1,5 do | |
594 | RA.Transparency = RA.Transparency - 0.1 | |
595 | game:GetService("RunService").RenderStepped:wait() | |
596 | end | |
597 | end | |
598 | for i = 1,10 do | |
599 | RA.Transparency = RA.Transparency + 0.1 | |
600 | game:GetService("RunService").RenderStepped:wait() | |
601 | end | |
602 | RightArm.Transparency = 1 | |
603 | local owo = Instance.new("Model",Torso) | |
604 | Instance.new("Humanoid",owo) | |
605 | Shirt:Clone().Parent = owo | |
606 | local R = Instance.new("Part",owo) | |
607 | R.Size = Vector3.new(1,2,1) | |
608 | R.TopSurface = 0 | |
609 | R.BottomSurface = 0 | |
610 | R.Name = 'Right Arm' | |
611 | R.BrickColor = RightArm.BrickColor | |
612 | R.CanCollide = false | |
613 | R.Anchored = true | |
614 | R.CFrame = RightArm.CFrame*CFrame.new(0,0,0) | |
615 | R.Touched:connect(function(hit) | |
616 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then | |
617 | if not ZZ then ZZ = true | |
618 | hit.Parent.Humanoid:TakeDamage(40) | |
619 | hit.Parent.Humanoid.Sit = true | |
620 | local Fl = Instance.new("BodyVelocity",hit.Parent.Torso) | |
621 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
622 | Fl.velocity = RootPart.CFrame.lookVector*130 | |
623 | wait(0.1) | |
624 | Fl:remove() | |
625 | wait(0.00001) | |
626 | ZZ = false | |
627 | end | |
628 | end | |
629 | end) | |
630 | coroutine.resume(coroutine.create(function() | |
631 | for i = 1,20 do | |
632 | R.Size = R.Size + Vector3.new(0,0.8,0) | |
633 | R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.5,0) | |
634 | game:GetService("RunService").RenderStepped:wait() | |
635 | end | |
636 | end)) | |
637 | for i = 0,1,0.1 do | |
638 | swait() | |
639 | PlayAnimationFromTable({ | |
640 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.5, 0), | |
641 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.2, 0), | |
642 | CFrame.new(1.95,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
643 | CFrame.new(-1.5,0,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.7, 0, 0), | |
644 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
645 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1) | |
646 | }, .5, false) | |
647 | end | |
648 | wait(1) | |
649 | for i = 1,20 do | |
650 | R.Size = R.Size - Vector3.new(0,0.8,0) | |
651 | R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.75,0) | |
652 | game:GetService("RunService").RenderStepped:wait() | |
653 | end | |
654 | RightArm.Transparency = 0 | |
655 | R:remove() | |
656 | Pause = false | |
657 | Character.Humanoid.WalkSpeed = 25 | |
658 | wait(1) | |
659 | D = false | |
660 | end | |
661 | end | |
662 | function Baby() | |
663 | if not D then D = true | |
664 | Pause = true | |
665 | for i = 0,1.2,0.1 do | |
666 | swait() | |
667 | PlayAnimationFromTable({ | |
668 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
669 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
670 | CFrame.new(1.5,1,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(2.8,0,0), | |
671 | CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
672 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
673 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
674 | }, .5, false) | |
675 | end | |
676 | wait(0.5) | |
677 | local Ba = Instance.new("Sound",Torso) | |
678 | Ba.SoundId = "rbxassetid://1037853116" | |
679 | Ba.Volume = math.huge | |
680 | Ba.Pitch = 1 | |
681 | Ba.Looped = false | |
682 | Ba:play() | |
683 | for i = 0,1.2,0.1 do | |
684 | swait() | |
685 | PlayAnimationFromTable({ | |
686 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
687 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
688 | CFrame.new(1.5,1,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(2.4,0,0), | |
689 | CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
690 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
691 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
692 | }, .5, false) | |
693 | end | |
694 | wait(0.8) | |
695 | Pause = false | |
696 | wait(0.5) | |
697 | D = false | |
698 | end | |
699 | end | |
700 | ||
701 | function Breathe() | |
702 | if not DZ then DZ = true | |
703 | Pause = true | |
704 | Character.Humanoid.WalkSpeed = 0 | |
705 | for i = 0,3,0.1 do | |
706 | swait() | |
707 | PlayAnimationFromTable({ | |
708 | CFrame.new(0,0.01,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0), | |
709 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.1, 0, 0), | |
710 | CFrame.new(1.5,0,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,0), | |
711 | CFrame.new(-1.5,0,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0), | |
712 | CFrame.new(0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1), | |
713 | CFrame.new(-0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.1), | |
714 | }, .5, false) | |
715 | end | |
716 | local P = Instance.new("Part",Character) | |
717 | P.Size = Vector3.new(0.1,0.1,0.1) | |
718 | P.Anchored = true | |
719 | P.Transparency = math.huge | |
720 | P.CanCollide = false | |
721 | P.CFrame = Head.CFrame*CFrame.new(0,-0.1,-1.9) | |
722 | local FlA = Instance.new("ParticleEmitter",P) | |
723 | FlA.Texture = "rbxassetid://833874434" | |
724 | FlA.Size = NumberSequence.new(0.7,0.1) | |
725 | FlA.EmissionDirection = "Back" | |
726 | FlA.Rotation = NumberRange.new(-100, 100) | |
727 | FlA.RotSpeed = NumberRange.new(-100, 100) | |
728 | FlA.Transparency = NumberSequence.new(0,1) | |
729 | FlA.Drag = 4 | |
730 | FlA.Lifetime = NumberRange.new(0.5) | |
731 | FlA.Rate = 1111 | |
732 | wait(2) | |
733 | FlA.Enabled = false | |
734 | wait(1) | |
735 | P:remove() | |
736 | for i = 0,3,0.1 do | |
737 | swait() | |
738 | PlayAnimationFromTable({ | |
739 | CFrame.new(0,0.01,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
740 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0), | |
741 | CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3,0,0), | |
742 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0), | |
743 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
744 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
745 | }, .5, false) | |
746 | end | |
747 | local RA = Instance.new("Part",RightArm) | |
748 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
749 | - | RA.BrickColor = BrickColor.new("New Yeller") |
749 | + | RA.BrickColor = BrickColor.new("Bright red") |
750 | RA.Material = "Neon" | |
751 | RA.Transparency = 0 | |
752 | local RA2 = Instance.new("Weld",RA) | |
753 | RA2.Part0 = RightArm | |
754 | RA2.Part1 = RA | |
755 | RA2.C0 = CFrame.new(0,0,0) | |
756 | local LA = Instance.new("Part",LeftArm) | |
757 | LA.Size = Vector3.new(1.1,2.1,1.1) | |
758 | - | LA.BrickColor = BrickColor.new("New Yeller") |
758 | + | LA.BrickColor = BrickColor.new("Bright red") |
759 | LA.Material = "Neon" | |
760 | LA.Transparency = 0 | |
761 | local LA2 = Instance.new("Weld",LA) | |
762 | LA2.Part0 = LeftArm | |
763 | LA2.Part1 = LA | |
764 | LA2.C0 = CFrame.new(0,0,0) | |
765 | local AZZ = Instance.new("ParticleEmitter",LA) | |
766 | AZZ.Texture = "rbxassetid://998225956" | |
767 | AZZ.EmissionDirection = "Top" | |
768 | AZZ.Rotation = NumberRange.new(-100, 100) | |
769 | AZZ.Size = NumberSequence.new(1) | |
770 | AZZ.Lifetime = NumberRange.new(0.8,1) | |
771 | AZZ.Rate = 50 | |
772 | AZZ.Speed = NumberRange.new(0.3) | |
773 | AZZ.LightEmission = 1 | |
774 | AZZ.VelocitySpread = 100 | |
775 | local LAZZ = Instance.new("ParticleEmitter",RA) | |
776 | LAZZ.Texture = "rbxassetid://998225956" | |
777 | LAZZ.EmissionDirection = "Top" | |
778 | LAZZ.Rotation = NumberRange.new(-100, 100) | |
779 | LAZZ.Size = NumberSequence.new(1) | |
780 | LAZZ.Lifetime = NumberRange.new(0.8,1) | |
781 | LAZZ.Rate = 50 | |
782 | LAZZ.Speed = NumberRange.new(0.3) | |
783 | LAZZ.LightEmission = 1 | |
784 | LAZZ.VelocitySpread = 100 | |
785 | local Spa = Instance.new("ParticleEmitter",RA) | |
786 | Spa.Texture = "rbxassetid://569507414" | |
787 | Spa.Size = NumberSequence.new(0.8,0.2) | |
788 | Spa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0)) | |
789 | Spa.Lifetime = NumberRange.new(1,2) | |
790 | Spa.Rate = 99 | |
791 | Spa.Transparency = NumberSequence.new(0.5,0.6) | |
792 | Spa.LightEmission = 0.75 | |
793 | Spa.Speed = NumberRange.new(2) | |
794 | Spa.Acceleration = Vector3.new(0, 0, 0) | |
795 | Spa.VelocitySpread = 1212 | |
796 | local Rpa = Instance.new("ParticleEmitter",LA) | |
797 | Rpa.Texture = "rbxassetid://569507414" | |
798 | Rpa.Size = NumberSequence.new(0.8,0.2) | |
799 | Rpa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0)) | |
800 | Rpa.EmissionDirection = "Top" | |
801 | Rpa.Lifetime = NumberRange.new(1,2) | |
802 | Rpa.Rate = 99 | |
803 | Rpa.Transparency = NumberSequence.new(0.5,0.6) | |
804 | Rpa.LightEmission = 0.75 | |
805 | Rpa.Speed = NumberRange.new(2) | |
806 | Rpa.Acceleration = Vector3.new(0, 0, 0) | |
807 | Rpa.VelocitySpread = 1212 | |
808 | for i = 1,5 do ----15 | |
809 | local E = Instance.new("Sound",Torso) | |
810 | E.SoundId = "rbxassetid://186130717" | |
811 | E.Volume = 1 | |
812 | E.Pitch = 1 | |
813 | E.Looped = false | |
814 | local E1 = Instance.new("Sound",Torso) | |
815 | E1.SoundId = "rbxassetid://727821717" | |
816 | E1.Volume = 0.1 | |
817 | E1.Pitch = 1 | |
818 | E1.Looped = false | |
819 | E1:play() | |
820 | E:play() | |
821 | for i = 1,5 do | |
822 | RA.Transparency = RA.Transparency + 0.1 | |
823 | LA.Transparency = LA.Transparency + 0.1 | |
824 | game:GetService("RunService").RenderStepped:wait() | |
825 | end | |
826 | wait(0.1) | |
827 | for i = 1,5 do | |
828 | RA.Transparency = RA.Transparency - 0.1 | |
829 | LA.Transparency = LA.Transparency - 0.1 | |
830 | game:GetService("RunService").RenderStepped:wait() | |
831 | end | |
832 | wait(0.1) | |
833 | for i = 1,9 do | |
834 | RA.Transparency = RA.Transparency + 0.1 | |
835 | LA.Transparency = LA.Transparency + 0.1 | |
836 | game:GetService("RunService").RenderStepped:wait() | |
837 | end | |
838 | wait(0.1) | |
839 | for i = 1,9 do | |
840 | RA.Transparency = RA.Transparency - 0.1 | |
841 | LA.Transparency = LA.Transparency - 0.1 | |
842 | game:GetService("RunService").RenderStepped:wait() | |
843 | end | |
844 | game:GetService("RunService").RenderStepped:wait() | |
845 | end | |
846 | Rpa.Enabled = false | |
847 | Spa.Enabled = false | |
848 | LAZZ.Enabled = false | |
849 | AZZ.Enabled = false | |
850 | local FlA = Instance.new("ParticleEmitter",LeftArm) | |
851 | FlA.Texture = "rbxassetid://313742348" | |
852 | FlA.Size = NumberSequence.new(0.7) | |
853 | FlA.Transparency = NumberSequence.new(0) | |
854 | FlA.Lifetime = NumberRange.new(0.4) | |
855 | FlA.Rate = 20 | |
856 | FlA.Rotation = NumberRange.new(-100, 100) | |
857 | FlA.Speed = NumberRange.new(0) | |
858 | FlA.LockedToPart = true | |
859 | local LP = Instance.new("ParticleEmitter",LeftArm) | |
860 | LP.Texture = "rbxassetid://1298571523" | |
861 | LP.Transparency = NumberSequence.new(0,1) | |
862 | LP.Size = NumberSequence.new(0.06) | |
863 | LP.Color = ColorSequence.new(Color3.fromRGB(255,255,0)) | |
864 | LP.Lifetime = NumberRange.new(1.5) | |
865 | LP.Rate = 4000 | |
866 | LP.ZOffset = 1 | |
867 | LP.VelocitySpread = 35 | |
868 | LP.Speed = NumberRange.new(0.3) | |
869 | LP.LightEmission = 1 | |
870 | LP.LightInfluence = 1 | |
871 | LP.LockedToPart = true | |
872 | local ZXA = Instance.new("ParticleEmitter",RightArm) | |
873 | ZXA.Texture = "rbxassetid://313742348" | |
874 | ZXA.Size = NumberSequence.new(0.7) | |
875 | ZXA.Transparency = NumberSequence.new(0) | |
876 | ZXA.Lifetime = NumberRange.new(0.4) | |
877 | ZXA.Rate = 20 | |
878 | ZXA.Rotation = NumberRange.new(-100, 100) | |
879 | ZXA.Speed = NumberRange.new(0) | |
880 | ZXA.LockedToPart = true | |
881 | local LLP = Instance.new("ParticleEmitter",RightArm) | |
882 | LLP.Texture = "rbxassetid://1298571523" | |
883 | LLP.Transparency = NumberSequence.new(0,1) | |
884 | LLP.Size = NumberSequence.new(0.06) | |
885 | LLP.Color = ColorSequence.new(Color3.fromRGB(255,255,0)) | |
886 | LLP.Lifetime = NumberRange.new(1.5) | |
887 | LLP.Rate = 4000 | |
888 | LLP.ZOffset = 1 | |
889 | LLP.VelocitySpread = 35 | |
890 | LLP.Speed = NumberRange.new(0.3) | |
891 | LLP.LightEmission = 1 | |
892 | LLP.LightInfluence = 1 | |
893 | LLP.LockedToPart = true | |
894 | Character.Humanoid.WalkSpeed = 25 | |
895 | wait(1) | |
896 | Pause = false | |
897 | for i = 1,11 do | |
898 | RA.Transparency = RA.Transparency + 0.1 | |
899 | LA.Transparency = LA.Transparency + 0.1 | |
900 | game:GetService("RunService").RenderStepped:wait() | |
901 | end | |
902 | LA:remove() | |
903 | RA:remove() | |
904 | Humanoid.MaxHealth = 400 | |
905 | wait(0.01) | |
906 | Humanoid.Health = 500 | |
907 | Mouse.KeyDown:connect(function(key) | |
908 | if key == "e" then | |
909 | Zoom() | |
910 | end | |
911 | if key == "r" then | |
912 | Torn() | |
913 | end | |
914 | end) | |
915 | Mouse.Button1Down:connect(function() | |
916 | if attack == false and attacktype == 1 then | |
917 | Hit1() | |
918 | attacktype = 2 | |
919 | elseif attack == false and attacktype == 2 then | |
920 | Hit2() | |
921 | attacktype = 1 | |
922 | end | |
923 | end) | |
924 | wait(12412412) | |
925 | DZ = false | |
926 | end | |
927 | end | |
928 | Mouse.KeyDown:connect(function(key) | |
929 | if key == "m" then | |
930 | Baby() | |
931 | end | |
932 | if key == "z" then | |
933 | Breathe() | |
934 | end | |
935 | end) | |
936 | ||
937 | New = function(Object, Parent, Name, Data) | |
938 | local Object = Instance.new(Object) | |
939 | for Index, Value in pairs(Data or {}) do | |
940 | Object[Index] = Value | |
941 | end | |
942 | Object.Parent = Parent | |
943 | Object.Name = Name | |
944 | return Object | |
945 | end | |
946 | function rayCast(Position, Direction, Range, Ignore) | |
947 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
948 | end | |
949 | ||
950 | ||
951 | ||
952 | ||
953 | coroutine.wrap(function() | |
954 | while 1 do | |
955 | swait() | |
956 | if doe <= 360 then | |
957 | doe = doe + 2 | |
958 | else | |
959 | doe = 0 | |
960 | end | |
961 | end | |
962 | end)() | |
963 | while true do | |
964 | swait() | |
965 | for i, v in pairs(Character:GetChildren()) do | |
966 | if v:IsA("Part") then | |
967 | v.Material = "SmoothPlastic" | |
968 | elseif v:IsA("Accessory") then | |
969 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
970 | end | |
971 | end | |
972 | ||
973 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
974 | velocity = RootPart.Velocity.y | |
975 | sine = sine + change | |
976 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
977 | if RootPart.Velocity.y > 1 and hit == nil then | |
978 | Anim = "Jump" | |
979 | if Pause == false then | |
980 | PlayAnimationFromTable({ | |
981 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
982 | CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
983 | CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
984 | CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
985 | CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
986 | CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
987 | }, .3, false) | |
988 | end | |
989 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
990 | Anim = "Fall" | |
991 | if Pause == false then | |
992 | PlayAnimationFromTable({ | |
993 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
994 | CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
995 | CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
996 | CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
997 | CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
998 | CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
999 | }, .3, false) | |
1000 | end | |
1001 | elseif Torsovelocity < 1 and hit ~= nil then | |
1002 | Anim = "Idle" | |
1003 | if Pause == false then | |
1004 | change = 1 | |
1005 | PlayAnimationFromTable({ | |
1006 | CFrame.new(0,0,0) * CFrame.new(0, 0-.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0), | |
1007 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0-.08*math.sin(tick()*2),0,0)*CFrame.Angles(-0.2, 0, 0), | |
1008 | CFrame.new(1.1,1,-0.8) * CFrame.new(0, 0-.08*math.sin(tick()*2), 0) * CFrame.Angles(3.1,0,-0.4), | |
1009 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0-.08*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0), | |
1010 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0.1), | |
1011 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, -0.1), | |
1012 | }, .3, false) | |
1013 | end | |
1014 | elseif Torsovelocity > 2 and hit ~= nil then | |
1015 | Anim = "Walk" | |
1016 | if Pause == false then | |
1017 | PlayAnimationFromTable({ | |
1018 | CFrame.new(0,0,0) * CFrame.new(0,0,0)*CFrame.Angles(-0.3,0-.1*math.sin(tick()*9),0+RootPart.RotVelocity.Y/29), | |
1019 | CFrame.new(0,1.5,0) * CFrame.new(0,0,0) * CFrame.Angles(0,0,0)*CFrame.Angles(-0.3, 0, 0), | |
1020 | CFrame.new(1.1,1,-0.8) * CFrame.new(0,0,0) * CFrame.Angles(3.1,0,-0.4), | |
1021 | CFrame.new(-1.5,0,0) * CFrame.new(0,0,0+.5 * math.cos((sine) / 3.5))*CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 3.5)),0,0), | |
1022 | CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 3.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 3.5)), 0, 0-RootPart.RotVelocity.Y/33), | |
1023 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 3.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 3.5)), 0, 0-RootPart.RotVelocity.Y/33), | |
1024 | }, .3, false) | |
1025 | end | |
1026 | end | |
1027 | end |