KiilmYk

Rayfeild V2

Oct 16th, 2024
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. local function runScript()
  2. -- Runs the script from the pastebin link
  3. loadstring(game:HttpGet("https://pastebin.com/raw/iZpxrs6M", true))()
  4. end
  5.  
  6. -- Bind to chat command "/ui"
  7. game.Players.LocalPlayer.Chatted:Connect(function(message)
  8. if message == "/ui" then
  9. runScript()
  10. end
  11. end)
  12.  
  13. -- Bind to keypress (F4 key)
  14. game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessed)
  15. if not gameProcessed and input.KeyCode == Enum.KeyCode.F4 then
  16. runScript()
  17. end
  18. end)
Advertisement
Add Comment
Please, Sign In to add comment