SHOW:
|
|
- or go back to the newest paste.
| 1 | - | -- Game: https://www.roblox.com/games/1229173778/Lab-Experiment |
| 1 | + | function unlockParts(root) |
| 2 | - | |
| 2 | + | for _,v in pairs(root:GetChildren()) do |
| 3 | - | -- Script |
| 3 | + | if v:IsA("Part") then
|
| 4 | - | |
| 4 | + | v.Locked = false |
| 5 | - | plr = game:service'Players'.LocalPlayer |
| 5 | + | end |
| 6 | - | char = plr.Character |
| 6 | + | unlockParts(v) |
| 7 | - | root = char.HumanoidRootPart |
| 7 | + | end |
| 8 | - | |
| 8 | + | end |
| 9 | - | root.CFrame = root.CFrame * CFrame.new(0,100,0) |
| 9 | + | unlockParts(game.Workspace) |