
Key Required
local Teams = game:GetService("Teams")
local LocalPlayer = game.Players.LocalPlayer
local Character = LocalPlayer.Character
local CharPart = Character["Right Arm"]
local Doors = workspace.Doors
local Keycard = Character:FindFirstChild("Key card")
local function Touch(HitBox)
firetouchinterest(CharPart, HitBox, 0)
firetouchinterest(CharPart, HitBox, 1)
end
game:GetService("RunService").Heartbeat:Connect(function()
Character = LocalPlayer.Character
CharPart = Character["Right Arm"]
if Character.Humanoid.Health > 0 then
for i, Object in pairs(Doors:GetDescendants()) do
if Object.Name == "hitbox" then
task.spawn(Touch, Object)
end
end
end
end)
Quick question does the doors make sounds and will people hear it? Cause I wanna annoying them so fu cking hard that they will just not play anymore
@SyrexGenesisX it opens them on the server so if they make a sound then yeah if not then not.
@Tomato alr I'mma try and if they do I'mma just serverhop everytime I make a a server quit lol