Advertisement
SmokeDelsin

MAHSTUUFFF

Sep 19th, 2015
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.64 KB | None | 0 0
  1. repeat wait() until script.Parent.Name == "Backpack"
  2. keys = {["z"] = true;["x"] = true;["c"] = true;["v"] = true;["b"] = true;["n"] = true}
  3. excludedparts = {["BasePlate"] = true}
  4. run = game:GetService("RunService")
  5. plr = script.Parent.Parent
  6. mouse = plr:GetMouse()
  7. game:GetService("Chat")
  8. debounce = false
  9. area = 0
  10. half1 = 0
  11. half2 = 0
  12. operoomcframe = 0
  13. holdtime = 0
  14. opearm = false
  15. glow = 0
  16. f1 = false
  17. function CreateFalseSpike()
  18. local Spaike = Instance.new("Part")
  19. Spaike.Anchored = true
  20. Spaike.CanCollide = false
  21. Spaike.FormFactor = "Custom"
  22. Spaike.Size = Vector3.new(8.898, 4.768, 4.768)
  23. Spaike.Transparency = 1
  24. Spaike.TopSurface = 0
  25. Spaike.BottomSurface = 0
  26. Spaike.Material = "Concrete"
  27. return Spaike
  28. end
  29. spike = game:GetService("InsertService"):LoadAsset(238152126).Spike:Clone()
  30. spike = spike or CreateFalseSpike()
  31. spike.Parent = workspace.CurrentCamera
  32. spike.CFrame = CFrame.new(math.huge,100,math.huge)
  33. char = plr.Character or plr.CharacterAdded:wait()
  34. function waits()
  35. char:WaitForChild("Torso")
  36. char.Torso:WaitForChild("Right Shoulder")
  37. wait()
  38. end
  39. function pcal()
  40. pcall(waits)
  41. local checks = 0
  42. repeat pcall(waits) checks = checks+1 wait() until char:FindFirstChild("Torso") or checks == 20
  43. checks = 0
  44. repeat pcall(waits) checks = checks+1 wait() until char.Torso:FindFirstChild("Right Shoulder") or checks == 20
  45. end
  46. pcall(pcal)
  47. char = game.Workspace[plr.Name]
  48. origarm = script["Right Shoulder"].C0
  49.  
  50. function MPositionCheck(start,position,limit)
  51. if (start-position).Magnitude <= limit then
  52. return true
  53. end
  54. return false
  55. end
  56.  
  57. function Exclude(part)
  58. if excludedparts[part.Name] then
  59. return true
  60. end
  61. return false
  62. end
  63.  
  64. function Zmove()
  65. print("Finding Operoom")
  66. if char.Torso:FindFirstChild("OpeRoom") == nil then
  67. print("Not Found")
  68. game:GetService("Chat"):Chat(char, "Ope Ope no mi: Room")
  69. print("Chatted")
  70. local room = Instance.new("Part", char.Torso)
  71. room.BrickColor = BrickColor.new("Bright bluish green")
  72. room.Material = "SmoothPlastic"
  73. room.Reflectance = 0.7
  74. room.Transparency = 0.6
  75. room.Name = "OpeRoom"
  76. room.Anchored = true
  77. room.CanCollide = false
  78. room.Elasticity = 0
  79. room.Friction = 1
  80. room.Shape = "Ball"
  81. room.Size = Vector3.new(1,1,1)
  82. room.TopSurface = 0
  83. room.BottomSurface = 0
  84. room.CFrame = char["Right Arm"].CFrame+Vector3.new(0,-1,0)
  85. for i = 1, 3 do
  86. room.Size = room.Size+Vector3.new(10*holdtime,10*holdtime,10*holdtime)
  87. room.CFrame = char["Right Arm"].CFrame+Vector3.new(0,-1,0)
  88. run.Stepped:wait()
  89. end
  90. local opelight = Instance.new("PointLight")
  91. opelight.Range = room.Size.Y/2
  92. opelight.Name = "OpeLight"
  93. opelight.Parent = room
  94. area = room.Size.Y
  95. half1 = Vector3.new(-room.Size.X/2,-room.Size.Y/2,-room.Size.Z/2)
  96. half2 = Vector3.new(room.Size.X/2,room.Size.Y/2,room.Size.Z/2)
  97. operoomcframe = room.CFrame
  98. else
  99. print("Found")
  100. game:GetService("Chat"):Chat(char, "Ope Ope no mi: Room Collapse")
  101. for i = 1, char.Torso.OpeRoom.Size.Y-1 do
  102. if char.Torso:FindFirstChild("OpeRoom") == nil then debounce = false return end
  103. char.Torso.OpeRoom.Size = char.Torso.OpeRoom.Size+Vector3.new(-1,-1,-1)
  104. char.Torso.OpeRoom.CFrame = operoomcframe
  105. char.Torso.OpeRoom.OpeLight.Range = char.Torso.OpeRoom.Size.Y/2
  106. run.Stepped:wait()
  107. end
  108. area = 0
  109. half1 = 0
  110. half2 = 0
  111. operoomcframe = 0
  112. char.Torso.OpeRoom:Destroy()
  113. end
  114. debounce = false
  115. end
  116.  
  117. function Xmove()
  118. if opearm == false then
  119. game:GetService("Chat"):Chat(char, "Ope Ope no mi: Mes")
  120. opearm = true
  121. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0*CFrame.Angles(0,0,1.5)
  122. local touch = false
  123. local heartgrab
  124. heartgrab = char["Right Arm"].Touched:connect(function(hit)
  125. if opearm == false then
  126. heartgrab:disconnect()
  127. return
  128. end
  129. if hit.Parent:FindFirstChild("Humanoid") and touch == false then
  130. if hit.Parent.Humanoid ~= char.Humanoid then
  131. touch = true
  132. local heart = Instance.new("Tool")
  133. heart.Name = hit.Parent.Name.."'s heart"
  134. local hearthandle = Instance.new("Part",heart)
  135. hearthandle.Name = "Handle"
  136. hearthandle.FormFactor = "Custom"
  137. hearthandle.Size = Vector3.new(1.2,1.2,1.2)
  138. hearthandle.BrickColor = BrickColor.new("Medium blue")
  139. hearthandle.Reflectance = 0.5
  140. hearthandle.Transparency = 0.3
  141. hearthandle.Material = "SmoothPlastic"
  142. hearthandle.BackSurface = "SmoothNoOutlines"
  143. hearthandle.BottomSurface = "SmoothNoOutlines"
  144. hearthandle.FrontSurface = "SmoothNoOutlines"
  145. hearthandle.LeftSurface = "SmoothNoOutlines"
  146. hearthandle.RightSurface = "SmoothNoOutlines"
  147. hearthandle.TopSurface = "SmoothNoOutlines"
  148. local heartdecor = Instance.new("Part",heart)
  149. heartdecor.Name = "HeartDecoration"
  150. heartdecor.FormFactor = "Custom"
  151. heartdecor.Size = Vector3.new(1.2,1.2,1.2)
  152. heartdecor.BrickColor = BrickColor.new("Pink")
  153. heartdecor.Reflectance = 0.3
  154. heartdecor.CanCollide = false
  155. heartdecor.Material = "SmoothPlastic"
  156. local decormesh = Instance.new("SpecialMesh",heartdecor)
  157. decormesh.Name = "HeartMesh"
  158. decormesh.MeshType = "FileMesh"
  159. decormesh.MeshId = "http://www.roblox.com/asset/?id=105992239"
  160. decormesh.TextureId = ""
  161. decormesh.Scale = Vector3.new(2.5,2.5,2.5)
  162. local heartweld = Instance.new("Weld",hearthandle)
  163. heartweld.Name = "HeartWeld"
  164. heartweld.Part0 = hearthandle
  165. heartweld.Part1 = heartdecor
  166. heartweld.C0 = CFrame.new(0,0,-0.25)
  167. local heartscript = script.HeartTool:Clone()
  168. heartscript.Parent = heart
  169. heartscript.Heart.Value = hit.Parent.Humanoid
  170. heartscript.Disabled = false
  171. heart.Parent = plr.Backpack
  172. opearm = false
  173. char.Torso["Right Shoulder"].C0 = origarm
  174. heartgrab:disconnect()
  175. end
  176. end
  177. end)
  178. else
  179. opearm = false
  180. char.Torso["Right Shoulder"].C0 = origarm
  181. end
  182. wait()
  183. debounce = false
  184. end
  185.  
  186. function Cmove()
  187. if char.Torso:FindFirstChild("OpeRoom") == nil then debounce = false return end
  188. if holdtime > 0.5 then
  189. if mouse.Target ~= nil then
  190. local object = mouse.Target
  191. if not MPositionCheck(char.Torso.OpeRoom.Position,object.Position,area/2) and object.Anchored == true then debounce = false return end
  192. game:GetService("Chat"):Chat(char, "Ope Ope no mi: Takt;Levitate")
  193. object.CFrame = object.CFrame+Vector3.new(0,object.Size.Y,0)
  194. if object.Parent:FindFirstChild("Humanoid") then
  195. object.Parent.Humanoid:TakeDamage(15)
  196. object.Parent.Humanoid.Sit = true
  197. end
  198. if object.Parent:IsA("Model") then
  199. for _,part in pairs(object.Parent:GetChildren()) do
  200. if part:IsA("BasePart") then
  201. local levitate = Instance.new("BodyForce",part)
  202. levitate.Name = "OpeForce"
  203. levitate.force = Vector3.new(0,196.2*object:GetMass(),0)
  204. local debris = script.Debris:Clone()
  205. debris.Parent = levitate
  206. debris.Time.Value = 2
  207. debris.Disabled = false
  208. end
  209. end
  210. end
  211. end
  212. elseif holdtime <= 0.5 then
  213. local cfpoint = mouse.Hit
  214. local point = mouse.Hit.p
  215. print("mpos")
  216. if not MPositionCheck(char.Torso.OpeRoom.Position,point,area/2) then debounce = false return end
  217. print("mpos done")
  218. game:GetService("Chat"):Chat(char, "Ope Ope no mi: Takt;Thorn")
  219. local touch = false
  220. local spikeclone = spike:Clone()
  221. spikeclone.Parent = char.Torso
  222. local spikeconnect
  223. spikeconnect = spikeclone.Touched:connect(function(hit)
  224. if touch == false and hit.Name ~= "OpeRoom" then
  225. touch = true
  226. spikeclone.Material = hit.Material
  227. spikeclone.BrickColor = hit.BrickColor
  228. spikeclone.Transparency = hit.Transparency
  229. spikeclone.Reflectance = hit.Reflectance
  230. spikeclone.Anchored = true
  231. elseif hit.Parent:FindFirstChild("Humanoid") then
  232. if hit.Parent.Humanoid ~= char.Humanoid then
  233. hit.Parent.Humanoid:TakeDamage(10)
  234. end
  235. end
  236. end)
  237. spikeclone.CFrame = cfpoint
  238. spikeclone.CFrame = spikeclone.CFrame*CFrame.Angles(0,0,-1.5)
  239. spikeclone.Anchored = false
  240. local debris = script.Debris:Clone()
  241. debris.Parent = spikeclone
  242. debris.Time.Value = 3
  243. debris.Disabled = false
  244. wait(1)
  245. end
  246. wait()
  247. debounce = false
  248. end
  249.  
  250. function Vmove()
  251. local enhancepart = char["Right Arm"]
  252. local holdheart = false
  253. local heart
  254. for _,c in pairs(char:GetChildren()) do
  255. if c:IsA("Tool") and c:FindFirstChild("Handle") then
  256. if c:FindFirstChild("HeartTool") then
  257. holdheart = true
  258. heart = c
  259. else
  260. enhancepart = c.Handle
  261. end
  262. f1 = true
  263. break
  264. end
  265. end
  266. if opearm == false then
  267. opearm = true
  268. if f1 == false then
  269. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0*CFrame.Angles(0,0,1.5)
  270. end
  271. if holdheart == false then
  272. if enhancepart.Name ~= "Handle" then
  273. game:GetService("Chat"):Chat(char, "Ope Ope no mi: Counter Shock")
  274. else
  275. game:GetService("Chat"):Chat(char, "Ope Ope no mi: Radio Knife")
  276. end
  277. glow = Instance.new("PointLight",char["Right Arm"])
  278. glow.Brightness = 100000000
  279. glow.Color = Color3.new(0,170/255,1)
  280. local touch = false
  281. local countershock
  282. countershock = enhancepart.Touched:connect(function(hit)
  283. if opearm == false then
  284. countershock:disconnect()
  285. return
  286. end
  287. if hit.Parent:FindFirstChild("Humanoid") then
  288. if hit.Parent.Humanoid ~= char.Humanoid then
  289. hit.Parent.Humanoid:TakeDamage(45)
  290. hit.Parent.Humanoid.Sit = true
  291. hit.Velocity = char.Torso.CFrame.lookVector*100
  292. for _,part in pairs(hit.Parent:GetChildren()) do
  293. if part:IsA("BasePart") then
  294. for i = 1, math.random(5,13) do
  295. local surge = Instance.new("Part",char.Torso)
  296. surge.BrickColor = BrickColor.new("Bright bluish green")
  297. surge.Transparency = 0.3
  298. surge.Anchored = true
  299. surge.FormFactor = "Custom"
  300. surge.Size = Vector3.new(0.2,math.random(1,3),0.2)
  301. surge.CFrame = part.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))*CFrame.Angles(math.random(-10,10)*0.1,math.random(-10,10)*0.1,math.random(-10,10)*0.1)
  302. local debris = script.Debris:Clone()
  303. debris.Parent = surge
  304. debris.Time.Value = .3
  305. debris.Disabled = false
  306. end
  307. end
  308. end
  309. opearm = false
  310. char.Torso["Right Shoulder"].C0 = origarm
  311. if glow ~= nil then
  312. glow:Destroy()
  313. end
  314. countershock:disconnect()
  315. end
  316. end
  317. end)
  318. else
  319. if heart.HeartTool.Heart.Value ~= nil then
  320. game:GetService("Chat"):Chat(char, "Ope Ope no mi: Electrocution")
  321. for i = 1, math.random(9,16) do
  322. local surge = Instance.new("Part",heart.Handle)
  323. surge.BrickColor = BrickColor.new("Bright bluish green")
  324. surge.Transparency = 0.3
  325. surge.Anchored = true
  326. surge.FormFactor = "Custom"
  327. surge.CanCollide = false
  328. surge.Size = Vector3.new(0.2,math.random(1,3),0.2)
  329. surge.CFrame = heart.Handle.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))*CFrame.Angles(math.random(-10,10)*0.1,math.random(-10,10)*0.1,math.random(-10,10)*0.1)
  330. local debris = script.Debris:Clone()
  331. debris.Parent = surge
  332. debris.Time.Value = .4
  333. debris.Disabled = false
  334. end
  335. for _,part in pairs(heart.HeartTool.Heart.Value.Parent:GetChildren()) do
  336. if part:IsA("BasePart") then
  337. for i = 1, math.random(8,14) do
  338. local surge = Instance.new("Part",char.Torso)
  339. surge.BrickColor = BrickColor.new("Bright bluish green")
  340. surge.Transparency = 0.3
  341. surge.Anchored = true
  342. surge.FormFactor = "Custom"
  343. surge.CanCollide = false
  344. surge.Size = Vector3.new(0.2,math.random(1,3),0.2)
  345. surge.CFrame = part.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))*CFrame.Angles(math.random(-10,10)*0.1,math.random(-10,10)*0.1,math.random(-10,10)*0.1)
  346. local debris = script.Debris:Clone()
  347. debris.Parent = surge
  348. debris.Time.Value = .3
  349. debris.Disabled = false
  350. end
  351. end
  352. end
  353. heart.HeartTool.Heart.Value.Parent.Humanoid:TakeDamage(50)
  354. end
  355. end
  356. wait(4)
  357. else
  358. opearm = false
  359. if f1 == false then
  360. char.Torso["Right Shoulder"].C0 = origarm
  361. end
  362. if glow ~= nil then
  363. glow:Destroy()
  364. end
  365. end
  366. wait()
  367. enhancepart = char["Right Arm"]
  368. debounce = false
  369. end
  370.  
  371. function Bmove()
  372. if char.Torso:FindFirstChild("OpeRoom") == nil then debounce = false return end
  373. if holdtime > 0.5 then
  374. game:GetService("Chat"):Chat(char, "Ope Ope no mi: Shambles")
  375. local objects = {}
  376. local detector = char.Torso.OpeRoom:Clone()
  377. detector.Transparency = 1
  378. detector.CFrame = char.Torso.OpeRoom.CFrame
  379. local partgrab
  380. local same = false
  381. partgrab = detector.Touched:connect(function(hit)
  382. if hit.Parent ~= char and hit.Name ~= "Handle" and not Exclude(hit) then
  383. for _,obj in pairs(objects) do
  384. if obj == hit then
  385. same = true
  386. break
  387. end
  388. end
  389. if same == false then
  390. table.insert(objects,hit)
  391. end
  392. end
  393. end)
  394. detector.Parent = char.Torso
  395. detector.Anchored = false
  396. wait(.25)
  397. partgrab:disconnect()
  398. detector:Destroy()
  399. if #objects > 0 then
  400. for _,part in pairs(objects) do
  401. if part.Parent ~= char and part.Name ~= "Handle" then
  402. if part.Anchored == false then
  403. if MPositionCheck(char.Torso.OpeRoom.Position,part.Position,area/2) then
  404. if part.Parent:FindFirstChild("Humanoid") then
  405. part.Parent.Humanoid:TakeDamage(25/6)
  406. part.Parent.Humanoid.Sit = true
  407. else
  408. part:BreakJoints()
  409. end
  410. local levitate = Instance.new("BodyForce",part)
  411. levitate.Name = "OpeForce"
  412. if math.random(1,2) == 1 then
  413. levitate.force = Vector3.new((196.2+math.random(-30,30))*part:GetMass(),(196.2+math.random(-30,30))*part:GetMass(),(196.2+math.random(-30,30))*part:GetMass())
  414. else
  415. levitate.force = Vector3.new((-196.2+math.random(-30,30))*part:GetMass(),(-196.2+math.random(-30,30))*part:GetMass(),(-196.2+math.random(-30,30))*part:GetMass())
  416. end
  417. local debris = script.Debris:Clone()
  418. debris.Parent = levitate
  419. debris.Time.Value = .5
  420. debris.Disabled = false
  421. part.Velocity = Vector3.new()
  422. end
  423. end
  424. end
  425. end
  426. end
  427. elseif holdtime <= 0.5 then
  428. if mouse.Target == nil then debounce = false return end
  429. local target = mouse.Target
  430. if not MPositionCheck(char.Torso.OpeRoom.Position,target.Position,area/2) then debounce = false return end
  431. if Exclude(target) then debounce = false return end
  432. if target.Anchored == true and target.Name ~= "Handle" then debounce = false return end
  433. game:GetService("Chat"):Chat(char, "Ope Ope no mi: Shambles;Teleport")
  434. local targetclone = target:Clone()
  435. targetclone.Parent = char.Torso
  436. targetclone.Anchored = true
  437. targetclone.CanCollide = false
  438. if targetclone.ClassName ~= "TrussPart" then
  439. targetclone.FormFactor = "Custom"
  440. targetclone.Size = targetclone.Size+Vector3.new(0.5,0.5,0.5)
  441. end
  442. targetclone.Transparency = 0.3
  443. targetclone.CFrame = target.CFrame
  444. targetclone.BrickColor = BrickColor.Green()
  445. local weld = Instance.new("Weld",targetclone)
  446. weld.Part0 = targetclone
  447. weld.Part1 = target
  448. weld.C0 = CFrame.new()
  449. local debris = script.Debris:Clone()
  450. debris.Parent = targetclone
  451. debris.Time.Value = 5
  452. debris.Disabled = false
  453. wait(.2)
  454. targetclone.BrickColor = BrickColor.Yellow()
  455. wait(.2)
  456. targetclone.BrickColor = BrickColor.Red()
  457. wait(.2)
  458. targetclone:Destroy()
  459. if (mouse.Hit.p-target.Position).Magnitude <= area then
  460. if target ~= nil then
  461. if target.Parent:FindFirstChild("Torso") and target.Parent:FindFirstChild("Humanoid") then
  462. target.Parent.Humanoid.PlatformStand = true
  463. target.Parent.Torso.CFrame = mouse.Hit
  464. target.Parent.Humanoid.PlatformStand = false
  465. else
  466. target:BreakJoints()
  467. target.CFrame = mouse.Hit
  468. end
  469. end
  470. end
  471. end
  472. wait()
  473. debounce = false
  474. end
  475.  
  476. function Nmove()
  477. if char.Torso:FindFirstChild("OpeRoom") == nil then debounce = false return end
  478. if not MPositionCheck(char.Torso.OpeRoom.Position,char.Torso.Position,area/2) then debounce = false return end
  479. local tooltf
  480. local tool
  481. for _,obj in pairs(char:GetChildren()) do
  482. if obj:IsA("Tool") then
  483. if obj:FindFirstChild("Handle") then
  484. tooltf = true
  485. tool = obj
  486. break
  487. end
  488. end
  489. end
  490. if tooltf == false then debounce = false return end
  491. if tool == nil then debounce = false return end
  492. game:GetService("Chat"):Chat(char, "Ope Ope no mi: Injection Shot")
  493. local convert = Instance.new("IntValue")
  494. convert.Value = holdtime
  495. local holdtimeint
  496. if convert.Value == 0 then
  497. holdtimeint = 1
  498. else
  499. holdtimeint = convert.Value*2
  500. game:GetService("Chat"):Chat(char, "Ope Ope no mi: Injection Shot;Barrage")
  501. end
  502. convert:Destroy()
  503. for i = 1, holdtimeint do
  504. local shot = Instance.new("Part",char.Torso)
  505. shot.CanCollide = false
  506. shot.Transparency = 0.6
  507. shot.BrickColor = BrickColor.new("White")
  508. shot.FormFactor = "Custom"
  509. shot.Size = Vector3.new(area - (char.Torso.Position-char.Torso.OpeRoom.Position).Magnitude/2,0,0)
  510. shot.CFrame = tool.Handle.CFrame*CFrame.new((-(area-(char.Torso.Position-char.Torso.OpeRoom.Position).Magnitude/4)/2)+4,0,0)*CFrame.Angles(0,math.random(-10,10)*0.0010,math.random(-10,10)*0.0010)
  511. shot.TopSurface = 0
  512. shot.BottomSurface = 0
  513. shot.Material = "SmoothPlastic"
  514. shot.BackSurface = "SmoothNoOutlines"
  515. shot.BottomSurface = "SmoothNoOutlines"
  516. shot.FrontSurface = "SmoothNoOutlines"
  517. shot.LeftSurface = "SmoothNoOutlines"
  518. shot.RightSurface = "SmoothNoOutlines"
  519. shot.TopSurface = "SmoothNoOutlines"
  520. local shotgrav = Instance.new("BodyForce",shot)
  521. shotgrav.force = Vector3.new(0,196.2*shot:GetMass(),0)
  522. local debris = script.Debris:Clone()
  523. debris.Parent = shot
  524. debris.Time.Value = .5
  525. debris.Disabled = false
  526. local shotted
  527. local counter = 0
  528. local lasthumanoid
  529. shotted = shot.Touched:connect(function(hit)
  530. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= char and counter <= 4 then
  531. if hit.Parent.Humanoid ~= lasthumanoid then
  532. counter = counter+1
  533. hit.Parent.Humanoid:TakeDamage(8)
  534. hit.Parent.Humanoid.Sit = true
  535. lasthumanoid = hit.Parent.Humanoid
  536. end
  537. elseif counter == 5 then
  538. shotted:disconnect()
  539. end
  540. end)
  541. end
  542. wait(2)
  543. debounce = false
  544. end
  545.  
  546. function DFability(move)
  547. if move == "z" then
  548. print("z")
  549. Zmove()
  550. elseif move == "x" then
  551. print("x")
  552. Xmove()
  553. elseif move == "c" then
  554. print("c")
  555. Cmove()
  556. elseif move == "v" then
  557. print("v")
  558. Vmove()
  559. elseif move == "b" then
  560. print("b")
  561. Bmove()
  562. elseif move == "n" then
  563. Nmove()
  564. end
  565. if wait(5) then
  566. debounce = false
  567. end
  568. end
  569.  
  570.  
  571.  
  572. mouse.KeyDown:connect(function(originalkeydown)
  573. local key1 = originalkeydown:lower()
  574. if debounce == false then
  575. if keys[key1]then
  576. debounce = true
  577. holdtime = 0
  578. local keyu = mouse.KeyUp:connect(function(originalkeyup)
  579. key2 = originalkeyup:lower()
  580. end)
  581. repeat wait() holdtime = holdtime + 0.03 until key2 == key1 or holdtime > 5
  582. print(holdtime)
  583. DFability(key1)
  584. keyu:disconnect()
  585. key2 = nil
  586. end
  587. end
  588. end)
  589. print("SmokeDelsin")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement