CRAZYNFOF

Rj radiant laodstring1555

Jan 23rd, 2021 (edited)
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 KB | None | 0 0
  1. game:GetService("StarterGui"):SetCore("SendNotification",{
  2. Title = "Cyclo";
  3. Text = "has laoded"
  4. })
  5.  
  6. mt = getrawmetatable(game)
  7. oldIndex = mt.__index
  8. setreadonly(mt, false)
  9.  
  10. mt.__index = function(a,b)
  11. if a == "Weld" or b == "Weld" then
  12. return "Part"
  13. end
  14. return oldIndex(a,b)
  15. end
  16.  
  17.  
  18.  
  19. local Player = game.Players.LocalPlayer
  20. local Char = Player.Character
  21. local KeyBindHigh = "e"
  22. local IncreaseAmmount = 5
  23. local KeyBindLow = "r"
  24. local settings = {repeatamount = 2} -- Best to keep it at 2 so it doesnt cause lag or FPS drops
  25. _G.Dist = 5
  26. _G.SphereActivated = false --// If set to true it'll add a visual circle that helps you to know what size exactly is the circle, but it will cause a big fps drop everytime you equip
  27. setsimulationradius(math.huge,math.huge)
  28.  
  29.  
  30. game:GetService("RunService").Stepped:Connect(function()
  31. local Player = game.Players.LocalPlayer
  32. local Char = Player.Character
  33. pcall(function()
  34. for i,v in pairs(game.Players:GetPlayers()) do
  35. if v ~= Player then
  36. if v.Character.Humanoid.Health ~= 0 then
  37. if (v.Character.HumanoidRootPart.Position - Char.HumanoidRootPart.Position).Magnitude <= _G.Dist then
  38. for _,x in pairs(v.Character:GetChildren()) do
  39. if x:IsA("Part") then
  40. for i = 1,settings.repeatamount do
  41. firetouchinterest(Char:FindFirstChildOfClass("Tool").Handle, x, 0)
  42. firetouchinterest(Char:FindFirstChildOfClass("Tool").Handle, x, 1)
  43. end
  44. end
  45. end
  46. end
  47. end
  48. end
  49. end
  50. end)
  51. end)
  52.  
  53.  
  54.  
  55. Player:GetMouse().KeyDown:Connect(function(Key)
  56. if Key == KeyBindHigh then
  57. _G.Dist = _G.Dist + IncreaseAmmount
  58. game.StarterGui:SetCore("SendNotification", {
  59. Title = "Project Cyclo";
  60. Text = "P^C set to " .. _G.Dist;
  61. Icon = "";
  62. Duration = 1;})
  63. end
  64. if Key == KeyBindLow then
  65. _G.Dist = _G.Dist - IncreaseAmmount
  66. game.StarterGui:SetCore("SendNotification", {
  67. Title = "Project Cyclo";
  68. Text = "P^C set to " .. _G.Dist;
  69. Icon = "";
  70. Duration = 1;})
  71. end
  72. end)
  73.  
  74.  
  75.  
  76. if _G.SphereActivated then
  77. function Update()
  78. game.Players.LocalPlayer.Character.ChildAdded:Connect(function(tool)
  79. if tool:FindFirstChild("Handle") then
  80. Part = Instance.new("Part")
  81. Weld = Instance.new("Weld", workspace)
  82. Part.Parent = workspace
  83. Part.Transparency = 1
  84. Part.CanCollide = false
  85. Sphere = Instance.new("SelectionSphere",game:GetService("CoreGui").RobloxGui.Modules)
  86. Sphere.Transparency = 1
  87. Sphere.SurfaceColor3 = Color3.new(255,0,0)
  88. Sphere.Name = "Sphere"
  89. Sphere.SurfaceTransparency = .5
  90. Sphere.Adornee = Part
  91. Part.Massless = true
  92. Part.Position = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Handle.Position
  93. Weld.Part0 = Part
  94. Weld.Part1 = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Handle
  95. game:GetService("RunService").Stepped:Connect(function()
  96. Part.Size = Vector3.new(_G.Dist,_G.Dist,_G.Dist)
  97. end)
  98. end
  99. end)
  100. end
  101. function UnEquip()
  102. game.Players.LocalPlayer.Character.ChildRemoved:Connect(function(int)
  103. if int:FindFirstChild("Handle") then
  104. for i,v in pairs(game:GetService("CoreGui").RobloxGui.Modules:GetDescendants()) do
  105. if v.Name == 'Sphere' then
  106. v:Destroy()
  107. end
  108. end
  109. end
  110. end)
  111. end
  112.  
  113.  
  114.  
  115. Update()
  116. UnEquip()
  117.  
  118. game.Players.LocalPlayer.CharacterAdded:Connect(Update)
  119. game.Players.LocalPlayer.CharacterAdded:Connect(UnEquip)
  120. end
  121.  
  122.  
  123.  
  124. local AC = false
  125. local Key = Enum.KeyCode.Q
  126.  
  127. game:GetService("UserInputService").InputBegan:Connect(function(k,g)
  128. if not g and k.KeyCode == Key then
  129. AC = not AC
  130. end
  131. end)
  132.  
  133. while wait() do
  134. if AC then
  135. pcall(function()
  136. local Sword = game:GetService'Players'.LocalPlayer.Character:FindFirstChildOfClass'Tool'
  137. Sword:Activate()
  138. Sword:Activate()
  139. end)
  140. end
  141. end
Add Comment
Please, Sign In to add comment