SHOW:
|
|
- or go back to the newest paste.
1 | local lovecounter = false | |
2 | local love = 666 | |
3 | local sprint = false | |
4 | local done = false | |
5 | local canheal = false | |
6 | local deathchat1 = false | |
7 | local once = true | |
8 | local breakjoints = true | |
9 | local dead = false | |
10 | local candie = true | |
11 | local deathchat = false | |
12 | local canattack = true | |
13 | local colorred = 0 | |
14 | local lala = true | |
15 | local idleon = true | |
16 | local walking = true | |
17 | local idle1 = true | |
18 | local canchange = false | |
19 | local idle = true | |
20 | local p = game.Players.LocalPlayer | |
21 | local char = p.Character | |
22 | local mouse = p:GetMouse() | |
23 | local larm = char["Left Arm"] | |
24 | local rarm = char["Right Arm"] | |
25 | local lleg = char["Left Leg"] | |
26 | local rleg = char["Right Leg"] | |
27 | local hed = char.Head | |
28 | local torso = char.Torso | |
29 | local hum = char.Humanoid | |
30 | ||
31 | um = Instance.new("Part",char) | |
32 | um.Name = "Immune" | |
33 | um.CanCollide = false | |
34 | um.Anchored = true | |
35 | um.Transparency = 1 | |
36 | dead = true | |
37 | local cam = game.Workspace.CurrentCamera | |
38 | local root = char.HumanoidRootPart | |
39 | local deb = false | |
40 | local shot = 0 | |
41 | local debris=game:service"Debris" | |
42 | local l = game:GetService("Lighting") | |
43 | local rs = game:GetService("RunService").RenderStepped | |
44 | local Create = LoadLibrary("RbxUtility").Create | |
45 | ff = Instance.new("ForceField",char) | |
46 | ff.Visible = false | |
47 | ArtificialHB = Create("BindableEvent", script){ | |
48 | Parent = script, | |
49 | Name = "Heartbeat", | |
50 | } | |
51 | CFuncs = { | |
52 | ||
53 | ||
54 | ["Sound"] = { | |
55 | Create = function(id, par, vol, pit) | |
56 | coroutine.resume(coroutine.create(function() | |
57 | local S = Create("Sound"){ | |
58 | Volume = vol, | |
59 | Pitch = pit or 1, | |
60 | SoundId = id, | |
61 | Parent = par or workspace, | |
62 | } | |
63 | wait() | |
64 | S:play() | |
65 | game:GetService("Debris"):AddItem(S, 6) | |
66 | end)) | |
67 | end; | |
68 | }; | |
69 | ||
70 | ||
71 | ||
72 | CreateTemplate = { | |
73 | ||
74 | }; | |
75 | } | |
76 | function swait(num) | |
77 | if num == 0 or num == nil then | |
78 | ArtificialHB.Event:wait() | |
79 | else | |
80 | for i = 0, num do | |
81 | ArtificialHB.Event:wait() | |
82 | end | |
83 | end | |
84 | end | |
85 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
86 | function lerp(a, b, t) -- Linear interpolation | |
87 | return a + (b - a)*t | |
88 | end | |
89 | ||
90 | function slerp(a, b, t) --Spherical interpolation | |
91 | dot = a:Dot(b) | |
92 | if dot > 0.99999 or dot < -0.99999 then | |
93 | return t <= 0.5 and a or b | |
94 | else | |
95 | r = math.acos(dot) | |
96 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
97 | end | |
98 | end | |
99 | function matrixInterpolate(a, b, t) | |
100 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
101 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
102 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
103 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
104 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
105 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
106 | local t = v1:Dot(v2) | |
107 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
108 | return CFrame.new() | |
109 | end | |
110 | return CFrame.new( | |
111 | v0.x, v0.y, v0.z, | |
112 | v1.x, v1.y, v1.z, | |
113 | v2.x, v2.y, v2.z, | |
114 | v3.x, v3.y, v3.z) | |
115 | end | |
116 | ---------------------------------------------------- | |
117 | function genWeld(a,b) | |
118 | local w = Instance.new("Weld",a) | |
119 | w.Part0 = a | |
120 | w.Part1 = b | |
121 | return w | |
122 | end | |
123 | function weld(a, b) | |
124 | local weld = Instance.new("Weld") | |
125 | weld.Name = "W" | |
126 | weld.Part0 = a | |
127 | weld.Part1 = b | |
128 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
129 | weld.Parent = a | |
130 | return weld; | |
131 | end | |
132 | ---------------------------------------------------- | |
133 | function Lerp(c1,c2,al) | |
134 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
135 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
136 | for i,v in pairs(com1) do | |
137 | com1[i] = v+(com2[i]-v)*al | |
138 | end | |
139 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
140 | end | |
141 | ---------------------------------------------------- | |
142 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
143 | local wld = Instance.new("Weld", wp1) | |
144 | wld.Part0 = wp0 | |
145 | wld.Part1 = wp1 | |
146 | ||
147 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
148 | end | |
149 | ---------------------------------------------------- | |
150 | function weld5(part0, part1, c0, c1) | |
151 | weeld=Instance.new("Weld", part0) | |
152 | weeld.Part0=part0 | |
153 | weeld.Part1=part1 | |
154 | weeld.C0=c0 | |
155 | weeld.C1=c1 | |
156 | return weeld | |
157 | end | |
158 | ---------------------------------------------------- | |
159 | function HasntTouched(plrname) | |
160 | local ret = true | |
161 | for _, v in pairs(Touche) do | |
162 | if v == plrname then | |
163 | ret = false | |
164 | end | |
165 | end | |
166 | return ret | |
167 | end | |
168 | newWeld(torso, larm, -1.5, 0.5, 0) | |
169 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
170 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
171 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
172 | newWeld(torso, hed, 0, 1.5, 0) | |
173 | newWeld(torso, lleg, -0.5, -1, 0) | |
174 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
175 | newWeld(torso, rleg, 0.5, -1, 0) | |
176 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
177 | newWeld(root, torso, 0, -1, 0) | |
178 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
179 | ||
180 | function chatfunc(text) | |
181 | local chat = coroutine.wrap(function() | |
182 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
183 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
184 | end | |
185 | local naeeym2 = Instance.new("BillboardGui",char) | |
186 | naeeym2.Size = UDim2.new(0,100,0,40) | |
187 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
188 | naeeym2.Adornee = hed | |
189 | naeeym2.Name = "TalkingBillBoard" | |
190 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
191 | tecks2.BackgroundTransparency = 1 | |
192 | tecks2.BorderSizePixel = 0 | |
193 | tecks2.Text = "" | |
194 | tecks2.Font = "Arcade" | |
195 | tecks2.TextSize = 30 | |
196 | tecks2.TextStrokeTransparency = 0 | |
197 | tecks2.TextColor3 = Color3.new(255,0,0) | |
198 | tecks2.TextStrokeColor3 = Color3.new(255,0,0) | |
199 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
200 | ||
201 | for i = 1,string.len(text),1 do | |
202 | - | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", hed, 6, .8) |
202 | + | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=417445954", hed, 6, .8) |
203 | tecks2.Text = string.sub(text,1,i) | |
204 | ||
205 | wait(0.01) | |
206 | end | |
207 | wait(2) | |
208 | for i = 1, 50 do | |
209 | swait() | |
210 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
211 | tecks2.Rotation = tecks2.Rotation - .8 | |
212 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
213 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
214 | ||
215 | end | |
216 | naeeym2:Destroy() | |
217 | end) | |
218 | chat() | |
219 | end | |
220 | function onChatted(msg) | |
221 | chatfunc(msg) | |
222 | end | |
223 | p.Chatted:connect(onChatted) | |
224 | hed.face.Texture = "http://www.roblox.com/asset/?id=1430746354" | |
225 | ypcall(function() | |
226 | shirt = Instance.new("Shirt", char) | |
227 | shirt.Name = "Shirt" | |
228 | pants = Instance.new("Pants", char) | |
229 | pants.Name = "Pants" | |
230 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=166273878" | |
231 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=166273938" | |
232 | end) | |
233 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") | |
234 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") | |
235 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") | |
236 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") | |
237 | ||
238 | MegaloStrikesBack = Instance.new("Sound",torso) | |
239 | MegaloStrikesBack.Looped = true | |
240 | - | MegaloStrikesBack.SoundId = "http://www.roblox.com/asset?id=1163834766" |
240 | + | MegaloStrikesBack.SoundId = "http://www.roblox.com/asset?id=161797718" |
241 | MegaloStrikesBack.Volume = 50 | |
242 | MegaloStrikesBack:Play() | |
243 | for _, v in pairs(char:GetChildren()) do | |
244 | if v.ClassName == "Accessory" then | |
245 | v:remove() | |
246 | end | |
247 | end | |
248 | local Hat = char:FindFirstChild("Hat_F") or Instance.new("Hat") | |
249 | Hat.AttachmentPos = Vector3.new(0, 0.33, 0) | |
250 | Hat.Name = "Hat_F" | |
251 | local Handle = Hat:FindFirstChild("Handle") or Instance.new("Part", Hat) | |
252 | if Handle.Name ~= "Handle" then | |
253 | Handle.Size = Vector3.new(1, 1, 1) | |
254 | end | |
255 | Handle.BottomSurface = 0 | |
256 | Handle.Name = "Handle" | |
257 | Handle.TopSurface = 0 | |
258 | Handle.Locked = 1 | |
259 | local Mesh = Hat:FindFirstChild("Mesh") or Instance.new("SpecialMesh", Handle) | |
260 | - | Mesh.textureMeshId = "https://roblox.com/asset/?id=" |
260 | + | |
261 | Mesh.VertexColor = Vector3.new(1, 1, 1) | |
262 | Mesh.Scale = Vector3.new(1.05, 1.05, 1.05) | |
263 | Hat.Parent = char | |
264 | ||
265 | handle = Instance.new("Part", char) | |
266 | handle.TopSurface = "Smooth" | |
267 | handle.BottomSurface = "Smooth" | |
268 | handle.Material = "Neon" | |
269 | ||
270 | handle.Size = Vector3.new(0.2, 0.5, 0.5) | |
271 | handle.CanCollide = false | |
272 | ||
273 | handle.FormFactor = "Custom" | |
274 | local Weldb = Instance.new("Weld", char) | |
275 | Weldb.Part0 = char["Right Arm"] | |
276 | Weldb.Part1 = handle | |
277 | Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0) | |
278 | local KnifeMesh = Instance.new("SpecialMesh", handle) | |
279 | KnifeMesh.MeshType = "FileMesh" | |
280 | KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=145815658" | |
281 | - | KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=121944778" |
281 | + | KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=186913315" |
282 | - | KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805" |
282 | + | |
283 | blackhand = Instance.new("Part",char) | |
284 | blackhand.Material = "Neon" | |
285 | blackhand.Transparency = 1 | |
286 | blackhand.BrickColor = BrickColor.new("Really black") | |
287 | blackhand.Position = Vector3.new(999,999,999) | |
288 | blackhand.Size = Vector3.new(1.01,1.01,1.01) | |
289 | blackweld = Instance.new("Weld",blackhand) | |
290 | blackweld.Part0 = rarm | |
291 | blackweld.Part1 = blackhand | |
292 | blackweld.C0 = CFrame.new(0,-0.5,0) | |
293 | ||
294 | ||
295 | CV="Really purple" | |
296 | ||
297 | local txt = Instance.new("BillboardGui", char) | |
298 | txt.Adornee = hed | |
299 | txt.Name = "_status" | |
300 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
301 | txt.StudsOffset = Vector3.new(-9, 11, 0) | |
302 | local text = Instance.new("TextLabel", txt) | |
303 | text.Size = UDim2.new(10, 0, 7, 0) | |
304 | text.FontSize = "Size24" | |
305 | text.TextScaled = true | |
306 | text.TextTransparency = 0 | |
307 | text.BackgroundTransparency = 1 | |
308 | text.TextTransparency = 0 | |
309 | text.TextStrokeTransparency = 0 | |
310 | text.Font = "Arcade" | |
311 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
312 | ||
313 | v=Instance.new("Part") | |
314 | v.Name = "ColorBrick" | |
315 | v.Parent=char | |
316 | v.FormFactor="Symmetric" | |
317 | v.Anchored=true | |
318 | v.CanCollide=false | |
319 | v.BottomSurface="Smooth" | |
320 | v.TopSurface="Smooth" | |
321 | v.Size=Vector3.new(10,5,3) | |
322 | v.Transparency=1 | |
323 | v.CFrame=torso.CFrame | |
324 | v.BrickColor=BrickColor.new(CV) | |
325 | v.Transparency=1 | |
326 | text.TextColor3 = Color3.new(0,0,0) | |
327 | v.Shape="Block" | |
328 | text.Text = "" | |
329 | ||
330 | refused = Instance.new("Sound",larm) | |
331 | refused.Volume = 100 | |
332 | refused.SoundId = "http://www.roblox.com/asset/?id=400905079" | |
333 | ||
334 | game:GetService("RunService").RenderStepped:connect(function() | |
335 | ||
336 | if lala == true then | |
337 | if canchange == true then | |
338 | canchange = false | |
339 | ||
340 | handle.BrickColor = BrickColor.new("Really purple") | |
341 | wait(0.01) | |
342 | handle.BrickColor = BrickColor.new("Really purple") | |
343 | wait(0.01) | |
344 | handle.BrickColor = BrickColor.new("Really purple") | |
345 | wait(0.01) | |
346 | handle.BrickColor = BrickColor.new("Really purple") | |
347 | wait(0.01) | |
348 | handle.BrickColor = BrickColor.new("Really purple") | |
349 | wait(0.01) | |
350 | handle.BrickColor = BrickColor.new("Really purple") | |
351 | wait(0.01) | |
352 | handle.BrickColor = BrickColor.new("Really purple") | |
353 | wait(0.01) | |
354 | canchange = true | |
355 | end | |
356 | end | |
357 | if hum.MoveDirection.x == 0 then | |
358 | if idle == true then | |
359 | if idleon == true then | |
360 | idleon = false | |
361 | for i = 1,10 do | |
362 | wait() | |
363 | if hum.MoveDirection.x == 0 then | |
364 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.3, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
365 | end | |
366 | if hum.MoveDirection.x == 0 then | |
367 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)), 0.1) | |
368 | end | |
369 | if hum.MoveDirection.x == 0 then | |
370 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.1) | |
371 | end | |
372 | if hum.MoveDirection.x == 0 then | |
373 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.7, -0.3) * CFrame.Angles(math.rad(5), 0, math.rad(-2)), 0.1) | |
374 | end | |
375 | if hum.MoveDirection.x == 0 then | |
376 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(2)), 0.1) | |
377 | end | |
378 | end | |
379 | ||
380 | ||
381 | ||
382 | ||
383 | for i = 1,10 do | |
384 | wait() | |
385 | if hum.MoveDirection.x == 0 then | |
386 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
387 | end | |
388 | if hum.MoveDirection.x == 0 then | |
389 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(20)), 0.1) | |
390 | end | |
391 | if hum.MoveDirection.x == 0 then | |
392 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(-20)), 0.1) | |
393 | end | |
394 | if hum.MoveDirection.x == 0 then | |
395 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.2) * CFrame.Angles(math.rad(5), 0, math.rad(-2)), 0.1) | |
396 | end | |
397 | if hum.MoveDirection.x == 0 then | |
398 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(2)), 0.1) | |
399 | end | |
400 | end | |
401 | idleon = true | |
402 | end | |
403 | ||
404 | ||
405 | ||
406 | end | |
407 | end | |
408 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
409 | if walking == true then | |
410 | if sprint == false then | |
411 | if idle1 == true then | |
412 | idle1 = false | |
413 | ||
414 | idle = false | |
415 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
416 | for i = 1,10 do | |
417 | wait() | |
418 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
419 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.1) | |
420 | end | |
421 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
422 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.1) | |
423 | end | |
424 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
425 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
426 | end | |
427 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
428 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-2)), 0.1) | |
429 | end | |
430 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
431 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, math.rad(2)), 0.1) | |
432 | end | |
433 | ||
434 | end | |
435 | end | |
436 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
437 | for i = 1,10 do | |
438 | wait() | |
439 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
440 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.1) | |
441 | end | |
442 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
443 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-20)), 0.1) | |
444 | end | |
445 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
446 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
447 | end | |
448 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
449 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, math.rad(-2)), 0.1) | |
450 | end | |
451 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
452 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(90), 0, math.rad(2)), 0.1) | |
453 | end | |
454 | end | |
455 | end | |
456 | if hum.MoveDirection.x == 0 then | |
457 | idle = true | |
458 | end | |
459 | idle1 = true | |
460 | end | |
461 | end | |
462 | end | |
463 | ||
464 | end | |
465 | ---------------------------------------------------------------------------------- | |
466 | ||
467 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
468 | if walking == true then | |
469 | if sprint == true then | |
470 | if idle1 == true then | |
471 | idle1 = false | |
472 | ||
473 | idle = false | |
474 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
475 | for i = 1,8 do | |
476 | wait() | |
477 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
478 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(20)), 0.1) | |
479 | end | |
480 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
481 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(-20)), 0.1) | |
482 | end | |
483 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
484 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.1) | |
485 | end | |
486 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
487 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-2)), 0.1) | |
488 | end | |
489 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
490 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-120), 0, math.rad(2)), 0.1) | |
491 | end | |
492 | ||
493 | end | |
494 | end | |
495 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
496 | for i = 1,8 do | |
497 | wait() | |
498 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
499 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.1) | |
500 | end | |
501 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
502 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(-20)), 0.1) | |
503 | end | |
504 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
505 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.1) | |
506 | end | |
507 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
508 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-120), 0, math.rad(-2)), 0.1) | |
509 | end | |
510 | if hum.MoveDirection.x < 0 or hum.MoveDirection.x > 0 then | |
511 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(90), 0, math.rad(2)), 0.1) | |
512 | end | |
513 | ||
514 | end | |
515 | end | |
516 | if hum.MoveDirection.x == 0 then | |
517 | idle = true | |
518 | end | |
519 | idle1 = true | |
520 | end | |
521 | end | |
522 | end | |
523 | end | |
524 | ||
525 | if deathchat1 == true then | |
526 | char.Parent = workspace.Camera | |
527 | char.Archivable = true | |
528 | local c = p.Character:Clone() | |
529 | c:MakeJoints() | |
530 | for y,t in pairs(c:GetChildren()) do | |
531 | if t:IsA("Part") then | |
532 | t.CanCollide = false | |
533 | t.Anchored = true | |
534 | t.BrickColor = BrickColor.new("Black") | |
535 | t.Transparency = 1 | |
536 | ||
537 | t.TopSurface = "Smooth" | |
538 | t.BottomSurface = "Smooth" | |
539 | t.RightSurface = "Smooth" | |
540 | t.LeftSurface = "Smooth" | |
541 | t.FrontSurface = "Smooth" | |
542 | t.BackSurface = "Smooth" | |
543 | ||
544 | ||
545 | else | |
546 | t:Remove() | |
547 | end | |
548 | end | |
549 | c.Parent = workspace | |
550 | game.Debris:AddItem(c,.05) | |
551 | end | |
552 | ||
553 | hum:SetStateEnabled("Dead",false) | |
554 | hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
555 | if hum.Health < 5 and candie == true then | |
556 | hum.Name = "NOMOREDAMAGE" | |
557 | canheal = true | |
558 | done = false | |
559 | ||
560 | done = true | |
561 | candie = false | |
562 | dead = true | |
563 | MegaloStrikesBack.Volume = 0 | |
564 | refused:Play() | |
565 | ||
566 | deathchat = true | |
567 | end | |
568 | if deathchat == true then | |
569 | deathchat = false | |
570 | idle = false | |
571 | ||
572 | hed.face.Texture = "0" | |
573 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
574 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
575 | end | |
576 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
577 | idle1 = false | |
578 | canattack = false | |
579 | gothitdecal2 = Instance.new("Decal",torso) | |
580 | gothitdecal2.Texture = "http://www.roblox.com/asset/?id=318427241" | |
581 | gothitdecal2.Face = "Back" | |
582 | gothitdecal1 = Instance.new("Decal",torso) | |
583 | gothitdecal1.Texture = "http://www.roblox.com/asset/?id=318427241" | |
584 | hed.Transparency = 1 | |
585 | torso.Transparency = 1 | |
586 | larm.Transparency = 1 | |
587 | rarm.Transparency = 1 | |
588 | lovecounter = false | |
589 | text.Text = "" | |
590 | ||
591 | lleg.Transparency = 1 | |
592 | rleg.Transparency = 1 | |
593 | handle.Transparency = 1 | |
594 | Handle.Transparency = 1 | |
595 | blackhand.Transparency = 1 | |
596 | wait(1) | |
597 | refused:Stop() | |
598 | wait(2) | |
599 | ||
600 | chatfunc("But It Refused") | |
601 | wait(1.5) | |
602 | candie = true | |
603 | idle = true | |
604 | idle1 = true | |
605 | hed.face.Texture = "http://www.roblox.com/asset/?id=393521316" | |
606 | - | hed.face.Texture = "http://www.roblox.com/asset/?id=946610608" |
606 | + | |
607 | lleg.Anchored = false | |
608 | rleg.Anchored = false | |
609 | larm.Anchored = false | |
610 | rarm.Anchored = false | |
611 | hed.Anchored = false | |
612 | torso.Anchored = false | |
613 | gothitdecal2:Destroy() | |
614 | gothitdecal1:Destroy() | |
615 | for i = 1,10 do | |
616 | wait() | |
617 | hed.Transparency = hed.Transparency - 0.1 | |
618 | torso.Transparency = torso.Transparency - 0.1 | |
619 | larm.Transparency = larm.Transparency - 0.1 | |
620 | rarm.Transparency = rarm.Transparency - 0.1 | |
621 | lleg.Transparency = lleg.Transparency - 0.1 | |
622 | rleg.Transparency = rleg.Transparency - 0.1 | |
623 | handle.Transparency = handle.Transparency - 0.1 | |
624 | Handle.Transparency = Handle.Transparency - 0.1 | |
625 | blackhand.Transparency = blackhand.Transparency - 0.1 | |
626 | end | |
627 | lovecounter = true | |
628 | dead = false | |
629 | deathchat1 = false | |
630 | canheal = false | |
631 | hum.Health = 100 | |
632 | ||
633 | MegaloStrikesBack.Volume = 50 | |
634 | wait(1) | |
635 | hum.Name = "Humanoid" | |
636 | end | |
637 | ||
638 | ||
639 | ||
640 | ||
641 | ||
642 | ||
643 | if canheal == true then | |
644 | ||
645 | hum.Health = math.huge | |
646 | ||
647 | end | |
648 | ||
649 | if lovecounter == true then | |
650 | text.Text = "Happy Lv "..love | |
651 | - | text.Text = "Robert Lv "..love |
651 | + | |
652 | end) | |
653 | ||
654 | game.Players.CharacterAutoLoads = false | |
655 | ||
656 | ||
657 | ||
658 | ||
659 | hed.Transparency = 0 | |
660 | torso.Transparency = 0 | |
661 | larm.Transparency = 0 | |
662 | rarm.Transparency = 0 | |
663 | lleg.Transparency = 0 | |
664 | rleg.Transparency = 0 | |
665 | handle.Transparency = 0 | |
666 | Handle.Transparency = 0 | |
667 | ||
668 | ||
669 | idle = false | |
670 | walking = false | |
671 | soul1 = Instance.new("Part",char) | |
672 | soul1.Shape = "Ball" | |
673 | soul1.Material = "Neon" | |
674 | soul1.BrickColor = BrickColor.new("Really blue") | |
675 | soul1.Size = Vector3.new(1,1,1) | |
676 | soul1.Transparency = 0.5 | |
677 | soul1weld = Instance.new("Weld",soul1) | |
678 | soul1weld.Part0 = torso | |
679 | soul1weld.Part1 = soul1 | |
680 | soul1weld.C0 = CFrame.new(4,2,0) | |
681 | soul2 = Instance.new("Part",char) | |
682 | soul2.Shape = "Ball" | |
683 | soul2.Material = "Neon" | |
684 | soul2.Transparency = 0.5 | |
685 | soul2.BrickColor = BrickColor.new("Bright green") | |
686 | soul2.Size = Vector3.new(1,1,1) | |
687 | soul2weld = Instance.new("Weld",soul2) | |
688 | soul2weld.Part0 = torso | |
689 | soul2weld.Part1 = soul2 | |
690 | soul2weld.C0 = CFrame.new(5,2,0) | |
691 | soul3 = Instance.new("Part",char) | |
692 | soul3.Shape = "Ball" | |
693 | soul3.Transparency = 0.5 | |
694 | soul3.Material = "Neon" | |
695 | soul3.BrickColor = BrickColor.new("Toothpaste") | |
696 | soul3.Size = Vector3.new(1,1,1) | |
697 | soul3weld = Instance.new("Weld",soul3) | |
698 | soul3weld.Part0 = torso | |
699 | soul3weld.Part1 = soul3 | |
700 | soul3weld.C0 = CFrame.new(6,2,0) | |
701 | soul4 = Instance.new("Part",char) | |
702 | soul4.Shape = "Ball" | |
703 | soul4.Transparency = 0.5 | |
704 | soul4.Material = "Neon" | |
705 | soul4.BrickColor = BrickColor.new("New Yeller") | |
706 | soul4.Size = Vector3.new(1,1,1) | |
707 | soul4weld = Instance.new("Weld",soul4) | |
708 | soul4weld.Part0 = torso | |
709 | soul4weld.Part1 = soul4 | |
710 | soul4weld.C0 = CFrame.new(4,-1,0) | |
711 | soul5 = Instance.new("Part",char) | |
712 | soul5.Shape = "Ball" | |
713 | soul5.Material = "Neon" | |
714 | soul5.Transparency = 0.5 | |
715 | soul5.BrickColor = BrickColor.new("Magenta") | |
716 | soul5.Size = Vector3.new(1,1,1) | |
717 | soul5weld = Instance.new("Weld",soul5) | |
718 | soul5weld.Part0 = torso | |
719 | soul5weld.Part1 = soul5 | |
720 | soul5weld.C0 = CFrame.new(5,-1,0) | |
721 | soul6 = Instance.new("Part",char) | |
722 | soul6.Shape = "Ball" | |
723 | soul6.Transparency = 0.5 | |
724 | soul6.Material = "Neon" | |
725 | soul6.BrickColor = BrickColor.new("Deep orange") | |
726 | soul6.Size = Vector3.new(1,1,1) | |
727 | soul6weld = Instance.new("Weld",soul6) | |
728 | soul6weld.Part0 = torso | |
729 | soul6weld.Part1 = soul6 | |
730 | soul6weld.C0 = CFrame.new(6,-1,0) | |
731 | soul1s = Instance.new("Part",char) | |
732 | soul1s.Shape = "Ball" | |
733 | soul1s.Material = "Neon" | |
734 | soul1s.BrickColor = BrickColor.new("White") | |
735 | soul1s.Size = Vector3.new(0.9,0.9,0.9) | |
736 | soul1s.Transparency = 0.2 | |
737 | soul1sweld = Instance.new("Weld",soul1s) | |
738 | soul1sweld.Part0 = torso | |
739 | soul1sweld.Part1 = soul1s | |
740 | soul1sweld.C0 = CFrame.new(4,2,0) | |
741 | soul2s = Instance.new("Part",char) | |
742 | soul2s.Shape = "Ball" | |
743 | soul2s.Material = "Neon" | |
744 | soul2s.Transparency = 0.2 | |
745 | soul2s.BrickColor = BrickColor.new("White") | |
746 | soul2s.Size = Vector3.new(0.9,0.9,0.9) | |
747 | soul2sweld = Instance.new("Weld",soul2s) | |
748 | soul2sweld.Part0 = torso | |
749 | soul2sweld.Part1 = soul2s | |
750 | soul2sweld.C0 = CFrame.new(5,2,0) | |
751 | soul3s = Instance.new("Part",char) | |
752 | soul3s.Shape = "Ball" | |
753 | soul3s.Material = "Neon" | |
754 | soul3s.Transparency = 0.2 | |
755 | soul3s.BrickColor = BrickColor.new("White") | |
756 | soul3s.Size = Vector3.new(0.9,0.9,0.9) | |
757 | soul3sweld = Instance.new("Weld",soul3s) | |
758 | soul3sweld.Part0 = torso | |
759 | soul3sweld.Part1 = soul3s | |
760 | soul3sweld.C0 = CFrame.new(6,2,0) | |
761 | soul4s = Instance.new("Part",char) | |
762 | soul4s.Shape = "Ball" | |
763 | soul4s.Material = "Neon" | |
764 | soul4s.Transparency = 0.2 | |
765 | soul4s.BrickColor = BrickColor.new("White") | |
766 | soul4s.Material = "Neon" | |
767 | soul4s.Size = Vector3.new(0.9,0.9,0.9) | |
768 | soul4sweld = Instance.new("Weld",soul4s) | |
769 | soul4sweld.Part0 = torso | |
770 | soul4sweld.Part1 = soul4s | |
771 | soul4sweld.C0 = CFrame.new(4,-1,0) | |
772 | soul5s = Instance.new("Part",char) | |
773 | soul5s.Shape = "Ball" | |
774 | soul5s.Transparency = 0.2 | |
775 | soul5s.BrickColor = BrickColor.new("White") | |
776 | soul5s.Size = Vector3.new(0.9,0.9,0.9) | |
777 | soul5s.Material = "Neon" | |
778 | soul5sweld = Instance.new("Weld",soul5s) | |
779 | soul5sweld.Part0 = torso | |
780 | soul5sweld.Part1 = soul5s | |
781 | soul5sweld.C0 = CFrame.new(5,-1,0) | |
782 | soul6s = Instance.new("Part",char) | |
783 | soul6s.Shape = "Ball" | |
784 | soul6s.Material = "Neon" | |
785 | soul6s.Transparency = 0.2 | |
786 | soul6s.BrickColor = BrickColor.new("White") | |
787 | soul6s.Size = Vector3.new(0.9,0.9,0.9) | |
788 | soul6sweld = Instance.new("Weld",soul6s) | |
789 | soul6sweld.Part0 = torso | |
790 | soul6sweld.Part1 = soul6s | |
791 | soul6sweld.C0 = CFrame.new(6,-1,0) | |
792 | ||
793 | chatfunc("Hello old friend") | |
794 | wait(2) | |
795 | chatfunc("I will never forget you") | |
796 | wait(2) | |
797 | chatfunc("Becouse i need to kill you") | |
798 | wait(2) | |
799 | ||
800 | chatfunc("im sorry for this") | |
801 | Weldb.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(-3, 0, 0) | |
802 | for i = 1,100 do | |
803 | wait() | |
804 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.01) | |
805 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-180),math.rad(0),math.rad(-200)), 0.01) | |
806 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.01) | |
807 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-4)), 0.01) | |
808 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(4)), 0.01) | |
809 | ||
810 | end | |
811 | chatfunc("Im under control... sorry agian...") | |
812 | ||
813 | for i = 1,10 do | |
814 | wait(0.04) | |
815 | soul1weld.C0 = soul1weld.C0 - Vector3.new(0.45,0.14,0) | |
816 | soul2weld.C0 = soul2weld.C0 - Vector3.new(0.5,0.14,0) | |
817 | soul3weld.C0 = soul3weld.C0 - Vector3.new(0.6,0.14,0) | |
818 | soul4weld.C0 = soul4weld.C0 - Vector3.new(0.45,-0.1,0) | |
819 | soul5weld.C0 = soul5weld.C0 - Vector3.new(0.5,-0.1,0) | |
820 | soul6weld.C0 = soul6weld.C0 - Vector3.new(0.6,-0.1,0) | |
821 | soul1sweld.C0 = soul1sweld.C0 - Vector3.new(0.45,0.14,0) | |
822 | soul2sweld.C0 = soul2sweld.C0 - Vector3.new(0.5,0.14,0) | |
823 | soul3sweld.C0 = soul3sweld.C0 - Vector3.new(0.6,0.14,0) | |
824 | soul4sweld.C0 = soul4sweld.C0 - Vector3.new(0.45,-0.1,0) | |
825 | soul5sweld.C0 = soul5sweld.C0 - Vector3.new(0.5,-0.1,0) | |
826 | soul6sweld.C0 = soul6sweld.C0 - Vector3.new(0.6,-0.1,0) | |
827 | end | |
828 | ||
829 | ||
830 | soul1d = Instance.new("Part",char) | |
831 | soul1d.Shape = "Ball" | |
832 | soul1d.Material = "Neon" | |
833 | soul1d.BrickColor = BrickColor.new("Really blue") | |
834 | soul1d.Size = Vector3.new(1,1,1) | |
835 | soul1d.Transparency = 0.5 | |
836 | soul1dweld = Instance.new("Weld",soul1d) | |
837 | soul1dweld.Part0 = torso | |
838 | soul1dweld.Part1 = soul1d | |
839 | soul1dweld.C0 = CFrame.new(0,0,0) | |
840 | soul2d = Instance.new("Part",char) | |
841 | soul2d.Shape = "Ball" | |
842 | soul2d.Material = "Neon" | |
843 | soul2d.Transparency = 0.5 | |
844 | soul2d.BrickColor = BrickColor.new("Bright green") | |
845 | soul2d.Size = Vector3.new(1,1,1) | |
846 | soul2dweld = Instance.new("Weld",soul2d) | |
847 | soul2dweld.Part0 = torso | |
848 | soul2dweld.Part1 = soul2d | |
849 | soul2dweld.C0 = CFrame.new(0,0,0) | |
850 | soul3d = Instance.new("Part",char) | |
851 | soul3d.Shape = "Ball" | |
852 | soul3d.Transparency = 0.5 | |
853 | soul3d.Material = "Neon" | |
854 | soul3d.BrickColor = BrickColor.new("Toothpaste") | |
855 | soul3d.Size = Vector3.new(1,1,1) | |
856 | soul3dweld = Instance.new("Weld",soul3d) | |
857 | soul3dweld.Part0 = torso | |
858 | soul3dweld.Part1 = soul3d | |
859 | soul3dweld.C0 = CFrame.new(0,0,0) | |
860 | soul4d = Instance.new("Part",char) | |
861 | soul4d.Shape = "Ball" | |
862 | soul4d.Transparency = 0.5 | |
863 | soul4d.Material = "Neon" | |
864 | soul4d.BrickColor = BrickColor.new("New Yeller") | |
865 | soul4d.Size = Vector3.new(1,1,1) | |
866 | soul4dweld = Instance.new("Weld",soul4d) | |
867 | soul4dweld.Part0 = torso | |
868 | soul4dweld.Part1 = soul4d | |
869 | soul4dweld.C0 = CFrame.new(0,0,0) | |
870 | soul5d = Instance.new("Part",char) | |
871 | soul5d.Shape = "Ball" | |
872 | soul5d.Material = "Neon" | |
873 | soul5d.Transparency = 0.5 | |
874 | soul5d.BrickColor = BrickColor.new("Magenta") | |
875 | soul5d.Size = Vector3.new(1,1,1) | |
876 | soul5dweld = Instance.new("Weld",soul5d) | |
877 | soul5dweld.Part0 = torso | |
878 | soul5dweld.Part1 = soul5d | |
879 | soul5dweld.C0 = CFrame.new(0,0,0) | |
880 | soul6d = Instance.new("Part",char) | |
881 | soul6d.Shape = "Ball" | |
882 | soul6d.Transparency = 0.5 | |
883 | soul6d.Material = "Neon" | |
884 | soul6d.BrickColor = BrickColor.new("Deep orange") | |
885 | soul6d.Size = Vector3.new(1,1,1) | |
886 | soul6dweld = Instance.new("Weld",soul6d) | |
887 | soul6dweld.Part0 = torso | |
888 | soul6dweld.Part1 = soul6d | |
889 | soul6dweld.C0 = CFrame.new(0,0,0) | |
890 | soul1sd = Instance.new("Part",char) | |
891 | soul1sd.Shape = "Ball" | |
892 | soul1sd.Material = "Neon" | |
893 | soul1sd.BrickColor = BrickColor.new("White") | |
894 | soul1sd.Size = Vector3.new(0.9,0.9,0.9) | |
895 | soul1sd.Transparency = 0.2 | |
896 | soul1sdweld = Instance.new("Weld",soul1sd) | |
897 | soul1sdweld.Part0 = torso | |
898 | soul1sdweld.Part1 = soul1sd | |
899 | soul1sdweld.C0 = CFrame.new(0,0,0) | |
900 | soul2sd = Instance.new("Part",char) | |
901 | soul2sd.Shape = "Ball" | |
902 | soul2sd.Material = "Neon" | |
903 | soul2sd.Transparency = 0.2 | |
904 | soul2sd.BrickColor = BrickColor.new("White") | |
905 | soul2sd.Size = Vector3.new(0.9,0.9,0.9) | |
906 | soul2sdweld = Instance.new("Weld",soul2sd) | |
907 | soul2sdweld.Part0 = torso | |
908 | soul2sdweld.Part1 = soul2sd | |
909 | soul2sdweld.C0 = CFrame.new(0,0,0) | |
910 | soul3sd = Instance.new("Part",char) | |
911 | soul3sd.Shape = "Ball" | |
912 | soul3sd.Material = "Neon" | |
913 | soul3sd.Transparency = 0.2 | |
914 | soul3sd.BrickColor = BrickColor.new("White") | |
915 | soul3sd.Size = Vector3.new(0.9,0.9,0.9) | |
916 | soul3sdweld = Instance.new("Weld",soul3sd) | |
917 | soul3sdweld.Part0 = torso | |
918 | soul3sdweld.Part1 = soul3sd | |
919 | soul3sdweld.C0 = CFrame.new(0,0,0) | |
920 | soul4sd = Instance.new("Part",char) | |
921 | soul4sd.Shape = "Ball" | |
922 | soul4sd.Material = "Neon" | |
923 | soul4sd.Transparency = 0.2 | |
924 | soul4sd.BrickColor = BrickColor.new("White") | |
925 | soul4sd.Material = "Neon" | |
926 | soul4sd.Size = Vector3.new(0.9,0.9,0.9) | |
927 | soul4dsweld = Instance.new("Weld",soul4sd) | |
928 | soul4dsweld.Part0 = torso | |
929 | soul4dsweld.Part1 = soul4sd | |
930 | soul4dsweld.C0 = CFrame.new(0,0,0) | |
931 | soul5sd = Instance.new("Part",char) | |
932 | soul5sd.Shape = "Ball" | |
933 | soul5sd.Transparency = 0.2 | |
934 | soul5sd.BrickColor = BrickColor.new("White") | |
935 | soul5sd.Size = Vector3.new(0.9,0.9,0.9) | |
936 | soul5sd.Material = "Neon" | |
937 | soul5sdweld = Instance.new("Weld",soul5sd) | |
938 | soul5sdweld.Part0 = torso | |
939 | soul5sdweld.Part1 = soul5sd | |
940 | soul5sdweld.C0 = CFrame.new(0,0,0) | |
941 | soul6sd = Instance.new("Part",char) | |
942 | soul6sd.Shape = "Ball" | |
943 | soul6sd.Material = "Neon" | |
944 | soul6sd.Transparency = 0.2 | |
945 | soul6sd.BrickColor = BrickColor.new("White") | |
946 | soul6sd.Size = Vector3.new(0.9,0.9,0.9) | |
947 | soul6sdweld = Instance.new("Weld",soul6sd) | |
948 | soul6sdweld.Part0 = torso | |
949 | soul6sdweld.Part1 = soul6sd | |
950 | soul6sdweld.C0 = CFrame.new(0,0,0) | |
951 | ||
952 | ||
953 | soul1mesh = Instance.new("SpecialMesh",soul1d) | |
954 | soul2mesh = Instance.new("SpecialMesh",soul2d) | |
955 | soul3mesh = Instance.new("SpecialMesh",soul3d) | |
956 | soul4mesh = Instance.new("SpecialMesh",soul4d) | |
957 | soul5mesh = Instance.new("SpecialMesh",soul5d) | |
958 | soul6mesh = Instance.new("SpecialMesh",soul6d) | |
959 | soul1smesh = Instance.new("SpecialMesh",soul1sd) | |
960 | soul2smesh = Instance.new("SpecialMesh",soul2sd) | |
961 | soul3smesh = Instance.new("SpecialMesh",soul3sd) | |
962 | soul4smesh = Instance.new("SpecialMesh",soul4sd) | |
963 | soul5smesh = Instance.new("SpecialMesh",soul5sd) | |
964 | soul6smesh = Instance.new("SpecialMesh",soul6sd) | |
965 | soul1mesh.MeshType = "Sphere" | |
966 | soul2mesh.MeshType = "Sphere" | |
967 | soul3mesh.MeshType = "Sphere" | |
968 | soul4mesh.MeshType = "Sphere" | |
969 | soul5mesh.MeshType = "Sphere" | |
970 | soul6mesh.MeshType = "Sphere" | |
971 | soul1smesh.MeshType = "Sphere" | |
972 | soul2smesh.MeshType = "Sphere" | |
973 | soul3smesh.MeshType = "Sphere" | |
974 | soul4smesh.MeshType = "Sphere" | |
975 | soul5smesh.MeshType = "Sphere" | |
976 | soul6smesh.MeshType = "Sphere" | |
977 | KnifeMesh.TextureId = "" | |
978 | canchange = true | |
979 | for i = 1,20 do | |
980 | soul1mesh.Scale = soul1mesh.Scale + Vector3.new(0.5,0.5,0.5) | |
981 | soul1smesh.Scale = soul1smesh.Scale + Vector3.new(0.5,0.5,0.5) | |
982 | soul1d.Transparency = soul1d.Transparency + 0.025 | |
983 | soul1sd.Transparency = soul1sd.Transparency + 0.05 | |
984 | blackhand.Transparency = blackhand.Transparency - 0.04 | |
985 | wait() | |
986 | end | |
987 | for i = 1,20 do | |
988 | soul2mesh.Scale = soul2mesh.Scale + Vector3.new(0.5,0.5,0.5) | |
989 | soul2smesh.Scale = soul2smesh.Scale + Vector3.new(0.5,0.5,0.5) | |
990 | soul2d.Transparency = soul2d.Transparency + 0.025 | |
991 | soul2sd.Transparency = soul2sd.Transparency + 0.05 | |
992 | wait() | |
993 | end | |
994 | for i = 1,20 do | |
995 | soul3mesh.Scale = soul3mesh.Scale + Vector3.new(0.5,0.5,0.5) | |
996 | soul3smesh.Scale = soul3smesh.Scale + Vector3.new(0.5,0.5,0.5) | |
997 | soul3d.Transparency = soul3d.Transparency + 0.025 | |
998 | soul3sd.Transparency = soul3sd.Transparency + 0.05 | |
999 | wait() | |
1000 | end | |
1001 | for i = 1,20 do | |
1002 | soul4mesh.Scale = soul4mesh.Scale + Vector3.new(0.5,0.5,0.5) | |
1003 | soul4smesh.Scale = soul4smesh.Scale + Vector3.new(0.5,0.5,0.5) | |
1004 | soul4d.Transparency = soul4d.Transparency + 0.025 | |
1005 | soul4sd.Transparency = soul4sd.Transparency + 0.05 | |
1006 | wait() | |
1007 | end | |
1008 | for i = 1,20 do | |
1009 | soul5mesh.Scale = soul5mesh.Scale + Vector3.new(0.5,0.5,0.5) | |
1010 | soul5smesh.Scale = soul5smesh.Scale + Vector3.new(0.5,0.5,0.5) | |
1011 | soul5d.Transparency = soul5d.Transparency + 0.025 | |
1012 | soul5sd.Transparency = soul5sd.Transparency + 0.05 | |
1013 | wait() | |
1014 | end | |
1015 | for i = 1,20 do | |
1016 | soul6mesh.Scale = soul6mesh.Scale + Vector3.new(0.5,0.5,0.5) | |
1017 | soul6smesh.Scale = soul6smesh.Scale + Vector3.new(0.5,0.5,0.5) | |
1018 | soul6d.Transparency = soul6d.Transparency + 0.025 | |
1019 | soul6sd.Transparency = soul6sd.Transparency + 0.05 | |
1020 | soul1.Transparency = soul1.Transparency + 0.08 | |
1021 | soul2.Transparency = soul2.Transparency + 0.08 | |
1022 | soul3.Transparency = soul3.Transparency + 0.08 | |
1023 | soul4.Transparency = soul4.Transparency + 0.08 | |
1024 | soul5.Transparency = soul5.Transparency + 0.08 | |
1025 | soul6.Transparency = soul6.Transparency + 0.1 | |
1026 | soul1s.Transparency = soul1.Transparency + 0.1 | |
1027 | soul2s.Transparency = soul2s.Transparency + 0.1 | |
1028 | soul3s.Transparency = soul3s.Transparency + 0.1 | |
1029 | soul4s.Transparency = soul4s.Transparency + 0.1 | |
1030 | soul5s.Transparency = soul5s.Transparency + 0.1 | |
1031 | soul6s.Transparency = soul6s.Transparency + 0.1 | |
1032 | wait() | |
1033 | end | |
1034 | ||
1035 | ||
1036 | wait(1) | |
1037 | ||
1038 | ||
1039 | ||
1040 | lala = false | |
1041 | wait(1) | |
1042 | soul1:Destroy() | |
1043 | soul2:Destroy() | |
1044 | soul3:Destroy() | |
1045 | soul4:Destroy() | |
1046 | soul5:Destroy() | |
1047 | soul6:Destroy() | |
1048 | soul1s:Destroy() | |
1049 | soul2s:Destroy() | |
1050 | soul3s:Destroy() | |
1051 | soul4s:Destroy() | |
1052 | soul5s:Destroy() | |
1053 | soul6s:Destroy() | |
1054 | soul1d:Destroy() | |
1055 | soul2d:Destroy() | |
1056 | soul3d:Destroy() | |
1057 | soul4d:Destroy() | |
1058 | soul5d:Destroy() | |
1059 | soul6d:Destroy() | |
1060 | soul1sd:Destroy() | |
1061 | soul2sd:Destroy() | |
1062 | soul3sd:Destroy() | |
1063 | soul4sd:Destroy() | |
1064 | soul5sd:Destroy() | |
1065 | soul6sd:Destroy() | |
1066 | idle = true | |
1067 | chatfunc("COME AT ME") | |
1068 | - | chatfunc("Come =)") |
1068 | + | hed.face.Texture = "http://www.roblox.com/asset/?id=393521316" |
1069 | - | hed.face.Texture = "http://www.roblox.com/asset/?id=946610608" |
1069 | + | |
1070 | walking = true | |
1071 | Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0) | |
1072 | KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=186913315" | |
1073 | - | KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805" |
1073 | + | |
1074 | if key == "z" then | |
1075 | if canattack == true then | |
1076 | canattack = false | |
1077 | ||
1078 | idle = false | |
1079 | walking = false | |
1080 | wait(1) | |
1081 | ||
1082 | kill = Instance.new("Part",char) | |
1083 | kill.Position = torso.Position - Vector3.new(0,2,0) | |
1084 | kill.Size = Vector3.new(200,0.1,200) | |
1085 | kill.Name = "Immune" | |
1086 | kill.CanCollide = false | |
1087 | kill.Transparency = 1 | |
1088 | kill.Anchored = true | |
1089 | kill.Material = "Neon" | |
1090 | kill.BrickColor = BrickColor.new("Really purple") | |
1091 | killmesh = Instance.new("SpecialMesh",kill) | |
1092 | killmesh.MeshType = "FileMesh" | |
1093 | killmesh.MeshId = "rbxassetid://465435723" | |
1094 | killmesh.Scale = Vector3.new(5.2,0.01,5.2) | |
1095 | Weldb.C1 = CFrame.new(0, -1, -1) * CFrame.fromEulerAnglesXYZ(-2, 0, 0) | |
1096 | for i = 1, 20 do | |
1097 | wait() | |
1098 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(0)), 0.2) | |
1099 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.2) | |
1100 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
1101 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(6), math.rad(0), 0), 0.2) | |
1102 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.2) | |
1103 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.2) | |
1104 | ||
1105 | end | |
1106 | for i = 1, 20 do | |
1107 | wait() | |
1108 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.3)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(0)), 0.2) | |
1109 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.2) | |
1110 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
1111 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles( math.rad(-50), math.rad(0), 0), 0.2) | |
1112 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -0.8) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-2)), 0.2) | |
1113 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 0, -0.8) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(2)), 0.2) | |
1114 | ||
1115 | end | |
1116 | hitsound:Play() | |
1117 | part = Instance.new("Part",char) | |
1118 | part.Size = Vector3.new(0.1,0.1,0.1) | |
1119 | part.Position = handle.Position | |
1120 | part1 = Instance.new("Part",char) | |
1121 | part1.Size = Vector3.new(0.1,0.1,0.1) | |
1122 | part1.Position = handle.Position | |
1123 | part2 = Instance.new("Part",char) | |
1124 | part2.Size = Vector3.new(0.1,0.1,0.1) | |
1125 | part2.Position = handle.Position | |
1126 | part3 = Instance.new("Part",char) | |
1127 | part3.Size = Vector3.new(0.1,0.1,0.1) | |
1128 | part3.Position = handle.Position | |
1129 | part4 = Instance.new("Part",char) | |
1130 | part4.Size = Vector3.new(0.1,0.1,0.1) | |
1131 | part4.Position = handle.Position | |
1132 | part5 = Instance.new("Part",char) | |
1133 | part5.Size = Vector3.new(0.1,0.1,0.1) | |
1134 | part5.Position = handle.Position | |
1135 | part6 = Instance.new("Part",char) | |
1136 | part6.Size = Vector3.new(0.1,0.1,0.1) | |
1137 | part6.Position = handle.Position | |
1138 | part7 = Instance.new("Part",char) | |
1139 | part7.Size = Vector3.new(0.1,0.1,0.1) | |
1140 | part7.Position = handle.Position | |
1141 | part8 = Instance.new("Part",char) | |
1142 | part8.Size = Vector3.new(0.1,0.1,0.1) | |
1143 | part8.Position = handle.Position | |
1144 | part9 = Instance.new("Part",char) | |
1145 | part9.Size = Vector3.new(0.1,0.1,0.1) | |
1146 | part9.Position = handle.Position | |
1147 | part10 = Instance.new("Part",char) | |
1148 | part10.Size = Vector3.new(0.1,0.1,0.1) | |
1149 | part10.Position = handle.Position | |
1150 | KnifeMesh.TextureId = "" | |
1151 | for i = 1,100 do | |
1152 | wait() | |
1153 | colorred = colorred + 0.006 | |
1154 | handle.Color = Color3.new(colorred,0,0) | |
1155 | end | |
1156 | chatfunc("Welcome To My World") | |
1157 | for i = 1,120 do | |
1158 | wait() | |
1159 | kill.Transparency = kill.Transparency - 0.005 | |
1160 | end | |
1161 | ||
1162 | function onTouched(hit) | |
1163 | if hit.Parent:FindFirstChild("Immune") == nil then | |
1164 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
1165 | hit.Parent:FindFirstChild("Head").Anchored = true | |
1166 | hitsound:Play() | |
1167 | ||
1168 | ||
1169 | ||
1170 | hit.Parent:BreakJoints() | |
1171 | hit.Parent:FindFirstChild("Humanoid").Health = -1 | |
1172 | end | |
1173 | ||
1174 | ||
1175 | ||
1176 | ||
1177 | ||
1178 | end | |
1179 | end | |
1180 | kill.Touched:connect(onTouched) | |
1181 | ||
1182 | ||
1183 | kill1 = Instance.new("Part",char) | |
1184 | kill1.Position = torso.Position - Vector3.new(0,2,0) | |
1185 | kill1.Size = Vector3.new(200,300,200) | |
1186 | kill1.Name = "Immune" | |
1187 | kill1.CanCollide = false | |
1188 | kill1.Transparency = 1 | |
1189 | kill1.Anchored = false | |
1190 | kill1.Material = "Neon" | |
1191 | kill1.BrickColor = BrickColor.new("Really purple") | |
1192 | ||
1193 | function onTouched(hit) | |
1194 | if hit.Parent:FindFirstChild("Immune") == nil then | |
1195 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
1196 | hit.Parent:FindFirstChild("Head").Anchored = true | |
1197 | hitsound:Play() | |
1198 | ||
1199 | ||
1200 | ||
1201 | hit.Parent:FindFirstChild("Humanoid").Health = -1 | |
1202 | hit.Parent:BreakJoints() | |
1203 | end | |
1204 | ||
1205 | ||
1206 | ||
1207 | end | |
1208 | ||
1209 | end | |
1210 | kill1.Touched:connect(onTouched) | |
1211 | for i = 1,50 do | |
1212 | wait() | |
1213 | killmesh.Scale = killmesh.Scale + Vector3.new(0,0.2,0) | |
1214 | end | |
1215 | wait(2) | |
1216 | kill.Anchored = false | |
1217 | canattack = true | |
1218 | idle = true | |
1219 | walking = true | |
1220 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
1221 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
1222 | end | |
1223 | KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=186913315" | |
1224 | - | KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805" |
1224 | + | |
1225 | Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0) | |
1226 | end | |
1227 | end | |
1228 | end) | |
1229 | slashsound = Instance.new("Sound",torso) | |
1230 | slashsound.SoundId = "http://www.roblox.com/asset/?id=357417055" | |
1231 | slashsound.Volume = 10 | |
1232 | hitsound = Instance.new("Sound",torso) | |
1233 | hitsound.SoundId = "http://www.roblox.com/asset/?id=623904185" | |
1234 | hitsound.Volume = 10 | |
1235 | mouse.KeyDown:connect(function(key) | |
1236 | if key == "q" then | |
1237 | if canattack == true then | |
1238 | canattack = false | |
1239 | idle = false | |
1240 | walking = false | |
1241 | wait(0.5) | |
1242 | slash = Instance.new("Part",char) | |
1243 | slash.CanCollide = false | |
1244 | slash.Transparency = 1 | |
1245 | slash.Size = Vector3.new(5,5,1) | |
1246 | slashweld = Instance.new("Weld",slash) | |
1247 | slashweld.Part0 = torso | |
1248 | slashweld.Part1 = slash | |
1249 | slashweld.C0 = CFrame.new(0,0,-2) | |
1250 | slashdecal = Instance.new("Decal",slash) | |
1251 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
1252 | ||
1253 | slashdecal1 = Instance.new("Decal",slash) | |
1254 | slashdecal1.Face = "Back" | |
1255 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
1256 | slashsound:Play() | |
1257 | function onTouched(hit) | |
1258 | if hit.Parent:FindFirstChild("Immune") == nil then | |
1259 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
1260 | hit.Parent:FindFirstChild("Head").Anchored = true | |
1261 | slash.TouchInterest:Destroy() | |
1262 | wait(1) | |
1263 | hitsound:Play() | |
1264 | ||
1265 | gothit = Instance.new("Part",hit) | |
1266 | gothit.CanCollide = false | |
1267 | gothit.Transparency = 1 | |
1268 | gothit.Size = Vector3.new(10,10,1) | |
1269 | gothitweld1 = Instance.new("Weld",gothit) | |
1270 | gothitweld1.Part0 = hit.Parent:FindFirstChild("Torso") | |
1271 | gothitweld1.Part1 = gothit | |
1272 | ||
1273 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1274 | gothitdecal = Instance.new("Decal",gothit) | |
1275 | gothitdecal.Texture = "http://www.roblox.com/asset/?id=941619213" | |
1276 | love = love + 1 | |
1277 | gothit = Instance.new("Part",hit) | |
1278 | gothit.CanCollide = false | |
1279 | gothit.Transparency = 1 | |
1280 | gothit.Size = Vector3.new(10,10,1) | |
1281 | gothitweld = Instance.new("Weld",gothit) | |
1282 | gothitweld.Part0 = hit.Parent:FindFirstChild("Torso") | |
1283 | gothitweld.Part1 = gothit | |
1284 | gothitweld.C0 = CFrame.new(0,5,0) | |
1285 | ||
1286 | gothitdecal = Instance.new("Decal",gothit) | |
1287 | gothitdecal.Texture = "http://www.roblox.com/asset/?id=941619213" | |
1288 | gothitdecal.Face = "Back" | |
1289 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
1290 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
1291 | wait(0.2) | |
1292 | gothitweld.C0 = CFrame.new(0,4,0) | |
1293 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1294 | wait(0.2) | |
1295 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
1296 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
1297 | wait(0.2) | |
1298 | gothitweld.C0 = CFrame.new(0,4,0) | |
1299 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1300 | wait(0.2) | |
1301 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
1302 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
1303 | wait(0.2) | |
1304 | gothitweld.C0 = CFrame.new(0,4,0) | |
1305 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1306 | wait(0.2) | |
1307 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
1308 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
1309 | wait(0.2) | |
1310 | gothitweld.C0 = CFrame.new(0,4,0) | |
1311 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1312 | wait(0.2) | |
1313 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
1314 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
1315 | wait(0.2) | |
1316 | gothitweld.C0 = CFrame.new(0,4,0) | |
1317 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1318 | wait(0.2) | |
1319 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
1320 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
1321 | wait(0.2) | |
1322 | gothitweld.C0 = CFrame.new(0,4,0) | |
1323 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1324 | wait(0.2) | |
1325 | ||
1326 | hit.Parent:FindFirstChild("Humanoid").Health = -1 | |
1327 | hit.Parent:BreakJoints() | |
1328 | else | |
1329 | if hit.Parent:IsA("Model") then | |
1330 | wait(1) | |
1331 | ||
1332 | hit.Parent:BreakJoints() | |
1333 | ||
1334 | ||
1335 | ||
1336 | ||
1337 | ||
1338 | end | |
1339 | if hit:IsA("Part") and hit.Size.X < 500 then | |
1340 | ||
1341 | hit.BrickColor = BrickColor.new("Really black") | |
1342 | hitsound:Play() | |
1343 | for i = 1,20 do | |
1344 | wait() | |
1345 | hit.Transparency = hit.Transparency + 0.05 | |
1346 | end | |
1347 | ||
1348 | ||
1349 | ||
1350 | ||
1351 | end | |
1352 | end | |
1353 | ||
1354 | end | |
1355 | ||
1356 | end | |
1357 | slash.Touched:connect(onTouched) | |
1358 | ||
1359 | for i = 1, 5 do | |
1360 | wait() | |
1361 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
1362 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1363 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1364 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
1365 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1366 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1367 | ||
1368 | end | |
1369 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
1370 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
1371 | for i = 1, 5 do | |
1372 | wait() | |
1373 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
1374 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1375 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1376 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
1377 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1378 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1379 | ||
1380 | end | |
1381 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
1382 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
1383 | ||
1384 | wait(0.1) | |
1385 | slash:Destroy() | |
1386 | canattack = true | |
1387 | idle = true | |
1388 | walking = true | |
1389 | end | |
1390 | end | |
1391 | end) | |
1392 | ||
1393 | ||
1394 | ||
1395 | ||
1396 | ||
1397 | ||
1398 | ||
1399 | ||
1400 | mouse.KeyDown:connect(function(key) | |
1401 | if key == "x" then | |
1402 | hed.Transparency = 1 | |
1403 | torso.Transparency = 1 | |
1404 | larm.Transparency = 1 | |
1405 | hed.face.Texture = "" | |
1406 | MegaloStrikesBack.Volume = 0.1 | |
1407 | lovecounter = false | |
1408 | rarm.Transparency = 1 | |
1409 | lleg.Transparency = 1 | |
1410 | rleg.Transparency = 1 | |
1411 | handle.Transparency = 1 | |
1412 | Handle.Transparency = 1 | |
1413 | blackhand.Transparency = 1 | |
1414 | hum.WalkSpeed = 60 | |
1415 | text.Text = "" | |
1416 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
1417 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
1418 | end | |
1419 | end | |
1420 | end) | |
1421 | mouse.KeyUp:connect(function(key) | |
1422 | if key == "x" then | |
1423 | hed.Transparency = 0 | |
1424 | lovecounter = true | |
1425 | torso.Transparency = 0 | |
1426 | larm.Transparency = 0 | |
1427 | rarm.Transparency = 0 | |
1428 | MegaloStrikesBack.Volume = 50 | |
1429 | lleg.Transparency = 0 | |
1430 | rleg.Transparency = 0 | |
1431 | handle.Transparency = 0 | |
1432 | Handle.Transparency = 0 | |
1433 | blackhand.Transparency = 0 | |
1434 | hum.WalkSpeed = 16 | |
1435 | hed.face.Texture = "http://www.roblox.com/asset/?id=393521316" | |
1436 | - | hed.face.Texture = "http://www.roblox.com/asset/?id=946610608" |
1436 | + | |
1437 | end) | |
1438 | mouse.KeyDown:connect(function(Key) | |
1439 | if Key:byte() == 48 then | |
1440 | hum.WalkSpeed = 40 | |
1441 | workspace.Camera.FieldOfView = 80 | |
1442 | sprint = true | |
1443 | end | |
1444 | end) | |
1445 | ||
1446 | mouse.KeyUp:connect(function(Key) | |
1447 | if Key:byte() == 48 then | |
1448 | hum.WalkSpeed = 16 | |
1449 | workspace.Camera.FieldOfView = 70 | |
1450 | sprint = false | |
1451 | end | |
1452 | end) | |
1453 | ||
1454 | ||
1455 | ||
1456 | mouse.KeyDown:connect(function(key) | |
1457 | if key == "e" then | |
1458 | if canattack == true then | |
1459 | canattack = false | |
1460 | idle = false | |
1461 | walking = false | |
1462 | wait(1) | |
1463 | ||
1464 | ||
1465 | slashsound:Play() | |
1466 | ||
1467 | for i = 1, 5 do | |
1468 | wait() | |
1469 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
1470 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1471 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1472 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
1473 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1474 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1475 | ||
1476 | end | |
1477 | ||
1478 | for i = 1, 5 do | |
1479 | wait() | |
1480 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
1481 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1482 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1483 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
1484 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1485 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1486 | ||
1487 | end | |
1488 | slash4 = Instance.new("Part",char) | |
1489 | slash4.CanCollide = false | |
1490 | slash4.Transparency = 0 | |
1491 | slash4.Position = Vector3.new(999,999,999) | |
1492 | slash4.BrickColor = BrickColor.new("Really purple") | |
1493 | slash4.Size = Vector3.new(0.3,9,0.3) | |
1494 | slashweld4 = Instance.new("Weld",slash4) | |
1495 | slashweld4.Part0 = torso | |
1496 | slashweld4.Part1 = slash4 | |
1497 | slashweld4.C0 = CFrame.new(0,0,-3.2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-80)) | |
1498 | slashsound:Play() | |
1499 | for i = 1, 5 do | |
1500 | wait() | |
1501 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(30)), 0.7) | |
1502 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1503 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1504 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-5), math.rad(15), 0), 0.7) | |
1505 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1506 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1507 | ||
1508 | end | |
1509 | slash3 = Instance.new("Part",char) | |
1510 | slash3.CanCollide = false | |
1511 | slash3.Transparency = 0 | |
1512 | slash3.Position = Vector3.new(999,999,999) | |
1513 | slash3.BrickColor = BrickColor.new("Really purple") | |
1514 | slash3.Size = Vector3.new(0.3,9,0.3) | |
1515 | slashweld3 = Instance.new("Weld",slash3) | |
1516 | slashweld3.Part0 = torso | |
1517 | slashweld3.Part1 = slash3 | |
1518 | slashweld3.C0 = CFrame.new(0,0,-3.2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)) | |
1519 | slashsound:Play() | |
1520 | for i = 1, 5 do | |
1521 | wait() | |
1522 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-70)), 0.7) | |
1523 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1524 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1525 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-7), math.rad(17), 0), 0.7) | |
1526 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1527 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1528 | ||
1529 | end | |
1530 | slash2 = Instance.new("Part",char) | |
1531 | slash2.CanCollide = false | |
1532 | slash2.Transparency = 0 | |
1533 | slash2.Position = Vector3.new(999,999,999) | |
1534 | slash2.BrickColor = BrickColor.new("Really purple") | |
1535 | slash2.Size = Vector3.new(0.3,9,0.3) | |
1536 | slashweld2 = Instance.new("Weld",slash2) | |
1537 | slashweld2.Part0 = torso | |
1538 | slashweld2.Part1 = slash2 | |
1539 | slashweld2.C0 = CFrame.new(0,0,-3.2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(150)) | |
1540 | for i = 1, 5 do | |
1541 | wait() | |
1542 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
1543 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1544 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1545 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
1546 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1547 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1548 | ||
1549 | end | |
1550 | slashsound:Play() | |
1551 | for i = 1, 5 do | |
1552 | wait() | |
1553 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-20)), 0.7) | |
1554 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1555 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1556 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-7), math.rad(17), 0), 0.7) | |
1557 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1558 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1559 | ||
1560 | end | |
1561 | slash1 = Instance.new("Part",char) | |
1562 | slash1.CanCollide = false | |
1563 | slash1.Transparency = 0 | |
1564 | slash1.Position = Vector3.new(999,999,999) | |
1565 | slash1.BrickColor = BrickColor.new("Really purple") | |
1566 | slash1.Size = Vector3.new(0.3,9,0.3) | |
1567 | slashweld1 = Instance.new("Weld",slash1) | |
1568 | slashweld1.Part0 = torso | |
1569 | slashweld1.Part1 = slash1 | |
1570 | slashweld1.C0 = CFrame.new(0,0,-3.2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(78)) | |
1571 | for i = 1, 5 do | |
1572 | wait() | |
1573 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
1574 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1575 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1576 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
1577 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1578 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1579 | ||
1580 | end | |
1581 | slash5 = Instance.new("Part",char) | |
1582 | slash5.CanCollide = true | |
1583 | slash5.Transparency = 1 | |
1584 | slash5.Position = Vector3.new(999,999,999) | |
1585 | slash5.BrickColor = BrickColor.new("Really purple") | |
1586 | slash5.Size = Vector3.new(4,3,4) | |
1587 | slashweld5 = Instance.new("Weld",slash5) | |
1588 | slashweld5.Part0 = torso | |
1589 | slashweld5.Part1 = slash5 | |
1590 | slashweld5.C0 = CFrame.new(0,0,-3.2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(130)) | |
1591 | function onTouched(hit) | |
1592 | if hit.Parent:FindFirstChild("Immune") == nil then | |
1593 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
1594 | hit.Parent:FindFirstChild("Head").Anchored = true | |
1595 | ||
1596 | wait(1) | |
1597 | hitsound:Play() | |
1598 | ||
1599 | gothit = Instance.new("Part",hit) | |
1600 | gothit.CanCollide = false | |
1601 | gothit.Transparency = 1 | |
1602 | gothit.Size = Vector3.new(10,10,1) | |
1603 | gothitweld1 = Instance.new("Weld",gothit) | |
1604 | gothitweld1.Part0 = hit.Parent:FindFirstChild("Torso") | |
1605 | gothitweld1.Part1 = gothit | |
1606 | ||
1607 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1608 | gothitdecal = Instance.new("Decal",gothit) | |
1609 | gothitdecal.Texture = "http://www.roblox.com/asset/?id=941619213" | |
1610 | love = love + 1 | |
1611 | gothit = Instance.new("Part",hit) | |
1612 | gothit.CanCollide = false | |
1613 | gothit.Transparency = 1 | |
1614 | gothit.Size = Vector3.new(10,10,1) | |
1615 | gothitweld = Instance.new("Weld",gothit) | |
1616 | gothitweld.Part0 = hit.Parent:FindFirstChild("Torso") | |
1617 | gothitweld.Part1 = gothit | |
1618 | gothitweld.C0 = CFrame.new(0,5,0) | |
1619 | ||
1620 | gothitdecal = Instance.new("Decal",gothit) | |
1621 | gothitdecal.Texture = "http://www.roblox.com/asset/?id=941619213" | |
1622 | gothitdecal.Face = "Back" | |
1623 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
1624 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
1625 | wait(0.2) | |
1626 | gothitweld.C0 = CFrame.new(0,4,0) | |
1627 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1628 | wait(0.2) | |
1629 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
1630 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
1631 | wait(0.2) | |
1632 | gothitweld.C0 = CFrame.new(0,4,0) | |
1633 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1634 | wait(0.2) | |
1635 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
1636 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
1637 | wait(0.2) | |
1638 | gothitweld.C0 = CFrame.new(0,4,0) | |
1639 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1640 | wait(0.2) | |
1641 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
1642 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
1643 | wait(0.2) | |
1644 | gothitweld.C0 = CFrame.new(0,4,0) | |
1645 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1646 | wait(0.2) | |
1647 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
1648 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
1649 | wait(0.2) | |
1650 | gothitweld.C0 = CFrame.new(0,4,0) | |
1651 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1652 | wait(0.2) | |
1653 | gothitweld.C0 = CFrame.new(0,3.5,0) | |
1654 | gothitweld1.C0 = CFrame.new(0,3.5,0) | |
1655 | wait(0.2) | |
1656 | gothitweld.C0 = CFrame.new(0,4,0) | |
1657 | gothitweld1.C0 = CFrame.new(0,4,0) | |
1658 | wait(0.2) | |
1659 | ||
1660 | hit.Parent:FindFirstChild("Humanoid").Health = -1 | |
1661 | hit.Parent:BreakJoints() | |
1662 | else | |
1663 | if hit.Parent:IsA("Model") then | |
1664 | wait(1) | |
1665 | ||
1666 | hit.Parent:BreakJoints() | |
1667 | ||
1668 | ||
1669 | ||
1670 | ||
1671 | ||
1672 | end | |
1673 | if hit:IsA("Part") and hit.Size.X < 500 then | |
1674 | ||
1675 | hit.BrickColor = BrickColor.new("Really black") | |
1676 | hitsound:Play() | |
1677 | for i = 1,20 do | |
1678 | wait() | |
1679 | hit.Transparency = hit.Transparency + 0.05 | |
1680 | end | |
1681 | ||
1682 | ||
1683 | ||
1684 | ||
1685 | end | |
1686 | end | |
1687 | ||
1688 | end | |
1689 | ||
1690 | end | |
1691 | slash5.Touched:connect(onTouched) | |
1692 | for i = 1,70 do | |
1693 | wait() | |
1694 | ||
1695 | slashweld1.C0 = slashweld1.C0 - Vector3.new(0,0,4) | |
1696 | slashweld2.C0 = slashweld2.C0 - Vector3.new(0,0,4) | |
1697 | slashweld3.C0 = slashweld3.C0 - Vector3.new(0,0,4) | |
1698 | slashweld4.C0 = slashweld4.C0 - Vector3.new(0,0,4) | |
1699 | slashweld5.C0 = slashweld5.C0 - Vector3.new(0,0,4) | |
1700 | ||
1701 | ||
1702 | ||
1703 | end | |
1704 | slash1:Destroy() | |
1705 | slash2:Destroy() | |
1706 | slash3:Destroy() | |
1707 | slash4:Destroy() | |
1708 | slash5:Destroy() | |
1709 | canattack = true | |
1710 | idle = true | |
1711 | walking = true | |
1712 | end | |
1713 | end | |
1714 | end) | |
1715 | ||
1716 | ||
1717 | mouse.KeyDown:connect(function(key) | |
1718 | if key == "r" then | |
1719 | if canattack == true then | |
1720 | ||
1721 | ||
1722 | ||
1723 | what = Instance.new("Part",char) | |
1724 | what.Size = Vector3.new(60,60,60) | |
1725 | what.Transparency = 1 | |
1726 | what.Position = torso.Position | |
1727 | what.CanCollide = false | |
1728 | function onTouched(hit) | |
1729 | if hit.Parent:FindFirstChild("Immune") == nil then | |
1730 | if hit.Parent:FindFirstChild("Torso") ~= nil then | |
1731 | chatfunc('I Got You') | |
1732 | ||
1733 | t = hit.Parent:FindFirstChild("Torso") | |
1734 | h = hit.Parent:FindFirstChild("Head") | |
1735 | la = hit.Parent:FindFirstChild("Left Arm") | |
1736 | ra = hit.Parent:FindFirstChild("Right Arm") | |
1737 | ll = hit.Parent:FindFirstChild("Left Leg") | |
1738 | rl = hit.Parent:FindFirstChild("Right Leg") | |
1739 | ||
1740 | what:Destroy() | |
1741 | ||
1742 | torso.CFrame = t.CFrame * CFrame.Angles(0,math.rad(180),0) + t.CFrame.lookVector * 3 | |
1743 | h.Anchored = true | |
1744 | ||
1745 | ||
1746 | ||
1747 | hed.Anchored = true | |
1748 | wait(2) | |
1749 | chatfunc('=)') | |
1750 | slash = Instance.new("Part",char) | |
1751 | slash.CanCollide = false | |
1752 | slash.Transparency = 1 | |
1753 | slash.Size = Vector3.new(5,5,1) | |
1754 | slashweld = Instance.new("Weld",slash) | |
1755 | slashweld.Part0 = torso | |
1756 | slashweld.Part1 = slash | |
1757 | slashweld.C0 = CFrame.new(0,0,-2) | |
1758 | slashdecal = Instance.new("Decal",slash) | |
1759 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
1760 | ||
1761 | slashdecal1 = Instance.new("Decal",slash) | |
1762 | slashdecal1.Face = "Back" | |
1763 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
1764 | slashsound:Play() | |
1765 | for i = 1, 5 do | |
1766 | wait() | |
1767 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
1768 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1769 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1770 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
1771 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1772 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1773 | ||
1774 | end | |
1775 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
1776 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
1777 | for i = 1, 5 do | |
1778 | wait() | |
1779 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
1780 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1781 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1782 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
1783 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1784 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1785 | ||
1786 | end | |
1787 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
1788 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
1789 | ||
1790 | wait(0.1) | |
1791 | slash:Destroy() | |
1792 | if la ~= nil then | |
1793 | la.BrickColor = BrickColor.new("Really black") | |
1794 | hitsound:Play() | |
1795 | for i = 1,20 do | |
1796 | wait() | |
1797 | la.Transparency = la.Transparency + 0.05 | |
1798 | end | |
1799 | la:Destroy() | |
1800 | end | |
1801 | slash = Instance.new("Part",char) | |
1802 | slash.CanCollide = false | |
1803 | slash.Transparency = 1 | |
1804 | slash.Size = Vector3.new(5,5,1) | |
1805 | slashweld = Instance.new("Weld",slash) | |
1806 | slashweld.Part0 = torso | |
1807 | slashweld.Part1 = slash | |
1808 | slashweld.C0 = CFrame.new(0,0,-2) | |
1809 | slashdecal = Instance.new("Decal",slash) | |
1810 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
1811 | ||
1812 | slashdecal1 = Instance.new("Decal",slash) | |
1813 | slashdecal1.Face = "Back" | |
1814 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
1815 | slashsound:Play() | |
1816 | for i = 1, 5 do | |
1817 | wait() | |
1818 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
1819 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1820 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1821 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
1822 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1823 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1824 | ||
1825 | end | |
1826 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
1827 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
1828 | for i = 1, 5 do | |
1829 | wait() | |
1830 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
1831 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1832 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1833 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
1834 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1835 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1836 | ||
1837 | end | |
1838 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
1839 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
1840 | ||
1841 | wait(0.1) | |
1842 | slash:Destroy() | |
1843 | if ll ~= nil then | |
1844 | ll.BrickColor = BrickColor.new("Really black") | |
1845 | hitsound:Play() | |
1846 | for i = 1,20 do | |
1847 | wait() | |
1848 | ll.Transparency = ll.Transparency + 0.05 | |
1849 | end | |
1850 | ll:Destroy() | |
1851 | end | |
1852 | slash = Instance.new("Part",char) | |
1853 | slash.CanCollide = false | |
1854 | slash.Transparency = 1 | |
1855 | slash.Size = Vector3.new(5,5,1) | |
1856 | slashweld = Instance.new("Weld",slash) | |
1857 | slashweld.Part0 = torso | |
1858 | slashweld.Part1 = slash | |
1859 | slashweld.C0 = CFrame.new(0,0,-2) | |
1860 | slashdecal = Instance.new("Decal",slash) | |
1861 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
1862 | ||
1863 | slashdecal1 = Instance.new("Decal",slash) | |
1864 | slashdecal1.Face = "Back" | |
1865 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
1866 | slashsound:Play() | |
1867 | for i = 1, 5 do | |
1868 | wait() | |
1869 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
1870 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1871 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1872 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
1873 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1874 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1875 | ||
1876 | end | |
1877 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
1878 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
1879 | for i = 1, 5 do | |
1880 | wait() | |
1881 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
1882 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1883 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1884 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
1885 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1886 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1887 | ||
1888 | end | |
1889 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
1890 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
1891 | ||
1892 | wait(0.1) | |
1893 | slash:Destroy() | |
1894 | if ra ~= nil then | |
1895 | ra.BrickColor = BrickColor.new("Really black") | |
1896 | hitsound:Play() | |
1897 | for i = 1,20 do | |
1898 | wait() | |
1899 | ra.Transparency = ra.Transparency + 0.05 | |
1900 | end | |
1901 | ra:Destroy() | |
1902 | end | |
1903 | slash = Instance.new("Part",char) | |
1904 | slash.CanCollide = false | |
1905 | slash.Transparency = 1 | |
1906 | slash.Size = Vector3.new(5,5,1) | |
1907 | slashweld = Instance.new("Weld",slash) | |
1908 | slashweld.Part0 = torso | |
1909 | slashweld.Part1 = slash | |
1910 | slashweld.C0 = CFrame.new(0,0,-2) | |
1911 | slashdecal = Instance.new("Decal",slash) | |
1912 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
1913 | ||
1914 | slashdecal1 = Instance.new("Decal",slash) | |
1915 | slashdecal1.Face = "Back" | |
1916 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
1917 | slashsound:Play() | |
1918 | for i = 1, 5 do | |
1919 | wait() | |
1920 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
1921 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1922 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1923 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
1924 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1925 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1926 | ||
1927 | end | |
1928 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
1929 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
1930 | for i = 1, 5 do | |
1931 | wait() | |
1932 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
1933 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1934 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1935 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
1936 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1937 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1938 | ||
1939 | end | |
1940 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
1941 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
1942 | ||
1943 | wait(0.1) | |
1944 | slash:Destroy() | |
1945 | if rl ~= nil then | |
1946 | rl.BrickColor = BrickColor.new("Really black") | |
1947 | hitsound:Play() | |
1948 | for i = 1,20 do | |
1949 | wait() | |
1950 | rl.Transparency = rl.Transparency + 0.05 | |
1951 | end | |
1952 | rl:Destroy() | |
1953 | end | |
1954 | slash = Instance.new("Part",char) | |
1955 | slash.CanCollide = false | |
1956 | slash.Transparency = 1 | |
1957 | slash.Size = Vector3.new(5,5,1) | |
1958 | slashweld = Instance.new("Weld",slash) | |
1959 | slashweld.Part0 = torso | |
1960 | slashweld.Part1 = slash | |
1961 | slashweld.C0 = CFrame.new(0,0,-2) | |
1962 | slashdecal = Instance.new("Decal",slash) | |
1963 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
1964 | ||
1965 | slashdecal1 = Instance.new("Decal",slash) | |
1966 | slashdecal1.Face = "Back" | |
1967 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
1968 | slashsound:Play() | |
1969 | for i = 1, 5 do | |
1970 | wait() | |
1971 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
1972 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1973 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1974 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
1975 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1976 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1977 | ||
1978 | end | |
1979 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
1980 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
1981 | for i = 1, 5 do | |
1982 | wait() | |
1983 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
1984 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
1985 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
1986 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
1987 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
1988 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
1989 | ||
1990 | end | |
1991 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
1992 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
1993 | ||
1994 | wait(0.1) | |
1995 | slash:Destroy() | |
1996 | ||
1997 | t.BrickColor = BrickColor.new("Really black") | |
1998 | hitsound:Play() | |
1999 | for i = 1,20 do | |
2000 | wait() | |
2001 | t.Transparency = t.Transparency + 0.05 | |
2002 | end | |
2003 | t:Destroy() | |
2004 | slash = Instance.new("Part",char) | |
2005 | slash.CanCollide = false | |
2006 | slash.Transparency = 1 | |
2007 | slash.Size = Vector3.new(5,5,1) | |
2008 | slashweld = Instance.new("Weld",slash) | |
2009 | slashweld.Part0 = torso | |
2010 | slashweld.Part1 = slash | |
2011 | slashweld.C0 = CFrame.new(0,0,-2) | |
2012 | slashdecal = Instance.new("Decal",slash) | |
2013 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941494931" | |
2014 | ||
2015 | slashdecal1 = Instance.new("Decal",slash) | |
2016 | slashdecal1.Face = "Back" | |
2017 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942252949" | |
2018 | slashsound:Play() | |
2019 | for i = 1, 5 do | |
2020 | wait() | |
2021 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(50)), 0.7) | |
2022 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
2023 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
2024 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(0), math.rad(0), 0), 0.7) | |
2025 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
2026 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
2027 | ||
2028 | end | |
2029 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495205" | |
2030 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253050" | |
2031 | for i = 1, 5 do | |
2032 | wait() | |
2033 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.8)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-30)), 0.7) | |
2034 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.7) | |
2035 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7) | |
2036 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles( math.rad(-15), math.rad(15), 0), 0.7) | |
2037 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-2)), 0.7) | |
2038 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(2)), 0.7) | |
2039 | ||
2040 | end | |
2041 | slashdecal.Texture = "http://www.roblox.com/asset/?id=941495475" | |
2042 | slashdecal1.Texture = "http://www.roblox.com/asset/?id=942253124" | |
2043 | ||
2044 | wait(0.1) | |
2045 | slash:Destroy() | |
2046 | if h ~= nil then | |
2047 | h.BrickColor = BrickColor.new("Really black") | |
2048 | hitsound:Play() | |
2049 | for i = 1,20 do | |
2050 | wait() | |
2051 | h.Transparency = h.Transparency + 0.05 | |
2052 | end | |
2053 | h:Destroy() | |
2054 | end | |
2055 | hed.Anchored = false | |
2056 | ||
2057 | end | |
2058 | end | |
2059 | end | |
2060 | what.Touched:connect(onTouched) | |
2061 | end | |
2062 | end | |
2063 | end) |