SHOW:
|
|
- or go back to the newest paste.
1 | --One Punch Man Script | |
2 | p = game.Players.LocalPlayer | |
3 | char = p.Character | |
4 | des = false | |
5 | fling = true | |
6 | dot = false | |
7 | falling = false | |
8 | jump = true | |
9 | --char.Shirt:Remove() | |
10 | --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end | |
11 | for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end | |
12 | wait()--shirt = Instance.new("Shirt", char) | |
13 | --shirt.Name = "Shirt" | |
14 | --pants = Instance.new("Pants", char) | |
15 | --pants.Name = "Pants" | |
16 | ||
17 | --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=451927425" | |
18 | --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261" | |
19 | tp = true | |
20 | shoot = true | |
21 | hum = char.Humanoid | |
22 | punch = true | |
23 | neckp = char.Torso.Neck.C0 | |
24 | neck = char.Torso.Neck | |
25 | hum.MaxHealth = 9999999999999999999999999999999999999999 | |
26 | wait() | |
27 | hum.Health =hum.MaxHealth | |
28 | des = false | |
29 | root=char.HumanoidRootPart | |
30 | torso = char.Torso | |
31 | char.Head.face.Texture = "rbxassetid://332768867" | |
32 | local ChatService = game:GetService("Chat") | |
33 | local player = game.Players.LocalPlayer | |
34 | lig = Instance.new("PointLight",player.Character.Torso) | |
35 | lig.Color=Color3.new(255,0,0) | |
36 | m=player:GetMouse() | |
37 | bb = Instance.new("BillboardGui",player.Character.Head) | |
38 | bb.Enabled = true | |
39 | function newRay(start,face,range,wat) | |
40 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
41 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
42 | return rey,hit,pos | |
43 | end | |
44 | aa1={} | |
45 | torso=game.Players.LocalPlayer.Character.Torso | |
46 | ||
47 | local WorldUp = Vector3.new(0,1,0) | |
48 | function look2(Vec1,Vec2) | |
49 | local Orig = Vec1 | |
50 | Vec1 = Vec1+Vector3.new(0,1,0) | |
51 | Vec2 = Vec2+Vector3.new(0,1,0) | |
52 | local Forward = (Vec2-Vec1).unit | |
53 | local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit | |
54 | local Right = Up:Cross(Forward).unit | |
55 | Forward = -Forward | |
56 | Right = -Right | |
57 | return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
58 | end | |
59 | ||
60 | function look(CFr,Vec2) | |
61 | local A = Vector3.new(0,0,0) | |
62 | local B = CFr:inverse()*Vec2 | |
63 | local CF = look2(A,Vector3.new(A.X,B.Y,B.Z)) | |
64 | if B.Z > 0 then | |
65 | CF = CFr*(CF*CFrame.Angles(0,0,math.pi)) | |
66 | elseif B.Z == 0 then | |
67 | if B.Y > 0 then | |
68 | CF = CFr*CFrame.Angles(math.pi/2,0,0) | |
69 | elseif B.Y < 0 then | |
70 | CF = CFr*CFrame.Angles(-math.pi/2,0,0) | |
71 | else | |
72 | CF = CFr | |
73 | end | |
74 | end | |
75 | local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components() | |
76 | local Up = Vector3.new(X,Y,Z) | |
77 | local Forward = (Vec2-CFr.p).unit | |
78 | local Right = Up:Cross(Forward) | |
79 | Forward = -Forward | |
80 | Right = -Right | |
81 | return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
82 | end | |
83 | ||
84 | function simulate(j,d,m,r,t) | |
85 | local joint = j | |
86 | for i,v in ipairs(t) do | |
87 | if v[1]:FindFirstChild("Weld") then | |
88 | local stiff = m.CFrame.lookVector*0.03 | |
89 | if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end | |
90 | local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit | |
91 | local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude | |
92 | local pos = joint.p+(dir*(d*0.5)) | |
93 | --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end | |
94 | local inv = v[1].Weld.Part0.CFrame | |
95 | local rel1 = inv:inverse()*pos | |
96 | local rel2 = inv:inverse()*(pos-(dir*dis)) | |
97 | local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z) | |
98 | v[1].Weld.C0 = cf | |
99 | v[2] = inv*cf | |
100 | --v[1].CFrame = cf | |
101 | end | |
102 | end | |
103 | end | |
104 | for i=1,8 do | |
105 | local p = Instance.new("Part",char) | |
106 | p.Anchored = false | |
107 | p.BrickColor = BrickColor.new("Institutional white") | |
108 | p.CanCollide = false | |
109 | p.FormFactor="Custom" | |
110 | p.Material = "SmoothPlastic" | |
111 | p.TopSurface = "SmoothNoOutlines" | |
112 | p.BottomSurface = "SmoothNoOutlines" | |
113 | p.RightSurface = "SmoothNoOutlines" | |
114 | p.LeftSurface = "SmoothNoOutlines" | |
115 | p.FrontSurface = "SmoothNoOutlines" | |
116 | p.BackSurface = "SmoothNoOutlines" | |
117 | ||
118 | p.Size=Vector3.new(2,.2,0.2) | |
119 | p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them | |
120 | mesh = Instance.new("BlockMesh",p) | |
121 | mesh.Scale = Vector3.new(1,1,4) | |
122 | local w = Instance.new("Motor6D",p) | |
123 | w.Part0 = aa1[i-1] and aa1[i-1][1] or torso | |
124 | w.Part1 = p | |
125 | w.Name = "Weld" | |
126 | --table.insert(aa1,p) | |
127 | aa1[i] = {p,p.CFrame} | |
128 | ||
129 | end | |
130 | game:service"RunService".Stepped:connect(function() | |
131 | simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1) | |
132 | end) | |
133 | bb.AlwaysOnTop = true | |
134 | bb.Size = UDim2.new(0,200,0,50) | |
135 | bb.StudsOffset = Vector3.new(0,1,0) | |
136 | gui=Instance.new("TextBox",bb) | |
137 | gui.Text = "* " | |
138 | gui.Size = UDim2.new(0,133,0,45) | |
139 | gui.Position=UDim2.new(0,57,0,-40) | |
140 | gui.TextColor3 = Color3.new(255,255,255) | |
141 | gui.BackgroundColor3=Color3.new(0,0,0) | |
142 | gui.TextWrapped = true | |
143 | gui.TextScaled = true | |
144 | gui.TextXAlignment = "Left" | |
145 | gui.TextYAlignment = "Top" | |
146 | gui.Visible = false | |
147 | gui.BorderColor3 = Color3.new(0,0,0) | |
148 | punch2 = true | |
149 | gui1=Instance.new("TextButton",bb) | |
150 | gui1.Position=UDim2.new(0,5,0,-43) | |
151 | gui1.Size = UDim2.new(0,190,0,51) | |
152 | ||
153 | gui1.TextColor3 = Color3.new(255,255,255) | |
154 | gui1.BackgroundColor3=Color3.new(255,255,255) | |
155 | jump2 = true | |
156 | gui1.Visible = false | |
157 | img = Instance.new("ImageLabel",bb) | |
158 | img.Size = UDim2.new(0,46,0,47) | |
159 | img.Position = UDim2.new(0,10,0,-41) | |
160 | img.Image = "rbxassetid://447301252" | |
161 | img.BorderColor3 = Color3.new(0,0,0) | |
162 | img.Visible = false | |
163 | soka = Instance.new("Sound",char) | |
164 | soka.SoundId = "http://www.roblox.com/asset/?id = 447199232" | |
165 | soka.Volume = 1 | |
166 | boom = Instance.new("Sound",char) | |
167 | boom.SoundId = "http://www.roblox.com/asset/?id = 447041606" | |
168 | boom.Volume = 1 | |
169 | boom2 = Instance.new("Sound",char) | |
170 | boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737" | |
171 | boom2.Volume = 1 | |
172 | boom3 = Instance.new("Sound",char) | |
173 | boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019" | |
174 | boom3.Volume = 1 | |
175 | tps = Instance.new("Sound",char) | |
176 | tps.SoundId = "http://www.roblox.com/asset/?id = 449860746" | |
177 | tps.Volume = 1 | |
178 | asd = Instance.new("Sound",char) | |
179 | asd.SoundId = "http://www.roblox.com/asset/?id = 447310433" | |
180 | asd.Volume =1 | |
181 | asd1 = Instance.new("Sound",char) | |
182 | asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695" | |
183 | ||
184 | asd2 = Instance.new("Sound",char) | |
185 | asd2.SoundId = "http://www.roblox.com/asset/?id = 386713054" | |
186 | asd2.Looped = true | |
187 | asd2.Volume = 5 | |
188 | asd3 = Instance.new("Sound",char) | |
189 | asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996" | |
190 | asd3.Looped = true | |
191 | asd4 = Instance.new("Sound",char) | |
192 | asd4.SoundId = "http://www.roblox.com/asset/?id = 401258325" | |
193 | asd4.Looped = true | |
194 | asd5 = Instance.new("Sound",char) | |
195 | asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261" | |
196 | asd5.Looped = true | |
197 | gas = Instance.new("Sound",char) | |
198 | gas.SoundId = "http://www.roblox.com/asset/?id = 345052019" | |
199 | asd6 = Instance.new("Sound",char) | |
200 | asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325" | |
201 | asd6.Looped = true | |
202 | function play(play) | |
203 | asd:Play() | |
204 | wait(0.05) | |
205 | --asd1:Play() | |
206 | end | |
207 | ||
208 | ||
209 | ||
210 | ------------ | |
211 | ------------------------- | |
212 | ||
213 | function stream(origin,dir,length,size) | |
214 | local parts = {} | |
215 | for i = 1,length do | |
216 | local p = Instance.new("Part",char) | |
217 | p.Anchored = true | |
218 | p.Transparency = 0.5 | |
219 | p.TopSurface = 0 | |
220 | p.BottomSurface = 0 | |
221 | p.CanCollide = false | |
222 | p.BrickColor = BrickColor.new("Institutional white") | |
223 | p.Size = Vector3.new(10,30,10) -- for now | |
224 | p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) | |
225 | parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)} | |
226 | game:GetService("Debris"):AddItem(p,3) | |
227 | end | |
228 | Spawn(function() | |
229 | while parts do | |
230 | for i,v in pairs(parts) do | |
231 | if v[1].Parent == char then | |
232 | v[1].CFrame = v[1].CFrame*v[2] | |
233 | else | |
234 | parts = nil | |
235 | break | |
236 | end | |
237 | end | |
238 | wait(0.02) | |
239 | end | |
240 | end) | |
241 | end | |
242 | ||
243 | --[[-- listen for their chatting | |
244 | player.Chatted:connect(function(message) | |
245 | a = string.len(message) | |
246 | gui.Text = "" | |
247 | gui.Visible = true | |
248 | gui1.Visible = true | |
249 | des = false | |
250 | img.Visible = true | |
251 | print(a) | |
252 | if dot == false then | |
253 | gui.Text = "" | |
254 | for i = 1,string.len(message) do | |
255 | gui.Text =gui.Text..message:sub(i,i) | |
256 | play() | |
257 | ||
258 | end | |
259 | end | |
260 | ||
261 | ||
262 | des = true | |
263 | end)]]-- | |
264 | m.KeyDown:connect(function(k) | |
265 | if k == "g" then | |
266 | asd2:Play() | |
267 | ||
268 | ||
269 | end | |
270 | end) | |
271 | ||
272 | m.KeyDown:connect(function(k) | |
273 | if k == "r" then | |
274 | ||
275 | asd4:Play() | |
276 | end | |
277 | end) | |
278 | m.KeyDown:connect(function(k) | |
279 | if k == "q" then | |
280 | ||
281 | asd3:Play() | |
282 | end | |
283 | end) | |
284 | m.KeyDown:connect(function(k) | |
285 | if k == "z" then | |
286 | img.Image = "rbxassetid://332766052" | |
287 | ||
288 | end | |
289 | end) | |
290 | m.KeyDown:connect(function(k) | |
291 | if k == "c" then | |
292 | img.Image = "rbxassetid://447301252" | |
293 | ||
294 | end | |
295 | end) | |
296 | m.KeyDown:connect(function(k) | |
297 | if k == "b" then | |
298 | ||
299 | asd6:Play() | |
300 | end | |
301 | end) | |
302 | mouse = p:GetMouse() | |
303 | m.KeyDown:connect(function(k) | |
304 | if k:byte() == 48 then | |
305 | ||
306 | hum.WalkSpeed = 100 | |
307 | end | |
308 | end) | |
309 | m.KeyDown:connect(function(k) | |
310 | if k:byte() == 50 then | |
311 | ||
312 | soka:Play() | |
313 | end | |
314 | end) | |
315 | m.KeyDown:connect(function(k) | |
316 | if k:byte() == 52 then | |
317 | ||
318 | char.Head.face.Texture = "rbxassetid://444037452" | |
319 | end | |
320 | end) | |
321 | m.KeyDown:connect(function(k) | |
322 | if k:byte() == 51 then | |
323 | ||
324 | char.Head.face.Texture = "rbxassetid://332768867" | |
325 | end | |
326 | end) | |
327 | m.KeyUp:connect(function(k) | |
328 | if k:byte() == 48 then | |
329 | ||
330 | hum.WalkSpeed = 16 | |
331 | end | |
332 | end) | |
333 | p.Chatted:connect(function(m) | |
334 | if m == "Okay." then | |
335 | soka:Play() | |
336 | end | |
337 | end) | |
338 | m.KeyDown:connect(function(k) | |
339 | if k == "x" then | |
340 | if des == true then | |
341 | gui.Visible = false | |
342 | gui.Text = "* " | |
343 | gui1.Visible = false | |
344 | img.Visible = false | |
345 | end | |
346 | end | |
347 | end) | |
348 | m.KeyDown:connect(function(key) | |
349 | if key == "j" then | |
350 | if tp == true then | |
351 | tp = false | |
352 | tps:Play() | |
353 | char.Head.face.Parent = game.Lighting | |
354 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1 | |
355 | end | |
356 | ||
357 | end | |
358 | wait(0.5) | |
359 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0 | |
360 | end | |
361 | ||
362 | end | |
363 | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
364 | char.HumanoidRootPart.Transparency = 1 | |
365 | game.Lighting.face.Parent = char.Head | |
366 | wait(0.2) | |
367 | ||
368 | tp = true | |
369 | ||
370 | ||
371 | end | |
372 | end | |
373 | end) | |
374 | ||
375 | ||
376 | m.KeyDown:connect(function(key) | |
377 | if key == "t" then | |
378 | if punch2 == true then | |
379 | punch2 = false | |
380 | punch = false | |
381 | ||
382 | local ChatService = game:GetService("Chat") | |
383 | ||
384 | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) | |
385 | ChatService:Chat(char.Head, "Mind if I get Serious?") | |
386 | wait(1) | |
387 | local ChatService = game:GetService("Chat") | |
388 | ||
389 | ||
390 | ChatService:Chat(char.Head ,"Killer Move: Serious Series...") | |
391 | wait(1) | |
392 | local ChatService = game:GetService("Chat") | |
393 | ||
394 | ||
395 | ChatService:Chat(char.Head, "SERIOUS PUNCH.") | |
396 | neck.C0 = neckp | |
397 | wait(0.6) | |
398 | org = char.Torso["Left Shoulder"].C0 | |
399 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
400 | wait() | |
401 | killbrick2 = Instance.new("Part",char) | |
402 | killbrick2.Size = Vector3.new(80,80,9000) | |
403 | killbrick2.Transparency = 1 | |
404 | ||
405 | killbrick2.CanCollide = true | |
406 | wait(0.1) | |
407 | killbrick2.CanCollide = false | |
408 | ||
409 | killbrick2.Anchored = true | |
410 | ||
411 | killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005) | |
412 | ||
413 | killbrick2.Touched:connect(function(h) | |
414 | local x = h.Parent:FindFirstChild("Humanoid") | |
415 | if x then | |
416 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
417 | safe = true | |
418 | else safe = false | |
419 | end | |
420 | if x then | |
421 | if safe == false then | |
422 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900 | |
423 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
424 | boom:Play() | |
425 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
426 | ||
427 | ||
428 | wait(0.2) | |
429 | x.Parent:BreakJoints() | |
430 | wait() | |
431 | safe = true | |
432 | end | |
433 | end | |
434 | end | |
435 | end) | |
436 | ||
437 | ||
438 | ||
439 | ||
440 | ||
441 | ||
442 | ||
443 | ||
444 | local rng = Instance.new("Part", char) | |
445 | rng.Anchored = true | |
446 | rng.BrickColor = BrickColor.new("Institutional white") | |
447 | rng.CanCollide = false | |
448 | rng.FormFactor = 3 | |
449 | rng.Name = "Ring" | |
450 | rng.Size = Vector3.new(1, 1, 1) | |
451 | rng.Transparency = 0.8 | |
452 | rng.TopSurface = 0 | |
453 | rng.BottomSurface = 0 | |
454 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
455 | --rng.Rotation = Vector3.new(math.pi/2,0,0) | |
456 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
457 | local rngm = Instance.new("SpecialMesh", rng) | |
458 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
459 | rngm.Scale = Vector3.new(1, 1.3, 2) | |
460 | local rng1 = Instance.new("Part", char) | |
461 | rng1.Anchored = true | |
462 | rng1.BrickColor = BrickColor.new("Institutional white") | |
463 | rng1.CanCollide = false | |
464 | rng1.FormFactor = 3 | |
465 | rng1.Name = "Ring" | |
466 | rng1.Size = Vector3.new(1, 1, 1) | |
467 | rng1.Transparency = 0.8 | |
468 | rng1.TopSurface = 0 | |
469 | rng1.BottomSurface = 0 | |
470 | rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
471 | --rng1.Rotation = Vector3.new(math.pi/2,0,0) | |
472 | rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
473 | local rngm1 = Instance.new("SpecialMesh", rng1) | |
474 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
475 | rngm1.Scale = Vector3.new(1, 1.3, 2) | |
476 | ||
477 | local p = (torso.CFrame*CFrame.new(-20,0,3)) | |
478 | stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5) -- 20 is number of parts, 6 is distance between each one | |
479 | local p = (torso.CFrame*CFrame.new(20,0,3)) | |
480 | stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) -- same here | |
481 | ||
482 | local rng2 = Instance.new("Part", char) | |
483 | rng2.Anchored = true | |
484 | rng2.BrickColor = BrickColor.new("Institutional white") | |
485 | rng2.CanCollide = false | |
486 | rng2.FormFactor = 3 | |
487 | rng2.Name = "Ring" | |
488 | rng2.Size = Vector3.new(1, 1, 1) | |
489 | rng2.Transparency = 0.8 | |
490 | rng2.TopSurface = 0 | |
491 | rng2.BottomSurface = 0 | |
492 | rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
493 | --rng1.Rotation = Vector3.new(math.pi/2,0,0) | |
494 | rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
495 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
496 | rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
497 | rngm2.Scale = Vector3.new(1, 1.3, 2) | |
498 | wait(0.1) | |
499 | ||
500 | boom3:Play() | |
501 | coroutine.wrap(function() | |
502 | for i = 1, 35, 0.5 do | |
503 | ||
504 | ||
505 | ||
506 | ||
507 | ||
508 | rngm.Scale = Vector3.new(50 + i*2, 10 + i*2, 2.5+ i*4) | |
509 | rngm1.Scale = Vector3.new(50 + i*2, 1.4 + i*2, 1.4+ i*4) | |
510 | rngm2.Scale = Vector3.new(50 + i*2, 10 + i*2, 1.2+ i*4) | |
511 | ||
512 | wait() | |
513 | end | |
514 | wait() | |
515 | rng:Destroy() | |
516 | rng1:Destroy() | |
517 | rng2:Destroy() | |
518 | killbrick2:Remove() | |
519 | wait(0.5) | |
520 | char.Torso["Left Shoulder"].C0 = org | |
521 | wait(1) | |
522 | punch2 = true | |
523 | punch = true | |
524 | wait() | |
525 | ||
526 | ||
527 | end)() | |
528 | ||
529 | ||
530 | ||
531 | end | |
532 | ||
533 | ||
534 | wait(.1) | |
535 | ||
536 | ||
537 | end | |
538 | end) | |
539 | ||
540 | ||
541 | ||
542 | ||
543 | ||
544 | m.KeyDown:connect(function(key) | |
545 | if key == "k" then | |
546 | if punch == true then | |
547 | punch = false | |
548 | org = char.Torso["Left Shoulder"].C0 | |
549 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
550 | killbrick = Instance.new("Part",char) | |
551 | killbrick.Size = Vector3.new(5,1,5) | |
552 | killbrick.Transparency = 1 | |
553 | killbrick:BreakJoints() | |
554 | killbrick.CanCollide = false | |
555 | local wel = Instance.new("Weld",killbrick) | |
556 | wel.Part0 = killbrick | |
557 | wel.Part1 = char["Left Arm"] | |
558 | wel.C0 = CFrame.new(0,1,0) | |
559 | force = 90 | |
560 | ||
561 | killbrick.Touched:connect(function(h) | |
562 | local x = h.Parent.Humanoid | |
563 | if x.Health >= 6000 then | |
564 | fling = false | |
565 | end | |
566 | if x.Health < 6000 then | |
567 | fling = true | |
568 | end | |
569 | local stop = h.Parent.Torso.Velocity | |
570 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
571 | safe = true | |
572 | else safe = false | |
573 | end | |
574 | if x then | |
575 | if safe == false then | |
576 | if fling == true then | |
577 | force = 900 | |
578 | ||
579 | end | |
580 | if fling == false then | |
581 | force = 200 | |
582 | end | |
583 | ||
584 | ||
585 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force | |
586 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
587 | boom:Play() | |
588 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
589 | ||
590 | ||
591 | wait(0.2) | |
592 | x:TakeDamage(5000) | |
593 | wait() | |
594 | safe = true | |
595 | bodyforc:Remove() | |
596 | h.Parent.Torso.Velocity = stop | |
597 | ||
598 | end | |
599 | end | |
600 | end) | |
601 | ||
602 | ||
603 | ||
604 | ||
605 | ||
606 | ||
607 | ||
608 | ||
609 | ||
610 | ||
611 | local rng = Instance.new("Part", char) | |
612 | rng.Anchored = true | |
613 | rng.BrickColor = BrickColor.new("Institutional white") | |
614 | rng.CanCollide = false | |
615 | rng.FormFactor = 3 | |
616 | rng.Name = "Ring" | |
617 | rng.Size = Vector3.new(1, 1, 1) | |
618 | rng.Transparency = 0.8 | |
619 | rng.TopSurface = 0 | |
620 | rng.BottomSurface = 0 | |
621 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
622 | --rng.Rotation = Vector3.new(math.pi/2,0,0) | |
623 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
624 | local rngm = Instance.new("SpecialMesh", rng) | |
625 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
626 | rngm.Scale = Vector3.new(1, 1.3, 2) | |
627 | wait(0.1) | |
628 | ||
629 | boom2:Play() | |
630 | coroutine.wrap(function() | |
631 | for i = 1, 10, .4 do | |
632 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
633 | ||
634 | wait() | |
635 | end | |
636 | wait() | |
637 | rng:Destroy() | |
638 | killbrick:Remove() | |
639 | wait(0.5) | |
640 | char.Torso["Left Shoulder"].C0 = org | |
641 | wait(1) | |
642 | ||
643 | punch = true | |
644 | wait() | |
645 | end)() | |
646 | ||
647 | ||
648 | ||
649 | end | |
650 | ||
651 | ||
652 | wait(.1) | |
653 | ||
654 | ||
655 | end | |
656 | end) | |
657 | ||
658 | ||
659 | ||
660 | ||
661 | ||
662 | ||
663 | ||
664 | ||
665 | ||
666 | ||
667 | ||
668 | ||
669 | ||
670 | ||
671 | m.KeyDown:connect(function(key) | |
672 | if key == "m" then | |
673 | if jump == true then | |
674 | jump = false | |
675 | ||
676 | ||
677 | local rng = Instance.new("Part", char) | |
678 | rng.Anchored = true | |
679 | rng.BrickColor = BrickColor.new("Institutional white") | |
680 | rng.CanCollide = false | |
681 | rng.FormFactor = 3 | |
682 | rng.Name = "Ring" | |
683 | rng.Size = Vector3.new(1, 1, 1) | |
684 | rng.Transparency = 0.35 | |
685 | rng.TopSurface = 0 | |
686 | rng.BottomSurface = 0 | |
687 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
688 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
689 | local rngm = Instance.new("SpecialMesh", rng) | |
690 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
691 | rngm.Scale = Vector3.new(1, 1.3, 2) | |
692 | wait(0.1) | |
693 | BV = Instance.new("BodyVelocity", torso) | |
694 | BV.maxForce = Vector3.new(0,20000,0) | |
695 | BV.P = 1000 | |
696 | BV.velocity = Vector3.new(0,100,0) | |
697 | boom:Play() | |
698 | coroutine.wrap(function() | |
699 | for i = 1, 60, 2 do | |
700 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
701 | rng.Transparency = i/60 | |
702 | wait() | |
703 | end | |
704 | wait() | |
705 | rng:Destroy() | |
706 | ||
707 | hum.WalkSpeed = 50 | |
708 | wait(1) | |
709 | ||
710 | for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then | |
711 | v:Destroy() jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false | |
712 | end end | |
713 | wait() | |
714 | end)() | |
715 | ||
716 | ||
717 | ||
718 | end | |
719 | ||
720 | ||
721 | wait(.1) | |
722 | ||
723 | ||
724 | end | |
725 | end) | |
726 | ||
727 | ||
728 | ||
729 | ||
730 | ||
731 | ||
732 | m.KeyDown:connect(function(key) | |
733 | if key == "n" then | |
734 | ||
735 | if falling == true then | |
736 | falling = false | |
737 | if jumping2 == true then | |
738 | jumping2 = false | |
739 | jump = false | |
740 | BV = Instance.new("BodyVelocity", torso) | |
741 | BV.maxForce = Vector3.new(0,-20000,0) | |
742 | BV.P = -1000 | |
743 | BV.velocity = Vector3.new(0,-70,0) | |
744 | wait(0.6) | |
745 | local rng = Instance.new("Part", char) | |
746 | rng.Anchored = true | |
747 | rng.BrickColor = BrickColor.new("Institutional white") | |
748 | rng.CanCollide = false | |
749 | rng.FormFactor = 3 | |
750 | rng.Name = "Ring" | |
751 | rng.Size = Vector3.new(1, 1, 1) | |
752 | rng.Transparency = 0.35 | |
753 | rng.TopSurface = 0 | |
754 | rng.BottomSurface = 0 | |
755 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
756 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
757 | local rngm = Instance.new("SpecialMesh", rng) | |
758 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
759 | rngm.Scale = Vector3.new(1, 1.3, 2) | |
760 | ||
761 | ||
762 | boom:Play() | |
763 | coroutine.wrap(function() | |
764 | for i = 1, 60, 2 do | |
765 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
766 | rng.Transparency = i/60 | |
767 | wait() | |
768 | end | |
769 | wait() | |
770 | rng:Destroy() | |
771 | ||
772 | ||
773 | ||
774 | ||
775 | for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then | |
776 | v:Destroy() wait(2) jumping2 = true hum.WalkSpeed = 16 | |
777 | end end | |
778 | wait() | |
779 | end)() | |
780 | ||
781 | ||
782 | ||
783 | end | |
784 | ||
785 | ||
786 | wait(.1) | |
787 | ||
788 | end | |
789 | end | |
790 | end) | |
791 | m.KeyDown:connect(function(k) | |
792 | if k == "f" then | |
793 | asd3:Stop() | |
794 | asd2:Stop() | |
795 | asd4:Stop() | |
796 | asd6:Stop() | |
797 | asd5:Stop() | |
798 | end | |
799 | end) | |
800 | ------------ | |
801 | -- ~CLarramore 2016local p = game.Players.LocalPlayer | |
802 | local char = p.Character | |
803 | local mouse = p:GetMouse() | |
804 | local larm = char["Left Arm"] | |
805 | local rarm = char["Right Arm"] | |
806 | local lleg = char["Left Leg"] | |
807 | local rleg = char["Right Leg"] | |
808 | local hed = char.Head | |
809 | local torso = char.Torso | |
810 | local hum = char.Humanoid | |
811 | local cam = game.Workspace.CurrentCamera | |
812 | local root = char.HumanoidRootPart | |
813 | local deb = false | |
814 | local CanAttack = true | |
815 | local shot = 0 | |
816 | local animpose = "Idle" | |
817 | local lastanimpose = "Idle" | |
818 | local stanceToggle = "Normal" | |
819 | local l = game:GetService("Lighting") | |
820 | local rs = game:GetService("RunService").RenderStepped | |
821 | math.randomseed(os.time()) | |
822 | hum.MaxHealth = 9001 | |
823 | wait(1) | |
824 | hum.Health = 9001 | |
825 | ||
826 | for i,v in pairs (hed:GetChildren()) do | |
827 | if v:IsA("Sound") then | |
828 | v:Destroy() | |
829 | end | |
830 | end | |
831 | --game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char | |
832 | --char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813" | |
833 | ||
834 | ---------------------------------------------------- | |
835 | --[[Additional Variables]] | |
836 | ||
837 | ||
838 | ||
839 | ||
840 | ||
841 | local lightspeed = math.random(0.1,0.2) | |
842 | local holy = false -- Is in holy/angel of death form? | |
843 | local eColors = {"Lime green", "Really black"} | |
844 | local idz = {"161006212", "161006195"} | |
845 | local Effects={} | |
846 | ||
847 | ||
848 | hs = Instance.new("Sound",torso) | |
849 | hs.SoundId = "http://www.roblox.com/asset/?id=149560784" | |
850 | hs.Pitch = 1.2 | |
851 | hs.Volume = 0.6 | |
852 | hs.Looped = true | |
853 | ||
854 | ds = Instance.new("Sound",torso) | |
855 | ds.SoundId = "http://roblox.com/asset/?id=149560784" | |
856 | ds.Pitch = 0.3 | |
857 | ds.Volume = 0.4 | |
858 | ds.Looped = true | |
859 | ||
860 | ||
861 | ds:play() | |
862 | ||
863 | ||
864 | if holy == false then | |
865 | eColors = {"Lime green", "Really black"} | |
866 | else if holy == true then | |
867 | eColors = {"Lime green"} | |
868 | end | |
869 | end | |
870 | ||
871 | ||
872 | ||
873 | ||
874 | ||
875 | ---------------------------------------------------- | |
876 | --[[Additional Functions]] | |
877 | ||
878 | cf=CFrame.new | |
879 | vt=Vector3.new | |
880 | ||
881 | function swait(num) | |
882 | if num==0 or num==nil then | |
883 | game:service'RunService'.Stepped:wait(0) | |
884 | else | |
885 | for i=0,num do | |
886 | game:service'RunService'.Stepped:wait(0) | |
887 | end | |
888 | end | |
889 | end | |
890 | ||
891 | so = function(id,par,vol,pit) | |
892 | coroutine.resume(coroutine.create(function() | |
893 | local sou = Instance.new("Sound",par or workspace) | |
894 | sou.Volume=vol | |
895 | sou.Pitch=pit or 1 | |
896 | sou.SoundId=id | |
897 | swait() | |
898 | sou:play() | |
899 | game:GetService("Debris"):AddItem(sou,6) | |
900 | end)) | |
901 | end | |
902 | ||
903 | ||
904 | ||
905 | ||
906 | ||
907 | ---------------------------------------------------- | |
908 | Debounces = { | |
909 | CanAttack = true; | |
910 | CanJoke = true; | |
911 | NoIdl = false; | |
912 | Slashing = false; | |
913 | Slashed = false; | |
914 | Slapping = false; | |
915 | Slapped = false; | |
916 | ks = false; | |
917 | } | |
918 | ||
919 | local Touche = {char.Name, } | |
920 | ---------------------------------------------------- | |
921 | function HasntTouched(plrname) | |
922 | local ret = true | |
923 | for _, v in pairs(Touche) do | |
924 | if v == plrname then | |
925 | ret = false | |
926 | end | |
927 | end | |
928 | return ret | |
929 | end | |
930 | ---------------------------------------------------- | |
931 | function weld5(part0, part1, c0, c1) | |
932 | weeld=Instance.new("Weld", part0) | |
933 | weeld.Part0=part0 | |
934 | weeld.Part1=part1 | |
935 | weeld.C0=c0 | |
936 | weeld.C1=c1 | |
937 | return weeld | |
938 | end | |
939 | ---------------------------------------------------- | |
940 | mod=Instance.new('Model',char) | |
941 | ||
942 | function Burst() | |
943 | part=Instance.new('Part',mod) | |
944 | part.Anchored=true | |
945 | part.CanCollide=false | |
946 | part.FormFactor='Custom' | |
947 | part.Size=Vector3.new(.2,.2,.2) | |
948 | part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0) | |
949 | part.Transparency=.7 | |
950 | ||
951 | if holy ~= true then | |
952 | part.BrickColor=BrickColor.new('Really black') | |
953 | else | |
954 | part.BrickColor=BrickColor.new('Lime green') | |
955 | end | |
956 | ||
957 | mesh=Instance.new('SpecialMesh',part) | |
958 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
959 | mesh.Scale=Vector3.new(10,5,10) | |
960 | part2=part:clone() | |
961 | part2.Parent=mod | |
962 | ||
963 | if holy ~= true then | |
964 | part2.BrickColor=BrickColor.new('Lime green') | |
965 | else | |
966 | part2.BrickColor=BrickColor.new('Lime green') | |
967 | end | |
968 | ||
969 | mesh2=mesh:clone() | |
970 | mesh2.Parent=part2 | |
971 | mesh2.Scale=Vector3.new(5,2.5,5) | |
972 | coroutine.resume(coroutine.create(function() | |
973 | for i=0,1,0.1 do | |
974 | wait() | |
975 | part.CFrame=part.CFrame | |
976 | part.Transparency=i | |
977 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
978 | part2.CFrame=part2.CFrame | |
979 | part2.Transparency=i | |
980 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
981 | end | |
982 | part.Parent=nil | |
983 | part2.Parent=nil | |
984 | end)) | |
985 | end | |
986 | ---------------------------------------------------- | |
987 | mod4 = Instance.new("Model",char) | |
988 | ||
989 | ptez = {0.7, 0.8, 0.9, 1} | |
990 | ||
991 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
992 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
993 | local List = {} | |
994 | for i,v in pairs(workspace:GetChildren())do | |
995 | if v:IsA("Model")then | |
996 | if v:findFirstChild("Torso")then | |
997 | if v ~= char then | |
998 | if(v.Torso.Position -Position).magnitude <= Distance then | |
999 | table.insert(List,v) | |
1000 | end | |
1001 | end | |
1002 | end | |
1003 | end | |
1004 | end | |
1005 | return List | |
1006 | end | |
1007 | ||
1008 | function Slam() | |
1009 | part=Instance.new('Part',mod4) | |
1010 | part.Anchored=true | |
1011 | part.CanCollide=false | |
1012 | part.FormFactor='Custom' | |
1013 | part.Size=Vector3.new(.2,.2,.2) | |
1014 | part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0) | |
1015 | part.Transparency=.7 | |
1016 | ||
1017 | if holy ~= true then | |
1018 | part.BrickColor=BrickColor.new('Really black') | |
1019 | else | |
1020 | part.BrickColor=BrickColor.new('Lime green') | |
1021 | end | |
1022 | ||
1023 | mesh=Instance.new('SpecialMesh',part) | |
1024 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1025 | mesh.Scale=Vector3.new(3,3,3) | |
1026 | part2=Instance.new('Part',mod4) | |
1027 | part2.Anchored=true | |
1028 | part2.CanCollide=false | |
1029 | part2.FormFactor='Custom' | |
1030 | part2.Size=Vector3.new(.2,.2,.2) | |
1031 | part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6) | |
1032 | part2.Transparency=.7 | |
1033 | ||
1034 | if holy ~= true then | |
1035 | part2.BrickColor=BrickColor.new('Lime green') | |
1036 | else | |
1037 | part2.BrickColor=BrickColor.new('Lime green') | |
1038 | end | |
1039 | ||
1040 | mesh2=Instance.new('SpecialMesh',part2) | |
1041 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1042 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1043 | x = Instance.new("Sound",char) | |
1044 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
1045 | x.Pitch = ptez[math.random(1,#ptez)] | |
1046 | x.Volume = 1 | |
1047 | wait(.1) | |
1048 | x1 = Instance.new("Sound",char) | |
1049 | x1.SoundId = "http://www.roblox.com/asset/?id=206082327" | |
1050 | x1.Pitch = ptez[math.random(1,#ptez)] | |
1051 | x1.Volume = 1 | |
1052 | wait(.1) | |
1053 | x:Play() | |
1054 | x1:Play() | |
1055 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
1056 | if v:FindFirstChild('Humanoid') then | |
1057 | v.Humanoid:TakeDamage(math.random(99999999,99999999)) | |
1058 | end | |
1059 | end | |
1060 | coroutine.resume(coroutine.create(function() | |
1061 | for i=0,0.62,0.13 do | |
1062 | wait() | |
1063 | part.CFrame=part.CFrame | |
1064 | part.Transparency=i | |
1065 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
1066 | part2.CFrame=part2.CFrame | |
1067 | part2.Transparency=i | |
1068 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
1069 | end | |
1070 | part.Parent=nil | |
1071 | part2.Parent=nil | |
1072 | x:Destroy() | |
1073 | end)) | |
1074 | end | |
1075 | ----------------------------------------------------PUNCH FUNC | |
1076 | function Punch() | |
1077 | part=Instance.new('Part',mod4) | |
1078 | part.Anchored=true | |
1079 | part.CanCollide=false | |
1080 | part.FormFactor='Custom' | |
1081 | part.Size=Vector3.new(.2,.2,.2) | |
1082 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
1083 | part.Transparency=.7 | |
1084 | ||
1085 | part.BrickColor=BrickColor.new('Really black') | |
1086 | mesh=Instance.new('SpecialMesh',part) | |
1087 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1088 | mesh.Scale=Vector3.new(3,3,3) | |
1089 | part2=Instance.new('Part',mod4) | |
1090 | part2.Anchored=true | |
1091 | part2.CanCollide=false | |
1092 | ||
1093 | part2.FormFactor='Custom' | |
1094 | part2.Size=Vector3.new(.2,.2,.2) | |
1095 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
1096 | part2.Transparency=.7 | |
1097 | part2.BrickColor=BrickColor.new('Lime green') | |
1098 | mesh2=Instance.new('SpecialMesh',part2) | |
1099 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1100 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1101 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
1102 | if v:FindFirstChild('Humanoid') then | |
1103 | v.Humanoid:TakeDamage(math.random(2,6)) | |
1104 | end | |
1105 | end | |
1106 | coroutine.resume(coroutine.create(function() | |
1107 | for i=0,0.62,0.4 do | |
1108 | wait() | |
1109 | part.CFrame=part.CFrame | |
1110 | part.Transparency=i | |
1111 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
1112 | part2.CFrame=part2.CFrame | |
1113 | part2.Transparency=i | |
1114 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
1115 | end | |
1116 | part.Parent=nil | |
1117 | part2.Parent=nil | |
1118 | end)) | |
1119 | end | |
1120 | ---------------------------------------------------- | |
1121 | GroundWave = function() | |
1122 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1123 | local Colors = {"Lime green", "Really black"} | |
1124 | local wave = Instance.new("Part", torso) | |
1125 | ||
1126 | if holy == false then | |
1127 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1128 | else | |
1129 | wave.BrickColor = BrickColor.new("Lime green") | |
1130 | end | |
1131 | ||
1132 | wave.Anchored = true | |
1133 | wave.CanCollide = false | |
1134 | wave.Material = "Neon" | |
1135 | wave.Locked = true | |
1136 | wave.Size = Vector3.new(1, 1, 1) | |
1137 | wave.TopSurface = "Smooth" | |
1138 | wave.BottomSurface = "Smooth" | |
1139 | wave.Transparency = 0.35 | |
1140 | wave.CFrame = HandCF | |
1141 | wm = Instance.new("SpecialMesh", wave) | |
1142 | wm.MeshId = "rbxassetid://3270017" | |
1143 | coroutine.wrap(function() | |
1144 | for i = 1, 14, 1 do | |
1145 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
1146 | wave.Size = wm.Scale | |
1147 | wave.CFrame = HandCF | |
1148 | wave.Transparency = i/14 | |
1149 | wait() | |
1150 | end | |
1151 | wait() | |
1152 | wave:Destroy() | |
1153 | end)() | |
1154 | end | |
1155 | ---------------------------------------------------- | |
1156 | Magik = function() | |
1157 | Spawn(function() | |
1158 | local function lerp(a,b,c) | |
1159 | return a+(b-a)*c | |
1160 | end | |
1161 | local function rndRange(rng) | |
1162 | return math.random(-rng*1000,rng*1000)/1000 | |
1163 | end | |
1164 | local magik = Instance.new("Part", larm) | |
1165 | local Colors = {"Lime green", "Really black"} | |
1166 | magik.Anchored = true | |
1167 | magik.Locked = true | |
1168 | magik.Material = "Neon" | |
1169 | magik.FormFactor = "Custom" | |
1170 | magik.Size = Vector3.new(1.2, 1.2, 1.2) | |
1171 | magik.TopSurface = "Smooth" | |
1172 | magik.BottomSurface = "Smooth" | |
1173 | magik.Transparency = 0 | |
1174 | magik.CanCollide = false | |
1175 | ||
1176 | if holy == false then | |
1177 | magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1178 | else | |
1179 | magik.BrickColor = BrickColor.new("Lime green") | |
1180 | end | |
1181 | ||
1182 | local mr = math.rad | |
1183 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
1184 | local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz) | |
1185 | magik.CFrame = cf | |
1186 | for i = 0, 1, .05 do | |
1187 | local newTrans = lerp(0.5, 1, i) | |
1188 | local ns = lerp(1,1.2,i) | |
1189 | magik.Transparency = newTrans | |
1190 | magik.Size = Vector3.new(ns,ns,ns) | |
1191 | magik.CFrame = cf | |
1192 | rs:wait() | |
1193 | end | |
1194 | magik:Destroy() | |
1195 | wait() | |
1196 | end) | |
1197 | end | |
1198 | ---------------------------------------------------- | |
1199 | Magik2 = function() | |
1200 | Spawn(function() | |
1201 | if stanceToggle == "Melee" then | |
1202 | local function lerp(a,b,c) | |
1203 | return a+(b-a)*c | |
1204 | end | |
1205 | local function rndRange(rng) | |
1206 | return math.random(-rng*1000,rng*1000)/1000 | |
1207 | end | |
1208 | local magik2 = Instance.new("Part", rarm) | |
1209 | local Colors = {"Lime green", "Really black"} | |
1210 | magik2.Anchored = true | |
1211 | magik2.Locked = true | |
1212 | magik2.FormFactor = "Custom" | |
1213 | magik2.Size = Vector3.new(1.2, 1.2, 1.2) | |
1214 | magik2.TopSurface = "Smooth" | |
1215 | magik2.BottomSurface = "Smooth" | |
1216 | magik2.Transparency = 0 | |
1217 | magik2.Material = "Neon" | |
1218 | magik2.CanCollide = false | |
1219 | ||
1220 | if holy == false then | |
1221 | magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1222 | else | |
1223 | magik2.BrickColor = BrickColor.new("Lime green") | |
1224 | end | |
1225 | ||
1226 | local mr = math.rad | |
1227 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
1228 | local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz) | |
1229 | magik2.CFrame = cf | |
1230 | for i = 0, 1, .05 do | |
1231 | local newTrans = lerp(0.5, 1, i) | |
1232 | local ns = lerp(1,1.2,i) | |
1233 | magik2.Transparency = newTrans | |
1234 | magik2.Size = Vector3.new(ns,ns,ns) | |
1235 | magik2.CFrame = cf | |
1236 | rs:wait() | |
1237 | end | |
1238 | magik2:Destroy() | |
1239 | elseif stanceToggle ~= "Melee" then | |
1240 | wait() | |
1241 | end | |
1242 | end) | |
1243 | end | |
1244 | ---------------------------------------------------- | |
1245 | function lerp(a, b, t) -- Linear interpolation | |
1246 | return a + (b - a)*t | |
1247 | end | |
1248 | ||
1249 | function slerp(a, b, t) --Spherical interpolation | |
1250 | dot = a:Dot(b) | |
1251 | if dot > 0.99999 or dot < -0.99999 then | |
1252 | return t <= 0.5 and a or b | |
1253 | else | |
1254 | r = math.acos(dot) | |
1255 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
1256 | end | |
1257 | end | |
1258 | ||
1259 | function matrixInterpolate(a, b, t) | |
1260 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
1261 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
1262 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
1263 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
1264 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
1265 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
1266 | local t = v1:Dot(v2) | |
1267 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
1268 | return CFrame.new() | |
1269 | end | |
1270 | return CFrame.new( | |
1271 | v0.x, v0.y, v0.z, | |
1272 | v1.x, v1.y, v1.z, | |
1273 | v2.x, v2.y, v2.z, | |
1274 | v3.x, v3.y, v3.z) | |
1275 | end | |
1276 | ---------------------------------------------------- | |
1277 | function genWeld(a,b) | |
1278 | local w = Instance.new("Weld",a) | |
1279 | w.Part0 = a | |
1280 | w.Part1 = b | |
1281 | return w | |
1282 | end | |
1283 | function weld(a, b) | |
1284 | local weld = Instance.new("Weld") | |
1285 | weld.Name = "W" | |
1286 | weld.Part0 = a | |
1287 | weld.Part1 = b | |
1288 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
1289 | weld.Parent = a | |
1290 | return weld; | |
1291 | end | |
1292 | ---------------------------------------------------- | |
1293 | function Lerp(c1,c2,al) | |
1294 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
1295 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
1296 | for i,v in pairs(com1) do | |
1297 | com1[i] = v+(com2[i]-v)*al | |
1298 | end | |
1299 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
1300 | end | |
1301 | ----------------------------------------------------[[Dissolve function]] | |
1302 | function Dissolve(ret) | |
1303 | ||
1304 | ret.BrickColor = BrickColor.new("Really black") | |
1305 | for i = 1, 10 do wait() | |
1306 | for i,v in pairs(ret:GetChildren()) do | |
1307 | if v:IsA("Part") or v:IsA("WedgePart") then | |
1308 | v.Transparency = v.Transparency + 0.1 | |
1309 | ||
1310 | end | |
1311 | end | |
1312 | end | |
1313 | ret:Destroy() | |
1314 | end | |
1315 | ||
1316 | ---------------------------------------------------- | |
1317 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
1318 | local wld = Instance.new("Weld", wp1) | |
1319 | wld.Part0 = wp0 | |
1320 | wld.Part1 = wp1 | |
1321 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
1322 | end | |
1323 | ---------------------------------------------------- | |
1324 | newWeld(torso, larm, -1.5, 0.5, 0) | |
1325 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
1326 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
1327 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
1328 | newWeld(torso, hed, 0, 1.5, 0) | |
1329 | newWeld(torso, lleg, -0.5, -1, 0) | |
1330 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
1331 | newWeld(torso, rleg, 0.5, -1, 0) | |
1332 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
1333 | newWeld(root, torso, 0, -1, 0) | |
1334 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
1335 | ---------------------------------------------------- | |
1336 | --local SIDz = {"167985102, 163752916"}--181449739, 167161785, 148274436, 167985102, 163752916 | |
1337 | z = Instance.new("Sound",char) --music | |
1338 | z.SoundId = "rbxassetid://0"--..SIDz[math.random(1,#SIDz)] | |
1339 | z.Looped = true | |
1340 | z.Volume = 1 | |
1341 | z.Pitch = .72 | |
1342 | wait(1) | |
1343 | z:Play() | |
1344 | hum.WalkSpeed = 10 | |
1345 | ||
1346 | ||
1347 | ||
1348 | ||
1349 | ||
1350 | --[[partic = Instance.new("ParticleEmitter",hed) | |
1351 | partic.Color = ColorSequence.new(Color3.new(15/225,0,225/45),Color3.new(20/255,0,205/255)) | |
1352 | partic.LightEmission = .95 | |
1353 | partic.VelocityInheritance = 0 | |
1354 | partic.Rate = 300 | |
1355 | partic.Texture = "rbxassetid:// 241650934" --56561915392079955 | |
1356 | partic.Lifetime = NumberRange.new(0.1,0.2) | |
1357 | partic.RotSpeed = NumberRange.new(100,100) | |
1358 | partic.Speed = NumberRange.new(2,6) | |
1359 | partic.Enabled = true | |
1360 | partic.LockedToPart = true]] | |
1361 | ||
1362 | --Nah | |
1363 | ||
1364 | ---------------------------------------------------- | |
1365 | ||
1366 | ---------------------------------------------------- | |
1367 | local m = Instance.new("Model") | |
1368 | m.Name = "Genkadda" | |
1369 | p1 = Instance.new("Part", m) | |
1370 | p1.Material = "Metal" | |
1371 | p1.BrickColor = BrickColor.new("Really black") | |
1372 | p1.Name = "BladePart" | |
1373 | p1.FormFactor = Enum.FormFactor.Symmetric | |
1374 | p1.Size = Vector3.new(1, 1, 1) | |
1375 | p1.CFrame = CFrame.new(103.003883, 10.755723, -7.61905956, 5.61699271e-005, -7.1823597e-006, 0.999998987, -0.984785616, -0.173714966, 3.55839729e-005, 0.173720747, -0.984761655, 5.9530139e-006) | |
1376 | p1.CanCollide = false | |
1377 | p1.Locked = true | |
1378 | p1.Elasticity = 0 | |
1379 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
1380 | p1.TopSurface = Enum.SurfaceType.Smooth | |
1381 | b1 = Instance.new("BlockMesh", p1) | |
1382 | b1.Name = "Mesh" | |
1383 | b1.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
1384 | p2 = Instance.new("Part", m) | |
1385 | p2.Material = "Metal" | |
1386 | p2.BrickColor = BrickColor.new("Really black") | |
1387 | p2.FormFactor = Enum.FormFactor.Symmetric | |
1388 | p2.Size = Vector3.new(1, 1, 1) | |
1389 | p2.CFrame = CFrame.new(103.00399, 10.7255898, -6.52608919, 0.00135809346, 0.00169118668, -0.999996662, 0.965820193, 0.259168088, 0.0017684648, 0.259154975, -0.965800881, -0.00130418094) | |
1390 | p2.CanCollide = false | |
1391 | p2.Locked = true | |
1392 | p2.Elasticity = 0 | |
1393 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
1394 | p2.TopSurface = Enum.SurfaceType.Smooth | |
1395 | b2 = Instance.new("BlockMesh", p2) | |
1396 | b2.Name = "Mesh" | |
1397 | b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927) | |
1398 | p3 = Instance.new("Part", m) | |
1399 | p3.Material = "Metal" | |
1400 | p3.BrickColor = BrickColor.new("Really black") | |
1401 | p3.FormFactor = Enum.FormFactor.Symmetric | |
1402 | p3.Size = Vector3.new(1, 2, 1) | |
1403 | p3.CFrame = CFrame.new(103.004028, 11.1456547, -6.819067, 1.43263023e-005, -2.88564479e-006, 0.999998987, -0.882936299, -0.469471544, -7.18829688e-006, 0.469469696, -0.882911503, 1.35099981e-005) | |
1404 | p3.CanCollide = false | |
1405 | p3.Locked = true | |
1406 | p3.Elasticity = 0 | |
1407 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
1408 | p3.TopSurface = Enum.SurfaceType.Smooth | |
1409 | b3 = Instance.new("BlockMesh", p3) | |
1410 | b3.Name = "Mesh" | |
1411 | b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927) | |
1412 | p4 = Instance.new("Part", m) | |
1413 | p4.Material = "Metal" | |
1414 | p4.BrickColor = BrickColor.new("Really black") | |
1415 | p4.Name = "BladePart" | |
1416 | p4.FormFactor = Enum.FormFactor.Symmetric | |
1417 | p4.Size = Vector3.new(1, 1, 1) | |
1418 | p4.CFrame = CFrame.new(103.003372, 10.965373, -6.66876507, 1.57370523e-005, -6.04354591e-006, 0.999996603, -0.965898931, -0.25886938, -7.14969246e-006, 0.258875549, -0.965874314, 1.58735529e-005) | |
1419 | p4.CanCollide = false | |
1420 | p4.Locked = true | |
1421 | p4.Elasticity = 0 | |
1422 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
1423 | p4.TopSurface = Enum.SurfaceType.Smooth | |
1424 | b4 = Instance.new("BlockMesh", p4) | |
1425 | b4.Name = "Mesh" | |
1426 | b4.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
1427 | p5 = Instance.new("Part", m) | |
1428 | p5.Material = "Metal" | |
1429 | p5.BrickColor = BrickColor.new("Really black") | |
1430 | p5.Name = "Hilt" | |
1431 | p5.FormFactor = Enum.FormFactor.Custom | |
1432 | p5.Size = Vector3.new(1, 0.400000006, 1.60000014) | |
1433 | p5.CFrame = CFrame.new(103.003395, 11.0653381, -6.1687479, -0.99999404, 5.54991711e-005, -0.000617815298, -0.000594727404, -0.000124425016, 0.999983907, 2.66434654e-005, 0.999962509, 0.000109782166) | |
1434 | p5.CanCollide = false | |
1435 | p5.Locked = true | |
1436 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
1437 | p5.TopSurface = Enum.SurfaceType.Smooth | |
1438 | b5 = Instance.new("BlockMesh", p5) | |
1439 | b5.Name = "Mesh" | |
1440 | b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952) | |
1441 | p6 = Instance.new("Part", m) | |
1442 | p6.Material = "Metal" | |
1443 | p6.BrickColor = BrickColor.new("Really black") | |
1444 | p6.Name = "Handle" | |
1445 | p6.FormFactor = Enum.FormFactor.Custom | |
1446 | p6.Size = Vector3.new(1.29999995, 1, 1) | |
1447 | p6.CFrame = CFrame.new(103.000061, 11.0688219, -5.5480547, -1.23393656e-005, -1.36360759e-005, 0.999994218, 5.37017331e-006, 0.999984086, -9.45257489e-006, -0.999962509, -9.28580994e-006, 1.64470257e-005) | |
1448 | p6.CanCollide = false | |
1449 | p6.Locked = true | |
1450 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
1451 | p6.TopSurface = Enum.SurfaceType.Smooth | |
1452 | b6 = Instance.new("SpecialMesh", p6) | |
1453 | b6.MeshType = Enum.MeshType.Cylinder | |
1454 | b6.Name = "Mesh" | |
1455 | b6.Scale = Vector3.new(1, 0.200000003, 0.200000003) | |
1456 | p7 = Instance.new("Part", m) | |
1457 | p7.Material = "Metal" | |
1458 | p7.BrickColor = BrickColor.new("Really black") | |
1459 | p7.FormFactor = Enum.FormFactor.Symmetric | |
1460 | p7.Size = Vector3.new(1, 1, 1) | |
1461 | p7.CFrame = CFrame.new(103.000099, 11.0688391, -4.79808855, -0.000332629686, 0.00429873355, -0.99998492, -4.5920292e-006, 0.999974728, 0.00432178052, 0.999962449, -8.49941443e-006, -0.000361445156) | |
1462 | p7.CanCollide = false | |
1463 | p7.Locked = true | |
1464 | b7 = Instance.new("SpecialMesh", p7) | |
1465 | b7.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
1466 | b7.TextureId = "" | |
1467 | b7.MeshType = Enum.MeshType.FileMesh | |
1468 | b7.Name = "Mesh" | |
1469 | b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006) | |
1470 | p8 = Instance.new("Part", m) | |
1471 | p8.Material = "Metal" | |
1472 | p8.BrickColor = BrickColor.new("Really black") | |
1473 | p8.Name = "BladePart" | |
1474 | p8.FormFactor = Enum.FormFactor.Symmetric | |
1475 | p8.Size = Vector3.new(1, 1, 1) | |
1476 | p8.CFrame = CFrame.new(103.003326, 10.6254845, -8.59870911, -2.92104669e-005, -1.10579058e-005, 0.999994218, -0.996175766, -0.0871899351, -5.3152442e-005, 0.0872026458, -0.996152997, 2.03179661e-005) | |
1477 | p8.CanCollide = false | |
1478 | p8.Locked = true | |
1479 | p8.Elasticity = 0 | |
1480 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
1481 | p8.TopSurface = Enum.SurfaceType.Smooth | |
1482 | b8 = Instance.new("BlockMesh", p8) | |
1483 | b8.Name = "Mesh" | |
1484 | b8.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
1485 | p9 = Instance.new("Part", m) | |
1486 | p9.Material = "Metal" | |
1487 | p9.BrickColor = BrickColor.new("Really black") | |
1488 | p9.Name = "BladePart" | |
1489 | p9.FormFactor = Enum.FormFactor.Symmetric | |
1490 | p9.Size = Vector3.new(1, 1, 1) | |
1491 | p9.CFrame = CFrame.new(103.003311, 10.625597, -9.51878738, -2.59891603e-005, -1.34348729e-005, 0.999994218, -0.996185422, 0.087079078, -4.78096408e-005, -0.0870626047, -0.996165276, 1.31400229e-005) | |
1492 | p9.CanCollide = false | |
1493 | p9.Locked = true | |
1494 | p9.Elasticity = 0 | |
1495 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
1496 | p9.TopSurface = Enum.SurfaceType.Smooth | |
1497 | b9 = Instance.new("BlockMesh", p9) | |
1498 | b9.Name = "Mesh" | |
1499 | b9.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
1500 | p10 = Instance.new("Part", m) | |
1501 | p10.Material = "Metal" | |
1502 | p10.BrickColor = BrickColor.new("Really black") | |
1503 | p10.Name = "BladeTip" | |
1504 | p10.FormFactor = Enum.FormFactor.Symmetric | |
1505 | p10.Size = Vector3.new(1, 1, 2) | |
1506 | p10.CFrame = CFrame.new(103.00309, 11.1081867, -11.6109829, -0.999994099, -0.000455793255, 4.643387e-005, 0.00045133481, -0.965918779, -0.25878337, 0.000134008093, -0.258763671, 0.965901971) | |
1507 | p10.CanCollide = false | |
1508 | p10.Locked = true | |
1509 | p10.Elasticity = 0 | |
1510 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
1511 | p10.TopSurface = Enum.SurfaceType.Smooth | |
1512 | b10 = Instance.new("SpecialMesh", p10) | |
1513 | b10.MeshType = Enum.MeshType.Wedge | |
1514 | b10.Name = "Mesh" | |
1515 | b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928) | |
1516 | p11 = Instance.new("Part", m) | |
1517 | p11.Material = "Metal" | |
1518 | p11.BrickColor = BrickColor.new("Really black") | |
1519 | p11.Name = "BladePart" | |
1520 | p11.FormFactor = Enum.FormFactor.Symmetric | |
1521 | p11.Size = Vector3.new(1, 1, 1) | |
1522 | p11.CFrame = CFrame.new(103.003296, 10.7956495, -10.4587727, 2.83485351e-005, -1.54050977e-005, 0.999994218, -0.96592474, 0.258761972, 8.27970416e-006, -0.258742362, -0.965907693, 2.1241216e-005) | |
1523 | p11.CanCollide = false | |
1524 | p11.Locked = true | |
1525 | p11.Elasticity = 0 | |
1526 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
1527 | p11.TopSurface = Enum.SurfaceType.Smooth | |
1528 | b11 = Instance.new("BlockMesh", p11) | |
1529 | b11.Name = "Mesh" | |
1530 | b11.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
1531 | p12 = Instance.new("Part", m) | |
1532 | p12.Material = "Metal" | |
1533 | p12.BrickColor = BrickColor.new("Really black") | |
1534 | p12.Name = "BladeTip2" | |
1535 | p12.FormFactor = Enum.FormFactor.Custom | |
1536 | p12.Size = Vector3.new(1, 1, 2.4000001) | |
1537 | p12.CFrame = CFrame.new(102.999977, 10.6319504, -10.4398403, -0.999994218, -5.5769262e-005, 6.55075928e-005, 4.61044419e-006, 0.882887006, 0.469551951, -0.000112806956, 0.469529003, -0.882874727) | |
1538 | p12.CanCollide = false | |
1539 | p12.Locked = true | |
1540 | p12.Elasticity = 0 | |
1541 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
1542 | p12.TopSurface = Enum.SurfaceType.Smooth | |
1543 | b12 = Instance.new("SpecialMesh", p12) | |
1544 | b12.MeshType = Enum.MeshType.Wedge | |
1545 | b12.Name = "Mesh" | |
1546 | b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928) | |
1547 | p13 = Instance.new("Part", m) | |
1548 | p13.Material = "Metal" | |
1549 | p13.BrickColor = BrickColor.new("Medium stone grey") | |
1550 | p13.Transparency = 1 | |
1551 | p13.Name = "HitBox" | |
1552 | p13.FormFactor = Enum.FormFactor.Custom | |
1553 | p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999) | |
1554 | p13.CFrame = CFrame.new(103.009995, 10.9988394, -9.2679081, 1.22519814e-005, -0.999994218, 1.36361559e-005, -5.27501106e-006, 9.45320426e-006, -0.999984264, 0.999962687, -1.65344682e-005, 9.20891762e-006) | |
1555 | p13.CanCollide = false | |
1556 | p13.Locked = true | |
1557 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
1558 | p13.TopSurface = Enum.SurfaceType.Smooth | |
1559 | w1 = Instance.new("Weld", p1) | |
1560 | w1.Name = "Part_Weld" | |
1561 | w1.Part0 = p1 | |
1562 | w1.C0 = CFrame.new(11.9124546, -5.63626003, -103.00383, 4.33940659e-005, -0.984795153, 0.173719674, 1.85460614e-009, -0.173719659, -0.984795094, 1, 4.27345876e-005, -7.53657105e-006) | |
1563 | w1.Part1 = p2 | |
1564 | w1.C1 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159) | |
1565 | w2 = Instance.new("Weld", p2) | |
1566 | w2.Name = "Part_Weld" | |
1567 | w2.Part0 = p2 | |
1568 | w2.C0 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159) | |
1569 | w2.Part1 = p3 | |
1570 | w2.C1 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008) | |
1571 | w3 = Instance.new("Weld", p3) | |
1572 | w3.Name = "BladePart_Weld" | |
1573 | w3.Part0 = p3 | |
1574 | w3.C0 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008) | |
1575 | w3.Part1 = p4 | |
1576 | w3.C1 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006) | |
1577 | w4 = Instance.new("Weld", p4) | |
1578 | w4.Name = "Hilt_Weld" | |
1579 | w4.Part0 = p4 | |
1580 | w4.C0 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006) | |
1581 | w4.Part1 = p5 | |
1582 | w4.C1 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243) | |
1583 | w5 = Instance.new("Weld", p5) | |
1584 | w5.Name = "Handle_Weld" | |
1585 | w5.Part0 = p5 | |
1586 | w5.C0 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243) | |
1587 | w5.Part1 = p6 | |
1588 | w5.C1 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008) | |
1589 | w6 = Instance.new("Weld", p6) | |
1590 | w6.Name = "Part_Weld" | |
1591 | w6.Part0 = p6 | |
1592 | w6.C0 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008) | |
1593 | w6.Part1 = p7 | |
1594 | w6.C1 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335) | |
1595 | w7 = Instance.new("Weld", p7) | |
1596 | w7.Name = "BladePart_Weld" | |
1597 | w7.Part0 = p7 | |
1598 | w7.C0 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335) | |
1599 | w7.Part1 = p8 | |
1600 | w7.C1 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006) | |
1601 | w8 = Instance.new("Weld", p8) | |
1602 | w8.Name = "BladePart_Weld" | |
1603 | w8.Part0 = p8 | |
1604 | w8.C0 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006) | |
1605 | w8.Part1 = p9 | |
1606 | w8.C1 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006) | |
1607 | w9 = Instance.new("Weld", p9) | |
1608 | w9.Name = "BladeTip_Weld" | |
1609 | w9.Part0 = p9 | |
1610 | w9.C0 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006) | |
1611 | w9.Part1 = p10 | |
1612 | w9.C1 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647) | |
1613 | w10 = Instance.new("Weld", p10) | |
1614 | w10.Name = "BladePart_Weld" | |
1615 | w10.Part0 = p10 | |
1616 | w10.C0 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647) | |
1617 | w10.Part1 = p11 | |
1618 | w10.C1 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006) | |
1619 | w11 = Instance.new("Weld", p11) | |
1620 | w11.Name = "BladeTip2_Weld" | |
1621 | w11.Part0 = p11 | |
1622 | w11.C0 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006) | |
1623 | w11.Part1 = p12 | |
1624 | w11.C1 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397) | |
1625 | w12 = Instance.new("Weld", p12) | |
1626 | w12.Name = "HitBox_Weld" | |
1627 | w12.Part0 = p12 | |
1628 | w12.C0 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397) | |
1629 | w12.Part1 = p13 | |
1630 | w12.C1 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008) | |
1631 | w13 = Instance.new("Weld", p13) | |
1632 | w13.Name = "Weld" | |
1633 | w13.Part0 = p13 | |
1634 | w13.C0 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008) | |
1635 | m.Parent = char | |
1636 | m:MakeJoints() | |
1637 | ---------------------------------------------------- | |
1638 | local cor = Instance.new("Part", char.Genkadda) | |
1639 | cor.Name = "Thingy" | |
1640 | cor.Locked = true | |
1641 | cor.BottomSurface = 0 | |
1642 | cor.CanCollide = false | |
1643 | cor.Size = Vector3.new(1, 9, 1) | |
1644 | cor.Transparency = 1 | |
1645 | cor.TopSurface = 0 | |
1646 | corw = Instance.new("Weld", cor) | |
1647 | corw.Part0 = rarm | |
1648 | corw.Part1 = cor | |
1649 | corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90)) | |
1650 | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1651 | weld1 = Instance.new("Weld", char.Genkadda) | |
1652 | weld1.Part0 = cor | |
1653 | weld1.Part1 = p6 | |
1654 | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1655 | ---------------------------------------------------- Gauntlet | |
1656 | ||
1657 | m=Instance.new('Model',char) | |
1658 | ||
1659 | ||
1660 | local function weldBetween(a, b) | |
1661 | local weldd = Instance.new("ManualWeld") | |
1662 | weldd.Part0 = a | |
1663 | weldd.Part1 = b | |
1664 | weldd.C0 = CFrame.new() | |
1665 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
1666 | weldd.Parent = a | |
1667 | return weldd | |
1668 | end | |
1669 | ||
1670 | it=Instance.new | |
1671 | ||
1672 | function nooutline(part) | |
1673 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
1674 | end | |
1675 | ||
1676 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
1677 | local fp=it("Part") | |
1678 | fp.formFactor=formfactor | |
1679 | fp.Parent=parent | |
1680 | fp.Reflectance=reflectance | |
1681 | fp.Transparency=transparency | |
1682 | fp.CanCollide=false | |
1683 | fp.Locked=true | |
1684 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
1685 | fp.Name=name | |
1686 | fp.Size=size | |
1687 | fp.Position=char.Torso.Position | |
1688 | nooutline(fp) | |
1689 | fp.Material=material | |
1690 | fp:BreakJoints() | |
1691 | return fp | |
1692 | end | |
1693 | ||
1694 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1695 | local mesh=it(Mesh) | |
1696 | mesh.Parent=part | |
1697 | if Mesh=="SpecialMesh" then | |
1698 | mesh.MeshType=meshtype | |
1699 | mesh.MeshId=meshid | |
1700 | end | |
1701 | mesh.Offset=offset | |
1702 | mesh.Scale=scale | |
1703 | return mesh | |
1704 | end | |
1705 | ||
1706 | function weld(parent,part0,part1,c0,c1) | |
1707 | local weld=it("Weld") | |
1708 | weld.Parent=parent | |
1709 | weld.Part0=part0 | |
1710 | weld.Part1=part1 | |
1711 | weld.C0=c0 | |
1712 | weld.C1=c1 | |
1713 | return weld | |
1714 | end | |
1715 | ||
1716 | MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854)) | |
1717 | MNweld=weld(m,char["Right Arm"],MN,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0323486328, -0.0509860516, -0.00120401382, -0.00500982394, 0.00520668458, 0.999973893, -0.00739898486, 0.999958873, -0.00524367485, -0.999960065, -0.00742506143, -0.0049710935)) | |
1718 | TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
1719 | TR7weld=weld(m,MN,TR7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393)) | |
1720 | mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997)) | |
1721 | MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
1722 | MD9weld=weld(m,MN,MD9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.741846681, 0.199262142, 1.00000405, -6.92205504e-06, 0.000154254027, 4.65649646e-05, 0.965939224, -0.25876984, -0.000147186685, 0.258768767, 0.965943158)) | |
1723 | mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998)) | |
1724 | MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116)) | |
1725 | MD1weld=weld(m,MN,MD1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.402763367, -0.974855185, 0.682875633, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079)) | |
1726 | mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
1727 | MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
1728 | MD10weld=weld(m,MN,MD10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
1729 | mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999)) | |
1730 | MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138)) | |
1731 | MD11weld=weld(m,MN,MD11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.493839264, -0.274354219, 4.24385071e-05, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
1732 | mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999)) | |
1733 | MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138)) | |
1734 | MD12weld=weld(m,MN,MD12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.493812561, -0.274300575, -0.000376224518, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
1735 | mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999)) | |
1736 | MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854)) | |
1737 | MD13weld=weld(m,MN,MD13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.68582201, 0.000464439392, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
1738 | mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999)) | |
1739 | MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
1740 | MD14weld=weld(m,MN,MD14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.603547096, 0.000416755676, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
1741 | mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995)) | |
1742 | MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
1743 | MD15weld=weld(m,MN,MD15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-05, 0.137180567, -4.529953e-05, -1.0000037, -0.000862163957, 0.000179466791, -0.000862103421, 0.999999523, 0.000520790287, -0.000179945491, 0.000520619913, -1.00000381)) | |
1744 | mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999)) | |
1745 | MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
1746 | MD16weld=weld(m,MN,MD16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.86645508e-05, 0.932742357, 0.000658988953, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
1747 | mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995)) | |
1748 | MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
1749 | MD19weld=weld(m,MN,MD19,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393)) | |
1750 | mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998)) | |
1751 | MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
1752 | MD18weld=weld(m,MN,MD18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
1753 | mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998)) | |
1754 | MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116)) | |
1755 | MD2weld=weld(m,MN,MD2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.392555237, -0.573539257, 1.09872949, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516)) | |
1756 | mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
1757 | MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116)) | |
1758 | MD3weld=weld(m,MN,MD3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.397964478, -0.817667723, 0.487944126, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668)) | |
1759 | mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
1760 | MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116)) | |
1761 | MD4weld=weld(m,MN,MD4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.422103882, -0.82026124, 0.507567406, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668)) | |
1762 | mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
1763 | MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116)) | |
1764 | MD5weld=weld(m,MN,MD5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.427509308, -0.557831764, 1.11046171, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516)) | |
1765 | mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
1766 | MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116)) | |
1767 | MD6weld=weld(m,MN,MD6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.417263031, -0.972257376, 0.702233315, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079)) | |
1768 | mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
1769 | MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
1770 | MD7weld=weld(m,MN,MD7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393)) | |
1771 | mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999)) | |
1772 | MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
1773 | MD8weld=weld(m,MN,MD8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
1774 | mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998)) | |
1775 | TR1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR1",Vector3.new(0.266768694, 0.54866457, 0.548664272)) | |
1776 | TR1weld=weld(m,MN,TR1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548826218, 0.30154109, 4.57763672e-05, -0.000205519143, -0.0001726388, -1, -4.31765802e-05, 1, -0.00017263052, 1, 4.314119e-05, -0.000205526594)) | |
1777 | mesh("SpecialMesh",TR1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.700000048, 0.700000048)) | |
1778 | TR2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR2",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
1779 | TR2weld=weld(m,MN,TR2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, 0.741921067, 0.198978901, 1.00000405, -2.92747281e-05, -1.7457176e-05, 2.37242784e-05, 0.965939343, -0.258769363, 2.44602561e-05, 0.25876832, 0.965943277)) | |
1780 | mesh("SpecialMesh",TR2,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997)) | |
1781 | TR3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR3",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
1782 | TR3weld=weld(m,MN,TR3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-05, 0.603546381, 0.000186920166, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775)) | |
1783 | mesh("SpecialMesh",TR3,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994)) | |
1784 | TR4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR4",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
1785 | TR4weld=weld(m,MN,TR4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000106811523, 0.93274045, 0.000304222107, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775)) | |
1786 | mesh("SpecialMesh",TR4,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994)) | |
1787 | TR5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR5",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
1788 | TR5weld=weld(m,MN,TR5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
1789 | mesh("SpecialMesh",TR5,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997)) | |
1790 | TR6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR6",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
1791 | TR6weld=weld(m,MN,TR6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
1792 | mesh("SpecialMesh",TR6,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997)) | |
1793 | MD21=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","MD21",Vector3.new(0.266768694, 0.54866457, 0.548664272)) | |
1794 | MD21weld=weld(m,MN,MD21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548921585, 0.301375628, 0.000118255615, -0.000262488145, -9.39509191e-05, -1.00000393, -0.000154611655, 1, -9.38984886e-05, 1.00000393, 0.000154557638, -0.000262471847)) | |
1795 | mesh("SpecialMesh",MD21,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.411340952, 0.900000036, 0.900000036)) | |
1796 | ||
1797 | --[[TG1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lime green","Handle",Vector3.new(0.231713057, 0.953130603, 0.953130603)) | |
1798 | TG1weld=weld(m,char["HumanoidRootPart"],TG1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.042350769, 2.25753069, -2.74072218, -0.0144443018, -0.00148237997, 0.999894559, 0.138804898, -0.99031961, 0.000536966661, 0.990214407, 0.138798028, 0.0145102367)) | |
1799 | mesh("SpecialMesh",TG1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.5, 0.5))]] | |
1800 | ||
1801 | ||
1802 | local edit = function(name,mat,col) | |
1803 | name.Material = mat | |
1804 | name.BrickColor = BrickColor.new(col) | |
1805 | end | |
1806 | ||
1807 | local dark = function() | |
1808 | edit(TR1,"Neon","Lime green") | |
1809 | edit(TR2,"Neon","Lime green") | |
1810 | edit(TR3,"Neon","Lime green") | |
1811 | edit(TR4,"Neon","Lime green") | |
1812 | edit(TR5,"Neon","Lime green") | |
1813 | edit(TR6,"Neon","Lime green") | |
1814 | edit(TR7,"Neon","Lime green") | |
1815 | edit(MN,"Neon","Lime green") | |
1816 | -- | |
1817 | ||
1818 | ||
1819 | end | |
1820 | local light = function() | |
1821 | edit(TR1,"Neon","Lime green") | |
1822 | edit(TR2,"Neon","Lime green") | |
1823 | edit(TR3,"Neon","Lime green") | |
1824 | edit(TR4,"Neon","Lime green") | |
1825 | edit(TR5,"Neon","Lime green") | |
1826 | edit(TR6,"Neon","Lime green") | |
1827 | edit(TR7,"Neon","Lime green") | |
1828 | edit(MN,"Neon","Lime green") | |
1829 | -- | |
1830 | ||
1831 | end | |
1832 | ||
1833 | ||
1834 | dark() | |
1835 | ||
1836 | --Messy | |
1837 | ||
1838 | ---------------------------------------------------- | |
1839 | function Vanish() | |
1840 | for i = 1, 10 do wait() | |
1841 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
1842 | if v:IsA("Part") or v:IsA("WedgePart") then | |
1843 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
1844 | v.Transparency = v.Transparency + 0.1 | |
1845 | end | |
1846 | end | |
1847 | end | |
1848 | end | |
1849 | end | |
1850 | ---------------------------------------------------- | |
1851 | function Appear() | |
1852 | for i = 1, 10 do wait() | |
1853 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
1854 | if v:IsA("Part") or v:IsA("WedgePart") then | |
1855 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
1856 | v.Transparency = v.Transparency - 0.1 | |
1857 | end | |
1858 | end | |
1859 | end | |
1860 | end | |
1861 | end | |
1862 | ---------------------------------------------------- | |
1863 | local player = game.Players.LocalPlayer | |
1864 | local pchar = player.Character | |
1865 | local mouse = player:GetMouse() | |
1866 | local cam = workspace.CurrentCamera | |
1867 | ||
1868 | local rad = math.rad | |
1869 | ||
1870 | local keysDown = {} | |
1871 | local flySpeed = 0 | |
1872 | local MAX_FLY_SPEED = 150 | |
1873 | ||
1874 | local canFly = false | |
1875 | local flyToggled = false | |
1876 | ||
1877 | local forward, side = 0, 0 | |
1878 | local lastForward, lastSide = 0, 0 | |
1879 | ||
1880 | local floatBP = Instance.new("BodyPosition") | |
1881 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
1882 | local flyBV = Instance.new("BodyVelocity") | |
1883 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
1884 | local turnBG = Instance.new("BodyGyro") | |
1885 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1886 | ||
1887 | mouse.KeyDown:connect(function(key) | |
1888 | keysDown[key] = true | |
1889 | ||
1890 | if key == "f" then | |
1891 | flyToggled = not flyToggled | |
1892 | ||
1893 | if not flyToggled then | |
1894 | stanceToggle = "Normal" | |
1895 | floatBP.Parent = nil | |
1896 | flyBV.Parent = nil | |
1897 | turnBG.Parent = nil | |
1898 | root.Velocity = Vector3.new() | |
1899 | pchar.Humanoid.PlatformStand = false | |
1900 | end | |
1901 | end | |
1902 | ||
1903 | end) | |
1904 | mouse.KeyUp:connect(function(key) | |
1905 | keysDown[key] = nil | |
1906 | end) | |
1907 | ||
1908 | local function updateFly() | |
1909 | ||
1910 | if not flyToggled then return end | |
1911 | ||
1912 | lastForward = forward | |
1913 | lastSide = side | |
1914 | ||
1915 | forward = 0 | |
1916 | side = 0 | |
1917 | ||
1918 | if keysDown.w then | |
1919 | forward = forward + 1 | |
1920 | end | |
1921 | if keysDown.s then | |
1922 | forward = forward - 1 | |
1923 | end | |
1924 | if keysDown.a then | |
1925 | side = side - 1 | |
1926 | end | |
1927 | if keysDown.d then | |
1928 | side = side + 1 | |
1929 | end | |
1930 | ||
1931 | ||
1932 | canFly = (forward ~= 0 or side ~= 0) | |
1933 | ||
1934 | if canFly then | |
1935 | stanceToggle = "Floating" | |
1936 | turnBG.Parent = root | |
1937 | floatBP.Parent = nil | |
1938 | flyBV.Parent = root | |
1939 | ||
1940 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
1941 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
1942 | else | |
1943 | floatBP.position = root.Position | |
1944 | floatBP.Parent = root | |
1945 | ||
1946 | flySpeed = flySpeed - 1 | |
1947 | if flySpeed < 0 then flySpeed = 0 end | |
1948 | end | |
1949 | ||
1950 | local camCF = cam.CoordinateFrame | |
1951 | local in_forward = canFly and forward or lastForward | |
1952 | local in_side = canFly and side or lastSide | |
1953 | ||
1954 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
1955 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
1956 | ||
1957 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
1958 | 0) | |
1959 | end | |
1960 | ||
1961 | game:service'RunService'.RenderStepped:connect(function() | |
1962 | if flyToggled then | |
1963 | pchar.Humanoid.PlatformStand = true | |
1964 | end | |
1965 | updateFly() | |
1966 | end) | |
1967 | ---------------------------------------------------- | |
1968 | p13.Touched:connect(function(ht) | |
1969 | hit = ht.Parent | |
1970 | if ht and hit:IsA("Model") then | |
1971 | if hit:FindFirstChild("Humanoid") then | |
1972 | if hit.Name ~= p.Name then | |
1973 | if Debounces.Slashing == true and Debounces.Slashed == false then | |
1974 | Debounces.Slashed = true | |
1975 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(20,25)) | |
1976 | wait(.3) | |
1977 | Debounces.Slashed = false | |
1978 | end | |
1979 | end | |
1980 | end | |
1981 | elseif ht and hit:IsA("Hat") then | |
1982 | if hit.Parent.Name ~= p.Name then | |
1983 | if hit.Parent:FindFirstChild("Humanoid") then | |
1984 | if Debounces.Slashing == true and Debounces.Slashed == false then | |
1985 | Debounces.Slashed = true | |
1986 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(20,25)) | |
1987 | wait(.3) | |
1988 | Debounces.Slashed = false | |
1989 | end | |
1990 | end | |
1991 | end | |
1992 | end | |
1993 | end) | |
1994 | ---------------------------------------------------- | |
1995 | local ptz = {0.7, 0.8, 0.9, 1} | |
1996 | ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2} | |
1997 | idz = {"161006212", "161006195"} | |
1998 | mouse.KeyDown:connect(function(key) | |
1999 | if key == "q" then | |
2000 | if Debounces.CanAttack == true then | |
2001 | Debounces.CanAttack = false | |
2002 | Debounces.NoIdl = true | |
2003 | Debounces.on = true | |
2004 | ||
2005 | if holy == true then | |
2006 | for i = 1, 8 do | |
2007 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (60),math.rad(70),math.rad(70)), 0.2) | |
2008 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2) | |
2009 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2) | |
2010 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2) | |
2011 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2) | |
2012 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2) | |
2013 | if Debounces.on == false then break end | |
2014 | rs:wait(2) | |
2015 | end | |
2016 | else | |
2017 | for i = 1, 20 do | |
2018 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (60),math.rad(70),math.rad(70)), 0.2) | |
2019 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2) | |
2020 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2) | |
2021 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2) | |
2022 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2) | |
2023 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2) | |
2024 | if Debounces.on == false then break end | |
2025 | rs:wait(2) | |
2026 | end | |
2027 | end | |
2028 | ||
2029 | z = Instance.new("Sound", hed) | |
2030 | z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
2031 | z.Pitch = ptz[math.random(1,#ptz)] | |
2032 | z.Volume = 1 | |
2033 | wait(.01) | |
2034 | z:Play() | |
2035 | ||
2036 | if holy == true then | |
2037 | --so("http://roblox.com/asset/?id=231917788",hed,1,1.7) | |
2038 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)]) | |
2039 | else | |
2040 | so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)]) | |
2041 | end | |
2042 | ||
2043 | Debounces.Slashing = true | |
2044 | ||
2045 | if holy == true then | |
2046 | ||
2047 | for i = 1, 5 do | |
2048 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3) | |
2049 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3) | |
2050 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3) | |
2051 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3) | |
2052 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3) | |
2053 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3) | |
2054 | if Debounces.on == false then break end | |
2055 | rs:wait(2) | |
2056 | end | |
2057 | ||
2058 | else | |
2059 | ||
2060 | for i = 1, 20 do | |
2061 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3) | |
2062 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3) | |
2063 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3) | |
2064 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3) | |
2065 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3) | |
2066 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3) | |
2067 | if Debounces.on == false then break end | |
2068 | rs:wait(2) | |
2069 | end | |
2070 | ||
2071 | end | |
2072 | z1 = Instance.new("Sound", hed) | |
2073 | z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
2074 | z1.Pitch = ptz[math.random(1,#ptz)] | |
2075 | z1.Volume = 1 | |
2076 | wait(.01) | |
2077 | z1:Play() | |
2078 | ||
2079 | if holy == true then | |
2080 | --so("http://roblox.com/asset/?id=231917788",hed,1,1.7) | |
2081 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)]) | |
2082 | else | |
2083 | so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)]) | |
2084 | end | |
2085 | ||
2086 | ||
2087 | ||
2088 | ||
2089 | Debounces.Slashing = true | |
2090 | for i = 1, 26 do | |
2091 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (90),math.rad(-40),math.rad(80)), 0.35) | |
2092 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (- 70)), 0.35) | |
2093 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)), 0.35) | |
2094 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.35) | |
2095 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35) | |
2096 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35) | |
2097 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-30), math.rad(0)), 0.35) | |
2098 | if Debounces.on == false then break end | |
2099 | rs:wait(2) | |
2100 | end | |
2101 | ||
2102 | Debounces.Slashing = false | |
2103 | z:Destroy() | |
2104 | z1:Destroy() | |
2105 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
2106 | if Debounces.CanAttack == false then | |
2107 | Debounces.CanAttack = true | |
2108 | Debounces.NoIdl = false | |
2109 | Debounces.on = false | |
2110 | end | |
2111 | end | |
2112 | end | |
2113 | end) | |
2114 | ------------------------------- | |
2115 | pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4} | |
2116 | mouse.KeyDown:connect(function(key) | |
2117 | if key == "e" then | |
2118 | if Debounces.CanAttack == true then | |
2119 | Debounces.CanAttack = false | |
2120 | Debounces.NoIdl = true | |
2121 | Debounces.on = true | |
2122 | Debounces.ks = true | |
2123 | larm.Touched:connect(function(ht) | |
2124 | hit = ht.Parent | |
2125 | if ht and hit:IsA("Model") then | |
2126 | if hit:FindFirstChild("Humanoid") then | |
2127 | if hit.Name ~= p.Name then | |
2128 | if Debounces.Slapping == true and Debounces.Slapped == false then | |
2129 | Debounces.Slapped = true | |
2130 | if Debounces.ks==true then | |
2131 | z = Instance.new("Sound",hed) | |
2132 | z.SoundId = "rbxassetid://169380525" | |
2133 | z.Volume = 1 | |
2134 | z:Play() | |
2135 | z1 = Instance.new("Sound",char) | |
2136 | z1.SoundId = "rbxassetid://261010715" | |
2137 | z1.Pitch = pts[math.random(1,#pts)] | |
2138 | z1.Volume = 1 | |
2139 | z2 = Instance.new("Sound",char) | |
2140 | z2.SoundId = "rbxassetid://261010715" | |
2141 | z2.Pitch = z1.Pitch | |
2142 | z2.Volume = 1 | |
2143 | z3 = Instance.new("Sound",char) | |
2144 | z3.SoundId = "rbxassetid://261010715" | |
2145 | z3.Pitch = z1.Pitch | |
2146 | z3.Volume = 1 | |
2147 | z1:Play() | |
2148 | z2:Play() | |
2149 | z3:Play() | |
2150 | Debounces.ks=false | |
2151 | end | |
2152 | hit:FindFirstChild("Humanoid"):TakeDamage(10) | |
2153 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90 | |
2154 | wait(.5) | |
2155 | Debounces.Slapped = false | |
2156 | z:Destroy() | |
2157 | z1:Destroy() | |
2158 | z2:Destroy() | |
2159 | z3:Destroy() | |
2160 | end | |
2161 | end | |
2162 | end | |
2163 | elseif ht and hit:IsA("Hat") then | |
2164 | if hit.Parent.Name ~= p.Name then | |
2165 | if hit.Parent:FindFirstChild("Humanoid") then | |
2166 | if Debounces.Slapping == true and Debounces.Slapped == false then | |
2167 | Debounces.Slapped = true | |
2168 | if Debounces.ks==true then | |
2169 | z = Instance.new("Sound",hed) | |
2170 | z.SoundId = "rbxassetid://169380525" | |
2171 | z.Volume = 1 | |
2172 | z:Play() | |
2173 | z1 = Instance.new("Sound",char) | |
2174 | z1.SoundId = "rbxassetid://261010715" | |
2175 | z1.Pitch = pts[math.random(1,#pts)] | |
2176 | z1.Volume = 1 | |
2177 | z2 = Instance.new("Sound",char) | |
2178 | z2.SoundId = "rbxassetid://261010715" | |
2179 | z2.Pitch = z1.Pitch | |
2180 | z2.Volume = 1 | |
2181 | z3 = Instance.new("Sound",char) | |
2182 | z3.SoundId = "rbxassetid://261010715" | |
2183 | z3.Pitch = z1.Pitch | |
2184 | z3.Volume = 1 | |
2185 | z1:Play() | |
2186 | z2:Play() | |
2187 | z3:Play() | |
2188 | Debounces.ks=false | |
2189 | end | |
2190 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10) | |
2191 | wait(.5) | |
2192 | Debounces.Slapped = false | |
2193 | z:Destroy() | |
2194 | z1:Destroy() | |
2195 | z2:Destroy() | |
2196 | z3:Destroy() | |
2197 | end | |
2198 | end | |
2199 | end | |
2200 | end | |
2201 | end) | |
2202 | for i = 1, 14 do | |
2203 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.5, -.3) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.5) | |
2204 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.5) | |
2205 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5) | |
2206 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5) | |
2207 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5) | |
2208 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5) | |
2209 | if Debounces.on==false then break end | |
2210 | rs:wait(2) | |
2211 | end | |
2212 | Debounces.Slapping = true | |
2213 | for i = 1, 20 do | |
2214 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.7, .3) * CFrame.Angles(math.rad(50), 0, math.rad(-110)), 0.6) | |
2215 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.6) | |
2216 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.6) | |
2217 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.6) | |
2218 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
2219 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
2220 | if Debounces.on==false then break end | |
2221 | rs:wait(2) | |
2222 | end | |
2223 | Debounces.Slapping = false | |
2224 | if Debounces.CanAttack == false then | |
2225 | Debounces.CanAttack = true | |
2226 | Debounces.NoIdl = false | |
2227 | Debounces.on = false | |
2228 | end | |
2229 | end | |
2230 | end | |
2231 | end) | |
2232 | ------------------------------- | |
2233 | ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2} | |
2234 | mouse.KeyDown:connect(function(key) | |
2235 | if key == "r" then | |
2236 | if Debounces.CanAttack == true then | |
2237 | Debounces.CanAttack = false | |
2238 | Debounces.NoIdl = true | |
2239 | Debounces.on = true | |
2240 | if holy ~= true then | |
2241 | for i = 1, 20 do | |
2242 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3) | |
2243 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3) | |
2244 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3) | |
2245 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3) | |
2246 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
2247 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
2248 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35) | |
2249 | if Debounces.on==false then break end | |
2250 | rs:wait(2) | |
2251 | end | |
2252 | else | |
2253 | for i = 1, 10 do | |
2254 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3) | |
2255 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3) | |
2256 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3) | |
2257 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3) | |
2258 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
2259 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
2260 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35) | |
2261 | if Debounces.on==false then break end | |
2262 | rs:wait(2) | |
2263 | end | |
2264 | end | |
2265 | Debounces.Slashing = true | |
2266 | ||
2267 | ||
2268 | ||
2269 | z = Instance.new("Sound",hed) | |
2270 | z.SoundId = "rbxassetid://206083107" | |
2271 | z.Pitch = .75 | |
2272 | z.Volume = .65 | |
2273 | wait(0.1) | |
2274 | z:Play() | |
2275 | z1 = Instance.new("Sound", hed) | |
2276 | z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
2277 | z1.Pitch = ptz[math.random(1,#ptz)] | |
2278 | z1.Volume = 1 | |
2279 | wait(.01) | |
2280 | z1:Play() | |
2281 | ||
2282 | if holy == true then | |
2283 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)]) | |
2284 | else | |
2285 | so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)]) | |
2286 | end | |
2287 | ||
2288 | if holy ~= true then | |
2289 | for i = 1, 20 do | |
2290 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3) | |
2291 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3) | |
2292 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
2293 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
2294 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
2295 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3) | |
2296 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35) | |
2297 | if Debounces.on==false then break end | |
2298 | rs:wait(2) | |
2299 | end | |
2300 | else | |
2301 | for i = 1, 10 do | |
2302 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3) | |
2303 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3) | |
2304 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
2305 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
2306 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
2307 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3) | |
2308 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35) | |
2309 | if Debounces.on==false then break end | |
2310 | rs:wait(2) | |
2311 | end | |
2312 | end | |
2313 | Debounces.Slashing = false | |
2314 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
2315 | if Debounces.CanAttack == false then | |
2316 | Debounces.CanAttack = true | |
2317 | Debounces.NoIdl = false | |
2318 | Debounces.on = false | |
2319 | end | |
2320 | end | |
2321 | end | |
2322 | end) | |
2323 | ------------------------------- | |
2324 | mouse.KeyDown:connect(function(key) | |
2325 | if key == "t" then | |
2326 | if Debounces.CanAttack == true then | |
2327 | Debounces.CanAttack = false | |
2328 | Debounces.on = true | |
2329 | Debounces.NoIdl = true | |
2330 | for i = 1,20 do | |
2331 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2) | |
2332 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2) | |
2333 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.2) | |
2334 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, .4) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.2) | |
2335 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
2336 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2) | |
2337 | if Debounces.on==false then break end | |
2338 | rs:wait(2) | |
2339 | end | |
2340 | for i = 1,20 do | |
2341 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2) | |
2342 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2) | |
2343 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(0),0), 0.2) | |
2344 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.4) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2) | |
2345 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.2) | |
2346 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.2) | |
2347 | if Debounces.on==false then break end | |
2348 | rs:wait(2) | |
2349 | end | |
2350 | if Debounces.CanAttack == false then | |
2351 | Debounces.CanAttack = true | |
2352 | Debounces.on = false | |
2353 | Debounces.NoIdl = false | |
2354 | end | |
2355 | end | |
2356 | end | |
2357 | end) | |
2358 | ------------------------------- | |
2359 | local ptz3 = {0.5, 0.6, 0.7} | |
2360 | mouse.KeyDown:connect(function(key) | |
2361 | if key == "g" then | |
2362 | if Debounces.CanAttack == true then | |
2363 | Debounces.CanAttack = false | |
2364 | Debounces.NoIdl = true | |
2365 | Debounces.on = true | |
2366 | Debounces.Slashing = true | |
2367 | ||
2368 | z = Instance.new("Sound", hed) | |
2369 | z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
2370 | z.Pitch = ptz[math.random(1,#ptz)] | |
2371 | z.Volume = 1 | |
2372 | ||
2373 | ||
2374 | if holy == true then | |
2375 | eColors = {"Lime green"} | |
2376 | ||
2377 | ||
2378 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
2379 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2380 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
2381 | v.BrickColor = BrickColor.new("Lime green") | |
2382 | v.Material = "Neon" | |
2383 | end | |
2384 | end | |
2385 | end | |
2386 | ||
2387 | ||
2388 | char.Humanoid.WalkSpeed = 50 | |
2389 | ||
2390 | GroundWave() | |
2391 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz3[math.random(1,#ptz3)]) | |
2392 | so("http://www.roblox.com/asset/?id=241816017",hed,1,0.5) | |
2393 | so("http://www.roblox.com/asset/?id=241816017",hed,1,1) | |
2394 | ||
2395 | ||
2396 | else | |
2397 | so("http://roblox.com/asset/?id=200633029",hed,1,0.9) | |
2398 | end | |
2399 | ||
2400 | ||
2401 | for i = 1, 8 do | |
2402 | z:play() | |
2403 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-90)), 0.8) | |
2404 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(90)), 0.8) | |
2405 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8) | |
2406 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(0, 0, 0), 0.8) | |
2407 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8) | |
2408 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8) | |
2409 | if Debounces.on==false then break end | |
2410 | rs:wait(2) | |
2411 | end | |
2412 | for i = 1, 2880, 48 do | |
2413 | torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0)) | |
2414 | rs:wait(4) | |
2415 | end | |
2416 | ||
2417 | ||
2418 | ||
2419 | ||
2420 | ||
2421 | ||
2422 | ||
2423 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
2424 | Debounces.Slashing = false | |
2425 | ||
2426 | if Debounces.CanAttack == false then | |
2427 | Debounces.CanAttack = true | |
2428 | Debounces.NoIdl = false | |
2429 | Debounces.on = false | |
2430 | ||
2431 | ||
2432 | ||
2433 | ||
2434 | char.Humanoid.WalkSpeed = 10 | |
2435 | ||
2436 | ||
2437 | end | |
2438 | ||
2439 | ||
2440 | ||
2441 | end | |
2442 | ||
2443 | ||
2444 | ||
2445 | end | |
2446 | ||
2447 | ||
2448 | end) | |
2449 | ---------------------------------------------------- | |
2450 | pt = {6.6, 6.8, 7, 7.2, 7.4} | |
2451 | mouse.KeyDown:connect(function(key) | |
2452 | if key == "l" then | |
2453 | if Debounces.CanJoke == true then | |
2454 | Debounces.CanJoke = false | |
2455 | u = Instance.new("Sound",char) | |
2456 | u.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
2457 | u.Pitch = pt[math.random(1,#pt)] | |
2458 | u.Volume = 1 | |
2459 | u2 = Instance.new("Sound",char) | |
2460 | u2.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
2461 | u2.Pitch = u.Pitch | |
2462 | u2.Volume = 1 | |
2463 | u3 = Instance.new("Sound",char) | |
2464 | u3.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
2465 | u3.Pitch = u.Pitch | |
2466 | u3.Volume = 1 | |
2467 | wait(.01) | |
2468 | u:Play() | |
2469 | u2:Play() | |
2470 | u3:Play() | |
2471 | wait(1.5) | |
2472 | u:Destroy() | |
2473 | u2:Destroy() | |
2474 | u3:Destroy() | |
2475 | if Debounces.CanJoke == false then | |
2476 | Debounces.CanJoke = true | |
2477 | end | |
2478 | end | |
2479 | end | |
2480 | end) | |
2481 | ||
2482 | ------------------------------- BEGIN GRABPUNCH | |
2483 | mouse.KeyDown:connect(function(key) | |
2484 | if key == "x" then | |
2485 | Debounces.on = true | |
2486 | Debounces.NoIdl = true | |
2487 | Debounces.ks = true | |
2488 | if Grab == false then | |
2489 | gp = nil | |
2490 | ||
2491 | if Melee == false then | |
2492 | Melee = true | |
2493 | Vanish() | |
2494 | stanceToggle = "Melee" | |
2495 | elseif Melee == true then | |
2496 | Melee = false | |
2497 | Appear() | |
2498 | stanceToggle = "Normal" | |
2499 | end | |
2500 | ||
2501 | for i = 1, 20 do | |
2502 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2) | |
2503 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2) | |
2504 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2505 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
2506 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
2507 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
2508 | if Debounces.on == false then break end | |
2509 | rs:wait() | |
2510 | end | |
2511 | con1=larm.Touched:connect(function(hit) -- this is grab | |
2512 | ht = hit.Parent | |
2513 | hum1=ht:FindFirstChild('Humanoid') | |
2514 | if hum1 ~= nil then | |
2515 | if Debounces.ks==true then | |
2516 | z = Instance.new("Sound",hed) | |
2517 | z.SoundId = "rbxassetid://169380525" | |
2518 | z.Volume = 1 | |
2519 | z:Play() | |
2520 | Debounces.ks=false | |
2521 | end | |
2522 | hum1.PlatformStand=true | |
2523 | gp = ht | |
2524 | Grab = true | |
2525 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0)) | |
2526 | asd.Parent = larm | |
2527 | asd.Name = "asd" | |
2528 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
2529 | --[[elseif hum1 == nil then | |
2530 | con1:disconnect() | |
2531 | wait() return]]-- | |
2532 | end | |
2533 | end) | |
2534 | for i = 1, 20 do | |
2535 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2) | |
2536 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
2537 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2538 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
2539 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
2540 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
2541 | if Debounces.on == false then break end | |
2542 | rs:wait() | |
2543 | end | |
2544 | if hum1 == nil then | |
2545 | Debounces.on = false | |
2546 | Debounces.NoIdl = false | |
2547 | end | |
2548 | con1:disconnect() | |
2549 | elseif Grab == true then | |
2550 | Grab = false | |
2551 | Punch() | |
2552 | z = Instance.new("Sound",hed) | |
2553 | z.SoundId = "rbxassetid://169380525" | |
2554 | z.Pitch = ptz[math.random(1,#ptz)] | |
2555 | z.Volume = 1 | |
2556 | z:Play() | |
2557 | for i = 1, 10 do | |
2558 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2559 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2560 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2561 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2562 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2563 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2564 | if Debounces.on == false then break end | |
2565 | rs:wait() | |
2566 | end | |
2567 | Punch() | |
2568 | z = Instance.new("Sound",hed) | |
2569 | z.SoundId = "rbxassetid://169380525" | |
2570 | z.Pitch = ptz[math.random(1,#ptz)] | |
2571 | z.Volume = 1 | |
2572 | z:Play() | |
2573 | for i = 1, 10 do | |
2574 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2575 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2576 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2577 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2578 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2579 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2580 | if Debounces.on == false then break end | |
2581 | rs:wait() | |
2582 | end | |
2583 | Punch() | |
2584 | z = Instance.new("Sound",hed) | |
2585 | z.SoundId = "rbxassetid://169380525" | |
2586 | z.Pitch = ptz[math.random(1,#ptz)] | |
2587 | z.Volume = 1 | |
2588 | z:Play() | |
2589 | for i = 1, 10 do | |
2590 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2591 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2592 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2593 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2594 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2595 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2596 | if Debounces.on == false then break end | |
2597 | rs:wait() | |
2598 | end | |
2599 | Punch() | |
2600 | z = Instance.new("Sound",hed) | |
2601 | z.SoundId = "rbxassetid://169380525" | |
2602 | z.Pitch = ptz[math.random(1,#ptz)] | |
2603 | z.Volume = 1 | |
2604 | z:Play() | |
2605 | for i = 1, 10 do | |
2606 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2607 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2608 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2609 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2610 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2611 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2612 | if Debounces.on == false then break end | |
2613 | rs:wait() | |
2614 | end | |
2615 | Punch() | |
2616 | z = Instance.new("Sound",hed) | |
2617 | z.SoundId = "rbxassetid://169380525" | |
2618 | z.Pitch = ptz[math.random(1,#ptz)] | |
2619 | z.Volume = 1 | |
2620 | z:Play() | |
2621 | for i = 1, 10 do | |
2622 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2623 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2624 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2625 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2626 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2627 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2628 | if Debounces.on == false then break end | |
2629 | rs:wait() | |
2630 | end | |
2631 | Punch() | |
2632 | z = Instance.new("Sound",hed) | |
2633 | z.SoundId = "rbxassetid://169380525" | |
2634 | z.Pitch = ptz[math.random(1,#ptz)] | |
2635 | z.Volume = 1 | |
2636 | z:Play() | |
2637 | for i = 1, 10 do | |
2638 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2639 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2640 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2641 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2642 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2643 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2644 | if Debounces.on == false then break end | |
2645 | rs:wait() | |
2646 | end | |
2647 | Punch() | |
2648 | z = Instance.new("Sound",hed) | |
2649 | z.SoundId = "rbxassetid://169380525" | |
2650 | z.Pitch = ptz[math.random(1,#ptz)] | |
2651 | z.Volume = 1 | |
2652 | z:Play() | |
2653 | for i = 1, 10 do | |
2654 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2655 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2656 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2657 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2658 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2659 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2660 | if Debounces.on == false then break end | |
2661 | rs:wait() | |
2662 | end | |
2663 | Punch() | |
2664 | z = Instance.new("Sound",hed) | |
2665 | z.SoundId = "rbxassetid://169380525" | |
2666 | z.Pitch = ptz[math.random(1,#ptz)] | |
2667 | z.Volume = 1 | |
2668 | z:Play() | |
2669 | for i = 1, 10 do | |
2670 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2671 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2672 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2673 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2674 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2675 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2676 | if Debounces.on == false then break end | |
2677 | rs:wait() | |
2678 | end | |
2679 | Punch() | |
2680 | z = Instance.new("Sound",hed) | |
2681 | z.SoundId = "rbxassetid://169380525" | |
2682 | z.Pitch = ptz[math.random(1,#ptz)] | |
2683 | z.Volume = 1 | |
2684 | z:Play() | |
2685 | for i = 1, 10 do | |
2686 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2687 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2688 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2689 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2690 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2691 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2692 | if Debounces.on == false then break end | |
2693 | rs:wait() | |
2694 | end | |
2695 | Punch() | |
2696 | z = Instance.new("Sound",hed) | |
2697 | z.SoundId = "rbxassetid://169380525" | |
2698 | z.Pitch = ptz[math.random(1,#ptz)] | |
2699 | z.Volume = 1 | |
2700 | z:Play() | |
2701 | for i = 1, 10 do | |
2702 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2703 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2704 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2705 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2706 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2707 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2708 | if Debounces.on == false then break end | |
2709 | rs:wait() | |
2710 | end | |
2711 | Punch() | |
2712 | z = Instance.new("Sound",hed) | |
2713 | z.SoundId = "rbxassetid://169380525" | |
2714 | z.Pitch = ptz[math.random(1,#ptz)] | |
2715 | z.Volume = 1 | |
2716 | z:Play() | |
2717 | for i = 1, 10 do | |
2718 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2719 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2720 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2721 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2722 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2723 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2724 | if Debounces.on == false then break end | |
2725 | rs:wait() | |
2726 | end | |
2727 | Punch() | |
2728 | z = Instance.new("Sound",hed) | |
2729 | z.SoundId = "rbxassetid://169380525" | |
2730 | z.Pitch = ptz[math.random(1,#ptz)] | |
2731 | z.Volume = 1 | |
2732 | z:Play() | |
2733 | for i = 1, 10 do | |
2734 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2735 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2736 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2737 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2738 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2739 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2740 | if Debounces.on == false then break end | |
2741 | rs:wait() | |
2742 | end | |
2743 | con1:disconnect() | |
2744 | Debounces.on = false | |
2745 | Debounces.NoIdl = false | |
2746 | if gp ~= nil then | |
2747 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140 | |
2748 | for i,v in pairs(larm:GetChildren()) do | |
2749 | if v.Name == "asd" and v:IsA("Weld") then | |
2750 | v:Remove() | |
2751 | end | |
2752 | end | |
2753 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
2754 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
2755 | bv.P = 125000 | |
2756 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
2757 | hum1=nil | |
2758 | ht=nil | |
2759 | Debounces.on = false | |
2760 | Debounces.NoIdl = false | |
2761 | elseif ht == nil then wait() | |
2762 | Grab = false | |
2763 | Debounces.on = false | |
2764 | Debounces.NoIdl = false | |
2765 | end | |
2766 | end | |
2767 | end | |
2768 | end) | |
2769 | ||
2770 | ||
2771 | ------------------------------------------------- | |
2772 | ||
2773 | ||
2774 | ||
2775 | ||
2776 | ----------------------------------------------------Cero | |
2777 | mouse.KeyDown:connect(function(key) | |
2778 | if key == "c" then | |
2779 | if Debounces.CanAttack == true then | |
2780 | Debounces.CanAttack = false | |
2781 | Debounces.NoIdl = true | |
2782 | Debounces.on = true | |
2783 | char.Humanoid.WalkSpeed = .01 | |
2784 | Debounces.on = true | |
2785 | Vanish() | |
2786 | ||
2787 | xx = Instance.new("Sound") | |
2788 | xx.SoundId = "http://www.roblox.com/asset/?id=199145659" | |
2789 | xx.Parent = char.Head | |
2790 | xx.Looped = false | |
2791 | xx.Pitch = .88 | |
2792 | xx.Volume = 1 | |
2793 | wait(.1) | |
2794 | xx:Play() | |
2795 | ||
2796 | if holy == true then | |
2797 | so("http://roblox.com/asset/?id=231917788",hed,1,1) | |
2798 | else | |
2799 | end | |
2800 | ||
2801 | ||
2802 | if holy ~= true then | |
2803 | for i = 1, 20 do | |
2804 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-18), 0, math.rad(-20)), 0.3) | |
2805 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(65), 0, math.rad(-40)), 0.3) | |
2806 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3) | |
2807 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3) | |
2808 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6) | |
2809 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4) | |
2810 | if Debounces.on==false then break end | |
2811 | wait() | |
2812 | end | |
2813 | wait(1) | |
2814 | else | |
2815 | for i = 1, 5 do | |
2816 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-18), 0, math.rad(-20)), 0.3) | |
2817 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(65), 0, math.rad(-40)), 0.3) | |
2818 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3) | |
2819 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3) | |
2820 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6) | |
2821 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4) | |
2822 | if Debounces.on==false then break end | |
2823 | wait() | |
2824 | end | |
2825 | wait(1) | |
2826 | end | |
2827 | ||
2828 | x = Instance.new("Sound") | |
2829 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
2830 | x2 = Instance.new("Sound") | |
2831 | x2.SoundId = "http://www.roblox.com/asset/?id=183763506" | |
2832 | x.Parent = char.Head | |
2833 | x2.Parent = char.Head | |
2834 | x.Looped = false | |
2835 | x2.Looped = false | |
2836 | x.Pitch = .88 | |
2837 | x.Volume = 1 | |
2838 | x2.Pitch = .88 | |
2839 | x2.Volume = 1 | |
2840 | wait(.1) | |
2841 | x:Play() | |
2842 | x2:Play() | |
2843 | Debounces.on = false | |
2844 | Debounces.Here = false | |
2845 | ||
2846 | for i = 1, 6 do | |
2847 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.4) | |
2848 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(101)), 0.4) | |
2849 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.4) | |
2850 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.4) | |
2851 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.4) | |
2852 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.4) | |
2853 | wait() | |
2854 | end | |
2855 | local rng = Instance.new("Part", char) | |
2856 | rng.Anchored = true | |
2857 | ||
2858 | if holy ~= true then | |
2859 | rng.BrickColor = BrickColor.new("Really black") | |
2860 | else | |
2861 | rng.BrickColor = BrickColor.new("Lime green") | |
2862 | end | |
2863 | ||
2864 | rng.CanCollide = false | |
2865 | rng.FormFactor = 3 | |
2866 | rng.Name = "Ring" | |
2867 | rng.Size = Vector3.new(1, 1, 1) | |
2868 | rng.Transparency = 0.35 | |
2869 | rng.TopSurface = 0 | |
2870 | rng.BottomSurface = 0 | |
2871 | rng.Material = "Neon" | |
2872 | local rngm = Instance.new("SpecialMesh", rng) | |
2873 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2874 | rngm.Scale = Vector3.new(10, 10, 1) | |
2875 | local bem = Instance.new("Part", char) | |
2876 | bem.Anchored = true | |
2877 | ||
2878 | if holy ~= true then | |
2879 | bem.BrickColor = BrickColor.new("Really black") | |
2880 | else | |
2881 | bem.BrickColor = BrickColor.new("Lime green") | |
2882 | end | |
2883 | ||
2884 | bem.Material = "Neon" | |
2885 | bem.CanCollide = false | |
2886 | bem.FormFactor = 3 | |
2887 | bem.Name = "Beam" .. shot | |
2888 | bem.Size = Vector3.new(1, 1, 1) | |
2889 | bem.Transparency = 0.35 | |
2890 | bem.TopSurface = 0 | |
2891 | bem.BottomSurface = 0 | |
2892 | local bemm = Instance.new("SpecialMesh", bem) | |
2893 | bemm.MeshType = 4 | |
2894 | bemm.Scale = Vector3.new(1, 4, 4) | |
2895 | local out = Instance.new("Part", char) | |
2896 | out.Anchored = true | |
2897 | ||
2898 | if holy ~= true then | |
2899 | out.BrickColor = BrickColor.new("Really black") | |
2900 | else | |
2901 | out.BrickColor = BrickColor.new("Lime green") | |
2902 | end | |
2903 | ||
2904 | out.Material = "Neon" | |
2905 | out.CanCollide = false | |
2906 | out.FormFactor = 3 | |
2907 | out.Name = "Out" | |
2908 | out.Size = Vector3.new(1, 1, 1) | |
2909 | out.Transparency = 0.35 | |
2910 | out.TopSurface = 0 | |
2911 | out.BottomSurface = 0 | |
2912 | local outm = Instance.new("SpecialMesh", out) | |
2913 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2914 | outm.Scale = Vector3.new(2, 2, 2) | |
2915 | local bnd = Instance.new("Part", char) | |
2916 | bnd.Anchored = true | |
2917 | ||
2918 | if holy ~= true then | |
2919 | bnd.BrickColor = BrickColor.new("Really black") | |
2920 | else | |
2921 | bnd.BrickColor = BrickColor.new("Lime green") | |
2922 | end | |
2923 | ||
2924 | bnd.Material = "Neon" | |
2925 | bnd.CanCollide = false | |
2926 | bnd.FormFactor = 3 | |
2927 | bnd.Name = "BEnd" | |
2928 | bnd.Size = Vector3.new(1, 1, 1) | |
2929 | bnd.Transparency = 0.35 | |
2930 | bnd.TopSurface = 0 | |
2931 | bnd.BottomSurface = 0 | |
2932 | local bndm = Instance.new("SpecialMesh", bnd) | |
2933 | bndm.MeshType = 3 | |
2934 | bndm.Scale = Vector3.new(4, 4, 4) | |
2935 | out.CFrame = rarm.CFrame * CFrame.new(0, -1.75, 0) | |
2936 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2937 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2938 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2939 | Debounces.Shewt = true | |
2940 | coroutine.wrap(function() | |
2941 | for i = 1, 20, 0.2 do | |
2942 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2943 | rng.Transparency = i/20 | |
2944 | wait() | |
2945 | end | |
2946 | wait() | |
2947 | rng:Destroy() | |
2948 | end)() | |
2949 | if Debounces.Shewt == true then | |
2950 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) --Here | |
2951 | print("Hit") | |
2952 | hit = ht.Parent | |
2953 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2954 | print("Yes") | |
2955 | if HasntTouched(hit.Name) == true and deb == false then | |
2956 | deb = true | |
2957 | coroutine.wrap(function() | |
2958 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2959 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140 | |
2960 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(18,63)) | |
2961 | wait(1) | |
2962 | hit:FindFirstChild("Humanoid").PlatformStand = false | |
2963 | end)() | |
2964 | table.insert(Touche, hit.Name) | |
2965 | deb = false | |
2966 | end | |
2967 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2968 | print("Yes") | |
2969 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2970 | deb = true | |
2971 | coroutine.wrap(function() | |
2972 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2973 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140 | |
2974 | wait(1) | |
2975 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2976 | end)() | |
2977 | table.insert(Touche, hit.Parent.Name) | |
2978 | deb = false | |
2979 | for i, v in pairs(Touche) do | |
2980 | print(v) | |
2981 | end | |
2982 | end | |
2983 | end | |
2984 | end) | |
2985 | end | |
2986 | for i = 0, 200, 7 do | |
2987 | bem.Size = Vector3.new(i, 1, 1) | |
2988 | bem.CFrame = rarm.CFrame * CFrame.new(0, -2.5 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2989 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 0) | |
2990 | wait() | |
2991 | end | |
2992 | wait() | |
2993 | Debounces.Shewt = false | |
2994 | bem:Destroy() | |
2995 | out:Destroy() | |
2996 | bnd:Destroy() | |
2997 | char.Humanoid.WalkSpeed = 10 | |
2998 | Debounces.Ready = false | |
2999 | for i, v in pairs(Touche) do | |
3000 | table.remove(Touche, i) | |
3001 | end | |
3002 | wait() | |
3003 | table.insert(Touche, char.Name) | |
3004 | Debounces.NoIdl = false | |
3005 | if Debounces.CanAttack == false then | |
3006 | Debounces.CanAttack = true | |
3007 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
3008 | ||
3009 | ||
3010 | Debounces.on = false | |
3011 | Appear() | |
3012 | end | |
3013 | end | |
3014 | end | |
3015 | end) | |
3016 | ------------------------------- | |
3017 | ||
3018 | ----------------------------------------------------EDIT END | |
3019 | Grab = false | |
3020 | mouse.KeyDown:connect(function(key) | |
3021 | if key == "z" then | |
3022 | Debounces.on = true | |
3023 | Debounces.NoIdl = true | |
3024 | Debounces.ks = true | |
3025 | if Grab == false then | |
3026 | gp = nil | |
3027 | for i = 1, 20 do | |
3028 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
3029 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2) | |
3030 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2) | |
3031 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2) | |
3032 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
3033 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
3034 | if Debounces.on == false then break end | |
3035 | rs:wait(2) | |
3036 | end | |
3037 | con1=larm.Touched:connect(function(hit) -- this is grab | |
3038 | ht = hit.Parent | |
3039 | hum1=ht:FindFirstChild('Humanoid') | |
3040 | if hum1 ~= nil then | |
3041 | if Debounces.ks==true then | |
3042 | z = Instance.new("Sound",hed) | |
3043 | z.SoundId = "rbxassetid://169380525" | |
3044 | z.Volume = 1 | |
3045 | z:Play() | |
3046 | Debounces.ks=false | |
3047 | end | |
3048 | hum1.PlatformStand=true | |
3049 | gp = ht | |
3050 | Grab = true | |
3051 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0)) | |
3052 | asd.Parent = larm | |
3053 | asd.Name = "asd" | |
3054 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0) | |
3055 | stanceToggle = "Grabbed" | |
3056 | --[[elseif hum1 == nil then | |
3057 | con1:disconnect() | |
3058 | wait() return]]-- | |
3059 | end | |
3060 | end) | |
3061 | for i = 1, 20 do | |
3062 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
3063 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
3064 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2) | |
3065 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2) | |
3066 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
3067 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
3068 | if Debounces.on == false then break end | |
3069 | rs:wait(2) | |
3070 | end | |
3071 | con1:disconnect() | |
3072 | Debounces.on = false | |
3073 | Debounces.NoIdl = false | |
3074 | elseif Grab == true then | |
3075 | Grab = false | |
3076 | --[[for i = 1, 16 do | |
3077 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3) | |
3078 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3) | |
3079 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3) | |
3080 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
3081 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
3082 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
3083 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3) | |
3084 | if Debounces.on == false then end | |
3085 | rs:wait() | |
3086 | end]]-- | |
3087 | for i = 1, 16 do | |
3088 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
3089 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-50)), 0.3) | |
3090 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3) | |
3091 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3) | |
3092 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3) | |
3093 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
3094 | if Debounces.on == false then end | |
3095 | rs:wait() | |
3096 | end | |
3097 | Slam() | |
3098 | if gp ~= nil then | |
3099 | for i,v in pairs(larm:GetChildren()) do | |
3100 | if v.Name == "asd" and v:IsA("Weld") then | |
3101 | v:Remove() | |
3102 | end | |
3103 | end | |
3104 | for i = 1, 16 do | |
3105 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
3106 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.3) | |
3107 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3) | |
3108 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3) | |
3109 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3) | |
3110 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3) | |
3111 | if Debounces.on == false then end | |
3112 | rs:wait() | |
3113 | end | |
3114 | stanceToggle = "Normal" | |
3115 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
3116 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
3117 | bv.P = 125000 | |
3118 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
3119 | ht=nil | |
3120 | Debounces.on = false | |
3121 | Debounces.NoIdl = false | |
3122 | elseif ht == nil then wait() | |
3123 | Grab = false | |
3124 | Debounces.on = false | |
3125 | Debounces.NoIdl = false | |
3126 | end | |
3127 | end | |
3128 | end | |
3129 | end) | |
3130 | ---------------------------------------------------- | |
3131 | Charging = false | |
3132 | chargewait = false | |
3133 | mouse.KeyDown:connect(function(key) | |
3134 | if key == "h" then | |
3135 | if Charging == false and chargewait == false then | |
3136 | Charging = true | |
3137 | chargewait = true | |
3138 | if Debounces.CanAttack == true then | |
3139 | Debounces.CanAttack = false | |
3140 | Debounces.NoIdl = true | |
3141 | Debounces.on = true | |
3142 | ||
3143 | ||
3144 | if holy ~= true then | |
3145 | holy = true | |
3146 | else holy = false | |
3147 | end | |
3148 | ||
3149 | ||
3150 | for i = 1,20 do | |
3151 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
3152 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
3153 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
3154 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
3155 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
3156 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
3157 | if Debounces.on == false then break end | |
3158 | rs:wait() | |
3159 | end | |
3160 | pt=Instance.new('Part',torso) | |
3161 | pt.Anchored=true | |
3162 | pt.CanCollide=false | |
3163 | pt.Locked = true | |
3164 | pt.Material = "Neon" | |
3165 | pt.FormFactor='Custom' | |
3166 | pt.Size=Vector3.new(1,1,1) | |
3167 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
3168 | pt.Transparency=.6 | |
3169 | ||
3170 | if holy == true then | |
3171 | pt.BrickColor=BrickColor.new('Lime green') | |
3172 | else | |
3173 | pt.BrickColor = BrickColor.new("Really black") | |
3174 | end | |
3175 | ||
3176 | msh=Instance.new('SpecialMesh',pt) | |
3177 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
3178 | msh.Scale=Vector3.new(8,4,8) | |
3179 | pt2=pt:clone() | |
3180 | pt2.Parent = torso | |
3181 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
3182 | ||
3183 | if holy == true then | |
3184 | pt2.BrickColor=BrickColor.new('Lime green') | |
3185 | else | |
3186 | pt2.BrickColor = BrickColor.new("Lime green") | |
3187 | end | |
3188 | ||
3189 | ||
3190 | msh2=msh:clone() | |
3191 | msh2.Parent=pt2 | |
3192 | msh2.Scale=Vector3.new(10,5,10) | |
3193 | ||
3194 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100} | |
3195 | ||
3196 | bl = Instance.new("Part", char) | |
3197 | bl.Locked = true | |
3198 | bl.Name = "Shell" | |
3199 | ||
3200 | if holy == true then | |
3201 | bl.BrickColor = BrickColor.new("Lime green") | |
3202 | else | |
3203 | bl.BrickColor = BrickColor.new("Really black") | |
3204 | end | |
3205 | ||
3206 | bl.Anchored = true | |
3207 | bl.Material = "Neon" | |
3208 | bl.CanCollide = false | |
3209 | bl.Transparency = 0 | |
3210 | bl.Reflectance = 0 | |
3211 | bl.BottomSurface = 0 | |
3212 | bl.TopSurface = 0 | |
3213 | bl.Shape = 0 | |
3214 | blm = Instance.new("SpecialMesh",bl) | |
3215 | blm.MeshType = "Sphere" | |
3216 | blm.Scale = Vector3.new(1,1,1) | |
3217 | ||
3218 | so("http://www.roblox.com/asset/?id=340722848",hed,2,1.2) | |
3219 | so("http://www.roblox.com/asset/?id=340722848",torso,0.5,0.8) | |
3220 | so("http://roblox.com/asset/?id=168586621",torso,1,0.5) | |
3221 | ||
3222 | ||
3223 | ||
3224 | ||
3225 | if holy == true then | |
3226 | light() | |
3227 | ds:stop() | |
3228 | hs:play() | |
3229 | eColors = {"Lime green"} | |
3230 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
3231 | if v:IsA("Part") or v:IsA("WedgePart") then | |
3232 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
3233 | v.BrickColor = BrickColor.new("Lime green") | |
3234 | v.Material = "Neon" | |
3235 | end | |
3236 | end | |
3237 | end | |
3238 | ||
3239 | ||
3240 | else | |
3241 | dark() | |
3242 | hs:stop() | |
3243 | ds:play() | |
3244 | eColors = {"Lime green", "Really black"} | |
3245 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
3246 | if v:IsA("Part") or v:IsA("WedgePart") then | |
3247 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
3248 | v.BrickColor = BrickColor.new("Really black") | |
3249 | v.Material = "Metal" | |
3250 | end | |
3251 | end | |
3252 | end | |
3253 | ||
3254 | end | |
3255 | ||
3256 | coroutine.resume(coroutine.create(function() | |
3257 | for i=1, math.huge, 4 do | |
3258 | if Charging == true then | |
3259 | rs:wait() | |
3260 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
3261 | blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5) | |
3262 | bl.Transparency = bl.Transparency + 0.05 | |
3263 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
3264 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
3265 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
3266 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
3267 | elseif Charging == false then break | |
3268 | end | |
3269 | end | |
3270 | end)) | |
3271 | ||
3272 | ||
3273 | repeat | |
3274 | local p = Instance.new('Part',torso) | |
3275 | p.formFactor = 'Custom' | |
3276 | p.Size = Vector3.new(1,1,1) | |
3277 | ||
3278 | if holy == true then | |
3279 | p.BrickColor = BrickColor.new("Lime green") | |
3280 | else | |
3281 | p.BrickColor = BrickColor.new("Really black") | |
3282 | end | |
3283 | ||
3284 | p.CanCollide = false | |
3285 | p.Transparency = 0 | |
3286 | p.Anchored = true | |
3287 | p.Locked=true | |
3288 | p.Material = "Neon" | |
3289 | s = math.random(1,40)/10 | |
3290 | local m = Instance.new("BlockMesh",p) | |
3291 | m.Scale = Vector3.new(s,s,s) | |
3292 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
3293 | --[[coroutine.wrap(function() | |
3294 | wait(2) | |
3295 | while Charging == true do | |
3296 | wait(2) | |
3297 | GroundWave1() | |
3298 | wait(2) | |
3299 | end | |
3300 | end)()]]-- | |
3301 | Spawn(function() | |
3302 | while rs:wait() do | |
3303 | if Charging == true then | |
3304 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
3305 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
3306 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
3307 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
3308 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
3309 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
3310 | elseif Charging == false then break | |
3311 | end | |
3312 | end | |
3313 | end) | |
3314 | Spawn(function() | |
3315 | while rs:wait() do | |
3316 | if p.Transparency >= 1 then p:Destroy() break end | |
3317 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
3318 | p.Transparency = p.Transparency+0.01 | |
3319 | end | |
3320 | end) | |
3321 | wait(.3) | |
3322 | ||
3323 | ||
3324 | until Charging == false | |
3325 | end | |
3326 | end | |
3327 | end | |
3328 | end) | |
3329 | ||
3330 | ---------------------------------------------------- | |
3331 | mouse.KeyUp:connect(function(key) | |
3332 | if key == "h" then | |
3333 | if Charging == true and chargewait == true then | |
3334 | chargewait = false | |
3335 | wait(1) | |
3336 | Charging = false | |
3337 | ||
3338 | --[[for i,v in pairs (torso:GetChildren()) do | |
3339 | if v:IsA("Sound") then | |
3340 | v:Destroy() | |
3341 | end | |
3342 | end]] | |
3343 | ||
3344 | ||
3345 | --so("http://roblox.com/asset/?id=160867463",torso,1,0.7) | |
3346 | ||
3347 | pt:Destroy() | |
3348 | pt2:Destroy() | |
3349 | bl:Destroy() | |
3350 | if Debounces.CanAttack == false then | |
3351 | Debounces.CanAttack = true | |
3352 | Debounces.NoIdl = false | |
3353 | Debounces.on = false | |
3354 | Debounces.grab = false | |
3355 | ||
3356 | end | |
3357 | end | |
3358 | end | |
3359 | end) | |
3360 | ---------------------------------------------------- | |
3361 | Sit = false | |
3362 | mouse.KeyDown:connect(function(key) | |
3363 | if key == "b" then | |
3364 | if Sit == false then | |
3365 | Sit = true | |
3366 | hum.WalkSpeed = 0.1 | |
3367 | stanceToggle = "Sitting" | |
3368 | elseif Sit == true then | |
3369 | Sit = false | |
3370 | hum.WalkSpeed = 7 | |
3371 | stanceToggle = "Normal" | |
3372 | end | |
3373 | end | |
3374 | end) | |
3375 | ------------------------------- | |
3376 | Melee = false | |
3377 | mouse.KeyDown:connect(function(key) | |
3378 | if key == "m" then | |
3379 | if Melee == false then | |
3380 | Melee = true | |
3381 | Vanish() | |
3382 | stanceToggle = "Melee" | |
3383 | elseif Melee == true then | |
3384 | Melee = false | |
3385 | Appear() | |
3386 | stanceToggle = "Normal" | |
3387 | end | |
3388 | end | |
3389 | end) | |
3390 | ------------------------------- | |
3391 | mouse.KeyDown:connect(function(key) | |
3392 | if string.byte(key) == 50 then | |
3393 | if Debounces.CanAttack == true then | |
3394 | if stanceToggle ~= "Floating" then | |
3395 | char.Humanoid.WalkSpeed = 60 | |
3396 | Burst() | |
3397 | elseif Debounces.CanAttack == false then | |
3398 | elseif stanceToggle == "Floating" then | |
3399 | wait() | |
3400 | end | |
3401 | end | |
3402 | end | |
3403 | end) | |
3404 | mouse.KeyUp:connect(function(key) | |
3405 | if string.byte(key) == 50 then | |
3406 | char.Humanoid.WalkSpeed = 9 | |
3407 | end | |
3408 | end) | |
3409 | ------------------------------- | |
3410 | mouse.KeyDown:connect(function(key) | |
3411 | if key == "p" then | |
3412 | if CanAttack == true then | |
3413 | CanAttack = false | |
3414 | Debounces.NoIdl = true | |
3415 | Debounces.on = true | |
3416 | for i = 1, 20 do | |
3417 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.2, -2.75) * CFrame.Angles(math.rad(90), math.rad(40), math.rad(0)), 0.6) | |
3418 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 1, -.5) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(40)), 0.3) | |
3419 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, 1, -.5) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(-40)), 0.3) | |
3420 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.6) | |
3421 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(10)), 0.6) | |
3422 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.6) | |
3423 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2) | |
3424 | if Debounces.on == false then | |
3425 | break | |
3426 | end | |
3427 | wait() | |
3428 | end | |
3429 | wait() | |
3430 | z = Instance.new("Sound") | |
3431 | z.SoundId = "http://www.roblox.com/asset/?id=159218913" | |
3432 | z.Parent = char.Head | |
3433 | z.Looped = false | |
3434 | z.Pitch = 1 | |
3435 | z.Volume = 1 | |
3436 | wait(.01) | |
3437 | z:Play() | |
3438 | Debounces.Slashing = true | |
3439 | for i = 1, 20 do | |
3440 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.2, -2.75) * CFrame.Angles(math.rad(90), math.rad(40), math.rad(0)), 0.6) | |
3441 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, .5, -.5) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(40)), 0.6) | |
3442 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, .5, -.5) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-40)), 0.6) | |
3443 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.5, -.5) * CFrame.Angles(math.rad(-90), 0, math.rad(0)), 0.6) | |
3444 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.6) | |
3445 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.6) | |
3446 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.6) | |
3447 | wait() | |
3448 | if Debounces.on == false then | |
3449 | break | |
3450 | end | |
3451 | wait() | |
3452 | end | |
3453 | Debounces.Slashing = false | |
3454 | Debounces.NoIdl = false | |
3455 | wait() | |
3456 | if CanAttack == false then | |
3457 | CanAttack = true | |
3458 | end | |
3459 | end | |
3460 | end | |
3461 | end) | |
3462 | -------------------------------- | |
3463 | ---------------------------------------------------- | |
3464 | mouse.KeyDown:connect(function(key) | |
3465 | if key == "v" then | |
3466 | if Debounces.CanAttack == true then | |
3467 | Debounces.CanAttack = false | |
3468 | Debounces.on = true | |
3469 | Debounces.NoIdl = true | |
3470 | for i = 1, 15 do | |
3471 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
3472 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
3473 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
3474 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
3475 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3476 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3477 | if Debounces.on == false then break end | |
3478 | rs:wait(2.7) | |
3479 | end | |
3480 | so("http://roblox.com/asset/?id=231917788",hed,1,0.7) | |
3481 | x = Instance.new("Sound",char.Head) | |
3482 | x.SoundId = "rbxassetid://183763515" | |
3483 | x.Pitch = 0.7 | |
3484 | x.Volume = .8 | |
3485 | x3 = Instance.new("Sound",char.Head) | |
3486 | x3.SoundId = "rbxassetid://183763487" | |
3487 | x3.Pitch = 1 | |
3488 | x3.Volume = .8 | |
3489 | wait(.1) | |
3490 | x:Play() | |
3491 | x3:Play() | |
3492 | ||
3493 | if holy == true then | |
3494 | so("http://roblox.com/asset/?id=233091161",hed,1,0.6) | |
3495 | so("http://roblox.com/asset/?id=2233091183",hed,1,1) | |
3496 | else | |
3497 | end | |
3498 | ||
3499 | Debounces.on = false | |
3500 | Debounces.Here = false | |
3501 | shot = shot + 1 | |
3502 | local rng = Instance.new("Part", larm) | |
3503 | rng.Anchored = true | |
3504 | ||
3505 | if holy ~= true then | |
3506 | rng.BrickColor = BrickColor.new("Lime green") | |
3507 | else | |
3508 | rng.BrickColor = BrickColor.new("Lime green") | |
3509 | end | |
3510 | ||
3511 | rng.Material = "Neon" | |
3512 | rng.CanCollide = false | |
3513 | rng.FormFactor = 3 | |
3514 | rng.Name = "Ring" | |
3515 | rng.Size = Vector3.new(1, 1, 1) | |
3516 | rng.Transparency = 0.35 | |
3517 | rng.TopSurface = 0 | |
3518 | rng.BottomSurface = 0 | |
3519 | rng2 = rng:clone() | |
3520 | rng3 = rng2:clone() | |
3521 | rng4 = rng2:clone() | |
3522 | local rngm = Instance.new("SpecialMesh", rng) | |
3523 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3524 | rngm.Scale = Vector3.new(10, 10, 1) | |
3525 | rngm2 = rngm:clone() | |
3526 | rngm2.Scale = Vector3.new(5, 5, 3) | |
3527 | rngm3=rngm2:clone() | |
3528 | rngm3.Parent = rng3 | |
3529 | rngm3.Scale = Vector3.new(8, 8, 1) | |
3530 | rngm4 = rngm2:clone() | |
3531 | rngm4.Parent = rng4 | |
3532 | rngm4.Scale = Vector3.new(6, 6, 1) | |
3533 | local bem = Instance.new("Part", larm) | |
3534 | bem.Anchored = true | |
3535 | ||
3536 | if holy == false then | |
3537 | bem.BrickColor = BrickColor.new("Really black") | |
3538 | else | |
3539 | bem.BrickColor = BrickColor.new("Lime green") | |
3540 | end | |
3541 | ||
3542 | bem.CanCollide = false | |
3543 | bem.Material = "Neon" | |
3544 | bem.FormFactor = 3 | |
3545 | bem.Name = "Beam" .. shot | |
3546 | bem.Size = Vector3.new(1, 1, 1) | |
3547 | bem.Transparency = 0.35 | |
3548 | bem.TopSurface = 0 | |
3549 | bem.BottomSurface = 0 | |
3550 | local bemm = Instance.new("SpecialMesh", bem) | |
3551 | bemm.MeshType = 4 | |
3552 | bemm.Scale = Vector3.new(1, 4, 4) | |
3553 | local out = Instance.new("Part", larm) | |
3554 | out.Anchored = true | |
3555 | out.Material = "Neon" | |
3556 | ||
3557 | if holy == false then | |
3558 | out.BrickColor = BrickColor.new("Really black") | |
3559 | else | |
3560 | out.BrickColor = BrickColor.new("Lime green") | |
3561 | end | |
3562 | ||
3563 | out.CanCollide = false | |
3564 | out.FormFactor = 3 | |
3565 | out.Name = "Out" | |
3566 | out.Size = Vector3.new(4, 4, 4) | |
3567 | out.Transparency = 0.35 | |
3568 | out.TopSurface = 0 | |
3569 | out.BottomSurface = 0 | |
3570 | local outm = Instance.new("SpecialMesh", out) | |
3571 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
3572 | outm.Scale = Vector3.new(6, 4, 6) | |
3573 | local bnd = Instance.new("Part", larm) | |
3574 | bnd.Anchored = true | |
3575 | bnd.BrickColor = BrickColor.new("Really red") | |
3576 | bnd.CanCollide = false | |
3577 | bnd.FormFactor = 3 | |
3578 | bnd.Name = "Bend" | |
3579 | bnd.Size = Vector3.new(1, 1, 1) | |
3580 | bnd.Transparency = 1 | |
3581 | bnd.TopSurface = 0 | |
3582 | bnd.BottomSurface = 0 | |
3583 | local bndm = Instance.new("SpecialMesh", bnd) | |
3584 | bndm.MeshType = 3 | |
3585 | bndm.Scale = Vector3.new(8, 8, 8) | |
3586 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
3587 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
3588 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
3589 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
3590 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
3591 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
3592 | Debounces.Shewt = true | |
3593 | coroutine.wrap(function() | |
3594 | for i = 1, 20, 0.2 do | |
3595 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
3596 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
3597 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
3598 | rng.Transparency = i/20 | |
3599 | rng3.Transparency = 1/24 | |
3600 | rng4.Transparency = i/26 | |
3601 | wait() | |
3602 | end | |
3603 | wait() | |
3604 | rng:Destroy() | |
3605 | end)() | |
3606 | if Debounces.Shewt == true then | |
3607 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
3608 | hit = ht.Parent | |
3609 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
3610 | if HasntTouched(hit.Name) == true and deb == false then | |
3611 | deb = true | |
3612 | coroutine.wrap(function() | |
3613 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
3614 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
3615 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
3616 | end)() | |
3617 | table.insert(Touche, hit.Name) | |
3618 | deb = false | |
3619 | end | |
3620 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
3621 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
3622 | deb = true | |
3623 | coroutine.wrap(function() | |
3624 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
3625 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
3626 | wait(1) | |
3627 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
3628 | end)() | |
3629 | table.insert(Touche, hit.Parent.Name) | |
3630 | deb = false | |
3631 | for i, v in pairs(Touche) do | |
3632 | print(v) | |
3633 | end | |
3634 | end | |
3635 | end | |
3636 | end) | |
3637 | end | |
3638 | for i = 0, 260, 8 do | |
3639 | bem.Size = Vector3.new(i, 3, 3) | |
3640 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
3641 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
3642 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
3643 | bnd.Size = Vector3.new(1,1,1) | |
3644 | bndm.Scale = Vector3.new(8,8,8) | |
3645 | if i % 10 == 0 then | |
3646 | local newRng = rng2:Clone() | |
3647 | newRng.Parent = larm | |
3648 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
3649 | local newRngm = rngm2:clone() | |
3650 | newRngm.Parent=newRng | |
3651 | coroutine.wrap(function() | |
3652 | for i = 1, 10, 0.2 do | |
3653 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
3654 | newRng.Transparency = i/10 | |
3655 | wait() | |
3656 | end | |
3657 | wait() | |
3658 | newRng:Destroy() | |
3659 | end)() | |
3660 | end | |
3661 | wait() | |
3662 | end | |
3663 | wait() | |
3664 | Debounces.Shewt = false | |
3665 | bem:Destroy() | |
3666 | out:Destroy() | |
3667 | bnd:Destroy() | |
3668 | Debounces.Ready = false | |
3669 | for i, v in pairs(Touche) do | |
3670 | table.remove(Touche, i) | |
3671 | end | |
3672 | wait() | |
3673 | table.insert(Touche, char.Name) | |
3674 | Debounces.NoIdl = false | |
3675 | if Debounces.CanAttack == false then | |
3676 | Debounces.CanAttack = true | |
3677 | end | |
3678 | end | |
3679 | end | |
3680 | end) | |
3681 | ---------------------------------------------------- | |
3682 | ---------------------------------------------------- | |
3683 | mouse.KeyDown:connect(function(key) | |
3684 | if key == "y" then | |
3685 | if CanAttack == true then | |
3686 | CanAttack = false | |
3687 | Debounces.NoIdl = true | |
3688 | Debounces.on = true | |
3689 | for i = 1, 20 do | |
3690 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.2) | |
3691 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.2) | |
3692 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, 0.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2) | |
3693 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, 0.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2) | |
3694 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-26), math.rad(0), 0), 0.2) | |
3695 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
3696 | if Debounces.on == false then | |
3697 | break | |
3698 | end | |
3699 | wait() | |
3700 | end | |
3701 | wait() | |
3702 | if Daytime == true then | |
3703 | Daytime = false | |
3704 | l.TimeOfDay = 24 | |
3705 | else | |
3706 | Daytime = true | |
3707 | l.TimeOfDay = 12 | |
3708 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
3709 | end | |
3710 | char.Humanoid.MaxHealth = math.huge | |
3711 | c = Instance.new("Sound") | |
3712 | c.SoundId = "http://www.roblox.com/asset/?id=152758283" | |
3713 | c.Parent = m | |
3714 | c.Looped = false | |
3715 | if Daytime == true then | |
3716 | c.Pitch = -1 | |
3717 | elseif Daytime == false then | |
3718 | c.Pitch = 1.12 | |
3719 | end | |
3720 | c.Volume = 1 | |
3721 | wait(.01) | |
3722 | c:Play() | |
3723 | local Shockwave = function() | |
3724 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
3725 | Wave.Name = "Shockwave" | |
3726 | Wave.BrickColor = BrickColor.new("Really black") | |
3727 | Wave.Size = Vector3.new(1, 1, 1) | |
3728 | Wave.Shape = "Ball" | |
3729 | Wave.CanCollide = false | |
3730 | Wave.Anchored = true | |
3731 | Wave.TopSurface = 0 | |
3732 | Wave.BottomSurface = 0 | |
3733 | Wave.Touched:connect(function(hit) | |
3734 | print(hit.Name) | |
3735 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
3736 | if hit.Parent.Name ~= char.Name then | |
3737 | print("Damaged " .. hit.Parent.Name) | |
3738 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1 | |
3739 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120 | |
3740 | end | |
3741 | end | |
3742 | end) | |
3743 | ||
3744 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
3745 | ||
3746 | Delay(0, function() | |
3747 | -- | |
3748 | -- Okay. | |
3749 | if Daytime == false then | |
3750 | for i = 1, 38, 1 do | |
3751 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
3752 | Wave.CFrame = char.Torso.CFrame | |
3753 | local t = i / 38 | |
3754 | Wave.Transparency = t | |
3755 | wait() | |
3756 | end | |
3757 | else | |
3758 | for i = 38, 1, -1 do | |
3759 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
3760 | Wave.CFrame = char.Torso.CFrame | |
3761 | local t = i / 38 | |
3762 | Wave.Transparency = t | |
3763 | wait() | |
3764 | end | |
3765 | end | |
3766 | Wave:Destroy() | |
3767 | end) | |
3768 | Delay(0, function() | |
3769 | while wait() do | |
3770 | if Wave ~= nil then | |
3771 | Wave.CFrame = char.Torso.CFrame | |
3772 | else | |
3773 | break | |
3774 | end | |
3775 | end | |
3776 | end) | |
3777 | end | |
3778 | ||
3779 | Shockwave() | |
3780 | ||
3781 | for i = 1, 20 do | |
3782 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(-100)), 0.6) | |
3783 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(100)), 0.6) | |
3784 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-20)), 0.6) | |
3785 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(20)), 0.6) | |
3786 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(35), math.rad(0), 0), 0.6) | |
3787 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.6) | |
3788 | wait() | |
3789 | if Debounces.on == false then | |
3790 | break | |
3791 | end | |
3792 | wait() | |
3793 | end | |
3794 | wait(2) | |
3795 | Debounces.NoIdl = false | |
3796 | if CanAttack == false then | |
3797 | CanAttack = true | |
3798 | wait() | |
3799 | end | |
3800 | end -- for the canattack thing | |
3801 | end | |
3802 | end) | |
3803 | ------------------------------- | |
3804 | local animpose = "Idle" | |
3805 | local lastanimpose = "Idle" | |
3806 | local grab = false | |
3807 | local sine = 0 | |
3808 | local change = 1 | |
3809 | local val = 0 | |
3810 | local ffing = false | |
3811 | local jump = false | |
3812 | ------------------------------- | |
3813 | --[[if stanceToggle == "Sitting" then | |
3814 | if wait(math.random(1,2)) == 1 then | |
3815 | stanceToggle = "Sitting2" | |
3816 | wait(8) | |
3817 | stanceToggle = "Sitting" | |
3818 | end | |
3819 | end]]-- | |
3820 | ------------------------------- | |
3821 | game:GetService("RunService").RenderStepped:connect(function() | |
3822 | if char.Humanoid.Jump == true then | |
3823 | jump = true | |
3824 | else | |
3825 | jump = false | |
3826 | end | |
3827 | char.Humanoid.FreeFalling:connect(function(f) | |
3828 | if f then | |
3829 | ffing = true | |
3830 | else | |
3831 | ffing = false | |
3832 | end | |
3833 | end) | |
3834 | sine = sine + change | |
3835 | if jump == true then | |
3836 | animpose = "Jumping" | |
3837 | elseif ffing == true then | |
3838 | animpose = "Freefalling" | |
3839 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3840 | animpose = "Idle" | |
3841 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3842 | animpose = "Walking" | |
3843 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3844 | animpose = "Running" | |
3845 | end | |
3846 | if animpose ~= lastanimpose then | |
3847 | sine = 0 | |
3848 | if Debounces.NoIdl == false then | |
3849 | if stanceToggle == "Normal" and holy ~= true then | |
3850 | for i = 1, 2 do | |
3851 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2) | |
3852 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.2) | |
3853 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2) | |
3854 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2) | |
3855 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
3856 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2) | |
3857 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
3858 | end | |
3859 | elseif stanceToggle == "Sitting" then | |
3860 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/30),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20+2*math.cos(sine/30))), 0.2) | |
3861 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6) | |
3862 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
3863 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-20), math.sin(sine/60)/3, 0), 0.3) | |
3864 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3) | |
3865 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3) | |
3866 | elseif stanceToggle == "Floating" then | |
3867 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
3868 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
3869 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3870 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
3871 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3872 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
3873 | wait() | |
3874 | end | |
3875 | else | |
3876 | end | |
3877 | end | |
3878 | lastanimpose = animpose | |
3879 | if Debounces.NoIdl == false then | |
3880 | if animpose == "Idle" then | |
3881 | if stanceToggle == "Normal" and holy ~= true then | |
3882 | change = 0.5 | |
3883 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
3884 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2) | |
3885 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(50),0), 0.2) | |
3886 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2) | |
3887 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
3888 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2) | |
3889 | elseif stanceToggle == "Normal" and holy == true then | |
3890 | change = 0.8 | |
3891 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
3892 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
3893 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3894 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
3895 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3896 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
3897 | elseif stanceToggle == "Melee" and holy ~= true then | |
3898 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20+2*math.cos(sine/14))), 0.2) | |
3899 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2) | |
3900 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3901 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3902 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3903 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3904 | elseif stanceToggle == "Melee" and holy == true then | |
3905 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
3906 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
3907 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3908 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
3909 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3910 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
3911 | elseif stanceToggle == "Sitting" then | |
3912 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.2) | |
3913 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6) | |
3914 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
3915 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5-0.06*math.cos(sine/25), -.2) * CFrame.Angles(math.rad(0-20*math.cos(sine/25)/2), math.sin(sine/50)/2.4, 0), 0.3) | |
3916 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3) | |
3917 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3) | |
3918 | elseif stanceToggle == "Floating" then | |
3919 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
3920 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
3921 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3922 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
3923 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3924 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
3925 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
3926 | grab = true | |
3927 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
3928 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(130+4*math.cos(sine/14)),math.rad(0),math.rad(-60+4*math.cos(sine/14))), 0.3) | |
3929 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3) | |
3930 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
3931 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
3932 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
3933 | elseif stanceToggle == "Grabbed" and holy == true then | |
3934 | grab = true | |
3935 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
3936 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(130+4*math.cos(sine/14)),math.rad(0),math.rad(-60+4*math.cos(sine/14))), 0.3) | |
3937 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3) | |
3938 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3939 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3940 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3941 | end | |
3942 | elseif animpose == "Walking" then | |
3943 | if stanceToggle == "Normal" and holy ~= true then | |
3944 | change = 1 | |
3945 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
3946 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2) | |
3947 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
3948 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
3949 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
3950 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
3951 | elseif stanceToggle == "Normal" and holy == true then | |
3952 | for i = 1, 2 do | |
3953 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3954 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3955 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3956 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3957 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3958 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3959 | end | |
3960 | elseif stanceToggle == "Melee" and holy ~= true then | |
3961 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2) | |
3962 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/4))), 0.2) | |
3963 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
3964 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
3965 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
3966 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
3967 | elseif stanceToggle == "Melee" and holy == true then | |
3968 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3969 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3970 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3971 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3972 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3973 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3974 | elseif stanceToggle == "Floating" then | |
3975 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3976 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3977 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4) | |
3978 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4) | |
3979 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4) | |
3980 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.2*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3981 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
3982 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
3983 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3) | |
3984 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
3985 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
3986 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
3987 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
3988 | elseif stanceToggle == "Grabbed" and holy == true then | |
3989 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
3990 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3) | |
3991 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4) | |
3992 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4) | |
3993 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4) | |
3994 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3995 | end | |
3996 | elseif animpose == "Running" then | |
3997 | if stanceToggle == "Normal" and holy ~= true then | |
3998 | change = 1 | |
3999 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
4000 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
4001 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
4002 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
4003 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
4004 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
4005 | elseif stanceToggle == "Normal" and holy == true then | |
4006 | change = 1 | |
4007 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(250),math.rad(350),math.rad(-30+2*math.cos(sine/14))), 0.2)--cfawm | |
4008 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2) | |
4009 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
4010 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2) | |
4011 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4) | |
4012 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4) | |
4013 | elseif stanceToggle == "Floating" then | |
4014 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
4015 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
4016 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0) | |
4017 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4) | |
4018 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4) | |
4019 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05) | |
4020 | end | |
4021 | end | |
4022 | end | |
4023 | end) | |
4024 | ||
4025 | Spawn(function() | |
4026 | while wait() do | |
4027 | updateFly() | |
4028 | end | |
4029 | end) | |
4030 | ||
4031 | Spawn(function() | |
4032 | while wait(.1) do | |
4033 | Magik() | |
4034 | end | |
4035 | end) | |
4036 | ||
4037 | Spawn(function() | |
4038 | while wait(.1) do | |
4039 | Magik2() | |
4040 | end | |
4041 | end) | |
4042 | ||
4043 | Spawn(function() | |
4044 | while wait(4) do | |
4045 | GroundWave() | |
4046 | end | |
4047 | end) | |
4048 | ||
4049 | ||
4050 | ||
4051 | ||
4052 | ||
4053 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
4054 | --[[Part0 = Vector3 (Start pos) | |
4055 | Part1 = Vector3 (End pos) | |
4056 | Times = number (Amount of lightning parts) | |
4057 | Offset = number (Offset) | |
4058 | Color = color (brickcolor value) | |
4059 | Thickness = number (thickness) | |
4060 | Trans = number (transparency) | |
4061 | ]]-- | |
4062 | local magz = (Part0 - Part1).magnitude | |
4063 | local curpos = Part0 | |
4064 | local trz = {-Offset,Offset} | |
4065 | for i=1,Times do | |
4066 | local li = Instance.new("Part", torso) | |
4067 | li.Name = "Lightning" | |
4068 | li.TopSurface =0 | |
4069 | li.Material = "Neon" | |
4070 | li.BottomSurface = 0 | |
4071 | li.Anchored = true | |
4072 | li.Locked = true | |
4073 | li.Transparency = Trans or 0.4 | |
4074 | li.BrickColor = BrickColor.new(Color) | |
4075 | li.formFactor = "Custom" | |
4076 | li.CanCollide = false | |
4077 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
4078 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
4079 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
4080 | if Times == i then | |
4081 | local magz2 = (curpos - Part1).magnitude | |
4082 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
4083 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
4084 | else | |
4085 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
4086 | end | |
4087 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
4088 | game.Debris:AddItem(li,.1) | |
4089 | end | |
4090 | end | |
4091 | ||
4092 | BodyParts = {} -- Parts to emit lightning effects from | |
4093 | for _, v in pairs(char.Genkadda:GetChildren()) do | |
4094 | if v:IsA("Part") and v.Name ~= "HitBox" and v.Name ~= "Thingy" then | |
4095 | table.insert(BodyParts, v) | |
4096 | end | |
4097 | end | |
4098 | ||
4099 | Bounding = {} -- Calculate the bounding boxes | |
4100 | for _, v in pairs(BodyParts) do | |
4101 | local temp = {X=nil, Y=nil, Z=nil} | |
4102 | temp.X = v.Size.X/2 * 10 | |
4103 | temp.Y = v.Size.Y/2 * 10 | |
4104 | temp.Z = v.Size.Z/2 * 10 | |
4105 | Bounding[v.Name] = temp | |
4106 | --table.insert(Bounding, v.Name, temp) | |
4107 | end | |
4108 | ||
4109 | ||
4110 | ||
4111 | while wait(lightspeed) do -- Emit the Lightning effects randomly, original was (1,10)/10 | |
4112 | ||
4113 | if Melee ~= true then --[[Make sure we only see the lightning when holding our sword]] | |
4114 | ||
4115 | if holy == true then | |
4116 | lightspeed = math.random(0.1,0.2) | |
4117 | else | |
4118 | lightspeed = math.random(0.5,1) | |
4119 | end | |
4120 | ||
4121 | local Body1 = BodyParts[math.random(#BodyParts)] | |
4122 | local Body2 = BodyParts[math.random(#BodyParts)] | |
4123 | local Pos1 = Vector3.new( | |
4124 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
4125 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
4126 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
4127 | ) | |
4128 | local Pos2 = Vector3.new( | |
4129 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
4130 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
4131 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
4132 | ) | |
4133 | local SPos1 = Body1.Position + Pos1 | |
4134 | local SPos2 = Body2.Position + Pos2 | |
4135 | ||
4136 | ||
4137 | ||
4138 | Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56) | |
4139 | ||
4140 | ||
4141 | end | |
4142 | - | end |
4142 | + | end--MADE BY X9n (NOT THE SCRIPT) LOCAL SCRIPT: Go down to line 23 and put your name where it says "YOUR NAME HERE" |
4143 | ||
4144 | ||
4145 | wt = 0.05 s = script it = Instance.new v3 = Vector3.new c3 = Color3.new ud = UDim2.new cf = CFrame.new ca = CFrame.Angles pi = math.pi rd = math.rad | |
4146 | bc = BrickColor.new ab = math.abs de = math.deg ts = tostring tn = tonumber ti = table.insert tr = table.remove | |
4147 | cr = coroutine.resume cc = coroutine.create | |
4148 | asset = "http://www.roblox.com/asset/?id=" | |
4149 | sr = string.reverse sl = string.lower su = string.upper | |
4150 | Serv = {} Serv.p = game:GetService(sr("sreyalP")) Serv.l = game:GetService(sr("gnithgiL")) | |
4151 | Serv.is = game:GetService(sr("ecivreStresnI")) if game:findFirstChild(sr("revreSkrowteN")) then Serv.ns = game:GetService(sr("revreSkrowteN")) else NetworkServer = nil end | |
4152 | Serv.sg = game:GetService(sr("iuGretratS")) Serv.sp = game:GetService(sr("kcaPretratS")) Serv.d = game:GetService(sr("sirbeD")) | |
4153 | Decs = {} | |
4154 | Decs.Crack = "49173398" Decs.Cloud = "1095708" Decs.Spike = "1033714" Decs.Rock = "1290033" Decs.Crown = "1323306" | |
4155 | function ft(tablez,item) if not tablez or not item then return nil end for i=1,#tablez do if tablez == item then return i end end return nil end | |
4156 | function re(par,obj) if type(par) ~= "userdata" or type(obj) ~= "string" then return nil end if par:findFirstChild(obj) then par[obj]:Remove() end end | |
4157 | function pa(pa,sh,x,y,z,c,a,tr,re,bc2) local fp = nil if sh ~= "Wedge" and sh ~= "CornerWedge" then fp = it("Part",pa) fp.Shape = sh fp.formFactor = "Custom" elseif sh == "Wedge" then fp = it("WedgePart",pa) fp.formFactor = "Custom" | |
4158 | elseif sh == "CornerWedge" then fp = it("CornerWedgePart",pa) end fp.Size = v3(x,y,z) fp.CanCollide = c fp.Anchored = false fp.BrickColor = bc(bc2) fp.Transparency = tr fp.Reflectance = re fp.BottomSurface = 0 | |
4159 | fp.TopSurface = 0 fp.CFrame = t.CFrame + Vector3.new(0,50,0) fp.Velocity = Vector3.new(0,10,0) fp:BreakJoints() return fp end | |
4160 | function clearit(tab) for xx=1,#tab do tab[xx]:Remove() end end | |
4161 | function weld(pa,p0,p1,x,y,z,a,b,c) local fw = it("Weld",pa) fw.Part0 = p0 fw.Part1 = p1 fw.C0 = cf(x,y,z) *ca(a,b,c) return fw end | |
4162 | function spm(ty,pa,ss) local sp = it("SpecialMesh",pa) sp.MeshType = ty sp.Scale = Vector3.new(ss,ss,ss) end function mbm(pa,sx,sy,sz) local bm = Instance.new("BlockMesh",pa) bm.Scale = Vector3.new(sx,sy,sz) end | |
4163 | function ra(mn,mx,dc) local tms = 1 if dc == nil then dc = 0 end if type(dc) == "number" and dc > 5 then dc = 5 end for zx=1,dc do tms = tms*10 end return math.random(mn*tms,mx*tms)/tms end | |
4164 | p = Serv.p.NzKaizent -- YOUR NAME HERE!!!! | |
4165 | bp = p.Backpack | |
4166 | pg = p.PlayerGui | |
4167 | c = p.Character | |
4168 | he = c.Head | |
4169 | t = c.Torso | |
4170 | hu = c.Humanoid | |
4171 | mou = nil | |
4172 | re(c,"Hand") | |
4173 | s = 2 | |
4174 | ||
4175 | --tool var | |
4176 | Equip = false | |
4177 | HTrans = 0 | |
4178 | HRef = 0 | |
4179 | HCol = "a" | |
4180 | LaserCol = "Really black" | |
4181 | LaserCol2 = "Really red" | |
4182 | LaserCol3 = "Really black" | |
4183 | Posing = "Follow" | |
4184 | Facing = "Owner" | |
4185 | Anim = {} | |
4186 | Anim.a = "None" | |
4187 | Anim.b = "None" | |
4188 | Anim.Welding = 0 | |
4189 | local fingwide = 1.5*s | |
4190 | local finghei = 2.8 | |
4191 | local tiphei = 2.55 | |
4192 | handoffset = v3(5,18,-8)*s | |
4193 | bgx,bgy,bgz = -90,0,0 | |
4194 | w = {} | |
4195 | Button = false | |
4196 | -- | |
4197 | BlastMesh = it("FileMesh") | |
4198 | BlastMesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
4199 | RingMesh = it("FileMesh") | |
4200 | RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4201 | RockMesh = it("FileMesh") | |
4202 | DiamondMesh = it("FileMesh") | |
4203 | DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
4204 | ||
4205 | m = Instance.new("Model",c) m.Name = "Hand" | |
4206 | Palm = pa(m,"Block",6*s,7*s,fingwide*2,true,false,HTrans,HRef,HCol) mbm(Palm,1,1,0.6) | |
4207 | local x,y,z = Palm.Size.x,Palm.Size.y,Palm.Size.z | |
4208 | bPoint1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4209 | Point1 = weld(bPoint1,Palm,bPoint1,-x/2+(fingwide/2),y/2,0,0,0,0) | |
4210 | pPoint1 = pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPoint1,0.9,1,0.9) | |
4211 | wPoint1 = weld(pPoint1,bPoint1,pPoint1,0,pPoint1.Size.y/2,0,0,0,0) | |
4212 | bPoint2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4213 | Point2 = weld(bPoint2,pPoint1,bPoint2,0,pPoint1.Size.y/2,0,0,0,0) | |
4214 | pPoint2 = pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPoint2,0.9,1,0.9) | |
4215 | wPoint2 = weld(pPoint2,bPoint2,pPoint2,0,pPoint1.Size.y/2,0,0,0,0) | |
4216 | bPoint3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4217 | Point3 = weld(bPoint3,pPoint2,bPoint3,0,pPoint2.Size.y/2,0,0,0,0) | |
4218 | pPoint3 = pa(m,"Block",fingwide,tiphei*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPoint3,0.9,1,0.9) | |
4219 | wPoint3 = weld(pPoint3,bPoint3,pPoint3,0,pPoint3.Size.y/2,0,0,0,0) | |
4220 | bMid1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4221 | Mid1 = weld(bMid1,Palm,bMid1,-x/2+((fingwide/2)+((fingwide)*1)),y/2,0,0,0,0) | |
4222 | pMid1 = pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pMid1,0.9,1,0.9) | |
4223 | wMid1 = weld(pMid1,bMid1,pMid1,0,pMid1.Size.y/2,0,0,0,0) | |
4224 | bMid2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4225 | Mid2 = weld(bMid2,pMid1,bMid2,0,pMid1.Size.y/2,0,0,0,0) | |
4226 | pMid2 = pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pMid2,0.9,1,0.9) | |
4227 | wMid2 = weld(pMid2,bMid2,pMid2,0,pMid1.Size.y/2,0,0,0,0) | |
4228 | bMid3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4229 | Mid3 = weld(bMid3,pMid2,bMid3,0,pMid2.Size.y/2,0,0,0,0) | |
4230 | pMid3 = pa(m,"Block",fingwide,(tiphei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pMid3,0.9,1,0.9) | |
4231 | wMid3 = weld(pMid3,bMid3,pMid3,0,pMid3.Size.y/2,0,0,0,0) | |
4232 | bRing1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4233 | Ring1 = weld(bRing1,Palm,bRing1,-x/2+((fingwide/2)+((fingwide)*2)),y/2,0,0,0,0) | |
4234 | pRing1 = pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pRing1,0.9,1,0.9) | |
4235 | wRing1 = weld(pRing1,bRing1,pRing1,0,pRing1.Size.y/2,0,0,0,0) | |
4236 | bRing2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4237 | Ring2 = weld(bRing2,pRing1,bRing2,0,pRing1.Size.y/2,0,0,0,0) | |
4238 | pRing2 = pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pRing2,0.9,1,0.9) | |
4239 | wRing2 = weld(pRing2,bRing2,pRing2,0,pRing1.Size.y/2,0,0,0,0) | |
4240 | bRing3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4241 | Ring3 = weld(bRing3,pRing2,bRing3,0,pRing2.Size.y/2,0,0,0,0) | |
4242 | pRing3 = pa(m,"Block",fingwide,(tiphei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pRing3,0.9,1,0.9) | |
4243 | wRing3 = weld(pRing3,bRing3,pRing3,0,pRing3.Size.y/2,0,0,0,0) | |
4244 | bPinkie1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4245 | Pinkie1 = weld(bPinkie1,Palm,bPinkie1,-x/2+((fingwide/2)+((fingwide)*3)),y/2,0,0,0,0) | |
4246 | pPinkie1 = pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPinkie1,0.9,1,0.9) | |
4247 | wPinkie1 = weld(pPinkie1,bPinkie1,pPinkie1,0,pPinkie1.Size.y/2,0,0,0,0) | |
4248 | bPinkie2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4249 | Pinkie2 = weld(bPinkie2,pPinkie1,bPinkie2,0,pPinkie1.Size.y/2,0,0,0,0) | |
4250 | pPinkie2 = pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPinkie2,0.9,1,0.9) | |
4251 | wPinkie2 = weld(pPinkie2,bPinkie2,pPinkie2,0,pPinkie1.Size.y/2,0,0,0,0) | |
4252 | bPinkie3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4253 | Pinkie3 = weld(bPinkie3,pPinkie2,bPinkie3,0,pPinkie2.Size.y/2,0,0,0,0) | |
4254 | pPinkie3 = pa(m,"Block",fingwide,(tiphei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPinkie3,0.9,1,0.9) | |
4255 | wPinkie3 = weld(pPinkie3,bPinkie3,pPinkie3,0,pPinkie3.Size.y/2,0,0,0,0) | |
4256 | bThumb1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4257 | Thumb1 = weld(bThumb1,Palm,bThumb1,-x/2+(fingwide/7),-y*0.1,-fingwide*0.25,0,0,0) | |
4258 | pThumb1 = pa(m,"Block",fingwide*1.4,(finghei*1)*s,fingwide*1.4,true,false,HTrans,HRef,HCol) mbm(pThumb1,0.9,1,0.9) | |
4259 | wThumb1 = weld(pThumb1,bThumb1,pThumb1,0,pThumb1.Size.y/2,0,0,0,0) | |
4260 | bThumb2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4261 | Thumb2 = weld(bThumb2,pThumb1,bThumb2,0,pThumb1.Size.y/2,0,0,0,0) | |
4262 | pThumb2 = pa(m,"Block",fingwide*1.3,(finghei*1)*s,fingwide*1.3,true,false,HTrans,HRef,HCol) mbm(pThumb2,0.9,1,0.9) | |
4263 | wThumb2 = weld(pThumb2,bThumb2,pThumb2,0,pThumb1.Size.y/2,0,0,0,0) | |
4264 | bThumb3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
4265 | Thumb3 = weld(bThumb3,pThumb2,bThumb3,0,pThumb2.Size.y/2,0,0,0,0) | |
4266 | pThumb3 = pa(m,"Block",fingwide*1.25,(tiphei*1)*s,fingwide*1.25,true,false,HTrans,HRef,HCol) mbm(pThumb3,0.9,1,0.9) | |
4267 | wThumb3 = weld(pThumb3,bThumb3,pThumb3,0,pThumb3.Size.y/2,0,0,0,0) | |
4268 | ||
4269 | w["a1"] = Pinkie1 | |
4270 | w["a2"] = Pinkie2 | |
4271 | w["a3"] = Pinkie3 | |
4272 | w["b1"] = Ring1 | |
4273 | w["b2"] = Ring2 | |
4274 | w["b3"] = Ring3 | |
4275 | w["c1"] = Mid1 | |
4276 | w["c2"] = Mid2 | |
4277 | w["c3"] = Mid3 | |
4278 | w["d1"] = Point1 | |
4279 | w["d2"] = Point2 | |
4280 | w["d3"] = Point3 | |
4281 | w["e1"] = Thumb1 | |
4282 | w["e2"] = Thumb2 | |
4283 | w["e3"] = Thumb3 | |
4284 | w.e1.C1 = ca(0,rd(35),rd(-20)) | |
4285 | w.e2.C1 = ca(rd(20),0,0) | |
4286 | w.e3.C1 = ca(rd(20),0,0) | |
4287 | w.d1.C1 = ca(0,0,rd(-3)) | |
4288 | w.c1.C1 = ca(0,0,rd(-1)) | |
4289 | w.b1.C1 = ca(0,0,rd(1)) | |
4290 | w.a1.C1 = ca(0,0,rd(3)) | |
4291 | function c1(wexx,smmx,xx,yy,zz) | |
4292 | coroutine.resume(coroutine.create(function() | |
4293 | local xx2,yy2,zz2 = wexx.C1:toEulerAnglesXYZ() | |
4294 | local aa,bb,cc = wexx.C0.x,wexx.C0.y,wexx.C0.z | |
4295 | local twa = smmx/wt | |
4296 | Anim.Welding = Anim.Welding + 1 | |
4297 | for i=0,twa,1 do wexx.C0 = cf(aa,bb,cc) | |
4298 | wexx.C1 = ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) | |
4299 | wait() | |
4300 | end | |
4301 | Anim.Welding = Anim.Welding - 1 | |
4302 | end)) | |
4303 | end | |
4304 | function CloseFing(fingz,spee) if spee == nil then spee = 1 end c1(w[fingz.. "1"],spee,80,0,0) c1(w[fingz.. "2"],spee,110,0,0) c1(w[fingz.. "3"],spee,30,0,0) end | |
4305 | function OpenFing(fingz,spee) if spee == nil then spee = 1 end c1(w[fingz.. "1"],spee,2,0,0) c1(w[fingz.. "2"],spee,2,0,0) c1(w[fingz.. "3"],spee,2,0,0) end | |
4306 | function HandSign(form,spee) form = form:lower() if spee == nil then spee = 1 end | |
4307 | if form == "f" then | |
4308 | CloseFing("d",spee) CloseFing("a",spee) CloseFing("b",spee) | |
4309 | c1(w["c1"],spee,0,0,0) c1(w["c2"],spee,0,0,0) c1(w["c3"],spee,0,0,0) | |
4310 | c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0) | |
4311 | elseif form == "fist" then | |
4312 | CloseFing("d",spee) CloseFing("a",spee) CloseFing("b",spee) CloseFing("c",spee) | |
4313 | c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0) | |
4314 | elseif form == "pointer" then | |
4315 | CloseFing("a",spee) CloseFing("b",spee) CloseFing("c",spee) | |
4316 | c1(w["d1"],spee,5,0,0) c1(w["d2"],spee,5,0,0) c1(w["d3"],spee,5,0,0) | |
4317 | c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0) | |
4318 | elseif form == "v" then | |
4319 | CloseFing("a",spee) CloseFing("b",spee) | |
4320 | c1(w["c1"],spee,1,0,15) c1(w["c2"],spee,1,0,0) c1(w["c3"],spee,1,0,0) | |
4321 | c1(w["d1"],spee,1,0,-15) c1(w["d2"],spee,1,0,0) c1(w["d3"],spee,1,0,0) | |
4322 | c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0) | |
4323 | elseif form == "free" or form == "five" then | |
4324 | OpenFing("a",spee) OpenFing("b",spee) OpenFing("c",spee) OpenFing("d",spee) | |
4325 | c1(w["e1"],spee,0,35,-20) c1(w["e2"],spee,20,0,0) c1(w["e3"],spee,20,0,0) | |
4326 | elseif form == "ride" then | |
4327 | c1(w["a1"],spee,60,0,0) c1(w["a2"],spee,-30,0,0) c1(w["a3"],spee,-30,0,0) | |
4328 | c1(w["b1"],spee,30,0,0) c1(w["b2"],spee,65,0,0) c1(w["b3"],spee,60,0,0) | |
4329 | c1(w["c1"],spee,30,0,0) c1(w["c2"],spee,65,0,0) c1(w["c3"],spee,60,0,0) | |
4330 | c1(w["d1"],spee,30,0,0) c1(w["d2"],spee,65,0,0) c1(w["d3"],spee,60,0,0) | |
4331 | c1(w["e1"],spee,-70,185,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0) | |
4332 | elseif form == "gun" then | |
4333 | CloseFing("a",spee) CloseFing("b",spee) | |
4334 | c1(w["c1"],spee,0,0,1) c1(w["c2"],spee,0,0,0) c1(w["c3"],spee,0,0,0) | |
4335 | c1(w["d1"],spee,0,0,-1) c1(w["d2"],spee,0,0,0) c1(w["d3"],spee,0,0,0) | |
4336 | c1(w["e1"],spee,-60,90,0) c1(w["e2"],spee,20,0,0) c1(w["e3"],spee,-20,0,0) | |
4337 | elseif form == "wide" then | |
4338 | c1(w["a1"],spee,-3,0,45) c1(w["a2"],spee,-3,0,0) c1(w["a3"],spee,-3,0,0) | |
4339 | c1(w["b1"],spee,-3,0,15) c1(w["b2"],spee,-3,0,0) c1(w["b3"],spee,-3,0,0) | |
4340 | c1(w["c1"],spee,-3,0,-15) c1(w["c2"],spee,-3,0,0) c1(w["c3"],spee,-3,0,0) | |
4341 | c1(w["d1"],spee,-3,0,-45) c1(w["d2"],spee,-3,0,0) c1(w["d3"],spee,-3,0,0) | |
4342 | c1(w["e1"],spee,-70,90,0) c1(w["e2"],spee,10,0,0) c1(w["e3"],spee,-10,0,0) | |
4343 | elseif form == "wide2" then | |
4344 | c1(w["a1"],spee,-18,0,45) c1(w["a2"],spee,36,0,0) c1(w["a3"],spee,30,0,0) | |
4345 | c1(w["b1"],spee,-18,0,15) c1(w["b2"],spee,36,0,0) c1(w["b3"],spee,30,0,0) | |
4346 | c1(w["c1"],spee,-18,0,-15) c1(w["c2"],spee,36,0,0) c1(w["c3"],spee,30,0,0) | |
4347 | c1(w["d1"],spee,-18,0,-45) c1(w["d2"],spee,36,0,0) c1(w["d3"],spee,30,0,0) | |
4348 | c1(w["e1"],spee,-50,90,-10) c1(w["e2"],spee,5,0,-30) c1(w["e3"],spee,-10,0,-40) | |
4349 | elseif form == "grab2" then | |
4350 | c1(w["a1"],spee,-70,-65,0) c1(w["a2"],spee,40,0,0) c1(w["a3"],spee,20,0,0) | |
4351 | c1(w["b1"],spee,-70,-20,0) c1(w["b2"],spee,40,0,0) c1(w["b3"],spee,20,0,0) | |
4352 | c1(w["c1"],spee,-70,20,-0) c1(w["c2"],spee,40,0,0) c1(w["c3"],spee,20,0,0) | |
4353 | c1(w["d1"],spee,-70,65,-0) c1(w["d2"],spee,40,0,0) c1(w["d3"],spee,20,0,0) | |
4354 | c1(w["e1"],spee,-70,150,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0) | |
4355 | elseif form == "grab3" then | |
4356 | c1(w["a1"],spee,-30,-40,30) c1(w["a2"],spee,50,0,0) c1(w["a3"],spee,35,0,0) | |
4357 | c1(w["b1"],spee,-30,-15,12) c1(w["b2"],spee,50,0,0) c1(w["b3"],spee,35,0,0) | |
4358 | c1(w["c1"],spee,-30,15,-12) c1(w["c2"],spee,50,0,0) c1(w["c3"],spee,35,0,0) | |
4359 | c1(w["d1"],spee,-30,40,-30) c1(w["d2"],spee,50,0,0) c1(w["d3"],spee,35,0,0) | |
4360 | c1(w["e1"],spee,-55,205,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0) | |
4361 | end | |
4362 | end | |
4363 | function ColFings(iscol) | |
4364 | pPinkie1.CanCollide = iscol | |
4365 | pPinkie2.CanCollide = iscol | |
4366 | pPinkie3.CanCollide = iscol | |
4367 | pRing1.CanCollide = iscol | |
4368 | pRing2.CanCollide = iscol | |
4369 | pRing3.CanCollide = iscol | |
4370 | pMid1.CanCollide = iscol | |
4371 | pMid2.CanCollide = iscol | |
4372 | pMid3.CanCollide = iscol | |
4373 | pPoint1.CanCollide = iscol | |
4374 | pPoint2.CanCollide = iscol | |
4375 | pPoint3.CanCollide = iscol | |
4376 | pThumb1.CanCollide = iscol | |
4377 | pThumb2.CanCollide = iscol | |
4378 | pThumb3.CanCollide = iscol | |
4379 | end | |
4380 | function ray(Pos, Dir) | |
4381 | return Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999), c) | |
4382 | end | |
4383 | function Earthsplosion(pos,siz,dmg,rndmg,forc,eos) local colz22 = "Really red" if eos == nil or eos == "earth" then eos = "earth" else colz22 = "Really black" eos = "sand" end | |
4384 | coroutine.resume(coroutine.create(function() | |
4385 | if eos == "earth" then local cr = pa(m,"Block",((14*siz)/10)*s,0,((14*siz)/10)*s,false,false,1,0,"") cr.Anchored = true cr.CFrame = pos *ca(rd(0),rd(ra(-360,360)),rd(0)) cr.CFrame = cr.CFrame + v3(ra(-siz*10,siz*10)/22,0,ra(-siz*10,siz*10)/22) | |
4386 | local de = it("Decal",cr) de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,25) end | |
4387 | for i=1,4 do | |
4388 | coroutine.resume(coroutine.create(function() | |
4389 | local sw = pa(m,"Block",(siz/3)*s,(siz*1.3)*s,(siz/3)*s,true,true,0,0,colz22) sw.Anchored = true sw.CFrame = pos *cf(ra(-3*s,3*s),0,ra(-3*s,3*s)) *ca(rd(ra(-27,27)),rd(ra(-360,360)),rd(ra(-27,27))) local swm = it("SpecialMesh",sw) if eos == "earth" then swm.MeshType = "FileMesh" | |
4390 | swm.MeshId = asset .. Decs.Spike else swm.MeshType = "Sphere" end if eos == "earth" then swm.Scale = v3(sw.Size.x/1.3,sw.Size.y*1.2,sw.Size.z/1.3) | |
4391 | else swm.Scale = v3(sw.Size.x/10,sw.Size.y/37,sw.Size.z/10) end sw.CFrame = sw.CFrame + v3(ra(-0.3*siz*s,0.3*siz*s,7),0,ra(-0.3*siz*s,0.3*siz*s)) sw.CFrame = sw.CFrame * cf(0,-sw.Size.y/1.4,0) | |
4392 | Dustplosion(cf(pos.p+v3(0,2*s,0)),18*s,{"Really red","Really black","Really red"},1) | |
4393 | if eos == "earth" then | |
4394 | for x=1,8 do | |
4395 | sw.CFrame = sw.CFrame *cf(0,sw.Size.y/8,0) wait() end wait(ra(1,5)) | |
4396 | for x=1,20 do | |
4397 | sw.CFrame = sw.CFrame *cf(0,-sw.Size.y/20,0) wait() | |
4398 | end sw:Remove() | |
4399 | else | |
4400 | for x=1,25 do | |
4401 | sw.CFrame = sw.CFrame *cf(0,sw.Size.y/25,0) sw.Transparency = x/25 - 0.1 swm.Scale = swm.Scale + v3(0.025,0.025,0.025) wait() end | |
4402 | end sw:Remove() | |
4403 | end)) end | |
4404 | wait(0.3) | |
4405 | DmgHumanoidsNear(pos.p,dmg,rndmg,5.5*s*(siz/4),forc) | |
4406 | end)) | |
4407 | end | |
4408 | ||
4409 | function Dustplosion(onb,scale,col,cls) coroutine.resume(coroutine.create(function() | |
4410 | for x=1,cls do coroutine.resume(coroutine.create(function() | |
4411 | local sw = pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col[ra(1,#col)]) sw.Anchored = true sw.CFrame = onb *ca(rd(ra(-35,35)),rd(ra(-360,360)),rd(ra(-35,35))) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh" | |
4412 | swm.MeshId = asset .. Decs.Cloud sw.CFrame = sw.CFrame + v3(ra(-scale,scale)/8,ra(-scale,scale)/8,ra(-scale,scale)/8) | |
4413 | for i=1,scale,0.25 do | |
4414 | swm.Scale = v3(i*1.5,i*1,i*1.5) sw.Transparency = ((i/scale)/2) + 0.45 | |
4415 | wait() | |
4416 | end | |
4417 | sw:Remove() | |
4418 | end)) end | |
4419 | end)) end | |
4420 | function ShockWave(onb,scale,col) coroutine.resume(coroutine.create(function() local sw = pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col) sw.Anchored = true sw.CFrame = onb *ca(rd(90),0,0) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh" swm.MeshId = RingMesh.MeshId | |
4421 | for i=1,scale,0.75 do swm.Scale = v3(i*1.5,i*1.5,i*1.5) sw.Transparency = (i/scale) + 0 wait() end sw:Remove() end)) end | |
4422 | function BlastWave(onb,scale,ymes,col) coroutine.resume(coroutine.create(function() | |
4423 | local sw = pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col) sw.Anchored = true sw.CFrame = onb *ca(rd(0),0,0) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh" | |
4424 | swm.MeshId = BlastMesh.MeshId | |
4425 | for i=1,scale,scale/11 do | |
4426 | swm.Scale = v3(i*1.25,i*ymes,i*1.25) sw.CFrame = sw.CFrame *ca(0,rd(720*(i/scale)),0) sw.Transparency = (i/scale) + 0 | |
4427 | wait() | |
4428 | end | |
4429 | sw:Remove() | |
4430 | end)) | |
4431 | end | |
4432 | function Explode(onb,scale,col) local Torm = m coroutine.resume(coroutine.create(function() local e1 = Instance.new("Part") e1.Anchored = true e1.formFactor = "Custom" e1.CanCollide = false e1.Size = Vector3.new(1,1,1) e1.BrickColor = BrickColor.new(col) | |
4433 | e1.Transparency = 0.6 e1.TopSurface = 0 e1.BottomSurface = 0 e1.Parent = Torm e1.CFrame = onb local e1m = Instance.new("SpecialMesh") | |
4434 | e1m.MeshType = "Sphere" e1m.Parent = e1 local r1 = Instance.new("Part") r1.Anchored = true r1.formFactor = "Custom" r1.CanCollide = false r1.Size = Vector3.new(1,1,1) r1.BrickColor = BrickColor.new(col) r1.Transparency = 0.6 r1.TopSurface = 0 r1.BottomSurface = 0 r1.Parent = Torm r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(180),0,0) local r1m = Instance.new("SpecialMesh") r1m.MeshType = "FileMesh" | |
4435 | r1m.Scale = Vector3.new(3,3,3) r1m.Parent = r1 r1m.MeshId = RingMesh.MeshId local r2 = Instance.new("Part") r2.Anchored = true r2.formFactor = "Custom" r2.CanCollide = false r2.Size = Vector3.new(1,1,1) r2.BrickColor = BrickColor.new(col) r2.Transparency = 0.6 r2.TopSurface = 0 r2.BottomSurface = 0 r2.Parent = Torm r2.CFrame = e1.CFrame *CFrame.Angles(0,math.rad(180),0) local r2m = Instance.new("SpecialMesh") r2m.MeshType = "FileMesh" | |
4436 | r2m.Parent = r2 r2m.Scale = Vector3.new(3,3,3) r2m.MeshId = RingMesh.MeshId local bla = Instance.new("Part") bla.Anchored = true | |
4437 | bla.formFactor = "Custom" bla.CanCollide = false bla.Size = Vector3.new(1,1,1) bla.BrickColor = BrickColor.new(col) bla.Transparency = 0.6 bla.TopSurface = 0 bla.BottomSurface = 0 bla.Parent = Torm bla.CFrame = onb local blam = Instance.new("SpecialMesh") | |
4438 | blam.MeshType = "FileMesh" blam.Parent = bla blam.Scale = Vector3.new(5,5,5) blam.MeshId = BlastMesh.MeshId for i=1,30 do local pluscal = scale/38 e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal) | |
4439 | r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) | |
4440 | blam.Scale = blam.Scale + Vector3.new(pluscal,pluscal/2,pluscal) bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0) r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0) r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0) wait() end for i=1,30 do local pluscal = scale/38 e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) | |
4441 | blam.Scale = blam.Scale + Vector3.new(pluscal/3,pluscal/3,pluscal/3) bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0) r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0) r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0) bla.Transparency = bla.Transparency + 0.1 e1.Transparency = e1.Transparency + 0.1 r1.Transparency = r1.Transparency + 0.1 r2.Transparency = r2.Transparency + 0.1 wait() end e1:Remove() r1:Remove() r2:Remove() end)) end | |
4442 | ||
4443 | function Hurtsplosion(pos,dmg,rndmg,siz,forc) | |
4444 | coroutine.resume(coroutine.create(function() local boomcol = {"Really red","Really black","Really red"} | |
4445 | for i=1,3 do | |
4446 | coroutine.resume(coroutine.create(function() | |
4447 | local plos = pa(m,"Block",1*s*siz,1.5*s*siz,0.7*s*siz,false,false,0.3,0,boomcol) spm("Sphere",plos,1) plos.Anchored = true | |
4448 | plos.CFrame = cf(pos + v3(0,0,0)) * ca(rd(ra(-360,360)),rd(ra(-360,360)),rd(ra(-360,360))) | |
4449 | plos.Mesh.Scale = v3(0.1,0.1,0.1) | |
4450 | for i=0.3,1,0.03 do local plc = plos.CFrame | |
4451 | plos.Mesh.Scale = v3(i*6,i*6,i*6) plos.Transparency = i plos.CFrame = plc * ca(rd(3),rd(3),0) | |
4452 | wait() | |
4453 | end | |
4454 | plos:Remove() | |
4455 | end)) | |
4456 | end | |
4457 | end)) | |
4458 | wait(0.1) | |
4459 | DmgHumanoidsNear(pos,dmg,rndmg,5.5*s*siz,forc) | |
4460 | end | |
4461 | ||
4462 | function DmgHumanoidsNear(pos,dmg,rndmg,mag,forc) | |
4463 | local function kidive(ob) | |
4464 | for i,v in pairs(ob:children()) do | |
4465 | if v:IsA("BasePart") and v.Parent.Parent:findFirstChild("Humanoid") == nil and v.Parent:findFirstChild("Humanoid") == nil and (v.Position - pos).magnitude < mag*1.3 and v.Anchored == false and v:GetMass() < 150 then | |
4466 | v:BreakJoints() v.Velocity = cf(pos,v.Position).lookVector*forc | |
4467 | end | |
4468 | if v:IsA("Humanoid") and v ~= hu and v.Parent:findFirstChild("Torso") then | |
4469 | if (pos - v.Parent.Torso.Position).magnitude < mag then local tdmg = dmg*ra(1,rndmg) | |
4470 | if v.Parent:findFirstChild("Hh") == nil then local hh= Instance.new("NumberValue",v.Parent) hh.Name = "Hh" | |
4471 | hh.Value = v.Health - tdmg else v.Parent.Hh.Value = v.Health - (tdmg*3.5) end | |
4472 | v.Health = v.Parent.Hh.Value if v.Parent.Hh.Value < 1 then v.Parent:BreakJoints() end | |
4473 | end | |
4474 | end | |
4475 | if v:IsA("Model") or v:IsA("Workspace") then kidive(v) end end end | |
4476 | kidive(workspace) | |
4477 | end | |
4478 | function Fire(bullet,typez,siz,dmg,rndmg,forc) | |
4479 | if typez == 1 then | |
4480 | bullet.Anchored = true | |
4481 | local bullethit = false | |
4482 | local tyms = 0 | |
4483 | repeat | |
4484 | tyms = tyms + 2 | |
4485 | local bhit,bpos = ray(bullet.Position,bullet.Position - (bullet.CFrame *cf(0,0,-1)).p) | |
4486 | if bpos ~= nil and (bpos - bullet.Position).magnitude < 7 then bullethit = true else bullet.CFrame = bullet.CFrame *cf(0,0,-1*s) *ca(rd(-0.0025),rd(0),0) end | |
4487 | if tyms%32 == 0 then wait() end | |
4488 | until bullethit or bullet.Position.y < -300 or tyms > 800 | |
4489 | bullet.CFrame = bullet.CFrame *cf(0,0,8) bullet:Remove() | |
4490 | if bullet.Position.y < -300 then | |
4491 | else | |
4492 | Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc) | |
4493 | end | |
4494 | elseif typez == 2 then | |
4495 | bullet.Anchored = true | |
4496 | local bullethit = false | |
4497 | local tyms = 0 | |
4498 | local ming = 0.001 | |
4499 | repeat | |
4500 | if tyms > 70 and (ming == 0.001 or ming == -2.5) then ming = -2.5 | |
4501 | local bpos = (bullet.CFrame *cf(0,0,-300)).p if (bpos - v3(Palm.Position.x,bpos.y,Palm.Position.z)).magnitude < 25*s then ming = 0 end | |
4502 | end | |
4503 | tyms = tyms + 2 | |
4504 | local bhit,bpos = ray(bullet.Position,bullet.Position - (bullet.CFrame *cf(0,0,-1)).p) | |
4505 | if bpos ~= nil and (bpos - bullet.Position).magnitude < 7 then bullethit = true else bullet.CFrame = bullet.CFrame *cf(0,0,-0.5) *ca(rd(ming),rd(0),0) end | |
4506 | if tyms%16 == 0 then wait() end | |
4507 | until bullethit or bullet.Position.y < -300 or tyms > 500 | |
4508 | bullet.CFrame = bullet.CFrame *cf(0,0,8) bullet:Remove() | |
4509 | if bullet.Position.y < -300 then | |
4510 | else | |
4511 | Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc) | |
4512 | end | |
4513 | elseif typez == 3 then | |
4514 | end | |
4515 | end | |
4516 | function ShortifiedAnim(theanim) | |
4517 | if theanim == "Beam" then | |
4518 | local crom = pa(m,"Block",0,0,0,true,true,0.5,0,LaserCol3) local cromm = it("SpecialMesh",crom) cromm.MeshType = "FileMesh" cromm.MeshId = asset .. Decs.Crown | |
4519 | cromm.Scale = v3(15*s,5*s,15*s) crom.Anchored = true --local cromw = weld(crom,Palm,crom,0,Palm.Size.y/3.6,-Palm.Size.z*1.8,rd(-90),0,0) | |
4520 | dias = {} loldiv = 360/8 for x=0,360,loldiv do | |
4521 | local dia = pa(m,"Block",0,0,0,false,false,0,0,LaserCol2) dia.Anchored = true local diam = it("SpecialMesh",dia) diam.MeshType = "FileMesh" diam.MeshId = DiamondMesh.MeshId | |
4522 | diam.Scale = v3(3*s,9*s,3*s) table.insert(dias,dia) | |
4523 | end Button = true coroutine.resume(coroutine.create(function() local tardz = 0 repeat wait() tardz = tardz+ 15 | |
4524 | crom.CFrame = Palm.CFrame *ca(rd(-90),0,0) *cf(0,5.5*s,2*s) *ca(0,rd(tardz),0) | |
4525 | for rofl=1,#dias do dias[rofl].CFrame = crom.CFrame *ca(0,rd(rofl*loldiv),0) *cf(0,-19*s,0) *ca(rd(25),0,0) *cf(0,32*s,0) end | |
4526 | until not Button for x2=0.5,1,0.05 do wait() crom.Transparency = x2 end end)) | |
4527 | coroutine.resume(coroutine.create(function() for xk=1,0.5,-0.02 do wait() for i=1,#dias do dias.Transparency =xk end end end)) | |
4528 | wait(1) local beamoffset = v3(0,0,0) | |
4529 | local b1 = pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b1.Anchored = true | |
4530 | local b2 = pa(m,"Block",10*s,1,10*s,false,false,0.1,0,LaserCol) b2.Anchored = true local b2m = it("CylinderMesh",b2) | |
4531 | local b3 = pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b3.Anchored = true | |
4532 | local bpos = nil local bhit = nil local ts = 0 | |
4533 | repeat beamoffset = v3(ra(-2*s,2*s),ra(-2*s,2*s),ra(-2*s,2*s)) ts = ts + 1 | |
4534 | bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,0,1)).p) | |
4535 | if bhit == nil or (Palm.Position - bpos).magnitude > 1500 then break end | |
4536 | b1.CFrame = Palm.CFrame *cf(0,3*s,-11*s) | |
4537 | b3.CFrame = cf(bpos) local lenz = (b1.Position - b3.Position).magnitude | |
4538 | b2.CFrame = cf(b1.Position,b3.Position) *ca(rd(90),0,0) *cf(0,-lenz/2,0) b2m.Scale = v3(1,lenz,1) | |
4539 | b1.CFrame = b1.CFrame + beamoffset b2.CFrame = b2.CFrame + beamoffset b3.CFrame = b3.CFrame + beamoffset | |
4540 | if ts%10 == 0 then DmgHumanoidsNear(b3.Position,3,10,(14*s)+2,100) Explode(b3.CFrame*cf(0,b3.Size.y/3,0),25*s,LaserCol2) end | |
4541 | wait() until not Button or ts > 600 | |
4542 | coroutine.resume(coroutine.create(function() for xk=0.1,1.1,0.08 do wait() b1.Transparency = xk b2.Transparency = xk b3.Transparency = xk end b1:Remove() b2:Remove() b3:Remove() end)) | |
4543 | coroutine.resume(coroutine.create(function() for xk=0.5,1.1,0.02 do wait() for i=1,#dias do dias.Transparency =xk end end end)) | |
4544 | wait(1) clearit(dias) crom:Remove() | |
4545 | end | |
4546 | end | |
4547 | PalmLev = it("BodyPosition",Palm) | |
4548 | PalmFace = it("BodyGyro",Palm) PalmFace.maxTorque = v3(0,0,0) | |
4549 | coroutine.resume(coroutine.create(function() | |
4550 | PalmLev.position = (t.CFrame *cf(handoffset)).p | |
4551 | local yspi = 0 | |
4552 | while true do yspi = yspi + 8 | |
4553 | if Anim.a == "Gun" or Anim.a == "Ride" or Anim.a == "Pound" then | |
4554 | Facing = "Mouse" bgx = -90 bgy = 90 bgz = 0 | |
4555 | elseif Anim.a == "Fu" or Anim.a == "Fist" or Anim.a == "GroundGrip" then | |
4556 | Facing = "Mouse" bgx = -90 bgy = 0 bgz = 0 | |
4557 | elseif Anim.a == "Splat" or Anim.a == "Beam" then | |
4558 | Facing = "Mouse" bgx = 0 bgy = 0 bgz = 0 | |
4559 | elseif Anim.a == "None" then | |
4560 | Facing = "Owner" bgx = -90 bgy = 0 bgz = 0 Posing = "Follow" | |
4561 | elseif Anim.a == "Shower" then | |
4562 | Facing = "None" bgx = 0 bgy = 0 bgz = 0 Posing = "TopOwner" | |
4563 | end | |
4564 | if Posing == "Follow" then | |
4565 | PalmLev.maxForce = v3(1/0,1/0,1/0) PalmLev.position = (t.CFrame *cf(handoffset) *cf(0,0,0)).p | |
4566 | elseif Posing == "TopOwner" then | |
4567 | PalmLev.maxForce = v3(1/0,1/0,1/0) PalmLev.position = (t.CFrame *cf(0,12*s,0)).p | |
4568 | end | |
4569 | if Facing == "Owner" then | |
4570 | PalmFace.maxTorque = v3(1/0,1/0,1/0) PalmFace.cframe = cf(Palm.Position,he.Position) *ca(rd(bgx),rd(bgy),rd(bgz)) | |
4571 | elseif Facing == "Mouse" and mou ~= nil and Equip then | |
4572 | if Anim.a == "Gun" or Anim.a == "Beam" or Anim.a == "Ride" or Anim.a == "GroundGrip" or Anim.a == "Fu" or Anim.a == "Pound" or Anim.a == "Splat" or Anim.a == "Fist" then | |
4573 | if Anim.b == "None" or Anim.a == "Beam" or Anim.a == "Ride" then | |
4574 | PalmFace.cframe = cf(Palm.Position,mou.Hit.p) *ca(rd(bgx),rd(bgy),rd(bgz)) wait(0.05) | |
4575 | end end end | |
4576 | wait(0.05) | |
4577 | end | |
4578 | end)) | |
4579 | function FireFinger(lasercol,ffingz,targ,typez,siz,dmg,rndmg,forc) coroutine.resume(coroutine.create(function() | |
4580 | local laser = pa(m,"Block",fingwide*1.3,fingwide*1.3,fingwide*2.5,true,false,0,0,lasercol) spm("Sphere",laser,1+(siz/5.5)) laser.Name = "Projectile" | |
4581 | local lw = weld(laser,ffingz,laser,0,ffingz.Size.y/0.8 +(siz/2.5),0,rd(90),0,0) | |
4582 | for i=1,0.4,-0.05 do laser.Transparency = i wait() end | |
4583 | BlastWave(ffingz.CFrame*cf(0,ffingz.Size.y*1.3,0)*ca(0,0,0),ffingz.Size.x*1.6,1.8,LaserCol2) | |
4584 | lw:Remove() laser.CFrame = cf(laser.Position,targ) | |
4585 | Fire(laser,typez,siz,dmg,rndmg,forc) | |
4586 | end)) | |
4587 | end | |
4588 | GrabWeld = it("Weld",m) | |
4589 | Palm.Touched:connect(function(touch) | |
4590 | if Anim.a == "Ride" and GrabWeld.Part1 == nil and touch.Parent:findFirstChild("Torso") and touch.Parent:findFirstChild("Humanoid") then | |
4591 | local tor = touch.Parent.Torso touch.Parent.Humanoid.PlatformStand = true | |
4592 | GrabWeld.Part0 = Palm GrabWeld.Part1 = tor GrabWeld.C0 = cf(-3*s,4.5*s,-Palm.Size.x/2) GrabWeld.C1 = ca(0,rd(90),rd(-90)) *ca(0,rd(0),0) | |
4593 | end | |
4594 | end) | |
4595 | re(bp,"Hand") | |
4596 | hb = it("HopperBin",bp) hb.Name = "Hand" | |
4597 | hb.Selected:connect(function(mouse) mou = mouse Equip = true | |
4598 | mouse.KeyDown:connect(function(k) k = k:lower() | |
4599 | if Anim.a == "Ride" and k == "f" then FireFinger(LaserCol,pPinkie3,mouse.Hit.p,1,2.25,1,18,30) end | |
4600 | if Anim.b ~= "None" or Anim.Welding ~= 0 then return end | |
4601 | if Anim.a == "None" then | |
4602 | if k == "f" then -- on anim on | |
4603 | Anim.a = "Gun" HandSign("Gun",0.7) | |
4604 | elseif k == "p" then | |
4605 | Anim.a = "Fu" HandSign("f",1) | |
4606 | elseif k == "g" then | |
4607 | Anim.a = "Fist" HandSign("fist",1) | |
4608 | elseif k == "c" then | |
4609 | Anim.a = "Splat" HandSign("wide",1) | |
4610 | elseif k == "r" then | |
4611 | Anim.a = "Ride" HandSign("ride",1) Posing = "None" | |
4612 | elseif k == "v" then | |
4613 | Anim.a = "Shower" HandSign("grab2",1) PalmFace.cframe = cf(0,0,0) *ca(0,0,0) | |
4614 | elseif k == "b" then | |
4615 | Anim.a = "Pound" HandSign("fist",1) | |
4616 | elseif k == "x" then | |
4617 | Anim.a = "GroundGrip" HandSign("grab2",1) | |
4618 | elseif k == "z" then | |
4619 | Anim.a = "Beam" HandSign("wide2",1) | |
4620 | end | |
4621 | else | |
4622 | if k == "f" and Anim.a == "Gun" then -- on anim off | |
4623 | Anim.a = "None" HandSign("five",0.8) | |
4624 | elseif k == "p" and Anim.a == "Fu" then | |
4625 | Anim.a = "None" HandSign("five",0.8) | |
4626 | elseif k == "g" and Anim.a == "Fist" then | |
4627 | Anim.a = "None" HandSign("five",0.8) | |
4628 | elseif k == "c" and Anim.a == "Splat" then | |
4629 | Anim.a = "None" HandSign("five",0.8) | |
4630 | elseif k == "r" and Anim.a == "Ride" then | |
4631 | Anim.a = "None" HandSign("five",0.8) GrabWeld.Part0 = nil Anim.b = "None" Posing = "Follow" Facing = "Owner" | |
4632 | if GrabWeld.Part1 ~= nil and GrabWeld.Part1.Parent:findFirstChild("Humanoid") ~= nil then GrabWeld.Part1.Parent.Humanoid.PlatformStand = false end GrabWeld.Part1 = nil | |
4633 | elseif k == "v" and Anim.a == "Shower" then | |
4634 | Anim.a = "None" HandSign("five",0.8) Posing = "Follow" Facing = "Owner" | |
4635 | elseif k == "b" and Anim.a == "Pound" then | |
4636 | Anim.a = "None" HandSign("five",0.8) | |
4637 | elseif k == "x" and Anim.a == "GroundGrip" then | |
4638 | Anim.a = "None" HandSign("five",0.8) | |
4639 | elseif k == "z" and Anim.a == "Beam" then | |
4640 | Anim.a = "None" HandSign("five",0.8) | |
4641 | end | |
4642 | end | |
4643 | end) | |
4644 | mouse.Button1Down:connect(function() | |
4645 | if Anim.a == "None" or Anim.b ~= "None" then return end | |
4646 | if Anim.a == "Gun" then | |
4647 | Anim.b = "Gun" FireFinger(LaserCol,pPoint3,mouse.Hit.p,1,2.25,1,10,60) FireFinger(LaserCol,pMid3,mouse.Hit.p,1,2.25) wait(1) Anim.b = "None" | |
4648 | elseif Anim.a == "Fu" then | |
4649 | Anim.b = "Fu" FireFinger(LaserCol,pMid3,mouse.Hit.p,1,3.65,2,14,95) wait(0.25) Anim.b = "None" | |
4650 | elseif Anim.a == "Fist" then | |
4651 | local bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p) | |
4652 | if bhit == nil or (Palm.Position - bpos).magnitude > 500 then return end | |
4653 | Anim.b = "Fist" Posing = "None" PalmFace.cframe = cf(Palm.Position,bpos) *ca(rd(-90),0,0) | |
4654 | PalmLev.position = (Palm.CFrame *cf(0,-15*s,0)).p | |
4655 | wait(0.45) | |
4656 | PalmLev.position = bpos + ((Palm.CFrame *cf(0,1*s,0)).p - Palm.Position) | |
4657 | local tz = 0 repeat wait() BlastWave(Palm.CFrame*ca(rd(180),0,0),8*s,3.5,HCol) tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 8*s or tz > 1 | |
4658 | Explode(Palm.CFrame *cf(0,6*s,0) *ca(rd(180),0,0),15*s,ts(bhit.BrickColor)) | |
4659 | DmgHumanoidsNear((Palm.CFrame *cf(0,8,0)).p,3,10,(12*s)+2,105) | |
4660 | if not bhit.Anchored then PalmLev.position = (Palm.CFrame *cf(0,12*s,0)).p wait(0.5) end | |
4661 | wait(1) Posing = "Follow" Anim.b = "None" | |
4662 | elseif Anim.a == "Splat" then | |
4663 | if mouse.Target == nil and (Palm.Position - mouse.Hit.p).magnitude > 500 then return end local bpos = mouse.Hit.p | |
4664 | Anim.b = "Splat" Posing = "None" | |
4665 | local ya,yb,yc = PalmFace.cframe:toEulerAnglesXYZ() PalmFace.cframe = cf(0,0,0) *ca(0,yb,0) *ca(rd(-90),0,0) PalmLev.position = bpos + v3(0,10*s,0) | |
4666 | local tz = 0 repeat wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 5*s or tz > 1.3 | |
4667 | for i=-90,0,5 do | |
4668 | PalmLev.position = PalmLev.position + v3(0,2*s,0) PalmFace.cframe = cf(0,0,0) *ca(0,yb,0) *ca(rd(i),0,0) | |
4669 | wait() | |
4670 | end wait(0.2) | |
4671 | for i=0,-100,-10 do | |
4672 | local lewd = i | |
4673 | if lewd < -50 then lewd = -95 end | |
4674 | PalmLev.position = PalmLev.position - v3(0,4.7*s,0) PalmFace.cframe = cf(0,0,0) *ca(0,yb,0) *ca(rd(lewd),0,0) | |
4675 | wait() | |
4676 | end wait(0.2) | |
4677 | local cr = pa(m,"Block",16*s,0,16*s,false,false,1,0,"") cr.Anchored = true cr.CFrame = cf(bpos) *ca(0,rd(ra(-360,360)),0) | |
4678 | local de = it("Decal",cr) de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,16) | |
4679 | DmgHumanoidsNear((Palm.CFrame *cf(0,0,-1)).p,3,20,(15*s)+2,110) | |
4680 | ShockWave(Palm.CFrame *ca(rd(90),0,0),25*s,LaserCol) | |
4681 | wait(1) Posing = "Follow" Anim.b = "None" | |
4682 | elseif Anim.a == "Ride" and Button == false then | |
4683 | Posing = "None" Anim.b = "Ride" | |
4684 | Button = true | |
4685 | repeat PalmLev.position = (Palm.CFrame *cf(0,10,0)).p wait() until Button == false | |
4686 | Anim.b = "None" | |
4687 | elseif Anim.a == "Shower" and Button == false then | |
4688 | Anim.b = "Shower" Button = true | |
4689 | repeat | |
4690 | local targz = Palm.Position + v3(0,20*s,0) | |
4691 | if ra(1,12) == 1 then FireFinger(LaserCol,pPinkie3,targz,2,4,1,18,55) end | |
4692 | if ra(1,13) == 1 then FireFinger(LaserCol,pRing3,targz,2,4,1,18,60) end | |
4693 | if ra(1,12) == 1 then FireFinger(LaserCol,pMid3,targz,2,4,1,18,65) end | |
4694 | if ra(1,13) == 1 then FireFinger(LaserCol,pPoint3,targz,2,4,1,18,70) end | |
4695 | if ra(1,12) == 1 then FireFinger(LaserCol,pThumb3,targz,2,4,1,18,80) end | |
4696 | PalmFace.cframe = PalmFace.cframe *ca(0,rd(10),0) | |
4697 | wait() | |
4698 | until Button == false | |
4699 | Anim.b = "None" | |
4700 | elseif Anim.a == "Pound" and Anim.b == "None" then Posing = "None" Anim.b = "Pound" | |
4701 | local bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p) | |
4702 | if bhit == nil or (Palm.Position - bpos).magnitude > 500 then return end | |
4703 | PalmLev.position = bpos + v3(0,15*s,0) | |
4704 | local ya,yb,yc = PalmFace.cframe:toEulerAnglesXYZ() PalmFace.cframe = ca(ya,yb,yc) | |
4705 | local tz = 0 repeat wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 5*s or tz > 1.3 wait(0.1) | |
4706 | for i=-90,-10,10 do | |
4707 | PalmFace.cframe = ca(ya,yb,yc) *ca(0,0,rd(i+90)) PalmLev.position = PalmLev.position + v3(0,2.5*s,0) | |
4708 | wait() end wait(0.25) local realcf = cf(v3(he.Position.x,0,he.Position.z),v3(Palm.Position.x,0,Palm.Position.z)) | |
4709 | for i=-10,-90,-10 do | |
4710 | PalmFace.cframe = ca(ya,yb,yc) *ca(0,0,rd(i+90)) PalmLev.position = PalmLev.position - v3(0,4*s,0) | |
4711 | wait() end PalmFace.cframe = realcf *ca(rd(-90),rd(90),0) wait(0.25) | |
4712 | local cr = pa(m,"Block",22*s,0,22*s,false,false,1,0,"") cr.Anchored = true cr.CFrame = cf(bpos) *ca(0,rd(ra(-360,360)),0) | |
4713 | local de = it("Decal",cr) de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,16) | |
4714 | Dustplosion(Palm.CFrame *cf(2*s,0,0) *ca(rd(90),0,rd(90)),30*s,{"Really red","Really black","Really red"},3) | |
4715 | ShockWave(Palm.CFrame *cf(2*s,0,0) *ca(rd(90),0,rd(90)),20*s,ts(bhit.BrickColor)) | |
4716 | DmgHumanoidsNear((Palm.CFrame *cf(0,1,0)).p,1,20,(15*s)+2,90) wait(0.2) | |
4717 | local palmcf = cf(bpos) local earthsplos = ra(5,8) palmcf = Palm.CFrame *ca(0,rd(90),0) *ca(rd(-90),0,rd(0)) | |
4718 | for i=1,earthsplos do Earthsplosion(palmcf *cf(0,-2*s,((i*7)+7)*s),10,1,20,75) wait(0.1) end | |
4719 | Earthsplosion(palmcf *cf(0,-2*s,(((earthsplos+1)*7)+7)*s),16,2,25,75) | |
4720 | wait(1) Posing = "Follow" wait(0.25) Anim.b = "None" | |
4721 | elseif Anim.a == "GroundGrip" then Posing = "None" Anim.b = "GroundGrip" | |
4722 | local bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p) | |
4723 | if bhit == nil or (Palm.Position - bpos).magnitude > 500 then return end | |
4724 | PalmLev.position = bpos + v3(0,27*s,0) ColFings(false) | |
4725 | local tz = 0 repeat wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 8*s or tz > 1.3 wait(0.1) | |
4726 | local thepos = (Palm.CFrame *cf(0,-0.1*s,0)).p - Palm.Position | |
4727 | PalmFace.cframe = cf(Palm.Position,bpos + thepos) *ca(rd(-90),0,0) | |
4728 | for i=27,1,-3 do PalmLev.position = bpos + v3(0,i*s,0) wait(0.07) end HandSign("grab3",0.4) wait(0.55) | |
4729 | local ro = pa(m,"Ball",0,0,0,false,false,0,0,"Earth green") ro.Name = "Rock" local row = it("SpecialMesh",ro) row.MeshType = "FileMesh" row.MeshId = asset .. Decs.Rock | |
4730 | local rowe = weld(ro,Palm,ro,0,Palm.Size.y,-Palm.Size.z*1.2,0,0,0) row.Scale = v3(9*s,10*s,9*s) | |
4731 | coroutine.resume(coroutine.create(function() for xz=1,70,7 do PalmLev.position = bpos + v3(0,xz*s,0) wait(0.06) end end)) | |
4732 | wait(0.25) Dustplosion(cf(bpos),30*s,{"Really red","Really black","Really red"},3) local lolra = ra(-360,360) | |
4733 | Earthsplosion(cf(bpos),25,1,20,125,"sand") for yyy=0,360,60 do coroutine.resume(coroutine.create(function() | |
4734 | for zzz=1,4 do | |
4735 | Earthsplosion(cf(bpos) *ca(0,rd(yyy+lolra),0) *cf(0,0,zzz*15*s),10,1,20,75) wait(0.14) | |
4736 | end wait(0.25) Earthsplosion(cf(bpos) *ca(0,rd(yyy+lolra),0) *cf(0,0,5*18*s),25,1,20,120) end)) end | |
4737 | wait(0.3) HandSign("grab2",0.5) wait(0.75) Serv.d:AddItem(ro,20) rowe:Remove() ro.CanCollide = true local rocf = ro.CFrame ro.Size=v3(14*s,14*s,14*s) ro.CFrame = rocf wait(0.75) ColFings(true) Posing = "Follow" Anim.b = "None" | |
4738 | elseif Anim.a == "Beam" and not Button and Anim.b == "None" then Anim.b = "Beam" | |
4739 | ShortifiedAnim("Beam") wait(0.5) Anim.b = "None" | |
4740 | end | |
4741 | end) | |
4742 | mouse.Button1Up:connect(function() | |
4743 | Button = false | |
4744 | end) | |
4745 | mouse.Move:connect(function() | |
4746 | end) | |
4747 | ||
4748 | end) | |
4749 | hb.Deselected:connect(function(mouse) | |
4750 | Equip = false | |
4751 | end) |