Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Window = Rayfield:CreateWindow({
- Name = "✨Noob Hub - Dummies vs Noobs Script✨",
- LoadingTitle = "Loading... Please Wait.",
- LoadingSubtitle = "by Goli from discord.",
- ConfigurationSaving = {
- Enabled = true,
- FolderName = nil, -- Create a custom folder for your hub/game
- FileName = "Big Hub"
- },
- Discord = {
- Enabled = false,
- 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 = "Dummies vs Noobs - Key System",
- Subtitle = "Key System",
- Note = "go to discord?",
- 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 = true, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
- Key = {"https://pastebin.com/hMJJ8GXs"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
- }
- })
- local MainTab = Window:CreateTab("🏡 Home", nil) -- Title, Image
- local MainSection = MainTab:CreateSection("Section Example")
- Rayfield:Notify({
- Title = "Thanks For Execute The Script!",
- Content = "Notification Content",
- Duration = 6.5,
- Image = nil,
- Actions = { -- Notification Buttons
- Ignore = {
- Name = "cool script right?",
- Callback = function()
- print("The user tapped Okay!")
- end
- },
- },
- })
- local Button = Tab:CreateButton({
- Name = "Button Example",
- Callback = function()
- _G.infinjump = true
- local Player = game:GetService("Players").LocalPlayer
- local Mouse = Player:GetMouse()
- Mouse.KeyDown:connect(function(k)
- if _G.infinjump then
- if k:byte() == 32 then
- Humanoid = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
- Humanoid:ChangeState("Jumping")
- wait(0.1)
- Humanoid:ChangeState("Seated")
- end
- end
- end)
- local Player = game:GetService("Players").LocalPlayer
- local Mouse = Player:GetMouse()
- Mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k == "t" then
- if _G.infinjump == true then
- _G.infinjump = false
- else
- _G.infinjump = true
- end
- end
- end)
- end,
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement