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