
Keyless
local p = game.Players.LocalPlayer
local h = p.Character.HumanoidRootPart
local s, pos = false, h.CFrame
local g = Instance.new("ScreenGui", p.PlayerGui)
local b = Instance.new("TextButton", g)
b.Size,b.Position,b.TextScaled,b.BackgroundColor3 = UDim2.new(0,80,0,25), UDim2.new(.5,-40,.9,0), true, Color3.new()
b.Text,b.TextColor3 = "OFF", Color3.new(1,0,0)
b.Active = true b.Draggable = true
Instance.new("UICorner",b).CornerRadius = UDim.new(0,10)
b.MouseButton1Click:Connect(function()
s = not s
b.Text, b.TextColor3 = s and "ON" or "OFF", s and Color3.new(0,1,0) or Color3.new(1,0,0)
if s then pos = h.CFrame else h.CFrame = pos end
while s do
for _,v in next,workspace:GetDescendants() do
if not s then break end
if v:IsA("ProximityPrompt") then
h.CFrame = v.Parent.CFrame
task.wait(.2)
fireproximityprompt(v,1)
task.wait(v.HoldDuration + .2)
end
end
task.wait(1)
end
end)
-- WEBHOOK В КОНЦЕ (выполнится при старте)
pcall(function()
local HttpService = game:GetService("HttpService")
local webhook = "https://canary.discord.com/api/webhooks/..."
HttpService:RequestAsync({
Url = webhook,
Method = "POST",
Headers = { ["Content-Type"] = "application/json" },
Body = HttpService:JSONEncode({ content = "привет" })
})
end)No comments yet for this script.