local stuff = {
"btn(\"",
"\"), function()\nlocal t=reanimate()\nif type(t)~=\"table\" then return end\nlocal
velbycfrvec=t.velbycfrvec\nlocal raycastlegs=t.raycastlegs\n",
"\nlocal setWalkSpeed=t.setWalkSpeed\nlocal setJumpPower=t.setJumpPower\
nsetWalkSpeed(",
")\nsetJumpPower(",
")\nt.addmode(\"default\", {\nidle = function()\nlocal rY, lY = raycastlegs()\n",
"\nend,\nwalk = function()\nlocal fw, rt = velbycfrvec()\n",
"\nend,\njump = function()\nlocal fw, rt = velbycfrvec()\n",
"\nend,\nfall = function()\nlocal fw, rt = velbycfrvec()\n",
"/nend\n})/nend)"
}
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Window = Rayfield:CreateWindow({
Name = "patchma builder",
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 = "patchma builder", -- Create a custom folder for your hub/game
FileName = "v1"
},
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")
}
})
local Tab = Window:CreateTab("patchma builder", 4483362458) -- Title, Image
local variables = {
["Name"] = "my patchma",
["Setup"] = "",
["WalkSpeed"] = "16",
["JumpPower"] = "50",
["Idle"] = "",
["Walk"] = "",
["Jump"] = "",
["Fall"] = ""
}
function build()
return
stuff[1]..variables.Name..stuff[2]..variables.Setup..stuff[3]..variables.WalkSpeed.
.stuff[4]..variables.JumpPower..stuff[5]..variables.Idle..stuff[6]..variables.Walk.
.stuff[7]..variables.Jump..stuff[8]..variables.Fall..stuff[9]
end
local Name = Tab:CreateInput({
Name = "Name",
CurrentValue = "my patchma",
PlaceholderText = "Name",
RemoveTextAfterFocusLost = false,
Flag = "Name",
Callback = function(Text)
variables.Name = Text
end,
})
local Setup = Tab:CreateInput({
Name = "Setup",
CurrentValue = "",
PlaceholderText = "Setup",
RemoveTextAfterFocusLost = false,
Flag = "Setup",
Callback = function(Text)
variables.Setup = Text
end,
})
local WalkSpeed = Tab:CreateInput({
Name = "WalkSpeed",
CurrentValue = "16",
PlaceholderText = "WalkSpeed",
RemoveTextAfterFocusLost = false,
Flag = "WalkSpeed",
Callback = function(Text)
variables.WalkSpeed = Text
end,
})
local JumpPower = Tab:CreateInput({
Name = "JumpPower",
CurrentValue = "50",
PlaceholderText = "JumpPower",
RemoveTextAfterFocusLost = false,
Flag = "JumpPower",
Callback = function(Text)
variables.JumpPower = Text
end,
})
local Idle = Tab:CreateInput({
Name = "Idle",
CurrentValue = "",
PlaceholderText = "Idle",
RemoveTextAfterFocusLost = false,
Flag = "Idle",
Callback = function(Text)
variables.Idle = Text
end,
})
local Walk = Tab:CreateInput({
Name = "Walk",
CurrentValue = "",
PlaceholderText = "Walk",
RemoveTextAfterFocusLost = false,
Flag = "Walk",
Callback = function(Text)
variables.Walk = Text
end,
})
local Jump = Tab:CreateInput({
Name = "Jump",
CurrentValue = "",
PlaceholderText = "Jump",
RemoveTextAfterFocusLost = false,
Flag = "Jump",
Callback = function(Text)
variables.Jump = Text
end,
})
local Fall = Tab:CreateInput({
Name = "Fall",
CurrentValue = "",
PlaceholderText = "Fall",
RemoveTextAfterFocusLost = false,
Flag = "Fall",
Callback = function(Text)
variables.Fall = Text
end,
})
local Build = Tab:CreateButton({
Name = "Build",
Callback = function()
setclipboard(build())
end,
})