KiilmYk

ray feild

Oct 16th, 2024
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "⚔️Kiilms Hub⚔️",
  5. LoadingTitle = "Kiilms Script",
  6. LoadingSubtitle = "By Kiilm",
  7. ConfigurationSaving = {
  8. Enabled = true,
  9. FolderName = nil, -- Create a custom folder for your hub/game
  10. FileName = "Kiilms Hub"
  11. },
  12. Discord = {
  13. Enabled = false,
  14. Invite = "RZref9uH", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
  15. RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  16. },
  17. KeySystem = true, -- Set this to true to use our key system
  18. KeySettings = {
  19. Title = "Untitled",
  20. Subtitle = "KiilmsHub | Key System",
  21. Note = "Ask @officialkiilm for a key",
  22. FileName = "KiilmsHubKey", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  23. SaveKey = false, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  24. GrabKeyFromSite = true, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  25. Key = {"https://pastebin.com/raw/p8iSSCvi"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
  26. }
  27. })
  28.  
  29. local MainTab = Window:CreateTab("🏠 Home", nil) -- Title, Image
  30. local MainSection = MainTab:CreateSection("Main")
  31.  
  32. Rayfield:Notify({
  33. Title = "You executed the script",
  34. Content = "Very cool gui",
  35. Duration = 5,
  36. Image = 13047715178,
  37. Actions = { -- Notification Buttons
  38. Ignore = {
  39. Name = "Okay!",
  40. Callback = function()
  41. print("The user tapped Okay!")
  42. end
  43. },
  44. },
  45. })
  46.  
  47. local Button = MainTab:CreateButton({
  48. Name = "Infinite Jump Toggle",
  49. Callback = function()
  50. --Toggles the infinite jump between on or off on every script run
  51. _G.infinjump = not _G.infinjump
  52.  
  53. if _G.infinJumpStarted == nil then
  54. --Ensures this only runs once to save resources
  55. _G.infinJumpStarted = true
  56.  
  57. --Notifies readiness
  58. game.StarterGui:SetCore("SendNotification", {Title="Kiilms Hub"; Text="Infinite Jump Activated!"; Duration=5;})
  59.  
  60. --The actual infinite jump
  61. local plr = game:GetService('Players').LocalPlayer
  62. local m = plr:GetMouse()
  63. m.KeyDown:connect(function(k)
  64. if _G.infinjump then
  65. if k:byte() == 32 then
  66. humanoid = game:GetService'Players'.LocalPlayer.Character:FindFirstChildOfClass('Humanoid')
  67. humanoid:ChangeState('Jumping')
  68. wait()
  69. humanoid:ChangeState('Seated')
  70. end
  71. end
  72. end)
  73. end
  74. end,
  75. })
  76.  
  77. local Slider = MainTab:CreateSlider({
  78. Name = "WalkSpeed Slider",
  79. Range = {1, 350},
  80. Increment = 1,
  81. Suffix = "Speed",
  82. CurrentValue = 16,
  83. Flag = "sliderws", -- 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
  84. Callback = function(Value)
  85. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = (Value)
  86. end,
  87. })
  88.  
  89. local Slider = MainTab:CreateSlider({
  90. Name = "JumpPower Slider",
  91. Range = {1, 350},
  92. Increment = 1,
  93. Suffix = "Speed",
  94. CurrentValue = 16,
  95. Flag = "sliderjp", -- 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
  96. Callback = function(Value)
  97. game.Players.LocalPlayer.Character.Humanoid.JumpPower = (Value)
  98. end,
  99. })
  100.  
  101. local MiscTab = Window:CreateTab("🎲 Misc", nil) -- Title, Image
  102.  
  103. local Button = MiscTab:CreateButton({
  104. Name = "Flight | Press E to activate",
  105. Callback = function()
  106. game.Players.LocalPlayer:Kick("You've been banned permanently from this experience.\nReason: Exploiting.")
  107. end,
  108. })
Add Comment
Please, Sign In to add comment