RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"add a code that allows me to run the script from a button part"
-- script for button part local part = script.Parent local function runScript(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then -- insert your script here end end part.Touched:Connect(runScript)