Websling

🧩 Syntax:
-- GUI

local ScreenGui = Instance.new("ScreenGui", game.CoreGui)

local Frame = Instance.new("Frame", ScreenGui)

local TextBox = Instance.new("TextBox", Frame)

local Button = Instance.new("TextButton", Frame)

Frame.Size = UDim2.new(0, 200, 0, 120)

Frame.Position = UDim2.new(0.5, -100, 0.5, -60)

Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)

TextBox.Size = UDim2.new(0, 180, 0, 30)

TextBox.Position = UDim2.new(0, 10, 0, 10)

TextBox.PlaceholderText = "Nombre del jugador"

TextBox.Text = ""

TextBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)

TextBox.TextColor3 = Color3.new(1, 1, 1)

Button.Size = UDim2.new(0, 180, 0, 40)

Button.Position = UDim2.new(0, 10, 0, 50)

Button.Text = "Ejecutar Script"

Button.BackgroundColor3 = Color3.fromRGB(70, 70, 70)

Button.TextColor3 = Color3.new(1, 1, 1)

-- Hacer Frame movible

Frame.Active = true

Frame.Draggable = true

-- Control del bucle

local currentLoop = nil

Button.MouseButton1Click:Connect(function()

	local targetName = TextBox.Text

	local targetPlayer = game.Players:FindFirstChild(targetName)

	if not targetPlayer or not targetPlayer.Character or not targetPlayer.Character:FindFirstChild("UpperTorso") then

		warn("Jugador no encontrado o sin UpperTorso")

		return

	end

	-- Detener bucle anterior si existe

	if currentLoop then

		currentLoop.running = false

	end

	-- Crear nuevo bucle

	currentLoop = { running = true }

	spawn(function()

		while currentLoop.running do

			local args = {

				CFrame.new(-396.5978088378906, -7.524076461791992, 35.35335159301758, 0.927937388420105, -0.09677570313215256, 0.3599536716938019, -7.4505797087454084e-09, 0.9657065868377686, 0.2596360445022583, -0.37273603677749634, -0.24092599749565125, 0.8961153030395508),

				targetPlayer.Character:WaitForChild("UpperTorso"),

				game.Players.LocalPlayer.Character:WaitForChild("Web Slinger"):WaitForChild("Handle")

			}

			game:GetService("ReplicatedStorage"):WaitForChild("Packages"):WaitForChild("Net"):WaitForChild("RE/UseItem"):FireServer(unpack(args))

			wait()

		end

	end)

end)