Hello people of the Developer Forum
I’m trying making a bomb but I’m having a smol problem:
local UIS = game:GetService("UserInputService")
UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.Keycode == Enum.KeyCode.F then
local Bomb = game:WaitForChild("ReplicatedStorage").Bomb
Bomb:Clone()
print("Cloned!")
end
end
end)
local UIS = game:GetService("UserInputService")
UIS.InputBegan:Connect(function(input)
if input.Keycode == Enum.KeyCode.F then
local Bomb = game:WaitForChild("ReplicatedStorage").Bomb
Bomb:Clone()
print("Cloned!")
end
end
end)