0% found this document useful (0 votes)
4K views1 page

Arsenal WALLBANG SCRIPT

This script overrides the __index metatable to return the workspace map when accessing the "Clips" property if a global enable variable is true. It also connects to the InputBegan event to toggle the enable variable when the T key is pressed.

Uploaded by

Wafi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4K views1 page

Arsenal WALLBANG SCRIPT

This script overrides the __index metatable to return the workspace map when accessing the "Clips" property if a global enable variable is true. It also connects to the InputBegan event to toggle the enable variable when the T key is pressed.

Uploaded by

Wafi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

_G.

Enable = true
local MT = getrawmetatable(game)
local OldIndex = MT.__index
setreadonly(MT, false)
MT.__index = newcclosure(function(A, B)
if B == "Clips" then
if _G.Enable then
return workspace.Map
end
end
return OldIndex(A, B)
end)
game:GetService("UserInputService").InputBegan:Connect(function(Key, _)
if not _ and Key.KeyCode == Enum.KeyCode.T then
_G.Enable = not _G.Enable
end
end)

You might also like