Advertisement
SmokeDelsin

ope

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