local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
   Name = "xware cheat 🧑‍💻",
   Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).
   LoadingTitle = "xware cheat made by | zaso |",
   LoadingSubtitle = "by zaso",
   Theme = "Default", -- Check https://[Log in to view URL]

   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 = "xware cheat"
   },

   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 = true, -- Set this to true to use our key system
   KeySettings = {
      Title = "xware key",
      Subtitle = "Key System",
      Note = "key on https://[Log in to view URL]", -- 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 = false, -- 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 = {"xwarekey"} -- 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("Main", nil) -- Title, Image
local Section = MainTab:CreateSection("Main")


local Button = MainTab:CreateButton({
    Name = "Enable ESP",
    Callback = function()
        local player = game:GetService("Players").LocalPlayer
        local camera = game:GetService("Workspace").CurrentCamera
        local espBoxes = {} -- Store ESP boxes for each player
        local connections = {} -- Store connections to disable later
        local ESPEnabled = false -- Flag to track if ESP is enabled or disabled

        -- Function to create a new box for ESP
        local function NewQuad(thickness, color)
            local quad = Drawing.new("Quad")
            quad.Visible = false
            quad.PointA = Vector2.new(0, 0)
            quad.PointB = Vector2.new(0, 0)
            quad.PointC = Vector2.new(0, 0)
            quad.PointD = Vector2.new(0, 0)
            quad.Color = color
            quad.Filled = false
            quad.Thickness = thickness
            quad.Transparency = 1
            return quad
        end

        -- Function to update ESP box for a specific player
        local function UpdateESP(plr)
            local box = NewQuad(2, Color3.fromRGB(255, 0, 0)) -- Change color as needed
            espBoxes[plr.Name] = box

            local connection
            connection = game:GetService("RunService").RenderStepped:Connect(function()
                if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
                    local HumPos, OnScreen = camera:WorldToViewportPoint(plr.Character.HumanoidRootPart.Position)
                    if OnScreen then
                        local head = camera:WorldToViewportPoint(plr.Character.Head.Position)
                        local DistanceY = math.clamp((Vector2.new(head.X, head.Y) - Vector2.new(HumPos.X, HumPos.Y)).magnitude, 2, math.huge)

                        -- Update box coordinates
                        box.PointA = Vector2.new(HumPos.X + DistanceY, HumPos.Y - DistanceY * 2)
                        box.PointB = Vector2.new(HumPos.X - DistanceY, HumPos.Y - DistanceY * 2)
                        box.PointC = Vector2.new(HumPos.X - DistanceY, HumPos.Y + DistanceY * 2)
                        box.PointD = Vector2.new(HumPos.X + DistanceY, HumPos.Y + DistanceY * 2)

                        box.Visible = true -- Make the box visible
                    else
                        box.Visible = false -- Hide the box if the player is not on screen
                    end
                else
                    box.Visible = false -- Hide the box if the player is dead or has no humanoid
                end
            end)

            -- Store the connection so it can be disconnected later
            table.insert(connections, connection)
        end

        -- Toggle ESP on and off
        ESPEnabled = not ESPEnabled

        if ESPEnabled then
            -- Enable ESP: Create new boxes for each player
            for _, plr in pairs(game:GetService("Players"):GetPlayers()) do
                if plr.Name ~= player.Name then
                    coroutine.wrap(UpdateESP)(plr)
                end
            end

            -- Listen for new players joining and create ESP for them
            game.Players.PlayerAdded:Connect(function(newPlr)
                if newPlr.Name ~= player.Name then
                    coroutine.wrap(UpdateESP)(newPlr)
                end
            end)

        else
            -- Disable ESP: Disconnect all connections and hide all ESP boxes
            for _, conn in pairs(connections) do
                conn:Disconnect()
            end
            connections = {} -- Clear the connections table

            -- Hide all ESP boxes
            for _, box in pairs(espBoxes) do
                box.Visible = false
            end
            espBoxes = {} -- Clear the boxes
        end
    end,
})

local TeleportTab = Window:CreateTab("Teleport", nil) -- Title, Image
local Section = TeleportTab:CreateSection("Teleport")


local teleportEnabled = false
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

local Button = TeleportTab:CreateButton({
    Name = "Toggle Tap Teleport",
    Callback = function()
        teleportEnabled = not teleportEnabled
    end,
})

mouse.Button1Down:Connect(function()
    if teleportEnabled then
        if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
            player.Character.HumanoidRootPart.CFrame = CFrame.new(mouse.Hit.p + Vector3.new(0, 3, 0))
        end
    end
end)


local Slider = MainTab:CreateSlider({
   Name = "Walkspeed",
   Range = {0, 300},
   Increment = 1,
   Suffix = "speed",
   CurrentValue = 16,
   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)
        game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = (Value)
   end,
})

local lowGravity = false
local normalGravity = 196.2
local modifiedGravity = 50

local Button = MainTab:CreateButton({
    Name = "Toggle Low Gravity",
    Callback = function()
        lowGravity = not lowGravity
        game.Workspace.Gravity = lowGravity and modifiedGravity or normalGravity
    end,
})
local invisible = false

local Button = MainTab:CreateButton({
    Name = "Toggle Invisibility",
    Callback = function()
        local player = game.Players.LocalPlayer
        local char = player.Character
        if not char then return end

        invisible = not invisible
        for _, part in pairs(char:GetChildren()) do
            if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
                part.Transparency = invisible and 1 or 0
            end
        end
    end,
})


local godMode = false

local Button = MainTab:CreateButton({
    Name = "Toggle God Mode",
    Callback = function()
        godMode = not godMode
        local humanoid = game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
        if humanoid then
            humanoid.MaxHealth = math.huge
            humanoid.Health = math.huge
        end
    end,
})


local Button = MainTab:CreateButton({
    Name = "Toggle Anti-Ragdoll",
    Callback = function()
        for _, v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
            if v:IsA("HingeConstraint") or v:IsA("BallSocketConstraint") then
                v:Destroy()
            end
        end
    end,
})

local Button = TeleportTab:CreateButton({
    Name = "Teleport Everyone to Me",
    Callback = function()
        local localPlayer = game.Players.LocalPlayer
        for _, player in pairs(game.Players:GetPlayers()) do
            if player ~= localPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
                player.Character.HumanoidRootPart.CFrame = localPlayer.Character.HumanoidRootPart.CFrame
            end
        end
    end,
})



-- Fly Script with Button Toggle
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local flying = false

-- Configurable Variables
local flySpeed = 50 -- Speed at which the player flies

-- Create body movers
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(0, 0, 0)
bodyVelocity.MaxForce = Vector3.new(100000, 100000, 100000)

local bodyGyro = Instance.new("BodyGyro")
bodyGyro.CFrame = character.HumanoidRootPart.CFrame
bodyGyro.MaxTorque = Vector3.new(100000, 100000, 100000)

-- Function to start flying
local function startFlying()
    flying = true
    bodyVelocity.Parent = character.HumanoidRootPart
    bodyGyro.Parent = character.HumanoidRootPart
    humanoid.PlatformStand = true
end

-- Function to stop flying
local function stopFlying()
    flying = false
    bodyVelocity.Parent = nil
    bodyGyro.Parent = nil
    humanoid.PlatformStand = false
end

-- Button to toggle fly
local Button = MainTab:CreateButton({
    Name = "Toggle Fly",  -- Button name
    Callback = function()
        if flying then
            stopFlying()  -- Stop flying
            print("Flying Disabled")
        else
            startFlying()  -- Start flying
            print("Flying Enabled")
        end
    end,
})

-- Fly movement logic
local UIS = game:GetService("UserInputService")
game:GetService("RunService").RenderStepped:Connect(function()
    if flying then
        local moveDirection = Vector3.new(0, 0, 0)
        if UIS:IsKeyDown(Enum.KeyCode.W) then
            moveDirection = moveDirection + (workspace.CurrentCamera.CFrame.LookVector)
        end
        if UIS:IsKeyDown(Enum.KeyCode.S) then
            moveDirection = moveDirection - (workspace.CurrentCamera.CFrame.LookVector)
        end
        if UIS:IsKeyDown(Enum.KeyCode.A) then
            moveDirection = moveDirection - (workspace.CurrentCamera.CFrame.RightVector)
        end
        if UIS:IsKeyDown(Enum.KeyCode.D) then
            moveDirection = moveDirection + (workspace.CurrentCamera.CFrame.RightVector)
        end
        if UIS:IsKeyDown(Enum.KeyCode.Space) then
            moveDirection = moveDirection + Vector3.new(0, 1, 0)
        end
        if UIS:IsKeyDown(Enum.KeyCode.LeftShift) then
            moveDirection = moveDirection - Vector3.new(0, 1, 0)
        end

        bodyVelocity.Velocity = moveDirection * flySpeed
        bodyGyro.CFrame = workspace.CurrentCamera.CFrame
    end
end)

local Button = MainTab:CreateButton({
    Name = "Load AK47 Script",  -- Button name
    Callback = function()
        -- Load and execute the script from the provided URL
        local url = "https://[Log in to view URL]"
        local success, result = pcall(function()
            loadstring(game:HttpGet(url, true))()
        end)

        if success then
            print("Script Loaded Successfully")
        else
            print("Failed to load script: " .. result)
        end
    end,
})


-- Assuming you are using a UI library for buttons (like 'Tab' here)

local function setPlayerOnFire(player)
    -- Check if the player has a character
    if player.Character then
        local character = player.Character
        -- Check if the character has a humanoid
        local humanoid = character:FindFirstChild("Humanoid")
        if humanoid then
            -- Create a fire effect for each part of the character
            for _, part in pairs(character:GetChildren()) do
                if part:IsA("BasePart") then
                    -- Create a fire effect
                    local fire = Instance.new("Fire")
                    fire.Size = 10
                    fire.Heat = 10
                    fire.Parent = part
                end
            end
        end
    end
end

-- Function to set fire to all players when the button is clicked
local function setAllPlayersOnFire()
    for _, player in pairs(game.Players:GetPlayers()) do
        if player.Character then
            setPlayerOnFire(player)
        end
    end
end

-- Create the button that will trigger the fire action
local Button = MainTab:CreateButton({
    Name = "Set Everyone on Fire",
    Callback = function()
        setAllPlayersOnFire()  -- Call the function when the button is clicked
    end,
})


local Button = MainTab:CreateButton({
   Name = "Spawn Giant Heads",
   Callback = function()
      for _, player in pairs(game.Players:GetPlayers()) do
          local character = player.Character
          if character then
              local head = character:FindFirstChild("Head")
              if head then
                  local giantHead = head:Clone()
                  giantHead.Size = Vector3.new(20, 20, 20)
                  giantHead.Parent = character
                  giantHead.Position = character.HumanoidRootPart.Position + Vector3.new(0, 10, 0)
              end
          end
      end
   end,
})


local Button = MainTab:CreateButton({
   Name = "Screen Shake",
   Callback = function()
      local function screenShake()
          while true do
              for _, player in pairs(game.Players:GetPlayers()) do
                  local playerGui = player:FindFirstChild("PlayerGui")
                  if playerGui then
                      local shakeEffect = Instance.new("Frame")
                      shakeEffect.Size = UDim2.new(1, 0, 1, 0)
                      shakeEffect.Position = UDim2.new(0, math.random(-10, 10), 0, math.random(-10, 10))
                      shakeEffect.BackgroundColor3 = Color3.new(1, 1, 1)
                      shakeEffect.BackgroundTransparency = 1
                      shakeEffect.Parent = playerGui
                      wait(0.05)
                      shakeEffect:Destroy()
                  end
              end
              wait(0.1)
          end
      end

      screenShake()
   end,
})

local Button = MainTab:CreateButton({
   Name = "Dance Party",
   Callback = function()
      for _, player in pairs(game.Players:GetPlayers()) do
          local character = player.Character
          if character then
              local humanoid = character:FindFirstChild("Humanoid")
              if humanoid then
                  humanoid:MoveTo(character.HumanoidRootPart.Position + Vector3.new(0, 10, 0))
                  humanoid:LoadAnimation(game:GetService("ReplicatedStorage"):WaitForChild("DanceAnimation")):Play()
              end
          end
      end
   end,
})

local Button = MainTab:CreateButton({
   Name = "Giant Feet",
   Callback = function()
      for _, player in pairs(game.Players:GetPlayers()) do
          local character = player.Character
          if character then
              local leftFoot = character:FindFirstChild("LeftFoot")
              local rightFoot = character:FindFirstChild("RightFoot")
              if leftFoot and rightFoot then
                  leftFoot.Size = leftFoot.Size * 3
                  rightFoot.Size = rightFoot.Size * 3
              end
          end
      end
   end,
})

local Button = MainTab:CreateButton({
   Name = "Teleport All to the Moon",
   Callback = function()
      for _, player in pairs(game.Players:GetPlayers()) do
          local character = player.Character
          if character then
              character:SetPrimaryPartCFrame(CFrame.new(0, 1000, 0)) -- High above the map
          end
      end
   end,
})


local Button = MainTab:CreateButton({
   Name = "Tiny Players",
   Callback = function()
      for _, player in pairs(game.Players:GetPlayers()) do
          local character = player.Character
          if character then
              character:SetPrimaryPartCFrame(character.HumanoidRootPart.CFrame)
              for _, part in pairs(character:GetChildren()) do
                  if part:IsA("BasePart") then
                      part.Size = part.Size * 0.2 -- Shrinks the parts
                  end
              end
          end
      end
   end,
})

local Button = MainTab:CreateButton({
   Name = "Randomize Player Appearances",
   Callback = function()
      for _, player in pairs(game.Players:GetPlayers()) do
          local character = player.Character
          if character then
              local bodyColors = character:FindFirstChild("Body Colors")
              if bodyColors then
                  bodyColors.HeadColor = BrickColor.Random()
                  bodyColors.TorsoColor = BrickColor.Random()
                  bodyColors.LeftLegColor = BrickColor.Random()
                  bodyColors.RightLegColor = BrickColor.Random()
                  bodyColors.LeftArmColor = BrickColor.Random()
                  bodyColors.RightArmColor = BrickColor.Random()
              end
          end
      end
   end,
})


local Button = MainTab:CreateButton({
   Name = "Explode All Players",
   Callback = function()
      for _, player in pairs(game.Players:GetPlayers()) do
          local character = player.Character
          if character then
              local explosion = Instance.new("Explosion")
              explosion.Position = character.HumanoidRootPart.Position
              explosion.Parent = workspace
              character:Destroy()
          end
      end
   end,
})


local Button = MainTab:CreateButton({
   Name = "Firework Show",
   Callback = function()
      local firework = Instance.new("Part")
      firework.Size = Vector3.new(1, 1, 1)
      firework.Shape = Enum.PartType.Ball
      firework.Position = workspace.CurrentCamera.CFrame.Position + Vector3.new(0, 50, 0)
      firework.Anchored = true
      firework.BrickColor = BrickColor.new("Bright red")
      firework.Parent = workspace
      game:GetService("Debris"):AddItem(firework, 5)
      local explosion = Instance.new("Explosion")
      explosion.Position = firework.Position
      explosion.Parent = workspace
      firework:Destroy()

      for i = 1, 20 do
          local particle = Instance.new("ParticleEmitter")
          particle.Parent = firework
          particle.Lifetime = NumberRange.new(0.5, 1)
          particle.Rate = 100
          particle.Speed = NumberRange.new(10, 50)
          particle.Size = NumberSequence.new(1)
      end
   end,
})

local Button = MainTab:CreateButton({
   Name = "Sticky Players",
   Callback = function()
      local players = game.Players:GetPlayers()
      if #players > 1 then
          for i, player in pairs(players) do
              local character = player.Character
              if character then
                  for _, otherPlayer in pairs(players) do
                      if otherPlayer ~= player then
                          local otherCharacter = otherPlayer.Character
                          if otherCharacter then
                              local weld = Instance.new("WeldConstraint")
                              weld.Parent = character.HumanoidRootPart
                              weld.Part0 = character.HumanoidRootPart
                              weld.Part1 = otherCharacter.HumanoidRootPart
                          end
                      end
                  end
              end
          end
      end
   end,
})

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: