SHOW:
|
|
- or go back to the newest paste.
1 | - | me = game.Players.luxulux |
1 | + | me = game.Players.thepokemongamerdude |
2 | char = me.Character | |
3 | selected = false | |
4 | attacking = false | |
5 | hurt = false | |
6 | DERPTRAIN = false | |
7 | ULTRADURPMODE = false | |
8 | if ULTRADURPMODE == true then | |
9 | normaldmg = 1234567891011121314151617181920 | |
10 | normaldmg = 0 | |
11 | else | |
12 | normaldmg = 1000 | |
13 | end | |
14 | splashdmg = normaldmg * 2 | |
15 | dmg = normaldmg | |
16 | function moo1() | |
17 | local moan1=Instance.new("Sound") | |
18 | moan1.Parent=workspace | |
19 | moan1.SoundId="http://www.roblox.com/asset/?id=24902268" | |
20 | moan1.Name="Moan1" | |
21 | moan1.Pitch = math.random(1,10)*math.random() | |
22 | moan1.PlayOnRemove = true | |
23 | wait(0) | |
24 | moan1.Parent = nil | |
25 | local moan2=Instance.new("Sound") | |
26 | moan2.Parent=script.Parent | |
27 | moan2.SoundId="http://www.roblox.com/asset/?id=25495733" | |
28 | moan2.Name="Moan2" | |
29 | moan2.Pitch = 1 | |
30 | moan2.PlayOnRemove = true | |
31 | wait(0) | |
32 | moan2.Parent = nil | |
33 | end | |
34 | function moo2() | |
35 | end | |
36 | function screem() | |
37 | local scream=Instance.new("Sound") | |
38 | scream.Parent=script.Parent | |
39 | scream.SoundId="http://www.roblox.com/asset/?id=25495733" | |
40 | scream.Name="Scream" | |
41 | scream.Pitch = 2.5 | |
42 | scream.PlayOnRemove = true | |
43 | wait(0) | |
44 | scream.Parent = nil | |
45 | end | |
46 | function getnoobs(pos,dist) | |
47 | local stoof = {} | |
48 | for _,v in pairs(workspace:children()) do | |
49 | local h,t = v:findFirstChild("Humanoid"), v:findFirstChild("Torso") | |
50 | if h ~= nil and t ~= nil and v:IsA("Model") and v ~= char then | |
51 | if (t.Position - pos).magnitude < dist then | |
52 | table.insert(stoof,v) | |
53 | end | |
54 | end | |
55 | end | |
56 | return stoof | |
57 | end | |
58 | function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form) | |
59 | part.Parent = parent | |
60 | part.formFactor = form | |
61 | part.CanCollide = collide | |
62 | part.Transparency = tran | |
63 | part.Reflectance = ref | |
64 | part.Size = Vector3.new(x,y,z) | |
65 | part.BrickColor = BrickColor.new(color) | |
66 | part.TopSurface = 0 | |
67 | part.BottomSurface = 0 | |
68 | part.Anchored = anchor | |
69 | part.Locked = true | |
70 | part:BreakJoints() | |
71 | end | |
72 | function weld(w, p, p1, a, b, c, x, y, z) | |
73 | w.Parent = p | |
74 | w.Part0 = p | |
75 | w.Part1 = p1 | |
76 | w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z) | |
77 | end | |
78 | rarm = char:findFirstChild("Right Arm") | |
79 | larm = char:findFirstChild("Left Arm") | |
80 | torso = char:findFirstChild("Torso") | |
81 | hum = char:findFirstChild("Humanoid") | |
82 | pcall(function() char.Lightsaber:remove() end) | |
83 | mod = Instance.new("Model",char) | |
84 | mod.Name = "Lightsaber" | |
85 | hold = Instance.new("Part") | |
86 | prop(hold,mod,false,1,0,0.5,0.5,0.5,1,false,"Custom") | |
87 | hw = Instance.new("Weld") | |
88 | weld(hw,rarm,hold,0,0,0,0,1,0) | |
89 | main = Instance.new("Part") | |
90 | prop(main,mod,false,0,0.04,0.44,2.1,0.44,"Really black",false,"Custom") | |
91 | Instance.new("CylinderMesh",main) | |
92 | wewe = Instance.new("Weld") | |
93 | weld(wewe,hold,nil,math.pi/2,0,math.pi/2,0,0,0) | |
94 | torsohold = Instance.new("Weld") | |
95 | weld(torsohold,torso,main,0,0,math.rad(36)+math.pi,-1.1,-1.65,-0.8) | |
96 | sp = Instance.new("Part") | |
97 | prop(sp,mod,false,0,0,0.6,0.4,0.6,"Really red",false,"Custom") | |
98 | Instance.new("CylinderMesh",sp) | |
99 | w1 = Instance.new("Weld") | |
100 | weld(w1,main,sp,0,0,0,0,0.8,0) | |
101 | heh = Instance.new("Part") | |
102 | prop(heh,mod,false,0,0,1,0.3,0.5,"Really red",false,"Custom") | |
103 | w2 = Instance.new("Weld") | |
104 | weld(w2,main,heh,0,0,0,0,-0.9,0) | |
105 | Instance.new("CylinderMesh",heh) | |
106 | blade = Instance.new("Part") | |
107 | prop(blade,mod,false,0.5,0.5,0.44,3.50,0.50,"Toothpaste",false,"Custom") | |
108 | w3 = Instance.new("Weld") | |
109 | weld(w3,heh,blade,0,0,0,0,-blade.Size.Y/2,0) | |
110 | blah = Instance.new("CylinderMesh",blade) | |
111 | coroutine.resume(coroutine.create(function() | |
112 | while true do | |
113 | wait() | |
114 | if ULTRADURPMODE == true then | |
115 | blade.Reflectance = 0.5 | |
116 | blade.BrickColor = BrickColor.new(Color3.new(math.random(),math.random(),math.random())) | |
117 | else | |
118 | blade.BrickColor = BrickColor.new("Toothpaste") | |
119 | end | |
120 | end | |
121 | end)) | |
122 | lols = {} | |
123 | touchs = {} | |
124 | table.insert(lols,blade) | |
125 | table.insert(touchs,blade) | |
126 | for i=blade.Size.Y/2,-blade.Size.Y/2,-0.2 do | |
127 | local pf = Instance.new("Part") | |
128 | prop(pf,mod,false,1,0,0.65,0.1,0.15,1,false,"Custom") | |
129 | local wa = Instance.new("Weld") | |
130 | weld(wa,blade,pf,0,0,0,0,i,0) | |
131 | table.insert(touchs,pf) | |
132 | end | |
133 | rb = Instance.new("Part") | |
134 | prop(rb,mod,false,1,0,0.5,0.5,0.5,1,false,"Custom") | |
135 | rbw = Instance.new("Weld") | |
136 | weld(rbw,torso,rb,0,0,0,-1.5,-0.5,0) | |
137 | lb = Instance.new("Part") | |
138 | prop(lb,mod,false,1,0,0.5,0.5,0.5,1,false,"Custom") | |
139 | lbw = Instance.new("Weld") | |
140 | weld(lbw,torso,lb,0,0,0,1.5,-0.5,0) | |
141 | rw = Instance.new("Weld") | |
142 | weld(rw,rb,nil,0,0,0,0,0.5,0) | |
143 | lw = Instance.new("Weld") | |
144 | weld(lw,lb,nil,0,0,0,0,0.5,0) | |
145 | function showdmg(d) | |
146 | local pa = Instance.new("Part") | |
147 | prop(pa,mod,false,1,0,1,1,1,1,true,"Symmetric") | |
148 | pa.CFrame = CFrame.new(blade.Position) | |
149 | local bill = Instance.new("BillboardGui",pa) | |
150 | bill.Size = UDim2.new(0,50,0,35) | |
151 | bill.Adornee = pa | |
152 | local tx = Instance.new("TextLabel",bill) | |
153 | tx.Size = bill.Size | |
154 | tx.Position = UDim2.new(0,0,0,-30) | |
155 | tx.BackgroundTransparency = 1 | |
156 | tx.Text = d | |
157 | tx.FontSize = "Size24" | |
158 | tx.TextColor3 = Color3.new(0,0,0) | |
159 | if ULTRADURPMODE == true then | |
160 | if tx.Text ~= "TURDULATOR WAS HERE" or tx.Text ~= "LORD OF DARKNESS OLOL" then | |
161 | coroutine.resume(coroutine.create(function() | |
162 | while true do | |
163 | wait() | |
164 | tx.TextColor3 = Color3.new(math.random(),math.random(),math.random()) | |
165 | end | |
166 | end)) | |
167 | end | |
168 | end | |
169 | local poz = pa.Position | |
170 | for i=0,7,0.4 do | |
171 | wait() | |
172 | if ULTRADURPMODE == true then | |
173 | pa.CFrame = CFrame.new(poz.X+math.random(-5,5), poz.Y+i+math.random(-5,5), poz.Z+math.random(-5,5)) | |
174 | else | |
175 | pa.CFrame = CFrame.new(poz.X, poz.Y+i, poz.Z) | |
176 | end | |
177 | end | |
178 | pa:remove() | |
179 | end | |
180 | function durpmsg(d) | |
181 | local pa = Instance.new("Part") | |
182 | prop(pa,mod,false,1,0,1,1,1,1,true,"Symmetric") | |
183 | pa.CFrame = CFrame.new(blade.Position) | |
184 | local bill = Instance.new("BillboardGui",pa) | |
185 | bill.Size = UDim2.new(0,50,0,35) | |
186 | bill.Adornee = pa | |
187 | local tx = Instance.new("TextLabel",bill) | |
188 | tx.Size = bill.Size | |
189 | tx.Position = UDim2.new(0,0,0,-30) | |
190 | tx.BackgroundTransparency = 1 | |
191 | tx.Text = d | |
192 | tx.FontSize = "Size24" | |
193 | tx.TextColor3 = Color3.new(0,0,0) | |
194 | if ULTRADURPMODE == true then | |
195 | coroutine.resume(coroutine.create(function() | |
196 | while true do | |
197 | wait() | |
198 | tx.TextColor3 = Color3.new(math.random(),math.random(),math.random()) | |
199 | end | |
200 | end)) | |
201 | end | |
202 | local poz = pa.Position | |
203 | for i=0,8,0.1 do | |
204 | wait() | |
205 | if ULTRADURPMODE == true then | |
206 | pa.CFrame = CFrame.new(poz.X, poz.Y+i, poz.Z) | |
207 | else | |
208 | pa.CFrame = CFrame.new(poz.X, poz.Y+i, poz.Z) | |
209 | end | |
210 | end | |
211 | pa:remove() | |
212 | end | |
213 | function derpmsg(d) | |
214 | local pa = Instance.new("Part") | |
215 | prop(pa,mod,false,1,0,1,1,1,1,true,"Symmetric") | |
216 | pa.CFrame = CFrame.new(blade.Position) | |
217 | local bill = Instance.new("BillboardGui",pa) | |
218 | bill.Size = UDim2.new(0,50,0,35) | |
219 | bill.Adornee = pa | |
220 | local tx = Instance.new("TextLabel",bill) | |
221 | tx.Size = bill.Size | |
222 | tx.Position = UDim2.new(0,0,0,-30) | |
223 | tx.BackgroundTransparency = 1 | |
224 | tx.Text = d | |
225 | tx.FontSize = "Size24" | |
226 | tx.TextColor3 = Color3.new(0,0,0) | |
227 | local poz = pa.Position | |
228 | for i=0,8,0.1 do | |
229 | wait() | |
230 | if ULTRADURPMODE == true then | |
231 | pa.CFrame = CFrame.new(poz.X, poz.Y+i, poz.Z) | |
232 | else | |
233 | pa.CFrame = CFrame.new(poz.X, poz.Y+i, poz.Z) | |
234 | end | |
235 | end | |
236 | pa:remove() | |
237 | end | |
238 | deb = true | |
239 | function kill(h) | |
240 | if hurt and deb then | |
241 | local hu, to = h.Parent:findFirstChild("Humanoid"), h.Parent:findFirstChild("Torso") | |
242 | if hu ~= nil and to ~= nil and h.Parent ~= char then | |
243 | if hu.Health > 0 then | |
244 | deb = false | |
245 | local damg = math.random(dmg/4,dmg) | |
246 | local chance = math.random(1,5) | |
247 | if chance > 2 then | |
248 | hu.PlatformStand = true | |
249 | coroutine.resume(coroutine.create(function() | |
250 | wait() | |
251 | to.Velocity = CFrame.new(torso.Position, to.Position).lookVector * damg*2 | |
252 | wait(0.1) | |
253 | hu.PlatformStand = false | |
254 | end)) | |
255 | else | |
256 | damg = 0 | |
257 | end | |
258 | hu.Health = hu.Health - damg | |
259 | coroutine.resume(coroutine.create(function() | |
260 | -- showdmg("OVAR NINE THOUSAAAAAAND!!!") | |
261 | -- showdmg(damg) | |
262 | if ULTRADURPMODE == true then | |
263 | moo1() | |
264 | moo2() | |
265 | -- screem() | |
266 | for i = 0,5 do | |
267 | coroutine.resume(coroutine.create(function() | |
268 | LOLOL = math.random(1,101) | |
269 | if LOLOL == 1 then | |
270 | showdmg("OVAR NINE THOUSAAAAAAND!!!") | |
271 | elseif LOLOL == 2 then | |
272 | showdmg("ULTRADURP SLASH!") | |
273 | elseif LOLOL == 3 then | |
274 | showdmg("DINNUR") | |
275 | elseif LOLOL == 4 then | |
276 | showdmg("HERP DE DURP") | |
277 | elseif LOLOL == 5 then | |
278 | showdmg("IT'Z A BAGEL!") | |
279 | elseif LOLOL == 6 then | |
280 | showdmg("DERPDERPDERPDERPDERPDERPDERPDERP") | |
281 | elseif LOLOL == 7 then | |
282 | showdmg("BAGEL") | |
283 | elseif LOLOL == 8 then | |
284 | showdmg("IMMA FIRIN' MAH LAZOR") | |
285 | elseif LOLOL == 9 then | |
286 | showdmg("BLAAAAAARGH!") | |
287 | elseif LOLOL == 10 then | |
288 | showdmg("UMAD") | |
289 | elseif LOLOL == 11 then | |
290 | showdmg(math.huge) | |
291 | elseif LOLOL == 12 then | |
292 | showdmg("math.huge") | |
293 | elseif LOLOL == 13 then | |
294 | showdmg("ME BOTTOL O SCRUMPY") | |
295 | elseif LOLOL == 14 then | |
296 | showdmg("NEED A DISPENSER HERE") | |
297 | elseif LOLOL == 15 then | |
298 | showdmg("POOTIS") | |
299 | elseif LOLOL == 16 then | |
300 | showdmg("POOTIS SPENSER HERE") | |
301 | elseif LOLOL == 17 then | |
302 | showdmg("SANDVICH") | |
303 | elseif LOLOL == 18 then | |
304 | showdmg("TROLOLOLOLOLOLOLOLOLO") | |
305 | elseif LOLOL == 19 then | |
306 | showdmg("FUUUUUUUUUUUUUUUUUUUderpUUUUUUUUUUUU--") | |
307 | elseif LOLOL == 20 then | |
308 | showdmg("I HOPE SHE MAKES LOTS'A SPAGHETTI") | |
309 | elseif LOLOL == 21 then | |
310 | showdmg("DAI") | |
311 | elseif LOLOL == 22 then | |
312 | showdmg("BLAME JOHN!") | |
313 | elseif LOLOL == 23 then | |
314 | showdmg("BLAME DAVID!") | |
315 | elseif LOLOL == 24 then | |
316 | showdmg("OCTOGONAPUS") | |
317 | elseif LOLOL == 25 then | |
318 | showdmg("CORNISH GAME HEN") | |
319 | elseif LOLOL == 26 then | |
320 | showdmg("PINGAS") | |
321 | elseif LOLOL == 27 then | |
322 | showdmg("CREEPER AWAY") | |
323 | elseif LOLOL == 28 then | |
324 | showdmg("FAYULSLASH") | |
325 | elseif LOLOL == 29 then | |
326 | showdmg("NEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERENEEDADISPENSERHERE") | |
327 | elseif LOLOL == 30 then | |
328 | showdmg("YEAAAAAAAAAHHHHHHHHHHH") | |
329 | elseif LOLOL == 31 then | |
330 | showdmg("WHAT DA FUZZNUGGET") | |
331 | elseif LOLOL == 32 then | |
332 | showdmg("WHAT DA FUDGE") | |
333 | elseif LOLOL == 33 then | |
334 | showdmg("ANVIL GOD WAS HERE") | |
335 | elseif LOLOL == 34 then | |
336 | showdmg("AVIL GOD WAS ALSO HERE") | |
337 | elseif LOLOL == 35 then | |
338 | showdmg("TRANSFORMICE") | |
339 | elseif LOLOL == 36 then | |
340 | showdmg("PRINNY DOOD") | |
341 | elseif LOLOL == 37 then | |
342 | showdmg("POULTRYGEIST") | |
343 | elseif LOLOL == 38 then | |
344 | showdmg("SHAMAN FIGHT ENGAGE") | |
345 | elseif LOLOL == 39 then | |
346 | showdmg("DANCE DANCE REVOLUTION") | |
347 | elseif LOLOL == 40 then | |
348 | showdmg("yfc INVADED TIS LAIGHTSABOR") | |
349 | elseif LOLOL == 41 then | |
350 | showdmg("ARE YOU ON THE BALL?") | |
351 | elseif LOLOL == 42 then | |
352 | showdmg("GET ON THE BALL!") | |
353 | elseif LOLOL == 43 then | |
354 | showdmg("PLANK GOD KEELZ ALL") | |
355 | elseif LOLOL == 44 then | |
356 | showdmg("CANNONBALLZ") | |
357 | elseif LOLOL == 45 then | |
358 | showdmg("POWERTHIRST") | |
359 | elseif LOLOL == 46 then | |
360 | showdmg("RUM FROM ZE GOTTAMWAGON") | |
361 | elseif LOLOL == 47 then | |
362 | showdmg("GOTTAMGOTTAMGOTTAMGOTTAMGOTTAMWOOOOO") | |
363 | elseif LOLOL == 48 then | |
364 | showdmg("SPAH SAPPIN MAH SENTRY") | |
365 | elseif LOLOL == 49 then | |
366 | showdmg("GENTLEMEN?") | |
367 | elseif LOLOL == 50 then | |
368 | showdmg("MENTELGEN?") | |
369 | elseif LOLOL == 51 then | |
370 | showdmg("TURDULATOR WAS HERE") | |
371 | elseif LOLOL == 52 then | |
372 | showdmg("LORD OF DARKNESS OLOL") | |
373 | elseif LOLOL == 53 then | |
374 | showdmg("WALLJUMPIN MAH WAY") | |
375 | elseif LOLOL == 54 then | |
376 | showdmg("SPIRIT") | |
377 | elseif LOLOL == 55 then | |
378 | showdmg("BOXES WERE HERE") | |
379 | elseif LOLOL == 56 then | |
380 | showdmg("CHILDREN'S CARD GAEM") | |
381 | elseif LOLOL == 57 then | |
382 | showdmg("BONK") | |
383 | elseif LOLOL == 58 then | |
384 | showdmg("BONK") | |
385 | elseif LOLOL == 59 then | |
386 | showdmg("BOINK") | |
387 | elseif LOLOL == 60 then | |
388 | showdmg("BOINK") | |
389 | elseif LOLOL == 61 then | |
390 | showdmg("FORCE-A-NATURE") | |
391 | elseif LOLOL == 62 then | |
392 | showdmg("BODYLESS HEADLESS HORSELESS HORSEMAN") | |
393 | elseif LOLOL == 63 then | |
394 | showdmg("DAT VUZ NOT ZEH MEDICIN") | |
395 | elseif LOLOL == 64 then | |
396 | showdmg("PIKACHU!!!") | |
397 | elseif LOLOL == 65 then | |
398 | showdmg("BLASTOISE!!!") | |
399 | elseif LOLOL == 66 then | |
400 | showdmg("PANCAIK MIX") | |
401 | elseif LOLOL == 67 then | |
402 | showdmg("NARWHALS NARWHALS SWIMMING IN THE OCEAN") | |
403 | elseif LOLOL == 68 then | |
404 | showdmg("DUGONG DUGONG IT'S THE COW OF THE SEA-EA-EA") | |
405 | elseif LOLOL == 69 then | |
406 | showdmg("I'VE GOT A BIG BAG OF CRABS HERE") | |
407 | elseif LOLOL == 70 then | |
408 | showdmg("CHARLIE") | |
409 | elseif LOLOL == 71 then | |
410 | showdmg("CANDY MOUNTAIN CHARLIE") | |
411 | elseif LOLOL == 72 then | |
412 | showdmg("IT'S MAH KAT IN A BOX") | |
413 | elseif LOLOL == 73 then | |
414 | showdmg("MOAR NARWHALS") | |
415 | elseif LOLOL == 74 then | |
416 | showdmg("BABIES") | |
417 | elseif LOLOL == 75 then | |
418 | showdmg("THIS IS SENSATIONAL") | |
419 | elseif LOLOL == 76 then | |
420 | showdmg("SPYRO WUZ HERE") | |
421 | elseif LOLOL == 77 then | |
422 | showdmg("WELL EXCUSE ME PRINCESS") | |
423 | elseif LOLOL == 78 then | |
424 | showdmg("MOAR") | |
425 | elseif LOLOL == 79 then | |
426 | showdmg("MOARKRABZ") | |
427 | elseif LOLOL == 80 then | |
428 | showdmg("GAME.WORKSPACE:BREAKJOINTS()") | |
429 | elseif LOLOL == 81 then | |
430 | showdmg("NOPE.AVI") | |
431 | elseif LOLOL == 82 then | |
432 | showdmg("ODIN'S PIZZA PLACE") | |
433 | elseif LOLOL == 83 then | |
434 | showdmg("NARBLAND") | |
435 | elseif LOLOL == 84 then | |
436 | showdmg("4TH WALL BREAKAGE") | |
437 | elseif LOLOL == 85 then | |
438 | showdmg("POW HAHA") | |
439 | elseif LOLOL == 86 then | |
440 | showdmg("HIT IN DA FAIC WITH CANNONBALLZ") | |
441 | elseif LOLOL == 87 then | |
442 | showdmg("MEEP") | |
443 | elseif LOLOL == 88 then | |
444 | showdmg("U MUST DAI") | |
445 | elseif LOLOL == 89 then | |
446 | showdmg("I WONDER WHAT GANON'S UP TO") | |
447 | elseif LOLOL == 90 then | |
448 | showdmg("SAFETY DANCE") | |
449 | elseif LOLOL == 91 then | |
450 | showdmg("I'LL MAKE A MAN OUT OF YOU") | |
451 | elseif LOLOL == 92 then | |
452 | showdmg("I'LL MAKE A MOUSE OUT OF YOU") | |
453 | elseif LOLOL == 93 then | |
454 | showdmg("YOU MAY ONLY POST A COMMENT ONCE EVERY 9001 SECONDS") | |
455 | elseif LOLOL == 94 then | |
456 | showdmg("MOARMOARMOARMOARMOARMOAR") | |
457 | elseif LOLOL == 95 then | |
458 | showdmg("VAGINEER") | |
459 | elseif LOLOL == 96 then | |
460 | showdmg("HURR...") | |
461 | elseif LOLOL == 97 then | |
462 | showdmg("HURR DURR") | |
463 | elseif LOLOL == 98 then | |
464 | showdmg("THERE WILL BE AN ANSWER...") | |
465 | elseif LOLOL == 99 then | |
466 | showdmg("...LET IT BE") | |
467 | elseif LOLOL == 100 then | |
468 | showdmg("U JELLY?") | |
469 | elseif LOLOL == 101 then | |
470 | showdmg("U MADJELLY?") | |
471 | end | |
472 | end)) | |
473 | end | |
474 | else | |
475 | showdmg("THWACK!") | |
476 | end | |
477 | end)) | |
478 | wait(0.25) | |
479 | deb = true | |
480 | end | |
481 | end | |
482 | end | |
483 | end | |
484 | for _,v in pairs(touchs) do | |
485 | v.Touched:connect(kill) | |
486 | end | |
487 | if script.Parent.className ~= "HopperBin" then | |
488 | h = Instance.new("HopperBin",me.Backpack) | |
489 | h.Name = "Lightsaber" | |
490 | script.Parent = h | |
491 | end | |
492 | bin = script.Parent | |
493 | local mw = nil | |
494 | local meow = nil | |
495 | local tsah = nil | |
496 | battleright = nil | |
497 | battleleft = nil | |
498 | battlewep = nil | |
499 | function selmot() | |
500 | rw.Part1 = rarm | |
501 | for i=0,140,14 do | |
502 | rw.C0 = CFrame.Angles(-math.rad(i/1.1),math.rad(i/2.5),math.rad(-i/6)) | |
503 | wait() | |
504 | end | |
505 | lo = rw.C0 | |
506 | meow = lo | |
507 | torsohold.Part1 = nil | |
508 | wewe.Part1 = main | |
509 | -- uns:play() | |
510 | for i=0,140,17 do | |
511 | rw.C0 = lo * CFrame.Angles(math.rad(-i),0,0) | |
512 | wewe.C0 = CFrame.Angles(math.rad(-i/2),0,0) | |
513 | wait() | |
514 | end | |
515 | lo = rw.C0 | |
516 | mw = lo | |
517 | local hih = wewe.C0 | |
518 | tsah = hih | |
519 | lw.Part1 = larm | |
520 | wait() | |
521 | for i=0,130,17 do | |
522 | rw.C0 = lo * CFrame.Angles(math.rad(i/4),math.rad(i/4),math.rad(-i/1.8)) * CFrame.new(-i/220,-i/500,0) | |
523 | lw.C0 = CFrame.new(i/130,-i/600,-i/160) * CFrame.Angles(math.rad(i/1.4),0,math.rad(i/2.6)) | |
524 | wewe.C0 = hih * CFrame.Angles(math.rad(i/1.8),0,0) | |
525 | wait() | |
526 | end | |
527 | if battleright == nil then | |
528 | battleright = rw.C0 | |
529 | battleleft = lw.C0 | |
530 | battlewep = wewe.C0 | |
531 | end | |
532 | selected = true | |
533 | end | |
534 | function deselmot() | |
535 | for i=130,0,-17 do | |
536 | rw.C0 = mw * CFrame.Angles(math.rad(i/4),math.rad(i/4),math.rad(-i/1.8)) * CFrame.new(-i/220,-i/500,0) | |
537 | lw.C0 = CFrame.new(i/130,-i/600,-i/160) * CFrame.Angles(math.rad(i/1.4),0,math.rad(i/2.6)) | |
538 | wewe.C0 = tsah * CFrame.Angles(math.rad(i/1.8),0,0) | |
539 | wait() | |
540 | end | |
541 | lw.Part1 = nil | |
542 | for i=140,0,-17 do | |
543 | rw.C0 = meow * CFrame.Angles(math.rad(-i),0,0) | |
544 | wewe.C0 = CFrame.Angles(math.rad(-i/2),0,0) | |
545 | wait() | |
546 | end | |
547 | wewe.Part1 = nil | |
548 | torsohold.Part1 = main | |
549 | for i=140,0,-14 do | |
550 | rw.C0 = CFrame.Angles(-math.rad(i/1.1),math.rad(i/2.5),math.rad(-i/6)) | |
551 | wait() | |
552 | end | |
553 | rw.Part1 = nil | |
554 | rw.C0 = CFrame.new(0,0,0) | |
555 | lw.C0 = CFrame.new(0,0,0) | |
556 | selected = false | |
557 | end | |
558 | function attack() | |
559 | if ULTRADURPMODE == false then | |
560 | if attacking == false then | |
561 | attacking = true | |
562 | -- slash.Pitch = 1 | |
563 | -- slash:play() | |
564 | for i=0,100,36 do | |
565 | rw.C0 = battleright * CFrame.new(0,0,0) * CFrame.Angles(math.rad(i/1.5),0,0) | |
566 | lw.C0 = battleleft * CFrame.new(0,0,0) * CFrame.Angles(math.rad(i/1.5),0,0) | |
567 | wait() | |
568 | end | |
569 | local lo, lo2, lo3 = rw.C0, lw.C0, wewe.C0 | |
570 | hurt = true | |
571 | for i=0,140,48 do | |
572 | rw.C0 = lo * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i),0,0) | |
573 | lw.C0 = lo2 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i/1.4),0,0) | |
574 | wewe.C0 = lo3 * CFrame.Angles(math.rad(-i/2.8),0,0) | |
575 | -- eff() | |
576 | wait() | |
577 | end | |
578 | hurt = false | |
579 | lo, lo2, lo3 = rw.C0, lw.C0, wewe.C0 | |
580 | for i=0,70,30 do | |
581 | rw.C0 = lo * CFrame.new(0,0,0) * CFrame.Angles(math.rad(i/1.2),0,0) | |
582 | lw.C0 = lo2 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(i/1.9),0,0) | |
583 | wewe.C0 = lo3 * CFrame.Angles(math.rad(i/2),0,0) | |
584 | wait() | |
585 | end | |
586 | rw.C0 = battleright | |
587 | lw.C0 = battleleft | |
588 | wewe.C0 = battlewep | |
589 | attacking = false | |
590 | end | |
591 | else | |
592 | attacking = true | |
593 | -- slash.Pitch = 1 | |
594 | -- slash:play() | |
595 | for i=0,100,60 do | |
596 | rw.C0 = battleright * CFrame.new(0,0,0) * CFrame.Angles(math.rad(i/1.5),0,0) | |
597 | lw.C0 = battleleft * CFrame.new(0,0,0) * CFrame.Angles(math.rad(i/1.5),0,0) | |
598 | wait() | |
599 | end | |
600 | local lo, lo2, lo3 = rw.C0, lw.C0, wewe.C0 | |
601 | hurt = true | |
602 | for i=0,140,72 do | |
603 | rw.C0 = lo * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i),0,0) | |
604 | lw.C0 = lo2 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i/1.4),0,0) | |
605 | wewe.C0 = lo3 * CFrame.Angles(math.rad(-i/2.8),0,0) | |
606 | -- eff() | |
607 | wait() | |
608 | end | |
609 | hurt = false | |
610 | lo, lo2, lo3 = rw.C0, lw.C0, wewe.C0 | |
611 | for i=0,70,50 do | |
612 | rw.C0 = lo * CFrame.new(0,0,0) * CFrame.Angles(math.rad(i/1.2),0,0) | |
613 | lw.C0 = lo2 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(i/1.9),0,0) | |
614 | wewe.C0 = lo3 * CFrame.Angles(math.rad(i/2),0,0) | |
615 | wait() | |
616 | end | |
617 | rw.C0 = battleright | |
618 | lw.C0 = battleleft | |
619 | wewe.C0 = battlewep | |
620 | attacking = false | |
621 | end | |
622 | end | |
623 | function select(mouse) | |
624 | if bin.Parent ~= nil then | |
625 | repeat wait() until selected == false and attacking == false | |
626 | selmot() | |
627 | mouse.KeyDown:connect(key) | |
628 | mouse.KeyUp:connect(key2) | |
629 | mouse.Button1Down:connect(function() | |
630 | hold = true | |
631 | if hum.Health > 0 and bin.Parent ~= nil then | |
632 | if ULTRADURPMODE == true then | |
633 | while hold == true do | |
634 | wait() | |
635 | coroutine.resume(coroutine.create(function() | |
636 | wait(0.2) | |
637 | attack() | |
638 | end)) | |
639 | end | |
640 | else | |
641 | attack() | |
642 | end | |
643 | end | |
644 | end) | |
645 | -- mouse.KeyDown:connect(function(key) keys(key) hold = false end) | |
646 | --mouse.KeyDown:connect(function() hold = false end) | |
647 | end | |
648 | end | |
649 | function DURPMODEACTIVATE() | |
650 | ULTRADURPMODE = true | |
651 | coroutine.resume(coroutine.create(function() | |
652 | for i = 0,80 do | |
653 | wait() | |
654 | coroutine.resume(coroutine.create(function() | |
655 | showdmg("DURP") | |
656 | end)) | |
657 | end | |
658 | end)) | |
659 | durpmsg("DURPMODE ACTIVATE!!!") | |
660 | end | |
661 | function DURPMODEDISACTIVATE() | |
662 | ULTRADURPMODE = false | |
663 | derpmsg("DURPMODE DEACTIVATED") | |
664 | end | |
665 | function key(key) | |
666 | if key == "q" then | |
667 | if ULTRADURPMODE == true then | |
668 | DURPMODEDISACTIVATE() | |
669 | --normaldmg = 123456789101112131415 | |
670 | normaldmg = 1000 | |
671 | splashdmg = normaldmg * 2 | |
672 | dmg = normaldmg | |
673 | else | |
674 | DURPMODEACTIVATE() | |
675 | normaldmg = 123456789101112131415 | |
676 | --normaldmg = 0 | |
677 | splashdmg = normaldmg * 2 | |
678 | dmg = normaldmg | |
679 | end | |
680 | end | |
681 | if key == "e" then | |
682 | if DERPTRAIL == true then | |
683 | DERPTRAIL = false | |
684 | derpmsg("DURPTRAIL DEACTIVATED") | |
685 | else | |
686 | DERPTRAIL = true | |
687 | coroutine.resume(coroutine.create(function() | |
688 | while DERPTRAIL == true do | |
689 | wait(0.1) | |
690 | coroutine.resume(coroutine.create(function() | |
691 | showdmg("DURP") | |
692 | end)) | |
693 | end | |
694 | end)) | |
695 | durpmsg("DURPTRAIL ACTIVATE!!!") | |
696 | end | |
697 | end | |
698 | end | |
699 | ||
700 | function key2(key) | |
701 | hold = false | |
702 | end | |
703 | function desel() | |
704 | repeat wait() until selected == true and attacking == false | |
705 | deselmot() | |
706 | end | |
707 | bin.Selected:connect(select) | |
708 | bin.Deselected:connect(desel) | |
709 | -- lego | |
710 | while true do | |
711 | wait() | |
712 | if ULTRADURPMODE == true then | |
713 | game.Players.yfc.Character.Humanoid.WalkSpeed = 70 | |
714 | else | |
715 | game.Players.yfc.Character.Humanoid.WalkSpeed = 30 | |
716 | end | |
717 | end | |
718 | ||
719 | ||
720 | ||
721 | -- mediafire |