REDPlays

JoJo Part 9 Scripts

Jan 20th, 2020
3,710
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. --//R6 local scripts
  2.  
  3. local Player = game.Players.LocalPlayer
  4.  
  5. local rp = game:GetService("ReplicatedStorage")
  6. local Stand = rp:WaitForChild("Stand1Remotes"):WaitForChild("Stand")
  7.  
  8. local UIS = game:GetService("UserInputService")
  9.  
  10. local debounce = false
  11. local active = false
  12.  
  13. UIS.InputBegan:Connect(function(input,isTyping)
  14. if isTyping then
  15. return
  16. elseif input.KeyCode == Enum.KeyCode.E then
  17. if debounce == false and active == false then
  18. debounce = true
  19.  
  20. Stand:FireServer(active)
  21. end
  22. end
  23. end)
  24.  
  25. UIS.InputBegan:Connect(function(input,isTyping)
  26. if isTyping then
  27. return
  28. elseif input.KeyCode == Enum.KeyCode.E then
  29. if debounce == true and active == false then
  30. active = true
  31.  
  32. Stand:FireServer(active)
  33. end
  34. end
  35. end)
  36.  
  37. Stand.OnClientEvent:Connect(function()
  38. wait(1)
  39. debounce = false
  40. active = false
  41. end)
  42.  
  43. local Player = game:GetService("Players").LocalPlayer
  44.  
  45. local rp = game:GetService("ReplicatedStorage")
  46. local Punch = rp:WaitForChild("Stand1Remotes"):WaitForChild("Punch")
  47.  
  48. local UIS = game:GetService("UserInputService")
  49.  
  50. local debounce = false
  51. local cooldown = .75
  52.  
  53. UIS.InputBegan:Connect(function(input,IsTyping)
  54. if IsTyping then
  55. return
  56. elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  57.  
  58. if workspace:FindFirstChild(Player.Name.." Stand") then
  59. if debounce == false then
  60. debounce = true
  61.  
  62. Punch:FireServer()
  63.  
  64. wait(cooldown)
  65. debounce = false
  66. end
  67. end
  68.  
  69. end
  70. end)
  71.  
  72. local Player = game:GetService("Players").LocalPlayer
  73.  
  74. local rp = game:GetService("ReplicatedStorage")
  75. local Barrage = rp:WaitForChild("Stand1Remotes"):WaitForChild("BarrageHold")
  76.  
  77. local UIS = game:GetService("UserInputService")
  78.  
  79. local debounce = false
  80. local active = false
  81. local cooldown = 3
  82.  
  83. UIS.InputBegan:Connect(function(input,IsTyping)
  84. if IsTyping then
  85. return
  86. elseif input.KeyCode == Enum.KeyCode.F then
  87.  
  88. if workspace:FindFirstChild(Player.Name.." Stand") then
  89. if debounce == false and active == false then
  90. debounce = true
  91.  
  92. Barrage:FireServer(active)
  93. end
  94. end
  95.  
  96. end
  97. end)
  98.  
  99. UIS.InputEnded:Connect(function(input,IsTyping)
  100. if IsTyping then
  101. return
  102. elseif input.KeyCode == Enum.KeyCode.F then
  103.  
  104. if workspace:FindFirstChild(Player.Name.." Stand") then
  105. if debounce == true and active == false then
  106. active = true
  107.  
  108. Barrage:FireServer(active)
  109. end
  110. end
  111.  
  112. end
  113. end)
  114.  
  115. Barrage.OnClientEvent:Connect(function()
  116. wait(cooldown)
  117. active = false
  118. debounce = false
  119. end)
  120.  
  121. local Player = game:GetService("Players").LocalPlayer
  122.  
  123. local rp = game:GetService("ReplicatedStorage")
  124. local World = rp:WaitForChild("Stand1Remotes"):WaitForChild("World")
  125.  
  126. local UIS = game:GetService("UserInputService")
  127.  
  128. local debounce = false
  129. local cooldown = 10
  130.  
  131. UIS.InputBegan:Connect(function(input,IsTyping)
  132. if IsTyping then
  133. return
  134. elseif input.KeyCode == Enum.KeyCode.C then
  135.  
  136. if workspace:FindFirstChild(Player.Name.." Stand") then
  137. if debounce == false then
  138. debounce = true
  139.  
  140. World:FireServer()
  141. end
  142. end
  143.  
  144. end
  145. end)
  146.  
  147. World.OnClientEvent:Connect(function()
  148. wait(cooldown)
  149. debounce = false
  150. end)
Advertisement
Add Comment
Please, Sign In to add comment