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