---
title: "Roblox Script: get scripts connected to button element - ScriptBlox"
description: "Roblox script: get scripts connected to button element. prints out the script paths using that ui button. simply, I just learned how getconnections work lmao."
canonical_url: "https://scriptblox.com/script/a-literal-baseplate.-get-scripts-connected-to-button-element-17441"
meta:
  "og:description": "Roblox script: get scripts connected to button element. prints out the script paths using that ui button. simply, I just learned how getconnections work lmao."
  "og:image": "https://tr.rbxcdn.com/582e858b99a437cb97424db6d01d87d4/500/280/Image/Jpeg"
  "og:title": "Roblox Script: get scripts connected to button element - ScriptBlox"
  "twitter:description": "Roblox script: get scripts connected to button element. prints out the script paths using that ui button. simply, I just learned how getconnections work lmao."
  "twitter:image": "https://tr.rbxcdn.com/582e858b99a437cb97424db6d01d87d4/500/280/Image/Jpeg"
  "twitter:title": "Roblox Script: get scripts connected to button element - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![\[TITLE UNAVAILABLE\]](https://tr.rbxcdn.com/582e858b99a437cb97424db6d01d87d4/500/280/Image/Jpeg)

# **get scripts connected to button element**

[**Roblox**](https://scriptblox.com/game/4483381587-title-unavailable "[TITLE UNAVAILABLE]")**![melon](https://scriptblox.com/images/photo/66921a29eb2c315b1fbc34c6-1720851036957.jpg) [melon](https://scriptblox.com/u/melon) ![Verified Badge](https://scriptblox.com/_ipx/_/images/verified.webp)Lv 910 followers**

2 years ago

[**Play game **](roblox://placeId=4483381587) [**Game Link **](https://roblox.com/games/4483381587)

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

get scripts connected to button element is a Roblox script, uploaded to ScriptBlox on Aug 21, 2024.

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

prints out the script paths using that ui button. simply, I just learned how getconnections work lmao.

## **Updates **

1. Mar 27, 2025

   ****Script edited:**** Create script

[View Raw](https://scriptblox.com/raw/a-literal-baseplate.-get-scripts-connected-to-button-element-17441)

```
scripttouse = button here

for i, connection in pairs(getconnections(scripttouse.MouseButton1Click)) do
    print(debug.getinfo(connection.Function).source)
end
for i, connection in pairs(getconnections(scripttouse.Activated)) do
    print(debug.getinfo(connection.Function).source)
end


```

## **Comments **

**0**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/a-literal-baseplate.-get-scripts-connected-to-button-element-17441)

No comments yet. Be the first!

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/a-literal-baseplate.-get-scripts-connected-to-button-element-17441#script","url":"https://scriptblox.com/script/a-literal-baseplate.-get-scripts-connected-to-button-element-17441","name":"get scripts connected to button element","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"melon","url":"https://scriptblox.com/u/melon"},"datePublished":"2024-08-21T00:29:55.875Z","image":"https://tr.rbxcdn.com/582e858b99a437cb97424db6d01d87d4/500/280/Image/Jpeg","about":{"@type":"VideoGame","name":"Roblox","gamePlatform":"Roblox"},"isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/a-literal-baseplate.-get-scripts-connected-to-button-element-17441#webpage","@type":"WebPage","description":"Roblox script: get scripts connected to button element. prints out the script paths using that ui button. simply, I just learned how getconnections work lmao.","name":"Roblox Script: get scripts connected to button element - ScriptBlox","url":"https://scriptblox.com/script/a-literal-baseplate.-get-scripts-connected-to-button-element-17441","breadcrumb":{"@id":"https://scriptblox.com/script/a-literal-baseplate.-get-scripts-connected-to-button-element-17441#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/a-literal-baseplate.-get-scripts-connected-to-button-element-17441#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/a-literal-baseplate.-get-scripts-connected-to-button-element-17441"]}]},{"@id":"https://scriptblox.com/script/a-literal-baseplate.-get-scripts-connected-to-button-element-17441#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Roblox","item":"https://scriptblox.com/game/4483381587-title-unavailable","position":2},{"@type":"ListItem","name":"get scripts connected to button element","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
