-- оригинал от danyad22 | переделан мной (catt0q) --[[ Booting the Library Loading the Rayfield Library local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() Enabling Configuration Saving tip Enable ConfigurationSaving in the CreateWindow function Choose an appropiate FileName in the CreateWindow function Choose an unique flag identifier for each supported element you create Place Rayfield:LoadConfiguration() at the bottom of all your code Rayfield will now automatically save and load your configuration Windows in Rayfield Creating a Window local Window = Rayfield:CreateWindow({ Name = "Rayfield Example Window", Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default). LoadingTitle = "Rayfield Interface Suite", LoadingSubtitle = "by Sirius", Theme = "Default", -- Check https://docs.sirius.menu/rayfield/configuration/themes DisableRayfieldPrompts = false, DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface ConfigurationSaving = { Enabled = true, FolderName = nil, -- Create a custom folder for your hub/game FileName = "Big Hub" }, Discord = { Enabled = false, -- Prompt the user to join your Discord server if their executor supports it Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ ABCD would be ABCD RememberJoins = true -- Set this to false to make them join the discord every time they load it up }, KeySystem = false, -- Set this to true to use our key system KeySettings = { Title = "Untitled", Subtitle = "Key System", Note = "No method of obtaining the key is provided", -- Use this to tell the user how to get a key FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22") } }) Creating a Tab local Tab = Window:CreateTab("Tab Example", 4483362458) -- Title, Image Lucide Icon Support You can now also use Lucide Icons with Rayfield. To do so, replace the Image Id above 4483362458 with a string value of an icon name in Lucide Icons. local Tab = Window:CreateTab("Tab Example", "rewind") This will set the Tab icon to a rewind symbol from Lucide Icons. All Lucide Icons Supported Lucide Icons Credit to Lucide and Latte Softworks Creating a Section local Section = Tab:CreateSection("Section Example") Updating a Section Section:Set("Section Example") Creating a Divider local Divider = Tab:CreateDivider() Updating a Divider Divider:Set(false) -- Whether the divider's visibility is to be set to true or false. Destroying the Interface Rayfield:Destroy() Themes All themes are beautifully designed to both display Rayfield in its' best form and allow more personality within each script, while retaining an easy experience for the developer Using Themes To make use of Themes, either run Window.ModifyTheme('ThemeIdentifier'), or add an argument to the CreateWindow function named Theme and set the value (string) to whichever Theme Identifier you'd like to use. Themes Available Theme Name - ThemeIdentifier Default - Default Amber Glow - AmberGlow Amethyst - Amethyst Bloom - Bloom Dark Blue - DarkBlue Green - Green Light - Light Ocean - Ocean Serenity - Serenity Custom Themes You can also use your own custom theme as of Rayfield 1.53. To do so, replace the ThemeIdentifier above (in either ModifyTheme or CreateWindow) with a table value of a theme table. An example of a theme table is below. { TextColor = Color3.fromRGB(240, 240, 240), Background = Color3.fromRGB(25, 25, 25), Topbar = Color3.fromRGB(34, 34, 34), Shadow = Color3.fromRGB(20, 20, 20), NotificationBackground = Color3.fromRGB(20, 20, 20), NotificationActionsBackground = Color3.fromRGB(230, 230, 230), TabBackground = Color3.fromRGB(80, 80, 80), TabStroke = Color3.fromRGB(85, 85, 85), TabBackgroundSelected = Color3.fromRGB(210, 210, 210), TabTextColor = Color3.fromRGB(240, 240, 240), SelectedTabTextColor = Color3.fromRGB(50, 50, 50), ElementBackground = Color3.fromRGB(35, 35, 35), ElementBackgroundHover = Color3.fromRGB(40, 40, 40), SecondaryElementBackground = Color3.fromRGB(25, 25, 25), ElementStroke = Color3.fromRGB(50, 50, 50), SecondaryElementStroke = Color3.fromRGB(40, 40, 40), SliderBackground = Color3.fromRGB(50, 138, 220), SliderProgress = Color3.fromRGB(50, 138, 220), SliderStroke = Color3.fromRGB(58, 163, 255), ToggleBackground = Color3.fromRGB(30, 30, 30), ToggleEnabled = Color3.fromRGB(0, 146, 214), ToggleDisabled = Color3.fromRGB(100, 100, 100), ToggleEnabledStroke = Color3.fromRGB(0, 170, 255), ToggleDisabledStroke = Color3.fromRGB(125, 125, 125), ToggleEnabledOuterStroke = Color3.fromRGB(100, 100, 100), ToggleDisabledOuterStroke = Color3.fromRGB(65, 65, 65), DropdownSelected = Color3.fromRGB(40, 40, 40), DropdownUnselected = Color3.fromRGB(30, 30, 30), InputBackground = Color3.fromRGB(30, 30, 30), InputStroke = Color3.fromRGB(65, 65, 65), PlaceholderColor = Color3.fromRGB(178, 178, 178) } Adding interactive elements Notifying the user Rayfield:Notify({ Title = "Notification Title", Content = "Notification Content", Duration = 6.5, Image = 4483362458, }) Lucide Icon Support You can now also use Lucide Icons with Rayfield. To do so, replace the Image Id above 4483362458 with a string value of an icon name in Lucide Icons. Rayfield:Notify({ Title = "Notification Title", Content = "Notification Content", Duration = 6.5, Image = "rewind", }) This will set the icon to a rewind symbol from Lucide Icons. All Lucide Icons Supported Lucide Icons Credit to Lucide and Latte Softworks Creating a Button local Button = Tab:CreateButton({ Name = "Button Example", Callback = function() -- The function that takes place when the button is pressed end, }) Updating a Button Button:Set("Button Example") Creating a Toggle local Toggle = Tab:CreateToggle({ Name = "Toggle Example", CurrentValue = false, Flag = "Toggle1", -- 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 Callback = function(Value) -- The function that takes place when the toggle is pressed -- The variable (Value) is a boolean on whether the toggle is true or false end, }) Updating a Toggle Toggle:Set(false) Creating a Color Picker local ColorPicker = Tab:CreateColorPicker({ Name = "Color Picker", Color = Color3.fromRGB(255,255,255), Flag = "ColorPicker1", -- 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 Callback = function(Value) -- The function that takes place every time the color picker is moved/changed -- The variable (Value) is a Color3fromRGB value based on which color is selected end }) Updating a Color Picker ColorPicker:Set(Color3.fromRGB(255,255,255) Creating a Slider local Slider = Tab:CreateSlider({ Name = "Slider Example", Range = {0, 100}, Increment = 10, Suffix = "Bananas", CurrentValue = 10, Flag = "Slider1", -- 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 Callback = function(Value) -- The function that takes place when the slider changes -- The variable (Value) is a number which correlates to the value the slider is currently at end, }) Updating a Slider Slider:Set(10) -- The new slider integer value Creating an Adaptive Input (TextBox) local Input = Tab:CreateInput({ Name = "Input Example", CurrentValue = "", PlaceholderText = "Input Placeholder", RemoveTextAfterFocusLost = false, Flag = "Input1", Callback = function(Text) -- The function that takes place when the input is changed -- The variable (Text) is a string for the value in the text box end, }) Updating a an Adaptive Input (TextBox) Input:Set("New Text") -- The new input text value Creating a Dropdown menu local Dropdown = Tab:CreateDropdown({ Name = "Dropdown Example", Options = {"Option 1","Option 2"}, CurrentOption = {"Option 1"}, MultipleOptions = false, Flag = "Dropdown1", -- 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 Callback = function(Options) -- The function that takes place when the selected option is changed -- The variable (Options) is a table of strings for the current selected options end, }) Updating a Dropdown Dropdown:Set({"Option 2"}) -- The new selected options Resetting a dropdown Dropdown:Refresh({"Option 1", "Option 2", "Option 3"}) -- The new list of options available. Check the value of an existing element To check the current value of an existing element, using the variable, you can do ElementName.CurrentValue, if it's a keybind or dropdown, you will need to use KeybindName.CurrentKeybind or DropdownName.CurrentOption You can also check it via the flags from Rayfield.Flags Binding keys in Rayfield Creating a Keybind local Keybind = Tab:CreateKeybind({ Name = "Keybind Example", CurrentKeybind = "Q", HoldToInteract = false, Flag = "Keybind1", -- 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 Callback = function(Keybind) -- The function that takes place when the keybind is pressed -- The variable (Keybind) is a boolean for whether the keybind is being held or not (HoldToInteract needs to be true) end, }) Updating a Keybind Keybind:Set("RightCtrl") -- Keybind (string) Textual elements in Rayfield Creating a Label local Label = Tab:CreateLabel("Label Example", 4483362458, Color3.fromRGB(255, 255, 255), false) -- Title, Icon, Color, IgnoreTheme Lucide Icon Support You can now also use Lucide Icons with Rayfield. To do so, replace the Image Id above 4483362458 with a string value of an icon name in Lucide Icons. local Label = Tab:CreateLabel("Label Example", "rewind") This will set the icon to a rewind symbol from Lucide Icons. All Lucide Icons Supported Lucide Icons Credit to Lucide and Latte Softworks Updating a Label Label:Set("Label Example", 4483362458, Color3.fromRGB(255, 255, 255), false) -- Title, Icon, Color, IgnoreTheme Creating a Paragraph local Paragraph = Tab:CreateParagraph({Title = "Paragraph Example", Content = "Paragraph Example"}) Updating a Paragraph Paragraph:Set({Title = "Paragraph Example", Content = "Paragraph Example"}) now all existing icons for tabs are: a-arrow-down a-arrow-up a-large-small accessibility activity-square activity air-vent airplay alarm-check alarm-clock-check alarm-clock-minus alarm-clock-off alarm-clock-plus alarm-clock alarm-minus alarm-plus alarm-smoke album alert-circle alert-octagon alert-triangle align-center-horizontal align-center-vertical align-center align-end-horizontal align-end-vertical align-horizontal-distribute-center align-horizontal-distribute-end align-horizontal-distribute-start align-horizontal-justify-center align-horizontal-justify-end align-horizontal-justify-start align-horizontal-space-around align-horizontal-space-between align-justify align-left align-right align-start-horizontal align-start-vertical align-vertical-distribute-center align-vertical-distribute-end align-vertical-distribute-start align-vertical-justify-center align-vertical-justify-end align-vertical-justify-start align-vertical-space-around align-vertical-space-between ambulance ampersand ampersands anchor angry annoyed antenna anvil aperture app-window-mac app-window apple archive-restore archive-x archive area-chart armchair arrow-big-down-dash arrow-big-down arrow-big-left-dash arrow-big-left arrow-big-right-dash arrow-big-right arrow-big-up-dash arrow-big-up arrow-down-0-1 arrow-down-1-0 arrow-down-a-z arrow-down-circle arrow-down-from-line arrow-down-left-from-circle arrow-down-left-square arrow-down-left arrow-down-narrow-wide arrow-down-right-from-circle arrow-down-right-square arrow-down-right arrow-down-square arrow-down-to-dot arrow-down-to-line arrow-down-up arrow-down-wide-narrow arrow-down-z-a arrow-down arrow-left-circle arrow-left-from-line arrow-left-right arrow-left-square arrow-left-to-line arrow-left arrow-right-circle arrow-right-from-line arrow-right-left arrow-right-square arrow-right-to-line arrow-right arrow-up-0-1 arrow-up-1-0 arrow-up-a-z arrow-up-circle arrow-up-down arrow-up-from-dot arrow-up-from-line arrow-up-left-from-circle arrow-up-left-square arrow-up-left arrow-up-narrow-wide arrow-up-right-from-circle arrow-up-right-square arrow-up-right arrow-up-square arrow-up-to-line arrow-up-wide-narrow arrow-up-z-a arrow-up arrows-up-from-line asterisk at-sign atom audio-lines audio-waveform award axe axis-3d baby backpack badge-alert badge-cent badge-check badge-dollar-sign badge-euro badge-help badge-indian-rupee badge-info badge-japanese-yen badge-minus badge-percent badge-plus badge-pound-sterling badge-russian-ruble badge-swiss-franc badge-x badge baggage-claim ban banana banknote bar-chart-2 bar-chart-3 bar-chart-4 bar-chart-big bar-chart-horizontal-big bar-chart-horizontal bar-chart barcode baseline bath battery-charging battery-full battery-low battery-medium battery-warning battery beaker bean-off bean bed-double bed-single bed beef beer-off beer bell-dot bell-electric bell-minus bell-off bell-plus bell-ring bell between-horizontal-end between-horizontal-start between-vertical-end between-vertical-start bike binary biohazard bird bitcoin blend blinds blocks bluetooth-connected bluetooth-off bluetooth-searching bluetooth bold bolt bomb bone book-a book-audio book-check book-copy book-dashed book-down book-headphones book-heart book-image book-key book-lock book-marked book-minus book-open-check book-open-text book-open book-plus book-text book-type book-up-2 book-up book-user book-x book bookmark-check bookmark-minus bookmark-plus bookmark-x bookmark boom-box bot-message-square bot box-select box boxes braces brackets brain-circuit brain-cog brain brick-wall briefcase-business briefcase-medical briefcase bring-to-front brush bug-off bug-play bug building-2 building bus-front bus cable-car cable cake-slice cake calculator calendar-check-2 calendar-check calendar-clock calendar-days calendar-fold calendar-heart calendar-minus-2 calendar-minus calendar-off calendar-plus-2 calendar-plus calendar-range calendar-search calendar-x-2 calendar-x calendar camera-off camera candlestick-chart candy-cane candy-off candy cannabis captions-off captions car-front car-taxi-front car caravan carrot case-lower case-sensitive case-upper cassette-tape cast castle cat cctv check-check check-circle-2 check-circle check-square-2 check-square check chef-hat cherry chevron-down-circle chevron-down-square chevron-down chevron-first chevron-last chevron-left-circle chevron-left-square chevron-left chevron-right-circle chevron-right-square chevron-right chevron-up-circle chevron-up-square chevron-up chevrons-down-up chevrons-down chevrons-left-right chevrons-left chevrons-right-left chevrons-right chevrons-up-down chevrons-up chrome church cigarette-off cigarette circle-alert circle-arrow-down circle-arrow-left circle-arrow-out-down-left circle-arrow-out-down-right circle-arrow-out-up-left circle-arrow-out-up-right circle-arrow-right circle-arrow-up circle-check-big circle-check circle-chevron-down circle-chevron-left circle-chevron-right circle-chevron-up circle-dashed circle-divide circle-dollar-sign circle-dot-dashed circle-dot circle-ellipsis circle-equal circle-fading-plus circle-gauge circle-help circle-minus circle-off circle-parking-off circle-parking circle-pause circle-percent circle-play circle-plus circle-power circle-slash-2 circle-slash circle-stop circle-user-round circle-user circle-x circle circuit-board citrus clapperboard clipboard-check clipboard-copy clipboard-edit clipboard-list clipboard-minus clipboard-paste clipboard-pen-line clipboard-pen clipboard-plus clipboard-signature clipboard-type clipboard-x clipboard clock-1 clock-10 clock-11 clock-12 clock-2 clock-3 clock-4 clock-5 clock-6 clock-7 clock-8 clock-9 clock cloud-cog cloud-download cloud-drizzle cloud-fog cloud-hail cloud-lightning cloud-moon-rain cloud-moon cloud-off cloud-rain-wind cloud-rain cloud-snow cloud-sun-rain cloud-sun cloud-upload cloud cloudy clover club code-2 code-xml code codepen codesandbox coffee cog coins columns-2 columns-3 columns-4 columns combine command compass component computer concierge-bell cone construction contact-2 contact-round contact container contrast cookie cooking-pot copy-check copy-minus copy-plus copy-slash copy-x copy copyleft copyright corner-down-left corner-down-right corner-left-down corner-left-up corner-right-down corner-right-up corner-up-left corner-up-right cpu creative-commons credit-card croissant crop cross crosshair crown cuboid cup-soda currency cylinder database-backup database-zap database delete dessert diameter diamond-percent diamond dice-1 dice-2 dice-3 dice-4 dice-5 dice-6 dices diff disc-2 disc-3 disc-album disc divide-circle divide-square divide dna-off dna dock dog dollar-sign donut door-closed door-open dot download-cloud download drafting-compass drama dribbble drill droplet droplets drum drumstick dumbbell ear-off ear earth-lock earth eclipse egg-fried egg-off egg ellipsis-vertical ellipsis equal-not equal eraser euro expand external-link eye-off eye facebook factory fan fast-forward feather fence ferris-wheel figma file-archive file-audio-2 file-audio file-axis-3d file-badge-2 file-badge file-bar-chart-2 file-bar-chart file-box file-check-2 file-check file-clock file-code-2 file-code file-cog file-diff file-digit file-down file-edit file-heart file-image file-input file-json-2 file-json file-key-2 file-key file-line-chart file-lock-2 file-lock file-minus-2 file-minus file-music file-output file-pen-line file-pen file-pie-chart file-plus-2 file-plus file-question file-scan file-search-2 file-search file-signature file-sliders file-spreadsheet file-stack file-symlink file-terminal file-text file-type-2 file-type file-up file-video-2 file-video file-volume-2 file-volume file-warning file-x-2 file-x file files film filter-x filter fingerprint fire-extinguisher fish-off fish-symbol fish flag-off flag-triangle-left flag-triangle-right flag flame-kindling flame flashlight-off flashlight flask-conical-off flask-conical flask-round flip-horizontal-2 flip-horizontal flip-vertical-2 flip-vertical flower-2 flower focus fold-horizontal fold-vertical folder-archive folder-check folder-clock folder-closed folder-cog folder-dot folder-down folder-edit folder-git-2 folder-git folder-heart folder-input folder-kanban folder-key folder-lock folder-minus folder-open-dot folder-open folder-output folder-pen folder-plus folder-root folder-search-2 folder-search folder-symlink folder-sync folder-tree folder-up folder-x folder folders footprints forklift form-input forward frame framer frown fuel fullscreen function-square gallery-horizontal-end gallery-horizontal gallery-thumbnails gallery-vertical-end gallery-vertical gamepad-2 gamepad gantt-chart-square gantt-chart gauge-circle gauge gavel gem ghost gift git-branch-plus git-branch git-commit-horizontal git-commit-vertical git-compare-arrows git-compare git-fork git-graph git-merge git-pull-request-arrow git-pull-request-closed git-pull-request-create-arrow git-pull-request-create git-pull-request-draft git-pull-request github gitlab glass-water glasses globe-2 globe-lock globe goal grab graduation-cap grape grid-2x2 grid-3x3 grip-horizontal grip-vertical grip group guitar ham hammer hand-coins hand-heart hand-helping hand-metal hand-platter hand handshake hard-drive-download hard-drive-upload hard-drive hard-hat hash haze hdmi-port heading-1 heading-2 heading-3 heading-4 heading-5 heading-6 heading headphones headset heart-crack heart-handshake heart-off heart-pulse heart heater help-circle helping-hand hexagon highlighter history home hop-off hop hospital hotel hourglass ice-cream-2 ice-cream-bowl ice-cream-cone ice-cream image-down image-minus image-off image-plus image-up image images import inbox indent-decrease indent-increase indent indian-rupee infinity info inspection-panel instagram italic iteration-ccw iteration-cw japanese-yen joystick kanban-square-dashed kanban-square kanban key-round key-square key keyboard-music keyboard lamp-ceiling lamp-desk lamp-floor lamp-wall-down lamp-wall-up lamp land-plot landmark languages laptop-2 laptop-minimal laptop lasso-select lasso laugh layers-2 layers-3 layers layout-dashboard layout-grid layout-list layout-panel-left layout-panel-top layout-template layout leaf leafy-green library-big library-square library life-buoy ligature lightbulb-off lightbulb line-chart link-2-off link-2 link linkedin list-checks list-collapse list-end list-filter list-minus list-music list-ordered list-plus list-restart list-start list-todo list-tree list-video list-x list loader-2 loader-circle loader locate-fixed locate-off locate lock-keyhole-open lock-keyhole lock-open lock log-in log-out lollipop luggage m-square magnet mail-check mail-minus mail-open mail-plus mail-question mail-search mail-warning mail-x mail mailbox mails map-pin-off map-pin map-pinned map martini maximize-2 maximize medal megaphone-off megaphone meh memory-stick menu-square menu merge message-circle-code message-circle-dashed message-circle-heart message-circle-more message-circle-off message-circle-plus message-circle-question message-circle-reply message-circle-warning message-circle-x message-circle message-square-code message-square-dashed message-square-diff message-square-dot message-square-heart message-square-more message-square-off message-square-plus message-square-quote message-square-reply message-square-share message-square-text message-square-warning message-square-x message-square messages-square mic-2 mic-off mic-vocal mic microscope microwave milestone milk-off milk minimize-2 minimize minus-circle minus-square minus monitor-check monitor-dot monitor-down monitor-off monitor-pause monitor-play monitor-smartphone monitor-speaker monitor-stop monitor-up monitor-x monitor moon-star moon more-horizontal more-vertical mountain-snow mountain mouse-pointer-2 mouse-pointer-click mouse-pointer-square-dashed mouse-pointer-square mouse-pointer mouse move-3d move-diagonal-2 move-diagonal move-down-left move-down-right move-down move-horizontal move-left move-right move-up-left move-up-right move-up move-vertical move music-2 music-3 music-4 music navigation-2-off navigation-2 navigation-off navigation network newspaper nfc notebook-pen notebook-tabs notebook-text notebook notepad-text-dashed notepad-text nut-off nut octagon-alert octagon-pause octagon-x octagon option orbit outdent package-2 package-check package-minus package-open package-plus package-search package-x package paint-bucket paint-roller paintbrush-2 paintbrush palette palmtree panel-bottom-close panel-bottom-dashed panel-bottom-inactive panel-bottom-open panel-bottom panel-left-close panel-left-dashed panel-left-inactive panel-left-open panel-left panel-right-close panel-right-dashed panel-right-inactive panel-right-open panel-right panel-top-close panel-top-dashed panel-top-inactive panel-top-open panel-top panels-left-bottom panels-right-bottom panels-top-left paperclip parentheses parking-circle-off parking-circle parking-meter parking-square-off parking-square party-popper pause-circle pause-octagon pause paw-print pc-case pen-line pen-square pen-tool pen pencil-line pencil-ruler pencil pentagon percent-circle percent-diamond percent-square percent person-standing phone-call phone-forwarded phone-incoming phone-missed phone-off phone-outgoing phone pi-square pi piano pickaxe picture-in-picture-2 picture-in-picture pie-chart piggy-bank pilcrow-square pilcrow pill pin-off pin pipette pizza plane-landing plane-takeoff plane play-circle play-square play plug-2 plug-zap-2 plug-zap plug plus-circle plus-square plus pocket-knife pocket podcast pointer-off pointer popcorn popsicle pound-sterling power-circle power-off power-square power presentation printer projector proportions puzzle pyramid qr-code quote rabbit radar radiation radical radio-receiver radio-tower radio radius rail-symbol rainbow rat ratio receipt-cent receipt-euro receipt-indian-rupee receipt-japanese-yen receipt-pound-sterling receipt-russian-ruble receipt-swiss-franc receipt-text receipt rectangle-ellipsis rectangle-horizontal rectangle-vertical recycle redo-2 redo-dot redo refresh-ccw-dot refresh-ccw refresh-cw-off refresh-cw refrigerator regex remove-formatting repeat-1 repeat-2 repeat replace-all replace reply-all reply rewind ribbon rocket rocking-chair roller-coaster rotate-3d rotate-ccw-square rotate-ccw rotate-cw-square rotate-cw route-off route router rows-2 rows-3 rows-4 rows rss ruler russian-ruble sailboat salad sandwich satellite-dish satellite save-all save scale-3d scale scaling scan-barcode scan-eye scan-face scan-line scan-search scan-text scan scatter-chart school-2 school scissors-line-dashed scissors-square-dashed-bottom scissors-square scissors screen-share-off screen-share scroll-text scroll search-check search-code search-slash search-x search send-horizontal send-to-back send separator-horizontal separator-vertical server-cog server-crash server-off server settings-2 settings shapes share-2 share sheet shell shield-alert shield-ban shield-check shield-ellipsis shield-half shield-minus shield-off shield-plus shield-question shield-x shield ship-wheel ship shirt shopping-bag shopping-basket shopping-cart shovel shower-head shrink shrub shuffle sigma-square sigma signal-high signal-low signal-medium signal-zero signal signpost-big signpost siren skip-back skip-forward skull slack slash slice sliders-horizontal sliders-vertical sliders smartphone-charging smartphone-nfc smartphone smile-plus smile snail snowflake sofa soup space spade sparkle sparkles speaker speech spell-check-2 spell-check spline split-square-horizontal split-square-vertical split spray-can sprout square-activity square-arrow-down-left square-arrow-down-right square-arrow-down square-arrow-left square-arrow-out-down-left square-arrow-out-down-right square-arrow-out-up-left square-arrow-out-up-right square-arrow-right square-arrow-up-left square-arrow-up-right square-arrow-up square-asterisk square-bottom-dashed-scissors square-check-big square-check square-chevron-down square-chevron-left square-chevron-right square-chevron-up square-code square-dashed-bottom-code square-dashed-bottom square-dashed-kanban square-dashed-mouse-pointer square-divide square-dot square-equal square-function square-gantt-chart square-kanban square-library square-m square-menu square-minus square-mouse-pointer square-parking-off square-parking square-pen square-percent square-pi square-pilcrow square-play square-plus square-power square-radical square-scissors square-sigma square-slash square-split-horizontal square-split-vertical square-stack square-terminal square-user-round square-user square-x square squircle squirrel stamp star-half star-off star step-back step-forward stethoscope sticker sticky-note stop-circle store stretch-horizontal stretch-vertical strikethrough subscript subtitles sun-dim sun-medium sun-moon sun-snow sun sunrise sunset superscript swatch-book swiss-franc switch-camera sword swords syringe table-2 table-cells-merge table-cells-split table-columns-split table-properties table-rows-split table tablet-smartphone tablet tablets tag tags tally-1 tally-2 tally-3 tally-4 tally-5 tangent target telescope tent-tree tent terminal-square terminal test-tube-2 test-tube-diagonal test-tube test-tubes text-cursor-input text-cursor text-quote text-search text-select text theater thermometer-snowflake thermometer-sun thermometer thumbs-down thumbs-up ticket-check ticket-minus ticket-percent ticket-plus ticket-slash ticket-x ticket timer-off timer-reset timer toggle-left toggle-right tornado torus touchpad-off touchpad tower-control toy-brick tractor traffic-cone train-front-tunnel train-front train-track tram-front trash-2 trash tree-deciduous tree-palm tree-pine trees trello trending-down trending-up triangle-alert triangle-right triangle trophy truck turtle tv-2 tv twitch twitter type umbrella-off umbrella underline undo-2 undo-dot undo unfold-horizontal unfold-vertical ungroup university unlink-2 unlink unlock-keyhole unlock unplug upload-cloud upload usb user-2 user-check-2 user-check user-circle-2 user-circle user-cog-2 user-cog user-minus-2 user-minus user-plus-2 user-plus user-round-check user-round-cog user-round-minus user-round-plus user-round-search user-round-x user-round user-search user-square-2 user-square user-x-2 user-x user users-2 users-round users utensils-crossed utensils utility-pole variable vault vegan venetian-mask vibrate-off vibrate video-off video videotape view voicemail volume-1 volume-2 volume-x volume vote wallet-2 wallet-cards wallet-minimal wallet wallpaper wand-2 wand-sparkles wand warehouse washing-machine watch waves waypoints webcam webhook-off webhook weight wheat-off wheat whole-word wifi-off wifi wind wine-off wine workflow worm wrap-text wrench x-circle x-octagon x-square x youtube zap-off zap zoom-in zoom-out ]] local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Main = Rayfield:CreateWindow({ Name = "Fling Fixed V2 by catt0q | original: danyad22", Icon = 0, LoadingTitle = "Флинг дани но исправленный и улучшенный переделанный", LoadingSubtitle = "by catt0q", Theme = "DarkBlue", DisableRayfieldPrompts = false, DisableBuildWarnings = false, ConfigurationSaving = { Enabled = false, FolderName = nil, FileName = "Big Hub" }, Discord = { Enabled = false, Invite = "noinvitelink", RememberJoins = true }, KeySystem = false, KeySettings = { Title = "Untitled", Subtitle = "Key System", Note = "No method of obtaining the key is provided", FileName = "Key", SaveKey = true, GrabKeyFromSite = false, Key = {"Hello"} } }) local core_active = false local speed = 1 local LocalPLR = game.Players.LocalPlayer local mouse = LocalPLR:GetMouse() local isdown = false local power = 1 local flingtab = Main:CreateTab("Флинг", 4483362458) local optionsection = flingtab:CreateSection("Настройки") local powerslider = flingtab:CreateSlider({ Name = "Сила", Range = {1, 100}, Increment = 1, Suffix = "x", CurrentValue = 1, Flag = "PowerMultiply", Callback = function(Value) power = Value end }) local speedslider = flingtab:CreateSlider({ Name = "Скорость", Range = {1, 10}, Increment = 1, Suffix = "x", CurrentValue = 1, Flag = "SpeedMultiply", Callback = function(Value) speed = Value end }) local recommendparagraph = flingtab:CreateParagraph({ Title = "Инфо", Content = "Рекомендую 1 скорость и 10 силу." }) local flingsection = flingtab:CreateSection("Флинг") local flingbutton = flingtab:CreateButton({ Name = "Запустить", Callback = function() local core_active = true task.wait() task.spawn(function() while core_active do if not core_active then break end game.Players.LocalPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming) task.wait() game.Players.LocalPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp) task.wait() end end) local fakepart = Instance.new("Part", workspace) fakepart.Anchored = true fakepart.Size = Vector3.new(5,5,5) fakepart.Position = LocalPLR.Character.HumanoidRootPart.Position fakepart.CanCollide = false fakepart.Transparency = 0.5 fakepart.Material = Enum.Material.ForceField task.spawn(function() while core_active do if not core_active then break end -- if not isdown then game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = fakepart.CFrame -- * CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))) game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(15000, 16000, 15000) * power task.wait() end end) local partic = Instance.new("ParticleEmitter", fakepart) partic.Texture = "rbxassetid://15273937357" partic.SpreadAngle = Vector2.new(-180,180) partic.Rate = 45 partic.Size = NumberSequence.new(1,0) partic.Transparency = NumberSequence.new(0.5) partic.Lifetime = NumberRange.new(0.7,1) partic.RotSpeed = NumberRange.new(-45,45) workspace.CurrentCamera.CameraSubject = fakepart task.spawn(function() while true do task.wait() for i = 0,1,0.01 do task.wait() fakepart.Color = Color3.fromHSV(i,1,1) partic.Color = ColorSequence.new(Color3.fromHSV(i,1,1)) end end end) local w = false local a = false local s = false local d = false game:GetService("RunService").PreRender:Connect(function() if w then fakepart.Position = fakepart.Position + workspace.CurrentCamera.CFrame.LookVector * speed end if a then fakepart.Position = fakepart.Position - workspace.CurrentCamera.CFrame.RightVector * speed end if s then fakepart.Position = fakepart.Position - workspace.CurrentCamera.CFrame.LookVector * speed end if d then fakepart.Position = fakepart.Position + workspace.CurrentCamera.CFrame.RightVector * speed end end) game:GetService("UserInputService").InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.W then w = true end if input.KeyCode == Enum.KeyCode.A then a = true end if input.KeyCode == Enum.KeyCode.S then s = true end if input.KeyCode == Enum.KeyCode.D then d = true end end) game:GetService("UserInputService").InputEnded:Connect(function(input) if input.KeyCode == Enum.KeyCode.W then w = false end if input.KeyCode == Enum.KeyCode.A then a = false end if input.KeyCode == Enum.KeyCode.S then s = false end if input.KeyCode == Enum.KeyCode.D then d = false end end) mouse.Button1Down:Connect(function() if core_active then isdown = true end end) mouse.Button1Up:Connect(function() if core_active then isdown = false end end) game:GetService("RunService").PreRender:Connect(function() if isdown then task.wait() game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(mouse.Hit.Position + Vector3.new(math.random(-0.25,0.25),math.random(-0.25,0.25),math.random(-0.25,0.25))) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) game.Players.LocalPlayer.Character.HumanoidRootPart.AssemblyAngularVelocity = Vector3.new(10090,9999,-9999) * power game.Players.LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(15000,16000,15000) * power task.wait() end end) game:GetService("RunService").PreRender:Connect(function() if workspace.CurrentCamera.CameraSubject ~= fakepart then task.wait() if core_active then workspace.CurrentCamera.CameraSubject = fakepart end end end) LocalPLR.Character.AncestryChanged:Connect(function() core_active = false fakepart:Destroy() end) end }) local stopflingbutton = flingtab:CreateButton({ Name = "Остановить (Ресет)", Callback = function() LocalPLR.Character.Humanoid.Health = 0 LocalPLR.Character:BreakJoints() LocalPLR.Character.Humanoid:ChangeState("Dead") end }) local spvksection = flingtab:CreateSection("Только для Симулятор падения в канаву!") local deletebutton = flingtab:CreateButton({ Name = "Удалить мешающие части", Callback = function() workspace.PoisonParts:Destroy() workspace.KillParts:Destroy() workspace.RagdollParts:Destroy() workspace.WaterParts:Destroy() workspace.FireParts:Destroy() end })