--Settings--


script.Parent.Activated:Connect(function()
	if debounce == false then
		debounce = true
		RS.Events.SelfDestruct:FireServer()
		task.wait(Cooldown)
		debounce = false
	end	
end)

RS.Events.SelfDestruct.OnClientEvent:Connect(function(char)
	
	local Shakes = script.ShakeScript:Clone()
	Shakes.Parent = char
	Shakes.Disabled = false
	game.Debris:AddItem(Shakes,1)	
	
	for i,v in pairs(effect:GetDescendants()) do
		if v:IsA("ParticleEmitter") then
			v:Emit(10)
		end
	end
	
	RocksModule.Ground(char.HumanoidRootPart.Position + Vector3.new(0, -1, 0), 40, Vector3.new(5, 3.5, 5), nil, 20, false, 5)
	
end)
