Advertisement
lafur

Untitled

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