-- GUI Roblox avec Rayfield Library
-- Clé: jasonboss2224
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
-- Vérification de la clé
local correctKey = "jasonboss2224"
local keyEntered = false
Rayfield:Notify({
Title = "Vérification de la clé",
Content = "Entre ta clé pour accéder au GUI",
Duration = 5,
Image = 4483362458,
})
-- Création de la fenêtre principale
local Window = Rayfield:CreateWindow({
Name = "Jason's GUI | v1.0",
LoadingTitle = "Chargement du GUI...",
LoadingSubtitle = "by Jason",
ConfigurationSaving = {
Enabled = true,
FolderName = nil,
FileName = "JasonConfig"
},
Discord = {
Enabled = false,
Invite = "noinvite",
RememberJoins = true
},
KeySystem = true,
KeySettings = {
Title = "Jason's GUI | Clé",
Subtitle = "Système de clé",
Note = "Entre la clé: jasonboss2224",
FileName = "JasonKey",
SaveKey = true,
GrabKeyFromSite = false,
Key = {correctKey}
}
})
-- Services
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Lighting = game:GetService("Lighting")
local TweenService = game:GetService("TweenService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local rootPart = character:WaitForChild("HumanoidRootPart")
-- Variables
local walkSpeedEnabled = false
local jumpPowerEnabled = false
local flyEnabled = false
local noClipEnabled = false
local espEnabled = false
local fullbrightEnabled = false
-- Onglet Joueur
local PlayerTab = Window:CreateTab("🎮 Joueur", 4483362458)
local PlayerSection = PlayerTab:CreateSection("Paramètres du joueur")
local WalkSpeedSlider = PlayerTab:CreateSlider({
Name = "Vitesse de marche",
Range = {16, 200},
Increment = 1,
Suffix = " studs/s",
CurrentValue = 16,
Flag = "WalkSpeedSlider",
Callback = function(Value)
if humanoid then
humanoid.WalkSpeed = Value
end
end,
})
local JumpPowerSlider = PlayerTab:CreateSlider({
Name = "Puissance de saut",
Range = {50, 300},
Increment = 5,
Suffix = " power",
CurrentValue = 50,
Flag = "JumpPowerSlider",
Callback = function(Value)
if humanoid then
humanoid.JumpPower = Value
end
end,
})
local InfiniteJumpToggle = PlayerTab:CreateToggle({
Name = "Saut infini",
CurrentValue = false,
Flag = "InfiniteJump",
Callback = function(Value)
if Value then
UserInputService.JumpRequest:Connect(function()
if humanoid then
humanoid:ChangeState("Jumping")
end
end)
end
end,
})
-- Onglet Mouvement
local MovementTab = Window:CreateTab("🚀 Mouvement", 4483362458)
local MovementSection = MovementTab:CreateSection("Contrôles de mouvement")
local FlyToggle = MovementTab:CreateToggle({
Name = "Fly (Vol)",
CurrentValue = false,
Flag = "Fly",
Callback = function(Value)
flyEnabled = Value
if flyEnabled then
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Parent = rootPart
bodyVelocity.MaxForce = Vector3.new(100000, 100000, 100000)
bodyVelocity.Velocity = Vector3.new(0, 0, 0)
local bodyGyro = Instance.new("BodyGyro")
bodyGyro.Parent = rootPart
bodyGyro.MaxTorque = Vector3.new(100000, 100000, 100000)
bodyGyro.P = 10000
local flying = true
local speed = 50
while flyEnabled and rootPart do
local camera = workspace.CurrentCamera
local direction = Vector3.new(0, 0, 0)
if UserInputService:IsKeyDown(Enum.KeyCode.W) then
direction = direction + camera.CFrame.LookVector
end
if UserInputService:IsKeyDown(Enum.KeyCode.S) then
direction = direction - camera.CFrame.LookVector
end
if UserInputService:IsKeyDown(Enum.KeyCode.A) then
direction = direction - camera.CFrame.RightVector
end
if UserInputService:IsKeyDown(Enum.KeyCode.D) then
direction = direction + camera.CFrame.RightVector
end
if UserInputService:IsKeyDown(Enum.KeyCode.Space) then
direction = direction + Vector3.new(0, 1, 0)
end
if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
direction = direction - Vector3.new(0, 1, 0)
end
bodyVelocity.Velocity = direction * speed
bodyGyro.CFrame = camera.CFrame
wait()
end
if bodyVelocity then bodyVelocity:Destroy() end
if bodyGyro then bodyGyro:Destroy() end
end
end,
})
local NoClipToggle = MovementTab:CreateToggle({
Name = "NoClip (Traverser les murs)",
CurrentValue = false,
Flag = "NoClip",
Callback = function(Value)
noClipEnabled = Value
RunService.Stepped:Connect(function()
if noClipEnabled and character then
for _, part in pairs(character:GetDescendants()) do
if part:IsA("BasePart") then
part.CanCollide = false
end
end
end
end)
end,
})
-- Onglet Visuel
local VisualTab = Window:CreateTab("👁️ Visuel", 4483362458)
local VisualSection = VisualTab:CreateSection("Effets visuels")
local FullbrightToggle = VisualTab:CreateToggle({
Name = "Fullbright (Tout lumineux)",
CurrentValue = false,
Flag = "Fullbright",
Callback = function(Value)
fullbrightEnabled = Value
if fullbrightEnabled then
Lighting.Brightness = 2
Lighting.ClockTime = 14
Lighting.FogEnd = 100000
Lighting.GlobalShadows = false
Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
else
Lighting.Brightness = 1
Lighting.ClockTime = 12
Lighting.FogEnd = 100000
Lighting.GlobalShadows = true
Lighting.OutdoorAmbient = Color3.fromRGB(70, 70, 70)
end
end,
})
local ESPToggle = VisualTab:CreateToggle({
Name = "ESP (Voir les joueurs)",
CurrentValue = false,
Flag = "ESP",
Callback = function(Value)
espEnabled = Value
if espEnabled then
for _, otherPlayer in pairs(Players:GetPlayers()) do
if otherPlayer ~= player then
local highlight = Instance.new("Highlight")
highlight.Parent = otherPlayer.Character
highlight.FillColor = Color3.fromRGB(255, 0, 0)
highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
end
end
else
for _, otherPlayer in pairs(Players:GetPlayers()) do
if otherPlayer.Character and otherPlayer.Character:FindFirstChild("Highlight") then
otherPlayer.Character.Highlight:Destroy()
end
end
end
end,
})
-- Onglet Téléportation
local TeleportTab = Window:CreateTab("📍 Téléportation", 4483362458)
local TeleportSection = TeleportTab:CreateSection("Se téléporter aux joueurs")
local PlayerDropdown = TeleportTab:CreateDropdown({
Name = "Sélectionne un joueur",
Options = {},
CurrentOption = {"Aucun"},
MultipleOptions = false,
Flag = "PlayerDropdown",
Callback = function(Option)
-- Mise à jour lors de la sélection
end,
})
-- Mettre à jour la liste des joueurs
local function updatePlayerList()
local playerNames = {}
for _, p in pairs(Players:GetPlayers()) do
if p ~= player then
table.insert(playerNames, p.Name)
end
end
PlayerDropdown:Refresh(playerNames, true)
end
updatePlayerList()
Players.PlayerAdded:Connect(updatePlayerList)
Players.PlayerRemoving:Connect(updatePlayerList)
local TeleportButton = TeleportTab:CreateButton({
Name = "Se téléporter au joueur",
Callback = function()
local selectedPlayer = PlayerDropdown.CurrentOption[1]
if selectedPlayer and selectedPlayer ~= "Aucun" then
local targetPlayer = Players:FindFirstChild(selectedPlayer)
if targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") then
rootPart.CFrame = targetPlayer.Character.HumanoidRootPart.CFrame
Rayfield:Notify({
Title = "Téléportation",
Content = "Téléporté à " .. selectedPlayer,
Duration = 3,
})
end
end
end,
})
-- Onglet Misc
local MiscTab = Window:CreateTab("⚙️ Divers", 4483362458)
local MiscSection = MiscTab:CreateSection("Autres commandes")
local ResetButton = MiscTab:CreateButton({
Name = "Reset Character",
Callback = function()
if humanoid then
humanoid.Health = 0
end
end,
})
local RejoinButton = MiscTab:CreateButton({
Name = "Rejoindre le serveur",
Callback = function()
game:GetService("TeleportService"):Teleport(game.PlaceId, player)
end,
})
-- Notification de bienvenue
Rayfield:Notify({
Title = "GUI Chargé!",
Content = "Bienvenue " .. player.Name .. "! 🎮",
Duration = 5,
Image = 4483362458,
})
Comments
No comments yet
Be the first to share your thoughts!