Advertisement
Howscriptforu

Relm of idk

Sep 2nd, 2023
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 10.16 KB | Software | 0 0
  1. getgenv().SecureMode = true
  2. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  3. local Window = Rayfield:CreateWindow({
  4.    Name = "Cultivation of Realms",
  5.    LoadingTitle = "Crappy cultivation game script",
  6.    LoadingSubtitle = "by bread/glucose",
  7.    ConfigurationSaving = {
  8.       Enabled = true,
  9.       FolderName = CultivationofRealms,
  10.       FileName = "CultivationofRealmsConfig"
  11.    },
  12.    Discord = {
  13.       Enabled = false,
  14.       Invite = "",
  15.       RememberJoins = true
  16.    },
  17.    KeySystem = false,
  18.    KeySettings = {
  19.       Title = "Untitled",
  20.       Subtitle = "Key System",
  21.       Note = "No method of obtaining the key is provided",
  22.       FileName = "Key",
  23.       SaveKey = true,
  24.       GrabKeyFromSite = false,
  25.       Key = {"Hello"}
  26.    }
  27. })
  28. local Tab = Window:CreateTab("Autofarming Stuff", 4483362458) -- Title, Image
  29. local Section = Tab:CreateSection("AFK Farming stuff")
  30. getgenv().test = true
  31. local Toggle = Tab:CreateToggle({
  32.    Name = "Auto Cultivate",
  33.    CurrentValue = false,
  34.    Flag = "Cult",
  35.    Callback = function(Value)
  36. getgenv().test = Value
  37. local args = {
  38.     [1] = {
  39.         ["value"] = true,
  40.         ["TrValue"] = true
  41.     }
  42. }
  43. while getgenv().test == true do
  44. wait()
  45. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("onREvent"):FireServer(unpack(args))
  46. end
  47.    end,
  48. })
  49. getgenv().autobreak = true
  50. local Toggle = Tab:CreateToggle({
  51.    Name = "Auto Breakthrough",
  52.    CurrentValue = false,
  53.    Flag = "Break",
  54.    Callback = function(Value)
  55.    getgenv().autobreak = Value
  56.    while getgenv().autobreak == true do
  57.    wait()
  58.    game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Trascendence"):FireServer()
  59.    end
  60.    end,
  61. })
  62. local Paragraph = Tab:CreateParagraph({Title = "Note:", Content = "Autobreak somehow reduced breakthrough requirements simply by breakthroughing so fast that it keeps a certain percentage of QI from a previous rank/realm; tldr; you cultivate like 50x faster than everyone else"})
  63. local Players = game:GetService("Players")
  64.  
  65. local Tab = Window:CreateTab("Combat Stuff", 4483362458)
  66. local Section = Tab:CreateSection("Hitbox Stuff")
  67. getgenv().HitboxSize = 15
  68. getgenv().HitboxTransparency = 0.7
  69.  
  70. getgenv().HitboxStatus = false
  71. getgenv().TeamCheck = false
  72. getgenv().FriendCheck = false
  73.  
  74. local Toggle = Tab:CreateToggle({
  75.    Name = "Hitbox Extender",
  76.    CurrentValue = false,
  77.    Flag = "HBE1",
  78.    Callback = function(Value)
  79.    getgenv().HitboxStatus = Value
  80.     game:GetService('RunService').RenderStepped:connect(function()
  81.         if HitboxStatus == true and TeamCheck == false and FriendCheck == false then
  82.             for i,v in next, game:GetService('Players'):GetPlayers() do
  83.                 if v.Name ~= game:GetService('Players').LocalPlayer.Name then
  84.                     pcall(function()
  85.                         v.Character.HumanoidRootPart.Size = Vector3.new(HitboxSize, HitboxSize, HitboxSize)
  86.                         v.Character.HumanoidRootPart.Transparency = HitboxTransparency
  87.                         v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really black")
  88.                         v.Character.HumanoidRootPart.Material = "Neon"
  89.                         v.Character.HumanoidRootPart.CanCollide = false
  90.                     end)
  91.                 end
  92.             end
  93.         elseif HitboxStatus == true and TeamCheck == false and FriendCheck == true then
  94.             for i,v in next, game:GetService('Players'):GetPlayers() do
  95.                 for i2,v2 in pairs(game:GetService('Players'):GetChildren()) do
  96.                     if v.Name ~= game:GetService('Players').LocalPlayer.Name and not v2:IsFriendsWith(game:GetService('Players').LocalPlayer.UserId) then
  97.                         pcall(function()
  98.                             v.Character.HumanoidRootPart.Size = Vector3.new(HitboxSize, HitboxSize, HitboxSize)
  99.                             v.Character.HumanoidRootPart.Transparency = HitboxTransparency
  100.                             v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really black")
  101.                             v.Character.HumanoidRootPart.Material = "Neon"
  102.                             v.Character.HumanoidRootPart.CanCollide = false
  103.                         end)
  104.                     end
  105.                 end
  106.             end
  107.         elseif HitboxStatus == true and TeamCheck == true and FriendCheck == false then
  108.             for i,v in next, game:GetService('Players'):GetPlayers() do
  109.                 if game:GetService('Players').LocalPlayer.Team ~= v.Team then
  110.                     pcall(function()
  111.                         v.Character.HumanoidRootPart.Size = Vector3.new(HitboxSize, HitboxSize, HitboxSize)
  112.                         v.Character.HumanoidRootPart.Transparency = HitboxTransparency
  113.                         v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really black")
  114.                         v.Character.HumanoidRootPart.Material = "Neon"
  115.                         v.Character.HumanoidRootPart.CanCollide = false
  116.                     end)
  117.                 end
  118.             end
  119.         elseif HitboxStatus == true and TeamCheck == true and FriendCheck == true then
  120.             for i,v in next, game:GetService('Players'):GetPlayers() do
  121.                 if game:GetService('Players').LocalPlayer.Team ~= v.Team and not game:GetService('Players'):IsFriendsWith(UserId) then
  122.                     pcall(function()
  123.                         v.Character.HumanoidRootPart.Size = Vector3.new(HitboxSize, HitboxSize, HitboxSize)
  124.                         v.Character.HumanoidRootPart.Transparency = HitboxTransparency
  125.                         v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really black")
  126.                         v.Character.HumanoidRootPart.Material = "Neon"
  127.                         v.Character.HumanoidRootPart.CanCollide = false
  128.                     end)
  129.                 end
  130.             end
  131.         else
  132.             for i,v in next, game:GetService('Players'):GetPlayers() do
  133.                 if v.Name ~= game:GetService('Players').LocalPlayer.Name then
  134.                     pcall(function()
  135.                         v.Character.HumanoidRootPart.Size = Vector3.new(2,2,1)
  136.                         v.Character.HumanoidRootPart.Transparency = 1
  137.                         v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Medium stone grey")
  138.                         v.Character.HumanoidRootPart.Material = "Plastic"
  139.                         v.Character.HumanoidRootPart.CanCollide = false
  140.                     end)
  141.                 end
  142.             end
  143.         end
  144.     end)
  145.    end,
  146. })
  147. local Slider = Tab:CreateSlider({
  148.    Name = "Hitbox Size",
  149.    Range = {0, 100},
  150.    Increment = 1,
  151.    Suffix = "Studs",
  152.    CurrentValue = 5,
  153.    Flag = "HBE2",
  154.    Callback = function(Value)
  155.    getgenv().HitboxSize = Value
  156.    end,
  157. })
  158. local Slider = Tab:CreateSlider({
  159.    Name = "Hitbox Transparency",
  160.    Range = {0, 1},
  161.    Increment = 0.1,
  162.    Suffix = "/1",
  163.    CurrentValue = 0.9,
  164.    Flag = "HBE3",
  165.    Callback = function(Value)
  166.    getgenv().HitboxTransparency = Value
  167.    end,
  168. })
  169. local Toggle = Tab:CreateToggle({
  170.    Name = "Team Check (useless)",
  171.    CurrentValue = false,
  172.    Flag = "Team",
  173.    Callback = function(Value)
  174.    getgenv().TeamCheck = Value
  175.    end,
  176. })
  177. local Toggle = Tab:CreateToggle({
  178.    Name = "Friend Check (useless if you have no friends))",
  179.    CurrentValue = false,
  180.    Flag = "Friend",
  181.    Callback = function(Value)
  182.    getgenv().FriendCheck = Value
  183.    end,
  184. })
  185. local Section = Tab:CreateSection("ESP Stuff")
  186. local Toggle = Tab:CreateToggle({
  187.    Name = "Highlight ESP",
  188.    CurrentValue = true,
  189.    Flag = "ESP",
  190.    Callback = function(Value)
  191. getgenv().enabled = Value
  192. getgenv().filluseteamcolor = true
  193. getgenv().outlineuseteamcolor = true
  194. getgenv().fillcolor = Color3.new(0, 0, 0)
  195. getgenv().outlinecolor = Color3.new(1, 1, 1)
  196. getgenv().filltrans = 0.9
  197. getgenv().outlinetrans = 0
  198.  
  199. loadstring(game:HttpGet("https://raw.githubusercontent.com/Vcsk/RobloxScripts/main/Highlight-ESP.lua"))()
  200.  
  201. local c = workspace.CurrentCamera
  202. local ps = game:GetService("Players")
  203. local lp = ps.LocalPlayer
  204. local rs = game:GetService("RunService")
  205.  
  206. local function esp(p,cr)
  207.     local h = cr:WaitForChild("Humanoid")
  208.     local hrp = cr:WaitForChild("Head")
  209.  
  210.     local text = Drawing.new("Text")
  211.     text.Visible = false
  212.     text.Center = true
  213.     text.Outline = false
  214.     text.Font = 3
  215.     text.Size = 16.16
  216.     text.Color = Color3.new(170,170,170)
  217.  
  218.     local conection
  219.     local conection2
  220.     local conection3
  221.  
  222.     local function dc()
  223.         text.Visible = false
  224.         text:Remove()
  225.         if conection then
  226.             conection:Disconnect()
  227.             conection = nil
  228.         end
  229.         if conection2 then
  230.             conection2:Disconnect()
  231.             conection2 = nil
  232.         end
  233.         if conection3 then
  234.             conection3:Disconnect()
  235.             conection3 = nil
  236.         end
  237.     end
  238.  
  239.     conection2 = cr.AncestryChanged:Connect(function(_,parent)
  240.         if not parent then
  241.             dc()
  242.         end
  243.     end)
  244.  
  245.     conection3 = h.HealthChanged:Connect(function(v)
  246.         if (v<=0) or (h:GetState() == Enum.HumanoidStateType.Dead) then
  247.             dc()
  248.         end
  249.     end)
  250.  
  251.     conection = rs.RenderStepped:Connect(function()
  252.         local hrp_pos,hrp_onscreen = c:WorldToViewportPoint(hrp.Position)
  253.         if hrp_onscreen and ESPName == true then
  254.             text.Position = Vector2.new(hrp_pos.X, hrp_pos.Y - 27)
  255.             text.Text = p.DisplayName.." (@"..p.Name..")"
  256.             text.Visible = true
  257.         else
  258.             text.Visible = false
  259.         end
  260.     end)
  261. end
  262.  
  263. local function p_added(p)
  264.     if p.Character then
  265.         esp(p,p.Character)
  266.     end
  267.     p.CharacterAdded:Connect(function(cr)
  268.         esp(p,cr)
  269.     end)
  270. end
  271.  
  272. for i,p in next, ps:GetPlayers() do
  273.     if p ~= lp then
  274.         p_added(p)
  275.     end
  276. end
  277.  
  278. ps.PlayerAdded:Connect(p_added)
  279. end,
  280. })
  281. local Slider = Tab:CreateSlider({
  282.    Name = "Fill Transparency",
  283.    Range = {0, 1},
  284.    Increment = 0.1,
  285.    Suffix = "/1",
  286.    CurrentValue = 1,
  287.    Flag = "Fill", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  288.   Callback = function(Value)
  289.   getgenv().filltrans = Value
  290.   end,
  291. })
  292. local Slider = Tab:CreateSlider({
  293.   Name = "Outline Transparency",
  294.   Range = {0, 100},
  295.   Increment = 10,
  296.   Suffix = "/1",
  297.   CurrentValue = 0,
  298.   Flag = "Outline",
  299.   Callback = function(Value)
  300.   getgenv().outlinetrans = Value
  301.   end,
  302. })
  303. local Paragraph = Tab:CreateParagraph({Title = "How transparency works in ROBLOX", Content = "0 is completely solid, 1 is completely transparent"})
  304. local Section = Tab:CreateSection("Misc")
  305. getgenv().punch = true
  306. local Toggle = Tab:CreateToggle({
  307.   Name = "Auto Punch",
  308.   CurrentValue = false,
  309.   Flag = "Punch",
  310.   Callback = function(Value)
  311.   while getgenv().punch == true do
  312.   wait()
  313.   game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PunchEvent"):FireServer()
  314.   end
  315.   end,
  316. })
  317. Rayfield:LoadConfiguration()
  318.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement