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