SHOW:
|
|
- or go back to the newest paste.
1 | - | local p = game.Players.LocalPlayer |
1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | local RealPlayer = Player | |
4 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end | |
5 | local p = owner | |
6 | local char = p.Character | |
7 | local mouse = p:GetMouse() | |
8 | local larm = char["Left Arm"] | |
9 | local rarm = char["Right Arm"] | |
10 | local lleg = char["Left Leg"] | |
11 | local rleg = char["Right Leg"] | |
12 | local hed = char.Head | |
13 | local torso = char.Torso | |
14 | local hum = char.Humanoid | |
15 | local cam = game.Workspace.CurrentCamera | |
16 | local root = char.HumanoidRootPart | |
17 | local deb = false | |
18 | local CanAttack = true | |
19 | local shot = 0 | |
20 | local animpose = "Idle" | |
21 | local lastanimpose = "Idle" | |
22 | local stanceToggle = "Normal" | |
23 | local l = game:GetService("Lighting") | |
24 | local rs = game:GetService("RunService").RenderStepped | |
25 | math.randomseed(os.time()) | |
26 | hum.MaxHealth = 9001 | |
27 | wait(1) | |
28 | hum.Health = 9001 | |
29 | ||
30 | for i,v in pairs (hed:GetChildren()) do | |
31 | if v:IsA("Sound") then | |
32 | v:Destroy() | |
33 | end | |
34 | end | |
35 | --game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char | |
36 | --char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813" | |
37 | ||
38 | ---------------------------------------------------- | |
39 | --[[Additional Variables]] | |
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | local lightspeed = math.random(0.1,0.2) | |
46 | local holy = false -- Is in holy/angel of death form? | |
47 | local eColors = {"Lime green", "Really black"} | |
48 | local idz = {"161006212", "161006195"} | |
49 | local Effects={} | |
50 | ||
51 | ||
52 | hs = Instance.new("Sound",torso) | |
53 | hs.SoundId = "http://www.roblox.com/asset/?id=149560784" | |
54 | hs.Pitch = 1.2 | |
55 | hs.Volume = 0.6 | |
56 | hs.Looped = true | |
57 | ||
58 | ds = Instance.new("Sound",torso) | |
59 | ds.SoundId = "http://roblox.com/asset/?id=149560784" | |
60 | ds.Pitch = 0.3 | |
61 | ds.Volume = 0.4 | |
62 | ds.Looped = true | |
63 | ||
64 | ||
65 | ds:play() | |
66 | ||
67 | ||
68 | if holy == false then | |
69 | eColors = {"Lime green", "Really black"} | |
70 | else if holy == true then | |
71 | eColors = {"Lime green"} | |
72 | end | |
73 | end | |
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ---------------------------------------------------- | |
80 | --[[Additional Functions]] | |
81 | ||
82 | cf=CFrame.new | |
83 | vt=Vector3.new | |
84 | ||
85 | function swait(num) | |
86 | if num==0 or num==nil then | |
87 | game:service'RunService'.Stepped:wait(0) | |
88 | else | |
89 | for i=0,num do | |
90 | game:service'RunService'.Stepped:wait(0) | |
91 | end | |
92 | end | |
93 | end | |
94 | ||
95 | so = function(id,par,vol,pit) | |
96 | coroutine.resume(coroutine.create(function() | |
97 | local sou = Instance.new("Sound",par or workspace) | |
98 | sou.Volume=vol | |
99 | sou.Pitch=pit or 1 | |
100 | sou.SoundId=id | |
101 | swait() | |
102 | sou:play() | |
103 | game:GetService("Debris"):AddItem(sou,6) | |
104 | end)) | |
105 | end | |
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ---------------------------------------------------- | |
112 | Debounces = { | |
113 | CanAttack = true; | |
114 | CanJoke = true; | |
115 | NoIdl = false; | |
116 | Slashing = false; | |
117 | Slashed = false; | |
118 | Slapping = false; | |
119 | Slapped = false; | |
120 | ks = false; | |
121 | } | |
122 | ||
123 | local Touche = {char.Name, } | |
124 | ---------------------------------------------------- | |
125 | function HasntTouched(plrname) | |
126 | local ret = true | |
127 | for _, v in pairs(Touche) do | |
128 | if v == plrname then | |
129 | ret = false | |
130 | end | |
131 | end | |
132 | return ret | |
133 | end | |
134 | ---------------------------------------------------- | |
135 | function weld5(part0, part1, c0, c1) | |
136 | weeld=Instance.new("Weld", part0) | |
137 | weeld.Part0=part0 | |
138 | weeld.Part1=part1 | |
139 | weeld.C0=c0 | |
140 | weeld.C1=c1 | |
141 | return weeld | |
142 | end | |
143 | ---------------------------------------------------- | |
144 | mod=Instance.new('Model',char) | |
145 | ||
146 | function Burst() | |
147 | part=Instance.new('Part',mod) | |
148 | part.Anchored=true | |
149 | part.CanCollide=false | |
150 | part.FormFactor='Custom' | |
151 | part.Size=Vector3.new(.2,.2,.2) | |
152 | part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0) | |
153 | part.Transparency=.7 | |
154 | ||
155 | if holy ~= true then | |
156 | part.BrickColor=BrickColor.new('Really black') | |
157 | else | |
158 | part.BrickColor=BrickColor.new('Lime green') | |
159 | end | |
160 | ||
161 | mesh=Instance.new('SpecialMesh',part) | |
162 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
163 | mesh.Scale=Vector3.new(10,5,10) | |
164 | part2=part:clone() | |
165 | part2.Parent=mod | |
166 | ||
167 | if holy ~= true then | |
168 | part2.BrickColor=BrickColor.new('Lime green') | |
169 | else | |
170 | part2.BrickColor=BrickColor.new('Lime green') | |
171 | end | |
172 | ||
173 | mesh2=mesh:clone() | |
174 | mesh2.Parent=part2 | |
175 | mesh2.Scale=Vector3.new(5,2.5,5) | |
176 | coroutine.resume(coroutine.create(function() | |
177 | for i=0,1,0.1 do | |
178 | wait() | |
179 | part.CFrame=part.CFrame | |
180 | part.Transparency=i | |
181 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
182 | part2.CFrame=part2.CFrame | |
183 | part2.Transparency=i | |
184 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
185 | end | |
186 | part.Parent=nil | |
187 | part2.Parent=nil | |
188 | end)) | |
189 | end | |
190 | ---------------------------------------------------- | |
191 | mod4 = Instance.new("Model",char) | |
192 | ||
193 | ptez = {0.7, 0.8, 0.9, 1} | |
194 | ||
195 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
196 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
197 | local List = {} | |
198 | for i,v in pairs(workspace:GetChildren())do | |
199 | if v:IsA("Model")then | |
200 | if v:findFirstChild("Torso")then | |
201 | if v ~= char then | |
202 | if(v.Torso.Position -Position).magnitude <= Distance then | |
203 | table.insert(List,v) | |
204 | end | |
205 | end | |
206 | end | |
207 | end | |
208 | end | |
209 | return List | |
210 | end | |
211 | ||
212 | function Slam() | |
213 | part=Instance.new('Part',mod4) | |
214 | part.Anchored=true | |
215 | part.CanCollide=false | |
216 | part.FormFactor='Custom' | |
217 | part.Size=Vector3.new(.2,.2,.2) | |
218 | part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0) | |
219 | part.Transparency=.7 | |
220 | ||
221 | if holy ~= true then | |
222 | part.BrickColor=BrickColor.new('Really black') | |
223 | else | |
224 | part.BrickColor=BrickColor.new('Lime green') | |
225 | end | |
226 | ||
227 | mesh=Instance.new('SpecialMesh',part) | |
228 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
229 | mesh.Scale=Vector3.new(3,3,3) | |
230 | part2=Instance.new('Part',mod4) | |
231 | part2.Anchored=true | |
232 | part2.CanCollide=false | |
233 | part2.FormFactor='Custom' | |
234 | part2.Size=Vector3.new(.2,.2,.2) | |
235 | part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6) | |
236 | part2.Transparency=.7 | |
237 | ||
238 | if holy ~= true then | |
239 | part2.BrickColor=BrickColor.new('Lime green') | |
240 | else | |
241 | part2.BrickColor=BrickColor.new('Lime green') | |
242 | end | |
243 | ||
244 | mesh2=Instance.new('SpecialMesh',part2) | |
245 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
246 | mesh2.Scale=Vector3.new(3,1.5,3) | |
247 | x = Instance.new("Sound",char) | |
248 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
249 | x.Pitch = ptez[math.random(1,#ptez)] | |
250 | x.Volume = 1 | |
251 | wait(.1) | |
252 | x1 = Instance.new("Sound",char) | |
253 | x1.SoundId = "http://www.roblox.com/asset/?id=206082327" | |
254 | x1.Pitch = ptez[math.random(1,#ptez)] | |
255 | x1.Volume = 1 | |
256 | wait(.1) | |
257 | x:Play() | |
258 | x1:Play() | |
259 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
260 | if v:FindFirstChild('Humanoid') then | |
261 | v.Humanoid:TakeDamage(math.random(99999999,99999999)) | |
262 | end | |
263 | end | |
264 | coroutine.resume(coroutine.create(function() | |
265 | for i=0,0.62,0.13 do | |
266 | wait() | |
267 | part.CFrame=part.CFrame | |
268 | part.Transparency=i | |
269 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
270 | part2.CFrame=part2.CFrame | |
271 | part2.Transparency=i | |
272 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
273 | end | |
274 | part.Parent=nil | |
275 | part2.Parent=nil | |
276 | x:Destroy() | |
277 | end)) | |
278 | end | |
279 | ----------------------------------------------------PUNCH FUNC | |
280 | function Punch() | |
281 | part=Instance.new('Part',mod4) | |
282 | part.Anchored=true | |
283 | part.CanCollide=false | |
284 | part.FormFactor='Custom' | |
285 | part.Size=Vector3.new(.2,.2,.2) | |
286 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
287 | part.Transparency=.7 | |
288 | ||
289 | part.BrickColor=BrickColor.new('Really black') | |
290 | mesh=Instance.new('SpecialMesh',part) | |
291 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
292 | mesh.Scale=Vector3.new(3,3,3) | |
293 | part2=Instance.new('Part',mod4) | |
294 | part2.Anchored=true | |
295 | part2.CanCollide=false | |
296 | ||
297 | part2.FormFactor='Custom' | |
298 | part2.Size=Vector3.new(.2,.2,.2) | |
299 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
300 | part2.Transparency=.7 | |
301 | part2.BrickColor=BrickColor.new('Lime green') | |
302 | mesh2=Instance.new('SpecialMesh',part2) | |
303 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
304 | mesh2.Scale=Vector3.new(3,1.5,3) | |
305 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
306 | if v:FindFirstChild('Humanoid') then | |
307 | v.Humanoid:TakeDamage(math.random(2,6)) | |
308 | end | |
309 | end | |
310 | coroutine.resume(coroutine.create(function() | |
311 | for i=0,0.62,0.4 do | |
312 | wait() | |
313 | part.CFrame=part.CFrame | |
314 | part.Transparency=i | |
315 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
316 | part2.CFrame=part2.CFrame | |
317 | part2.Transparency=i | |
318 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
319 | end | |
320 | part.Parent=nil | |
321 | part2.Parent=nil | |
322 | end)) | |
323 | end | |
324 | ---------------------------------------------------- | |
325 | GroundWave = function() | |
326 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
327 | local Colors = {"Lime green", "Really black"} | |
328 | local wave = Instance.new("Part", torso) | |
329 | ||
330 | if holy == false then | |
331 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
332 | else | |
333 | wave.BrickColor = BrickColor.new("Lime green") | |
334 | end | |
335 | ||
336 | wave.Anchored = true | |
337 | wave.CanCollide = false | |
338 | wave.Material = "Neon" | |
339 | wave.Locked = true | |
340 | wave.Size = Vector3.new(1, 1, 1) | |
341 | wave.TopSurface = "Smooth" | |
342 | wave.BottomSurface = "Smooth" | |
343 | wave.Transparency = 0.35 | |
344 | wave.CFrame = HandCF | |
345 | wm = Instance.new("SpecialMesh", wave) | |
346 | wm.MeshId = "rbxassetid://3270017" | |
347 | coroutine.wrap(function() | |
348 | for i = 1, 14, 1 do | |
349 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
350 | wave.Size = wm.Scale | |
351 | wave.CFrame = HandCF | |
352 | wave.Transparency = i/14 | |
353 | wait() | |
354 | end | |
355 | wait() | |
356 | wave:Destroy() | |
357 | end)() | |
358 | end | |
359 | ---------------------------------------------------- | |
360 | Magik = function() | |
361 | Spawn(function() | |
362 | local function lerp(a,b,c) | |
363 | return a+(b-a)*c | |
364 | end | |
365 | local function rndRange(rng) | |
366 | return math.random(-rng*1000,rng*1000)/1000 | |
367 | end | |
368 | local magik = Instance.new("Part", larm) | |
369 | local Colors = {"Lime green", "Really black"} | |
370 | magik.Anchored = true | |
371 | magik.Locked = true | |
372 | magik.Material = "Neon" | |
373 | magik.FormFactor = "Custom" | |
374 | magik.Size = Vector3.new(1.2, 1.2, 1.2) | |
375 | magik.TopSurface = "Smooth" | |
376 | magik.BottomSurface = "Smooth" | |
377 | magik.Transparency = 0 | |
378 | magik.CanCollide = false | |
379 | ||
380 | if holy == false then | |
381 | magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
382 | else | |
383 | magik.BrickColor = BrickColor.new("Lime green") | |
384 | end | |
385 | ||
386 | local mr = math.rad | |
387 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
388 | local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz) | |
389 | magik.CFrame = cf | |
390 | for i = 0, 1, .05 do | |
391 | local newTrans = lerp(0.5, 1, i) | |
392 | local ns = lerp(1,1.2,i) | |
393 | magik.Transparency = newTrans | |
394 | magik.Size = Vector3.new(ns,ns,ns) | |
395 | magik.CFrame = cf | |
396 | rs:wait() | |
397 | end | |
398 | magik:Destroy() | |
399 | wait() | |
400 | end) | |
401 | end | |
402 | ---------------------------------------------------- | |
403 | Magik2 = function() | |
404 | Spawn(function() | |
405 | if stanceToggle == "Melee" then | |
406 | local function lerp(a,b,c) | |
407 | return a+(b-a)*c | |
408 | end | |
409 | local function rndRange(rng) | |
410 | return math.random(-rng*1000,rng*1000)/1000 | |
411 | end | |
412 | local magik2 = Instance.new("Part", rarm) | |
413 | local Colors = {"Lime green", "Really black"} | |
414 | magik2.Anchored = true | |
415 | magik2.Locked = true | |
416 | magik2.FormFactor = "Custom" | |
417 | magik2.Size = Vector3.new(1.2, 1.2, 1.2) | |
418 | magik2.TopSurface = "Smooth" | |
419 | magik2.BottomSurface = "Smooth" | |
420 | magik2.Transparency = 0 | |
421 | magik2.Material = "Neon" | |
422 | magik2.CanCollide = false | |
423 | ||
424 | if holy == false then | |
425 | magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
426 | else | |
427 | magik2.BrickColor = BrickColor.new("Lime green") | |
428 | end | |
429 | ||
430 | local mr = math.rad | |
431 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
432 | local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz) | |
433 | magik2.CFrame = cf | |
434 | for i = 0, 1, .05 do | |
435 | local newTrans = lerp(0.5, 1, i) | |
436 | local ns = lerp(1,1.2,i) | |
437 | magik2.Transparency = newTrans | |
438 | magik2.Size = Vector3.new(ns,ns,ns) | |
439 | magik2.CFrame = cf | |
440 | rs:wait() | |
441 | end | |
442 | magik2:Destroy() | |
443 | elseif stanceToggle ~= "Melee" then | |
444 | wait() | |
445 | end | |
446 | end) | |
447 | end | |
448 | ---------------------------------------------------- | |
449 | function lerp(a, b, t) -- Linear interpolation | |
450 | return a + (b - a)*t | |
451 | end | |
452 | ||
453 | function slerp(a, b, t) --Spherical interpolation | |
454 | dot = a:Dot(b) | |
455 | if dot > 0.99999 or dot < -0.99999 then | |
456 | return t <= 0.5 and a or b | |
457 | else | |
458 | r = math.acos(dot) | |
459 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
460 | end | |
461 | end | |
462 | ||
463 | function matrixInterpolate(a, b, t) | |
464 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
465 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
466 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
467 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
468 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
469 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
470 | local t = v1:Dot(v2) | |
471 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
472 | return CFrame.new() | |
473 | end | |
474 | return CFrame.new( | |
475 | v0.x, v0.y, v0.z, | |
476 | v1.x, v1.y, v1.z, | |
477 | v2.x, v2.y, v2.z, | |
478 | v3.x, v3.y, v3.z) | |
479 | end | |
480 | ---------------------------------------------------- | |
481 | function genWeld(a,b) | |
482 | local w = Instance.new("Weld",a) | |
483 | w.Part0 = a | |
484 | w.Part1 = b | |
485 | return w | |
486 | end | |
487 | function weld(a, b) | |
488 | local weld = Instance.new("Weld") | |
489 | weld.Name = "W" | |
490 | weld.Part0 = a | |
491 | weld.Part1 = b | |
492 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
493 | weld.Parent = a | |
494 | return weld; | |
495 | end | |
496 | ---------------------------------------------------- | |
497 | function Lerp(c1,c2,al) | |
498 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
499 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
500 | for i,v in pairs(com1) do | |
501 | com1[i] = v+(com2[i]-v)*al | |
502 | end | |
503 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
504 | end | |
505 | ----------------------------------------------------[[Dissolve function]] | |
506 | function Dissolve(ret) | |
507 | ||
508 | ret.BrickColor = BrickColor.new("Really black") | |
509 | for i = 1, 10 do wait() | |
510 | for i,v in pairs(ret:GetChildren()) do | |
511 | if v:IsA("Part") or v:IsA("WedgePart") then | |
512 | v.Transparency = v.Transparency + 0.1 | |
513 | ||
514 | end | |
515 | end | |
516 | end | |
517 | ret:Destroy() | |
518 | end | |
519 | ||
520 | ---------------------------------------------------- | |
521 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
522 | local wld = Instance.new("Weld", wp1) | |
523 | wld.Part0 = wp0 | |
524 | wld.Part1 = wp1 | |
525 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
526 | end | |
527 | ---------------------------------------------------- | |
528 | newWeld(torso, larm, -1.5, 0.5, 0) | |
529 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
530 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
531 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
532 | newWeld(torso, hed, 0, 1.5, 0) | |
533 | newWeld(torso, lleg, -0.5, -1, 0) | |
534 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
535 | newWeld(torso, rleg, 0.5, -1, 0) | |
536 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
537 | newWeld(root, torso, 0, -1, 0) | |
538 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
539 | ---------------------------------------------------- | |
540 | --local SIDz = {"167985102, 163752916"}--181449739, 167161785, 148274436, 167985102, 163752916 | |
541 | z = Instance.new("Sound",char) --music | |
542 | z.SoundId = "rbxassetid://0"--..SIDz[math.random(1,#SIDz)] | |
543 | z.Looped = true | |
544 | z.Volume = 1 | |
545 | z.Pitch = .72 | |
546 | wait(1) | |
547 | z:Play() | |
548 | hum.WalkSpeed = 10 | |
549 | ||
550 | ||
551 | ||
552 | ||
553 | ||
554 | --[[partic = Instance.new("ParticleEmitter",hed) | |
555 | partic.Color = ColorSequence.new(Color3.new(15/225,0,225/45),Color3.new(20/255,0,205/255)) | |
556 | partic.LightEmission = .95 | |
557 | partic.VelocityInheritance = 0 | |
558 | partic.Rate = 300 | |
559 | partic.Texture = "rbxassetid:// 241650934" --56561915392079955 | |
560 | partic.Lifetime = NumberRange.new(0.1,0.2) | |
561 | partic.RotSpeed = NumberRange.new(100,100) | |
562 | partic.Speed = NumberRange.new(2,6) | |
563 | partic.Enabled = true | |
564 | partic.LockedToPart = true]] | |
565 | ||
566 | --Nah | |
567 | ||
568 | ---------------------------------------------------- | |
569 | ||
570 | ---------------------------------------------------- | |
571 | local m = Instance.new("Model") | |
572 | m.Name = "Genkadda" | |
573 | p1 = Instance.new("Part", m) | |
574 | p1.Material = "Metal" | |
575 | p1.BrickColor = BrickColor.new("Really black") | |
576 | p1.Name = "BladePart" | |
577 | p1.FormFactor = Enum.FormFactor.Symmetric | |
578 | p1.Size = Vector3.new(1, 1, 1) | |
579 | 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) | |
580 | p1.CanCollide = false | |
581 | p1.Locked = true | |
582 | p1.Elasticity = 0 | |
583 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
584 | p1.TopSurface = Enum.SurfaceType.Smooth | |
585 | b1 = Instance.new("BlockMesh", p1) | |
586 | b1.Name = "Mesh" | |
587 | b1.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
588 | p2 = Instance.new("Part", m) | |
589 | p2.Material = "Metal" | |
590 | p2.BrickColor = BrickColor.new("Really black") | |
591 | p2.FormFactor = Enum.FormFactor.Symmetric | |
592 | p2.Size = Vector3.new(1, 1, 1) | |
593 | 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) | |
594 | p2.CanCollide = false | |
595 | p2.Locked = true | |
596 | p2.Elasticity = 0 | |
597 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
598 | p2.TopSurface = Enum.SurfaceType.Smooth | |
599 | b2 = Instance.new("BlockMesh", p2) | |
600 | b2.Name = "Mesh" | |
601 | b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927) | |
602 | p3 = Instance.new("Part", m) | |
603 | p3.Material = "Metal" | |
604 | p3.BrickColor = BrickColor.new("Really black") | |
605 | p3.FormFactor = Enum.FormFactor.Symmetric | |
606 | p3.Size = Vector3.new(1, 2, 1) | |
607 | 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) | |
608 | p3.CanCollide = false | |
609 | p3.Locked = true | |
610 | p3.Elasticity = 0 | |
611 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
612 | p3.TopSurface = Enum.SurfaceType.Smooth | |
613 | b3 = Instance.new("BlockMesh", p3) | |
614 | b3.Name = "Mesh" | |
615 | b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927) | |
616 | p4 = Instance.new("Part", m) | |
617 | p4.Material = "Metal" | |
618 | p4.BrickColor = BrickColor.new("Really black") | |
619 | p4.Name = "BladePart" | |
620 | p4.FormFactor = Enum.FormFactor.Symmetric | |
621 | p4.Size = Vector3.new(1, 1, 1) | |
622 | 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) | |
623 | p4.CanCollide = false | |
624 | p4.Locked = true | |
625 | p4.Elasticity = 0 | |
626 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
627 | p4.TopSurface = Enum.SurfaceType.Smooth | |
628 | b4 = Instance.new("BlockMesh", p4) | |
629 | b4.Name = "Mesh" | |
630 | b4.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
631 | p5 = Instance.new("Part", m) | |
632 | p5.Material = "Metal" | |
633 | p5.BrickColor = BrickColor.new("Really black") | |
634 | p5.Name = "Hilt" | |
635 | p5.FormFactor = Enum.FormFactor.Custom | |
636 | p5.Size = Vector3.new(1, 0.400000006, 1.60000014) | |
637 | 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) | |
638 | p5.CanCollide = false | |
639 | p5.Locked = true | |
640 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
641 | p5.TopSurface = Enum.SurfaceType.Smooth | |
642 | b5 = Instance.new("BlockMesh", p5) | |
643 | b5.Name = "Mesh" | |
644 | b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952) | |
645 | p6 = Instance.new("Part", m) | |
646 | p6.Material = "Metal" | |
647 | p6.BrickColor = BrickColor.new("Really black") | |
648 | p6.Name = "Handle" | |
649 | p6.FormFactor = Enum.FormFactor.Custom | |
650 | p6.Size = Vector3.new(1.29999995, 1, 1) | |
651 | 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) | |
652 | p6.CanCollide = false | |
653 | p6.Locked = true | |
654 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
655 | p6.TopSurface = Enum.SurfaceType.Smooth | |
656 | b6 = Instance.new("SpecialMesh", p6) | |
657 | b6.MeshType = Enum.MeshType.Cylinder | |
658 | b6.Name = "Mesh" | |
659 | b6.Scale = Vector3.new(1, 0.200000003, 0.200000003) | |
660 | p7 = Instance.new("Part", m) | |
661 | p7.Material = "Metal" | |
662 | p7.BrickColor = BrickColor.new("Really black") | |
663 | p7.FormFactor = Enum.FormFactor.Symmetric | |
664 | p7.Size = Vector3.new(1, 1, 1) | |
665 | 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) | |
666 | p7.CanCollide = false | |
667 | p7.Locked = true | |
668 | b7 = Instance.new("SpecialMesh", p7) | |
669 | b7.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
670 | b7.TextureId = "" | |
671 | b7.MeshType = Enum.MeshType.FileMesh | |
672 | b7.Name = "Mesh" | |
673 | b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006) | |
674 | p8 = Instance.new("Part", m) | |
675 | p8.Material = "Metal" | |
676 | p8.BrickColor = BrickColor.new("Really black") | |
677 | p8.Name = "BladePart" | |
678 | p8.FormFactor = Enum.FormFactor.Symmetric | |
679 | p8.Size = Vector3.new(1, 1, 1) | |
680 | 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) | |
681 | p8.CanCollide = false | |
682 | p8.Locked = true | |
683 | p8.Elasticity = 0 | |
684 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
685 | p8.TopSurface = Enum.SurfaceType.Smooth | |
686 | b8 = Instance.new("BlockMesh", p8) | |
687 | b8.Name = "Mesh" | |
688 | b8.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
689 | p9 = Instance.new("Part", m) | |
690 | p9.Material = "Metal" | |
691 | p9.BrickColor = BrickColor.new("Really black") | |
692 | p9.Name = "BladePart" | |
693 | p9.FormFactor = Enum.FormFactor.Symmetric | |
694 | p9.Size = Vector3.new(1, 1, 1) | |
695 | 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) | |
696 | p9.CanCollide = false | |
697 | p9.Locked = true | |
698 | p9.Elasticity = 0 | |
699 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
700 | p9.TopSurface = Enum.SurfaceType.Smooth | |
701 | b9 = Instance.new("BlockMesh", p9) | |
702 | b9.Name = "Mesh" | |
703 | b9.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
704 | p10 = Instance.new("Part", m) | |
705 | p10.Material = "Metal" | |
706 | p10.BrickColor = BrickColor.new("Really black") | |
707 | p10.Name = "BladeTip" | |
708 | p10.FormFactor = Enum.FormFactor.Symmetric | |
709 | p10.Size = Vector3.new(1, 1, 2) | |
710 | 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) | |
711 | p10.CanCollide = false | |
712 | p10.Locked = true | |
713 | p10.Elasticity = 0 | |
714 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
715 | p10.TopSurface = Enum.SurfaceType.Smooth | |
716 | b10 = Instance.new("SpecialMesh", p10) | |
717 | b10.MeshType = Enum.MeshType.Wedge | |
718 | b10.Name = "Mesh" | |
719 | b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928) | |
720 | p11 = Instance.new("Part", m) | |
721 | p11.Material = "Metal" | |
722 | p11.BrickColor = BrickColor.new("Really black") | |
723 | p11.Name = "BladePart" | |
724 | p11.FormFactor = Enum.FormFactor.Symmetric | |
725 | p11.Size = Vector3.new(1, 1, 1) | |
726 | 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) | |
727 | p11.CanCollide = false | |
728 | p11.Locked = true | |
729 | p11.Elasticity = 0 | |
730 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
731 | p11.TopSurface = Enum.SurfaceType.Smooth | |
732 | b11 = Instance.new("BlockMesh", p11) | |
733 | b11.Name = "Mesh" | |
734 | b11.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
735 | p12 = Instance.new("Part", m) | |
736 | p12.Material = "Metal" | |
737 | p12.BrickColor = BrickColor.new("Really black") | |
738 | p12.Name = "BladeTip2" | |
739 | p12.FormFactor = Enum.FormFactor.Custom | |
740 | p12.Size = Vector3.new(1, 1, 2.4000001) | |
741 | 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) | |
742 | p12.CanCollide = false | |
743 | p12.Locked = true | |
744 | p12.Elasticity = 0 | |
745 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
746 | p12.TopSurface = Enum.SurfaceType.Smooth | |
747 | b12 = Instance.new("SpecialMesh", p12) | |
748 | b12.MeshType = Enum.MeshType.Wedge | |
749 | b12.Name = "Mesh" | |
750 | b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928) | |
751 | p13 = Instance.new("Part", m) | |
752 | p13.Material = "Metal" | |
753 | p13.BrickColor = BrickColor.new("Medium stone grey") | |
754 | p13.Transparency = 1 | |
755 | p13.Name = "HitBox" | |
756 | p13.FormFactor = Enum.FormFactor.Custom | |
757 | p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999) | |
758 | 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) | |
759 | p13.CanCollide = false | |
760 | p13.Locked = true | |
761 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
762 | p13.TopSurface = Enum.SurfaceType.Smooth | |
763 | w1 = Instance.new("Weld", p1) | |
764 | w1.Name = "Part_Weld" | |
765 | w1.Part0 = p1 | |
766 | 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) | |
767 | w1.Part1 = p2 | |
768 | 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) | |
769 | w2 = Instance.new("Weld", p2) | |
770 | w2.Name = "Part_Weld" | |
771 | w2.Part0 = p2 | |
772 | 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) | |
773 | w2.Part1 = p3 | |
774 | 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) | |
775 | w3 = Instance.new("Weld", p3) | |
776 | w3.Name = "BladePart_Weld" | |
777 | w3.Part0 = p3 | |
778 | 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) | |
779 | w3.Part1 = p4 | |
780 | 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) | |
781 | w4 = Instance.new("Weld", p4) | |
782 | w4.Name = "Hilt_Weld" | |
783 | w4.Part0 = p4 | |
784 | 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) | |
785 | w4.Part1 = p5 | |
786 | 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) | |
787 | w5 = Instance.new("Weld", p5) | |
788 | w5.Name = "Handle_Weld" | |
789 | w5.Part0 = p5 | |
790 | 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) | |
791 | w5.Part1 = p6 | |
792 | 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) | |
793 | w6 = Instance.new("Weld", p6) | |
794 | w6.Name = "Part_Weld" | |
795 | w6.Part0 = p6 | |
796 | 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) | |
797 | w6.Part1 = p7 | |
798 | 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) | |
799 | w7 = Instance.new("Weld", p7) | |
800 | w7.Name = "BladePart_Weld" | |
801 | w7.Part0 = p7 | |
802 | 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) | |
803 | w7.Part1 = p8 | |
804 | 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) | |
805 | w8 = Instance.new("Weld", p8) | |
806 | w8.Name = "BladePart_Weld" | |
807 | w8.Part0 = p8 | |
808 | 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) | |
809 | w8.Part1 = p9 | |
810 | 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) | |
811 | w9 = Instance.new("Weld", p9) | |
812 | w9.Name = "BladeTip_Weld" | |
813 | w9.Part0 = p9 | |
814 | 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) | |
815 | w9.Part1 = p10 | |
816 | 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) | |
817 | w10 = Instance.new("Weld", p10) | |
818 | w10.Name = "BladePart_Weld" | |
819 | w10.Part0 = p10 | |
820 | 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) | |
821 | w10.Part1 = p11 | |
822 | 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) | |
823 | w11 = Instance.new("Weld", p11) | |
824 | w11.Name = "BladeTip2_Weld" | |
825 | w11.Part0 = p11 | |
826 | 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) | |
827 | w11.Part1 = p12 | |
828 | 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) | |
829 | w12 = Instance.new("Weld", p12) | |
830 | w12.Name = "HitBox_Weld" | |
831 | w12.Part0 = p12 | |
832 | 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) | |
833 | w12.Part1 = p13 | |
834 | 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) | |
835 | w13 = Instance.new("Weld", p13) | |
836 | w13.Name = "Weld" | |
837 | w13.Part0 = p13 | |
838 | 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) | |
839 | m.Parent = char | |
840 | m:MakeJoints() | |
841 | ---------------------------------------------------- | |
842 | local cor = Instance.new("Part", char.Genkadda) | |
843 | cor.Name = "Thingy" | |
844 | cor.Locked = true | |
845 | cor.BottomSurface = 0 | |
846 | cor.CanCollide = false | |
847 | cor.Size = Vector3.new(1, 9, 1) | |
848 | cor.Transparency = 1 | |
849 | cor.TopSurface = 0 | |
850 | corw = Instance.new("Weld", cor) | |
851 | corw.Part0 = rarm | |
852 | corw.Part1 = cor | |
853 | corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90)) | |
854 | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
855 | weld1 = Instance.new("Weld", char.Genkadda) | |
856 | weld1.Part0 = cor | |
857 | weld1.Part1 = p6 | |
858 | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
859 | ---------------------------------------------------- Gauntlet | |
860 | ||
861 | m=Instance.new('Model',char) | |
862 | ||
863 | ||
864 | local function weldBetween(a, b) | |
865 | local weldd = Instance.new("ManualWeld") | |
866 | weldd.Part0 = a | |
867 | weldd.Part1 = b | |
868 | weldd.C0 = CFrame.new() | |
869 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
870 | weldd.Parent = a | |
871 | return weldd | |
872 | end | |
873 | ||
874 | it=Instance.new | |
875 | ||
876 | function nooutline(part) | |
877 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
878 | end | |
879 | ||
880 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
881 | local fp=it("Part") | |
882 | fp.formFactor=formfactor | |
883 | fp.Parent=parent | |
884 | fp.Reflectance=reflectance | |
885 | fp.Transparency=transparency | |
886 | fp.CanCollide=false | |
887 | fp.Locked=true | |
888 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
889 | fp.Name=name | |
890 | fp.Size=size | |
891 | fp.Position=char.Torso.Position | |
892 | nooutline(fp) | |
893 | fp.Material=material | |
894 | fp:BreakJoints() | |
895 | return fp | |
896 | end | |
897 | ||
898 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
899 | local mesh=it(Mesh) | |
900 | mesh.Parent=part | |
901 | if Mesh=="SpecialMesh" then | |
902 | mesh.MeshType=meshtype | |
903 | mesh.MeshId=meshid | |
904 | end | |
905 | mesh.Offset=offset | |
906 | mesh.Scale=scale | |
907 | return mesh | |
908 | end | |
909 | ||
910 | function weld(parent,part0,part1,c0,c1) | |
911 | local weld=it("Weld") | |
912 | weld.Parent=parent | |
913 | weld.Part0=part0 | |
914 | weld.Part1=part1 | |
915 | weld.C0=c0 | |
916 | weld.C1=c1 | |
917 | return weld | |
918 | end | |
919 | ||
920 | MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854)) | |
921 | 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)) | |
922 | TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
923 | 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)) | |
924 | mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997)) | |
925 | MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
926 | 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)) | |
927 | mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998)) | |
928 | MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116)) | |
929 | 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)) | |
930 | mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
931 | MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
932 | 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)) | |
933 | mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999)) | |
934 | MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138)) | |
935 | 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)) | |
936 | mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999)) | |
937 | MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138)) | |
938 | 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)) | |
939 | mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999)) | |
940 | MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854)) | |
941 | 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)) | |
942 | mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999)) | |
943 | MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
944 | 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)) | |
945 | mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995)) | |
946 | MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
947 | 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)) | |
948 | mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999)) | |
949 | MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
950 | 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)) | |
951 | mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995)) | |
952 | MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
953 | 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)) | |
954 | mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998)) | |
955 | MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
956 | 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)) | |
957 | mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998)) | |
958 | MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116)) | |
959 | 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)) | |
960 | mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
961 | MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116)) | |
962 | 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)) | |
963 | mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
964 | MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116)) | |
965 | 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)) | |
966 | mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
967 | MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116)) | |
968 | 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)) | |
969 | mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
970 | MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116)) | |
971 | 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)) | |
972 | mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
973 | MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
974 | 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)) | |
975 | mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999)) | |
976 | MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
977 | 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)) | |
978 | mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998)) | |
979 | TR1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR1",Vector3.new(0.266768694, 0.54866457, 0.548664272)) | |
980 | 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)) | |
981 | mesh("SpecialMesh",TR1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.700000048, 0.700000048)) | |
982 | TR2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR2",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
983 | 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)) | |
984 | mesh("SpecialMesh",TR2,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997)) | |
985 | TR3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR3",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
986 | 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)) | |
987 | mesh("SpecialMesh",TR3,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994)) | |
988 | TR4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR4",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
989 | 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)) | |
990 | mesh("SpecialMesh",TR4,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994)) | |
991 | TR5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR5",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
992 | 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)) | |
993 | mesh("SpecialMesh",TR5,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997)) | |
994 | TR6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR6",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
995 | 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)) | |
996 | mesh("SpecialMesh",TR6,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997)) | |
997 | MD21=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","MD21",Vector3.new(0.266768694, 0.54866457, 0.548664272)) | |
998 | 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)) | |
999 | mesh("SpecialMesh",MD21,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.411340952, 0.900000036, 0.900000036)) | |
1000 | ||
1001 | --[[TG1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lime green","Handle",Vector3.new(0.231713057, 0.953130603, 0.953130603)) | |
1002 | 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)) | |
1003 | mesh("SpecialMesh",TG1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.5, 0.5))]] | |
1004 | ||
1005 | ||
1006 | local edit = function(name,mat,col) | |
1007 | name.Material = mat | |
1008 | name.BrickColor = BrickColor.new(col) | |
1009 | end | |
1010 | ||
1011 | local dark = function() | |
1012 | edit(TR1,"Neon","Lime green") | |
1013 | edit(TR2,"Neon","Lime green") | |
1014 | edit(TR3,"Neon","Lime green") | |
1015 | edit(TR4,"Neon","Lime green") | |
1016 | edit(TR5,"Neon","Lime green") | |
1017 | edit(TR6,"Neon","Lime green") | |
1018 | edit(TR7,"Neon","Lime green") | |
1019 | edit(MN,"Neon","Lime green") | |
1020 | -- | |
1021 | ||
1022 | ||
1023 | end | |
1024 | local light = function() | |
1025 | edit(TR1,"Neon","Lime green") | |
1026 | edit(TR2,"Neon","Lime green") | |
1027 | edit(TR3,"Neon","Lime green") | |
1028 | edit(TR4,"Neon","Lime green") | |
1029 | edit(TR5,"Neon","Lime green") | |
1030 | edit(TR6,"Neon","Lime green") | |
1031 | edit(TR7,"Neon","Lime green") | |
1032 | edit(MN,"Neon","Lime green") | |
1033 | -- | |
1034 | ||
1035 | end | |
1036 | ||
1037 | ||
1038 | dark() | |
1039 | ||
1040 | --Messy | |
1041 | ||
1042 | ---------------------------------------------------- | |
1043 | function Vanish() | |
1044 | for i = 1, 10 do wait() | |
1045 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
1046 | if v:IsA("Part") or v:IsA("WedgePart") then | |
1047 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
1048 | v.Transparency = v.Transparency + 0.1 | |
1049 | end | |
1050 | end | |
1051 | end | |
1052 | end | |
1053 | end | |
1054 | ---------------------------------------------------- | |
1055 | function Appear() | |
1056 | for i = 1, 10 do wait() | |
1057 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
1058 | if v:IsA("Part") or v:IsA("WedgePart") then | |
1059 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
1060 | v.Transparency = v.Transparency - 0.1 | |
1061 | end | |
1062 | end | |
1063 | end | |
1064 | end | |
1065 | end | |
1066 | ---------------------------------------------------- | |
1067 | local player = game.Players.LocalPlayer | |
1068 | local pchar = player.Character | |
1069 | local mouse = player:GetMouse() | |
1070 | local cam = workspace.CurrentCamera | |
1071 | ||
1072 | local rad = math.rad | |
1073 | ||
1074 | local keysDown = {} | |
1075 | local flySpeed = 0 | |
1076 | local MAX_FLY_SPEED = 150 | |
1077 | ||
1078 | local canFly = false | |
1079 | local flyToggled = false | |
1080 | ||
1081 | local forward, side = 0, 0 | |
1082 | local lastForward, lastSide = 0, 0 | |
1083 | ||
1084 | local floatBP = Instance.new("BodyPosition") | |
1085 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
1086 | local flyBV = Instance.new("BodyVelocity") | |
1087 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
1088 | local turnBG = Instance.new("BodyGyro") | |
1089 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1090 | ||
1091 | mouse.KeyDown:connect(function(key) | |
1092 | keysDown[key] = true | |
1093 | ||
1094 | if key == "f" then | |
1095 | flyToggled = not flyToggled | |
1096 | ||
1097 | if not flyToggled then | |
1098 | stanceToggle = "Normal" | |
1099 | floatBP.Parent = nil | |
1100 | flyBV.Parent = nil | |
1101 | turnBG.Parent = nil | |
1102 | root.Velocity = Vector3.new() | |
1103 | pchar.Humanoid.PlatformStand = false | |
1104 | end | |
1105 | end | |
1106 | ||
1107 | end) | |
1108 | mouse.KeyUp:connect(function(key) | |
1109 | keysDown[key] = nil | |
1110 | end) | |
1111 | ||
1112 | local function updateFly() | |
1113 | ||
1114 | if not flyToggled then return end | |
1115 | ||
1116 | lastForward = forward | |
1117 | lastSide = side | |
1118 | ||
1119 | forward = 0 | |
1120 | side = 0 | |
1121 | ||
1122 | if keysDown.w then | |
1123 | forward = forward + 1 | |
1124 | end | |
1125 | if keysDown.s then | |
1126 | forward = forward - 1 | |
1127 | end | |
1128 | if keysDown.a then | |
1129 | side = side - 1 | |
1130 | end | |
1131 | if keysDown.d then | |
1132 | side = side + 1 | |
1133 | end | |
1134 | ||
1135 | ||
1136 | canFly = (forward ~= 0 or side ~= 0) | |
1137 | ||
1138 | if canFly then | |
1139 | stanceToggle = "Floating" | |
1140 | turnBG.Parent = root | |
1141 | floatBP.Parent = nil | |
1142 | flyBV.Parent = root | |
1143 | ||
1144 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
1145 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
1146 | else | |
1147 | floatBP.position = root.Position | |
1148 | floatBP.Parent = root | |
1149 | ||
1150 | flySpeed = flySpeed - 1 | |
1151 | if flySpeed < 0 then flySpeed = 0 end | |
1152 | end | |
1153 | ||
1154 | local camCF = cam.CoordinateFrame | |
1155 | local in_forward = canFly and forward or lastForward | |
1156 | local in_side = canFly and side or lastSide | |
1157 | ||
1158 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
1159 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
1160 | ||
1161 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
1162 | 0) | |
1163 | end | |
1164 | ||
1165 | game:service'RunService'.RenderStepped:connect(function() | |
1166 | if flyToggled then | |
1167 | pchar.Humanoid.PlatformStand = true | |
1168 | end | |
1169 | updateFly() | |
1170 | end) | |
1171 | ---------------------------------------------------- | |
1172 | p13.Touched:connect(function(ht) | |
1173 | hit = ht.Parent | |
1174 | if ht and hit:IsA("Model") then | |
1175 | if hit:FindFirstChild("Humanoid") then | |
1176 | if hit.Name ~= p.Name then | |
1177 | if Debounces.Slashing == true and Debounces.Slashed == false then | |
1178 | Debounces.Slashed = true | |
1179 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(20,25)) | |
1180 | wait(.3) | |
1181 | Debounces.Slashed = false | |
1182 | end | |
1183 | end | |
1184 | end | |
1185 | elseif ht and hit:IsA("Hat") then | |
1186 | if hit.Parent.Name ~= p.Name then | |
1187 | if hit.Parent:FindFirstChild("Humanoid") then | |
1188 | if Debounces.Slashing == true and Debounces.Slashed == false then | |
1189 | Debounces.Slashed = true | |
1190 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(20,25)) | |
1191 | wait(.3) | |
1192 | Debounces.Slashed = false | |
1193 | end | |
1194 | end | |
1195 | end | |
1196 | end | |
1197 | end) | |
1198 | ---------------------------------------------------- | |
1199 | local ptz = {0.7, 0.8, 0.9, 1} | |
1200 | ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2} | |
1201 | idz = {"161006212", "161006195"} | |
1202 | mouse.KeyDown:connect(function(key) | |
1203 | if key == "q" then | |
1204 | if Debounces.CanAttack == true then | |
1205 | Debounces.CanAttack = false | |
1206 | Debounces.NoIdl = true | |
1207 | Debounces.on = true | |
1208 | ||
1209 | if holy == true then | |
1210 | for i = 1, 8 do | |
1211 | 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) | |
1212 | 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) | |
1213 | 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) | |
1214 | 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) | |
1215 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2) | |
1216 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2) | |
1217 | if Debounces.on == false then break end | |
1218 | rs:wait(2) | |
1219 | end | |
1220 | else | |
1221 | for i = 1, 20 do | |
1222 | 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) | |
1223 | 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) | |
1224 | 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) | |
1225 | 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) | |
1226 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2) | |
1227 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2) | |
1228 | if Debounces.on == false then break end | |
1229 | rs:wait(2) | |
1230 | end | |
1231 | end | |
1232 | ||
1233 | z = Instance.new("Sound", hed) | |
1234 | z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
1235 | z.Pitch = ptz[math.random(1,#ptz)] | |
1236 | z.Volume = 1 | |
1237 | wait(.01) | |
1238 | z:Play() | |
1239 | ||
1240 | if holy == true then | |
1241 | --so("http://roblox.com/asset/?id=231917788",hed,1,1.7) | |
1242 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)]) | |
1243 | else | |
1244 | so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)]) | |
1245 | end | |
1246 | ||
1247 | Debounces.Slashing = true | |
1248 | ||
1249 | if holy == true then | |
1250 | ||
1251 | for i = 1, 5 do | |
1252 | 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) | |
1253 | 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) | |
1254 | 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) | |
1255 | 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) | |
1256 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3) | |
1257 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3) | |
1258 | if Debounces.on == false then break end | |
1259 | rs:wait(2) | |
1260 | end | |
1261 | ||
1262 | else | |
1263 | ||
1264 | for i = 1, 20 do | |
1265 | 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) | |
1266 | 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) | |
1267 | 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) | |
1268 | 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) | |
1269 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3) | |
1270 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3) | |
1271 | if Debounces.on == false then break end | |
1272 | rs:wait(2) | |
1273 | end | |
1274 | ||
1275 | end | |
1276 | z1 = Instance.new("Sound", hed) | |
1277 | z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
1278 | z1.Pitch = ptz[math.random(1,#ptz)] | |
1279 | z1.Volume = 1 | |
1280 | wait(.01) | |
1281 | z1:Play() | |
1282 | ||
1283 | if holy == true then | |
1284 | --so("http://roblox.com/asset/?id=231917788",hed,1,1.7) | |
1285 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)]) | |
1286 | else | |
1287 | so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)]) | |
1288 | end | |
1289 | ||
1290 | ||
1291 | ||
1292 | ||
1293 | Debounces.Slashing = true | |
1294 | for i = 1, 26 do | |
1295 | 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) | |
1296 | 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) | |
1297 | 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) | |
1298 | 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) | |
1299 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35) | |
1300 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35) | |
1301 | 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) | |
1302 | if Debounces.on == false then break end | |
1303 | rs:wait(2) | |
1304 | end | |
1305 | ||
1306 | Debounces.Slashing = false | |
1307 | z:Destroy() | |
1308 | z1:Destroy() | |
1309 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
1310 | if Debounces.CanAttack == false then | |
1311 | Debounces.CanAttack = true | |
1312 | Debounces.NoIdl = false | |
1313 | Debounces.on = false | |
1314 | end | |
1315 | end | |
1316 | end | |
1317 | end) | |
1318 | ------------------------------- | |
1319 | pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4} | |
1320 | mouse.KeyDown:connect(function(key) | |
1321 | if key == "e" then | |
1322 | if Debounces.CanAttack == true then | |
1323 | Debounces.CanAttack = false | |
1324 | Debounces.NoIdl = true | |
1325 | Debounces.on = true | |
1326 | Debounces.ks = true | |
1327 | larm.Touched:connect(function(ht) | |
1328 | hit = ht.Parent | |
1329 | if ht and hit:IsA("Model") then | |
1330 | if hit:FindFirstChild("Humanoid") then | |
1331 | if hit.Name ~= p.Name then | |
1332 | if Debounces.Slapping == true and Debounces.Slapped == false then | |
1333 | Debounces.Slapped = true | |
1334 | if Debounces.ks==true then | |
1335 | z = Instance.new("Sound",hed) | |
1336 | z.SoundId = "rbxassetid://169380525" | |
1337 | z.Volume = 1 | |
1338 | z:Play() | |
1339 | z1 = Instance.new("Sound",char) | |
1340 | z1.SoundId = "rbxassetid://261010715" | |
1341 | z1.Pitch = pts[math.random(1,#pts)] | |
1342 | z1.Volume = 1 | |
1343 | z2 = Instance.new("Sound",char) | |
1344 | z2.SoundId = "rbxassetid://261010715" | |
1345 | z2.Pitch = z1.Pitch | |
1346 | z2.Volume = 1 | |
1347 | z3 = Instance.new("Sound",char) | |
1348 | z3.SoundId = "rbxassetid://261010715" | |
1349 | z3.Pitch = z1.Pitch | |
1350 | z3.Volume = 1 | |
1351 | z1:Play() | |
1352 | z2:Play() | |
1353 | z3:Play() | |
1354 | Debounces.ks=false | |
1355 | end | |
1356 | hit:FindFirstChild("Humanoid"):TakeDamage(10) | |
1357 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90 | |
1358 | wait(.5) | |
1359 | Debounces.Slapped = false | |
1360 | z:Destroy() | |
1361 | z1:Destroy() | |
1362 | z2:Destroy() | |
1363 | z3:Destroy() | |
1364 | end | |
1365 | end | |
1366 | end | |
1367 | elseif ht and hit:IsA("Hat") then | |
1368 | if hit.Parent.Name ~= p.Name then | |
1369 | if hit.Parent:FindFirstChild("Humanoid") then | |
1370 | if Debounces.Slapping == true and Debounces.Slapped == false then | |
1371 | Debounces.Slapped = true | |
1372 | if Debounces.ks==true then | |
1373 | z = Instance.new("Sound",hed) | |
1374 | z.SoundId = "rbxassetid://169380525" | |
1375 | z.Volume = 1 | |
1376 | z:Play() | |
1377 | z1 = Instance.new("Sound",char) | |
1378 | z1.SoundId = "rbxassetid://261010715" | |
1379 | z1.Pitch = pts[math.random(1,#pts)] | |
1380 | z1.Volume = 1 | |
1381 | z2 = Instance.new("Sound",char) | |
1382 | z2.SoundId = "rbxassetid://261010715" | |
1383 | z2.Pitch = z1.Pitch | |
1384 | z2.Volume = 1 | |
1385 | z3 = Instance.new("Sound",char) | |
1386 | z3.SoundId = "rbxassetid://261010715" | |
1387 | z3.Pitch = z1.Pitch | |
1388 | z3.Volume = 1 | |
1389 | z1:Play() | |
1390 | z2:Play() | |
1391 | z3:Play() | |
1392 | Debounces.ks=false | |
1393 | end | |
1394 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10) | |
1395 | wait(.5) | |
1396 | Debounces.Slapped = false | |
1397 | z:Destroy() | |
1398 | z1:Destroy() | |
1399 | z2:Destroy() | |
1400 | z3:Destroy() | |
1401 | end | |
1402 | end | |
1403 | end | |
1404 | end | |
1405 | end) | |
1406 | for i = 1, 14 do | |
1407 | 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) | |
1408 | 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) | |
1409 | 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) | |
1410 | 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) | |
1411 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5) | |
1412 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5) | |
1413 | if Debounces.on==false then break end | |
1414 | rs:wait(2) | |
1415 | end | |
1416 | Debounces.Slapping = true | |
1417 | for i = 1, 20 do | |
1418 | 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) | |
1419 | 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) | |
1420 | 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) | |
1421 | 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) | |
1422 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
1423 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
1424 | if Debounces.on==false then break end | |
1425 | rs:wait(2) | |
1426 | end | |
1427 | Debounces.Slapping = false | |
1428 | if Debounces.CanAttack == false then | |
1429 | Debounces.CanAttack = true | |
1430 | Debounces.NoIdl = false | |
1431 | Debounces.on = false | |
1432 | end | |
1433 | end | |
1434 | end | |
1435 | end) | |
1436 | ------------------------------- | |
1437 | ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2} | |
1438 | mouse.KeyDown:connect(function(key) | |
1439 | if key == "r" then | |
1440 | if Debounces.CanAttack == true then | |
1441 | Debounces.CanAttack = false | |
1442 | Debounces.NoIdl = true | |
1443 | Debounces.on = true | |
1444 | if holy ~= true then | |
1445 | for i = 1, 20 do | |
1446 | 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) | |
1447 | 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) | |
1448 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3) | |
1449 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3) | |
1450 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
1451 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
1452 | 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) | |
1453 | if Debounces.on==false then break end | |
1454 | rs:wait(2) | |
1455 | end | |
1456 | else | |
1457 | for i = 1, 10 do | |
1458 | 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) | |
1459 | 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) | |
1460 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3) | |
1461 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3) | |
1462 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
1463 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
1464 | 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) | |
1465 | if Debounces.on==false then break end | |
1466 | rs:wait(2) | |
1467 | end | |
1468 | end | |
1469 | Debounces.Slashing = true | |
1470 | ||
1471 | ||
1472 | ||
1473 | z = Instance.new("Sound",hed) | |
1474 | z.SoundId = "rbxassetid://206083107" | |
1475 | z.Pitch = .75 | |
1476 | z.Volume = .65 | |
1477 | wait(0.1) | |
1478 | z:Play() | |
1479 | z1 = Instance.new("Sound", hed) | |
1480 | z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
1481 | z1.Pitch = ptz[math.random(1,#ptz)] | |
1482 | z1.Volume = 1 | |
1483 | wait(.01) | |
1484 | z1:Play() | |
1485 | ||
1486 | if holy == true then | |
1487 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)]) | |
1488 | else | |
1489 | so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)]) | |
1490 | end | |
1491 | ||
1492 | if holy ~= true then | |
1493 | for i = 1, 20 do | |
1494 | 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) | |
1495 | 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) | |
1496 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
1497 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
1498 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
1499 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3) | |
1500 | 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) | |
1501 | if Debounces.on==false then break end | |
1502 | rs:wait(2) | |
1503 | end | |
1504 | else | |
1505 | for i = 1, 10 do | |
1506 | 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) | |
1507 | 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) | |
1508 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
1509 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
1510 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
1511 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3) | |
1512 | 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) | |
1513 | if Debounces.on==false then break end | |
1514 | rs:wait(2) | |
1515 | end | |
1516 | end | |
1517 | Debounces.Slashing = false | |
1518 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
1519 | if Debounces.CanAttack == false then | |
1520 | Debounces.CanAttack = true | |
1521 | Debounces.NoIdl = false | |
1522 | Debounces.on = false | |
1523 | end | |
1524 | end | |
1525 | end | |
1526 | end) | |
1527 | ------------------------------- | |
1528 | mouse.KeyDown:connect(function(key) | |
1529 | if key == "t" then | |
1530 | if Debounces.CanAttack == true then | |
1531 | Debounces.CanAttack = false | |
1532 | Debounces.on = true | |
1533 | Debounces.NoIdl = true | |
1534 | for i = 1,20 do | |
1535 | 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) | |
1536 | 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) | |
1537 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.2) | |
1538 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, .4) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.2) | |
1539 | 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) | |
1540 | 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) | |
1541 | if Debounces.on==false then break end | |
1542 | rs:wait(2) | |
1543 | end | |
1544 | for i = 1,20 do | |
1545 | 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) | |
1546 | 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) | |
1547 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(0),0), 0.2) | |
1548 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.4) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2) | |
1549 | 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) | |
1550 | 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) | |
1551 | if Debounces.on==false then break end | |
1552 | rs:wait(2) | |
1553 | end | |
1554 | if Debounces.CanAttack == false then | |
1555 | Debounces.CanAttack = true | |
1556 | Debounces.on = false | |
1557 | Debounces.NoIdl = false | |
1558 | end | |
1559 | end | |
1560 | end | |
1561 | end) | |
1562 | ------------------------------- | |
1563 | local ptz3 = {0.5, 0.6, 0.7} | |
1564 | mouse.KeyDown:connect(function(key) | |
1565 | if key == "g" then | |
1566 | if Debounces.CanAttack == true then | |
1567 | Debounces.CanAttack = false | |
1568 | Debounces.NoIdl = true | |
1569 | Debounces.on = true | |
1570 | Debounces.Slashing = true | |
1571 | ||
1572 | z = Instance.new("Sound", hed) | |
1573 | z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
1574 | z.Pitch = ptz[math.random(1,#ptz)] | |
1575 | z.Volume = 1 | |
1576 | ||
1577 | ||
1578 | if holy == true then | |
1579 | eColors = {"Lime green"} | |
1580 | ||
1581 | ||
1582 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
1583 | if v:IsA("Part") or v:IsA("WedgePart") then | |
1584 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
1585 | v.BrickColor = BrickColor.new("Lime green") | |
1586 | v.Material = "Neon" | |
1587 | end | |
1588 | end | |
1589 | end | |
1590 | ||
1591 | ||
1592 | char.Humanoid.WalkSpeed = 50 | |
1593 | ||
1594 | GroundWave() | |
1595 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz3[math.random(1,#ptz3)]) | |
1596 | so("http://www.roblox.com/asset/?id=241816017",hed,1,0.5) | |
1597 | so("http://www.roblox.com/asset/?id=241816017",hed,1,1) | |
1598 | ||
1599 | ||
1600 | else | |
1601 | so("http://roblox.com/asset/?id=200633029",hed,1,0.9) | |
1602 | end | |
1603 | ||
1604 | ||
1605 | for i = 1, 8 do | |
1606 | z:play() | |
1607 | 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) | |
1608 | 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) | |
1609 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8) | |
1610 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(0, 0, 0), 0.8) | |
1611 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8) | |
1612 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8) | |
1613 | if Debounces.on==false then break end | |
1614 | rs:wait(2) | |
1615 | end | |
1616 | for i = 1, 2880, 48 do | |
1617 | torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0)) | |
1618 | rs:wait(4) | |
1619 | end | |
1620 | ||
1621 | ||
1622 | ||
1623 | ||
1624 | ||
1625 | ||
1626 | ||
1627 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
1628 | Debounces.Slashing = false | |
1629 | ||
1630 | if Debounces.CanAttack == false then | |
1631 | Debounces.CanAttack = true | |
1632 | Debounces.NoIdl = false | |
1633 | Debounces.on = false | |
1634 | ||
1635 | ||
1636 | ||
1637 | ||
1638 | char.Humanoid.WalkSpeed = 10 | |
1639 | ||
1640 | ||
1641 | end | |
1642 | ||
1643 | ||
1644 | ||
1645 | end | |
1646 | ||
1647 | ||
1648 | ||
1649 | end | |
1650 | ||
1651 | ||
1652 | end) | |
1653 | ---------------------------------------------------- | |
1654 | pt = {6.6, 6.8, 7, 7.2, 7.4} | |
1655 | mouse.KeyDown:connect(function(key) | |
1656 | if key == "l" then | |
1657 | if Debounces.CanJoke == true then | |
1658 | Debounces.CanJoke = false | |
1659 | u = Instance.new("Sound",char) | |
1660 | u.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
1661 | u.Pitch = pt[math.random(1,#pt)] | |
1662 | u.Volume = 1 | |
1663 | u2 = Instance.new("Sound",char) | |
1664 | u2.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
1665 | u2.Pitch = u.Pitch | |
1666 | u2.Volume = 1 | |
1667 | u3 = Instance.new("Sound",char) | |
1668 | u3.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
1669 | u3.Pitch = u.Pitch | |
1670 | u3.Volume = 1 | |
1671 | wait(.01) | |
1672 | u:Play() | |
1673 | u2:Play() | |
1674 | u3:Play() | |
1675 | wait(1.5) | |
1676 | u:Destroy() | |
1677 | u2:Destroy() | |
1678 | u3:Destroy() | |
1679 | if Debounces.CanJoke == false then | |
1680 | Debounces.CanJoke = true | |
1681 | end | |
1682 | end | |
1683 | end | |
1684 | end) | |
1685 | ||
1686 | ------------------------------- BEGIN GRABPUNCH | |
1687 | mouse.KeyDown:connect(function(key) | |
1688 | if key == "x" then | |
1689 | Debounces.on = true | |
1690 | Debounces.NoIdl = true | |
1691 | Debounces.ks = true | |
1692 | if Grab == false then | |
1693 | gp = nil | |
1694 | ||
1695 | if Melee == false then | |
1696 | Melee = true | |
1697 | Vanish() | |
1698 | stanceToggle = "Melee" | |
1699 | elseif Melee == true then | |
1700 | Melee = false | |
1701 | Appear() | |
1702 | stanceToggle = "Normal" | |
1703 | end | |
1704 | ||
1705 | for i = 1, 20 do | |
1706 | 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) | |
1707 | 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) | |
1708 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
1709 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1710 | 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) | |
1711 | 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) | |
1712 | if Debounces.on == false then break end | |
1713 | rs:wait() | |
1714 | end | |
1715 | con1=larm.Touched:connect(function(hit) -- this is grab | |
1716 | ht = hit.Parent | |
1717 | hum1=ht:FindFirstChild('Humanoid') | |
1718 | if hum1 ~= nil then | |
1719 | if Debounces.ks==true then | |
1720 | z = Instance.new("Sound",hed) | |
1721 | z.SoundId = "rbxassetid://169380525" | |
1722 | z.Volume = 1 | |
1723 | z:Play() | |
1724 | Debounces.ks=false | |
1725 | end | |
1726 | hum1.PlatformStand=true | |
1727 | gp = ht | |
1728 | Grab = true | |
1729 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0)) | |
1730 | asd.Parent = larm | |
1731 | asd.Name = "asd" | |
1732 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
1733 | --[[elseif hum1 == nil then | |
1734 | con1:disconnect() | |
1735 | wait() return]]-- | |
1736 | end | |
1737 | end) | |
1738 | for i = 1, 20 do | |
1739 | 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) | |
1740 | 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) | |
1741 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
1742 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1743 | 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) | |
1744 | 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) | |
1745 | if Debounces.on == false then break end | |
1746 | rs:wait() | |
1747 | end | |
1748 | if hum1 == nil then | |
1749 | Debounces.on = false | |
1750 | Debounces.NoIdl = false | |
1751 | end | |
1752 | con1:disconnect() | |
1753 | elseif Grab == true then | |
1754 | Grab = false | |
1755 | Punch() | |
1756 | z = Instance.new("Sound",hed) | |
1757 | z.SoundId = "rbxassetid://169380525" | |
1758 | z.Pitch = ptz[math.random(1,#ptz)] | |
1759 | z.Volume = 1 | |
1760 | z:Play() | |
1761 | for i = 1, 10 do | |
1762 | 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) | |
1763 | 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) | |
1764 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
1765 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
1766 | 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) | |
1767 | 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) | |
1768 | if Debounces.on == false then break end | |
1769 | rs:wait() | |
1770 | end | |
1771 | Punch() | |
1772 | z = Instance.new("Sound",hed) | |
1773 | z.SoundId = "rbxassetid://169380525" | |
1774 | z.Pitch = ptz[math.random(1,#ptz)] | |
1775 | z.Volume = 1 | |
1776 | z:Play() | |
1777 | for i = 1, 10 do | |
1778 | 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) | |
1779 | 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) | |
1780 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
1781 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
1782 | 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) | |
1783 | 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) | |
1784 | if Debounces.on == false then break end | |
1785 | rs:wait() | |
1786 | end | |
1787 | Punch() | |
1788 | z = Instance.new("Sound",hed) | |
1789 | z.SoundId = "rbxassetid://169380525" | |
1790 | z.Pitch = ptz[math.random(1,#ptz)] | |
1791 | z.Volume = 1 | |
1792 | z:Play() | |
1793 | for i = 1, 10 do | |
1794 | 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) | |
1795 | 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) | |
1796 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
1797 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
1798 | 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) | |
1799 | 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) | |
1800 | if Debounces.on == false then break end | |
1801 | rs:wait() | |
1802 | end | |
1803 | Punch() | |
1804 | z = Instance.new("Sound",hed) | |
1805 | z.SoundId = "rbxassetid://169380525" | |
1806 | z.Pitch = ptz[math.random(1,#ptz)] | |
1807 | z.Volume = 1 | |
1808 | z:Play() | |
1809 | for i = 1, 10 do | |
1810 | 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) | |
1811 | 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) | |
1812 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
1813 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
1814 | 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) | |
1815 | 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) | |
1816 | if Debounces.on == false then break end | |
1817 | rs:wait() | |
1818 | end | |
1819 | Punch() | |
1820 | z = Instance.new("Sound",hed) | |
1821 | z.SoundId = "rbxassetid://169380525" | |
1822 | z.Pitch = ptz[math.random(1,#ptz)] | |
1823 | z.Volume = 1 | |
1824 | z:Play() | |
1825 | for i = 1, 10 do | |
1826 | 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) | |
1827 | 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) | |
1828 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
1829 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
1830 | 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) | |
1831 | 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) | |
1832 | if Debounces.on == false then break end | |
1833 | rs:wait() | |
1834 | end | |
1835 | Punch() | |
1836 | z = Instance.new("Sound",hed) | |
1837 | z.SoundId = "rbxassetid://169380525" | |
1838 | z.Pitch = ptz[math.random(1,#ptz)] | |
1839 | z.Volume = 1 | |
1840 | z:Play() | |
1841 | for i = 1, 10 do | |
1842 | 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) | |
1843 | 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) | |
1844 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
1845 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
1846 | 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) | |
1847 | 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) | |
1848 | if Debounces.on == false then break end | |
1849 | rs:wait() | |
1850 | end | |
1851 | Punch() | |
1852 | z = Instance.new("Sound",hed) | |
1853 | z.SoundId = "rbxassetid://169380525" | |
1854 | z.Pitch = ptz[math.random(1,#ptz)] | |
1855 | z.Volume = 1 | |
1856 | z:Play() | |
1857 | for i = 1, 10 do | |
1858 | 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) | |
1859 | 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) | |
1860 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
1861 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
1862 | 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) | |
1863 | 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) | |
1864 | if Debounces.on == false then break end | |
1865 | rs:wait() | |
1866 | end | |
1867 | Punch() | |
1868 | z = Instance.new("Sound",hed) | |
1869 | z.SoundId = "rbxassetid://169380525" | |
1870 | z.Pitch = ptz[math.random(1,#ptz)] | |
1871 | z.Volume = 1 | |
1872 | z:Play() | |
1873 | for i = 1, 10 do | |
1874 | 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) | |
1875 | 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) | |
1876 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
1877 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
1878 | 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) | |
1879 | 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) | |
1880 | if Debounces.on == false then break end | |
1881 | rs:wait() | |
1882 | end | |
1883 | Punch() | |
1884 | z = Instance.new("Sound",hed) | |
1885 | z.SoundId = "rbxassetid://169380525" | |
1886 | z.Pitch = ptz[math.random(1,#ptz)] | |
1887 | z.Volume = 1 | |
1888 | z:Play() | |
1889 | for i = 1, 10 do | |
1890 | 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) | |
1891 | 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) | |
1892 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
1893 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
1894 | 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) | |
1895 | 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) | |
1896 | if Debounces.on == false then break end | |
1897 | rs:wait() | |
1898 | end | |
1899 | Punch() | |
1900 | z = Instance.new("Sound",hed) | |
1901 | z.SoundId = "rbxassetid://169380525" | |
1902 | z.Pitch = ptz[math.random(1,#ptz)] | |
1903 | z.Volume = 1 | |
1904 | z:Play() | |
1905 | for i = 1, 10 do | |
1906 | 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) | |
1907 | 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) | |
1908 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
1909 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
1910 | 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) | |
1911 | 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) | |
1912 | if Debounces.on == false then break end | |
1913 | rs:wait() | |
1914 | end | |
1915 | Punch() | |
1916 | z = Instance.new("Sound",hed) | |
1917 | z.SoundId = "rbxassetid://169380525" | |
1918 | z.Pitch = ptz[math.random(1,#ptz)] | |
1919 | z.Volume = 1 | |
1920 | z:Play() | |
1921 | for i = 1, 10 do | |
1922 | 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) | |
1923 | 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) | |
1924 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
1925 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
1926 | 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) | |
1927 | 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) | |
1928 | if Debounces.on == false then break end | |
1929 | rs:wait() | |
1930 | end | |
1931 | Punch() | |
1932 | z = Instance.new("Sound",hed) | |
1933 | z.SoundId = "rbxassetid://169380525" | |
1934 | z.Pitch = ptz[math.random(1,#ptz)] | |
1935 | z.Volume = 1 | |
1936 | z:Play() | |
1937 | for i = 1, 10 do | |
1938 | 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) | |
1939 | 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) | |
1940 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
1941 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
1942 | 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) | |
1943 | 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) | |
1944 | if Debounces.on == false then break end | |
1945 | rs:wait() | |
1946 | end | |
1947 | con1:disconnect() | |
1948 | Debounces.on = false | |
1949 | Debounces.NoIdl = false | |
1950 | if gp ~= nil then | |
1951 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140 | |
1952 | for i,v in pairs(larm:GetChildren()) do | |
1953 | if v.Name == "asd" and v:IsA("Weld") then | |
1954 | v:Remove() | |
1955 | end | |
1956 | end | |
1957 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
1958 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
1959 | bv.P = 125000 | |
1960 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
1961 | hum1=nil | |
1962 | ht=nil | |
1963 | Debounces.on = false | |
1964 | Debounces.NoIdl = false | |
1965 | elseif ht == nil then wait() | |
1966 | Grab = false | |
1967 | Debounces.on = false | |
1968 | Debounces.NoIdl = false | |
1969 | end | |
1970 | end | |
1971 | end | |
1972 | end) | |
1973 | ||
1974 | ||
1975 | ------------------------------------------------- | |
1976 | ||
1977 | ||
1978 | ||
1979 | ||
1980 | ----------------------------------------------------Cero | |
1981 | mouse.KeyDown:connect(function(key) | |
1982 | if key == "c" then | |
1983 | if Debounces.CanAttack == true then | |
1984 | Debounces.CanAttack = false | |
1985 | Debounces.NoIdl = true | |
1986 | Debounces.on = true | |
1987 | char.Humanoid.WalkSpeed = .01 | |
1988 | Debounces.on = true | |
1989 | Vanish() | |
1990 | ||
1991 | xx = Instance.new("Sound") | |
1992 | xx.SoundId = "http://www.roblox.com/asset/?id=199145659" | |
1993 | xx.Parent = char.Head | |
1994 | xx.Looped = false | |
1995 | xx.Pitch = .88 | |
1996 | xx.Volume = 1 | |
1997 | wait(.1) | |
1998 | xx:Play() | |
1999 | ||
2000 | if holy == true then | |
2001 | so("http://roblox.com/asset/?id=231917788",hed,1,1) | |
2002 | else | |
2003 | end | |
2004 | ||
2005 | ||
2006 | if holy ~= true then | |
2007 | for i = 1, 20 do | |
2008 | 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) | |
2009 | 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) | |
2010 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3) | |
2011 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3) | |
2012 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6) | |
2013 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4) | |
2014 | if Debounces.on==false then break end | |
2015 | wait() | |
2016 | end | |
2017 | wait(1) | |
2018 | else | |
2019 | for i = 1, 5 do | |
2020 | 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) | |
2021 | 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) | |
2022 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3) | |
2023 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3) | |
2024 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6) | |
2025 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4) | |
2026 | if Debounces.on==false then break end | |
2027 | wait() | |
2028 | end | |
2029 | wait(1) | |
2030 | end | |
2031 | ||
2032 | x = Instance.new("Sound") | |
2033 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
2034 | x2 = Instance.new("Sound") | |
2035 | x2.SoundId = "http://www.roblox.com/asset/?id=183763506" | |
2036 | x.Parent = char.Head | |
2037 | x2.Parent = char.Head | |
2038 | x.Looped = false | |
2039 | x2.Looped = false | |
2040 | x.Pitch = .88 | |
2041 | x.Volume = 1 | |
2042 | x2.Pitch = .88 | |
2043 | x2.Volume = 1 | |
2044 | wait(.1) | |
2045 | x:Play() | |
2046 | x2:Play() | |
2047 | Debounces.on = false | |
2048 | Debounces.Here = false | |
2049 | ||
2050 | for i = 1, 6 do | |
2051 | 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) | |
2052 | 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) | |
2053 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.4) | |
2054 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.4) | |
2055 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.4) | |
2056 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.4) | |
2057 | wait() | |
2058 | end | |
2059 | local rng = Instance.new("Part", char) | |
2060 | rng.Anchored = true | |
2061 | ||
2062 | if holy ~= true then | |
2063 | rng.BrickColor = BrickColor.new("Really black") | |
2064 | else | |
2065 | rng.BrickColor = BrickColor.new("Lime green") | |
2066 | end | |
2067 | ||
2068 | rng.CanCollide = false | |
2069 | rng.FormFactor = 3 | |
2070 | rng.Name = "Ring" | |
2071 | rng.Size = Vector3.new(1, 1, 1) | |
2072 | rng.Transparency = 0.35 | |
2073 | rng.TopSurface = 0 | |
2074 | rng.BottomSurface = 0 | |
2075 | rng.Material = "Neon" | |
2076 | local rngm = Instance.new("SpecialMesh", rng) | |
2077 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2078 | rngm.Scale = Vector3.new(10, 10, 1) | |
2079 | local bem = Instance.new("Part", char) | |
2080 | bem.Anchored = true | |
2081 | ||
2082 | if holy ~= true then | |
2083 | bem.BrickColor = BrickColor.new("Really black") | |
2084 | else | |
2085 | bem.BrickColor = BrickColor.new("Lime green") | |
2086 | end | |
2087 | ||
2088 | bem.Material = "Neon" | |
2089 | bem.CanCollide = false | |
2090 | bem.FormFactor = 3 | |
2091 | bem.Name = "Beam" .. shot | |
2092 | bem.Size = Vector3.new(1, 1, 1) | |
2093 | bem.Transparency = 0.35 | |
2094 | bem.TopSurface = 0 | |
2095 | bem.BottomSurface = 0 | |
2096 | local bemm = Instance.new("SpecialMesh", bem) | |
2097 | bemm.MeshType = 4 | |
2098 | bemm.Scale = Vector3.new(1, 4, 4) | |
2099 | local out = Instance.new("Part", char) | |
2100 | out.Anchored = true | |
2101 | ||
2102 | if holy ~= true then | |
2103 | out.BrickColor = BrickColor.new("Really black") | |
2104 | else | |
2105 | out.BrickColor = BrickColor.new("Lime green") | |
2106 | end | |
2107 | ||
2108 | out.Material = "Neon" | |
2109 | out.CanCollide = false | |
2110 | out.FormFactor = 3 | |
2111 | out.Name = "Out" | |
2112 | out.Size = Vector3.new(1, 1, 1) | |
2113 | out.Transparency = 0.35 | |
2114 | out.TopSurface = 0 | |
2115 | out.BottomSurface = 0 | |
2116 | local outm = Instance.new("SpecialMesh", out) | |
2117 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2118 | outm.Scale = Vector3.new(2, 2, 2) | |
2119 | local bnd = Instance.new("Part", char) | |
2120 | bnd.Anchored = true | |
2121 | ||
2122 | if holy ~= true then | |
2123 | bnd.BrickColor = BrickColor.new("Really black") | |
2124 | else | |
2125 | bnd.BrickColor = BrickColor.new("Lime green") | |
2126 | end | |
2127 | ||
2128 | bnd.Material = "Neon" | |
2129 | bnd.CanCollide = false | |
2130 | bnd.FormFactor = 3 | |
2131 | bnd.Name = "BEnd" | |
2132 | bnd.Size = Vector3.new(1, 1, 1) | |
2133 | bnd.Transparency = 0.35 | |
2134 | bnd.TopSurface = 0 | |
2135 | bnd.BottomSurface = 0 | |
2136 | local bndm = Instance.new("SpecialMesh", bnd) | |
2137 | bndm.MeshType = 3 | |
2138 | bndm.Scale = Vector3.new(4, 4, 4) | |
2139 | out.CFrame = rarm.CFrame * CFrame.new(0, -1.75, 0) | |
2140 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2141 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2142 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2143 | Debounces.Shewt = true | |
2144 | coroutine.wrap(function() | |
2145 | for i = 1, 20, 0.2 do | |
2146 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2147 | rng.Transparency = i/20 | |
2148 | wait() | |
2149 | end | |
2150 | wait() | |
2151 | rng:Destroy() | |
2152 | end)() | |
2153 | if Debounces.Shewt == true then | |
2154 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) --Here | |
2155 | print("Hit") | |
2156 | hit = ht.Parent | |
2157 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2158 | print("Yes") | |
2159 | if HasntTouched(hit.Name) == true and deb == false then | |
2160 | deb = true | |
2161 | coroutine.wrap(function() | |
2162 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2163 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140 | |
2164 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(18,63)) | |
2165 | wait(1) | |
2166 | hit:FindFirstChild("Humanoid").PlatformStand = false | |
2167 | end)() | |
2168 | table.insert(Touche, hit.Name) | |
2169 | deb = false | |
2170 | end | |
2171 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2172 | print("Yes") | |
2173 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2174 | deb = true | |
2175 | coroutine.wrap(function() | |
2176 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2177 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140 | |
2178 | wait(1) | |
2179 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2180 | end)() | |
2181 | table.insert(Touche, hit.Parent.Name) | |
2182 | deb = false | |
2183 | for i, v in pairs(Touche) do | |
2184 | print(v) | |
2185 | end | |
2186 | end | |
2187 | end | |
2188 | end) | |
2189 | end | |
2190 | for i = 0, 200, 7 do | |
2191 | bem.Size = Vector3.new(i, 1, 1) | |
2192 | bem.CFrame = rarm.CFrame * CFrame.new(0, -2.5 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2193 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 0) | |
2194 | wait() | |
2195 | end | |
2196 | wait() | |
2197 | Debounces.Shewt = false | |
2198 | bem:Destroy() | |
2199 | out:Destroy() | |
2200 | bnd:Destroy() | |
2201 | char.Humanoid.WalkSpeed = 10 | |
2202 | Debounces.Ready = false | |
2203 | for i, v in pairs(Touche) do | |
2204 | table.remove(Touche, i) | |
2205 | end | |
2206 | wait() | |
2207 | table.insert(Touche, char.Name) | |
2208 | Debounces.NoIdl = false | |
2209 | if Debounces.CanAttack == false then | |
2210 | Debounces.CanAttack = true | |
2211 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
2212 | ||
2213 | ||
2214 | Debounces.on = false | |
2215 | Appear() | |
2216 | end | |
2217 | end | |
2218 | end | |
2219 | end) | |
2220 | ------------------------------- | |
2221 | ||
2222 | ----------------------------------------------------EDIT END | |
2223 | Grab = false | |
2224 | mouse.KeyDown:connect(function(key) | |
2225 | if key == "z" then | |
2226 | Debounces.on = true | |
2227 | Debounces.NoIdl = true | |
2228 | Debounces.ks = true | |
2229 | if Grab == false then | |
2230 | gp = nil | |
2231 | for i = 1, 20 do | |
2232 | 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) | |
2233 | 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) | |
2234 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2) | |
2235 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2) | |
2236 | 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) | |
2237 | 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) | |
2238 | if Debounces.on == false then break end | |
2239 | rs:wait(2) | |
2240 | end | |
2241 | con1=larm.Touched:connect(function(hit) -- this is grab | |
2242 | ht = hit.Parent | |
2243 | hum1=ht:FindFirstChild('Humanoid') | |
2244 | if hum1 ~= nil then | |
2245 | if Debounces.ks==true then | |
2246 | z = Instance.new("Sound",hed) | |
2247 | z.SoundId = "rbxassetid://169380525" | |
2248 | z.Volume = 1 | |
2249 | z:Play() | |
2250 | Debounces.ks=false | |
2251 | end | |
2252 | hum1.PlatformStand=true | |
2253 | gp = ht | |
2254 | Grab = true | |
2255 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0)) | |
2256 | asd.Parent = larm | |
2257 | asd.Name = "asd" | |
2258 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0) | |
2259 | stanceToggle = "Grabbed" | |
2260 | --[[elseif hum1 == nil then | |
2261 | con1:disconnect() | |
2262 | wait() return]]-- | |
2263 | end | |
2264 | end) | |
2265 | for i = 1, 20 do | |
2266 | 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) | |
2267 | 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) | |
2268 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2) | |
2269 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2) | |
2270 | 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) | |
2271 | 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) | |
2272 | if Debounces.on == false then break end | |
2273 | rs:wait(2) | |
2274 | end | |
2275 | con1:disconnect() | |
2276 | Debounces.on = false | |
2277 | Debounces.NoIdl = false | |
2278 | elseif Grab == true then | |
2279 | Grab = false | |
2280 | --[[for i = 1, 16 do | |
2281 | 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) | |
2282 | 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) | |
2283 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3) | |
2284 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
2285 | 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) | |
2286 | 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) | |
2287 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3) | |
2288 | if Debounces.on == false then end | |
2289 | rs:wait() | |
2290 | end]]-- | |
2291 | for i = 1, 16 do | |
2292 | 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) | |
2293 | 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) | |
2294 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3) | |
2295 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3) | |
2296 | 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) | |
2297 | 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) | |
2298 | if Debounces.on == false then end | |
2299 | rs:wait() | |
2300 | end | |
2301 | Slam() | |
2302 | if gp ~= nil then | |
2303 | for i,v in pairs(larm:GetChildren()) do | |
2304 | if v.Name == "asd" and v:IsA("Weld") then | |
2305 | v:Remove() | |
2306 | end | |
2307 | end | |
2308 | for i = 1, 16 do | |
2309 | 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) | |
2310 | 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) | |
2311 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3) | |
2312 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3) | |
2313 | 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) | |
2314 | 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) | |
2315 | if Debounces.on == false then end | |
2316 | rs:wait() | |
2317 | end | |
2318 | stanceToggle = "Normal" | |
2319 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
2320 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
2321 | bv.P = 125000 | |
2322 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
2323 | ht=nil | |
2324 | Debounces.on = false | |
2325 | Debounces.NoIdl = false | |
2326 | elseif ht == nil then wait() | |
2327 | Grab = false | |
2328 | Debounces.on = false | |
2329 | Debounces.NoIdl = false | |
2330 | end | |
2331 | end | |
2332 | end | |
2333 | end) | |
2334 | ---------------------------------------------------- | |
2335 | Charging = false | |
2336 | chargewait = false | |
2337 | mouse.KeyDown:connect(function(key) | |
2338 | if key == "h" then | |
2339 | if Charging == false and chargewait == false then | |
2340 | Charging = true | |
2341 | chargewait = true | |
2342 | if Debounces.CanAttack == true then | |
2343 | Debounces.CanAttack = false | |
2344 | Debounces.NoIdl = true | |
2345 | Debounces.on = true | |
2346 | ||
2347 | ||
2348 | if holy ~= true then | |
2349 | holy = true | |
2350 | else holy = false | |
2351 | end | |
2352 | ||
2353 | ||
2354 | for i = 1,20 do | |
2355 | 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) | |
2356 | 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) | |
2357 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2358 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2359 | 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) | |
2360 | 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) | |
2361 | if Debounces.on == false then break end | |
2362 | rs:wait() | |
2363 | end | |
2364 | pt=Instance.new('Part',torso) | |
2365 | pt.Anchored=true | |
2366 | pt.CanCollide=false | |
2367 | pt.Locked = true | |
2368 | pt.Material = "Neon" | |
2369 | pt.FormFactor='Custom' | |
2370 | pt.Size=Vector3.new(1,1,1) | |
2371 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2372 | pt.Transparency=.6 | |
2373 | ||
2374 | if holy == true then | |
2375 | pt.BrickColor=BrickColor.new('Lime green') | |
2376 | else | |
2377 | pt.BrickColor = BrickColor.new("Really black") | |
2378 | end | |
2379 | ||
2380 | msh=Instance.new('SpecialMesh',pt) | |
2381 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2382 | msh.Scale=Vector3.new(8,4,8) | |
2383 | pt2=pt:clone() | |
2384 | pt2.Parent = torso | |
2385 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2386 | ||
2387 | if holy == true then | |
2388 | pt2.BrickColor=BrickColor.new('Lime green') | |
2389 | else | |
2390 | pt2.BrickColor = BrickColor.new("Lime green") | |
2391 | end | |
2392 | ||
2393 | ||
2394 | msh2=msh:clone() | |
2395 | msh2.Parent=pt2 | |
2396 | msh2.Scale=Vector3.new(10,5,10) | |
2397 | ||
2398 | 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} | |
2399 | ||
2400 | bl = Instance.new("Part", char) | |
2401 | bl.Locked = true | |
2402 | bl.Name = "Shell" | |
2403 | ||
2404 | if holy == true then | |
2405 | bl.BrickColor = BrickColor.new("Lime green") | |
2406 | else | |
2407 | bl.BrickColor = BrickColor.new("Really black") | |
2408 | end | |
2409 | ||
2410 | bl.Anchored = true | |
2411 | bl.Material = "Neon" | |
2412 | bl.CanCollide = false | |
2413 | bl.Transparency = 0 | |
2414 | bl.Reflectance = 0 | |
2415 | bl.BottomSurface = 0 | |
2416 | bl.TopSurface = 0 | |
2417 | bl.Shape = 0 | |
2418 | blm = Instance.new("SpecialMesh",bl) | |
2419 | blm.MeshType = "Sphere" | |
2420 | blm.Scale = Vector3.new(1,1,1) | |
2421 | ||
2422 | so("http://www.roblox.com/asset/?id=340722848",hed,2,1.2) | |
2423 | so("http://www.roblox.com/asset/?id=340722848",torso,0.5,0.8) | |
2424 | so("http://roblox.com/asset/?id=168586621",torso,1,0.5) | |
2425 | ||
2426 | ||
2427 | ||
2428 | ||
2429 | if holy == true then | |
2430 | light() | |
2431 | ds:stop() | |
2432 | hs:play() | |
2433 | eColors = {"Lime green"} | |
2434 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
2435 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2436 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
2437 | v.BrickColor = BrickColor.new("Lime green") | |
2438 | v.Material = "Neon" | |
2439 | end | |
2440 | end | |
2441 | end | |
2442 | ||
2443 | ||
2444 | else | |
2445 | dark() | |
2446 | hs:stop() | |
2447 | ds:play() | |
2448 | eColors = {"Lime green", "Really black"} | |
2449 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
2450 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2451 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
2452 | v.BrickColor = BrickColor.new("Really black") | |
2453 | v.Material = "Metal" | |
2454 | end | |
2455 | end | |
2456 | end | |
2457 | ||
2458 | end | |
2459 | ||
2460 | coroutine.resume(coroutine.create(function() | |
2461 | for i=1, math.huge, 4 do | |
2462 | if Charging == true then | |
2463 | rs:wait() | |
2464 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2465 | blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5) | |
2466 | bl.Transparency = bl.Transparency + 0.05 | |
2467 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
2468 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
2469 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
2470 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
2471 | elseif Charging == false then break | |
2472 | end | |
2473 | end | |
2474 | end)) | |
2475 | ||
2476 | ||
2477 | repeat | |
2478 | local p = Instance.new('Part',torso) | |
2479 | p.formFactor = 'Custom' | |
2480 | p.Size = Vector3.new(1,1,1) | |
2481 | ||
2482 | if holy == true then | |
2483 | p.BrickColor = BrickColor.new("Lime green") | |
2484 | else | |
2485 | p.BrickColor = BrickColor.new("Really black") | |
2486 | end | |
2487 | ||
2488 | p.CanCollide = false | |
2489 | p.Transparency = 0 | |
2490 | p.Anchored = true | |
2491 | p.Locked=true | |
2492 | p.Material = "Neon" | |
2493 | s = math.random(1,40)/10 | |
2494 | local m = Instance.new("BlockMesh",p) | |
2495 | m.Scale = Vector3.new(s,s,s) | |
2496 | 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()) | |
2497 | --[[coroutine.wrap(function() | |
2498 | wait(2) | |
2499 | while Charging == true do | |
2500 | wait(2) | |
2501 | GroundWave1() | |
2502 | wait(2) | |
2503 | end | |
2504 | end)()]]-- | |
2505 | Spawn(function() | |
2506 | while rs:wait() do | |
2507 | if Charging == true then | |
2508 | 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))) | |
2509 | 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))) | |
2510 | 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)) | |
2511 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
2512 | 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))) | |
2513 | 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))) | |
2514 | elseif Charging == false then break | |
2515 | end | |
2516 | end | |
2517 | end) | |
2518 | Spawn(function() | |
2519 | while rs:wait() do | |
2520 | if p.Transparency >= 1 then p:Destroy() break end | |
2521 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
2522 | p.Transparency = p.Transparency+0.01 | |
2523 | end | |
2524 | end) | |
2525 | wait(.3) | |
2526 | ||
2527 | ||
2528 | until Charging == false | |
2529 | end | |
2530 | end | |
2531 | end | |
2532 | end) | |
2533 | ||
2534 | ---------------------------------------------------- | |
2535 | mouse.KeyUp:connect(function(key) | |
2536 | if key == "h" then | |
2537 | if Charging == true and chargewait == true then | |
2538 | chargewait = false | |
2539 | wait(1) | |
2540 | Charging = false | |
2541 | ||
2542 | --[[for i,v in pairs (torso:GetChildren()) do | |
2543 | if v:IsA("Sound") then | |
2544 | v:Destroy() | |
2545 | end | |
2546 | end]] | |
2547 | ||
2548 | ||
2549 | --so("http://roblox.com/asset/?id=160867463",torso,1,0.7) | |
2550 | ||
2551 | pt:Destroy() | |
2552 | pt2:Destroy() | |
2553 | bl:Destroy() | |
2554 | if Debounces.CanAttack == false then | |
2555 | Debounces.CanAttack = true | |
2556 | Debounces.NoIdl = false | |
2557 | Debounces.on = false | |
2558 | Debounces.grab = false | |
2559 | ||
2560 | end | |
2561 | end | |
2562 | end | |
2563 | end) | |
2564 | ---------------------------------------------------- | |
2565 | Sit = false | |
2566 | mouse.KeyDown:connect(function(key) | |
2567 | if key == "b" then | |
2568 | if Sit == false then | |
2569 | Sit = true | |
2570 | hum.WalkSpeed = 0.1 | |
2571 | stanceToggle = "Sitting" | |
2572 | elseif Sit == true then | |
2573 | Sit = false | |
2574 | hum.WalkSpeed = 7 | |
2575 | stanceToggle = "Normal" | |
2576 | end | |
2577 | end | |
2578 | end) | |
2579 | ------------------------------- | |
2580 | Melee = false | |
2581 | mouse.KeyDown:connect(function(key) | |
2582 | if key == "m" then | |
2583 | if Melee == false then | |
2584 | Melee = true | |
2585 | Vanish() | |
2586 | stanceToggle = "Melee" | |
2587 | elseif Melee == true then | |
2588 | Melee = false | |
2589 | Appear() | |
2590 | stanceToggle = "Normal" | |
2591 | end | |
2592 | end | |
2593 | end) | |
2594 | ------------------------------- | |
2595 | mouse.KeyDown:connect(function(key) | |
2596 | if string.byte(key) == 50 then | |
2597 | if Debounces.CanAttack == true then | |
2598 | if stanceToggle ~= "Floating" then | |
2599 | char.Humanoid.WalkSpeed = 60 | |
2600 | Burst() | |
2601 | elseif Debounces.CanAttack == false then | |
2602 | elseif stanceToggle == "Floating" then | |
2603 | wait() | |
2604 | end | |
2605 | end | |
2606 | end | |
2607 | end) | |
2608 | mouse.KeyUp:connect(function(key) | |
2609 | if string.byte(key) == 50 then | |
2610 | char.Humanoid.WalkSpeed = 9 | |
2611 | end | |
2612 | end) | |
2613 | ------------------------------- | |
2614 | mouse.KeyDown:connect(function(key) | |
2615 | if key == "p" then | |
2616 | if CanAttack == true then | |
2617 | CanAttack = false | |
2618 | Debounces.NoIdl = true | |
2619 | Debounces.on = true | |
2620 | for i = 1, 20 do | |
2621 | 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) | |
2622 | 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) | |
2623 | 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) | |
2624 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.6) | |
2625 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(10)), 0.6) | |
2626 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.6) | |
2627 | 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) | |
2628 | if Debounces.on == false then | |
2629 | break | |
2630 | end | |
2631 | wait() | |
2632 | end | |
2633 | wait() | |
2634 | z = Instance.new("Sound") | |
2635 | z.SoundId = "http://www.roblox.com/asset/?id=159218913" | |
2636 | z.Parent = char.Head | |
2637 | z.Looped = false | |
2638 | z.Pitch = 1 | |
2639 | z.Volume = 1 | |
2640 | wait(.01) | |
2641 | z:Play() | |
2642 | Debounces.Slashing = true | |
2643 | for i = 1, 20 do | |
2644 | 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) | |
2645 | 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) | |
2646 | 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) | |
2647 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.5, -.5) * CFrame.Angles(math.rad(-90), 0, math.rad(0)), 0.6) | |
2648 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.6) | |
2649 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.6) | |
2650 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.6) | |
2651 | wait() | |
2652 | if Debounces.on == false then | |
2653 | break | |
2654 | end | |
2655 | wait() | |
2656 | end | |
2657 | Debounces.Slashing = false | |
2658 | Debounces.NoIdl = false | |
2659 | wait() | |
2660 | if CanAttack == false then | |
2661 | CanAttack = true | |
2662 | end | |
2663 | end | |
2664 | end | |
2665 | end) | |
2666 | -------------------------------- | |
2667 | ---------------------------------------------------- | |
2668 | mouse.KeyDown:connect(function(key) | |
2669 | if key == "v" then | |
2670 | if Debounces.CanAttack == true then | |
2671 | Debounces.CanAttack = false | |
2672 | Debounces.on = true | |
2673 | Debounces.NoIdl = true | |
2674 | for i = 1, 15 do | |
2675 | 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) | |
2676 | 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) | |
2677 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2678 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
2679 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2680 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2681 | if Debounces.on == false then break end | |
2682 | rs:wait(2.7) | |
2683 | end | |
2684 | so("http://roblox.com/asset/?id=231917788",hed,1,0.7) | |
2685 | x = Instance.new("Sound",char.Head) | |
2686 | x.SoundId = "rbxassetid://183763515" | |
2687 | x.Pitch = 0.7 | |
2688 | x.Volume = .8 | |
2689 | x3 = Instance.new("Sound",char.Head) | |
2690 | x3.SoundId = "rbxassetid://183763487" | |
2691 | x3.Pitch = 1 | |
2692 | x3.Volume = .8 | |
2693 | wait(.1) | |
2694 | x:Play() | |
2695 | x3:Play() | |
2696 | ||
2697 | if holy == true then | |
2698 | so("http://roblox.com/asset/?id=233091161",hed,1,0.6) | |
2699 | so("http://roblox.com/asset/?id=2233091183",hed,1,1) | |
2700 | else | |
2701 | end | |
2702 | ||
2703 | Debounces.on = false | |
2704 | Debounces.Here = false | |
2705 | shot = shot + 1 | |
2706 | local rng = Instance.new("Part", larm) | |
2707 | rng.Anchored = true | |
2708 | ||
2709 | if holy ~= true then | |
2710 | rng.BrickColor = BrickColor.new("Lime green") | |
2711 | else | |
2712 | rng.BrickColor = BrickColor.new("Lime green") | |
2713 | end | |
2714 | ||
2715 | rng.Material = "Neon" | |
2716 | rng.CanCollide = false | |
2717 | rng.FormFactor = 3 | |
2718 | rng.Name = "Ring" | |
2719 | rng.Size = Vector3.new(1, 1, 1) | |
2720 | rng.Transparency = 0.35 | |
2721 | rng.TopSurface = 0 | |
2722 | rng.BottomSurface = 0 | |
2723 | rng2 = rng:clone() | |
2724 | rng3 = rng2:clone() | |
2725 | rng4 = rng2:clone() | |
2726 | local rngm = Instance.new("SpecialMesh", rng) | |
2727 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2728 | rngm.Scale = Vector3.new(10, 10, 1) | |
2729 | rngm2 = rngm:clone() | |
2730 | rngm2.Scale = Vector3.new(5, 5, 3) | |
2731 | rngm3=rngm2:clone() | |
2732 | rngm3.Parent = rng3 | |
2733 | rngm3.Scale = Vector3.new(8, 8, 1) | |
2734 | rngm4 = rngm2:clone() | |
2735 | rngm4.Parent = rng4 | |
2736 | rngm4.Scale = Vector3.new(6, 6, 1) | |
2737 | local bem = Instance.new("Part", larm) | |
2738 | bem.Anchored = true | |
2739 | ||
2740 | if holy == false then | |
2741 | bem.BrickColor = BrickColor.new("Really black") | |
2742 | else | |
2743 | bem.BrickColor = BrickColor.new("Lime green") | |
2744 | end | |
2745 | ||
2746 | bem.CanCollide = false | |
2747 | bem.Material = "Neon" | |
2748 | bem.FormFactor = 3 | |
2749 | bem.Name = "Beam" .. shot | |
2750 | bem.Size = Vector3.new(1, 1, 1) | |
2751 | bem.Transparency = 0.35 | |
2752 | bem.TopSurface = 0 | |
2753 | bem.BottomSurface = 0 | |
2754 | local bemm = Instance.new("SpecialMesh", bem) | |
2755 | bemm.MeshType = 4 | |
2756 | bemm.Scale = Vector3.new(1, 4, 4) | |
2757 | local out = Instance.new("Part", larm) | |
2758 | out.Anchored = true | |
2759 | out.Material = "Neon" | |
2760 | ||
2761 | if holy == false then | |
2762 | out.BrickColor = BrickColor.new("Really black") | |
2763 | else | |
2764 | out.BrickColor = BrickColor.new("Lime green") | |
2765 | end | |
2766 | ||
2767 | out.CanCollide = false | |
2768 | out.FormFactor = 3 | |
2769 | out.Name = "Out" | |
2770 | out.Size = Vector3.new(4, 4, 4) | |
2771 | out.Transparency = 0.35 | |
2772 | out.TopSurface = 0 | |
2773 | out.BottomSurface = 0 | |
2774 | local outm = Instance.new("SpecialMesh", out) | |
2775 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2776 | outm.Scale = Vector3.new(6, 4, 6) | |
2777 | local bnd = Instance.new("Part", larm) | |
2778 | bnd.Anchored = true | |
2779 | bnd.BrickColor = BrickColor.new("Really red") | |
2780 | bnd.CanCollide = false | |
2781 | bnd.FormFactor = 3 | |
2782 | bnd.Name = "Bend" | |
2783 | bnd.Size = Vector3.new(1, 1, 1) | |
2784 | bnd.Transparency = 1 | |
2785 | bnd.TopSurface = 0 | |
2786 | bnd.BottomSurface = 0 | |
2787 | local bndm = Instance.new("SpecialMesh", bnd) | |
2788 | bndm.MeshType = 3 | |
2789 | bndm.Scale = Vector3.new(8, 8, 8) | |
2790 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2791 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2792 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2793 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2794 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2795 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
2796 | Debounces.Shewt = true | |
2797 | coroutine.wrap(function() | |
2798 | for i = 1, 20, 0.2 do | |
2799 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2800 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
2801 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
2802 | rng.Transparency = i/20 | |
2803 | rng3.Transparency = 1/24 | |
2804 | rng4.Transparency = i/26 | |
2805 | wait() | |
2806 | end | |
2807 | wait() | |
2808 | rng:Destroy() | |
2809 | end)() | |
2810 | if Debounces.Shewt == true then | |
2811 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2812 | hit = ht.Parent | |
2813 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2814 | if HasntTouched(hit.Name) == true and deb == false then | |
2815 | deb = true | |
2816 | coroutine.wrap(function() | |
2817 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2818 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2819 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
2820 | end)() | |
2821 | table.insert(Touche, hit.Name) | |
2822 | deb = false | |
2823 | end | |
2824 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2825 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2826 | deb = true | |
2827 | coroutine.wrap(function() | |
2828 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2829 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2830 | wait(1) | |
2831 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2832 | end)() | |
2833 | table.insert(Touche, hit.Parent.Name) | |
2834 | deb = false | |
2835 | for i, v in pairs(Touche) do | |
2836 | print(v) | |
2837 | end | |
2838 | end | |
2839 | end | |
2840 | end) | |
2841 | end | |
2842 | for i = 0, 260, 8 do | |
2843 | bem.Size = Vector3.new(i, 3, 3) | |
2844 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2845 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2846 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2847 | bnd.Size = Vector3.new(1,1,1) | |
2848 | bndm.Scale = Vector3.new(8,8,8) | |
2849 | if i % 10 == 0 then | |
2850 | local newRng = rng2:Clone() | |
2851 | newRng.Parent = larm | |
2852 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2853 | local newRngm = rngm2:clone() | |
2854 | newRngm.Parent=newRng | |
2855 | coroutine.wrap(function() | |
2856 | for i = 1, 10, 0.2 do | |
2857 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
2858 | newRng.Transparency = i/10 | |
2859 | wait() | |
2860 | end | |
2861 | wait() | |
2862 | newRng:Destroy() | |
2863 | end)() | |
2864 | end | |
2865 | wait() | |
2866 | end | |
2867 | wait() | |
2868 | Debounces.Shewt = false | |
2869 | bem:Destroy() | |
2870 | out:Destroy() | |
2871 | bnd:Destroy() | |
2872 | Debounces.Ready = false | |
2873 | for i, v in pairs(Touche) do | |
2874 | table.remove(Touche, i) | |
2875 | end | |
2876 | wait() | |
2877 | table.insert(Touche, char.Name) | |
2878 | Debounces.NoIdl = false | |
2879 | if Debounces.CanAttack == false then | |
2880 | Debounces.CanAttack = true | |
2881 | end | |
2882 | end | |
2883 | end | |
2884 | end) | |
2885 | ---------------------------------------------------- | |
2886 | ---------------------------------------------------- | |
2887 | mouse.KeyDown:connect(function(key) | |
2888 | if key == "y" then | |
2889 | if CanAttack == true then | |
2890 | CanAttack = false | |
2891 | Debounces.NoIdl = true | |
2892 | Debounces.on = true | |
2893 | for i = 1, 20 do | |
2894 | 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) | |
2895 | 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) | |
2896 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, 0.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2) | |
2897 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, 0.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2) | |
2898 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-26), math.rad(0), 0), 0.2) | |
2899 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2900 | if Debounces.on == false then | |
2901 | break | |
2902 | end | |
2903 | wait() | |
2904 | end | |
2905 | wait() | |
2906 | if Daytime == true then | |
2907 | Daytime = false | |
2908 | l.TimeOfDay = 24 | |
2909 | else | |
2910 | Daytime = true | |
2911 | l.TimeOfDay = 12 | |
2912 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
2913 | end | |
2914 | char.Humanoid.MaxHealth = math.huge | |
2915 | c = Instance.new("Sound") | |
2916 | c.SoundId = "http://www.roblox.com/asset/?id=152758283" | |
2917 | c.Parent = m | |
2918 | c.Looped = false | |
2919 | if Daytime == true then | |
2920 | c.Pitch = -1 | |
2921 | elseif Daytime == false then | |
2922 | c.Pitch = 1.12 | |
2923 | end | |
2924 | c.Volume = 1 | |
2925 | wait(.01) | |
2926 | c:Play() | |
2927 | local Shockwave = function() | |
2928 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
2929 | Wave.Name = "Shockwave" | |
2930 | Wave.BrickColor = BrickColor.new("Really black") | |
2931 | Wave.Size = Vector3.new(1, 1, 1) | |
2932 | Wave.Shape = "Ball" | |
2933 | Wave.CanCollide = false | |
2934 | Wave.Anchored = true | |
2935 | Wave.TopSurface = 0 | |
2936 | Wave.BottomSurface = 0 | |
2937 | Wave.Touched:connect(function(hit) | |
2938 | print(hit.Name) | |
2939 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
2940 | if hit.Parent.Name ~= char.Name then | |
2941 | print("Damaged " .. hit.Parent.Name) | |
2942 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1 | |
2943 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120 | |
2944 | end | |
2945 | end | |
2946 | end) | |
2947 | ||
2948 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
2949 | ||
2950 | Delay(0, function() | |
2951 | -- | |
2952 | -- Okay. | |
2953 | if Daytime == false then | |
2954 | for i = 1, 38, 1 do | |
2955 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2956 | Wave.CFrame = char.Torso.CFrame | |
2957 | local t = i / 38 | |
2958 | Wave.Transparency = t | |
2959 | wait() | |
2960 | end | |
2961 | else | |
2962 | for i = 38, 1, -1 do | |
2963 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2964 | Wave.CFrame = char.Torso.CFrame | |
2965 | local t = i / 38 | |
2966 | Wave.Transparency = t | |
2967 | wait() | |
2968 | end | |
2969 | end | |
2970 | Wave:Destroy() | |
2971 | end) | |
2972 | Delay(0, function() | |
2973 | while wait() do | |
2974 | if Wave ~= nil then | |
2975 | Wave.CFrame = char.Torso.CFrame | |
2976 | else | |
2977 | break | |
2978 | end | |
2979 | end | |
2980 | end) | |
2981 | end | |
2982 | ||
2983 | Shockwave() | |
2984 | ||
2985 | for i = 1, 20 do | |
2986 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(-100)), 0.6) | |
2987 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(100)), 0.6) | |
2988 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-20)), 0.6) | |
2989 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(20)), 0.6) | |
2990 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(35), math.rad(0), 0), 0.6) | |
2991 | 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) | |
2992 | wait() | |
2993 | if Debounces.on == false then | |
2994 | break | |
2995 | end | |
2996 | wait() | |
2997 | end | |
2998 | wait(2) | |
2999 | Debounces.NoIdl = false | |
3000 | if CanAttack == false then | |
3001 | CanAttack = true | |
3002 | wait() | |
3003 | end | |
3004 | end -- for the canattack thing | |
3005 | end | |
3006 | end) | |
3007 | ------------------------------- | |
3008 | local animpose = "Idle" | |
3009 | local lastanimpose = "Idle" | |
3010 | local grab = false | |
3011 | local sine = 0 | |
3012 | local change = 1 | |
3013 | local val = 0 | |
3014 | local ffing = false | |
3015 | local jump = false | |
3016 | ------------------------------- | |
3017 | --[[if stanceToggle == "Sitting" then | |
3018 | if wait(math.random(1,2)) == 1 then | |
3019 | stanceToggle = "Sitting2" | |
3020 | wait(8) | |
3021 | stanceToggle = "Sitting" | |
3022 | end | |
3023 | end]]-- | |
3024 | ------------------------------- | |
3025 | game:GetService("RunService").RenderStepped:connect(function() | |
3026 | if char.Humanoid.Jump == true then | |
3027 | jump = true | |
3028 | else | |
3029 | jump = false | |
3030 | end | |
3031 | char.Humanoid.FreeFalling:connect(function(f) | |
3032 | if f then | |
3033 | ffing = true | |
3034 | else | |
3035 | ffing = false | |
3036 | end | |
3037 | end) | |
3038 | sine = sine + change | |
3039 | if jump == true then | |
3040 | animpose = "Jumping" | |
3041 | elseif ffing == true then | |
3042 | animpose = "Freefalling" | |
3043 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3044 | animpose = "Idle" | |
3045 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3046 | animpose = "Walking" | |
3047 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3048 | animpose = "Running" | |
3049 | end | |
3050 | if animpose ~= lastanimpose then | |
3051 | sine = 0 | |
3052 | if Debounces.NoIdl == false then | |
3053 | if stanceToggle == "Normal" and holy ~= true then | |
3054 | for i = 1, 2 do | |
3055 | 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) | |
3056 | 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) | |
3057 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2) | |
3058 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2) | |
3059 | 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) | |
3060 | 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) | |
3061 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
3062 | end | |
3063 | elseif stanceToggle == "Sitting" then | |
3064 | 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) | |
3065 | 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) | |
3066 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
3067 | 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) | |
3068 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3) | |
3069 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3) | |
3070 | elseif stanceToggle == "Floating" then | |
3071 | 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) | |
3072 | 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) | |
3073 | 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) | |
3074 | 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) | |
3075 | 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) | |
3076 | 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) | |
3077 | wait() | |
3078 | end | |
3079 | else | |
3080 | end | |
3081 | end | |
3082 | lastanimpose = animpose | |
3083 | if Debounces.NoIdl == false then | |
3084 | if animpose == "Idle" then | |
3085 | if stanceToggle == "Normal" and holy ~= true then | |
3086 | change = 0.5 | |
3087 | 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) | |
3088 | 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) | |
3089 | 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) | |
3090 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2) | |
3091 | 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) | |
3092 | 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) | |
3093 | elseif stanceToggle == "Normal" and holy == true then | |
3094 | change = 0.8 | |
3095 | 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) | |
3096 | 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) | |
3097 | 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) | |
3098 | 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) | |
3099 | 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) | |
3100 | 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) | |
3101 | elseif stanceToggle == "Melee" and holy ~= true then | |
3102 | 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) | |
3103 | 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) | |
3104 | 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) | |
3105 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3106 | 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) | |
3107 | 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) | |
3108 | elseif stanceToggle == "Melee" and holy == true then | |
3109 | 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) | |
3110 | 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) | |
3111 | 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) | |
3112 | 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) | |
3113 | 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) | |
3114 | 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) | |
3115 | elseif stanceToggle == "Sitting" then | |
3116 | 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) | |
3117 | 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) | |
3118 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
3119 | 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) | |
3120 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3) | |
3121 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3) | |
3122 | elseif stanceToggle == "Floating" then | |
3123 | 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) | |
3124 | 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) | |
3125 | 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) | |
3126 | 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) | |
3127 | 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) | |
3128 | 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) | |
3129 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
3130 | grab = true | |
3131 | 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) | |
3132 | 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) | |
3133 | 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) | |
3134 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
3135 | 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) | |
3136 | 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) | |
3137 | elseif stanceToggle == "Grabbed" and holy == true then | |
3138 | grab = true | |
3139 | 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) | |
3140 | 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) | |
3141 | 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) | |
3142 | 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) | |
3143 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3144 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3145 | end | |
3146 | elseif animpose == "Walking" then | |
3147 | if stanceToggle == "Normal" and holy ~= true then | |
3148 | change = 1 | |
3149 | 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) | |
3150 | 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) | |
3151 | 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) | |
3152 | 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) | |
3153 | 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) | |
3154 | 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) | |
3155 | elseif stanceToggle == "Normal" and holy == true then | |
3156 | for i = 1, 2 do | |
3157 | 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) | |
3158 | 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) | |
3159 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3160 | 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) | |
3161 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3162 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3163 | end | |
3164 | elseif stanceToggle == "Melee" and holy ~= true then | |
3165 | 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) | |
3166 | 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) | |
3167 | 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) | |
3168 | 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) | |
3169 | 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) | |
3170 | 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) | |
3171 | elseif stanceToggle == "Melee" and holy == true then | |
3172 | 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) | |
3173 | 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) | |
3174 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3175 | 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) | |
3176 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3177 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3178 | elseif stanceToggle == "Floating" then | |
3179 | 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) | |
3180 | 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) | |
3181 | 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) | |
3182 | 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) | |
3183 | 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) | |
3184 | 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) | |
3185 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
3186 | 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) | |
3187 | 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) | |
3188 | 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) | |
3189 | 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) | |
3190 | 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) | |
3191 | 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) | |
3192 | elseif stanceToggle == "Grabbed" and holy == true then | |
3193 | 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) | |
3194 | 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) | |
3195 | 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) | |
3196 | 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) | |
3197 | 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) | |
3198 | 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) | |
3199 | end | |
3200 | elseif animpose == "Running" then | |
3201 | if stanceToggle == "Normal" and holy ~= true then | |
3202 | change = 1 | |
3203 | 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) | |
3204 | 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) | |
3205 | 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) | |
3206 | 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) | |
3207 | 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) | |
3208 | 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) | |
3209 | elseif stanceToggle == "Normal" and holy == true then | |
3210 | change = 1 | |
3211 | 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 | |
3212 | 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) | |
3213 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
3214 | 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) | |
3215 | 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) | |
3216 | 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) | |
3217 | elseif stanceToggle == "Floating" then | |
3218 | 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) | |
3219 | 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) | |
3220 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0) | |
3221 | 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) | |
3222 | 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) | |
3223 | 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) | |
3224 | end | |
3225 | end | |
3226 | end | |
3227 | end) | |
3228 | ||
3229 | Spawn(function() | |
3230 | while wait() do | |
3231 | updateFly() | |
3232 | end | |
3233 | end) | |
3234 | ||
3235 | Spawn(function() | |
3236 | while wait(.1) do | |
3237 | Magik() | |
3238 | end | |
3239 | end) | |
3240 | ||
3241 | Spawn(function() | |
3242 | while wait(.1) do | |
3243 | Magik2() | |
3244 | end | |
3245 | end) | |
3246 | ||
3247 | Spawn(function() | |
3248 | while wait(4) do | |
3249 | GroundWave() | |
3250 | end | |
3251 | end) | |
3252 | ||
3253 | ||
3254 | ||
3255 | ||
3256 | ||
3257 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
3258 | --[[Part0 = Vector3 (Start pos) | |
3259 | Part1 = Vector3 (End pos) | |
3260 | Times = number (Amount of lightning parts) | |
3261 | Offset = number (Offset) | |
3262 | Color = color (brickcolor value) | |
3263 | Thickness = number (thickness) | |
3264 | Trans = number (transparency) | |
3265 | ]]-- | |
3266 | local magz = (Part0 - Part1).magnitude | |
3267 | local curpos = Part0 | |
3268 | local trz = {-Offset,Offset} | |
3269 | for i=1,Times do | |
3270 | local li = Instance.new("Part", torso) | |
3271 | li.Name = "Lightning" | |
3272 | li.TopSurface =0 | |
3273 | li.Material = "Neon" | |
3274 | li.BottomSurface = 0 | |
3275 | li.Anchored = true | |
3276 | li.Locked = true | |
3277 | li.Transparency = Trans or 0.4 | |
3278 | li.BrickColor = BrickColor.new(Color) | |
3279 | li.formFactor = "Custom" | |
3280 | li.CanCollide = false | |
3281 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
3282 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
3283 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
3284 | if Times == i then | |
3285 | local magz2 = (curpos - Part1).magnitude | |
3286 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
3287 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
3288 | else | |
3289 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
3290 | end | |
3291 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
3292 | game.Debris:AddItem(li,.1) | |
3293 | end | |
3294 | end | |
3295 | ||
3296 | BodyParts = {} -- Parts to emit lightning effects from | |
3297 | for _, v in pairs(char.Genkadda:GetChildren()) do | |
3298 | if v:IsA("Part") and v.Name ~= "HitBox" and v.Name ~= "Thingy" then | |
3299 | table.insert(BodyParts, v) | |
3300 | end | |
3301 | end | |
3302 | ||
3303 | Bounding = {} -- Calculate the bounding boxes | |
3304 | for _, v in pairs(BodyParts) do | |
3305 | local temp = {X=nil, Y=nil, Z=nil} | |
3306 | temp.X = v.Size.X/2 * 10 | |
3307 | temp.Y = v.Size.Y/2 * 10 | |
3308 | temp.Z = v.Size.Z/2 * 10 | |
3309 | Bounding[v.Name] = temp | |
3310 | --table.insert(Bounding, v.Name, temp) | |
3311 | end | |
3312 | ||
3313 | ||
3314 | ||
3315 | while wait(lightspeed) do -- Emit the Lightning effects randomly, original was (1,10)/10 | |
3316 | ||
3317 | if Melee ~= true then --[[Make sure we only see the lightning when holding our sword]] | |
3318 | ||
3319 | if holy == true then | |
3320 | lightspeed = math.random(0.1,0.2) | |
3321 | else | |
3322 | lightspeed = math.random(0.5,1) | |
3323 | end | |
3324 | ||
3325 | local Body1 = BodyParts[math.random(#BodyParts)] | |
3326 | local Body2 = BodyParts[math.random(#BodyParts)] | |
3327 | local Pos1 = Vector3.new( | |
3328 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
3329 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
3330 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
3331 | ) | |
3332 | local Pos2 = Vector3.new( | |
3333 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
3334 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
3335 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
3336 | ) | |
3337 | local SPos1 = Body1.Position + Pos1 | |
3338 | local SPos2 = Body2.Position + Pos2 | |
3339 | ||
3340 | ||
3341 | ||
3342 | Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56) | |
3343 | ||
3344 | ||
3345 | end | |
3346 | end |