SHOW:
|
|
- or go back to the newest paste.
1 | --Edited by 1x0x1x0-- | |
2 | ||
3 | Player = game.Players.LocalPlayer | |
4 | Character = Player.Character | |
5 | PlayerGui = Player.PlayerGui | |
6 | Backpack = Player.Backpack | |
7 | Torso = Character.Torso | |
8 | Head = Character.Head | |
9 | Humanoid = Character.Humanoid | |
10 | LeftArm = Character["Left Arm"] | |
11 | LeftLeg = Character["Left Leg"] | |
12 | RightArm = Character["Right Arm"] | |
13 | RightLeg = Character["Right Leg"] | |
14 | Character = Player.Character | |
15 | PlayerGui = Player.PlayerGui | |
16 | Backpack = Player.Backpack | |
17 | Torso = Character.Torso | |
18 | Head = Character.Head | |
19 | Humanoid = Character.Humanoid | |
20 | LeftArm = Character["Left Arm"] | |
21 | LeftLeg = Character["Left Leg"] | |
22 | RightArm = Character["Right Arm"] | |
23 | RightLeg = Character["Right Leg"] | |
24 | LS = Torso["Left Shoulder"] | |
25 | LH = Torso["Left Hip"] | |
26 | RS = Torso["Right Shoulder"] | |
27 | RH = Torso["Right Hip"] | |
28 | Neck = Torso.Neck | |
29 | attacktype = 1 | |
30 | vt = Vector3.new | |
31 | cf = CFrame.new | |
32 | euler = CFrame.fromEulerAnglesXYZ | |
33 | angles = CFrame.Angles | |
34 | necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
35 | necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
36 | LHC0 = cf(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
37 | LHC1 = cf(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
38 | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
39 | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
40 | RootPart = Character.HumanoidRootPart | |
41 | RootJoint = RootPart.RootJoint | |
42 | RootCF = euler(-1.57, 0, 3.14) | |
43 | attack = false | |
44 | equipped = true | |
45 | local Anim = "Idle" | |
46 | local Effects = {} | |
47 | cam = workspace.CurrentCamera | |
48 | ZTarget = nil | |
49 | RocketTarget = nil | |
50 | local RbxUtility = LoadLibrary("RbxUtility") | |
51 | local Create = RbxUtility.Create | |
52 | local m = Create("Model"){ | |
53 | Parent = Character, | |
54 | Name = "WeaponModel", | |
55 | } | |
56 | mouse = Player:GetMouse() | |
57 | ||
58 | z = Instance.new("Sound", Character) | |
59 | - | z.SoundId = "rbxassetid://183973343" |
59 | + | z.SoundId = "rbxassetid://1734954822" |
60 | z.Looped = false | |
61 | z.Pitch = 1 | |
62 | z.Volume = 7 | |
63 | wait(.1) | |
64 | z:Play() | |
65 | ---------------------------------------------------- | |
66 | cn,ca,bc,v3,r = CFrame.new,CFrame.Angles,BrickColor.new,Vector3.new,function(a)return (math.random()-.5)*2*(a or 1) end | |
67 | deg,nf,c3,ins,ma,pi,mr = math.deg,math.floor,Color3.new,Instance.new,math.abs,math.pi,math.rad | |
68 | local part = function(prnt,cfr,siz,col,anc,canc,tra,mat,typ) | |
69 | local p = ins(typ or "Part") | |
70 | p.FormFactor = "Custom" | |
71 | p.Material = mat | |
72 | p.Transparency = tra | |
73 | p.CanCollide = canc | |
74 | p.Anchored = anc | |
75 | p.BrickColor = bc(col) | |
76 | p.Size = siz | |
77 | p.CFrame = cfr | |
78 | p.Parent = prnt | |
79 | p.Locked = true | |
80 | p.TopSurface,p.BottomSurface = 0,0 | |
81 | p:BreakJoints() | |
82 | return p | |
83 | end | |
84 | local mesh = function(typ,prnt,scal,mtyp,mid,mtx) | |
85 | local m = ins(typ or "SpecialMesh") | |
86 | if mtyp then m.MeshType = mtyp end | |
87 | if mid then m.MeshId = mid end | |
88 | if mtx then m.TextureId = mtx end | |
89 | if scal then m.Scale = scal end | |
90 | m.Parent = prnt | |
91 | return m | |
92 | end | |
93 | function cylinderOpen(cf,col,col2) | |
94 | local p = part(Character,cf,v3(0,1000,0),col,true,false,.1,"Granite") | |
95 | local pm = mesh("CylinderMesh",p) | |
96 | local p2 = part(Character,cf,v3(0,1000,0),col2,true,false,.1,"Granite") | |
97 | local p2m = mesh("CylinderMesh",p2) | |
98 | Spawn(function() | |
99 | for i=.1,1.1,.0125 do | |
100 | p.Transparency = i | |
101 | p2.Transparency = i | |
102 | pm.Scale = pm.Scale + v3(.8,0,.8) | |
103 | p2m.Scale = p2m.Scale + v3(.5,0,.5) | |
104 | wait() | |
105 | end | |
106 | p:Destroy() | |
107 | p2:Destroy() | |
108 | end) | |
109 | end | |
110 | ||
111 | function expandDong() | |
112 | local nTarg = Torso | |
113 | local Orbi = Instance.new('Part') | |
114 | Orbi.Size = Vector3.new(3,3,3) | |
115 | Orbi.CanCollide = false | |
116 | Orbi.Locked = true | |
117 | Orbi.Shape = 'Ball' | |
118 | Orbi.Anchored = true | |
119 | Orbi.Transparency = .6 | |
120 | Orbi.TopSurface,Orbi.BottomSurface = 0,0 | |
121 | Orbi.Name = 'Expand Dong' | |
122 | Orbi.BrickColor = BrickColor.new('Dark Blue') | |
123 | ||
124 | local OrbiMesh = Instance.new('SpecialMesh',Orbi) | |
125 | OrbiMesh.Name = 'Dxpand Eong' | |
126 | OrbiMesh.Scale = Vector3.new(2, 2, 2) | |
127 | OrbiMesh.MeshType = 'Sphere' | |
128 | Orbi.Parent = Character | |
129 | ypcall(function() | |
130 | for i = 3,.35,-1 do | |
131 | OrbiMesh.Scale = OrbiMesh.Scale + Vector3.new(.7, .7, .7) | |
132 | Orbi.CFrame = nTarg.CFrame | |
133 | end | |
134 | for i = .6,1,.05 do | |
135 | wait(0.04) | |
136 | Orbi.Transparency = i | |
137 | end | |
138 | Orbi:Destroy() | |
139 | end) | |
140 | end | |
141 | ||
142 | ||
143 | function expandDong2() | |
144 | local nTarg = Torso | |
145 | local Orbi = Instance.new('Part') | |
146 | Orbi.Size = Vector3.new(3,3,3) | |
147 | Orbi.CanCollide = false | |
148 | Orbi.Locked = true | |
149 | Orbi.Shape = 'Ball' | |
150 | Orbi.Anchored = true | |
151 | Orbi.Transparency = .6 | |
152 | Orbi.TopSurface,Orbi.BottomSurface = 0,0 | |
153 | Orbi.Name = 'Expand Dong' | |
154 | Orbi.BrickColor = BrickColor.new('Really black') | |
155 | ||
156 | local OrbiMesh = Instance.new('SpecialMesh',Orbi) | |
157 | OrbiMesh.Name = 'Dxpand Eong' | |
158 | OrbiMesh.Scale = Vector3.new(2.5, 2.5, 2.5) | |
159 | OrbiMesh.MeshType = 'Sphere' | |
160 | Orbi.Parent = Character | |
161 | ypcall(function() | |
162 | for i = 3,0,-1 do | |
163 | OrbiMesh.Scale = OrbiMesh.Scale + Vector3.new(.7, .7, .7) | |
164 | Orbi.CFrame = nTarg.CFrame | |
165 | end | |
166 | for i = .6,1,.05 do | |
167 | wait(0.04) | |
168 | Orbi.Transparency = i | |
169 | end | |
170 | Orbi:Destroy() | |
171 | end) | |
172 | end | |
173 | cylinderOpen(Torso.CFrame,"Dark blue","Really black") | |
174 | expandDong2() | |
175 | expandDong() | |
176 | ||
177 | wait(1) | |
178 | local p = game.Players.LocalPlayer | |
179 | repeat wait() until p | |
180 | local char = p.Character | |
181 | repeat wait() until char | |
182 | local mouse = p:GetMouse() | |
183 | local larm = char["Left Arm"] | |
184 | local rarm = char["Right Arm"] | |
185 | local lleg = char["Left Leg"] | |
186 | local rleg = char["Right Leg"] | |
187 | local hed = char.Head | |
188 | local chatServ = game:GetService("Chat") | |
189 | local torso = char.Torso | |
190 | local hum = char.Humanoid | |
191 | local cam = game.Workspace.CurrentCamera | |
192 | local root = char.HumanoidRootPart | |
193 | local deb = false | |
194 | local shot = 0 | |
195 | local l = game:GetService("Lighting") | |
196 | local rs = game:GetService("RunService").RenderStepped | |
197 | local insServ = game:GetService("InsertService") | |
198 | local debServ = game:GetService("Debris") | |
199 | local stanceToggle = "Normal" | |
200 | math.randomseed(os.time()) | |
201 | hum.WalkSpeed = 80 | |
202 | debServ:AddItem(char:WaitForChild("Health"), 0) | |
203 | char:WaitForChild("Animate").Disabled = true | |
204 | debServ:AddItem(hum:WaitForChild("Animator"), 0) | |
205 | hum.MaxHealth = 999999999 | |
206 | wait(0.1) | |
207 | hum.Health = 999999999 | |
208 | ---------------------------------------------------- | |
209 | local shIRT = char:FindFirstChild("Shirt") | |
210 | local pANTS = char:FindFirstChild("Pants") | |
211 | if shIRT then | |
212 | shIRT:Destroy() | |
213 | end | |
214 | if pANTS then | |
215 | pANTS:Destroy() | |
216 | end | |
217 | shirt = Instance.new("Shirt", char) | |
218 | shirt.Name = "Shirt" | |
219 | pants = Instance.new("Pants", char) | |
220 | pants.Name = "Pants" | |
221 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=289028097" | |
222 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=289028434" | |
223 | char.Humanoid.JumpPower = 150 | |
224 | ---------------------------------------------------- | |
225 | Debounces = { | |
226 | on = false; | |
227 | ks = false; | |
228 | CanAttack = true; | |
229 | CanJoke = true; | |
230 | NoIdl = false; | |
231 | Slashing = false; | |
232 | Slashed = false; | |
233 | Grabbing = false; | |
234 | Grabbed = false; | |
235 | } | |
236 | local Touche = {char.Name, } | |
237 | ---------------------------------------------------- | |
238 | function lerp(a, b, t) -- Linear interpolation | |
239 | return a + (b - a)*t | |
240 | end | |
241 | ||
242 | function slerp(a, b, t) --Spherical interpolation | |
243 | dot = a:Dot(b) | |
244 | if dot > 0.99999 or dot < -0.99999 then | |
245 | return t <= 0.5 and a or b | |
246 | else | |
247 | r = math.acos(dot) | |
248 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
249 | end | |
250 | end | |
251 | ||
252 | function matrixInterpolate(a, b, t) | |
253 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
254 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
255 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
256 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
257 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
258 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
259 | local t = v1:Dot(v2) | |
260 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
261 | return CFrame.new() | |
262 | end | |
263 | return CFrame.new( | |
264 | v0.x, v0.y, v0.z, | |
265 | v1.x, v1.y, v1.z, | |
266 | v2.x, v2.y, v2.z, | |
267 | v3.x, v3.y, v3.z) | |
268 | end | |
269 | ---------------------------------------------------- | |
270 | function genWeld(a,b) | |
271 | local w = Instance.new("Weld",a) | |
272 | w.Part0 = a | |
273 | w.Part1 = b | |
274 | return w | |
275 | end | |
276 | function weld(a, b) | |
277 | local weld = Instance.new("Weld") | |
278 | weld.Name = "W" | |
279 | weld.Part0 = a | |
280 | weld.Part1 = b | |
281 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
282 | weld.Parent = a | |
283 | return weld; | |
284 | end | |
285 | ---------------------------------------------------- | |
286 | function Lerp(c1,c2,al) | |
287 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
288 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
289 | for i,v in pairs(com1) do | |
290 | com1[i] = v+(com2[i]-v)*al | |
291 | end | |
292 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
293 | end | |
294 | ---------------------------------------------------- | |
295 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
296 | local wld = Instance.new("Motor6D", wp1) | |
297 | wld.Name = "Weld" | |
298 | wld.Part0 = wp0 | |
299 | wld.Part1 = wp1 | |
300 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
301 | end | |
302 | ---------------------------------------------------- | |
303 | for i,v in pairs(char:children()) do | |
304 | if v:IsA("Hat") then | |
305 | debServ:AddItem(v, 0) | |
306 | end | |
307 | end | |
308 | for i,v in pairs(hed:children()) do | |
309 | if v:IsA("Sound") then | |
310 | debServ:AddItem(v, 0) | |
311 | end | |
312 | end | |
313 | ---------------------------------------------------- | |
314 | function HasntTouched(plrname) | |
315 | local ret = true | |
316 | for _, v in pairs(Touche) do | |
317 | if v == plrname then | |
318 | ret = false | |
319 | end | |
320 | end | |
321 | return ret | |
322 | end | |
323 | ---------------------------------------------------- | |
324 | larm.Size = larm.Size * 2 | |
325 | rarm.Size = rarm.Size * 2 | |
326 | lleg.Size = lleg.Size * 2 | |
327 | rleg.Size = rleg.Size * 2 | |
328 | torso.Size = torso.Size * 2 | |
329 | hed.Size = hed.Size * 2 | |
330 | root.Size = root.Size * 2 | |
331 | ---------------------------------------------------- | |
332 | newWeld(torso, larm, -1.5, 0.5, 0) | |
333 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
334 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
335 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
336 | newWeld(torso, hed, 0, 1.5, 0) | |
337 | newWeld(torso, lleg, -0.5, -1, 0) | |
338 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
339 | newWeld(torso, rleg, 0.5, -1, 0) | |
340 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
341 | newWeld(root, torso, 0, -1, 0) | |
342 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
343 | ---------------------------------------------------- | |
344 | local HBill = Instance.new("BillboardGui", hed) | |
345 | local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame") | |
346 | local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel") | |
347 | HBill.Size = UDim2.new(20,0,2.2,0) | |
348 | HBill.StudsOffset = Vector3.new(0,4,0) | |
349 | HBill.AlwaysOnTop = true | |
350 | HMain.BackgroundColor3 = Color3.new(0/255, 0, 0/255) | |
351 | HMain.BackgroundTransparency = 0.6 | |
352 | HMain.Size = UDim2.new(1,0,1,0) | |
353 | HBarBack.Parent = HMain | |
354 | HBarBack.BackgroundColor3 = Color3.new(0/255,0/255,0/255) | |
355 | HBarBack.BorderColor3 = Color3.new(0,0,0) | |
356 | HBarBack.BorderSizePixel = 2 | |
357 | HBarBack.Position = UDim2.new(.025, 0, .55, 0) | |
358 | HBarBack.Size = UDim2.new(.95, 0, .25, 0) | |
359 | HBar.Parent = HBarBack | |
360 | HBar.BackgroundColor3 = Color3.new(0, 0/255, 225) | |
361 | HBar.BorderColor3 = Color3.new(0,0,0) | |
362 | HBar.Size = UDim2.new(.5,0,1,0) | |
363 | HHealth.BackgroundTransparency = 1 | |
364 | HHealth.Size = UDim2.new(1,0,1,0) | |
365 | HHealth.Font = "SourceSans" | |
366 | HHealth.Text = "[10/10]" | |
367 | HHealth.TextScaled = true | |
368 | HHealth.TextColor3 = Color3.new(1,1,1) | |
369 | HName.Parent = HMain | |
370 | HName.BackgroundTransparency = 1 | |
371 | HName.Size = UDim2.new(1,0,.35,0) | |
372 | HName.Font = "SourceSansItalic" | |
373 | - | HName.Text = "Dominus King" |
373 | + | |
374 | HName.TextColor3 = Color3.new(0/255, 0, 255/255) | |
375 | HName.TextStrokeColor3 = Color3.new(1,1,1) | |
376 | HName.TextStrokeTransparency = 0 | |
377 | HName.TextYAlignment = "Top" | |
378 | rs:connect(function() | |
379 | HHealth.Text = "HP["..hum.Health.."]" | |
380 | HBar:TweenSize(UDim2.new((hum.Health/hum.MaxHealth),0,1,0), _, "Linear", .4) | |
381 | end) | |
382 | ||
383 | local DHandle = Instance.new("Part") | |
384 | local DMesh = Instance.new("SpecialMesh") | |
385 | local DWeld = Instance.new("Weld") | |
386 | DHandle.Parent = char | |
387 | DHandle.Name = "Handle" | |
388 | DHandle.CanCollide = false | |
389 | DHandle.Locked = true | |
390 | DHandle.Size = Vector3.new(1.93, 1.77, 1.6) | |
391 | DMesh.Parent = DHandle | |
392 | DMesh.MeshId = "http://www.roblox.com/asset/?id=21057410" | |
393 | DMesh.TextureId = "http://www.roblox.com/asset/?id=21057378" | |
394 | DMesh.Scale = DMesh.Scale * 1.8 | |
395 | DWeld.Parent = DHandle | |
396 | DWeld.Name = "no" | |
397 | DWeld.Part0 = hed | |
398 | DWeld.Part1 = DHandle | |
399 | DWeld.C0 = CFrame.new(0,0,-0.7) * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0) | |
400 | hed.face.Texture = "rbxassetid://0" | |
401 | hed.Transparency = 1 | |
402 | local eye1 = Instance.new("Part") | |
403 | eye1.BrickColor = BrickColor.new("Dark blue") | |
404 | eye1.Material = "Neon" | |
405 | eye1.Transparency = 1 | |
406 | eye1.Name = "oi" | |
407 | eye1.Size = Vector3.new(.1,.1,.1) | |
408 | eye1.CanCollide = false | |
409 | eye1.Anchored = false | |
410 | eye1.Locked = true | |
411 | eye1.CFrame = hed.CFrame | |
412 | local eye1weld = Instance.new("Weld") | |
413 | eye1weld.Parent = DHandle | |
414 | eye1weld.Name = "nooo" | |
415 | eye1weld.Part0 = DHandle | |
416 | eye1weld.Part1 = eye1 | |
417 | eye1weld.C0 = CFrame.new(0.6,0.58,-0.8) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(20), math.rad(0)) | |
418 | eye1.Parent = DHandle | |
419 | local eye2 = Instance.new("Part") | |
420 | eye2.BrickColor = BrickColor.new("Dark blue") | |
421 | eye2.Material = "Neon" | |
422 | eye2.Transparency = 1 | |
423 | eye2.Name = "oi" | |
424 | eye2.Size = Vector3.new(.1,.1,.1) | |
425 | eye2.CanCollide = false | |
426 | eye2.Anchored = false | |
427 | eye2.Locked = true | |
428 | eye2.CFrame = hed.CFrame | |
429 | local eye2weld = Instance.new("Weld") | |
430 | eye2weld.Parent = DHandle | |
431 | eye2weld.Name = "nooo" | |
432 | eye2weld.Part0 = DHandle | |
433 | eye2weld.Part1 = eye2 | |
434 | eye2weld.C0 = CFrame.new(-0.6,0.58,-0.8) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-20), math.rad(0)) | |
435 | eye2.Parent = DHandle | |
436 | local transPoints = { | |
437 | NumberSequenceKeypoint.new(0,.469,0), | |
438 | NumberSequenceKeypoint.new(.217,.375,.0187), | |
439 | NumberSequenceKeypoint.new(.381,.262,0), | |
440 | NumberSequenceKeypoint.new(.574,.462,.05), | |
441 | NumberSequenceKeypoint.new(.757,.769,.0315), | |
442 | NumberSequenceKeypoint.new(1,1,0), | |
443 | } | |
444 | local sizePoints = { | |
445 | NumberSequenceKeypoint.new(0,0,0), | |
446 | NumberSequenceKeypoint.new(.107,.55,0), | |
447 | NumberSequenceKeypoint.new(.326,.712,0), | |
448 | NumberSequenceKeypoint.new(.984,.23,0), | |
449 | NumberSequenceKeypoint.new(1,0,0), | |
450 | } | |
451 | local ESize = NumberSequence.new(sizePoints) | |
452 | local ETransparency = NumberSequence.new(transPoints) | |
453 | local Glow = Instance.new("ParticleEmitter") | |
454 | Glow.Color = ColorSequence.new(eye1.BrickColor.Color) | |
455 | Glow.LightEmission = .5 | |
456 | Glow.Size = ESize | |
457 | Glow.Name = "noice" | |
458 | Glow.Transparency = ETransparency | |
459 | Glow.EmissionDirection = "Left" | |
460 | Glow.LockedToPart = true | |
461 | Glow.VelocityInheritance = 1 | |
462 | Glow.LockedToPart = true | |
463 | Glow.Rate = 200 | |
464 | Glow.Texture = "http://www.roblox.com/asset/?id=37332909" | |
465 | Glow.Lifetime = NumberRange.new(0.5) | |
466 | Glow.RotSpeed = NumberRange.new(100) | |
467 | Glow.Speed = NumberRange.new(10) | |
468 | Glow.VelocitySpread = 5 | |
469 | Glow.Parent = eye1 | |
470 | local Glow2 = Glow:Clone() | |
471 | Glow2.Parent = eye2 | |
472 | Glow2.EmissionDirection = "Right" | |
473 | ---------------------------------------------------- | |
474 | z = Instance.new("Sound", char) | |
475 | z.SoundId = "rbxassetid://319101193" | |
476 | z.Looped = true | |
477 | z.Pitch = 1 | |
478 | z.Volume = 1.0 | |
479 | wait(.01) | |
480 | z:Play() | |
481 | ---------------------------------------------------- | |
482 | local m = Instance.new("Model") | |
483 | m.Name = "Absolution" | |
484 | p1 = Instance.new("Part", m) | |
485 | p1.BrickColor = BrickColor.new("Black metallic") | |
486 | p1.FormFactor = Enum.FormFactor.Custom | |
487 | p1.Size = Vector3.new(1, 0.600000024, 1.5) | |
488 | p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395) | |
489 | p1.CanCollide = false | |
490 | p1.Locked = true | |
491 | p1.Elasticity = 0 | |
492 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
493 | p1.TopSurface = Enum.SurfaceType.Smooth | |
494 | b1 = Instance.new("SpecialMesh", p1) | |
495 | b1.MeshType = Enum.MeshType.Wedge | |
496 | b1.Name = "Mesh" | |
497 | b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
498 | p2 = Instance.new("Part", m) | |
499 | p2.BrickColor = BrickColor.new("Dark blue") | |
500 | p2.Material = "Neon" | |
501 | p2.FormFactor = Enum.FormFactor.Custom | |
502 | p2.Size = Vector3.new(1, 2.9000001, 1) | |
503 | p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005) | |
504 | p2.CanCollide = false | |
505 | p2.Locked = true | |
506 | p2.Elasticity = 0 | |
507 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
508 | p2.TopSurface = Enum.SurfaceType.Smooth | |
509 | b2 = Instance.new("BlockMesh", p2) | |
510 | b2.Name = "Mesh" | |
511 | b2.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
512 | p3 = Instance.new("Part", m) | |
513 | p3.BrickColor = BrickColor.new("Black metallic") | |
514 | p3.FormFactor = Enum.FormFactor.Custom | |
515 | p3.Size = Vector3.new(1, 1.20000005, 2.0999999) | |
516 | p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501) | |
517 | p3.CanCollide = false | |
518 | p3.Locked = true | |
519 | p3.Elasticity = 0 | |
520 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
521 | p3.TopSurface = Enum.SurfaceType.Smooth | |
522 | b3 = Instance.new("SpecialMesh", p3) | |
523 | b3.MeshType = Enum.MeshType.Wedge | |
524 | b3.Name = "Mesh" | |
525 | b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
526 | p4 = Instance.new("Part", m) | |
527 | p4.BrickColor = BrickColor.new("Black metallic") | |
528 | p4.FormFactor = Enum.FormFactor.Custom | |
529 | p4.Size = Vector3.new(1, 1.43999994, 2.05000019) | |
530 | p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151) | |
531 | p4.CanCollide = false | |
532 | p4.Locked = true | |
533 | p4.Elasticity = 0 | |
534 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
535 | p4.TopSurface = Enum.SurfaceType.Smooth | |
536 | b4 = Instance.new("SpecialMesh", p4) | |
537 | b4.MeshType = Enum.MeshType.Wedge | |
538 | b4.Name = "Mesh" | |
539 | b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
540 | p5 = Instance.new("Part", m) | |
541 | p5.BrickColor = BrickColor.new("Black metallic") | |
542 | p5.FormFactor = Enum.FormFactor.Custom | |
543 | p5.Size = Vector3.new(1, 1.20000005, 3.20000005) | |
544 | p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246) | |
545 | p5.CanCollide = false | |
546 | p5.Locked = true | |
547 | p5.Elasticity = 0 | |
548 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
549 | p5.TopSurface = Enum.SurfaceType.Smooth | |
550 | b5 = Instance.new("SpecialMesh", p5) | |
551 | b5.MeshType = Enum.MeshType.Wedge | |
552 | b5.Name = "Mesh" | |
553 | b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
554 | p6 = Instance.new("Part", m) | |
555 | p6.Name = "Handle" | |
556 | p6.BrickColor = BrickColor.new("Dark blue") | |
557 | p6.Material = "Neon" | |
558 | p6.FormFactor = Enum.FormFactor.Custom | |
559 | p6.Size = Vector3.new(1.5999999, 13.6000004, 1) | |
560 | p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005) | |
561 | p6.CanCollide = false | |
562 | p6.Locked = true | |
563 | p6.Elasticity = 0 | |
564 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
565 | p6.TopSurface = Enum.SurfaceType.Smooth | |
566 | b6 = Instance.new("BlockMesh", p6) | |
567 | b6.Name = "Mesh" | |
568 | b6.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
569 | p7 = Instance.new("Part", m) | |
570 | p7.BrickColor = BrickColor.new("Black metallic") | |
571 | p7.FormFactor = Enum.FormFactor.Custom | |
572 | p7.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
573 | p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818) | |
574 | p7.CanCollide = false | |
575 | p7.Locked = true | |
576 | p7.Elasticity = 0 | |
577 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
578 | p7.TopSurface = Enum.SurfaceType.Smooth | |
579 | b7 = Instance.new("SpecialMesh", p7) | |
580 | b7.MeshType = Enum.MeshType.Wedge | |
581 | b7.Name = "Mesh" | |
582 | b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
583 | p8 = Instance.new("Part", m) | |
584 | p8.BrickColor = BrickColor.new("Black metallic") | |
585 | p8.FormFactor = Enum.FormFactor.Custom | |
586 | p8.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
587 | p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699) | |
588 | p8.CanCollide = false | |
589 | p8.Locked = true | |
590 | p8.Elasticity = 0 | |
591 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
592 | p8.TopSurface = Enum.SurfaceType.Smooth | |
593 | b8 = Instance.new("SpecialMesh", p8) | |
594 | b8.MeshType = Enum.MeshType.Wedge | |
595 | b8.Name = "Mesh" | |
596 | b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
597 | p9 = Instance.new("Part", m) | |
598 | p9.BrickColor = BrickColor.new("Dark blue") | |
599 | p9.Material = "Neon" | |
600 | p9.FormFactor = Enum.FormFactor.Custom | |
601 | p9.Size = Vector3.new(1, 1.07999957, 1) | |
602 | p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005) | |
603 | p9.CanCollide = false | |
604 | p9.Locked = true | |
605 | p9.Elasticity = 0 | |
606 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
607 | p9.TopSurface = Enum.SurfaceType.Smooth | |
608 | b9 = Instance.new("BlockMesh", p9) | |
609 | b9.Name = "Mesh" | |
610 | b9.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
611 | p10 = Instance.new("Part", m) | |
612 | p10.BrickColor = BrickColor.new("Dark blue") | |
613 | p10.Material = "Neon" | |
614 | p10.FormFactor = Enum.FormFactor.Custom | |
615 | p10.Size = Vector3.new(1, 1.41999948, 1) | |
616 | p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005) | |
617 | p10.CanCollide = false | |
618 | p10.Locked = true | |
619 | p10.Elasticity = 0 | |
620 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
621 | p10.TopSurface = Enum.SurfaceType.Smooth | |
622 | b10 = Instance.new("BlockMesh", p10) | |
623 | b10.Name = "Mesh" | |
624 | b10.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
625 | p11 = Instance.new("Part", m) | |
626 | p11.BrickColor = BrickColor.new("Dark blue") | |
627 | p11.Material = "Neon" | |
628 | p11.FormFactor = Enum.FormFactor.Custom | |
629 | p11.Size = Vector3.new(1, 1.50999951, 1) | |
630 | p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005) | |
631 | p11.CanCollide = false | |
632 | p11.Locked = true | |
633 | p11.Elasticity = 0 | |
634 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
635 | p11.TopSurface = Enum.SurfaceType.Smooth | |
636 | b11 = Instance.new("BlockMesh", p11) | |
637 | b11.Name = "Mesh" | |
638 | b11.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
639 | p12 = Instance.new("Part", m) | |
640 | p12.Name = "BladeCenter" | |
641 | p12.BrickColor = BrickColor.new("Really black") | |
642 | p12.Material = "Pebble" | |
643 | p12.FormFactor = Enum.FormFactor.Symmetric | |
644 | p12.Size = Vector3.new(1, 2, 2) | |
645 | p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005) | |
646 | p12.CanCollide = false | |
647 | p12.Locked = true | |
648 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
649 | p12.TopSurface = Enum.SurfaceType.Smooth | |
650 | b12 = Instance.new("SpecialMesh", p12) | |
651 | b12.MeshType = Enum.MeshType.Brick | |
652 | b12.Name = "Mesh" | |
653 | b12.Scale = Vector3.new(0.499999911, 1, 0.699999928) | |
654 | p13 = Instance.new("Part", m) | |
655 | p13.BrickColor = BrickColor.new("Dark blue") | |
656 | p13.Material = "Neon" | |
657 | p13.FormFactor = Enum.FormFactor.Custom | |
658 | p13.Size = Vector3.new(2.91000009, 4.3300004, 1) | |
659 | p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005) | |
660 | p13.CanCollide = false | |
661 | p13.Locked = true | |
662 | p13.Elasticity = 0 | |
663 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
664 | p13.TopSurface = Enum.SurfaceType.Smooth | |
665 | b13 = Instance.new("BlockMesh", p13) | |
666 | b13.Name = "Mesh" | |
667 | b13.Scale = Vector3.new(1, 1, 0.400000006) | |
668 | p14 = Instance.new("Part", m) | |
669 | p14.BrickColor = BrickColor.new("Dark blue") | |
670 | p14.Material = "Neon" | |
671 | p14.FormFactor = Enum.FormFactor.Custom | |
672 | p14.Size = Vector3.new(2.5, 2.17999935, 1) | |
673 | p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005) | |
674 | p14.CanCollide = false | |
675 | p14.Locked = true | |
676 | p14.Elasticity = 0 | |
677 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
678 | p14.TopSurface = Enum.SurfaceType.Smooth | |
679 | b14 = Instance.new("BlockMesh", p14) | |
680 | b14.Name = "Mesh" | |
681 | b14.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
682 | p15 = Instance.new("Part", m) | |
683 | p15.BrickColor = BrickColor.new("Dark blue") | |
684 | p15.Material = "Neon" | |
685 | p15.FormFactor = Enum.FormFactor.Custom | |
686 | p15.Size = Vector3.new(1.16999996, 4.2699995, 1) | |
687 | p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005) | |
688 | p15.CanCollide = false | |
689 | p15.Locked = true | |
690 | p15.Elasticity = 0 | |
691 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
692 | p15.TopSurface = Enum.SurfaceType.Smooth | |
693 | b15 = Instance.new("BlockMesh", p15) | |
694 | b15.Name = "Mesh" | |
695 | b15.Scale = Vector3.new(1, 1, 0.400000006) | |
696 | p16 = Instance.new("Part", m) | |
697 | p16.BrickColor = BrickColor.new("Dark blue") | |
698 | p16.Material = "Neon" | |
699 | p16.FormFactor = Enum.FormFactor.Custom | |
700 | p16.Size = Vector3.new(1.68999994, 4.76000023, 1) | |
701 | p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005) | |
702 | p16.CanCollide = false | |
703 | p16.Locked = true | |
704 | p16.Elasticity = 0 | |
705 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
706 | p16.TopSurface = Enum.SurfaceType.Smooth | |
707 | b16 = Instance.new("BlockMesh", p16) | |
708 | b16.Name = "Mesh" | |
709 | b16.Scale = Vector3.new(1, 1, 0.400000006) | |
710 | p17 = Instance.new("Part", m) | |
711 | p17.BrickColor = BrickColor.new("Dark blue") | |
712 | p17.Material = "Neon" | |
713 | p17.FormFactor = Enum.FormFactor.Custom | |
714 | p17.Size = Vector3.new(1.78999996, 4.21999979, 1) | |
715 | p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005) | |
716 | p17.CanCollide = false | |
717 | p17.Locked = true | |
718 | p17.Elasticity = 0 | |
719 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
720 | p17.TopSurface = Enum.SurfaceType.Smooth | |
721 | b17 = Instance.new("BlockMesh", p17) | |
722 | b17.Name = "Mesh" | |
723 | b17.Scale = Vector3.new(1, 1, 0.400000006) | |
724 | p18 = Instance.new("WedgePart", m) | |
725 | p18.BrickColor = BrickColor.new("Really black") | |
726 | p18.Name = "BladePart1" | |
727 | p18.Material = "Pebble" | |
728 | p18.Name = "Wedge" | |
729 | p18.FormFactor = Enum.FormFactor.Symmetric | |
730 | p18.Size = Vector3.new(1, 4, 2) | |
731 | p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005) | |
732 | p18.CanCollide = false | |
733 | p18.Locked = true | |
734 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
735 | p18.TopSurface = Enum.SurfaceType.Smooth | |
736 | b18 = Instance.new("SpecialMesh", p18) | |
737 | b18.MeshType = Enum.MeshType.Wedge | |
738 | b18.Name = "Mesh" | |
739 | b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
740 | p19 = Instance.new("WedgePart", m) | |
741 | p19.BrickColor = BrickColor.new("Really black") | |
742 | p19.Name = "BladePart2" | |
743 | p19.Material = "Pebble" | |
744 | p19.Name = "Wedge" | |
745 | p19.FormFactor = Enum.FormFactor.Symmetric | |
746 | p19.Size = Vector3.new(1, 4, 2) | |
747 | p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005) | |
748 | p19.CanCollide = false | |
749 | p19.Locked = true | |
750 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
751 | p19.TopSurface = Enum.SurfaceType.Smooth | |
752 | b19 = Instance.new("SpecialMesh", p19) | |
753 | b19.MeshType = Enum.MeshType.Wedge | |
754 | b19.Name = "Mesh" | |
755 | b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
756 | p20 = Instance.new("Part", m) | |
757 | p20.BrickColor = BrickColor.new("Dark blue") | |
758 | p20.Material = "Neon" | |
759 | p20.FormFactor = Enum.FormFactor.Custom | |
760 | p20.Size = Vector3.new(2.53000021, 2.39999938, 1) | |
761 | p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005) | |
762 | p20.CanCollide = false | |
763 | p20.Locked = true | |
764 | p20.Elasticity = 0 | |
765 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
766 | p20.TopSurface = Enum.SurfaceType.Smooth | |
767 | b20 = Instance.new("BlockMesh", p20) | |
768 | b20.Name = "Mesh" | |
769 | b20.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
770 | p21 = Instance.new("Part", m) | |
771 | p21.BrickColor = BrickColor.new("Black metallic") | |
772 | p21.FormFactor = Enum.FormFactor.Custom | |
773 | p21.Size = Vector3.new(1, 1.43999994, 1.59000015) | |
774 | p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025) | |
775 | p21.CanCollide = false | |
776 | p21.Locked = true | |
777 | p21.Elasticity = 0 | |
778 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
779 | p21.TopSurface = Enum.SurfaceType.Smooth | |
780 | b21 = Instance.new("SpecialMesh", p21) | |
781 | b21.MeshType = Enum.MeshType.Wedge | |
782 | b21.Name = "Mesh" | |
783 | b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
784 | w1 = Instance.new("Weld", p1) | |
785 | w1.Name = "Part_Weld" | |
786 | w1.Part0 = p1 | |
787 | w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
788 | w1.Part1 = p2 | |
789 | w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
790 | w2 = Instance.new("Weld", p2) | |
791 | w2.Name = "Part_Weld" | |
792 | w2.Part0 = p2 | |
793 | w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
794 | w2.Part1 = p3 | |
795 | w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
796 | w3 = Instance.new("Weld", p3) | |
797 | w3.Name = "Part_Weld" | |
798 | w3.Part0 = p3 | |
799 | w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
800 | w3.Part1 = p4 | |
801 | w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
802 | w4 = Instance.new("Weld", p4) | |
803 | w4.Name = "Part_Weld" | |
804 | w4.Part0 = p4 | |
805 | w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
806 | w4.Part1 = p5 | |
807 | w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
808 | w5 = Instance.new("Weld", p5) | |
809 | w5.Name = "Part_Weld" | |
810 | w5.Part0 = p5 | |
811 | w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
812 | w5.Part1 = p6 | |
813 | w5.C1 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
814 | w6 = Instance.new("Weld", p6) | |
815 | w6.Name = "Part_Weld" | |
816 | w6.Part0 = p6 | |
817 | w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
818 | w6.Part1 = p7 | |
819 | w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
820 | w7 = Instance.new("Weld", p7) | |
821 | w7.Name = "Part_Weld" | |
822 | w7.Part0 = p7 | |
823 | w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
824 | w7.Part1 = p8 | |
825 | w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
826 | w8 = Instance.new("Weld", p8) | |
827 | w8.Name = "Part_Weld" | |
828 | w8.Part0 = p8 | |
829 | w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
830 | w8.Part1 = p9 | |
831 | w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
832 | w9 = Instance.new("Weld", p9) | |
833 | w9.Name = "Part_Weld" | |
834 | w9.Part0 = p9 | |
835 | w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
836 | w9.Part1 = p10 | |
837 | w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
838 | w10 = Instance.new("Weld", p10) | |
839 | w10.Name = "Part_Weld" | |
840 | w10.Part0 = p10 | |
841 | w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
842 | w10.Part1 = p11 | |
843 | w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
844 | w11 = Instance.new("Weld", p11) | |
845 | w11.Name = "Part_Weld" | |
846 | w11.Part0 = p11 | |
847 | w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
848 | w11.Part1 = p12 | |
849 | w11.C1 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
850 | w12 = Instance.new("Weld", p12) | |
851 | w12.Name = "Part_Weld" | |
852 | w12.Part0 = p12 | |
853 | w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
854 | w12.Part1 = p13 | |
855 | w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
856 | w13 = Instance.new("Weld", p13) | |
857 | w13.Name = "Part_Weld" | |
858 | w13.Part0 = p13 | |
859 | w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
860 | w13.Part1 = p14 | |
861 | w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
862 | w14 = Instance.new("Weld", p14) | |
863 | w14.Name = "Part_Weld" | |
864 | w14.Part0 = p14 | |
865 | w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
866 | w14.Part1 = p15 | |
867 | w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
868 | w15 = Instance.new("Weld", p15) | |
869 | w15.Name = "Part_Weld" | |
870 | w15.Part0 = p15 | |
871 | w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
872 | w15.Part1 = p16 | |
873 | w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
874 | w16 = Instance.new("Weld", p16) | |
875 | w16.Name = "Part_Weld" | |
876 | w16.Part0 = p16 | |
877 | w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
878 | w16.Part1 = p17 | |
879 | w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
880 | w17 = Instance.new("Weld", p17) | |
881 | w17.Name = "Wedge_Weld" | |
882 | w17.Part0 = p17 | |
883 | w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
884 | w17.Part1 = p18 | |
885 | w17.C1 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
886 | w18 = Instance.new("Weld", p18) | |
887 | w18.Name = "Wedge_Weld" | |
888 | w18.Part0 = p18 | |
889 | w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
890 | w18.Part1 = p19 | |
891 | w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
892 | w19 = Instance.new("Weld", p19) | |
893 | w19.Name = "Part_Weld" | |
894 | w19.Part0 = p19 | |
895 | w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
896 | w19.Part1 = p20 | |
897 | w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
898 | w20 = Instance.new("Weld", p20) | |
899 | w20.Name = "Part_Weld" | |
900 | w20.Part0 = p20 | |
901 | w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
902 | w20.Part1 = p21 | |
903 | w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
904 | m.Parent = char | |
905 | m:MakeJoints() | |
906 | ---------------------------------------------------- | |
907 | local cor = Instance.new("Part", char.Absolution) | |
908 | cor.Name = "Thingy" | |
909 | cor.Locked = true | |
910 | cor.BottomSurface = 0 | |
911 | cor.CanCollide = false | |
912 | cor.Size = Vector3.new(1, 13, 1) | |
913 | cor.Transparency = 1 | |
914 | cor.TopSurface = 0 | |
915 | corw = Instance.new("Weld", cor) | |
916 | corw.Part0 = rarm | |
917 | corw.Part1 = cor | |
918 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
919 | corw.C1 = CFrame.new(0, 0, 0) | |
920 | weld1 = Instance.new("Weld", char.Absolution) | |
921 | weld1.Part0 = cor | |
922 | weld1.Part1 = p6 | |
923 | weld1.C0 = CFrame.new(0, 0, 0) | |
924 | ---------------------------------------------------- | |
925 | hitb = Instance.new("Part", char.Absolution) | |
926 | hitb.Name = "Thingy2" | |
927 | hitb.Locked = true | |
928 | hitb.BottomSurface = 0 | |
929 | hitb.CanCollide = false | |
930 | hitb.Size = Vector3.new(0, 8, 6) | |
931 | hitb.Transparency = 1 | |
932 | hitb.TopSurface = 0 | |
933 | weld2 = Instance.new("Weld", char.Absolution) | |
934 | weld2.Part0 = hitb | |
935 | weld2.Part1 = p12 | |
936 | weld2.C0 = CFrame.new(0, .6, 1) | |
937 | ---------------------------------------------------- | |
938 | local m = Instance.new("Model") | |
939 | m.Name = "Claw" | |
940 | m.Parent = char | |
941 | ||
942 | ---------------------------------------------------- | |
943 | ||
944 | local cor2 = Instance.new("Part", char.Claw) | |
945 | cor2.Name = "Thingy" | |
946 | cor2.Locked = true | |
947 | cor2.BottomSurface = 0 | |
948 | cor2.CanCollide = false | |
949 | cor2.Size = Vector3.new(2, 2, 2) | |
950 | cor2.Transparency = 1 | |
951 | cor2.TopSurface = 0 | |
952 | corw2 = Instance.new("Weld", cor2) | |
953 | corw2.Part0 = larm | |
954 | corw2.Part1 = cor2 | |
955 | corw2.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)) | |
956 | corw2.C1 = CFrame.new(0, 0, 0) | |
957 | weld2 = Instance.new("Weld", char.Claw) | |
958 | weld2.Part0 = cor2 | |
959 | weld2.Part1 = larm | |
960 | weld2.C0 = CFrame.new(0, 0, 0) | |
961 | ---------------------------------------------------- | |
962 | function weld5(part0, part1, c0, c1) | |
963 | weeld=Instance.new("Weld", part0) | |
964 | weeld.Part0=part0 | |
965 | weeld.Part1=part1 | |
966 | weeld.C0=c0 | |
967 | weeld.C1=c1 | |
968 | return weeld | |
969 | end | |
970 | ---------------------------------------------------- | |
971 | function newRay(start,face,range,wat) | |
972 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
973 | hit,pos=workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
974 | return rey,hit,pos | |
975 | end | |
976 | ---------------------------------------------------- | |
977 | mod5 = Instance.new("Model",char) | |
978 | ||
979 | ||
980 | local TextEvent = Instance.new("RemoteEvent") | |
981 | TextEvent.Parent = char | |
982 | TextEvent.Name = "TextEvent" | |
983 | ||
984 | local TextTable = {} | |
985 | ||
986 | function AdvanceText() | |
987 | for i, v in pairs(TextTable) do | |
988 | if v~= nil then | |
989 | if v.StudsOffset.Y >=5 then | |
990 | v.Time.Counter.Value = v.Time.Counter.Value+0.1 | |
991 | if v.Time.Counter.Value >= v.Time.Value then | |
992 | v.WHYYYYYYYY.TextTransparency = v.WHYYYYYYYY.TextTransparency+0.15 | |
993 | v.WHYYYYYYYY.TextStrokeTransparency = v.WHYYYYYYYY.TextStrokeTransparency+0.15 | |
994 | if v.WHYYYYYYYY.TextTransparency >= 1 then | |
995 | debServ:AddItem(v.Parent,1) | |
996 | table.remove(TextTable, i) | |
997 | end | |
998 | end | |
999 | else | |
1000 | v.StudsOffset = Vector3.new(0,v.StudsOffset.Y+0.15, 0) | |
1001 | end | |
1002 | end | |
1003 | end | |
1004 | end | |
1005 | ||
1006 | rs:connect(function() | |
1007 | AdvanceText() | |
1008 | end) | |
1009 | ||
1010 | function MakeText(text, font, duration, tcr, tcg, tcb, scr, scg, scb, cFrame) | |
1011 | local tpart = Instance.new("Part") | |
1012 | tpart.Parent = char | |
1013 | tpart.Transparency = 1 | |
1014 | tpart.Name = "hoi hoi" | |
1015 | tpart.Anchored = true | |
1016 | tpart.CanCollide = false | |
1017 | tpart.Locked = true | |
1018 | tpart.Size = Vector3.new(.2,.2,.2) | |
1019 | tpart.CFrame = cFrame*CFrame.new(math.random(-3,3),0,math.random(-3,3)) | |
1020 | local bill = Instance.new("BillboardGui") | |
1021 | bill.Parent = tpart | |
1022 | bill.AlwaysOnTop = true | |
1023 | bill.Name = "HUHHHHHNAAAA" | |
1024 | bill.Size = UDim2.new(4, 0, 4, 0) | |
1025 | bill.StudsOffset = Vector3.new(0, 1, 0) | |
1026 | local tem = Instance.new("NumberValue", bill) | |
1027 | tem.Value = duration | |
1028 | tem.Name = "Time" | |
1029 | local counter = Instance.new("NumberValue", tem) | |
1030 | counter.Value = 0 | |
1031 | counter.Name = "Counter" | |
1032 | local textl = Instance.new("TextLabel") | |
1033 | textl.Parent = bill | |
1034 | textl.Name = "WHYYYYYYYY" | |
1035 | textl.BackgroundTransparency = 1 | |
1036 | textl.Size = UDim2.new(1, 0, 1, 0) | |
1037 | textl.Font = font | |
1038 | textl.Text = text | |
1039 | textl.TextColor3 = Color3.new(0/255, 0/255, 255/255) | |
1040 | textl.TextScaled = true | |
1041 | textl.TextStrokeColor3 = Color3.new(0/255, 0/255, 225/255) | |
1042 | textl.TextStrokeTransparency = 0 | |
1043 | table.insert(TextTable, bill) | |
1044 | end | |
1045 | ||
1046 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1047 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1048 | local List = {} | |
1049 | for i,v in pairs(workspace:GetChildren())do | |
1050 | if v:IsA("Model")then | |
1051 | if v:findFirstChild("Torso")then | |
1052 | if v ~= char then | |
1053 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1054 | table.insert(List,v) | |
1055 | end | |
1056 | end | |
1057 | end | |
1058 | end | |
1059 | end | |
1060 | return List | |
1061 | end | |
1062 | ||
1063 | function Landing() | |
1064 | part=Instance.new('Part',mod5) | |
1065 | part.Anchored=true | |
1066 | part.CanCollide=false | |
1067 | part.FormFactor='Custom' | |
1068 | part.Size=Vector3.new(.2,.2,.2) | |
1069 | part.CFrame=root.CFrame*CFrame.new(0,-2,0) | |
1070 | part.Transparency=.7 | |
1071 | part.BrickColor=BrickColor.new('Dark blue') | |
1072 | mesh=Instance.new('SpecialMesh',part) | |
1073 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1074 | mesh.Scale=Vector3.new(10,5,10) | |
1075 | ||
1076 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do | |
1077 | if v:FindFirstChild('Humanoid') then | |
1078 | v.Humanoid.PlatformStand = true | |
1079 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 300 | |
1080 | local damfam = math.random(100, 200) | |
1081 | v.Humanoid.Health = v.Humanoid.Health-damfam | |
1082 | local CF = v.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1083 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1084 | end | |
1085 | end | |
1086 | ||
1087 | coroutine.resume(coroutine.create(function() | |
1088 | for i=0,3.8,0.05 do | |
1089 | wait() | |
1090 | part.CFrame=part.CFrame | |
1091 | part.Transparency=i | |
1092 | mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1) | |
1093 | end | |
1094 | part.Parent = nil | |
1095 | end)) | |
1096 | end | |
1097 | ---------------------------------------------------- | |
1098 | mod4 = Instance.new("Model",char) | |
1099 | ||
1100 | ptez = {0.7, 0.8, 0.9, 1} | |
1101 | ||
1102 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1103 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1104 | local List = {} | |
1105 | for i,v in pairs(workspace:GetChildren())do | |
1106 | if v:IsA("Model")then | |
1107 | if v:findFirstChild("Torso")then | |
1108 | if v ~= char then | |
1109 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1110 | table.insert(List,v) | |
1111 | end | |
1112 | end | |
1113 | end | |
1114 | end | |
1115 | end | |
1116 | return List | |
1117 | end | |
1118 | ||
1119 | function GroundPound() | |
1120 | chatServ:Chat(hed, "Die..", 2) | |
1121 | part=Instance.new('Part',mod4) | |
1122 | part.Anchored=true | |
1123 | part.CanCollide=false | |
1124 | part.FormFactor='Custom' | |
1125 | part.Size=Vector3.new(.2,.2,.2) | |
1126 | part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
1127 | part.Transparency=.7 | |
1128 | part.BrickColor=BrickColor.new('Dark blue') | |
1129 | mesh=Instance.new('SpecialMesh',part) | |
1130 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1131 | mesh.Scale=Vector3.new(3,3,3) | |
1132 | part2=Instance.new('Part',mod4) | |
1133 | part2.Anchored=true | |
1134 | part2.CanCollide=false | |
1135 | part2.FormFactor='Custom' | |
1136 | part2.Size=Vector3.new(.2,.2,.2) | |
1137 | part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6) | |
1138 | part2.Transparency=.7 | |
1139 | part2.BrickColor=BrickColor.new('Really black') | |
1140 | mesh2=Instance.new('SpecialMesh',part2) | |
1141 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1142 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1143 | x = Instance.new("Sound",char) | |
1144 | x.SoundId = "http://www.roblox.com/asset/?id=165969964" | |
1145 | x.Pitch = ptez[math.random(1,#ptez)] | |
1146 | x.Volume = 1 | |
1147 | wait(.1) | |
1148 | x:Play() | |
1149 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,30))do | |
1150 | if v:FindFirstChild('Humanoid') then | |
1151 | local damfam = math.random(666, 699) | |
1152 | v.Humanoid.Health = v.Humanoid.Health-damfam | |
1153 | local CF = v.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1154 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1155 | end | |
1156 | end | |
1157 | coroutine.resume(coroutine.create(function() | |
1158 | for i=0,0.62,0.13 do | |
1159 | wait() | |
1160 | part.CFrame=part.CFrame | |
1161 | part.Transparency=i | |
1162 | mesh.Scale=mesh.Scale+Vector3.new(3.8,3.8,3.8) | |
1163 | part2.CFrame=part2.CFrame | |
1164 | part2.Transparency=i | |
1165 | mesh2.Scale=mesh2.Scale+Vector3.new(3.8,3.6,3.8) | |
1166 | end | |
1167 | part.Parent=nil | |
1168 | part2.Parent=nil | |
1169 | x:Destroy() | |
1170 | end)) | |
1171 | end | |
1172 | ---------------------------------------------------- | |
1173 | mod=Instance.new('Model',char) | |
1174 | ||
1175 | function charge() | |
1176 | hed.Velocity=char.HumanoidRootPart.CFrame.lookVector*500 | |
1177 | part=Instance.new('Part',mod) | |
1178 | part.Anchored=true | |
1179 | part.CanCollide=false | |
1180 | part.FormFactor='Custom' | |
1181 | part.Size=Vector3.new(.2,.2,.2) | |
1182 | part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0) | |
1183 | part.Transparency=.7 | |
1184 | part.BrickColor=BrickColor.new('Black') | |
1185 | mesh=Instance.new('SpecialMesh',part) | |
1186 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1187 | mesh.Scale=Vector3.new(10,5,10) | |
1188 | part2=part:clone() | |
1189 | part2.Parent=mod | |
1190 | part2.BrickColor=BrickColor.new('Dark blue') | |
1191 | mesh2=mesh:clone() | |
1192 | mesh2.Parent=part2 | |
1193 | mesh2.Scale=Vector3.new(20,10,20) | |
1194 | part3=part2:clone() | |
1195 | part3.Parent = mod | |
1196 | part3.BrickColor=BrickColor.new('White') | |
1197 | mesh3=mesh2:clone() | |
1198 | mesh2.Parent=part3 | |
1199 | mesh3.Scale=Vector3.new(30,15,30) | |
1200 | coroutine.resume(coroutine.create(function() | |
1201 | for i=0,1,0.1 do | |
1202 | wait() | |
1203 | part.CFrame=part.CFrame | |
1204 | part.Transparency=i | |
1205 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
1206 | part2.CFrame=part2.CFrame | |
1207 | part2.Transparency=i | |
1208 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
1209 | part3.CFrame=part3.CFrame | |
1210 | part3.Transparency=i | |
1211 | mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1) | |
1212 | end | |
1213 | part.Parent=nil | |
1214 | part2.Parent=nil | |
1215 | part3.Parent = nil | |
1216 | end)) | |
1217 | end | |
1218 | ---------------------------------------------------- | |
1219 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1220 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1221 | local List = {} | |
1222 | for i,v in pairs(workspace:GetChildren())do | |
1223 | if v:IsA("Model")then | |
1224 | if v:findFirstChild("Torso")then | |
1225 | if v ~= char then | |
1226 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1227 | table.insert(List,v) | |
1228 | end | |
1229 | end | |
1230 | end | |
1231 | end | |
1232 | end | |
1233 | return List | |
1234 | end | |
1235 | ||
1236 | mod3 = Instance.new("Model",rleg) | |
1237 | ||
1238 | function Stomp() | |
1239 | part=Instance.new('Part',mod3) | |
1240 | part.Anchored=true | |
1241 | part.CanCollide=false | |
1242 | part.FormFactor='Custom' | |
1243 | part.Size=Vector3.new(.2,.2,.2) | |
1244 | part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0) | |
1245 | part.Transparency=.7 | |
1246 | part.BrickColor=BrickColor.new('Dark blue') | |
1247 | mesh=Instance.new('SpecialMesh',part) | |
1248 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1249 | mesh.Scale=Vector3.new(50,50,50) | |
1250 | part2=part:clone() | |
1251 | part2.Parent=mod3 | |
1252 | part2.BrickColor=BrickColor.new('Dark blue') | |
1253 | mesh2=mesh:clone() | |
1254 | mesh2.Parent=part2 | |
1255 | mesh2.Scale=Vector3.new(30,30,30) | |
1256 | part3=part:clone() | |
1257 | part3.BrickColor = BrickColor.new("Really black") | |
1258 | part3.Parent=mod3 | |
1259 | part3.TopSurface=0 | |
1260 | part3.BottomSurface=0 | |
1261 | part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0) | |
1262 | mesh3=Instance.new('SpecialMesh',part3) | |
1263 | mesh3.MeshType = 3 | |
1264 | mesh3.Scale=Vector3.new(20,20,20) | |
1265 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,100))do | |
1266 | if v:FindFirstChild('Humanoid') then | |
1267 | v.Humanoid.PlatformStand = true | |
1268 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 1000 | |
1269 | local damfam = 1000 | |
1270 | v.Humanoid.Health = v.Humanoid.Health-damfam | |
1271 | local CF = v.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1272 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1273 | end | |
1274 | end | |
1275 | coroutine.resume(coroutine.create(function() | |
1276 | for i=0,3.8,0.05 do | |
1277 | wait() | |
1278 | part.CFrame=part.CFrame | |
1279 | part.Transparency=i | |
1280 | mesh.Scale=mesh.Scale+Vector3.new(5,5,5) | |
1281 | part2.CFrame=part2.CFrame | |
1282 | part2.Transparency=i | |
1283 | mesh2.Scale=mesh2.Scale+Vector3.new(2,2,2) | |
1284 | part3.CFrame=part3.CFrame | |
1285 | part3.Transparency=i | |
1286 | mesh3.Scale=mesh3.Scale+Vector3.new(3,3,3) | |
1287 | end | |
1288 | end)) | |
1289 | end | |
1290 | ---------------------------------------------------- | |
1291 | ||
1292 | local acos = math.acos | |
1293 | local sqrt = math.sqrt | |
1294 | local Vec3 = Vector3.new | |
1295 | local fromAxisAngle = CFrame.fromAxisAngle | |
1296 | ||
1297 | local function toAxisAngle(CFr) | |
1298 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1299 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1300 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1301 | A = A == 0 and 0.00001 or A | |
1302 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1303 | B = B == 0 and 0.00001 or B | |
1304 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1305 | C = C == 0 and 0.00001 or C | |
1306 | local x = (R21-R12)/sqrt(A) | |
1307 | local y = (R02-R20)/sqrt(B) | |
1308 | local z = (R10-R01)/sqrt(C) | |
1309 | return Vec3(x,y,z),Angle | |
1310 | end | |
1311 | ||
1312 | function ApplyTrig(Num,Func) | |
1313 | local Min,Max = Func(0),Func(1) | |
1314 | local i = Func(Num) | |
1315 | return (i-Min)/(Max-Min) | |
1316 | --[[if Func == "sin" then | |
1317 | return (math.sin((1-Num)*math.pi)+1)/2 | |
1318 | elseif Func == "cos" then | |
1319 | return (math.cos((1-Num)*math.pi)+1)/2 | |
1320 | end]] | |
1321 | end | |
1322 | ||
1323 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1324 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1325 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1326 | end | |
1327 | ||
1328 | function Crater(Torso,Radius) | |
1329 | chatServ:Chat(hed, "Just die!", 2) | |
1330 | Spawn(function() | |
1331 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1332 | local Ignore = {} | |
1333 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1334 | if v.Character ~= nil then | |
1335 | Ignore[#Ignore+1] = v.Character | |
1336 | end | |
1337 | end | |
1338 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1339 | if Hit == nil then return end | |
1340 | local Parts = {} | |
1341 | for i = 1,360,10 do | |
1342 | local P = Instance.new("Part",Torso.Parent) | |
1343 | P.Anchored = true | |
1344 | P.FormFactor = "Custom" | |
1345 | P.BrickColor = Hit.BrickColor | |
1346 | P.Material = Hit.Material | |
1347 | P.TopSurface = "Smooth" | |
1348 | P.BottomSurface = "Smooth" | |
1349 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1350 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1351 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
1352 | if math.random(0,5) == 0 then -- rubble | |
1353 | local P = Instance.new("Part",Torso.Parent) | |
1354 | P.Anchored = true | |
1355 | P.FormFactor = "Custom" | |
1356 | P.BrickColor = Hit.BrickColor | |
1357 | P.Material = Hit.Material | |
1358 | P.TopSurface = "Smooth" | |
1359 | P.BottomSurface = "Smooth" | |
1360 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1361 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1362 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
1363 | end | |
1364 | end | |
1365 | for i = 0,1,0.05 do | |
1366 | for i2,v in pairs(Parts) do | |
1367 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1368 | end | |
1369 | wait(0.02) | |
1370 | end | |
1371 | for i,v in pairs(Parts) do | |
1372 | if v[1].Size.X > 2.1 then | |
1373 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1374 | end | |
1375 | v[1].Anchored = false | |
1376 | end | |
1377 | for i = 0,1,0.05 do | |
1378 | for i2,v in pairs(Parts) do | |
1379 | v[1].Transparency = i | |
1380 | if i == 1 then | |
1381 | v[1]:Destroy() | |
1382 | elseif i >= 0.25 then | |
1383 | v[1].CanCollide = false | |
1384 | end | |
1385 | end | |
1386 | wait(0.02) | |
1387 | end | |
1388 | Parts = nil | |
1389 | end) | |
1390 | end | |
1391 | ||
1392 | ---------------------------------------------------- | |
1393 | mouse.KeyDown:connect(function(key) | |
1394 | if key == "r" then | |
1395 | if Debounces.CanAttack == true then | |
1396 | chatServ:Chat(hed, "Take..", 2) | |
1397 | Debounces.CanAttack = false | |
1398 | Debounces.on = true | |
1399 | Debounces.NoIdl = true | |
1400 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
1401 | hit = ht.Parent | |
1402 | if ht and hit:IsA("Model") then | |
1403 | if hit:FindFirstChild("Humanoid") then | |
1404 | if hit.Name ~= p.Name then | |
1405 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1406 | Debounces.Slashed = true]]-- | |
1407 | local damfam = 500 | |
1408 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
1409 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1410 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1411 | wait(1) | |
1412 | --Debounces.Slashed = false | |
1413 | --end | |
1414 | end | |
1415 | end | |
1416 | elseif ht and hit:IsA("Hat") then | |
1417 | if hit.Parent.Name ~= p.Name then | |
1418 | if hit.Parent:FindFirstChild("Humanoid") then | |
1419 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1420 | Debounces.Slashed = true]]-- | |
1421 | local damfam = 500 | |
1422 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-damfam | |
1423 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1424 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1425 | wait(1) | |
1426 | --Debounces.Slashed = false | |
1427 | end | |
1428 | end | |
1429 | end | |
1430 | end) | |
1431 | q = Instance.new("Sound",hed) | |
1432 | q.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
1433 | q.Pitch = 0.85 | |
1434 | q.Looped = false | |
1435 | q1 = Instance.new("Sound",hed) | |
1436 | q1.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
1437 | q1.Pitch = 0.85 | |
1438 | q1.Looped = false | |
1439 | q:Play() | |
1440 | q1:Play() | |
1441 | for i = 1,10 do | |
1442 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4) | |
1443 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4) | |
1444 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4) | |
1445 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
1446 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
1447 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
1448 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5) | |
1449 | if Debounces.on == false then break end | |
1450 | wait() | |
1451 | end | |
1452 | chatServ:Chat(hed, "This!", 2) | |
1453 | n = Instance.new("Sound",hed) | |
1454 | n.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1455 | n.Pitch = 0.94 | |
1456 | n.Looped = false | |
1457 | n1 = Instance.new("Sound",hed) | |
1458 | n1.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1459 | n1.Pitch = 0.94 | |
1460 | n1.Looped = false | |
1461 | n:Play() | |
1462 | n1:Play() | |
1463 | b = Instance.new("Sound",hed) | |
1464 | b.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
1465 | b.Pitch = 0.94 | |
1466 | b.Looped = false | |
1467 | b1 = Instance.new("Sound",hed) | |
1468 | b1.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
1469 | b1.Pitch = 0.94 | |
1470 | b1.Looped = false | |
1471 | b:Play() | |
1472 | b1:Play() | |
1473 | for i = 1,6 do | |
1474 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5) | |
1475 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5) | |
1476 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5) | |
1477 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5) | |
1478 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5) | |
1479 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5) | |
1480 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5) | |
1481 | if Debounces.on == false then break end | |
1482 | wait() | |
1483 | end | |
1484 | wait(.01) | |
1485 | to:disconnect() | |
1486 | q:Destroy() | |
1487 | q1:Destroy() | |
1488 | n:Destroy() | |
1489 | n1:Destroy() | |
1490 | if Debounces.CanAttack == false then | |
1491 | Debounces.CanAttack = true | |
1492 | Debounces.on = false | |
1493 | Debounces.NoIdl = false | |
1494 | end | |
1495 | end | |
1496 | end | |
1497 | end) | |
1498 | ---------------------------------------------------- | |
1499 | mouse.Button1Down:connect(function() | |
1500 | if Debounces.CanAttack == true then | |
1501 | Debounces.CanAttack = false | |
1502 | Debounces.on = true | |
1503 | Debounces.NoIdl = true | |
1504 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
1505 | hit = ht.Parent | |
1506 | if ht and hit:IsA("Model") then | |
1507 | if hit:FindFirstChild("Humanoid") then | |
1508 | if hit.Name ~= p.Name then | |
1509 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1510 | Debounces.Slashed = true]]-- | |
1511 | local damfam = 999999 | |
1512 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
1513 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1514 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1515 | wait(1) | |
1516 | --Debounces.Slashed = false | |
1517 | --end | |
1518 | end | |
1519 | end | |
1520 | elseif ht and hit:IsA("Hat") then | |
1521 | if hit.Parent.Name ~= p.Name then | |
1522 | if hit.Parent:FindFirstChild("Humanoid") then | |
1523 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1524 | Debounces.Slashed = true]]-- | |
1525 | local damfam = 300 | |
1526 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-damfam | |
1527 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1528 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1529 | wait(1) | |
1530 | --Debounces.Slashed = false | |
1531 | end | |
1532 | end | |
1533 | end | |
1534 | end) | |
1535 | for i = 1, 10 do | |
1536 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(21), math.rad(75), math.rad(50)), 0.2) | |
1537 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-18)), 0.2) | |
1538 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5) | |
1539 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5) | |
1540 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
1541 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
1542 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1543 | if Debounces.on == false then break end | |
1544 | wait() | |
1545 | end | |
1546 | z = Instance.new("Sound",hed) | |
1547 | z.SoundId = "rbxassetid://160069154" | |
1548 | z.Looped = false | |
1549 | z.Pitch = .9 | |
1550 | z1 = Instance.new("Sound",hed) | |
1551 | z1.SoundId = "rbxassetid://160069154" | |
1552 | z1.Looped = false | |
1553 | z1.Pitch = .9 | |
1554 | wait(0.01) | |
1555 | z:Play() | |
1556 | z1:Play() | |
1557 | for i = 1, 7 do | |
1558 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), 0.2) | |
1559 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2,.9,-1) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.5) | |
1560 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5) | |
1561 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5) | |
1562 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5) | |
1563 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5) | |
1564 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1565 | if Debounces.on == false then break end | |
1566 | wait() | |
1567 | end | |
1568 | for i = 1, 7 do | |
1569 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(50)), 0.4) | |
1570 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.4) | |
1571 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5) | |
1572 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5) | |
1573 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
1574 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
1575 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1576 | if Debounces.on == false then break end | |
1577 | wait() | |
1578 | end | |
1579 | z = Instance.new("Sound",hed) | |
1580 | z.SoundId = "rbxassetid://168586621" | |
1581 | z.Looped = false | |
1582 | z.Pitch = 1 | |
1583 | z1 = Instance.new("Sound",hed) | |
1584 | z1.SoundId = "rbxassetid://168586621" | |
1585 | z1.Looped = false | |
1586 | z1.Pitch = 1 | |
1587 | wait(0.01) | |
1588 | z:Play() | |
1589 | z1:Play() | |
1590 | for i = 1, 7 do | |
1591 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(10)), 0.5) | |
1592 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-18)), 0.4) | |
1593 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5) | |
1594 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5) | |
1595 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5) | |
1596 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5) | |
1597 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(-110), math.rad(-90), math.rad(20)), 1) | |
1598 | if Debounces.on == false then break end | |
1599 | wait() | |
1600 | end | |
1601 | to:disconnect() | |
1602 | if Debounces.CanAttack == false then | |
1603 | Debounces.CanAttack = true | |
1604 | Debounces.on = false | |
1605 | Debounces.NoIdl = false | |
1606 | end | |
1607 | end | |
1608 | end) | |
1609 | ---------------------------------------------------- | |
1610 | Sit = false | |
1611 | ||
1612 | local DomFold = Instance.new("Folder") | |
1613 | DomFold.Parent = char | |
1614 | ||
1615 | mouse.KeyDown:connect(function(key) | |
1616 | if key == "v" then | |
1617 | if Sit == false then | |
1618 | Sit = true | |
1619 | hum.WalkSpeed = 0.001 | |
1620 | chatServ:Chat(hed, "Sigh..", 2) | |
1621 | stanceToggle = "Sitting" | |
1622 | repeat hum.Health = hum.Health+1337 wait() until Sit == false | |
1623 | elseif Sit == true then | |
1624 | Sit = false | |
1625 | hum.WalkSpeed = 80 | |
1626 | stanceToggle = "Normal" | |
1627 | local say = math.random(1,10) | |
1628 | if say == 1 then | |
1629 | chatServ:Chat(hed, "Lets get started..", 2) | |
1630 | elseif say == 2 then | |
1631 | chatServ:Chat(hed, "Wakey, wakey!", 2) | |
1632 | elseif say == 3 then | |
1633 | chatServ:Chat(hed, "Time for a massacre!", 2) | |
1634 | elseif say == 4 then | |
1635 | chatServ:Chat(hed, "I feel... refreshed.", 2) | |
1636 | elseif say == 5 then | |
1637 | chatServ:Chat(hed, "Nap time is over!", 2) | |
1638 | elseif say == 6 then | |
1639 | chatServ:Chat(hed, "Prepare yourself..", 2) | |
1640 | elseif say == 7 then | |
1641 | chatServ:Chat(hed, "It's not over..", 2) | |
1642 | elseif say == 8 then | |
1643 | chatServ:Chat(hed, "Hmph.", 2) | |
1644 | elseif say == 9 then | |
1645 | chatServ:Chat(hed, "Ready to meet your maker?", 2) | |
1646 | elseif say == 10 then | |
1647 | chatServ:Chat(hed, "Huh..", 2) | |
1648 | end | |
1649 | end | |
1650 | end | |
1651 | end) | |
1652 | ---------------------------------------------------- | |
1653 | mouse.KeyDown:connect(function(key) | |
1654 | if key == "t" then | |
1655 | if Debounces.CanAttack == true then | |
1656 | chatServ:Chat(hed, "How about...", 2) | |
1657 | Debounces.CanAttack = false | |
1658 | Debounces.on = true | |
1659 | Debounces.NoIdl = true | |
1660 | for i = 1, 15 do | |
1661 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4) | |
1662 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4) | |
1663 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4) | |
1664 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
1665 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4) | |
1666 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4) | |
1667 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1) | |
1668 | if Debounces.on == false then break end | |
1669 | wait() | |
1670 | end | |
1671 | chatServ:Chat(hed, "THIS!", 2) | |
1672 | Spawn(function() | |
1673 | local Parts = {} | |
1674 | for Y = -5,5 do | |
1675 | local P = Instance.new("Part",char) | |
1676 | P.Anchored = true | |
1677 | P.FormFactor = "Custom" | |
1678 | P.CanCollide = false | |
1679 | P.Size = Vector3.new(1,2,1) | |
1680 | P.TopSurface = "SmoothNoOutlines" | |
1681 | P.BottomSurface = "SmoothNoOutlines" | |
1682 | P.BrickColor = BrickColor.new("Dark blue") | |
1683 | P.Material = "Neon" | |
1684 | P.Name = tostring(Y) | |
1685 | local i = (Y+5)/(10) | |
1686 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
1687 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0) | |
1688 | P.Touched:connect(function(ht) | |
1689 | local hit = ht.Parent | |
1690 | if hit:FindFirstChild("Humanoid") then | |
1691 | local damfam = 400 | |
1692 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
1693 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1694 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1695 | end | |
1696 | end) | |
1697 | s = Instance.new("Sound",P) | |
1698 | s.SoundId = "rbxassetid://228343271" | |
1699 | s.Volume = .7 | |
1700 | s.Pitch = 0.9 | |
1701 | s:Play() | |
1702 | P.Touched:connect(function(ht) | |
1703 | hit = ht.Parent | |
1704 | if ht and hit:IsA("Model") then | |
1705 | if hit:FindFirstChild("Humanoid") then | |
1706 | if hit.Name ~= p.Name then | |
1707 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1708 | Debounces.Slashed = true]]-- | |
1709 | local damfam = 400 | |
1710 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
1711 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1712 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1713 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1714 | wait(1) | |
1715 | --Debounces.Slashed = false | |
1716 | --end | |
1717 | end | |
1718 | end | |
1719 | elseif ht and hit:IsA("Hat") then | |
1720 | if hit.Parent.Name ~= p.Name then | |
1721 | if hit.Parent:FindFirstChild("Humanoid") then | |
1722 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1723 | Debounces.Slashed = true]]-- | |
1724 | local damfam = 400 | |
1725 | v.Humanoid.Health = v.Humanoid.Health-damfam | |
1726 | local CF = v.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1727 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1728 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1729 | wait(1) | |
1730 | --Debounces.Slashed = false | |
1731 | --end | |
1732 | end | |
1733 | end | |
1734 | end | |
1735 | end) | |
1736 | Parts[#Parts+1] = P | |
1737 | end | |
1738 | local BREAKIT = false | |
1739 | local CParts = {} | |
1740 | local Rocks = {} | |
1741 | local LastPos = nil | |
1742 | for i = 1,70 do | |
1743 | for i2,v in pairs(Parts) do | |
1744 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
1745 | local cf = v.CFrame | |
1746 | v.Size = v.Size+Vector3.new(0.4,0.35,0) | |
1747 | v.CFrame = cf | |
1748 | v.Transparency = v.Transparency+0.02 | |
1749 | if v.Transparency >= 0.975 then BREAKIT = true end | |
1750 | if v.Name == "0" then | |
1751 | local Ignore = {} | |
1752 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1753 | if v.Character ~= nil then | |
1754 | Ignore[#Ignore+1] = v.Character | |
1755 | end | |
1756 | end | |
1757 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0)) | |
1758 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
1759 | if Hit ~= nil then | |
1760 | if #Rocks == 0 then | |
1761 | for i = 1,5 do | |
1762 | local P = Instance.new("Part",char) | |
1763 | Rocks[#Rocks+1] = P | |
1764 | P.Anchored = true | |
1765 | P.FormFactor = "Custom" | |
1766 | P.BrickColor = Hit.BrickColor | |
1767 | P.Material = Hit.Material | |
1768 | P.TopSurface = "Smooth" | |
1769 | P.BottomSurface = "Smooth" | |
1770 | P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100) | |
1771 | end | |
1772 | end | |
1773 | for i,P in pairs(Rocks) do | |
1774 | P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
1775 | end | |
1776 | local P = Instance.new("Part",char) | |
1777 | CParts[#CParts+1] = {P,tick()} | |
1778 | P.Anchored = true | |
1779 | P.FormFactor = "Custom" | |
1780 | P.BrickColor = Hit.BrickColor | |
1781 | P.Material = Hit.Material | |
1782 | P.TopSurface = "Smooth" | |
1783 | P.BottomSurface = "Smooth" | |
1784 | P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100) | |
1785 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
1786 | Pos = Pos.p | |
1787 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
1788 | local P = P:Clone() | |
1789 | CParts[#CParts+1] = {P,tick()} | |
1790 | P.Parent = char | |
1791 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
1792 | Pos = Pos.p | |
1793 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20))) | |
1794 | if LastPos ~= nil then | |
1795 | local P = P:Clone() | |
1796 | CParts[#CParts+1] = {P,tick()} | |
1797 | P.Parent = char | |
1798 | P.BrickColor = BrickColor.new("Dark blue") | |
1799 | P.Material = "Neon" | |
1800 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
1801 | Pos = Pos.p | |
1802 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
1803 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25) | |
1804 | --P.Velocity = Vector3.new(0,-1000,0) | |
1805 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
1806 | end | |
1807 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
1808 | end | |
1809 | end | |
1810 | end | |
1811 | if BREAKIT then break end | |
1812 | wait(0.002) | |
1813 | end | |
1814 | for i,v in pairs(Rocks) do | |
1815 | CParts[#CParts+1] = {v,tick()} | |
1816 | end | |
1817 | for i,v in pairs(Parts) do | |
1818 | v:Destroy() | |
1819 | end | |
1820 | Parts = nil | |
1821 | while true do | |
1822 | local t = tick() | |
1823 | local p = nil | |
1824 | for i,v in pairs(CParts) do | |
1825 | if t-v[2] > 4 then | |
1826 | v[1].Transparency = v[1].Transparency+0.05 | |
1827 | if v[1].Transparency >= 1 then | |
1828 | v[1]:Destroy() | |
1829 | CParts[i] = nil | |
1830 | end | |
1831 | end | |
1832 | p = v | |
1833 | end | |
1834 | if p == nil then break end | |
1835 | wait(0.002) | |
1836 | end | |
1837 | for i,v in pairs(CParts) do | |
1838 | v:Destroy() | |
1839 | end | |
1840 | CParts = {} | |
1841 | end) | |
1842 | for i = 1, 20 do | |
1843 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.4) | |
1844 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.4) | |
1845 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.4) | |
1846 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4) | |
1847 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4) | |
1848 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4) | |
1849 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1) | |
1850 | if Debounces.on == false then break end | |
1851 | wait() | |
1852 | end | |
1853 | if Debounces.CanAttack == false then | |
1854 | Debounces.CanAttack = true | |
1855 | Debounces.on = false | |
1856 | Debounces.NoIdl = false | |
1857 | end | |
1858 | end | |
1859 | end | |
1860 | end) | |
1861 | ---------------------------------------------------- | |
1862 | mouse.KeyDown:connect(function(key) | |
1863 | if key == "e" then | |
1864 | if Debounces.CanAttack == true then | |
1865 | Debounces.CanAttack = false | |
1866 | Debounces.on = true | |
1867 | Debounces.NoIdl = true | |
1868 | for i = 1, 10 do | |
1869 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.7, 0) * CFrame.Angles(math.rad(90),math.rad(50),math.rad(90)), 0.4) | |
1870 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4) | |
1871 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1872 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
1873 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
1874 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
1875 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1876 | if Debounces.on == false then break end | |
1877 | wait() | |
1878 | end | |
1879 | local HandCF = CFrame.new(char.Absolution.Handle.Position - Vector3.new(0,8.8,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1880 | local rng = Instance.new("Part", char.Absolution.Handle) | |
1881 | rng.Anchored = true | |
1882 | rng.BrickColor = BrickColor.new("Dark blue") | |
1883 | rng.CanCollide = true | |
1884 | rng.FormFactor = 3 | |
1885 | rng.Name = "Ring" | |
1886 | rng.Size = Vector3.new(20, 10, 20) | |
1887 | rng.CanCollide = false | |
1888 | rng.Transparency = 0.35 | |
1889 | rng.TopSurface = 0 | |
1890 | rng.BottomSurface = 0 | |
1891 | rng.CFrame = HandCF | |
1892 | local rngm = Instance.new("SpecialMesh", rng) | |
1893 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1894 | rngm.Scale = Vector3.new(1, 1, 2) | |
1895 | x = Instance.new("Sound", hed) | |
1896 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
1897 | x.Looped = false | |
1898 | x.Pitch = .7 | |
1899 | x.Volume = 1 | |
1900 | x1 = Instance.new("Sound", hed) | |
1901 | x1.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
1902 | x1.Looped = false | |
1903 | x1.Pitch = .7 | |
1904 | x1.Volume = 1 | |
1905 | x:Play() | |
1906 | x1:Play() | |
1907 | rngto = rng.Touched:connect(function(ht) | |
1908 | hit = ht.Parent | |
1909 | if ht and hit:IsA("Model") then | |
1910 | if hit:FindFirstChild("Humanoid") then | |
1911 | if hit.Name ~= p.Name then | |
1912 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1913 | Debounces.Slashed = true]]-- | |
1914 | local damfam = 999999 | |
1915 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
1916 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1917 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1918 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1919 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -420 | |
1920 | --Debounces.Slashed = false | |
1921 | --end | |
1922 | end | |
1923 | end | |
1924 | elseif ht and hit:IsA("Hat") then | |
1925 | if hit.Parent.Name ~= p.Name then | |
1926 | if hit.Parent:FindFirstChild("Humanoid") then | |
1927 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1928 | Debounces.Slashed = true]]-- | |
1929 | local damfam = 300 | |
1930 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
1931 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1932 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1933 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1934 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120 | |
1935 | --Debounces.Slashed = false | |
1936 | end | |
1937 | end | |
1938 | end | |
1939 | end) | |
1940 | coroutine.wrap(function() | |
1941 | for i = 1, 60, 2 do | |
1942 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
1943 | rng.Size = rngm.Scale | |
1944 | rng.CFrame = HandCF | |
1945 | rng.Transparency = i/60 | |
1946 | wait() | |
1947 | end | |
1948 | wait() | |
1949 | rng:Destroy() | |
1950 | end)() | |
1951 | for i = 1, 18 do | |
1952 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.4) | |
1953 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4) | |
1954 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1955 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
1956 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
1957 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
1958 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, 0.2) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1959 | if Debounces.on == false then break end | |
1960 | wait() | |
1961 | end | |
1962 | x:Destroy() | |
1963 | x1:Destroy() | |
1964 | if Debounces.CanAttack == false then | |
1965 | Debounces.CanAttack = true | |
1966 | Debounces.on = false | |
1967 | Debounces.NoIdl = false | |
1968 | end | |
1969 | end | |
1970 | end | |
1971 | end) | |
1972 | ---------------------------------------------------- | |
1973 | mouse.KeyDown:connect(function(key) | |
1974 | if key == "y" then | |
1975 | if Debounces.CanAttack == true then | |
1976 | Debounces.CanAttack = false | |
1977 | Debounces.on = true | |
1978 | Debounces.NoIdl = true | |
1979 | for i = 1, 8 do | |
1980 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
1981 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.2) | |
1982 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
1983 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2) | |
1984 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
1985 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
1986 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
1987 | if Debounces.on == false then break end | |
1988 | wait() | |
1989 | end | |
1990 | x = Instance.new("Sound",char) | |
1991 | x.SoundId = "rbxassetid://228343271" | |
1992 | x.Pitch = 1 | |
1993 | x.Volume = .8 | |
1994 | wait(.1) | |
1995 | x:Play() | |
1996 | Debounces.on = false | |
1997 | Debounces.Here = false | |
1998 | shot = shot + 1 | |
1999 | local rng = Instance.new("Part", char) | |
2000 | rng.Anchored = true | |
2001 | rng.BrickColor = BrickColor.new("Dark blue") | |
2002 | rng.CanCollide = false | |
2003 | rng.FormFactor = 3 | |
2004 | rng.Name = "Ring" | |
2005 | rng.Size = Vector3.new(1, 1, 1) | |
2006 | rng.Transparency = 0.35 | |
2007 | rng.TopSurface = 0 | |
2008 | rng.BottomSurface = 0 | |
2009 | rng2 = rng:clone() | |
2010 | rng3 = rng2:clone() | |
2011 | rng4 = rng2:clone() | |
2012 | local rngm = Instance.new("SpecialMesh", rng) | |
2013 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2014 | rngm.Scale = Vector3.new(10, 10, 1) | |
2015 | rngm2 = rngm:clone() | |
2016 | rngm2.Scale = Vector3.new(5, 5, 1) | |
2017 | rngm3=rngm2:clone() | |
2018 | rngm3.Parent = rng3 | |
2019 | rngm3.Scale = Vector3.new(8, 8, 1) | |
2020 | rngm4 = rngm2:clone() | |
2021 | rngm4.Parent = rng4 | |
2022 | rngm4.Scale = Vector3.new(6, 6, 1) | |
2023 | local bem = Instance.new("Part", char) | |
2024 | bem.Anchored = true | |
2025 | bem.BrickColor = BrickColor.new("Dark blue") | |
2026 | bem.CanCollide = false | |
2027 | bem.FormFactor = 3 | |
2028 | bem.Name = "Beam" .. shot | |
2029 | bem.Size = Vector3.new(1, 1, 1) | |
2030 | bem.Transparency = 0.35 | |
2031 | bem.TopSurface = 0 | |
2032 | bem.BottomSurface = 0 | |
2033 | local bemm = Instance.new("SpecialMesh", bem) | |
2034 | bemm.MeshType = 4 | |
2035 | bemm.Scale = Vector3.new(1, 4, 4) | |
2036 | local out = Instance.new("Part", char) | |
2037 | out.Anchored = true | |
2038 | out.BrickColor = BrickColor.new("Dark blue") | |
2039 | out.CanCollide = false | |
2040 | out.FormFactor = 3 | |
2041 | out.Name = "Out" | |
2042 | out.Size = Vector3.new(4, 4, 4) | |
2043 | out.Transparency = 0.35 | |
2044 | out.TopSurface = 0 | |
2045 | out.BottomSurface = 0 | |
2046 | local outm = Instance.new("SpecialMesh", out) | |
2047 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2048 | outm.Scale = Vector3.new(4, 4, 4) | |
2049 | local bnd = Instance.new("Part", char) | |
2050 | bnd.Anchored = true | |
2051 | bnd.BrickColor = BrickColor.new("Dark blue") | |
2052 | bnd.CanCollide = false | |
2053 | bnd.FormFactor = 3 | |
2054 | bnd.Name = "Bend" | |
2055 | bnd.Size = Vector3.new(1, 1, 1) | |
2056 | bnd.Transparency = 1 | |
2057 | bnd.TopSurface = 0 | |
2058 | bnd.BottomSurface = 0 | |
2059 | local bndm = Instance.new("SpecialMesh", bnd) | |
2060 | bndm.MeshType = 3 | |
2061 | bndm.Scale = Vector3.new(8, 8, 8) | |
2062 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2063 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2064 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2065 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2066 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2067 | rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0) | |
2068 | Debounces.Shewt = true | |
2069 | coroutine.wrap(function() | |
2070 | for i = 1, 20, 0.2 do | |
2071 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2072 | rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
2073 | rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1) | |
2074 | rng.Transparency = i/20 | |
2075 | rng3.Transparency = 1/16 | |
2076 | rng4.Transparency = i/12 | |
2077 | wait() | |
2078 | end | |
2079 | wait() | |
2080 | rng:Destroy() | |
2081 | end)() | |
2082 | if Debounces.Shewt == true then | |
2083 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2084 | hit = ht.Parent | |
2085 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2086 | if HasntTouched(hit.Name) == true and deb == false then | |
2087 | deb = true | |
2088 | coroutine.wrap(function() | |
2089 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2090 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2091 | local damfam = 666 | |
2092 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
2093 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
2094 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
2095 | end)() | |
2096 | table.insert(Touche, hit.Name) | |
2097 | deb = false | |
2098 | end | |
2099 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2100 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2101 | deb = true | |
2102 | coroutine.wrap(function() | |
2103 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2104 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2105 | wait(1) | |
2106 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2107 | end)() | |
2108 | table.insert(Touche, hit.Parent.Name) | |
2109 | deb = false | |
2110 | for i, v in pairs(Touche) do | |
2111 | print(v) | |
2112 | end | |
2113 | end | |
2114 | end | |
2115 | end) | |
2116 | end | |
2117 | for i = 0, 260, 8 do | |
2118 | bem.Size = Vector3.new(i, 2, 2) | |
2119 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2120 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2121 | bnd.Size = Vector3.new(1,1,1) | |
2122 | bndm.Scale = Vector3.new(8,8,8) | |
2123 | if i % 10 == 0 then | |
2124 | local newRng = rng2:Clone() | |
2125 | newRng.Parent = char | |
2126 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2127 | local newRngm = rngm2:clone() | |
2128 | newRngm.Parent=newRng | |
2129 | coroutine.wrap(function() | |
2130 | for i = 1, 10, 0.2 do | |
2131 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
2132 | newRng.Transparency = i/10 | |
2133 | wait() | |
2134 | end | |
2135 | wait() | |
2136 | newRng:Destroy() | |
2137 | end)() | |
2138 | end | |
2139 | wait() | |
2140 | end | |
2141 | wait() | |
2142 | Debounces.Shewt = false | |
2143 | bem:Destroy() | |
2144 | out:Destroy() | |
2145 | bnd:Destroy() | |
2146 | Debounces.Ready = false | |
2147 | for i, v in pairs(Touche) do | |
2148 | table.remove(Touche, i) | |
2149 | end | |
2150 | wait() | |
2151 | table.insert(Touche, char.Name) | |
2152 | Debounces.NoIdl = false | |
2153 | if Debounces.CanAttack == false then | |
2154 | Debounces.CanAttack = true | |
2155 | end | |
2156 | end | |
2157 | end | |
2158 | end) | |
2159 | ---------------------------------------------------- | |
2160 | sidz = {"231917888", "231917845", "231917806"} | |
2161 | ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1} | |
2162 | mouse.KeyDown:connect(function(key) | |
2163 | if key == "f" then | |
2164 | if Debounces.CanAttack == true then | |
2165 | Debounces.CanAttack = false | |
2166 | Debounces.on = true | |
2167 | Debounces.NoIdl = true | |
2168 | for i = 1, 5 do | |
2169 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.4) | |
2170 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.4) | |
2171 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
2172 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
2173 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2174 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2175 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2176 | if Debounces.on == false then break end | |
2177 | wait() | |
2178 | end | |
2179 | z = Instance.new("Sound",char) | |
2180 | z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)] | |
2181 | z.Pitch = ptz[math.random(1,#ptz)] | |
2182 | z.Volume = 1 | |
2183 | z1 = Instance.new("Sound",char) | |
2184 | z1.SoundId = z.SoundId | |
2185 | z1.Pitch = z.Pitch | |
2186 | z1.Volume = 1 | |
2187 | wait(1) | |
2188 | z:Play() | |
2189 | z1:Play() | |
2190 | chatServ:Chat(hed, "Die!", 2) | |
2191 | Stomp() | |
2192 | for i = 1, 10 do | |
2193 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.6) | |
2194 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.6) | |
2195 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
2196 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6) | |
2197 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
2198 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, -1.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
2199 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2200 | if Debounces.on == false then break end | |
2201 | wait() | |
2202 | end | |
2203 | if Debounces.CanAttack == false then | |
2204 | Debounces.CanAttack = true | |
2205 | Debounces.on = false | |
2206 | Debounces.NoIdl = false | |
2207 | end | |
2208 | end | |
2209 | end | |
2210 | end) | |
2211 | ---------------------------------------------------- | |
2212 | mouse.KeyDown:connect(function(key) | |
2213 | if key == "g" then | |
2214 | if Debounces.CanAttack == true then | |
2215 | Debounces.CanAttack = false | |
2216 | Debounces.on = true | |
2217 | Debounces.NoIdl = true | |
2218 | chrg = lleg.Touched:connect(function(ht) | |
2219 | hit = ht.Parent | |
2220 | if ht and hit:IsA("Model") then | |
2221 | if hit:FindFirstChild("Humanoid") then | |
2222 | if hit.Name ~= p.Name then | |
2223 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2224 | Debounces.Slashed = true]]-- | |
2225 | local damfam = 666 | |
2226 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
2227 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
2228 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
2229 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2230 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -200 | |
2231 | --Debounces.Slashed = false | |
2232 | --end | |
2233 | end | |
2234 | end | |
2235 | elseif ht and hit:IsA("Hat") then | |
2236 | if hit.Parent.Name ~= p.Name then | |
2237 | if hit.Parent:FindFirstChild("Humanoid") then | |
2238 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
2239 | Debounces.Slashed = true]]-- | |
2240 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
2241 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2242 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -200 | |
2243 | --Debounces.Slashed = false | |
2244 | end | |
2245 | end | |
2246 | end | |
2247 | end) | |
2248 | for i = 1, 14 do | |
2249 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.5) | |
2250 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.5) | |
2251 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.5) | |
2252 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5) | |
2253 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.8, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5) | |
2254 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5) | |
2255 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9) | |
2256 | if Debounces.on == false then break end | |
2257 | wait() | |
2258 | end | |
2259 | charge() | |
2260 | chatServ:Chat(hed, "Hurrah!", 2) | |
2261 | z = Instance.new("Sound",char) | |
2262 | z.SoundId = "rbxassetid://200632875" | |
2263 | z.Volume = 1 | |
2264 | z.Pitch = .8 | |
2265 | z1 = Instance.new("Sound",char) | |
2266 | z1.SoundId = "rbxassetid://200632875" | |
2267 | z1.Volume = 1 | |
2268 | z1.Pitch = .9 | |
2269 | z:Play() | |
2270 | z1:Play() | |
2271 | wait(1) | |
2272 | z:Destroy() | |
2273 | z1:Destroy() | |
2274 | chrg:disconnect() | |
2275 | if Debounces.CanAttack == false then | |
2276 | Debounces.CanAttack = true | |
2277 | Debounces.on = false | |
2278 | Debounces.NoIdl = false | |
2279 | end | |
2280 | end | |
2281 | end | |
2282 | end) | |
2283 | ---------------------------------------------------- | |
2284 | mouse.KeyDown:connect(function(key) | |
2285 | if key == "h" then | |
2286 | if Debounces.CanJoke == true then | |
2287 | Debounces.CanJoke = false | |
2288 | z = Instance.new("Sound", workspace) | |
2289 | z.SoundId = "rbxassetid://135017755" | |
2290 | z.Pitch = 1 | |
2291 | z.Volume = 5 | |
2292 | wait() | |
2293 | z:Play() | |
2294 | chatServ:Chat(hed, "How does it feel", 2) | |
2295 | wait(1.4) | |
2296 | chatServ:Chat(hed, "Knowing you have failed", 2) | |
2297 | wait(2) | |
2298 | chatServ:Chat(hed, "Those who depended on you?", 2) | |
2299 | wait(2) | |
2300 | z:Destroy() | |
2301 | if Debounces.CanJoke == false then | |
2302 | Debounces.CanJoke = true | |
2303 | end | |
2304 | end | |
2305 | end | |
2306 | end) | |
2307 | ---------------------------------------------------- | |
2308 | mouse.KeyDown:connect(function(key) | |
2309 | if key == "j" then | |
2310 | if Debounces.CanJoke == true then | |
2311 | Debounces.CanJoke = false | |
2312 | z = Instance.new("Sound",char) | |
2313 | z.SoundId = "rbxassetid://135017578" | |
2314 | chatServ:Chat(hed, "Can you feel your death approaching?", 2) | |
2315 | z.Pitch = .76 | |
2316 | z.Volume = 5 | |
2317 | wait() | |
2318 | z:Play() | |
2319 | wait(4) | |
2320 | z:Destroy() | |
2321 | if Debounces.CanJoke == false then | |
2322 | Debounces.CanJoke = true | |
2323 | end | |
2324 | end | |
2325 | end | |
2326 | end) | |
2327 | ---------------------------------------------------- | |
2328 | mouse.KeyDown:connect(function(key) | |
2329 | if key == "k" then | |
2330 | if Debounces.CanJoke == true then | |
2331 | Debounces.CanJoke = false | |
2332 | z = Instance.new("Sound", workspace) | |
2333 | z.SoundId = "rbxassetid://135014184" | |
2334 | z.Pitch = 1 | |
2335 | z.Volume = 5 | |
2336 | wait() | |
2337 | z:Play() | |
2338 | chatServ:Chat(hed, "All that you have known", 2) | |
2339 | wait(2.5) | |
2340 | chatServ:Chat(hed, "All that you have ever loved", 2) | |
2341 | wait(2.5) | |
2342 | chatServ:Chat(hed, "Shall die along with you!", 2) | |
2343 | wait(2.5) | |
2344 | z.Volume = 0 | |
2345 | z:Destroy() | |
2346 | if Debounces.CanJoke == false then | |
2347 | Debounces.CanJoke = true | |
2348 | end | |
2349 | end | |
2350 | end | |
2351 | end) | |
2352 | ---------------------------------------------------- | |
2353 | mouse.KeyDown:connect(function(key) | |
2354 | if key == "x" then | |
2355 | if Debounces.CanAttack == true then | |
2356 | Debounces.CanAttack = false | |
2357 | Debounces.NoIdl = true | |
2358 | Debounces.on = true | |
2359 | Debounces.ks = true | |
2360 | for i = 1, 5 do | |
2361 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6) | |
2362 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.7,.9,-.5)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(20)), 0.6) | |
2363 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
2364 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6) | |
2365 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.6) | |
2366 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.7, .6) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(0)), 0.6) | |
2367 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2368 | if Debounces.on == false then break end | |
2369 | wait() | |
2370 | end | |
2371 | z = Instance.new("Sound",hed) | |
2372 | z.SoundId = "rbxassetid://169445092" | |
2373 | z.Volume = 1 | |
2374 | wait(0.1) | |
2375 | z:Play() | |
2376 | kik = rleg.Touched:connect(function(ht) | |
2377 | hit = ht.Parent | |
2378 | if ht and hit:IsA("Model") then | |
2379 | if hit:FindFirstChild("Humanoid") then | |
2380 | if hit.Name ~= p.Name then | |
2381 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2382 | Debounces.Slashed = true]]-- | |
2383 | if Debounces.ks==true then | |
2384 | z = Instance.new("Sound",hed) | |
2385 | z.SoundId = "rbxassetid://169380525" | |
2386 | z.Volume = 1 | |
2387 | z:Play() | |
2388 | Debounces.ks=false | |
2389 | end | |
2390 | local damfam = 1 | |
2391 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
2392 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
2393 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
2394 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2395 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -7000 | |
2396 | --Debounces.Slashed = false | |
2397 | --end | |
2398 | end | |
2399 | end | |
2400 | elseif ht and hit:IsA("Hat") then | |
2401 | if hit.Parent.Name ~= p.Name then | |
2402 | if hit.Parent:FindFirstChild("Humanoid") then | |
2403 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2404 | Debounces.Slashed = true]]-- | |
2405 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
2406 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2407 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -00 | |
2408 | --Debounces.Slashed = false | |
2409 | --end | |
2410 | end | |
2411 | end | |
2412 | end | |
2413 | end) | |
2414 | chatServ:Chat(hed, "Outta my way!", 2) | |
2415 | for i = 1, 8 do | |
2416 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2417 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.7) | |
2418 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7) | |
2419 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7) | |
2420 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
2421 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.6, -1.4) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.7) | |
2422 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2423 | if Debounces.on == false then break end | |
2424 | wait() | |
2425 | end | |
2426 | kik:disconnect() | |
2427 | if Debounces.CanAttack == false then | |
2428 | Debounces.CanAttack = true | |
2429 | Debounces.on = false | |
2430 | Debounces.NoIdl = false | |
2431 | end | |
2432 | end | |
2433 | end | |
2434 | end) | |
2435 | ---------------------------------------------------- | |
2436 | local slow = false | |
2437 | mouse.KeyDown:connect(function(key) | |
2438 | if key == "n" then | |
2439 | if not slow then | |
2440 | slow = true | |
2441 | hum.WalkSpeed = 8 | |
2442 | else | |
2443 | slow = false | |
2444 | hum.WalkSpeed = 80 | |
2445 | end | |
2446 | end | |
2447 | end) | |
2448 | ||
2449 | mouse.KeyDown:connect(function(key) | |
2450 | if key == "c" then | |
2451 | if Debounces.CanAttack == true then | |
2452 | Debounces.CanAttack = false | |
2453 | Debounces.NoIdl = true | |
2454 | Debounces.on = true | |
2455 | SIDZ = {"231917744", "231917742"} | |
2456 | PTZ = {0.7, 0.8, 0.9, 1} | |
2457 | for i = 1, 20 do | |
2458 | wait() | |
2459 | for i,v in pairs(char.Absolution:children()) do | |
2460 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2461 | v.Transparency = v.Transparency + 0.05 | |
2462 | end | |
2463 | end | |
2464 | end | |
2465 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2466 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2467 | local List = {} | |
2468 | for i,v in pairs(workspace:GetChildren())do | |
2469 | if v:IsA("Model")then | |
2470 | if v:findFirstChild("Torso")then | |
2471 | if v ~= char then | |
2472 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2473 | table.insert(List,v) | |
2474 | end | |
2475 | end | |
2476 | end | |
2477 | end | |
2478 | end | |
2479 | return List | |
2480 | end | |
2481 | GroundPound() | |
2482 | for i = 1, 5 do | |
2483 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2484 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2485 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2486 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2487 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2488 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2489 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2490 | if Debounces.on == false then break end | |
2491 | wait() | |
2492 | end | |
2493 | GroundPound() | |
2494 | for i = 1, 5 do | |
2495 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2496 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2497 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2498 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2499 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2500 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2501 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2502 | if Debounces.on == false then break end | |
2503 | wait() | |
2504 | end | |
2505 | GroundPound() | |
2506 | for i = 1, 5 do | |
2507 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2508 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2509 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2510 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2511 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2512 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2513 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2514 | if Debounces.on == false then break end | |
2515 | wait() | |
2516 | end | |
2517 | GroundPound() | |
2518 | for i = 1, 5 do | |
2519 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2520 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2521 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2522 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2523 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2524 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2525 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2526 | if Debounces.on == false then break end | |
2527 | wait() | |
2528 | end | |
2529 | GroundPound() | |
2530 | for i = 1, 5 do | |
2531 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2532 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2533 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2534 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2535 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2536 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2537 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2538 | if Debounces.on == false then break end | |
2539 | wait() | |
2540 | end | |
2541 | GroundPound() | |
2542 | for i = 1, 5 do | |
2543 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2544 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2545 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2546 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2547 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2548 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2549 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2550 | if Debounces.on == false then break end | |
2551 | wait() | |
2552 | end | |
2553 | for i = 1, 8 do | |
2554 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4) | |
2555 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4) | |
2556 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
2557 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
2558 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2559 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2560 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2561 | if Debounces.on == false then break end | |
2562 | wait() | |
2563 | end | |
2564 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do | |
2565 | if v:FindFirstChild('Humanoid') then | |
2566 | local damfam = math.random(9000,99999) | |
2567 | v.Humanoid.Health = v.Humanoid.Health-damfam | |
2568 | local CF = v.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
2569 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
2570 | v.Humanoid.PlatformStand = true | |
2571 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
2572 | end | |
2573 | end | |
2574 | x = Instance.new("Sound",char) | |
2575 | x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)] | |
2576 | x.Pitch = PTZ[math.random(1,#PTZ)] | |
2577 | x.Volume = 1 | |
2578 | wait(0.1) | |
2579 | x:Play() | |
2580 | Crater(hed,20) | |
2581 | for i = 1, 6 do | |
2582 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6) | |
2583 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6) | |
2584 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6) | |
2585 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6) | |
2586 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
2587 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
2588 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2589 | if Debounces.on == false then break end | |
2590 | wait() | |
2591 | end | |
2592 | if Debounces.CanAttack == false then | |
2593 | Debounces.CanAttack = true | |
2594 | Debounces.on = false | |
2595 | Debounces.NoIdl = false | |
2596 | for i = 1, 20 do | |
2597 | wait() | |
2598 | for i,v in pairs(char.Absolution:children()) do | |
2599 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2600 | v.Transparency = v.Transparency - 0.05 | |
2601 | end | |
2602 | end | |
2603 | end | |
2604 | end | |
2605 | end | |
2606 | end | |
2607 | end) | |
2608 | ----------------------------------------------------176349813 | |
2609 | mouse.KeyDown:connect(function(key) | |
2610 | if key == "b" then | |
2611 | hum.WalkSpeed = 0.01 | |
2612 | if Debounces.CanAttack == true then | |
2613 | Debounces.CanAttack = false | |
2614 | Debounces.NoIdl = true | |
2615 | Debounces.on = true | |
2616 | for i = 1,5 do | |
2617 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
2618 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
2619 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
2620 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
2621 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1) | |
2622 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1) | |
2623 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2624 | if Debounces.on == false then break end | |
2625 | wait() | |
2626 | end | |
2627 | wait(1) | |
2628 | v = Instance.new("Sound") | |
2629 | v.SoundId = "rbxassetid://528145698" | |
2630 | v.Parent = char | |
2631 | v.Looped = false | |
2632 | v.Pitch = 1.04 | |
2633 | v.Volume = 7 | |
2634 | wait(0.1) | |
2635 | v:Play() | |
2636 | ||
2637 | if Daytime == true then | |
2638 | Daytime = false | |
2639 | l.TimeOfDay = 24 | |
2640 | else | |
2641 | Daytime = true | |
2642 | l.TimeOfDay = 12 | |
2643 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
2644 | end | |
2645 | ||
2646 | local Shockwave = function() | |
2647 | local rng1 = Instance.new("Part", char) | |
2648 | rng1.Anchored = true | |
2649 | rng1.BrickColor = BrickColor.new("Dark blue") | |
2650 | rng1.Material = "Neon" | |
2651 | rng1.CanCollide = false | |
2652 | rng1.FormFactor = 3 | |
2653 | rng1.Name = "Ring" | |
2654 | rng1.Size = Vector3.new(1, 1, 1) | |
2655 | rng1.Transparency = 0.35 | |
2656 | rng1.TopSurface = 0 | |
2657 | rng1.BottomSurface = 0 | |
2658 | local rngm1 = Instance.new("SpecialMesh", rng) | |
2659 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2660 | rngm1.Scale = Vector3.new(10, 10, 1) | |
2661 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
2662 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
2663 | Wave.Name = "Shockwave" | |
2664 | Wave.BrickColor = BrickColor.new("Dark blue") | |
2665 | Wave.Material = "Neon" | |
2666 | Wave.Size = Vector3.new(1, 1, 1) | |
2667 | Wave.Shape = "Ball" | |
2668 | Wave.CanCollide = false | |
2669 | Wave.Anchored = true | |
2670 | Wave.TopSurface = 0 | |
2671 | Wave.BottomSurface = 0 | |
2672 | Wave.Touched:connect(function(hit) | |
2673 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
2674 | local Occlude = true | |
2675 | local NotOccludes = { | |
2676 | char.Name; | |
2677 | "Wings"; | |
2678 | "Scythe"; | |
2679 | "Thingy"; | |
2680 | "Thingy2"; -- put all of the names in a table pls | |
2681 | } | |
2682 | for i,v in pairs(NotOccludes) do | |
2683 | if hit.Parent.Name == v then | |
2684 | Occlude = false | |
2685 | end | |
2686 | end | |
2687 | --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then | |
2688 | if Occlude then | |
2689 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 10000 | |
2690 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -12000 | |
2691 | end | |
2692 | end | |
2693 | end) | |
2694 | ||
2695 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
2696 | ||
2697 | coroutine.wrap(function() | |
2698 | for i = 1, 5, 0.2 do | |
2699 | rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2700 | rng1.Transparency = i/20 | |
2701 | wait() | |
2702 | end | |
2703 | wait() | |
2704 | rng1:Destroy() | |
2705 | end)() | |
2706 | ||
2707 | Delay(0, function() | |
2708 | ||
2709 | if Daytime == false then | |
2710 | for i = 1, 50, 5 do | |
2711 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2712 | Wave.CFrame = char.Torso.CFrame | |
2713 | local t = i / 50 | |
2714 | Wave.Transparency = t | |
2715 | wait() | |
2716 | end | |
2717 | else | |
2718 | for i = 1, 50, 5 do | |
2719 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2720 | Wave.CFrame = char.Torso.CFrame | |
2721 | local t = i / 50 | |
2722 | Wave.Transparency = t | |
2723 | wait() | |
2724 | end | |
2725 | end | |
2726 | Wave:Destroy() | |
2727 | end) | |
2728 | Delay(0, function() | |
2729 | while wait() do | |
2730 | if Wave ~= nil then | |
2731 | Wave.CFrame = char.Torso.CFrame | |
2732 | else | |
2733 | break | |
2734 | end | |
2735 | end | |
2736 | end) | |
2737 | end | |
2738 | Shockwave() | |
2739 | for i = 1, 5 do | |
2740 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
2741 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
2742 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2743 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
2744 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2745 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2746 | if Debounces.on == false then break end | |
2747 | wait() | |
2748 | end | |
2749 | for i = 1, 5 do | |
2750 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
2751 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
2752 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2753 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
2754 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2755 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2756 | if Debounces.on == false then break end | |
2757 | wait() | |
2758 | end | |
2759 | for i = 1, 5 do | |
2760 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
2761 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
2762 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2763 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
2764 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2765 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2766 | if Debounces.on == false then break end | |
2767 | wait() | |
2768 | end | |
2769 | for i = 1, 5 do | |
2770 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
2771 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
2772 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2773 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
2774 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2775 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2776 | if Debounces.on == false then break end | |
2777 | wait() | |
2778 | end | |
2779 | for i = 1, 5 do | |
2780 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
2781 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
2782 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2783 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
2784 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2785 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2786 | if Debounces.on == false then break end | |
2787 | wait() | |
2788 | end | |
2789 | for i = 1, 5 do | |
2790 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
2791 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
2792 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2793 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
2794 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2795 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2796 | if Debounces.on == false then break end | |
2797 | wait() | |
2798 | end | |
2799 | wait(.5) | |
2800 | Debounces.NoIdl = false | |
2801 | hum.WalkSpeed = 80 | |
2802 | Debounces.on = false | |
2803 | wait() | |
2804 | if Debounces.CanAttack == false then | |
2805 | Debounces.CanAttack = true | |
2806 | v:Destroy() | |
2807 | end | |
2808 | end | |
2809 | end | |
2810 | end) | |
2811 | ---------------------------------------------------- | |
2812 | mouse.KeyDown:connect(function(key) | |
2813 | if key == "m" then | |
2814 | hum.WalkSpeed = 0 | |
2815 | if Debounces.CanAttack == true then | |
2816 | chatServ:Chat(hed, "Ha!", 2) | |
2817 | Debounces.CanAttack = false | |
2818 | Debounces.on = true | |
2819 | Debounces.NoIdl = true | |
2820 | --[[x = Instance.new("Sound",char) | |
2821 | x.SoundId = "http://www.roblox.com/asset/?id=169445572" | |
2822 | x.Looped = false | |
2823 | x.Pitch = 1.1 | |
2824 | x.Volume = 1 | |
2825 | x:Play() | |
2826 | x2 = Instance.new("Sound",char) | |
2827 | x2.SoundId = "http://www.roblox.com/asset/?id=169380495" | |
2828 | x2.Looped = false | |
2829 | x2.Pitch = .7 | |
2830 | x2.Volume = 1 | |
2831 | wait(.1) | |
2832 | x:Play() | |
2833 | x2:Play() | |
2834 | for i = 1, 20 do | |
2835 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2) | |
2836 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2) | |
2837 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2) | |
2838 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2) | |
2839 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
2840 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2) | |
2841 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4) | |
2842 | if Debounces.on == false then break end | |
2843 | wait() | |
2844 | x:Destroy() | |
2845 | x2:Destroy() | |
2846 | end | |
2847 | wait(1)]]-- | |
2848 | local rng = Instance.new("Part", char) | |
2849 | rng.Anchored = true | |
2850 | rng.BrickColor = BrickColor.new("Dark blue") | |
2851 | rng.CanCollide = false | |
2852 | rng.FormFactor = 3 | |
2853 | rng.Name = "Ring" | |
2854 | rng.Size = Vector3.new(1, 1, 1) | |
2855 | rng.Transparency = 0.35 | |
2856 | rng.TopSurface = 0 | |
2857 | rng.BottomSurface = 0 | |
2858 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
2859 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2860 | local rngm = Instance.new("SpecialMesh", rng) | |
2861 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2862 | rngm.Scale = Vector3.new(1, 1, 2) | |
2863 | x = Instance.new("Sound",char) | |
2864 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
2865 | x.Looped = false | |
2866 | x.Pitch = .7 | |
2867 | x.Volume = 1 | |
2868 | x:Play() | |
2869 | coroutine.wrap(function() | |
2870 | for i = 1, 60, 2 do | |
2871 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
2872 | rng.Transparency = i/60 | |
2873 | wait() | |
2874 | end | |
2875 | wait() | |
2876 | rng:Destroy() | |
2877 | end)() | |
2878 | hum.WalkSpeed = 300 | |
2879 | BV = Instance.new("BodyVelocity", torso) | |
2880 | BV.maxForce = Vector3.new(0,20000000,0) | |
2881 | BV.P = 100000 | |
2882 | BV.velocity = Vector3.new(0,800,0) | |
2883 | for i = 1, 20 do | |
2884 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7) | |
2885 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
2886 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
2887 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
2888 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
2889 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
2890 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2891 | if Debounces.on == false then break end | |
2892 | wait() | |
2893 | end | |
2894 | x:Destroy() | |
2895 | BV:Destroy() | |
2896 | --[[for i = 1, 30 do | |
2897 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
2898 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3) | |
2899 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
2900 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
2901 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
2902 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
2903 | if Debounces.on == false then break end | |
2904 | wait() | |
2905 | end]]-- | |
2906 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
2907 | for i = 1, 20 do | |
2908 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
2909 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2910 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
2911 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
2912 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
2913 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
2914 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2915 | if Debounces.on == false then break end | |
2916 | wait() | |
2917 | end | |
2918 | end | |
2919 | Debounces.on = false | |
2920 | Debounces.NoIdl = false | |
2921 | local ry,ht,ps=nil,nil,nil | |
2922 | while ht==nil do | |
2923 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) | |
2924 | wait() | |
2925 | end | |
2926 | z = Instance.new("Sound",char) | |
2927 | z.SoundId = "rbxassetid://142070127" | |
2928 | z.Volume = 1 | |
2929 | wait(.1) | |
2930 | z:Play() | |
2931 | Landing() | |
2932 | hum.WalkSpeed = 80 | |
2933 | if Debounces.CanAttack == false then | |
2934 | Debounces.CanAttack = true | |
2935 | end | |
2936 | end | |
2937 | end | |
2938 | end) | |
2939 | ---------------------------------------------------- | |
2940 | mouse.KeyDown:connect(function(key) | |
2941 | if key == "l" then | |
2942 | if Debounces.CanJoke == true then | |
2943 | Debounces.CanJoke = false | |
2944 | z = Instance.new("Sound", workspace) | |
2945 | z.SoundId = "rbxassetid://415859013" | |
2946 | z.Pitch = 0.8 | |
2947 | z.Volume = 5 | |
2948 | wait() | |
2949 | z:Play() | |
2950 | chatServ:Chat(hed, "Pathetic.", 2) | |
2951 | wait(2) | |
2952 | z:Destroy() | |
2953 | if Debounces.CanJoke == false then | |
2954 | Debounces.CanJoke = true | |
2955 | end | |
2956 | end | |
2957 | end | |
2958 | end) | |
2959 | ---------------------------------------------------- | |
2960 | Grab = false | |
2961 | mouse.KeyDown:connect(function(key) | |
2962 | if key == "z" then | |
2963 | Debounces.on = true | |
2964 | Debounces.NoIdl = true | |
2965 | if Grab == false then | |
2966 | chatServ:Chat(hed, "Come here..", 2) | |
2967 | gp = nil | |
2968 | con1=larm.Touched:connect(function(hit) -- this is grab | |
2969 | ht = hit.Parent | |
2970 | hum1=ht:FindFirstChild('Humanoid') | |
2971 | if hum1 ~= nil then | |
2972 | chatServ:Chat(hed, "Gotcha!", 2) | |
2973 | hum1.PlatformStand=true | |
2974 | gp = ht | |
2975 | Grab = true | |
2976 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0)) | |
2977 | asd.Parent = larm | |
2978 | asd.Name = "asd" | |
2979 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0) | |
2980 | elseif hum1 == nil then | |
2981 | con1:disconnect() | |
2982 | wait() return | |
2983 | end | |
2984 | end) | |
2985 | for i = 1, 18 do | |
2986 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2) | |
2987 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
2988 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
2989 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2) | |
2990 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2) | |
2991 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2) | |
2992 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9) | |
2993 | if Debounces.on == false then break end | |
2994 | wait() | |
2995 | end | |
2996 | con1:disconnect() | |
2997 | Debounces.on = false | |
2998 | Debounces.NoIdl = false | |
2999 | elseif Grab == true then | |
3000 | Grab = false | |
3001 | for i = 1, 20 do | |
3002 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2) | |
3003 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1) | |
3004 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3005 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3006 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3007 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3008 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3009 | if Debounces.on == false then end | |
3010 | wait() | |
3011 | end | |
3012 | chatServ:Chat(hed, "Bye-bye!", 2) | |
3013 | if gp ~= nil then | |
3014 | for i,v in pairs(larm:GetChildren()) do | |
3015 | if v.Name == "asd" and v:IsA("Weld") then | |
3016 | v:Remove() | |
3017 | end | |
3018 | end | |
3019 | bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
3020 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
3021 | bv.P = 125000 | |
3022 | bv.velocity = char.HumanoidRootPart.CFrame.lookVector * 200 | |
3023 | for i = 1, 12 do | |
3024 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5) | |
3025 | if Debounces.on == false then end | |
3026 | wait() | |
3027 | end | |
3028 | ht=nil | |
3029 | Spawn(function() | |
3030 | wait(0.5) | |
3031 | bv:Destroy() | |
3032 | end) | |
3033 | Debounces.on = false | |
3034 | Debounces.NoIdl = false | |
3035 | elseif ht == nil then wait() | |
3036 | Grab = false | |
3037 | Debounces.on = false | |
3038 | Debounces.NoIdl = false | |
3039 | end | |
3040 | end | |
3041 | end | |
3042 | end) | |
3043 | ---------------------------------------------------- | |
3044 | ---------------------------------------------------- | |
3045 | local animpose = "Idle" | |
3046 | local lastanimpose = "Idle" | |
3047 | local sine = 0 | |
3048 | local change = 1 | |
3049 | local val = 0 | |
3050 | local ffing = false | |
3051 | ---------------------------------------------------- | |
3052 | --[[x = Instance.new("Sound", char) | |
3053 | x.SoundId = "http://www.roblox.com/asset/?id=187922823" | |
3054 | x.Looped = true | |
3055 | x.Volume = 1 | |
3056 | x.Pitch = 1 | |
3057 | local footsteps = false]]-- | |
3058 | ------------------------------- | |
3059 | game:GetService("RunService").RenderStepped:connect(function() | |
3060 | --[[if char.Humanoid.Jump == true then | |
3061 | jump = true | |
3062 | else | |
3063 | jump = false | |
3064 | end]] | |
3065 | char.Humanoid.FreeFalling:connect(function(f) | |
3066 | if f then | |
3067 | ffing = true | |
3068 | else | |
3069 | ffing = false | |
3070 | end | |
3071 | end) | |
3072 | sine = sine + change | |
3073 | if jumpn == true then | |
3074 | animpose = "Jumping" | |
3075 | elseif ffing == true then | |
3076 | animpose = "Freefalling" | |
3077 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3078 | animpose = "Idle" | |
3079 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3080 | animpose = "Walking" | |
3081 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3082 | animpose = "Running" | |
3083 | end | |
3084 | if animpose ~= lastanimpose then | |
3085 | sine = 0 | |
3086 | if Debounces.NoIdl == false then | |
3087 | if animpose == "Idle" then | |
3088 | for i = 1, 2 do | |
3089 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2) | |
3090 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
3091 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3092 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3093 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3094 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3095 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3096 | end | |
3097 | elseif animpose == "Walking" then | |
3098 | for i = 1, 2 do | |
3099 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2) | |
3100 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2) | |
3101 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2) | |
3102 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2) | |
3103 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
3104 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
3105 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3106 | end | |
3107 | elseif animpose == "Running" then | |
3108 | for i = 1, 2 do | |
3109 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2) | |
3110 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2) | |
3111 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) | |
3112 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) | |
3113 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) | |
3114 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) | |
3115 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3116 | end | |
3117 | wait() | |
3118 | end | |
3119 | else | |
3120 | end | |
3121 | end | |
3122 | lastanimpose = animpose | |
3123 | if Debounces.NoIdl == false then | |
3124 | if animpose == "Idle" then | |
3125 | if stanceToggle == "Normal" then | |
3126 | change = 0.5 | |
3127 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2) | |
3128 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2) | |
3129 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2) | |
3130 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2) | |
3131 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3132 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3133 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3134 | elseif stanceToggle == "Sitting" then | |
3135 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2) | |
3136 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2) | |
3137 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2) | |
3138 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2) | |
3139 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2) | |
3140 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2) | |
3141 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3142 | end | |
3143 | elseif animpose == "Walking" then | |
3144 | if stanceToggle == "Normal" then | |
3145 | change = 1 | |
3146 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(90+2*math.cos(sine/7)), math.rad(0), math.rad(20)), 0.2) | |
3147 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.2) | |
3148 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.2) | |
3149 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.2) | |
3150 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4) | |
3151 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4) | |
3152 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3153 | end | |
3154 | elseif animpose == "Running" then | |
3155 | change = 1 | |
3156 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2) | |
3157 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2) | |
3158 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) | |
3159 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) | |
3160 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) | |
3161 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) | |
3162 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3163 | end | |
3164 | end | |
3165 | end) | |
3166 | hed.Transparency = 1 | |
3167 | ||
3168 | local Player = game:service("Players").LocalPlayer | |
3169 | ||
3170 | local Character = game.Players.LocalPlayer.Character --game.Workspace.fefio92142 | |
3171 | ||
3172 | ||
3173 | ------------------------------------------------------------------------------------- | |
3174 | ------------------------------------------------------------------------------------- | |
3175 | ||
3176 | local Color = ColorSequence.new(Color3.new(0,0,255), Color3.new(255,255,255)) | |
3177 | ||
3178 | local Num = 0.5 | |
3179 | ||
3180 | local Num2 = 4 -------------Mods:1,4,8,10,15,20------------------------------------- | |
3181 | local Size = 0.8 | |
3182 | local Rate = 300 | |
3183 | ------------------------------------------------------------------------------------- | |
3184 | local Player = game:service'Players'.LocalPlayer | |
3185 | local Character = Player.Character | |
3186 | Torso = Character:WaitForChild'Torso' | |
3187 | ||
3188 | local Wing1 = Instance.new("Part",Character) | |
3189 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3190 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3191 | Wing1.Name = "WIng_1" | |
3192 | ||
3193 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3194 | fire.VelocitySpread = 0 | |
3195 | fire.Lifetime = NumberRange.new(2) | |
3196 | fire.Acceleration = Vector3.new(0, 2, 2) | |
3197 | fire.RotSpeed = NumberRange.new(10) | |
3198 | fire.Rate = Rate | |
3199 | fire.Rotation = NumberRange.new(151515) | |
3200 | fire.Name = "Fire" | |
3201 | fire.LightEmission = 0.78 | |
3202 | fire.LockedToPart = true | |
3203 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3204 | fire.Color = Color | |
3205 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3206 | ||
3207 | local Wing2 = Wing1:Clone() | |
3208 | Wing2.Parent = Torso | |
3209 | local x,y,z = 0,-1,-6 | |
3210 | ||
3211 | Wld = function(a,b,cf) | |
3212 | local Weld = Instance.new('Weld',a) | |
3213 | Weld.Part0 = a | |
3214 | Weld.Part1 = b | |
3215 | Weld.C1 = cf | |
3216 | return Weld | |
3217 | end | |
3218 | ||
3219 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90))) | |
3220 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90))) | |
3221 | ||
3222 | ||
3223 | game:service'RunService'.Stepped:connect(function() | |
3224 | --z = 6+math.sin(tick()*2) | |
3225 | y = -1+math.sin(tick()*Num)*Num2 | |
3226 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3227 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3228 | end) | |
3229 | ------------------------------------------------------------------------------------------------ | |
3230 | local Player = game:service'Players'.LocalPlayer | |
3231 | local Character = Player.Character | |
3232 | Torso = Character:WaitForChild'Torso' | |
3233 | ||
3234 | local Wing1 = Instance.new("Part",Character) | |
3235 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3236 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3237 | Wing1.Name = "WIng_1" | |
3238 | ||
3239 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3240 | fire.VelocitySpread = 0 | |
3241 | fire.Lifetime = NumberRange.new(2.5) | |
3242 | fire.Acceleration = Vector3.new(0, 4, 4) | |
3243 | fire.RotSpeed = NumberRange.new(10) | |
3244 | fire.Rate = Rate | |
3245 | fire.Rotation = NumberRange.new(151515) | |
3246 | fire.Name = "Fire" | |
3247 | fire.LightEmission = 0.78 | |
3248 | fire.LockedToPart = true | |
3249 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3250 | fire.Color = Color | |
3251 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3252 | ||
3253 | local Wing2 = Wing1:Clone() | |
3254 | Wing2.Parent = Torso | |
3255 | local x,y,z = 0,-1,-6 | |
3256 | ||
3257 | Wld = function(a,b,cf) | |
3258 | local Weld = Instance.new('Weld',a) | |
3259 | Weld.Part0 = a | |
3260 | Weld.Part1 = b | |
3261 | Weld.C1 = cf | |
3262 | return Weld | |
3263 | end | |
3264 | ||
3265 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90))) | |
3266 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90))) | |
3267 | ||
3268 | print'Loaded' | |
3269 | ||
3270 | game:service'RunService'.Stepped:connect(function() | |
3271 | --z = 6+math.sin(tick()*2) | |
3272 | y = -1+math.sin(tick()*Num)*Num2 | |
3273 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3274 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3275 | end) | |
3276 | ||
3277 | ------------------------------------------------------------------------------------------------ | |
3278 | local Player = game:service'Players'.LocalPlayer | |
3279 | local Character = Player.Character | |
3280 | Torso = Character:WaitForChild'Torso' | |
3281 | ||
3282 | local Wing1 = Instance.new("Part",Character) | |
3283 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3284 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3285 | Wing1.Name = "WIng_1" | |
3286 | ||
3287 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3288 | fire.VelocitySpread = 0 | |
3289 | fire.Lifetime = NumberRange.new(2.8) | |
3290 | fire.Acceleration = Vector3.new(0, 4, 4) | |
3291 | fire.RotSpeed = NumberRange.new(10) | |
3292 | fire.Rate = Rate | |
3293 | fire.Rotation = NumberRange.new(151515) | |
3294 | fire.Name = "Fire" | |
3295 | fire.LightEmission = 0.78 | |
3296 | fire.LockedToPart = true | |
3297 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3298 | fire.Color = Color | |
3299 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3300 | ||
3301 | local Wing2 = Wing1:Clone() | |
3302 | Wing2.Parent = Torso | |
3303 | local x,y,z = 0,-1,-6 | |
3304 | ||
3305 | Wld = function(a,b,cf) | |
3306 | local Weld = Instance.new('Weld',a) | |
3307 | Weld.Part0 = a | |
3308 | Weld.Part1 = b | |
3309 | Weld.C1 = cf | |
3310 | return Weld | |
3311 | end | |
3312 | ||
3313 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90))) | |
3314 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90))) | |
3315 | ||
3316 | print'Loaded' | |
3317 | ||
3318 | game:service'RunService'.Stepped:connect(function() | |
3319 | --z = 6+math.sin(tick()*2) | |
3320 | y = -1+math.sin(tick()*Num)*Num2 | |
3321 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3322 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3323 | end) | |
3324 | ||
3325 | ------------------------------------------------------------------------------------------------ | |
3326 | local Player = game:service'Players'.LocalPlayer | |
3327 | local Character = Player.Character | |
3328 | Torso = Character:WaitForChild'Torso' | |
3329 | ||
3330 | local Wing1 = Instance.new("Part",Character) | |
3331 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3332 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3333 | Wing1.Name = "WIng_1" | |
3334 | ||
3335 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3336 | fire.VelocitySpread = 0 | |
3337 | fire.Lifetime = NumberRange.new(3) | |
3338 | fire.Acceleration = Vector3.new(0, 4, 4) | |
3339 | fire.RotSpeed = NumberRange.new(10) | |
3340 | fire.Rate = Rate | |
3341 | fire.Rotation = NumberRange.new(151515) | |
3342 | fire.Name = "Fire" | |
3343 | fire.LightEmission = 0.78 | |
3344 | fire.LockedToPart = true | |
3345 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3346 | fire.Color = Color | |
3347 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3348 | ||
3349 | local Wing2 = Wing1:Clone() | |
3350 | Wing2.Parent = Torso | |
3351 | local x,y,z = 0,-1,-6 | |
3352 | ||
3353 | Wld = function(a,b,cf) | |
3354 | local Weld = Instance.new('Weld',a) | |
3355 | Weld.Part0 = a | |
3356 | Weld.Part1 = b | |
3357 | Weld.C1 = cf | |
3358 | return Weld | |
3359 | end | |
3360 | ||
3361 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90))) | |
3362 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90))) | |
3363 | ||
3364 | print'Loaded' | |
3365 | ||
3366 | game:service'RunService'.Stepped:connect(function() | |
3367 | --z = 6+math.sin(tick()*2) | |
3368 | y = -1+math.sin(tick()*Num)*Num2 | |
3369 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3370 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3371 | end) | |
3372 | ||
3373 | ------------------------------------------------------------------------------------------------ | |
3374 | local Player = game:service'Players'.LocalPlayer | |
3375 | local Character = Player.Character | |
3376 | Torso = Character:WaitForChild'Torso' | |
3377 | ||
3378 | local Wing1 = Instance.new("Part",Character) | |
3379 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3380 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3381 | Wing1.Name = "WIng_1" | |
3382 | ||
3383 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3384 | fire.VelocitySpread = 0 | |
3385 | fire.Lifetime = NumberRange.new(3.1) | |
3386 | fire.Acceleration = Vector3.new(0, 4, 4) | |
3387 | fire.RotSpeed = NumberRange.new(10) | |
3388 | fire.Rate = Rate | |
3389 | fire.Rotation = NumberRange.new(151515) | |
3390 | fire.Name = "Fire" | |
3391 | fire.LightEmission = 0.78 | |
3392 | fire.LockedToPart = true | |
3393 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3394 | fire.Color = Color | |
3395 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3396 | ||
3397 | local Wing2 = Wing1:Clone() | |
3398 | Wing2.Parent = Torso | |
3399 | local x,y,z = 0,-1,-6 | |
3400 | ||
3401 | Wld = function(a,b,cf) | |
3402 | local Weld = Instance.new('Weld',a) | |
3403 | Weld.Part0 = a | |
3404 | Weld.Part1 = b | |
3405 | Weld.C1 = cf | |
3406 | return Weld | |
3407 | end | |
3408 | ||
3409 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90))) | |
3410 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90))) | |
3411 | ||
3412 | print'Loaded' | |
3413 | ||
3414 | game:service'RunService'.Stepped:connect(function() | |
3415 | --z = 6+math.sin(tick()*2) | |
3416 | y = -1+math.sin(tick()*Num)*Num2 | |
3417 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3418 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3419 | end) | |
3420 | ||
3421 | ||
3422 | ||
3423 | --Edited by 1x0x1x0-- |