ok. i made a script that lets you spawn bombs when you press q. the bomb is a sphere with a decal and a script and its located in replicated storage. heres the script inside the bomb:
wait(6)
local explosion = Instance.new("Explosion")
explosion.BlastRadius = 100
explosion.BlastPressure = 3000
explosion.DestroyJointRadiusPercent = 0
explosion.Position = script.Parent.Position
explosion.Parent = workspace
script.Parent.CanCollide = false
the bomb works when you put it in workspace. now i need it so that you can spawn the bombs in front of you when you press "Q" heres the script:
local plr = game.Players.LocalPlayer
local Bomb = game.ReplicatedStorage.bomb
local UIS = game:GetService("UserInputService")
UIS.InputBegan:connect(function(input)
if input.KeyCode == Enum.KeyCode.Q then
print("Working")
local clonetear = Bomb:Clone()
clonetear.Parent = game.Workspace
clonetear.CFrame = plr.Character.HumanoidRootPart.CFrame + plr.Character.HumanoidRootPart.CFrame.lookVector * 5
end
end)
the script does spawn the bombs, but the problem is that they dont explode nor lose colission like the script told then to. im still learning scripting so pls make your answers simple.

2 comments
i did everything as you said, but nothing happens at all when i press q.
@pakancina i had mistake in my code, forgot to type .Event on line 06