From e226da2367e74616f426f859b97bdbd389e9c1cd Mon Sep 17 00:00:00 2001 From: neyza120254-ops Date: Mon, 2 Mar 2026 13:17:16 +0700 Subject: [PATCH] Update README.md --- README.md | 62 ++++++++++++++++++++++--------------------------------- 1 file changed, 25 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 86c470bb..da1ef630 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,25 @@ - - - - -WindUI Banner - -> [!WARNING] -> This WindUI was not inspired by, and the name has nothing to do with UI Frameworks - -> [!WARNING] -> WindUI is currently in Beta. -> This project is still under active development. Bugs, issues, and unstable features may occur. We’re constantly working on improvements, so please be patient and report any problems you encounter. - -## Credits - -#### Icons (https://github.com/Footagesus/Icons) - -- [Lucide-Icons](https://github.com/lucide-icons/lucide) -- [Craft Icons](https://www.figma.com/community/file/1415718327120418204) -- [Geist Icons](https://vercel.com/geist/icons) -- [Solar Icons](https://icones.js.org/collection/solar) -- [SF Symbols](https://sf-symbols-one.vercel.app/) - -### Links - -- [Discord Server](https://discord.gg/ftgs-development-hub-1300692552005189632) -- [Documentation](https://Footagesus.github.io/WindUI-Docs/) -- [Installation](https://footagesus.github.io/WindUI-Docs/docs/installation) -- [Example](/main_example.lua) (wip) - ```luau - loadstring(game:HttpGet('https://raw.githubusercontent.com/Footagesus/WindUI/refs/heads/main/main_example.lua'))() - ``` +local player = game.Players.LocalPlayer +local menu = script.Parent + +for _, button in pairs(menu:GetChildren()) do + + if button:IsA("ImageButton") then + + button.MouseButton1Click:Connect(function() + + local character = player.Character or player.CharacterAdded:Wait() + local root = character:WaitForChild("HumanoidRootPart") + + local warpPart = workspace:FindFirstChild(button.Name) + + if warpPart then + root.CFrame = warpPart.CFrame + Vector3.new(0, 3, 0) + else + warn("ไม่พบ Part ชื่อ "..button.Name) + end + + end) + + end + +end